ESC/ P Command Reference

Table Of Contents
ESC/P Command Reference
- 78 -
5. Control Command Details
ESC i Q 2D barcode (QR Code)
ASCII: ESC i Q or q Data
Hexadecimal: 1B 69 51 or 71 Data
Format: ESC i Q or q [Parameters] [Barcode data] \\\
(1) (2) (3)
Parameters
(1) [Parameters]
Unlike with 1D barcodes, all parameters must be specified in order, starting from the top.
If a value other than those listed is entered for a parameter, that parameter is specified with its default
value.
1. Cell size
[1-byte decimal] 1–32
Specifies the dot size per cell side.
( The default value is 3.)
2. Symbol
type
[1-byte decimal] 1
[1-byte decimal] 2
[1-byte decimal] 3
Model 1
Model 2 (default value)
Micro QR
3. Structured
Append
setting
[1-byte decimal] 0
[1-byte decimal] 1
Not partitioned. (default value)
Partitioned (*1)
4. Code
number
[1-byte decimal] 1–16
Indicates the number of the symbol in a partitioned QR
Code.
5. Number of
partitions
[1-byte decimal] 2–16
Indicates the total number of symbols in a partitioned QR
Code.
6. Parity data
[1-byte hexadecimal]
00-FF
Value (in bytes) of exclusively ORing all the print data
(print data before partition)
7. Error
correction
level
[1-byte decimal] 1
[1-byte decimal] 2
[1-byte decimal] 3
[1-byte decimal] 4
High-density level: L 7
Standard level: M 15
(default value)
High-reliability level: Q 25
Ultra-high-reliability level: H 30
(*2)
8. Data input
method
[1-byte decimal] 0
[1-byte decimal] 1
Auto input (default value)
Manual input
Selects whether numbers, English alphanumeric
characters, kanji characters or binary characters are
entered.