Specifications
Control Codes POSjet
®
1500 Programmer's Guide
Page 152 Rev N Nov-10
Bar Codes
The POSjet
®
1500 Printer supports the ability to print bar codes. The printer offers a number of formats as defined
below. The host does not need to form the graphic image for these bar codes. The host need only send the printer
the information to be bar coded and a graphic is generated by the printer. In some cases, a check character is
required by the format. In most cases, the printer generates the check character and inserts it correctly in the format.
The printer uses internal graphic modes to form bar code images, and the images are adjusted for ink bleed. In
general, the bar codes generated by sending graphic data to the printer are not as readable as the bar codes the printer
generates. Bar codes are printed at a 208 x 192 resolution.
Barcodes may be printed horizontally or vertically. When printed vertically the length of the barcode can be greater
(i.e. more characters can be printed). You can not print human readable interpretation (HRI) characters in vertical
mode. It is generally better to print vertical barcodes by printing horizontal barcodes in page mode rotated 90 or
270 . You can then mix HRI and other text with the barcodes.
Function Print bar code
ASCII [ESC] b <n> {information} [ETX]
Hexadecimal 1BH 62H <n> ... 03H
Decimal <27> <98> <n> ... <3>
IPCL &%25 ... [CR] Interleaved 2 of 5
&%39 ... [CR] Code 39
&%12 ... [CR] Code 128
&%28 .<m
1
> <m
2
> Code 128 (allows a two character length, preceding the information)
&%UP ... [CR] UPC A
&%UE ... [CR] UPC E
&%EA .. [CR] EAN-13
&%E8 ... [CR] EAN-8
&%93 .. [CR] Code 93
&%CB .. [CR] Codabar
EPOS [ESC] b <n> or [GS] k <n>
Description The [ESC] b <n> {information} [ETX] command prints information as a bar code. The bar code
is centered on the print zone.
Where n = 0 Interleaved 2 of 5 Numeric (0-9) only; must be even number of digits
1 Code 39 26 uppercase letters (A-Z); 10 digits (0-9)
2 Code 128 Three sets of 106 different characters
3 UPC A Numeric (0-9) only; 11 digits
4 EAN-13 Numeric (0-9) only; 12 digits
5 UPC E Numeric (0-9) only; 11 digits
6 EAN-8 Numeric (0-9) only; 7 digits
7 Code 93 26 letters; 10 digits (0-9); and 7 special characters
8 Codabar 10 digits (0-9); 4 start/stop characters,
A, B, C, and D; and 6 special characters.
NOTE: You may print barcodes in page mode. If you rotate them 90 or 180 you can get significantly
longer barcodes.
Interleaved 2 of 5
Interleaved 2 of 5 is a high-density, self-checking, continuous, numeric bar code. It is mainly used where fixed-
length numeric fields are required. The data field must be an even number of characters. If an odd data field is sent
to the POSjet
®
1500 Printer, it will be zero padded. Due to space limitations, only 16 characters can be printed.