Specifications
EPOS Control Codes POSjet
®
1500 Programmer's Guide
Page 228 Rev N Nov-10
Bar Code Commands
Function Print Bar Code EPOS ONLY
1
ASCII GS k <m> <d
l
> … <d
k
> NUL Mode 1 <m> between 0 and 6
Hexadecimal 1DH 6BH <m> <d
l
> … <d
k
> 00
Decimal <29> <107> <m> <d
l
> … <d
k
> 0
2
ASCII GS k <m> <n> <d
l
> … <d
n
> Mode 2 <m> between 65 and 73 <n> = Length of <d>
Hexadecimal 1DH 6BH <m> <n> <d
l
> … <d
n
>
Decimal <29> <107> <m> <n> <d
l
> … <d
n
>
Range
1
0 m 6 (k and d depend on the bar code system used.)
2
65 m 73 (n and d depend on the bar code system used.)
Description The GS k <m> <d
l
> … <d
k
> NUL command selects a bar code system and prints the bar code. If
<m> is between 65 and 73, the length must be specified. If <m> is between 0 and 6, the data must
be null terminated. (See the descriptions below.)
Mode
<m>
Bar Code
System
Number of Characters
Remarks
1
0
UPC A
11 k 12
48 d 57
1
1
UPC E
11 k 12
48 d 57
1
2
JAN-13 (EAN-13)
12 k 13
48 d 57
1
3
JAN-8 (EAN-8)
7 k 8
48 d 57
1
4
Code 39
1 k
48 d 57, 65 d 90
d = 32, 36, 37, 43, 45, 46, 47
1
5
ITF
1 k (even number)
48 d 57
1
6
Codabar
1 k
48 d 57, 65 d 68
d = 32, 36, 37, 43, 45, 46, 47, 58
2
65
UPC A
11 k 12
48 d 57
2
66
UPC E
11 k 12
48 d 57
2
67
JAN-13 (EAN-13)
12 k 13
48 d 57
2
68
JAN-8 (EAN-8)
7 k 8
48 d 57
2
69
Code 39
1 n 255
48 d 57, 65 d 90
d = 32, 36, 37, 43, 45, 46, 47
2
70
ITF
1 n 255
(even number)
48 d 57
2
71
Codabar
1 n 255
48 d 57, 65 d 68
d = 32, 36, 37, 43, 45, 46, 47, 58
2
72
Code 93
1 n 255
0 d 127
2
73
Code 128
2 n 255
0 d 127
Table 60 Bar Code System Based on <m>
[Description for
1
]
<d> indicates the character code to be printed. A null (00 Hex) character ends the bar code
definition.
[Description for 2]
<n> indicates the number of bytes of bar code data to be processed immediately following <n>.
Additionally, <d> indicates the character code to be printed.
(See next page.)