Appendix G Barcode Quick Reference - Epson PP 408 User Manual

Table of Contents

Advertisement

Barcode Quick Reference
Appendix G
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 8 z
2
3
4
- 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
Between SMBC and RMBC are only printable characters tolerated (no CR
Note:
or LF).
2.1
Barcode Header
Format
Function/Parameter
BH
Barcode Header
P = Barcode type;
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
SMBC
Start of Barcode
RMBC
Stop Barcode
13863
8 = Space
Note:
5
6
7
Hex Code
1B 5B 3B P 3B P 3B P
2
3
3B P 3B P 3B P 20 7A
5
6
7
1B 5B 3F 30 68
1B 5B 3F 30 6C

Appendix G Barcode Quick Reference

Barcode Header Parameters
P
Barcode type
2
- default = 101 (Code 39 horizontal)
Type
Code 39
2 of 5 industrial
2 or 5 interleaved
Codabar (Monarch)
EAN 8
EAN 13
Code 93
MSI Mod 10/10
UPC-E
UPC-A
Code 128 (EAN 128)
Postnet
KIX Code
P
Height of barcode
3
3
-
default: / " - 0.64 cm
12
All characters in a line are automatically repeated according to the selected
barcode height. This is also true for plain text!
1
- P * / "
3
12
- possible values from:
0 to 40 (30 to 34 30 ) or (48 to 52 48 ) for vertical barcodes
H
4
0 to 99 (30 to 39 39 ) or (48 to 57 57 ) for horizontal barcodes
H
Barcode
Height in % of
barcode length
Code 39
Codabar
Code 93
Code 128
G-1
G-2
horizontal
horizontal +
vertical
human
readable text
101
201
301
102
202
302
103
203
303
104
204
304
105
205
not applicable
106
206
not applicable
107
207
307
108
208
308
109
209
not applicable
110
210
not applicable
111
211
311
112
not applicable not applicable
113
not applicable not applicable
H
H
D
D
D
H
H
D
D
D
minimum height
in mm
25
20 (0.8")
25
20 (0.8")
15
6.25 (0.25")
15
6.25 (0.25")
vertical +
human
readable text
401
402
403
404
not applicable
not applicable
407
408
not applicable
not applicable
411
not applicable
not applicable

Advertisement

Table of Contents
loading

Table of Contents