Setting Bar Code Parameters
GEK-00029B
SI
LPRINT CHR$(15);
Deactivates bar codes and allows printing of normal text.
ESC [ 0 t
LPRINT CHR$(27);"[0t";
Deselects bar codes.
When an ESC [ 0 t is received before the SI code, bar codes are both
deactivated and deselected.
Select the style, height, spacing, orientation, and print density for the
bar code using the following escape sequence. The second line in the
example (written in BASIC) shows the parameters that are the default
values for the printer.
ESC [<p1>;<p2>;...;<p10>}
Example
LPRINT CHR$(27);"[4;9;1;2;6;2;6;2;0;0}";
0
Interleaved 2 of 5
1
(Reserved for future use)
2
(Reserved for future use)
3
(Reserved for future use)
4
Code 3 of 9 (default)
5
EAN-8
6
EAN-13
7
Code 11
8
(Reserved for future use)
9
Codabar a/t
When using POSTNET, parameters <p2> through <p10> are
invalid. If these parameters are changed, they will be
retained in memory and will affect other styles if selected.
See Appendix F for more information on POSTNET.
p1: Style
10
Codabar b/n
11
Codabar c/*
12
Codabar d/e
13
UPC-A
14
UPC-E
15
Code 93
16
Code 128 (A, B, C)
17
(Reserved for future use)
18
(Reserved for future use)
50
POSTNET (see note)
NOTE
47
5000 Series Programmer's Manual