EasyManua.ls Logo

Zebra CPCL - SETLP-TIMEOUT Command; Designing a Receipt

Zebra CPCL
376 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
P9-16 Mobile Printer CPCLProgramming Manual
Example:
! U1 PCX {x coordinate} {y coordinate} !<
{filename.pcx}
SETLP-TIMEOUT Command
If the printer does not receive any characters after a set
time, it will begin to print. This delay can be set with the
SETLP-TIMEOUT command.
! U1 SETLP-TIMEOUT {time in 1/8 second units}
Multiply the seconds to wait by 8 to get the correct time
for the command. The valid range of values is 0-255.
Designing a Receipt
It is now possible to create a receipt using the com-
mands just described. First, list all the fields that you
want on the receipt. Will there be different types of re-
ceipts used in the business? Is this a receipt for picking
up goods, or is this an itemized list of products ordered
and paid for? Will there be a need to differentiate quickly
between different types of receipts to prevent errors? In
a nutshell, what do you need this thing to look like?
A sales receipt should contain a few basic fields to
prevent confusion. First, place the business name on the
top of the receipt, preferably in a font to differentiate it
from everything else. Choose a large font which is either
resident in the printer or custom created with the Label
Vista software package. Resident font 4 size 0 or 1 and
font 5 size 2 or 3 are perfect for this function. If you
desire to keep the receipt size small, font 7 size 1 is tall
enough to set the text apart from everything else, yet it
conserves space. Set a little space between your busi-
ness name and the next line.
Next, put the address and telephone number of the
business under the name. Customers will appreciate not

Related product manuals