[ESC+2D32] Micro QR Code

CL4NX CL6NX CL4NX-J CL6NX-J PW208/PW208m PW208NX/PW208mNX FX3-LX CT4-LX/HC4-LX PW4NX LR4NX-FA S84NX/S86NX CL4-SXR CL6-SXR

Hexadecimal code

ESC <1B>16
2D32 <32>16<44>16<33>16<32>16

Parameter

,a,bb,c

Initial value

Nil

Valid range and term of command

When the power switch is OFF The set parameter is not maintained.
Valid range within items The set parameter becomes invalid.
Valid range between items The set parameter becomes invalid.

Function

Specifying QR Code (Micro QR Code)

Format (Setup part)

<2D32>,a,bb,c

  • Parameter

    a [Error Correction Level]

    = L: 7%

    = M: 15%

    = Q: 25%

    b [Size of one side of cell] = Valid Range: 01 to 99 dots

    * Specify more than 02 dots when head density is 12 dots/mm, otherwise scanner may have reading problem.


    c [Data setup mode]

    = 0: Manual setup

    = 1: Automatic setup

Format (Data part)

Manual setup (Data setup mode)

<DS>k,n...n

* Use when input mode specification is Numeric mode, Alphanumeric mode and Kanji mode.

<DN>mmmm, n...n

* Use when specifying by binary.

Automatic setup (Data setup mode)

<DN>mmmm, n...n

* Change input mode automatically according to input data.

  • Parameter

    k [Input mode]

    = 1: Numeric mode

    = 2: Alphanumeric mode

    = 3: Kanji mode (Shift JIS Kanji)

    * There is binary specification other than above, but data specification command is different.

    M [Number of data] = Valid Range: 1 to 15

    * Specify when specifying Automatic setup in Data setting mode.

    N [Print data] = Data

    pp [Version] = 00 to 04 (Micro QR M1 to M4)

Format (version)

<QV>pp

* Specify when specifying the version.

  • Parameter

    pp [Version] = 00 to 04 (Micro QR M1 to M4)


    * This setting is used when fixing the size of QR symbol with the version command. When not specified, it becomes Auto.
    Specifying 00 also becomes Auto. It doesn't become a parameter error from 00 to 40.

    * See [ESC+QV] QR Code Version for details.

Supplementary Explanation 1

  1. When specifying Kanji in <DN>, specify size that is 2 X number of Kanji characters.
  2. For <DN> in Automatic setup, when 80H to 9FH and E0H to FFH is specified as data, it is handed as Kanji mode, and cannot specify them as binary.
  3. Commands that allow data size specification and binary data specification (<DN>) will result in a command error if there is no ESC (0x1B) immediately after the specified amount of data.

Coding Example 1

Error correction level: 7%, Size of one side of cell: 04


<A>
<V>100<H>200<2D32>,L,04
<DS>1,012345
<Q>2
<Z>
                    

Supplementary Explanation 2

  1. If the parameter other than the description is specified or number of print data is not match, print is not executed.
  2. Data specification command in data part varies according to parameter setup or specified data.

Coding Example 2

Error correction level: 7%, Size of one side of cell: 04

Mixed specification of Manual setup (Data setup mode)

In Manual setup, you can proceed specifying data in specified input mode (Numeric, Alphanumeric, Kanji, Binary) in a row.


<A>
<V>100<H>200
<2D32>,L,04,0
<DS>3,サトー
<DN>0010,0123456789
<DS>1,123
<Q>1
<Z>
                    

Supplementary Explanation 3

Parameter part to be followed by Data part. Data part and data part should be specified in a row. When don't specify in a row, print result may not be secured.


Micro QR Code Data size list
Version Error correction Numeric Alphanumeric Kanji Binary
M1
(11 x 11)
L
(Error detection only)
5 - - -
M2
(13 x 13)
L
M
10
8
6
5
-
-
-
-
M3
(15 x 15)
L
M
23
18
14
11
6
4
9
7
M4
(17 x 17)
L
M
Q
35
30
21
21
18
13
9
8
5
15
13
9

Coding Example 3

Error correction level: 7%, Size of one side of cell: 05, Data setup mode: Manual setup, Concatenation mode: Normal, Version M4

Data setting mode: manual setting, combine mode: normal, printed in version M4


<A>
<V>100<H>200<2D32>,L,05,0,0
<QV>4
<DS>1,012345
<DN>0004,6789
<Q>1
<Z>
                    

Note

  1. Specify <QV> command between <2Dxx> and <DN>/<DS>.
  2. When resulted in a parameter error, it will be handled in the same manner of no specification.
  3. It doesn't become a parameter error from 3.00 to 40. (Set the value within the range corresponding to each model)
    For Micro QR, the setting range is from 00 to 04.
  4. Sending the data exceeding the data size of specified version will result in error and QR code is not printed.