Code ucc/ean-128 examples – Printronix LQH-HWTM User Manual

Page 182

Advertising
background image

182

Chapter

3

Bar Codes

Code UCC/EAN-128 Examples

The following example generates the SSCC-18 variant of an UCC/EAN-128
bar code in horizontal orientation at the default ratio, and vertically at a user
defined ratio of double normal size.

~CREATE;UCCTEST
/ Horizontal bar code is dark, nominal width, start row 35,
start column 15.
/ Human-readable field is below the bar code in OCR-B font.
BARCODE
UCC-128;DARK;35;15
"0034567890123456789"
PDF;X
STOP
/ Vertical bar code is dark, double width, start row 35, start
column 50.
/ Human-readable data field is above the bar code in normal 10
cpi font.
BARCODE
UCC-128;VSCAN;XR2:2:4:4:6:6:8:8;H12;DARK;35;50
"0034567890123456789"
PDF;A
STOP
END
~EXECUTE;UCCTEST

~NORMAL

Advertising