Bar Code Print Function
┌── Current position
│
6
────5 X direction
──X──────────────┬─────────────┬────
│
│%─ Set with ─5│ &
Set with │
│
│
character
│ │
line
│
6
│
pitch
│ 6
pitch
│
──┴──────────────┴─────────────┴────
Y direction
Ø
HRI (Human Readable Information)--- Readable code data
The printed bar code data is indicated by the characters persons can recognize.
The HRI font is specified with print control characters (selection of font:
HEX
'
2BD10385nn
'
). EAN is printed with OCR-B regardless of the specified
font.
Note: The NBW, NSW, WBW, WSW, CGP, HT, XOFF, and YOFF values can be
specified in 1/1440 inch units. Since this printer operates in 1/180 inch
units (about 0.14 mm), their values are rounded in 1/180 inch units. They
must be specified with a multiple of 8 (8/1440 = 1/180). 1 inch is equal to
25.4 mm.
Bar Code Control Characters
To specify a bar code print format: HEX'2BFE18910000 [...] FFFFFFFF
┌──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┐
[
│ O R │BC│MD│ NBW │ NSW │ WBW │ WSW │ CGP │ H T │
]
└──┴──┴──┴──┴──┴──┴──┴──┴──┴──┴──┴──┴──┴──┴──┴──┘
OR (2 bytes): Bar code print direction
OR = 0000 :
0° Forward printing
OR = 2D00 :
90° 90° rotation printing
OR = 5A00 : 180° 180° rotation printing
OR = 8700 : 270° 270° rotation printing
BC (1 byte): Bar code type
BC = 01 : CODE39
BC = 08 : EAN reduction
BC = 09 : EAN standard
BC = 0A : Industrial 2 of 5
BC = 0C : Interleaved 2 of 5 (ITF)
BC = 0D : NW-7 (CODABAR)
MD (1 byte): Check digit printing or not
┌──────────────┬──────┬──────────────────────────────────┐
│Bar code type │
MD
│
Check digit
│
├──────────────┼──────┼──────────────────────────────────┤
│EAN reduction │
ðð
│ Generates a check digit and
│
│
│
│ prints it with a bar code.
│
│EAN standard
├──────┼──────────────────────────────────┤
│
│Others│ Error
│
├──────────────┼──────┼──────────────────────────────────┤
│Others
│ ð1 │ Prints a bar code without check │
│
│
│ digit.
│
│
├──────┼──────────────────────────────────┤
│
│ ð2 │ Generates a check digit and
│
│
│
│ prints it with a bar code. (Note)│
│
├──────┼──────────────────────────────────┤
│
│Others│ Error
│
└──────────────┴──────┴──────────────────────────────────┘
Appendix B. Print Control Characters (Connected to a System Port)
B-5
All manuals and user guides at all-guides.com
Содержание 5400-006
Страница 10: ...x IBM 5400 006 Printer Setup Instruction and Operator s Guide All manuals and user guides at all guides com...
Страница 147: ...Parallel Port Basic Functions Chapter 4 IBM 5400 006 Features 4 15 All manuals and user guides at all guides com...
Страница 210: ...E 2 IBM 5400 006 Printer Setup Instruction and Operator s Guide All manuals and user guides at all guides com...