SambaPOS Forum

English Boards => Support => Topic started by: prismbeer on December 16, 2011, 08:44:08 pm

Title: Printing Customer names on tickets
Post by: prismbeer on December 16, 2011, 08:44:08 pm
What would the syntax be to have a customer name print on the tickets?

Thanks!

Jack
Title: Re: Printing Customer names on tickets
Post by: emre on December 17, 2011, 03:49:45 am
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.
Title: Re: Printing Customer names on tickets
Post by: pecanhouse on March 15, 2012, 01:51:39 pm
How can i print the account balance before and after a transaction please.