ESC/ P Command Reference

Table Of Contents
ESC/P Command Reference
- 121 -
5. Control Command Details
ESC i DC1 SQ(01h) Specify self-printing QR code content
ASCII: ESC i DC1 S Q 01h n1 n2 data
Hexadecimal: 1B 69 11 53 51 01 n1 n2 data
Parameters
00hn15Ah
n2: 00h
Description
Set the QR code content included in self-printing.
n1: length of the content set in the QR code (up to 90 bytes)
data: content set in the QR code
This command is a static command.
ESC i DC1 SQ(00h) Retrieve self-printing QR code content
ASCII: ESC i DC1 S Q 00h 00h 00h
Hexadecimal: 1B 69 11 53 51 00 00 00
Parameters
None
Description
The self printing QR code content setting value is returned with the following data.
The retrieved value is a value specified by a static command.
[1]
00h (Fixed)
[2]
01h (Fixed)
[3]
Command reception response
00h: command reception OK
01h: command reception NG
[4]
Length of the content set in the QR code
[5]
00h (Fixed)
[6]
and
after
Content set in the QR code