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
183
Section 8: Barcodes
• Completing the barcode setup and data transfer commands is not enough
to print the desired barcode. Before the barcode can be printed, the printer
must receive sufficient vertical movement commands (line feed, vertical
tab, form feed, etc.) to move down past the length of the barcode (and
human readable character, if applicable).
Example:
If you were to send the two previous escape sequences only
in the data-
stream, nothing would print.
The same two escape sequences followed by the line feeds (x0A’s) will
result in a printed Code 39 sample because of sufficient vertical movement
to move past the length of the bars and human readable character.
<x
1B5B66 - barcode setup command prefix
0600 - setup data length (low byte first) -
x0006, 6
B4 - barcode type = Code 39
00 - module width = default
00 - space width adjustment = default
5000 - height (low byte first) - x0050 =
0.037 inches
00 - control byte
1B5B70 - barcode data transfer command prefix
0400 - data transfer length (low byte first)
- x0004, 4
30 33 39 32 - data string "0392"
>