Programmer's Guide
PcOS Series 80PLUS
Epson Commands
Command Descriptions
Rev B 4/13/99
Page 97
Bar code Commands
Function
Set bar code height
[EA]
ASCII
GS
h
n
Hexadecimal
1DH
68H
n
Decimal
<
29>
<104>
n
Range
1
≤
n
≤
255
Default
[
Epson TM-T8x
]
0.90 inches high
[
Axiohm 7193
]
1.06 inches high
Description
This command sets the height of the bar code. Bar code height is set to
n
/180
inches in Epson emulation mode. Bar code height is set to
n
/152 inches in
Axiohm emulation mode.
Function
Set bar code width
[EA]
ASCII
GS
w
n
Hexadecimal
1DH
77H
n
Decimal
<29>
<119>
n
Range
1
≤
n
≤
6
Default
n
= 3
Description
This command sets the horizontal size of the bar code.
n
specifies the bar code
width as follows.
Binary-level Bar Code
n
Module Width (mm)
for Multilevel Bar Code
Thin element width (mm)
Thick element width (mm)
1
0.125
0.125
0.375
2
0.250
0.250
0.625
3
0.375
0.375
1.000
4
0.500
0.500
1.250
5
0.625
0.625
1.625
6
0.750
0.750
2.000
Multilevel bar codes are UPC A, UPC E, JAN-13 (EAN-13), JAN-8 (EAN-8),
Code 93, and Code 128. Binary-level bar codes are Code 39, ITF, and Codabar.
Function
Print bar code
[EA]
1
ASCII
GS
k
m
d1...dk
NUL
Hexadecimal
1DH
6BH
m
d1...dk
00
Decimal
<29>
<107>
m
d1...dk
0
2
ASCII
GS
k
m
n
d1...dn
Hexadecimal
1DH
6BH
m
n
d1...dn
Decimal
<29>
<107>
m
n
d1...dn
Range
1
0
≤
m
≤
6 (
k
and
d
depends on the bar code system used.)
2
65
≤
m
≤
73 (
n
and
d
depends on the bar code system used.)
Description
This command selects a bar code system and prints the bar code.