Account tickets page in the configuration

Top  Previous  Next

You'll find descriptons of window elements below.

AccountTickets

Print account tickets - select this option to enable printing account tickets. Tickets will be printed after you create account or generate multiple accounts.

Ticket template - enter account ticket template in this field.

You can enter any text and use many different variables. Use the buttons on the right to format text. It's also possible to paste the template from RTF editing program, like MS Word.

Available variables:

%operator% - name of the current operator

%timenow% - current time - 12 hour format

%time% - current time - 24 hour format

%datenow% - current date - MONTH NAME DD YYYY format, example: February 23 2003

%date% - current date - DD-MM-YYYY format, example: 23-02-2003

%user% - account name (login)

%id% - account id

%passwd% - password

%firstname% - customer's first name

%lastname% - last name

%phone% - phone number

%mobile% - mobile phone number

%fax% - fax number

%address% - address

%city% - city

%country% - country

%email% - e-mail address

%gender% - gender of the account owner

%birthday% - account owner's birthday date

%comment% - account comment

%description% - owner desription

%custom1% - value of the first custom field. You can configure custom fields on the Account properties page in options

%custom2% - value of the second custom field.

%custom3% - value of the third custom field.

%custom4% - value of the fourth custom field.

%custom5% - value of the fifth custom field.

%custom6% - value of the sixth custom field.

%points% - number of points accumulated on the account. You can configure the points system on the Points system page in options.

%allowlogin% - this variable says if the customer can logon by himself

%totaltime% - total time

%ordertime% - time when account was created

%orderdate% - date of account creation

%rates% - charging rates assigned to the account

%accounttype% - account type

%totalcash% - total amount of money on the account - initial value

%debt% - account's debt

%validfromdate% - account is valid from that date

%validtodate% - account is valid until that date

%validfromtime% - account is valid from that time of the day

%validtotime% - account is valid from until that time of the day

%maxusage% - maximal number of hours to be used per one day

%maxusageperiod% - period of maximal usage - in days. For example, if account can be used maximally for 10 hours per 2 days, %maxusage% will be 10 and %maxusageperiod% will be 2.

%brutto% - brutto price (tax included)

%netto% - netto price (without tax)

%tax% - first (basic) tax rate

%tax2% - second tax rate. You can configure taxes on the Taxes page in options

%taxes% - sum of the both tax rates used

Ticket template for multi-prints - select ticket template to be used when printing tickets from the account generator. You can use buttons on the right to create and remove templates.

Print also single account tickets using this template - select this option if you want to have tickets for manually created accounts printer using the generator templates.

Printer properties

Communicate via system printer driver - select this option if you'd like to use system driver to communicate with the POS printer. You should choose the printer from the printers list.

Communicate directly - select this option if your printer is connected directly to the computer (via COM port). Remember to enter correct values into the Serial port and Port speed fields. Consult your printers manual to find right settings.

Sequence before printing and Sequence after printing - these fields allow you to set character sequence to be sent to the printer before and after the printing. This can be useful when your printer is integrated with a cash drawer, for example. so you can send Open drawer command to it before printing. Consult your printer manual for the list of available character sequences.

Here are a few example codes for the Epson system driver, they might not work with other drivers or printers:

A - open cash drawer

a - open cash drawer 2

F - full cut

z - label or BM cut

P - partial cut

For example, if you want to open first cash drawer and cut paper enter AF into the Sequence before printing field.

When you're using direct communication, you should enter hexadecimal representation of the characters, separated with the % sign.

Try the following code to open cash drawer: %1b%70%00%32%64

Some Epson printers may also use: %1b%70%00%40%f0

See also

Accounts page in the configuration
Account properties page in the configuration
Customer accounts
Account properties window
Configuring CafeStation