Star Micronics Line Thermal Printer Specifications page 138

Star micronics line thermal printer specification sheet
Table of Contents

Advertisement

ESC GS y P
[Name]
Print QR code
[Code]
ASCII
ESC GS
Hex.
1B
Decimal
27
[Defined Area]
---
[Initial Value]
---
[Function]
Prints bar code data.
When receiving this command, if there is unprinted data in the image buffer, the printer will print the
bar code after printing the unprinted print data.
A margin of more than 4 cells is required around the QR code. The user should ensure that space.
Always check printed bar codes in actual use.
ESC GS y I
[Name]
Get QR code expansion information
[Code]
ASCII
ESC GS
Hex.
1B
Decimal
27
[Defined Area]
---
[Initial Value]
---
[Function]
Sends information on generated image sizes and errors in bar code expansion using the current
settings. Therefore, it is possible to check whether printing is possible prior to actual printing. If
there is an error in the expanded bar code, this command is ignored even if the expand command
(<ESC> <GS> "y" "P") is sent.
In the even that errors like the ones below occurs, "Error" information is sent to the printer.
• When there is an error in generating a bar code by the combination of bar code setting
commands.
• When the generated bar code data exceeds the printable size
Sending Format: <ESC> <GS> "y" "I" n1 n2
n1 n2
0x0000
0x0001 to 0xffff
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
STAR Line Mode Command Specifications
y
P
1D
79
50
29 121
80
y
I
1D
79
49
29 121
73
Bar Code Information
Error
Size around generated bar code (Units: Dots)
3-122

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents