Star Line Thermal/Dot Printer Specifications page 159

Line thermal/dot printer star line mode command specifications
Table of Contents

Advertisement

ESC GS y P
[Name]
Print QR code
[Code]
ASCII
Hexadecimal
Decimal
[Defined Area]
Thermal
Slip
Validation
[Initial Value]
Thermal
Slip
Validation
[Function]
<Thermal>
This command prints the bar code data.
When this command is received, the printer prints unprinted data, if unprinted data remains in the
image buffer, then prints the bar code.
Margins of more than 4 cells are required around the QR code. The user must ensure the margins.
• Bar codes to be printed should always be confirmed through an actual printout.
<Slip>, <Validation>
Four bytes ignored
ESC GS y I
[Name]
Get QR code expansion information
[Code]
ASCII
Hexadecimal
Decimal
[Defined Area]
Thermal
Slip
Validation
[Initial Value]
Thermal
Slip
Validation
[Function]
<Thermal>
In expanding bar codes with the current setting using this command, information such as the size of
the generated image and errors is sent to the printer.
Therefore, it is possible to confirm whether printing is possible before actual printing, with this com-
mand.
If there is an error in the bar code expansion, the command is ignored even if the expansion com-
mand ESC GS y P is sent.
Also, if the following errors occur, "Error" information is sent to the printer.
• When an error occurs when generating the bar code by the combination of bar code settings
• When the generated bar code exceeds the printable size.
Transmission format: <ESC> <GS> "y" "I" n1 n2
n1 n2
0x0000
Error
0x0001 to 0xffff
Size of one side of generated bar code data (Units: Dots)
<Slip>, <Validation>
Send <ESC> <GS> "y" "I" 0 0 (error)
STAR Line Mode Command Specifications
ESC
GS
y
P
1B
1D
79
50
27
29
121
80
:
-
:
-
:
-
:
-
:
-
:
-
ESC
GS
y
I
1B
1D
79
49
27
29
121
73
:
-
:
-
:
-
:
-
:
-
:
-
Bar Code Information
3-147
Rev. 0.00

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsp7000

Table of Contents