Esc gs x d nl nh d1 d2 … dk, Esc gs x p – Star Micronics Line Thermal/Dot Printer User Manual
Page 149

Rev. 0.00
3-137
STAR Line Mode Command Specifications
ESC GS x D nL nH d1 d2 … dk
[Name] PDF417 bar code data setting
[Code]
ASCII
ESC
GS
x
D
nL nH
d1
d2
…
dk
Hexadecimal
1B
1D
78
44
nL nH
d1
d2
…
dk
Decimal
27
29
120
68
nL nH
d1
d2
…
dk
[Defined Area]
Thermal
: 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255
1 ≤ (nL + nH x 256) ≤ 1024
0 ≤ d ≤ 255, 1 ≤ k ≤ 1024
Slip
: -
Validation
: -
[Initial Value]
Thermal
: -
Slip
: -
Validation
: -
[Function]
Parameter details
• nL+nH×256: Bar code data count
• dk:
Bar code data (max. 1024 data)
When [nL+nH×256] is outside of the defined area, data of [nL+nH×256] bytes is received and dis-
carded.
Only setting is valid
Setting is valid after switching to thermal.
ESC GS x P
[Name] Print PDF417 bar code
[Code]
ASCII
ESC
GS
x
P
Hexadecimal
1B
1D
78
50
Decimal
27
29
120
80
[Defined Area]
Thermal
: -
Slip
: -
Validation
: -
[Initial Value]
Thermal
: -
Slip
: -
Validation
: -
[Function]
Prints bar code data.
If there is unprinted data in the line buffer, this command is executed after printing that data.
Therefore, it is not possible to print with other data in the same line (characters, bit images, bar
codes).
Also, if the following errors occur, this command is ignored.
• An error occurs when generating the bar code by the combination of bar code settings.
• When the generated bar code exceeds the printable PDF417 size.
• When the print data exceeds the currently set print region.
• Bar codes to be printed should always be confirmed through an actual printout.
Four bytes ignored