F-1
Appendix F
Barcode Quick Reference
1. Introduction
The barcode print facility is available in all three emulations.
2. Programming
There are three escape sequences to print barcodes
- The first sequence is to define the Barcode Header. The type of barcode as
well as all parameters are selected by a header. The header does not affect
any parameters outside the barcode application and remains valid until
another header is transmitted or the printer is turned off. This can be done at
any time but before barcode printing.
The header has the following format:
ESC [ ; P ; P ; P ; P ; P ; P
8
z
Note:
8
= Space
2
3
4
5
6
7
- In step two, the ESC-sequence "Set Mode Barcode (SMBC)" starts the
barcode printing.
ESC [ ? 0 h
- Finally, the ESC-sequence "Reset Mode Barcode (RMBC)" will stop printing.
ESC [ ? 0
l
Note:
Between
SMBC
and
RMBC
are only printable characters tolerated (no CR
or LF).
2.1
Barcode Header
Format
Function/Parameter
Hex Code
BH
Barcode Header
1B 5B 3B P 3B P 3B P
P = Barcode type;
3B P 3B P 3B P 20 7A
2
P = Height of barcode;
3
P = Width of thin bars;
4
P = Width of thin gaps;
5
P = Ratio width to height;
6
P = Uni/Bidirectional printing
7
2
3
4
5
6
7
SMBC
Start of Barcode
1B 5B 3F 30 68
RMBC
Stop Barcode
1B 5B 3F 30 6C
Summary of Contents for C I - 4 0 4
Page 1: ...User s Manual C I 4 0 4 0 C I 4 0 5 0 ...
Page 132: ...Appendix B Print Samples of Resident Fonts B 2 ...
Page 133: ...Appendix B Print Samples of Resident Fonts B 3 ...
Page 134: ...Appendix B Print Samples of Resident Fonts B 4 ...
Page 135: ...Appendix B Print Samples of Resident Fonts B 5 ...
Page 136: ...Appendix B Print Samples of Resident Fonts B 6 Character Pitches ...
Page 137: ...Appendix B Print Samples of Resident Fonts B 7 ...
Page 138: ...Appendix B Print Samples of Resident Fonts B 8 ...
Page 139: ...Appendix B Print Samples of Resident Fonts B 9 ...
Page 140: ...Appendix B Print Samples of Resident Fonts B 10 ...
Page 141: ...Appendix B Print Samples of Resident Fonts B 11 ...