Specifications

P25 Development Guide
www.bluebamboo.com
GS k
d1...dn
[Name] Print bar code(one dimension)
[Format] ASCII GS k m n d1 … dn
HEX 1D 6B m n d1 … dn
Decimal 29 107 m n d1 … dn
[Range] 0 m 4 , m = 0x49
if m=2 then n=0x0d (ean-13)
if m=3 then n=0x08 (ean-8)
if m=0 then n=0x0c (upc-a)
if m=1 then n=0x08 (upc-e)
if m=0x49 then n variable (code128)
(since version 1.0.34)
[Description] Print bar code
Eg:
1d 6b 02 0d 36 39 30 31 32 33 34 35 36 37 38 39 32 ; ean-13
1d 6b 03 08 36 39 30 31 32 33 34 31; ean-8
1d 6b 00 0c 30 30 31 32 33 34 35 36 37 38 39 35; upc-a
1d 6b 01 08 30 30 31 32 33 34 35 37; upc-e”
1d 6b 49 03 41 49 4d; code128
[Note]
[Reference]
ESC 2, ESC 3
[Name] Print pdf417 bar code(two dimension)
[Format]
HEX
Expand 3 times, 3 data symbols per row
1D 6B 10 col(2 Bytes) row(2 Bytes) len(2 Bytes) c1 … cn
Or
Expand 2 times, 7 data symbols per row
1D 6B 11 col(2 Bytes) row(2 Bytes) len(2 Bytes) c1 … cn
[Range] 0 col 3(1D 6B 10 …),
0 col 7(1D 6B 11 …),
data words number per row, 0 means auto select.
0 row 90, row number, 0 means auto select.
0 len 500, characters number.
Col, row, len all big endian, that is 3 should be 0x00 0x03.
[Description] Print pdf417 bar code
Eg:
"\x1d\x6b\x10\x00\x00\x00\x00\x00\x1f""Hello, world! A PDF417 example."
[Note]
[Reference]