UCC/EAN-128
183
The program below illustrates incremental UCC/EAN-128 bar codes.
Incremental UCC/EAN-128 bar code syntax requires that the STARTMASK
field be one character wider than the data field. Put an extra “X” on the left
side of the STARTMASK, since the data is right-justified in the STARTMASK
field.
~CREATE;UCCINC;140
/ Purchase Order number (incremental)
/ Note that there are 14 characters in the data,
/ and the STARTMASK is 15 characters wide.
/ The mask is set to increment only the last five numbers of
the data.
BARCODE
UCC-128;I;DARK;3;20
+XXXXXXXXXX00001;"400PO119600001"
PDF;B
STOP
ALPHA
DARK;1;20;0;0;"PURCHASE ORDER NUMBER"
STOP
END
~EXECUTE;UCCINC;3
~NORMAL