Technical data
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
Section 8: Barcodes
152
b1: human readable character
0: Prints human readable character.
1: Does not print human readable character.
b2: flag character position (for EAN-13 and UPC-A only)
0: Center
1: Under
b3-b7: Not used
An example of deriving the c parameter follows:
1
Check digit is to be printed by the printer.
The human readable character is to be printed.
The flag character position is to be centered.
2
Therefore, b2 = 0, b1 = 0, and b0 = 1.
b7 b6 b5 b4 b3 b2 b1 b0
Data Transfer Command
This command transfers the barcode data to the printer for printing.
Use the following steps to calculate the values of n1 and n2, which specify the
number of characters of barcode data:
1
Let N = the actual number of characters of data to be transferred.
2
n1 is the lower byte of N (remainder of N divided by 256).
3
n2 is the upper byte of N (quotient of N divided by 256).
n2 is normally 0.
The printer may not print the barcode if N does not match the number of
characters required for the barcode type.
After sending the data transfer command and the barcode data, sufficient
vertical movement is required to move past the length of the bars. In the
Barcode Symbology examples that follow, this movement is indicated by an
ellipsis.
001
Syntax: ESC [ p n1 n2 data
Decimal: 27 91 112 n1 n2 data
Hex: 1B5B70n1n2data