beautypg.com

Barcodes, 0 barcodes – Datamax-O'Neil S-Class DTPL Programmer’s Manual User Manual

Page 23

background image

DTPL Programmer’s Manual

17


Barcodes

8.0 Barcodes



UPC

UPC (version A) is a numeric only code which contains a left hand border character, 6 left hand characters, a
center character, 6 right hand characters and a right border character. The letter U is used to select UPC bar code.
The border and center characters are defined as follows:

Left Border J
Center K
Right Border L

A typical data stream for printing UPC ladder bar code is as follows:

"J501234K567890L"

The following data will generate a 5 unit wide (40 dots) expanded bar code. The bar code will represent the
numbers 501234 and 567890 separated by the guard markers. It will start in row 0 and column 70 and build down
and towards the left. There will be no interpretation printed.

A typical data stream for printing UPC picket fence bar code with interpretation is as follows

"J501234K567890L"

EAN8 - This code is really an 8 digit UPC code. A typical EAN8 ladder code follows:

"J1234K5678L"

The same bar code printed in the opposite direction would be as follows:

"J1234K5678L"


I 2 OF 5

Interleaved 2 of 5 bar code is a numeric only bar code. All I 2 of 5 bar codes must contain an even number of
characters and are bracketed by a stop and start character. The character is the colon (:). The letter F is used to
select interleaved two of five bar code. Note: this bar code can be printed in either a 2:1 or 3:1 wide to narrow
ratio. The following are 2:1 ratio commands (the default value).

A typical picket fence bar code would be sent as follows:

":123456:"

The above prints a 3 unit high (24 dots) bar code starting at row 0 column 10. The bar code will extend down and
to the right from the initial row and column position.