Printer User Manual
Table Of Contents
- Introduction
- Set Initial Conditions (SIC) Command
- IBM Emulation Mode Printer Commands
- Control Codes
- Escape Sequences
- Printer Command Parameters
- Command Structure
- Printer Command Quick Reference (IBM Emulation Mode)
- Selecting a Character Set
- Select Code Page
- Print From Code Page
- Download a Character Set
- Select Global Font
- Select Print Type Style
- Set Print Quality
- Graphics Print Modes
- Horizontal Movement
- Line Control
- Vertical Tabulation
- Line Spacing
- Set Top of Form and Page Length
- Printer Control
- Epson Emulation Mode Printer Commands
- OKI Microline Emulation Mode Printer Commands
- Using the Printer Interface
- Downloading Characters and Fonts
- Barcodes
- Code Pages
- Glossary
- Index

63
Section 3: IBM Emulation Mode Printer Commands
The variable c denotes the control code. The control is made up of 8 bits
(b1 - b8). The 8 bits are defined as follows:
b1 Check Digit
b2 Human Readable Character (0: print On, 1: print Off)
b3 EAN-13, UPC-A flag character position (0: Center, 1: Under)
b4 -b8 Not used
Setup Barcode Data
This command sets the barcode data on the current printing position. .
Usage Notes
• The printer must receive the ESC [ f command prior to the ESC [ p com-
mand.
• The barcode prints after the printer receives the LF line feed command.
Command length is denoted by n1 and n2. The following values are valid for
n1 and n2 when the automatic check digit generation flag is on and when it is
off:
Format ESC [ p n1 n2 d1 d2
Decimal 27 91 112 n1 n2 d1 d2
Hex 1B 5B 70 n1 n2 d1 d2
Automatic Check Digit Generation Flag Off
n1 (low byte) n2(high byte)
Barcode Type
Dec Hex Dec Hex
13 0D 0 00
EAN-13
808000
EAN-8
1 to 255 01 to FF 0 00
CODE 39
1 to 255 01 to FF 0 00
INTERLEAVED 2 of 5
12 0C 0 00
UPC-A
10 0A 0 00
POST-NET (barcode)
2 to 255 02 to FF 0 00
CODE 128