ESC/ P Command Reference

Table Of Contents
46
ESC i Q 2D bar code (QR Code)
[ASCII] ESC i Q data
[Decimal] 27 105 81 data
[Hexadecimal] 1B 69 51 data
Format
ESC i Q [parameters] [bar code data] \\\
Parameters
Unlike with 1D bar codes, 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 set to its
default value.
1. Cell size
[1-byte decimal] 4
[1-byte decimal] 6
[1-byte decimal] 8
[1-byte decimal] 10
[1-byte decimal] 12
Specifies the dot size per cell side.
Prints 4 dots per cell side. (default value)
Prints 6 dots per cell side.
Prints 8 dots per cell side.
Prints 10 dots per cell side.
Prints 12 dots per cell side.
2. Symbol type
[1-byte decimal] 1
[1-byte decimal] 2
[1-byte decimal] 3
MODEL1
MODEL2 (default value)
Micro QR
3. Linkage setting
[1-byte decimal] 0
[1-byte decimal] 1
Not linked
Linked (*1)
4. Code number
[1-byte decimal] 1 to 16
Indicates the number of the QR Code that is linked
5. Number of partitions
[1-byte decimal] 2 to 16
Indicates the total number of the QR Code that are
linked
6. Parity data
[1-byte hexadecimal] 00 to FF
Value (in bytes) of exclusively OR’ing all 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 numerals, alphanumeric
characters, kanji characters or binary characters are
entered.
(*1) With Micro QR, the linkage setting is invalid, and the default setting is used.