Control Codes
100-88002 Rev B Page 131
Bar Codes
The Epic 880TM 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 203 x 203
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 .<m1> <m2> 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 o f 5 Numeric (0-9) only; must be even number of digits
1 Code 39 26 uppercase letters (A-Z); 10 digits (0-9)
(See description for full 128 character set support)
2 Code 128 (See description for character set selection)
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.
9 PDF-417 2D alpha Numeric (See notes below)
12 EAN-14 Numeric (0-9) only 14 digits