SambaPOS Forum
English Boards => Support => Topic started 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
-
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.
-
How can i print the account balance before and after a transaction please.