|
|||||||||||||||||||||||||
![]() |
Command ListsYour printer supports the EPSON ESC/P2 control codes and IBM 2391 Plus emulation control codes listed below.
EPSON ESC/P2 control codesSelecting an EPSON ESC/P2 printer in your software allows you to use advanced fonts and graphics.
General operation:
ESC @, ESC U Paper feeding:
FF, LF, ESC 0, ESC 2, ESC 3, ESC +, CR Page format:
ESC (C, ESC C, ESC C 0, ESC Q, ESC 1, ESC (c, ESC N, ESC O Print position motion:
ESC $, ESC ¥, ESC (V, ESC (v, ESC D, HT, ESC B, VT, ESC J Font selection:
ESC k, ESC x, ESC y, ESC X, ESC P, ESC M, ESC g, ESC p, ESC 4, ESC 5, ESC E, ESC F, ESC ! Font enhancement:
ESC W, DC4, SO, DC2, SI, ESC w, ESC G, ESC H, ESC T, ESC S, ESC -, ESC (-, ESC q Spacing:
ESC Space, ESC c, ESC (U Character handling:
ESC t, ESC (t, ESC R, ESC %, ESC &, ESC :, ESC 6, ESC 7, ESC (^ Bit image:
ESC * Raster graphic:
ESC (G, ESC . Bar code:
ESC (B Barcode commandsYour printer has powerful barcode printing capabilities and includes the following resident barcode fonts: EAN-13, EAN-8, Interleaved 2 of 5,
UPC-A, UPC-E, Code 39, Code 128, and POSTNET. See the barcode commands below:
Function:
ESC ( B n1 n2 k m s v1 v2 c data
n = (n1 + (256 × n2)) k: Select barcode
k = 0: EAN-13, 1: EAN-8, 2: Interleaved 2 of 5, 3: UPC-A, 4: UPC-E, 5: Code 39, 6: Code 128, 7: POSTNET m: Module width (180 dpi)
m = 2: 2 dots, 3: 3 dots, 4: 4 dots, 5: 5 dots s: Space adjustment value
-3 £ s £ 3 (1/360-inch units) v1, v2: Bar length
v1 + v2 × 256 (1/180-inch units) ![]()
c: Control flag
Bit 0 = Check digit
0: The printer does not add a check digit.
1: The printer adds a check digit. Bit 1 = Human readable character (HRC)
0: The printer adds the HRC.
1: The printer does not add the HRC. Bit 2 = Position of flag character (for EAN-13 and UPC-A only)
0: Center
1: Under Bits 3-7 = Not used
Barcode dataBarcode data corresponds to the barcode symbology. The data number of each barcode type is constant. The barcode is printed only if the following valid characters are set.
Number of valid characters 1: Control flag c b0=0
Number of valid characters 2: Control flag c b0=1
The valid data for each barcode type is described below. If invalid data is included in the barcode data string, the barcode is not printed.
The following conditions are required for barcode printing:
Barcode printing is always performed unidirectionally. However, when it is mixed with raster bit image data, neither barcode nor raster bit image data is printed.
A barcode is not printed when part of the barcode extends beyond the right margin.
When barcode data and text data are mixed in a data sequence, barcodes and text are printed in the same place.
The start and stop (*) characters of Code 39 are added to human readable characters.
The initial data of Code 128 (Set A, B, or C) is identified as the first data of Code 128, and must be hexadecimal (41, 42, and 43, respectively).
When Code 128 Set C and Interleaved 2 of 5 are selected, barcode data requires an even number data string. However, if an odd number string is sent, a 0 is automatically added, making it an even number data string.
The barcode print start position (except for POSTNET) is always 40/360 inch above the baseline.
IBM PPDS emulation control codesThis printer emulates the IBM Proprinter using the commands below. For detailed information, see the IBM PPDS reference manual.
General operation:
NUL, DC3, ESC j, BEL, CAN, DC1, ESC Q, ESC [ K, ESC U, ESC [ F Paper feeding:
FF, LF, ESC 5, ESC A, ESC A (AGM*), ESC 0, ESC 1, ESC 2, ESC 3, ESC 3 (AGM*), CR, ESC ] Page format:
ESC C, ESC C0, ESC X, ESC N, ESC O, ESC 4 Print position motion:
ESC d, ESC R, ESC D, HT, ESC B, VT, ESC J, ESC J (AGM*) Font selection:
DC2, ESC P, ESC :, ESC E, ESC F, ESC I, ESC [d, ESC [I Font enhancement:
DC4, SO, ESC SO, ESC W, ESC [ @, SI, ESC SI, ESC G, ESC H, ESC T, ESC S, ESC -, ESC _, ESC [- Spacing:
BS, SP, ESC [¥ Character handling:
ESC 6, ESC 7, ESC [ T, ESC ^, ESC ¥ Bit image:
ESC K, ESC L, ESC Y, ESC Z, ESC [g, ESC * (AGM*) Barcode:
ESC [f, ESC [p Download:
Download command is not provided. * Alternate Graphic Mode
| ![]() |
|||||||||||||||||||||||
|