Zebra CPCL Specifications Page 145

  • Download
  • Add to my manuals
  • Print
  • Page
    / 497
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 144
Mobile Printing Systems
CPCL Programming Manual
Section 9
Line Print
Mode
pg. 9-17
Designing a Receipt
It is now possible to create a receipt using the commands just described. First, list all the fields that
you want on the receipt. Will there be different types of receipts 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 business name and the next line.
Next, put the address and telephone number of the business under the name. Customers will appreciate
not having to flip through the phone book the next time they want to buy something from you. Also, this
helps track which stores sell which items when dealing with returns and special sales promotions. Set at
least two lines of space between the header and the rest of the receipt.
Consider other important items on the receipt. Add the date and time of the sale, the ID number of the
cashier or salesperson. Is the action a sale, return, price adjustment, or a sales quote?
Next, the itemized bill of sale contains a SKU or UPC code, a product description, and a price. Consider
using a fixed width font, or a monospaced font, for this section. A monospaced font keeps the characters
an even width for every character. (e.g. an ‘I’ is the same width as an ‘M’ character.) The resident fonts 0
and 7 are monospaced as well as other monospaced fonts available with the Label Vista software package.
Many companies like to put a slogan or advertisement of coming events at the end of a receipt. Be
certain to put a few CR/LF characters at the end after your final line to ensure that the bottom of the receipt
does not get torn off through a printed part of the receipt.
Receipt Examples
The program must set up the file with all the spacing already inserted. Use only spaces, not tab
characters, to make things line up correctly. Note that when you issue a command like “! U1 SETSP 0,”
it must be followed by a CR/LF, or “enter. This will not advance the printer to the next line; it will only
execute the utility command.
continued
Page view 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 496 497

Comments to this Manuals

No comments