Selecting The Type Of Two-Dimensional Barcode/Gs~ K - Citizen PD24 Command Reference Manual

Handy printer
Hide thumbs Also See for PD24:
Table of Contents

Advertisement

Selecting the type of two-dimensional barcode/GS~ k

[ASCII]
[Decimal]
[Hexadecimal]
[Parameter]
[Description]
● Two-dimensional barcode is selected from 'n'
● n = 0: PDF417
1: QR
● Detail of each barcode is illustrated as follows
PDF417 command format
GS
~
k
n
● n: PDF417 specification
n = Fixed at 00h
● t: PDF417 type
t = 00h: Normal type, default
01h: Omission type
● e: Error correction level
s = 00h to 08h (error correction level: 0 to 8). Default: 01h
a1, a2: Aspect ratio
a1 = 00h to 09h (vertical). Default is 01h.
a2 = 00h to 09h (horizontal). Default is 03h.
● h: Number of vertical symbol columns
h = 00h, 03h to 5Ah (90); 00h is automatically calculated; default is 00h
● w: Number of horizontal symbol code words.
w = 00h, 01h to 1Eh (30); 00h is automatically calculated; default is 00h
● dl, dh: Number of data
0 ≤ dh × 256 + dl bytes ≤ FFFFh
● data: barcode data
● A "code word" is a basic unit of symbol characters to be encoded. With PDF417, barcodes larger than 928 code words
cannot be printed. Depending on the error correction label selected, error correction code words may be added.
Therefore, code words of data to be printed need some space.
● A higher level of error correction level improves its correction performance, but at the same time, it also makes the size
of barcodes bigger.
● When printing barcode symbols by aspect ratio, specify 0 for both the number of vertical symbol columns 'h' and the
number of horizontal symbol code words 'w.'
● When the number of vertical symbol columns 'h' is set to 00h, the number of vertical columns is determined based on
the number of horizontal symbol code words 'w' and the number of all data code words. At this time, if the number of
vertical columns exceeds 90, add some horizontal code words and obtain the number of vertical columns again. Repeat
this procedure until all code words fall into place. If the number of horizontal cord words exceeds 30, the data will be
treated as an error and will not be printed.
● When the number of horizontal symbol code words is set to 00h, the number of horizontal code words is determined
GS
~
k
29
126
107
1D
7E
6B
n = 0, 1
t
e
a1
a2
h
n
n
n
w
dl
dh
data
28

Advertisement

Table of Contents
loading

Table of Contents