Control Codes
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] | ||
| &%E8 ... [CR] | ||
| &%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 | |
1 | Code 39 | 26 uppercase letters |
|
| (See description for full 128 character set support) |
2 | Code 128 | (See description for character set selection) |
3 | UPC A | Numeric |
4 | Numeric | |
5 | UPC E | Numeric |
6 | Numeric | |
7 | Code 93 | 26 letters; 10 digits |
8 | Codabar | 10 digits |
|
| A, B, C, and D; and 6 special characters. |
9 | 2D alpha Numeric (See notes below) | |
12 | Numeric |
| Page 131 |
|
|