Applications Overview
Label Output
World! |
|
Hello | *BARCODE123* |
| |
| Hello World! |
1 "
1 "
Printing a Bar Code
PAL Command Sequence
/Sans12.00pt findfont
12scalefont setfont
7272 moveto (Hello World!) show
7268 moveto
14468 lineto
3030 moveto
25830 lineto
258258 lineto
30258 lineto closepath stroke
7290 moveto
90rotate
(Hello World!) show
100100 moveto (BARCODE123) /Code39 _barcode
1_showpages
Purpose: Demonstrate how to print a bar code. This example builds on the previous example by placing a bar code near the center of the label.
Moveto - Position the drawing cursor at the desired location
Position cursor at desired location for bar code.
(BARCODE123) – String object defining the barcode content.
The parentheses delimit the text string and are not part of the barcode. The actual bar code value in this case is BARCODE123, i.e. parentheses not included.
_barcode – Place the specified bar code on the label
The type of bar code is referenced by a ‘/’ followed by the name of the bar code type. For a list of supported bar codes, see Table 8.
77