English Boards > Support

Printing Customer names on tickets

(1/1)

prismbeer:
What would the syntax be to have a customer name print on the tickets?

Thanks!

Jack

emre:
These are the possible values:

{ACC NAME} Account Name
{ACC ADDRESS} Account Address
{ACC PHONE} Account Phone

You can print customer name on ticket by adding a {ACC NAME} token to header template. It will be something like

<L00>Customer : {ACC NAME}

But there is a problem. If there is no customer selected on ticket there will be an empty Customer: label on bills. To avoid this format this line as:

<L00>[Customer : {ACC NAME}]

If you add square brackets like that SambaPOS will skip the part in brackets if token is empty value. You can use this syntax for other values too.

pecanhouse:
How can i print the account balance before and after a transaction please.

Navigation

[0] Message Index

Go to full version