PW2NX Programming Reference
PW2NX Programming Reference
Mobile Printer
Copyrights
Any unauthorized reproduction of the contents of this document, in part or whole, is strictly prohibited.
Limitation of Liability
SATO Corporation and its subsidiaries in Japan, the U.S and other countries make no representations or
warranties of any kind regarding this material, including, but not limited to, implied warranties of
merchantability and fitness for a particular purpose. SATO Corporation shall not be held responsible for errors
contained herein or any omissions from this material or for any damages, whether direct, indirect, incidental or
consequential, in connection with the furnishing, distribution, performance or use of this material.
Specifications and contents in this document are subject to change without notice.
Trademarks
SATO is a registered trademark of SATO Holdings Corporation and its subsidiaries in Japan, the U.S.
and other countries.
QR Code is a registered trademark of DENSO WAVE INCORPORATED.
Wi-Fi® , Wi-Fi logo and Wi-Fi Direct are registered trademarks of Wi-Fi Alliance.
Windows is a registered trademark of Microsoft Corporation in the United States and/or other countries.
Bluetooth is a trademark of Bluetooth SIG, Inc., U.S.A.
WPATM and WPA2TM are trademarks of Wi-Fi Alliance.
Google Chrome is a trademark of Google Inc.
All other trademarks are the property of their respective owners.
Version: PW208NX_PW208mNX_r01-31-07-17PR
©2017 SATO Corporation. All rights reserved.
Table of Contents
Command list...................................................................................................................... 7
Font list.............................................................................................................................. 12
Control command............................................................................................................. 17
[ESC+A] Start Code........................................................................................................................... 17
[ESC+Z] Stop Code............................................................................................................................18
[ESC+Q] Print Quantity...................................................................................................................... 19
[ESC+ID] Job ID Number...................................................................................................................20
[ESC+WK] Job Name.........................................................................................................................21
Modification Command.................................................................................................... 24
[ESC+P] Character Pitch....................................................................................................................24
[ESC+L] Enlargement.........................................................................................................................26
[ESC+PS] Proportional Pitch..............................................................................................................27
[ESC+PR] Release Proportional Pitch............................................................................................... 28
[ESC+%] Rotation...............................................................................................................................29
[ESC+F] Sequential number.............................................................................................................. 31
[ESC+FW] Ruled / Grid Line Print..................................................................................................... 33
[ESC+FC] Print Circle........................................................................................................................ 35
[ESC+FT] Print Triangle..................................................................................................................... 37
[ESC+(] Reverse Color Print.............................................................................................................. 39
[ESC+KC] Kanji Code........................................................................................................................ 41
[ESC+&] Store Form Overlay.............................................................................................................43
[ESC+/] Recall Form Overlay.............................................................................................................45
[ESC+0] Partial Edit........................................................................................................................... 46
[ESC+WD] Partial Copy..................................................................................................................... 47
[ESC+J] Journal Print.........................................................................................................................49
[ESC+RF] Recall Font & Logo...........................................................................................................50
[ESC+RM] Mirror Image.....................................................................................................................51
[ESC+KS] Kanji Set............................................................................................................................53
[ESC+AL] Field alignment.................................................................................................................. 54
Font command.................................................................................................................. 59
[ESC+X20] X20 font (Basic size 5 x 9 dots)..................................................................................... 59
1
[ESC+X21] X21 font (Basic size 17 x 17 dots)................................................................................. 61
[ESC+X22] X22 font (Basic size 24 x 24 dots)................................................................................. 63
[ESC+X23] X23 font (Basic size 48 x 48 dots)................................................................................. 65
[ESC+X24] X24 font (Basic size 48 x 48 dots)................................................................................. 67
[ESC+XU] XU font (Basic size 5 x 9 dots)........................................................................................ 69
[ESC+XS] XS font (Basic size 17 x 17 dots).....................................................................................71
[ESC+XM] XM font (Basic size 24 x 24 dots)................................................................................... 73
[ESC+XB] XB font (Basic size 48 x 48 dots).....................................................................................75
[ESC+XL] XL font (Basic size 48 x 48 dots)..................................................................................... 77
[ESC+OA] OCR-A font....................................................................................................................... 79
[ESC+OB] OCR-B font....................................................................................................................... 81
[ESC+U] U Font (Basic size 5 x 9 dots)............................................................................................83
[ESC+S] S Font (Basic size 8 x 15 dots).......................................................................................... 85
[ESC+M] M Font (Basic size 13 x 20 dots)....................................................................................... 87
[ESC+WB] WB Font (Basic size 18 x 30 dots)..................................................................................89
[ESC+WL] WL font (Basic size 28 x 52 dots)................................................................................... 91
[ESC+$] Outline Font Design.............................................................................................................93
[ESC+$=] Outline Font Print.............................................................................................................. 95
[ESC+RD] CG Font............................................................................................................................ 97
[ESC+RG] Multiple language........................................................................................................... 102
[ESC+RH] Scalable font...................................................................................................................108
[ESC+K1] 16 x 16 dots Kanji in horizontal line................................................................................113
[ESC+K2] 24 x 24 dots Kanji in horizontal line................................................................................115
[ESC+K3] 22 x 22 dots Kanji in horizontal line................................................................................117
[ESC+K4] 32 x 32 dots Kanji in horizontal line................................................................................119
[ESC+K5] 40 x 40 dots Kanji in horizontal line................................................................................121
[ESC+K8] 16 x 16 dots Kanji in horizontal line with 1-byte character..............................................123
[ESC+K9] 24 x 24 dots Kanji in horizontal line with 1-byte character..............................................125
[ESC+KA] 22 x 22 dots Kanji in horizontal line with 1-byte character............................................. 127
[ESC+KB] 32 x 32 dots Kanji in horizontal line with 1-byte character............................................. 129
[ESC+KD] 40 x 40 dots Kanji in horizontal line with 1-byte character............................................. 131
[ESC+k1] 16 x 16 dots Kanji in vertical line.................................................................................... 133
[ESC+k2] 24 x 24 dots Kanji in vertical line.................................................................................... 135
[ESC+k3] 22 x 22 dots Kanji in vertical line.................................................................................... 137
[ESC+k4] 32 x 32 dots Kanji in vertical line.................................................................................... 139
[ESC+k5] 40 x 40 dots Kanji in vertical line.................................................................................... 141
[ESC+k8] 16 x 16 dots Kanji in vertical line with 1-byte character.................................................. 143
[ESC+k9] 24 x 24 dots Kanji in vertical line with 1-byte character.................................................. 145
[ESC+kA] 22 x 22 dots Kanji in vertical line with 1-byte character..................................................147
[ESC+kB] 32 x 32 dots Kanji in vertical line with 1-byte character..................................................149
[ESC+kD] 40 x 40 dots Kanji in vertical line with 1-byte character..................................................151
[ESC+T1] 16 x 16 dots external font registration............................................................................ 153
[ESC+T2] 24 x 24 dots external font registration............................................................................ 156
2
[ESC+K1(K2)] Recall horizontal writing external character............................................................. 159
[ESC+k1(k2)] Recall vertical writing external character...................................................................161
[ESC+PP] POP Font (Basic size 80 x 133 dots).............................................................................163
2D Code........................................................................................................................... 214
[ESC+2D10] PDF417....................................................................................................................... 214
[ESC+2D12] Micro PDF417............................................................................................................. 217
[ESC+2D20] MaxiCode.................................................................................................................... 220
[ESC+2D30] QR Code (Model 2).................................................................................................... 223
[ESC+2D31] QR Code (Model 1).................................................................................................... 228
[ESC+2D32] Micro QR Code........................................................................................................... 232
[ESC+2D50] DataMatrix (ECC200).................................................................................................. 235
[ESC+2D51] GS1 DataMatrix...........................................................................................................239
[ESC+2D70] Aztec Code..................................................................................................................244
[ESC+BQ] QR Code (Compatible command).................................................................................. 248
[ESC+BV] MaxiCode (Compatible command)................................................................................. 274
[ESC+BK] PDF417 (Compatible command).................................................................................... 276
[ESC+BX] DataMatrix (ECC200) (Compatible command)............................................................... 280
[ESC+DC] DataMatrix (ECC200) Data Specify (Compatible command)......................................... 281
[ESC+FX] DataMatrix (ECC200) Sequential Number (Compatible command)................................282
[ESC+QV] QR code version.............................................................................................................284
Graphic Command..........................................................................................................286
[ESC+G] Graphic Print..................................................................................................................... 286
[ESC+GM] BMP File Print................................................................................................................288
[ESC+GP] PCX File Print.................................................................................................................289
3
System Command...........................................................................................................290
[ESC+CS] Print Speed..................................................................................................................... 290
[ESC+#F] Print Darkness................................................................................................................. 292
[ESC+#E] Print Darkness (MB2i series compatible command)....................................................... 294
[ESC+A1] Media Size.......................................................................................................................296
[ESC+A3] Base Reference Point..................................................................................................... 299
[ESC+EP] Print End Position........................................................................................................... 301
[ESC+*] Memory Clear.....................................................................................................................304
[ESC+@] Offline............................................................................................................................... 306
[ESC+C] Reprint............................................................................................................................... 307
[ESC+E] Auto Line Feed..................................................................................................................308
[ESC+PG] Designation of Registration on Printer Motion (MB2i series compatible command)....... 310
[ESC+PO] Offset.............................................................................................................................. 314
[ESC+IG] Sensor Type.....................................................................................................................315
[ESC+PM] Print mode...................................................................................................................... 316
[ESC+KM] Mincho (Kanji)................................................................................................................ 318
[ESC+KG] Gothic (Kanji)..................................................................................................................319
[ESC+CE] European code page...................................................................................................... 320
[ESC+TK] Forced Tear Off............................................................................................................... 322
[ESC+TW] Option Waiting Time.......................................................................................................323
[ESC+CL] Delete CR/LF.................................................................................................................. 324
4
Part 2 Interface Specification.............................. 393
Overview.......................................................................................................................... 393
Overview........................................................................................................................................... 393
USB...................................................................................................................................412
Basic Specifications..........................................................................................................................412
Layout plan for connector pin.......................................................................................................... 413
Wireless LAN...................................................................................................................414
Basic Specifications..........................................................................................................................414
Network setting/Display items................................................................................................... 417
Wireless LAN setting/Display items.......................................................................................... 419
Specifications of software.................................................................................................................422
Specifications of TCP/IP...................................................................................................................422
Specifications of LPR....................................................................................................................... 422
Specifications of FTP....................................................................................................................... 422
Specifications of HTTP/HTTPS........................................................................................................ 423
Wireless LAN settings...................................................................................................................... 425
802.1x authentication and certification......................................................................................425
Socket communication..................................................................................................................... 427
Connection and Disconnection of session....................................................................................... 428
Printer Status.................................................................................................................................... 430
Specification of SNMP......................................................................................................................432
PrinterMIB / HostResourceMIB to show the status of printer................................................... 433
Notes.................................................................................................................................................437
Bluetooth..........................................................................................................................438
Basic specification............................................................................................................................ 438
Bluetooth settings............................................................................................................................. 441
CRC transmission data.................................................................................................................... 442
CRC calculation data........................................................................................................................443
5
Example of transmission data..........................................................................................................444
CRC error display.............................................................................................................................445
Transmission sequence....................................................................................................................446
Normal end................................................................................................................................ 446
In case where communication is lost while transferring print data........................................... 450
In case where communication is lost while transferring status after receiving print data.......... 451
Abnormal end when CRC check is enabled.............................................................................452
NFC................................................................................................................................... 453
Basic specification............................................................................................................................ 453
Tag mode.......................................................................................................................................... 455
Data format................................................................................................................................456
Transmission sequence.............................................................................................................457
Pass-through mode.......................................................................................................................... 458
Data format................................................................................................................................459
Transmission sequence.............................................................................................................460
Handover mode................................................................................................................................ 466
6
Part 1 SBPL Commands
Command list
Font list
Example of Command reference
Control command
Print Position Command
Modification Command
Font command
Barcode Command
2D Code
Graphic Command
System Command
Intelligent Command
Common commands for all languages
Time zone list
Command list
Control
Command Function
Print position
Command Function
Modification
Command Function
7
Command Function
Font
Command Function
ESC+K8 <K8> 16x16 dots Kanji in horizontal line with 1-byte character
8
Command Function
ESC+K9 <K9> 24x24 dots Kanji in horizontal line with 1-byte character
ESC+KA <KA> 22x22 dots Kanji in horizontal line with 1-byte character
ESC+KB <KB> 32x32 dots Kanji in horizontal line with 1-byte character
ESC+KD <KD> 40x40 dots Kanji in horizontal line with 1-byte character
ESC+k8 <k8> 16x16 dots Kanji in vertical line with 1-byte character
ESC+k9 <k9> 24x24 dots Kanji in vertical line with 1-byte character
ESC+kA <kA> 22x22 dots Kanji in vertical line with 1-byte character
ESC+kB <kB> 32x32 dots Kanji in vertical line with 1-byte character
ESC+kD <kD> 40x40 dots Kanji in vertical line with 1-byte character
Barcode
Command Function
9
Command Function
2D Barcode
Command Function
Graphic
Command Function
System
Command Function
10
Command Function
Intelligent
Command Function
Command Function
DC2+DB Initialization
DC2+DC Reset
11
Font list
Specify ESC + (relevant font command) to use residential fonts.
Expanded font
Fixed pitch / proportional pitch
Difference between outline font and bitmap font
Setting change of Eurocode
Limitation on non-standard codes
12
Expanded font
Font can be expanded by a factor of 1 to 36.
Internal bitmap fonts can also be expanded with a factor of 1 to 36.
Example: A font in a size of 5 dots of width and 9 dots of height is expanded by a factor of 3. The
resulting font has a width of 15 dots and a height of 27 dots.
The input of enlargement ratio (height x enlargement ratio, width x enlargement ratio) for characters
to be printed is done as described below:
Width x expansion factor= width parameter setting value
Height x expansion factor= height parameter setting value
The command <L> decides the expansion of the character. This parameter is set as factor.
Example: If setting the factor to: <L>0304, the character is expanded by a factor of 3 in horizontal
direction (width) and a factor of 4 in vertical direction (height).
If an expansion factor is specified, also the pitch between the characters is automatically
determined.
Parent topic Font list
<XU> XU font (Basic size 5×9 dots) Eurocode shall be 00H-FFH for DOS 857
compatibility. DOS 858
<XS> XS font (Basic size 17×17 dots)
For
<XM> XM font (Basic size 24×24 dots) compatibility
13
Command Command name The range of Eurocode Code Page
Standard Non-standard
14
Example of Command reference
1 2
[ESC+L] Enlargement
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter becomes initial value at the next item
<A>.
7 [Function]
Specifying the enlargement ratio of font.
8 [Format]
<L>aabb
• Parameter
a [Horizontal enlargement ratio] = Valid range: 01 to 36
b [Vertical enlargement ratio] = Valid range: 01 to 36
9 [Coding Example]
Horizontal enlargement ratio: 4 times, Vertical enlargement ratio: 3 times
<A>
<V>100<H>200<P>3<L>0403<XM>ABCD
<Q>2
<Z>
10 [Supplementary Explanation]
• Enlarges the character pitch as well. When Character Pitch <P> is used at the same time, the
parameter value of horizontal enlargement ratio specified in Enlargement <L> will be reflected in
the subsequent specification <P>.
11 [Note]
• If increasing the enlargement ratio, design the print format that does not exceed print area.
12 [Valid Command]
Font <XU> <XS> <XM> <XB> <XL> <OA> <OB> <K1> <K2> <K3>
<K4> <K5> <K8> <K9> <KA> <KB> <KD> <k1> <k2> <k3>
<k4> <k5> <k8> <k9> <kA> <kB> <kD> <U> <S> <M>
15
◦ Valid range within item;
▪ The set parameter is valid until the next specification is made.
▪ The set parameter becomes invalid.
▪ The set command becomes invalid.
◦ Valid range between items;
▪ The set parameter becomes initial value at the next item <A>.
▪ The set parameter is valid until the next specification is made.
▪ The set parameter becomes invalid.
▪ The set command becomes invalid.
7. Explains the function of command.
8. Explains the command and required parameter.
<L>AABB indicates the command ESC+L (<1B>16<4C>16) and two types of parameters such as
"aa" and "bb".
9. Shows the example of how the command is used.
This is the coding example programmed in BASIC output to the printer connected with
RS-232C.
10 ESC$=CHR$(&H1B)
20 OPEN "COM1:9600,N,8,1,RS,BIN" FOR OUTPUT AS #1
30 PRINT #1,ESC$;"A";
40 PRINT #1,ESC$;"V100";ESC$;"H200";
50 PRINT #1,ESC$;"P3";ESC$;"L0403";
60 PRINT #1,ESC$;"XMABCD";
70 PRINT #1,ESC$;"Q2";
80 PRINT #1,ESC$;"Z";
90 CLOSE #1
100 END
10. Provides the supplemental information of command function and parameter.
11. Provides notes and restriction for the use of command.
12. Shows the commands that come under the influence of used commands.
Parent topic Part 1 SBPL Commands
16
Control command
[ESC+A]
Start Code
[ESC+Z]
Stop Code
[ESC+Q]
Print Quantity
[ESC+ID]
Job ID Number
[ESC+WK]
Job Name
Valid range and term of When the power is OFF The set command is not maintained.
command
Valid range within items The set command becomes invalid.
[Function]
Specifying the start of data transmission.
[Format]
<A>
[Coding Example]
<A>
<V>100<H>200<P>2<L>0202<XM>ABCD
<Q>2
<Z>
[Supplementary Explanation]
• Indicates the start of item and to be placed at the head of item.
• Use <A> and End of Data Transmission <Z> as a pair of commands.
[Note]
• Setting value of all commands excluding a part of system commands will be set to default.
• If this command is not specified, printing will not be performed.
Parent topic Control command
17
[ESC+Z] Stop Code
Valid range and term of When the power is OFF The set command is not maintained.
command
Valid range within items The set command becomes invalid.
[Function]
Specifying the end of data transmission.
[Format]
<Z>
[Coding Example]
<A>
<V>100<H>200<P>2<L>0202<XM>ABCD
<Q>2
<Z>
[Supplementary Explanation]
• Indicates the end of item and to be placed at the tail of item.
• Use Start of Data Transmission <A> and <Z> as a pair of commands.
[Note]
• If this command is not specified, printing will not be performed.
Parent topic Control command
18
[ESC+Q] Print Quantity
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying the number of labels to print.
[Format]
<Q>aaaa
• Parameter
a [Number of labels to print] = Valid range: 1 to 9999
[Coding Example]
Number of labels: 2
<A>
<V>100<H>200<P>2<L>0202<XM>ABCD
<Q>2
<Z>
[Supplementary Explanation]
• Print contents specified by Start of Data Transmission <A> and End of Data Transmission <Z>
are regarded as 1 label, and the number of reprints can be specified.
• Use this command prior to End of Data Transmission <Z>.
[Note]
• Reprint will be performed based on the specified print quantity. If specifying sequential
numbering command <F>, the value of sequential number that was set up for that field portion
will be printed.
• When this command is used in combination with Multiple Cutting <~>, the specified print
quantity multiplied by specified value for cutting becomes the number of labels to print.
Parent topic Control command
19
[ESC+ID] Job ID Number
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
[Function]
Specifying job ID number for status return.
[Format]
<ID>aa
• Parameter
a [Job ID number]
Valid range:
00 to 99 (2 digits)
[Coding Example]
Job ID number: 01
<A>
<ID>01
<V>200<H>100<P>0<$>B,100,100,6
<$=>SATOPRINTER
<Q>2
<Z>
[Supplementary Explanation]
• When status return is used for interface protocol, the specified job ID number can be set to the
telegraphic status.
• Status can be confirmed by sending status request (ENQ).
• Include this command within items and use between start code <A> and stop code <Z>.
[Note]
• In status return interface protocol, this command becomes valid when status request (ENQ) is
received while printing (QTY≠0, includes at the time of Offline and Error).
• In status return communication protocol, if status request (ENQ) is received when printing is not
in progress (QTY=0, No received data when power is ON), space (20H) will be set to status and
returned.
• When Job ID Number <ID> is used more than twice within the items of <A> and <Z>, the last
specified value becomes valid.
Parent topic Control command
20
[ESC+WK] Job Name
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
[Function]
Specifying job name for status return.
[Format]
<WK>aaaaaaaaaaaaaaaa
• Parameter
a [Job Name] = ASCII code 16-digit, Shift JIS Kanji 8-digit
[Coding Example]
Job name: SATO
<A>
<ID>01
<WK>SATO
<V>200<H>100<P>0<$>B,100,100,6
<$=>SATOPRINTER
<Q>2
<Z>
[Supplementary Explanation]
• When Status 4 is used for interface protocol, specified job name can be set to the telegraphic
status.
• Status can be confirmed sending status request (ENQ).
• Include this command within items and use between start code <A> and stop code <Z>.
• This command can be used in combination with Job ID Number <ID>.
[Note]
• In status return interface protocol, this command becomes valid when status request (ENQ) is
received while printing (QTY≠0, includes at the time of Offline and Error).
• In status return communication protocol, if status request (ENQ) is received when printing is not
in progress (QTY=0, No received data when power is ON), space (20H) will be set to status and
returned.
• When Job ID Number <ID> is used more than twice within the items of <A> and <Z>, the last
specified value becomes valid.
• For more information, refer to the "Interface Specifications".
Parent topic Control command
21
Print Position Command
[ESC+H]
Horizontal Print Position
[ESC+V]
Vertical Print Position
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter becomes initial value at the next item
<A>.
[Function]
Specifying horizontal print position from its start point by dot.
[Format]
<H>aaaa
• Parameter
a [Horizontal Print Position] = Refer to the table below.
[Coding Example]
Horizontal print position: 200 dots
<A>
<V>100<H>200<P>2<L>0202<XM>ABCD
<Q>2
<Z>
[Supplementary Explanation]
• Specifying the start of horizontal position for the print of text, barcode, ruled line and graphic.
[Note]
• Any contents such as text, barcode, graphic exceed printing area will not be printed.
22
[ESC+V] Vertical Print Position
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter becomes initial value at the next item
<A>.
[Function]
Specifying vertical print position from its start point by dot.
[Format]
<V>aaaaa
• Parameter
a [Vertical Print Position] = Refer to the table below.
[Coding Example]
Vertical print position: 100 dots
<A>
<V>100<H>200<P>2<L>0202<XM>ABCD
<Q>2
<Z>
[Supplementary Explanation]
• Specifying the start of vertical position for the print of text, barcode, ruled line and graphics.
[Note]
• Any contents such as text, barcode and graphic exceed printing area will not be printed.
23
Modification Command
[ESC+P]
Character Pitch
[ESC+L]
Enlargement
[ESC+PS]
Proportional Pitch
[ESC+PR]
Release Proportional Pitch
[ESC+%]
Rotation
[ESC+F]
Sequential number
[ESC+FW]
Ruled / Grid Line Print
[ESC+FC]
Print Circle
[ESC+FT]
Print Triangle
[ESC+(]
Reverse Color Print
[ESC+KC]
Kanji Code
[ESC+&]
Store Form Overlay
[ESC+/]
Recall Form Overlay
[ESC+0]
Partial Edit
[ESC+WD]
Partial Copy
[ESC+J]
Journal Print
[ESC+RF]
Recall Font & Logo
[ESC+RM]
Mirror Image
[ESC+KS]
Kanji Set
[ESC+AL]
Field alignment
<1B>16 <50>16 aa
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter becomes initial value at the next item
<A>.
[Function]
Specifying character pitch by dot.
[Format]
<P>aa
• Parameter
a [Character pitch] = Valid range: 00 to 99 dots
[Coding Example]
Character pitch: 10
<A>
<V>200<H>100<P>10<L>0202<XM>ABCD
<Q>2
<Z>
[Supplementary Explanation]
• Character pitch means the character gap or font gap when selecting font or barcode.
• Specified character pitch will be widened based on the ratio of Enlargement <L>.
• Even if linefeed code [CR] is specified in Auto Linefeed <E>, the character pitch remains the
same without returning to initial value. Start of Data Transmission <A> can be used to reset to
the initial value.
• By specifying Character Pitch <P> just before the barcode specification, pitch command
becomes valid for barcode module.
Object barcode: NW-7, CODE39, Industrial 2of5, Matrix 2of5
For more information, see (3) Intercharacter gap in [Barcode Command].
• Data specification except numeric value or specification of over-digit will give the initial value.
24
[Valid Commands]
Font <XU> <XS> <XM> <XB> <XL> <OA> <OB> <RD> <$=> <K1>
<K2> <K3> <K4> <K5> <K8> <K9> <KA> <KB> <KD> <k1>
<k2> <k3> <k4> <k5> <k8> <k9> <kA> <kB> <kD> <U>
<S> <M> <WB> <WL> <X20> <X21> <X22> <X23> <X24> <PP>
Modification <RF>
25
[ESC+L] Enlargement
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter becomes initial value at the next item
<A>.
[Function]
Specifying the enlargement ratio of font.
[Format]
<L>aabb
• Parameter
a [Horizontal enlargement ratio] = Valid range: 01 to 36
b [Vertical enlargement ratio] = Valid range: 01 to 36
[Coding Example]
Horizontal enlargement ratio: 4 times, Vertical enlargement ratio: 3 times
<A>
<V>100<H>200<P>3<L>0403<XM>ABCD
<Q>2
<Z>
[Supplementary Explanation]
• Enlarges the character pitch as well. When Character Pitch <P> is used at the same time, the
parameter value of horizontal enlargement ratio specified in Enlargement <L> will be reflected in
the subsequent specification <P>.
[Note]
• If increasing the enlargement ratio, design the print format that does not exceed printing area.
[Valid Commands]
Font <XU> <XS> <XM> <XB> <XL> <OA> <OB> <K1> <K2> <K3>
<K4> <K5> <K8> <K9> <KA> <KB> <KD> <k1> <k2> <k3>
<k4> <k5> <k8> <k9> <kA> <kB> <kD> <U> <S> <M>
26
[ESC+PS] Proportional Pitch
Valid range and term of When the power is OFF The set command is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter becomes initial value at the next item
<A>.
[Function]
Specifying the proportional pitch.
[Format]
<PS>
[Coding Example]
<A>
<PS>
<V>100<H>200<P>2<L>0202<XM>ABCD
<Q>2
<Z>
[Supplementary Explanation]
• If data other than specified is set, proportional print will not be performed.
• Neither Proportional Pitch <PS> nor Release Proportional Pitch <PR> is set as Initial value.
[Valid Commands]
Font <XU> <XS> <XM> <XB> <XL> <RD> <RG> <RH> <PP> <X20>
Modification <RF>
27
[ESC+PR] Release Proportional Pitch
Valid range and term of When the power is OFF The set command is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter becomes initial value at the next item
<A>.
[Function]
Specifying the release of proportional pitch.
[Format]
<PR>
[Coding Example]
<A>
<PR>
<V>100<H>200<P>2<L>0202<XM>ABCD
<Q>2
<Z>
[Supplementary Explanation]
• Neither Proportional Pitch <PS> nor Release Proportional Pitch <PR> is set as Initial value.
[Valid Commands]
Font <XU> <XS> <XM> <XB> <XL> <RD> <RG> <RH> <PP> <X21>
Modification <RF>
28
[ESC+%] Rotation
<1B>16 <25>16 a
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter becomes initial value at the next item
<A>.
[Function]
Specifying the counter-clockwise rotation of font and barcode.
[Format]
<%>a
• Parameter
a [Rotative direction]
0: Parallel 1 (0 degree)
1: Serial 1 (90-degree)
2: Parallel 2 (180-degree)
3: Serial 2 (270-degree)
[Coding Example]
Font rotation: Parallel 2 (180-degree), Barcode rotation: Serial 1 (90-degree)
<A>
<%>2
<V>100<H>400<P>3<L>0403<XM>ABCD
<%>1
<V>400<H>200<BD>103160*123*
<Q>2
<Z>
[Supplementary Explanation]
• Position specification of Vertical Print Position <V> and Horizontal Print Position <H> are the
absolute value from its base reference point.
• When the value of parameter "a" is between 4 and 9, it will be processed as a command error
and ignored. When the value other than numeric is specified, this will be ignored and printing
will be performed at 0 degree.
• Print of barcode using Serial 1 or Serial 2 may cause blur. Drop the print speed for rotation print
of Serial 1 and Serial 2 for better performance.
29
Base ref. Parallel 1 (0-degree) Base ref. Parallel 2 (180-degree) Base ref. Serial 1 (90-degree) Base ref. Serial 2 (270-degree)
point point point point
Label feed direction Label feed direction Label feed direction Label feed direction
[Valid Commands]
Font <XU> <XS> <XM> <XB> <XL> <OA> <OB> <RD> <$=> <K1>
<K2> <K3> <K4> <K5> <K8> <K9> <KA> <KB> <KD> <k1>
<k2> <k3> <k4> <k5> <k8> <k9> <kA> <kB> <kD> <U>
<S> <M> <WB> <WL> <X20> <X21> <X22> <X23> <X24> <PP>
Barcode <B> <BC> <BG> <BI> <D> <D><d> <BD> <BT> <BW> <BP>
2D code <2D10> <BK> <2D12> <2D20> <BV> <2D30> <2D31> <2D32> <BQ> <2D50>
Composite <EU>
Symbol
System <E>
30
[ESC+F] Sequential number
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying prior to the data specification command of font or barcode, and printing specified data in
a sequential order.
[Format]
<F>aaaabcccc(,dd,ee,f)
• Parameter
a [Print quantity specification of identical contents] = Valid range : 1 to 9999
b [Increasing and decreasing specification]
+ : Addition
- : Subtraction
c [Setting of increasing and decreasing value] = Valid range : 1 to 9999
d [Valid digit number for sequential number] = Valid range : 1 to 99 When omitted: 8 (omissible)
e [Low-order invalid digit number] = Valid range : 0 to 99 When omitted: 0 (omissible)
f [Specification of Decimal/Hex sequential number]
0 : Decimal number When omitted: 0 (omissible)
1 : Hexadecimal
[Coding Example]
Print quantity specification of identical contents: 1, Increasing and decreasing specification: +,
Setting of increasing and decreasing value: 1, Valid digit number for sequential number: 5, Low-
order invalid digit number: 0
<A>
<V>100<H>100<P>2<L>0202
<F>1+1,5,0<XU>10000
<Q>2
<Z>
[Supplementary Explanation]
• Sequential number can be specified up to 8 points per format.
• Next print data from <F> command will be the initial value of sequential number.
• Specify the required number of digits for sequential number to print it properly.
• Specification of Black/White Reverse Print <(> is not valid for sequential numbered data.
• Auto Linefeed <E> is not available.
• Need to print font or barcode to print sequential number.
31
• Digit number of sequential number should correspond to that of font/barcode data command.
If the digit number of sequential number is larger, sequential number printing will not be
performed.
• If the print data immediately after the sequential number command <F> becomes the sequential
number invalid command, the sequential number will be invalid.
[Valid Commands]
Font <XU> <XS> <XM> <XB> <XL> <OA> <OB> <RD> <$=> <U>
<S> <M> <WB> <WL> <J> <X20> <X21> <X22> <X23> <X24>
<PP>
Barcode <B> <BC> <BG> <BI> <D> <D><d> <BD> <BT> <BW> <BP>
32
[ESC+FW] Ruled / Grid Line Print
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying the ruled / grid line.
[Format]
<FW>aabccccc : Print of ruled line
• Parameter
a [Line width] = Valid range : 02 to 99 dots
b [Horizontal/vertical direction]
H : Horizontal direction
V : Vertical direction
c [Ruled line length] = Valid range : Refer to the table below.
[Coding Example 1]
Ruled line print, Line width: 4, Horizontal direction, Ruled line length: 400
Grid line print, Vertical line width: 8, Horizontal line width: 8, Vertical line length: 300, Horizontal line
length: 400
<A>
<V>100<H>200<FW>04H400
<V>300<H>200<FW>0808V300H400
<Q>2
<Z>
33
[Supplementary Explanation]
• When the print start position exceeds the printing area, the printing is not performed. (This will
not be a command error.)
• Set line width according to the table below so the horizontal line width is more than 0.166 mm.
• If setting the vertical line width wider, it will be widened to the right side against media feed
direction. If setting the horizontal line width wider, it will be widened to the lower side against
media feed direction.
• If setting the grid line wider, it will be widened inward.
[Valid Range]
Head density Valid range: Horizontal (dots) Valid range: Vertical (dots)
34
[ESC+FC] Print Circle
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying the print of circle.
[Format]
<FC>,aaa,bbb(,c,d)
• Parameter
a [Radius] = Valid range : 5 to 999 dots
b [Line width] = Valid range : 1 to 999 dots
c [Sectional number] = Valid range : 0 to 8 When omitted: 0 (omissible)
*See the details listed below.
d [Pattern] = Valid range : 0 to 3 When omitted: 0 (omissible)
0 : Solid line (black)
1 : Gray 1
2 : Gray 2
3 : Gray 3
• Sectional number
[Coding Example]
Solid line circle of 100 dots in radius, 8 dots in line width
<A>
<V>200<H>200
<FC>,100,8,0,0
<Q>1
<Z>
35
[Supplementary Explanation]
• When the value outside of the range is specified for sectional number, it will be processed as
"0". (This will not be a command error.)
• When the value outside of the range is specified for the designation of pattern, it will be
processed as "0". (This will not be a command error.)
• Even when the print start position exceeds the printing area, the printing is performed. (This will
be a command error.)
• This command sets the base reference point to the center of a circle.
0,0
<V>200
<H>200
100 in radius
[Valid Range]
5 to 999 1 to 999
36
[ESC+FT] Print Triangle
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying the print of triangle.
[Format]
<FT>,aaaa,bbbb(,cccc,d)
• Parameter
a [Length of sides] = Valid range : 10 to 2000 dots
b [Line width] = Valid range : 1 to 1000 dots
c [Length of base] = Valid range : 10 to 2000 dots (omissible)
When omitted, its value will be equal to the length of sides.
d [Pattern] = Valid range : 0 to 3 When omitted: 0 (omissible)
0 : Solid line (black)
1 : Gray 1
2 : Gray 2
3 : Gray 3
[Coding Example]
Length of sides: 100 dots, Line width: 8 dots, Length of base: 100 dots
<A>
<V>100<H>200
<FT>,100,8,100,0
<Q>1
<Z>
37
[Supplementary Explanation]
• When the value outside of the range is specified for pattern, it will be processed as "0". (This will
not be a command error.)
• When the print start position exceeds the printing area, the printing is performed. (This will be a
command error.)
(When the print start position exceeds the printing area in the vertical direction, the label will be
fed.)
• When the side length is not equal to the base length, printing will not be performed due to
command error.
• This command sets the base reference point to the apex of a triangle.
0,0
<V>100
a : Side length
<H>200
b : Base length
a a
[Valid number]
38
[ESC+(] Reverse Color Print
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying black and white reverse print.
[Format]
<(>aaaa,bbbbb
• Parameter
a [Specification of reverse area in horizontal direction] = Valid range: Refer to the table below
b [Specification of reverse area in vertical direction] = Valid range: Refer to the table below
[Coding Example]
Reverse area in horizontal direction: 200, Reverse area in vertical direction: 70
<A>
<V>50<H>50<P>2<L>0202<XM>ABC
<V>50<H>50<(>200,70
<Q>2
<Z>
H50 (dots)
Label feed direction
V50 (dots)
70 (dots)
200 (dots)
[Supplementary Explanation]
• Set this command next after the firm data string to be inversed. If it is set prior to the firm data
the data will be printed in black without inverse.
• To set print start position, specify Horizontal Print Position <H> and Vertical Print Position <V>
prior to this command.
• When the print start position exceeds the printing area, printing will not be performed due to
command error.
[Note]
• For setting, keep the black print area under 30% of overall label.
39
[Valid Range]
40
[ESC+KC] Kanji Code
<1B>16 <4B>16<43>16 a
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter becomes initial value at the next item
<A>.
[Function]
This command allows temporary switch-over between Kanji codes. Normally it is specified by User
mode of printer LCD settings.
[Format]
<KC>a
• Parameter
a [Kanji code]
0 : JIS code
1 : Shift JIS code
2 : Unicode (UTF-16)
3 : Unicode (UTF-8)
4 : BIG5 code
5 : GB18030 code
6 : KSC5601(EUC-KR) code
41
<Q>2
<Z>
[Supplementary Explanation]
• There is no necessity to specify this command in the normal label printing.
• To set Shift JIS as initial value, use User mode of printer LCD setting.
• It is possible to specify multiple Kanji codes within 1 item.
• Please use the appropriate Kanji code according to the Kanji set specified in Kanji set <KS>.
• When the Kanji set is changed, specify this command after Kanji set <KS>.
42
[ESC+&] Store Form Overlay
Valid range and term of When the power is OFF The set command is not maintained.
command
Valid range within item The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Specifying the registration of form overlay.
[Format]
<&>(aab~b)
• Parameter
a [Registration key] = Valid range : 01 to 99 (omissible)
b [Comment] = Max. 16 bytes (omissible)
[Coding Example]
<A>
<V>100<H>50<FW>1010V800H750
<V>100<H>50<FW>0505V760H710
<V>100<H>50<XB>0MODEL
<&>01DATA1
<Z>
[Supplementary Explanation]
• This command saves fixed print contents to the printer and then, Recall Form Overlay </>
combines the contents with drawing of general data to print out.
• Specify this command at the end of data string that is to be stored. Drawing valid range in form
overlay registration is same as printing area.
• This command can register only one format. Use any code from 01 to 99 as a registration key.
• To change contents, specify Clear Form Overlay <*>&, and then register new storage data.
• Invoke registered contents by Recall Form Overlay </>.
• When specifying Label Size <A1>, it will be extracted in the specified area.
43
[Valid Commands]
Font <XU> <XS> <XM> <XB> <XL> <OA> <OB> <RD> <$=> <K1>
<K2> <K3> <K4> <K5> <K8> <K9> <KA> <KB> <KD> <k1>
<k2> <k3> <k4> <k5> <k8> <k9> <kA> <kB> <kD> <U>
<S> <M> <WB> <WL> <X20> <X21> <X22> <X23> <X24> <PP>
Barcode <B> <BC> <BG> <BI> <D> <D><d> <BD> <BT> <BW> <BP>
2D code <2D10> <BK> <2D12> <2D20> <BV> <2D30> <2D31> <2D32> <BQ> <2D50>
Composite <EU>
Symbol
44
[ESC+/] Recall Form Overlay
Valid range and term of When the power is OFF The set command is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Recalling form overlay.
[Format]
</>(aa)
• Parameter
a [Registration key] = Valid Range : 01 to 99 (omissible)
[Coding Example]
<A>
</>01
<V>200<H>100<P>0<$>B,100,100,6
<$=>SATOPRINTER
<V>720<H>150<B>102100*95000012345*
<Q>2
<Z>
[Supplementary Explanation]
• This command invokes the contents registered by Store Form Overlay <&> to print.
• When detecting this command in normal print data, it will be combined with drawing stored in
form overlay and printed.
• The registration key is not checked, so that specifying wrong registration key does not raise an
error.
Parent topic Modification Command
45
[ESC+0] Partial Edit
Valid range and term of When the power is OFF The set command is not maintained.
command
Valid range within items The set command becomes invalid.
[Function]
Editing the portion in the previous print data.
[Format]
<0>
[Coding Example]
[DEF], a part of print data, is changed to [123].
First label
<A>
<V>100<H>200<P>2<L>0202<XM>ABC
<V>100<H>200<P>2<L>0202<XM>DEF
<Q>1
<Z>
Second label
<A>
<0>
<V>100<H>200<P>2<L>0202<XM>123
<Q>1
<Z>
ABC ABC
DEF 123 Partial
edit
[Supplementary Explanation]
• Use this command to edit only one part of previous print data.
• Invoke the previous print data with this command to edit and print out. In this case, specify the
part of previous data to edit, and send change data to it.
• Specified portion in the previous data will be cleared.
• If Rotation <%> is included in the specified editing portion, keep it for partial editing.
• Use this command with fixed pitch, same font or same digit number.
Parent topic Modification Command
46
[ESC+WD] Partial Copy
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set command becomes invalid.
[Function]
Copying specified area to another place.
[Format]
<WD>VaaaaaHbbbbYcccccXdddd
• Parameter
a [Vertical start point of original data] = Valid range: Refer to the table below.
b [Horizontal start point of original data] = Valid range: Refer to the table below.
c [Vertical dot size of original data] = Valid range: Refer to the table below.
d [Horizontal dot size of original data] = Valid range: Refer to the table below.
[Coding Example]
Vertical start point of original data: 50, Horizontal start point of original data: 50,
Vertical dot size of original data: 200, Horizontal dot size of original data: 400
<A>
<V>50<H>50<P>2<L>0202<XU>ABCD
<V>300<H>100<WD>V50H50Y200X400
<Q>2
<Z>
dddd
Label feed direction
aaaaa
bbbb ABCD
ccccc
AB CD
[Supplementary Explanation]
• To locate the destination of copy, specify Vertical Print Position <V> and Horizontal Print
Position <H> prior to this command.
• Destination of copy has to be outside of specified original data.
47
• When the print start position of the copied area is outside of printing area, printing will not be
performed due to command error.
[Valid Range]
Even if the specified parameter is within a valid range, it may get out of the valid range depending on
its print start position, base position of copy or dot size. In that case, command error will occur.
Parent topic Modification Command
48
[ESC+J] Journal Print
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying the print of journal.
[Format]
<J>a...a+CR
• Parameter
a [Journal print column] = Print data
CR [Control code (0DH)]
[Coding Example]
<A>
<J>
ABCD+CR
EFGH+CR
<Z>
[Supplementary Explanation]
• This command starts journal print from vertical position of 2 dots and horizontal position of 2
dots.
• Character pitch is set to 2 dots and line pitch is set to 16 dots.
• This command prints in 2 x 2 times of XS font.
• Use of this command in combination with other commands excluding Reprint <C> and Black
and White Reverse Print <(> is invalid.
• This command performs the line feed regardless of setting of CR/LF deletion.
Parent topic Modification Command
49
[ESC+RF] Recall Font & Logo
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Invoking and printing the font and logo downloaded with exclusive tool.
[Format]
<RF>aabbbb,n...n
• Parameter
a [Font ID number] = Valid range: 01 to 99
b [Print digit] = Valid range: 1 to 9999
c [Print data] = data
[Coding Example 1]
To print [AB] in half size character with this command [Font ID No.: 01, Print digit: 4]
(UnicodeはA: <0041>16 B: <0042>16)
<A>
<PS>
<V>100<H>100<L>0101
<RF>010004,<0041>16<0042>16
<Z>
[Coding Example 2]
When calling and printing logo [Font ID No.: 02 Print digit: 2]
<A>
<V>100<H>100<L>0101<RF>020002,<826B>16
<Z>
[Supplementary Explanation]
• Specify the value of print data putting Unicode(UTF-16BE).
• When calling and printing logo, specify [Print digit: 0002], [Print data: <826B>16].
Note that <826B>16 is the value of Shift JIS code of L.
• For [Print Data] parameter, the byte order changes depending on compatibility settings for Font/
Logo call.
◦ Specify little endian when compatibility settings are enabled.
e.g.) Specify <4100> for character "A".
◦ Specify big endian when compatibility settings are disabled.
50
[ESC+RM] Mirror Image
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Performing mirror rotation of print data.
[Format]
<RM>aaaa,bbbbb
• Parameter
a [Horizontal range of mirror rotation specification] = Valid range: Refer to the table below.
b [Vertical range of mirror rotation specification] = Valid range: Refer to the table below.
[Coding Example 1]
When the range of mirror rotation is specified:
<A>
<H>100<V>200<XS>12345
<H>100<V>200<RM>0200,0080
<Q>1
<Z>
[Coding Example 2]
When the range of mirror rotation is not specified:
<A>
<H>100<V>200<XS>12345
<RM>
<Z>
51
[Supplementary Explanation]
• When the parameter "aaaa" and "bbbbb" are not specified, all print data specified prior to this
command will be rotated.
• Data outside of printing area will not rotate.
• If specifying this command for the item that does not contain print data, the command error will
occur.
• This command cannot be used in combination with the commands that associated with reedition
of print data. Refer to the invalid commands list below. When the command that cannot use in
combination with is specified, print result is not guaranteed.
• This command cannot be used in combination with some registration commands. Refer to
the invalid commands list below. When the command that cannot use in combination with is
specified, print result is not guaranteed.
• This command cannot be used in combination with some of the modification commands. Refer
to the invalid commands list below. When the command that cannot use in combination with is
specified, print result is not guaranteed.
• This command prints the mirror image of the print data put before the mirror rotation command
is specified. The data after the command does not rotate. Note that specifying this command
several times results rotating the data several times.
• When the mirror image is applied for the barcode, reading of the barcode and the head damage
check are not guaranteed.
• When executing the mirror image, the head damage check will be performed for all the areas
where rotated.
[Invalid Commands]
Modification <%>
52
[ESC+KS] Kanji Set
<1B>16 <4B>16<53>16 a
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter is in effect until a new specification is
made.
Valid range between items The set parameter is in effect until a new specification is
made.
[Function]
Setting the kanji set.
[Format]
<KS>a
• Parameter
a [Kanji Set] = Refer to the table blow.
[Coding Example]
Specifying GB18030
<A>
<KS>3
<Z>
[Supplementary Explanation]
• Select the kanji set to be printed by using <K1>16 x 16 dots horizontal writing kanji command,
<K2>24 x 24 dots horizontal writing command, <k1>16 x 16 dots vertical writing kanji command
and <k2>24 x 24 dots vertical dots command.
• An appropriate Kanji code should be specified when switching the Kanji Set. If the right code is
not specified, the print may fail.
53
[ESC+AL] Field alignment
<1B>16 <41>16<4C>16 a
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter becomes initial value at the next item
<A>.
[Function]
The base reference point specified with print positioning commands <H>, <V> is equal to the
"Alignment position" of this command. The field’s base reference points are changeable with
"Alignment position". The supported fields are all text fields, barcode, 2D barcode, graphics, ruled
lines and boxes etc.
[Format]
<AL>a
• Parameter
a Alignment position
1: Top left
2: Top center
3: Top right
4: Middle left
5: Middle center
6: Middle right
7: Bottom left
8: Bottom center
9: Bottom right
BlogÁe
1 2 3 1 2 3
4 5 6
7 8 9
7 8 9
54
[Coding Example]
Font's alignment position: Top Right, barcode alignment position: Bottom left
<A>
<AL>3
<V>100<H>700<P>3<L>0403<X22>,ABCD
<AL>7
<V>400<H>200<BD>103160*123*
<Q>2
<Z>
<V>100<H>700
ABCD
<V>400<H>200
[Supplementary Explanation]
• The alignment position will ignore anything that was set, and sets the default "Top left" if the
value for parameter a was 0 or a non-numeric value.
• If you select Middle or Bottom, the position may vary depending on the ascender line and
descender line of each field. Ascender/descender lines depend on each font, so not all fonts
may show like in the examples as below.
HHH HHg
Top Top
Middle
Middle
Bottom
Bottom
HĺH Hĺg
Top Top
Middle Middle
Bottom
Bottom
• Make sure to specify <H> and <V> to the field when you select Center and Right.
If they are not specified when specifying for the 2nd field, the trailing edge of the 1st field
becomes the base reference point of the 2nd field, which means that the parts of the 1st and
2nd field will overlap.
E.g.) If <H> and <V> are not specified to the 2nd field when specifying Center;
Center Right
Left Right
DEF
ABC
Left Center
E.g.) If <H> and <V> are not specified to the 2nd field when specifying Right;
Left Center Right
Left Center Right
ABC
DEF
• Printer does not print if the positions specified with <H> and <V> (equal to "Alignment position")
if they are out of printing area.
55
• There are cases where the rendered field may run off from printing area depending on
"Alignment position" and print position commands <H> and <V>. Command error (Position
Error) may occur depending on the conditions as described below.
ABC 6
ABC 5 ABC 8
ABC 5
The characters will not be printed In this case, command error will
because it runs over from printable not occur but the characters that
range. run over from printable range
will be missing.
• The composition of the field depends on the command when specifying "Alignment position" for
barcode and 2D code fields.
Ex.) When specifying barcode, 2D code without automatically attached human readables
1 2 3 1 2 3
4 5 6
4 5 6
7 8 9
7 8 9
1 2 3 1 2 3
4 5 6
4 5 6
7 8 9
7 8 9
Ex.) When specifying a barcode with automatically attached human readables (<BD>,<BM>
<BI> etc.)
1 2 3 1 2 3
4 5 6
4 5 6 7 8 9
7 8 9
1 2 3
4 5 6
7 8 9
• The left alignment position in the top, middle, and bottom differs for barcodes such as UPC-A
and JAN/EAN-13 with <BD> / <BM> command since the human readable text is printed in the
left of the barcode.
56
Note:
• Human readables are included in the field of "Field Alignment" for barcode.
• Printer works as below if the printing runs off printing area as a result of "Alignment position".
◦ Position Error will occur and will not print if the top left of the barcode runs off.
◦ International models will print if the Top Left of the barcode does not run off the paper.
However some parts of the barcode will be missing.
◦ Barcodes will be printed if human readables run off the Left of the paper. However the
human readables will not be printed.
Command error
57
[Available commands]
Font <XU> <XS> <XM> <XB> <XL> <OA> <OB> <U> <S> <M>
<K1> <K2> <K3> <K4> <K5> <K8> <K9> <KA> <KB> <KD>
<k1> <k2> <k3> <k4> <k5> <k8> <k9> <kA> <kB> <kD>
<BF>
*2
<BS>
*3 <BL> <BL><d>
*1 <BZ>
2D code <2D10> <2D12> <2D20> <2D30> <2D31> <2D32> <2D50> <2D51> <2D33>
Composite <EU>
barcode
System <E>
*1 The position depends on the specified human readable type and data. Make sure to specify just the right
number of characters for human readables data. Printing is not guaranteed if there are excess or insufficient
human readables.
*2 <BF>: Bookland is a barcode which uses multiple commands such as <BD> and <BF>, <D>~<d> and
<BF>. Please arrange so that they are printed in expected positions since alignment positions are calculated
by each field for this command.
*3 <BS>: USPS Barcode has the same position as specifying Middle position in this command without
specifying this command. When you specify Middle position with this command, it prints to an alignment
position equivalent to Bottom position.
Example) Top left
58
Font command
[ESC+X20]
X20 font (Basic size 5 x 9 dots)
[ESC+X21]
X21 font (Basic size 17 x 17 dots)
[ESC+X22]
X22 font (Basic size 24 x 24 dots)
[ESC+X23]
X23 font (Basic size 48 x 48 dots)
[ESC+X24]
X24 font (Basic size 48 x 48 dots)
[ESC+XU]
XU font (Basic size 5 x 9 dots)
[ESC+XS]
XS font (Basic size 17 x 17 dots)
[ESC+XM]
XM font (Basic size 24 x 24 dots)
[ESC+XB]
XB font (Basic size 48 x 48 dots)
[ESC+XL]
XL font (Basic size 48 x 48 dots)
[ESC+OA]
OCR-A font
[ESC+OB]
OCR-B font
[ESC+U]
U Font (Basic size 5 x 9 dots)
[ESC+S]
S Font (Basic size 8 x 15 dots)
[ESC+M]
M Font (Basic size 13 x 20 dots)
[ESC+WB]
WB Font (Basic size 18 x 30 dots)
[ESC+WL]
WL font (Basic size 28 x 52 dots)
[ESC+$]
Outline Font Design
[ESC+$=]
Outline Font Print
[ESC+RD]
CG Font
[ESC+RG]
Multiple language
[ESC+RH]
Scalable font
[ESC+K1]
16 x 16 dots Kanji in horizontal line
[ESC+K2]
24 x 24 dots Kanji in horizontal line
[ESC+K3]
22 x 22 dots Kanji in horizontal line
[ESC+K4]
32 x 32 dots Kanji in horizontal line
[ESC+K5]
40 x 40 dots Kanji in horizontal line
[ESC+K8]
16 x 16 dots Kanji in horizontal line with 1-byte character
[ESC+K9]
24 x 24 dots Kanji in horizontal line with 1-byte character
[ESC+KA]
22 x 22 dots Kanji in horizontal line with 1-byte character
[ESC+KB]
32 x 32 dots Kanji in horizontal line with 1-byte character
[ESC+KD]
40 x 40 dots Kanji in horizontal line with 1-byte character
[ESC+k1]
16 x 16 dots Kanji in vertical line
[ESC+k2]
24 x 24 dots Kanji in vertical line
[ESC+k3]
22 x 22 dots Kanji in vertical line
[ESC+k4]
32 x 32 dots Kanji in vertical line
[ESC+k5]
40 x 40 dots Kanji in vertical line
[ESC+k8]
16 x 16 dots Kanji in vertical line with 1-byte character
[ESC+k9]
24 x 24 dots Kanji in vertical line with 1-byte character
[ESC+kA]
22 x 22 dots Kanji in vertical line with 1-byte character
[ESC+kB]
32 x 32 dots Kanji in vertical line with 1-byte character
[ESC+kD]
40 x 40 dots Kanji in vertical line with 1-byte character
[ESC+T1]
16 x 16 dots external font registration
[ESC+T2]
24 x 24 dots external font registration
[ESC+K1(K2)]
Recall horizontal writing external character
[ESC+k1(k2)]
Recall vertical writing external character
[ESC+PP]
POP Font (Basic size 80 x 133 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 5 dots, height 9 dots is specified.
[Format]
<X20>,n...n
• Parameter
n [Print data] = Data
[Coding example]
<A>
<V>100<H>200<P>2<L>0304<X20>,ABCDE
<Q>2
<Z>
[Notes]
• The X20 font only allows the setting of a fixed pitch.
[Valid Commands]
59
X20 font character set
Basic size is 5 x 9 dots (width x height)
The print sample shown above is issued with a head density of 8 dots/mm and an enlargement ratio
of 3 (vertical/horizontal).
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
60
[ESC+X21] X21 font (Basic size 17 x 17 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 17 dots, height 17 dots is specified.
[Format]
<X21>,n...n
• Parameter
n [Print data] = Data
[Coding example]
<A>
<V>100<H>200<P>2<L>0304<X21>,ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The X21 font allows the setting of a fixed pitch or the setting of a proportional pitch.
• Font pitch (fixed/proportional) can be selected via command or "Settings Mode" of this product.
[Valid Commands]
Modification <P> <L> <%> <PS> <PR> <F> <&> </> <0> <WD>
61
X21 font character set
Basic size is 17 x 17 dots (width x height)
The print sample shown above is issued with a head density of 8 dots/mm and an enlargement ratio
of 2 (vertical/horizontal).
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
62
[ESC+X22] X22 font (Basic size 24 x 24 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 24 dots, height 24 dots is specified.
[Format]
<X22>,n...n
• Parameter
n [Print data] = Data
[Coding example]
<A>
<V>100<H>200<P>2<L>0304<X22>,ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The X22 font allows the setting of a fixed pitch or the setting of a proportional pitch.
• Font pitch (fixed/proportional) can be selected via command or "Settings Mode" of this product.
[Valid Commands]
Modification <P> <L> <%> <PS> <PR> <F> <&> </> <0> <WD>
63
X22 font character set
Basic size is 24 x 24 dots (width x height)
The print sample shown above is issued with a head density of 8 dots/mm and an enlargement ratio
of 2 (vertical/horizontal).
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
64
[ESC+X23] X23 font (Basic size 48 x 48 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 48 dots, height 48 dots is specified.
[Format]
<X23>,an...n
• Parameter
a [Smoothing]
0 : Smoothing disabled
1 : Smoothing ON (Only available if expansion factor is between 3 and 12))
n [Print data] = Data
[Coding example]
<A>
<V>100<H>200<P>2<L>0304<X23>,0ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The X23 font allows the setting of a fixed pitch or the setting of a proportional pitch.
• Font pitch (fixed/proportional) can be selected via command or "Settings Mode" of this product.
• When the smoothing is enabled, and the expansion <L> command is set to 1 or 2 or from 13 to
36, the smoothing function will be ignored.
[Valid Commands]
Modification <P> <L> <%> <PS> <PR> <F> <&> </> <0> <WD>
65
X23 font character set
Basic size is 48 x 48 dots (width x height)
The print sample shown above is issued with a head density of 8 dots/mm and an enlargement ratio
of 1 (vertical/horizontal).
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
66
[ESC+X24] X24 font (Basic size 48 x 48 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 48 dots, height 48 dots is specified.
[Format]
<X24>,an...n
• Parameter
a [Smoothing]
0 : Smoothing OFF
1 : Smoothing ON (Only available if expansion factor is between 3 and 12)
n [Print data] = Data
[Coding example]
<A>
<V>100<H>200<P>2<L>0304<X24>,0ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The X24 font allows the setting of a fixed pitch or the setting of a proportional pitch.
• Font pitch (fixed/proportional) can be selected via command or "Settings Mode" of this product.
• When the smoothing is enabled, and the expansion <L> command is set to 1 or 2 or from 13 to
36, the smoothing function will be ignored.
[Valid Commands]
Modification <P> <L> <%> <PS> <PR> <F> <&> </> <0> <WD>
67
X24 font character set
Basic size is 48 x 48 dots (width x height)
The print sample shown above is issued with a head density of 8 dots/mm and an enlargement ratio
of 1 (vertical/horizontal).
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
68
[ESC+XU] XU font (Basic size 5 x 9 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 5 dots, height 9 dots is specified.
[Format]
<XU>n...n
• Parameter
n [Print data] = Data
[Coding example]
<A>
<V>100<H>200<P>2<L>0304<XU>ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The XU font allows the setting of a fixed pitch or the setting of a proportional pitch.
• Font pitch (fixed/proportional) can be selected via command or "Settings Mode" of this product.
• The character set varies according to setting of <CE> command.
[Valid Commands]
Modification <P> <L> <%> <PS> <PR> <F> <&> </> <0> <WD>
69
XU font character set
Basic size is 5 x 9 dots (width x height)
The print sample shown above is issued with width 5 x height 9, enlargement ratio of 3 (vertical/
horizontal) and DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
70
[ESC+XS] XS font (Basic size 17 x 17 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 17 dots, height 17 dots is specified.
[Format]
<XS>n...n
• Parameter
n [Print data] = Data
[Coding example]
<A>
<V>100<H>200<P>2<L>0304<XS>ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The XS font allows the setting of a fixed pitch or the setting of a proportional pitch.
• Font pitch (fixed/proportional) can be selected via command or "Settings Mode" of this product.
• The character set varies according to setting of <CE> command.
[Valid Commands]
Modification <P> <L> <%> <PS> <PR> <F> <&> </> <0> <WD>
71
XS font character set
Basic size is 17 x 17 dots (width x height)
The print sample shown above is issued with width 17 x height 17, enlargement ratio of 2 (vertical/
horizontal) and DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
72
[ESC+XM] XM font (Basic size 24 x 24 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 24 dots, height 24 dots is specified.
[Format]
<XM>n...n
• Parameter
n [Print data] = Data
[Coding example]
<A>
<V>100<H>200<P>2<L>0304<XM>ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The XM font allows the setting of a fixed pitch or the setting of a proportional pitch.
• Font pitch (fixed/proportional) can be selected via command or "Settings Mode" of this product.
• The character set varies according to setting of <CE> command.
[Valid Commands]
Modification <P> <L> <%> <PS> <PR> <F> <&> </> <0> <WD>
73
XM font character set
Basic size is 24 x 24 dots (width x height)
The print sample shown above is issued with width 24 x height 24, enlargement ratio of 2 (vertical/
horizontal) and DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
74
[ESC+XB] XB font (Basic size 48 x 48 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 48 dots, height 48 dots is specified.
[Format]
<XB>an...n
• Parameter
a [Smoothing]
0: Smoothing OFF
1: Smoothing ON (Valid for expansion factors <L> between 3 and 9)
n [Print data] = Data
[Coding example]
<A>
<V>100<H>200<P>2<L>0304<XB>0ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• XB font allows the setting of a fixed pitch or the setting of a proportional pitch.
• Font pitch (fixed/proportional) can be selected via command or "Settings Mode" of this product.
• When the smoothing is enabled, and the expansion <L> command is set to 1 or 2 or from 10 to
36, the smoothing function will be ignored.
• The character set varies according to setting of <CE> command.
[Valid Commands]
Modification <P> <L> <%> <PS> <PR> <F> <&> </> <0> <WD>
75
XB font character set
Basic size is 48 x 48 dots (width x height)
The print sample shown above is issued with width 48 x height 48, enlargement ratio of 1 (vertical/
horizontal) and DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
76
[ESC+XL] XL font (Basic size 48 x 48 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 48 dots, height 48 dots is specified.
[Format]
<XL>an...n
• Parameter
a [Smoothing]
0: Smoothing OFF
1: Smoothing ON (Valid for expansion factors <L> between 3 and 9)
n [Print data] = Data
[Coding example]
<A>
<V>100<H>200<P>2<L>0304<XL>0ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• XL font allows the setting of a fixed pitch or the setting of a proportional pitch.
• Font pitch (fixed/proportional) can be selected via command or "Settings Mode" of this product.
• When the smoothing is enabled, and the expansion <L> command is set to 1 or 2 or from 10 to
36, the smoothing function will be ignored.
• The character set varies according to setting of <CE> command.
[Valid Commands]
Modification <P> <L> <%> <PS> <PR> <F> <&> </> <0> <WD>
77
XL font character set
Basic size is 48 x 48 dots (width x height)
The print sample shown above is issued with width 48 x height 48, enlargement ratio of 1 (vertical/
horizontal) and DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
78
[ESC+OA] OCR-A font
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying OCR-A font.
[Format]
<OA>n...n
• Parameter
n [Print data] = Data
[Coding example]
<A>
<V>100<H>100<P>2<L>0202<OA>ABC
<Q>2
<Z>
[Supplementary Explanation]
• Refer to the table below for font size of each head density.
[Valid Commands]
79
OCR-A font character set
OCR-A font specification.
The print sample shown above is issued with a head density of 8 dots/mm, a font size of 15 x 22,
and an enlargement ratio of 2 (vertical/horizontal).
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
80
[ESC+OB] OCR-B font
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying OCR-B font.
[Format]
<OB>n...n
• Parameter
n [Print data] = Data
[Coding Example]
<A>
<V>100<H>100<P>2<L>0202<OB>ABC
<Q>2
<Z>
[Supplementary Explanation]
• Refer to the table below for font size of each head density.
[Font Size]
[Valid Commands]
81
OCR-B Font Character Set
OCR-B font specification.
The print sample shown above is issued with a head density of 8 dots/mm, a font size of 20 x 24,
and an enlargement ratio of 2 (vertical/horizontal).
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
82
[ESC+U] U Font (Basic size 5 x 9 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 5 dots, height 9 dots is specified.
[Format]
<U>n...n
• Parameter
n [Print data] = Data
[Coding Example]
<A>
<V>100<H>200<P>2<L>0304<U>ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The U font only allows the setting of a fixed pitch.
• The character set varies according to setting of <CE> command.
[Valid Commands]
83
U font character set
Basic size is 5 x 9 dots (width x height)
The print sample shown above is issued with a head density of 8 dots/mm, enlargement ratio of 3
(vertical/horizontal) and DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
84
[ESC+S] S Font (Basic size 8 x 15 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 8 dots, height 15 dots is specified.
[Format]
<S>n...n
• Parameter
n [Print data] = Data
[Coding Example]
<A>
<V>100<H>200<P>2<L>0304<S>ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The S font only allows the setting of a fixed pitch.
• The character set varies according to setting of <CE> command.
[Valid Commands]
85
S font character set
Basic size is 8 x 15 dots (width x height)
The print sample shown above is issued with a head density of 8 dots/mm, enlargement ratio of 3
(vertical/horizontal) and DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
86
[ESC+M] M Font (Basic size 13 x 20 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within item The set parameter becomes invalid.
[Function]
Font with the basic size of: width 13 dots, height 20 dots is specified.
[Format]
<M>n...n
• Parameter
n [Print data] = Data
[Coding Example]
<A>
<V>100<H>200<P>2<L>0304<M>ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The M font only allows the setting of a fixed pitch.
• The character set varies according to setting of <CE> command.
[Valid Commands]
87
M font character set
Basic size is 13 x 20 dots (width x height)
The print sample shown above is issued with a head density of 8 dots/mm, enlargement ratio of 2
(vertical/horizontal) and DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
88
[ESC+WB] WB Font (Basic size 18 x 30 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within item The set parameter becomes invalid.
[Function]
Font with the basic size of: width 18 dots, height 30 dots is specified.
[Format]
<WB>an...n
• Parameter
a [Smoothing]
0: Smoothing OFF
1: Smoothing ON (Valid for Enlargement <L> between 3 and 12)
n [Print data] = Data
[Coding Example]
<A>
<V>100<H>200<P>2<L>0304<WB>0ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The WB font only allows the setting of a fixed pitch.
• When the smoothing is enabled, and the Enlargement <L> is set to 1 or 2 or from 13 to 36, the
smoothing function will be ignored.
• The character set varies according to setting of <CE> command.
[Valid Commands]
89
WB font character set
Basic size is 18 x 30 dots (width x height)
The print sample shown above is issued with a head density of 8 dots/mm, enlargement ratio of 1
(vertical/horizontal) and DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
90
[ESC+WL] WL font (Basic size 28 x 52 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 28 dots, height 52 dots is specified.
[Format]
<WL>an...n
• Parameter
a [Smoothing]
0: Smoothing OFF
1: Smoothing ON (Valid for Enlargement <L> between x3 and 12)
n [Print data] = Data
[Coding Example]
<A>
<V>100<H>200<P>2<L>0304<WL>0ABCDE
<Q>2
<Z>
[Supplementary Explanation]
• The WL font only allows the setting of a fixed pitch.
• When the smoothing is enabled, and the Enlargement <L> is set to 1 or 2 or from 13 to 36, the
smoothing function will be ignored.
• The character set varies according to setting of <CE> command.
[Valid Commands]
91
WL font character set
Basic size is 28 x 52 dots (width x height)
The print sample shown above is issued with a head density of 8 dots/mm, enlargement ratio of 1
(vertical/horizontal) and DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
92
[ESC+$] Outline Font Design
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter becomes initial value at the next item
<A>.
[Function]
Specifying the type, size, and shape of font.
[Format]
<$>a,bbb,ccc,d
• Parameter
a [Font type]
A: Helvetica bold (Proportional)
B: Helvetica bold (Inter-character pitch fixed)
*1
K: Kanji specified by hexadecimal number
*1
L: Kanji specified by binary number
*1
k: Kanji (vertical) specified by hexadecimal number
*1
l: Kanji (horizontal) specified by hexadecimal number
b [Font width] = Valid range: 1 to 999 dots
c [Font height] = Valid range: 1 to 999 dots
d [Font design]
0: Normal font (Black)
1: White characters on black background
2: Grey font (Pattern 1)
3: Grey font (Pattern 2)
4: Grey font (Pattern 3)
5: Font with shadow
6: White characters with shadow on black background
7: Mirrored font
8: Normal italic font
9: White italic characters with shadow on black background
[Coding example]
Font type: A, font width: 100 dots,
font height: 100 dots, font design: 1
<A>
<V>100<H>100<P>2
<$>A,100,100,1<$=>SATO
<Q>2
<Z>
93
[Supplementary Explanation]
• Italic characters are tilt in an angle of 15-degree, within their specified width.
• The outline font printing command <$=> shall be executed after the outline font design selection
<$>.
• For the font design 1 thru 9, if the specified dot setting is irregularly small, the font cannot be
identified.
• If the font width / height are very small, there can be cases that the font is squeezed.
[Valid Commands]
Font <$=>
The print sample shown above is issued with a head density of 8 dots/mm.
Parent topic Font command
94
[ESC+$=] Outline Font Print
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying printing command of outline font.
[Format]
<$=>n...n
• Parameter
n [Print data] = Data
[Coding example]
Print data: SATO
<A>
<V>100<H>100<P>2
<$>A,100,100,1<$=>SATO
<Q>2
<Z>
[Supplementary Explanation]
• The outline font printing command <$=> shall be executed after the outline font design selection
<$>.
• Font height includes both ascender and descender area. For proportional pitch, the character
width of outline font differs depending on the font to be used.
• Use character pitch command <P> to specify font pitch.
• Italic characters are tilt in an angle of 15-degree, within their specified width. As for the height
specification, both ascender and descender area are included.
• For the font design 1 through 9, if the specified dot setting is irregularly small, the font cannot be
identified.
• If the font width / height are very small, there can be cases that the font is squeezed.
• JIS, Shift JIS, or Unicode (UTF-16, UTF-8) can be used for Kanji outline font, which should
correspond with the printer settings to proper printing. Specify Kanji code by <KC> command or
LCD setting.
95
[Valid Commands]
The print sample shown above is issued with a head density of 8 dots/mm.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
96
[ESC+RD] CG Font
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying CG font type, font style, font size, and print data.
[Format]
<RD>abc,ddd,eee,n...n
• Parameter
a [Font type]
A [SATO CG Sleek]
B [SATO CG Stream]
6 -
7 -
8 PC-850 Multilingual
97
Symbol Parameter name Setting Character set
value
H -
I -
L -
M Japanese X0201
*1
@ Unicode UTF-8
c [Font style]
0 Standard
1 Bold
2 Italic
3 Bold + Italic
d [Width]
Valid Range: 004 to 999 (dots)
Valid Range: P02 to P99 (points)
e [Height]
Valid Range: 004 to 999 (dots)
Valid Range: P02 to P99 (points)
n [Print data] = Data
[Coding Example1]
Font type: SATO CG Sleek, Width: 10 pts, Height: 10 pts
<A>
<V>100<H>100<P>2
<RD>A00,P10,P10,SATO
<Q>2
<Z>
[Supplementary Explanation]
• The font size is set by [dot number] or [point number].
• The dot size does vary with printer type. (Refer to the table below)
98
[Valid Commands]
99
SATO CG Sleek font character set
SATO CG Sleek font settings
Print sample in following condition: Head density: 8 dots/mm, 40 x 40 point, DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
100
SATO CG Stream font character set
SATO CG Stream Font settings
Print sample in following condition: Head density: 8 dots/mm, 40 x 40 point, DOS 858.
The data from 00 (H) to 1F (H) are control codes and you cannot use them.
Parent topic Font command
101
[ESC+RG] Multiple language
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Printing multiple language fonts.
[Format]
<RG>a,b,c,ddd,eee,ffff…fff
Parameter
a : [Character code]
Character code of print data to be specified to a parameter f.
Refer to the table below.
b : [Font set] Font type for printing. Refer to the table below.
c : [Modification]
0: Standard
1: Italic
2: BOLD
3: BOLD+Italic
d : [Width]
Valid range: 20 to 999 (dots)
Valid range: P09 to P99 (points)
e : [Height]
Valid range: 20 to 999 (dots)
Valid range: P09 to P99 (points)
*One point is 0.35 mm.
f : [Print data] (character code)
0 UNICODE (UTF-8)
2 S-JIS
3 BIG5
4 GB18030
102
Parameter a Character code
GB-18030 Crystalzhonghei
GB-18030 Crystalzhonghei
Big5 MobileGothic
GB-18030 Crystalzhonghei
Big5 MobileGothic
GB-18030 Shusong2M
103
Parameter Font name Font set Font type Character
b code range
(UTF-16BE)
GB-18030 Shusong2M
Big5 Mincho
GB-18030 Shusong2M
Big5 Mincho
[Coding example]
Character code = UTF16, Font set = SJIS, Modification = Standard, Width = 20 dots, Height = 20
dots, Print data = SATO
<A>
<V>100<H>100<P>2
<RG>1,5,0,20,20,<FF33>16<FF21>16<FF34>16<FF2F>16
<Q>2
<Z>
[Note]
• When a character code other than UTF-16BE is specified, the character code will be converted
into UTF-16BE. If there were codes that cannot be converted, they are replaced by single
spaces.
• When UTF-16BE is specified as a character code or character codes do not exist in the font set
after UTF-16BE conversion, these character codes are not printed. When a space or a square
are filled in the font set for the character code, these images are printed.
• Print size may be smaller than specified character size with parameter in landscape and portrait
directions due to multi languages.
104
• If input code is set to UTF-8, the size of character code is available up to 4 bytes. UTF-8 does
not support 5, 6 bytes.
• UTF-16BE supports up to 2 byte character code. 3 bytes UTF-8 and 4 bytes UTF-16BE are not
supported.
• Complex script languages (Arabic, Hindi, Thai), Hebrew are printed with proportional fonts,
regardless of setting of font type in order to use the formatter function and the combined font
function.
• The linefeed code cannot be inserted among one word or one character code forming one
character for the complex script languages (Arabic, Hindi, Thai), Hebrew. If the linefeed is
inserted, the rendering result is not guaranteed.
• Comply with Unicode 2.1 (note that if the first byte is 0x1b when UTF-16BE is specified, it is
judged as a ESC code).
• When performing sequential number printing in Arabic, Hindi, Thai and Hebrew, the character
codes are rendered as a character string and it may not function properly.
• This command does not support partial editing because the complex script languages (Arabic,
Hindi, Thai), Hebrew extract the character string for using the formatter function and the
combined font function.
• Complex script languages (Arabic, Hindi, Thai), Hebrew render character codes as character
strings in order to use the formatter function and the combined font function. Other languages
render character codes in character units, so that a gap between fonts is different from that of
the complex script languages.
• Note that when a combination of character codes and font sets is other than below table, the
expected character may not be printed.
<CE> <RG>
105
<CE> <RG>
UTF-8 UTF-8
• Font of parameter b0-14 is not installed with printer by default. The font shall be downloaded to
printer before using this command.
[Valid Commands]
106
Multiple language sample
107
[ESC+RH] Scalable font
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Built-in scalable font and the TTF font downloaded using file download [DC2]DE of a common
command are printed.
[Format]
<RH>a,b…b,c,ddd,eee, ffff…fff
Parameter
a [Character code]
Input character code of printing data specifying to parameter f.
See the table "Input character code list" below.
b [Font set] = Valid range: See the table "Built-in font set list" below.
c [Modification]
0: Standard
1: Bold
2: Italic
3: Bold + Italic
d [Width]
Valid range: 020 to 999 (dots)
Valid range: P09 to P99 (points)
e [Height]
Valid range: 020 to 999 (dots)
Valid range: P09 to P99 (points)
*One point is 0.35 mm.
*The valid range of height and width is 832 dots for 203 dpi.
f [Print Data] = Data
0 UNICODE(UTF-8)
1 UNICODE(UTF-16BE) * Recommended
2 S-JIS
3 BIG5
4 GB18030
5 KSX 1001(EUC-KR)
108
Parameter a Character code
SATO0.ttf SATO 0
109
[Coding example3] Printing of the downloaded TrueType font
Character code=UTF16BE,Font set(The downloaded file name)=Sample.TTF,
Modification=Standard, Width=40 dots, Height=40 dots, Print data=SATO
<A>
<V>100<H>100<P>2
<RH>1,sample.TTF,0,40,40<FF33>16<FF21>16<FF34>16<FF2F>16
<Q>2
<Z>
[Note]
• When a character code other than UTF-16 is specified, the character code will be converted into
UTF-16. If there are character codes that cannot be converted, all character strings specified as
a parameter error will be printed.
• If the font corresponding to specified character code does not exist, an invalid image defined in
the font set will be printed.
• Supports only the TTF that supports Unicode (UTF-16BE). If TTF does not support Unicode
(UTF-16BE), the specified character code is printed as GID (Glyph Index).
• Recommended fonts if you specify "-" in parameter a and print character set of <CE>
<CE> <RH>
UTF-8 UTF-8
201 X0201 ‐ ‐
• Size that can be specified in the "character set" is up to 32 bytes. Also, you can specify
character will be only the following characters.
110
◦ Alphabet
◦ Number
◦ Hyphen [-]
◦ Underscore [_]
◦ Period [.]
• Character may not be printed correctly if small character size is specified to downloaded TTF
font. Please fully check on print result.
• Print size may be smaller than specified character size with parameter in landscape and portrait
directions due to multi languages.
• If input code is set to UTF-8, the size of character code is available up to 4 bytes. UTF-8 does
not support 5, 6 bytes.
• Formatter functionality and Ligature functionality are used for complex languages (Arabic, Hindi,
Thai) and Hebrew so that proportional is enabled for print regardless of how proportional was
set.
• It is not possible to specify line feed code to in between character codes which forms single
word and single character for complex languages (Arabic, Hindi, Thai) and Hebrew. Rendering
result is not guaranteed if line feed code is specified.
• Please note that it is determined as ESC code if the first byte is 0x1b when UTF-16BE is
specified.
• If the first 2 bytes are specified to range of surrogate pairs (0xD800 to 0xDBFF) when
UTF-16BE is specified, it will be replaced with half size space on the condition that the last 2
bytes are not within the range of surrogate pairs (0xDC00 to 0xDFFF).
• Please note that serialized print may not work properly for languages like Arabic, Hindi, Thai,
and Hebrew because any input character code for those languages are rendered as character
string and this will cause incorrect print position.
• Formatter functionality and Ligature functionality are used for complex languages (Arabic, Hindi,
Thai) and Hebrew so that any input codes are rendered as character string. Input character
codes for other languages than above-mentioned languages are rendered per character so that
character gap is different between complex language and other languages.
• Please note that you may not get character as you expected after it is printed if the combination
of input character code and character set is different from the table below.
[Valid Commands]
111
Scalable font sample
112
[ESC+K1] 16 x 16 dots Kanji in horizontal line
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 16 x 16 (width x height) dots horizontal written Kanji character print.
[Format]
<K1>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example 1]
Shift JIS HEX characters, Horizontal enlargement ratio: 3, Vertical enlargement ratio: 5
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<K1>H81698A94816A83548367815B
<Q>2
<Z>
[Coding example 2]
JIS binary code, Horizontal enlargement ratio: 2, Vertical enlargement ratio: 3
<A>
<KC>0
<V>100<H>200<P>2<L>0203
<K1>B!J3T!K%5%H!<
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
• Binary code = Kanji Code 2 bytes / 1 Kanji character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
113
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• When the language setting of the printer is Japanese or Simplified Chinese or Traditional
Chinese or Korean, printing follows the language setting.
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• When the Kanji mode setting is [China, Traditional Chinese (BIG5)], it will be a command error.
[Valid Commands]
114
[ESC+K2] 24 x 24 dots Kanji in horizontal line
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 24 x 24 (width x height) dots horizontal written Kanji character print.
[Format]
<K2>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example 1]
Shift JIS HEX characters, Horizontal enlargement ratio: 3, Vertical enlargement ratio: 5
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<K2>H81698A94816A83548367815B
<Q>2
<Z>
[Coding example 2]
JIS binary code, Horizontal enlargement ratio: 2, Vertical enlargement ratio: 3
<A>
<KC>0
<V>100<H>100<P>2<L>0203
<K2>B!J3T!K%5%H!<
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
• Binary code = Kanji Code 2 bytes / 1 Kanji character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
115
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• When the language setting of the printer is Japanese or Simplified Chinese or Traditional
Chinese or Korean, printing follows the language setting.
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
[Valid Commands]
116
[ESC+K3] 22 x 22 dots Kanji in horizontal line
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 22 x 22 (width x height) dots horizontal written Kanji character print.
[Format]
<K3>an...n
• [Format]
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example 1]
Shift JIS HEX characters, Horizontal enlargement ratio: 3, Vertical enlargement ratio: 5
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<K3>H81698A94816A83548367815B
<Q>2
<Z>
[Coding example 2]
JIS binary code, Horizontal enlargement ratio: 2, Vertical enlargement ratio: 3
<A>
<KC>0
<V>100<H>100<P>2<L>0203
<K3>B!J3T!K%5%H!<
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
• Binary code = Kanji Code 2 bytes / 1 Kanji character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
117
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Valid Commands]
118
[ESC+K4] 32 x 32 dots Kanji in horizontal line
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 32 x 32 (width x height) dots horizontal written Kanji character print.
[Format]
<K4>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example 1]
Shift JIS HEX characters, Horizontal enlargement ratio: 3, Vertical enlargement ratio: 5
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<K4>H81698A94816A83548367815B
<Q>2
<Z>
[Coding example 2]
JIS binary code, Horizontal enlargement ratio: 2, Vertical enlargement ratio: 3
<A>
<KC>0
<V>100<H>100<P>2<L>0203
<K4>B!J3T!K%5%H!<
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
• Binary code = Kanji Code 2 bytes / 1 Kanji character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
119
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Valid Commands]
120
[ESC+K5] 40 x 40 dots Kanji in horizontal line
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 40 x 40 (width x height) dots horizontal written Kanji character print.
[Format]
<K5>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example 1]
Shift JIS HEX characters, Horizontal enlargement ratio: 3, Vertical enlargement ratio: 5
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<K5>H81698A94816A83548367815B
<Q>2
<Z>
[Coding example 2]
JIS binary code, Horizontal enlargement ratio: 2, Vertical enlargement ratio: 3
<A>
<KC>0
<V>100<H>100<P>2<L>0203
<K5>B!J3T!K%5%H!<
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
• Binary code = Kanji Code 2 bytes / 1 Kanji character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
121
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Valid Commands]
122
[ESC+K8] 16 x 16 dots Kanji in horizontal line with 1-byte
character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 16 x 16 (width x height) dots horizontal written Kanji character print and W8 x H16 dots
half size character in horizontal line.
[Format]
<K8>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example]
Shift JIS HEX characters, Data: 株式会社サト-
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<K8>H8A948EAE89EF8ED0BBC4B0
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
• Binary code = Kanji Code 2 bytes / 1 Kanji character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
123
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• This command is not available for JIS code print data.
• For the half size character (1-byte character code), printing will be performed in W8 x H16 dots.
• For the full size character (2-byte character code), printing will be performed in W16 x H16 dots.
• When the Kanji mode setting is [China, Traditional Chinese (BIG5)], it will be a command error.
[Valid Commands]
124
[ESC+K9] 24 x 24 dots Kanji in horizontal line with 1-byte
character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 24 x 24 (width x height) dots horizontal written kanji character print and W12 x H24 dots
half size character in horizontal line.
[Format]
<K9>an...n
• Parameter
a [Chinese selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example]
Shift JIS HEX characters, Data: 株式会社サト-
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<K9>H8A948EAE89EF8ED0BBC4B0
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
• Binary code = Kanji Code 2 bytes / 1 Kanji character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
125
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• This command is not available for JIS code print data.
• For the half size character (1-byte character code), printing will be performed in W12 x H24
dots.
• For the full size character (2-byte character code), printing will be performed in W24 x H24 dots.
[Valid Commands]
126
[ESC+KA] 22 x 22 dots Kanji in horizontal line with 1-byte
character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 22 x 22 (width x height) dots horizontal written kanji character print and W11 x H22 dots
half size character in horizontal line.
[Format]
<KA>an...n
• Parameter
a [Chinese selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example]
Shift JIS HEX characters, Data: 株式会社サト-
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<CC>0
<KA>H8A948EAE89EF8ED0BBC4B0
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
• Binary code = Kanji Code 2 bytes / 1 Kanji character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
127
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• This command is not available for JIS code print data.
• For the half size character (1-byte character code), printing will be performed in W11 x H22
dots.
• For the full size character (2-byte character code), printing will be performed in W22 x H22 dots.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Valid Commands]
128
[ESC+KB] 32 x 32 dots Kanji in horizontal line with 1-byte
character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 32 x 32 (width x height) dots horizontal written kanji character print and W16 x H32 dots
half size character in horizontal line.
[Format]
<KB>an...n
• Parameter
a [Chinese selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example]
Shift JIS HEX characters, Data: 株式会社サト-
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<KB>H8A948EAE89EF8ED0BBC4B0
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
• Binary code = kanji Code 2 bytes / 1 Kanji character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
129
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• For the half size character (1-byte character code), printing will be performed in W16 x H32
dots.
• For the full size character (2-byte character code), printing will be performed in W32 x H32 dots.
• This command is not available for JIS code print data.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Valid Commands]
130
[ESC+KD] 40 x 40 dots Kanji in horizontal line with 1-byte
character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 40 x 40 (width x height) dots horizontal written kanji character print and W20 x H40 dots
half size character in horizontal line.
[Format]
<KD>an...n
• Parameter
a [Chinese selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example]
Shift JIS HEX characters, Data: 株式会社サト-
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<KD>H8A948EAE89EF8ED0BBC4B0
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
• Binary code = kanji Code 2 bytes / 1 Kanji character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
131
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• For the half size character (1-byte character code), printing will be performed in W20 x H40
dots.
• For the full size character (2-byte character code), printing will be performed in W40 x H40 dots.
• This command is not available for JIS code print data.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Valid Commands]
132
[ESC+k1] 16 x 16 dots Kanji in vertical line
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 16 x 16 (width x height) dots vertical written Kanji character print.
[Format]
<k1>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example 1]
Shift JIS HEX characters, Horizontal enlargement ratio: 3, Vertical enlargement ratio: 5
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<k1>H81698A94816A83548367815B
<Q>2
<Z>
[Coding example 2]
JIS binary code, Horizontal magnification: 2, Vertical magnification: 3
<A>
<KC>0
<V>100<H>100<P>2<L>0203
<k1>B!J3T!K%5%H!<
<Q>2
<Z>
133
[Supplementary Explanation]
• HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
• Binary code = Kanji Code 2 bytes / 1 Kanji character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Print result of two bytes under bar "_" is vertical line (excluding when the kanji mode is [Japan,
Compatible kanji]).
• When the language setting of the printer is Japanese or Simplified Chinese or Traditional
Chinese or Korean, printing follows the language setting.
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• When the Kanji mode setting is [China, Traditional Chinese (BIG5)], it will be a command error.
[Valid Commands]
134
[ESC+k2] 24 x 24 dots Kanji in vertical line
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 24 x 24 (width x height) dots vertical written Kanji character print.
[Format]
<k2>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example 1]
Shift JIS HEX characters, Horizontal enlargement ratio: 3, Vertical enlargement ratio: 5
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<k2>H81698A94816A83548367815B
<Q>2
<Z>
[Coding example 2]
JIS binary code, Horizontal magnification: 2, Vertical magnification: 3
<A>
<KC>0
<V>100<H>100<P>2<L>0203
<k2>B!J3T!K%5%H!<
<Q>2
<Z>
135
[Supplementary Explanation]
• HEX characters = Chinese Code 4 bytes ASCII / 1 Chinese character (Ex.Shift JIS code)
• Binary code = Chinese Code 2 bytes / 1 Chinese character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Print result of two bytes under bar "_" is vertical line (excluding when the kanji mode is [Japan,
Compatible kanji]).
• When the language setting of the printer is Japanese or Simplified Chinese or Traditional
Chinese or Korean, printing follows the language setting.
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
[Valid Commands]
136
[ESC+k3] 22 x 22 dots Kanji in vertical line
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 22 x 22 (width x height) dots vertical written Kanji character print.
[Format]
<k3>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example 1]
Shift JIS HEX characters, Horizontal enlargement ratio: 3, Vertical enlargement ratio: 5
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<k3>H81698A94816A83548367815B
<Q>2
<Z>
[Coding example 2]
JIS binary code, Horizontal magnification: 2, Vertical magnification: 3
<A>
<KC>0
<V>100<H>100<P>2<L>0203
<k3>B!J3T!K%5%H!<
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Chinese Code 4 bytes ASCII / 1 Chinese character (Ex.Shift JIS code)
• Binary code = Chinese Code 2 bytes / 1 Chinese character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
137
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Print result of two bytes under bar "_" is vertical line.
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Valid Commands]
138
[ESC+k4] 32 x 32 dots Kanji in vertical line
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 32 x 32 (width x height) dots vertical written Kanji character print.
[Format]
<k4>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example 1]
Shift JIS HEX characters, Horizontal enlargement ratio: 3, Vertical enlargement ratio: 5
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<k4>H81698A94816A83548367815B
<Q>2
<Z>
[Coding example 2]
JIS binary code, Horizontal magnification: 2, Vertical magnification: 3
<A>
<KC>0
<V>100<H>100<P>2<L>0203
<k4>B!J3T!K%5%H!<
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Chinese Code 4 bytes ASCII / 1 Chinese character (Ex.Shift JIS code)
• Binary code = Chinese Code 2 bytes / 1 Chinese character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
139
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Print result of two bytes under bar "_" is vertical line.
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Valid Commands]
140
[ESC+k5] 40 x 40 dots Kanji in vertical line
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 40 x 40 (width x height) dots vertical written Kanji character print.
[Format]
<k5>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example 1]
Shift JIS HEX characters, Horizontal enlargement ratio: 3, Vertical enlargement ratio: 5
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<k5>H81698A94816A83548367815B
<Q>2
<Z>
[Coding example 2]
JIS binary code, Horizontal magnification: 2, Vertical magnification: 3
<A>
<KC>0
<V>100<H>100<P>2<L>0203
<k5>B!J3T!K%5%H!<
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Chinese Code 4 bytes ASCII / 1 Chinese character (Ex.Shift JIS code)
• Binary code = Chinese Code 2 bytes / 1 Chinese character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
141
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Print result of two bytes under bar "_" is vertical line.
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Valid Commands]
142
[ESC+k8] 16 x 16 dots Kanji in vertical line with 1-byte
character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 16 x 16 (width x height) dots horizontal written Kanji character print and W8 x H16 dots
half size character in vertical line.
[Format]
<k8>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example]
Shift JIS HEX characters, Data: 株式会社サト-
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<k8>H8A948EAE89EF8ED0BBC4B0
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Chinese Code 4 bytes ASCII / 1 Chinese character (Ex.Shift JIS code)
• Binary code = Chinese Code 2 bytes / 1 Chinese character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Print result of two bytes under bar "_" is vertical line (excluding when the kanji mode is [Japan,
Compatible kanji]).
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
143
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function, the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• This command is not available for JIS code print data.
• For the half size character specification (1-byte character code), printing will be performed in W8
x H16 dots.
• For the full size character specification (2-byte character code), printing will be performed in
W16 x H16 dots.
• When the Kanji mode setting is [China, Traditional Chinese (BIG5)], it will be a command error.
[Attention]
• When half-sized character with voiced/P-sound consonant mark is specified, each part of
character appears as a single character.
e.g.) When the word "バー" is specified, it will be written separately such as " ハ ", " ゙ ", " ー ".
[Valid Commands]
144
[ESC+k9] 24 x 24 dots Kanji in vertical line with 1-byte
character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 24 x 24 (width x height) dots horizontal written kanji character print and W12 x H24 dots
half size character in vertical line.
[Format]
<k9>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example]
Shift JIS HEX characters, Data: 株式会社サト-
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<k9>H8A948EAE89EF8ED0BBC4B0
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Chinese Code 4 bytes ASCII / 1 Chinese character (Ex.Shift JIS code)
• Binary code = Chinese Code 2 bytes / 1 Chinese character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Print result of two bytes under bar "_" is vertical line (excluding when the kanji mode is [Japan,
Compatible kanji]).
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
145
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function, the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• This command is not available for JIS code print data.
• For the half size character specification (1-byte character code), printing will be performed in
W12 x H24 dots.
• For the full size character specification (2-byte character code), printing will be performed in
W24 x H24 dots.
[Attention]
• When half-sized character with voiced/P-sound consonant mark is specified, each part of
character appears as a single character.
e.g.) When the word "バー" is specified, it will be written separately such as " ハ ", " ゙ ", " ー ".
[Valid Commands]
146
[ESC+kA] 22 x 22 dots Kanji in vertical line with 1-byte
character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 22 x 22 (width x height) dots horizontal written kanji character print and W11 x H22 dots
half size character in vertical line.
[Format]
<kA>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example]
Shift JIS HEX characters, Data: 株式会社サト-
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<kA>H8A948EAE89EF8ED0BBC4B0
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Chinese Code 4 bytes ASCII / 1 Chinese character (Ex.Shift JIS code)
• Binary code = Chinese Code 2 bytes / 1 Chinese character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Print result of two bytes under bar "_" is vertical line.
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
147
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function, the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• This command is not available for JIS code print data.
• For the half size character specification (1-byte character code), printing will be performed in
W11 x H22 dots.
• For the full size character specification (2-byte character code), printing will be performed in
W22 x H22 dots.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Attention]
• When half-sized character with voiced/P-sound consonant mark is specified, each part of
character appears as a single character.
e.g.) When the word "バー" is specified, it will be written separately such as " ハ ", " ゙ ", " ー ".
[Valid Commands]
148
[ESC+kB] 32 x 32 dots Kanji in vertical line with 1-byte
character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 32 x 32 (width x height) dots horizontal written kanji character print and W16 x H32 dots
half size character in vertical line.
[Format]
<kB>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example]
Shift JIS HEX characters, Data: 株式会社サト-
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<CC>0
<kB>H8A948EAE89EF8ED0BBC4B0
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Chinese Code 4 bytes ASCII / 1 Chinese character (Ex.Shift JIS code)
• Binary code = Chinese Code 2 bytes / 1 Chinese character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Print result of two bytes under bar "_" is vertical line.
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
149
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function, the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• This command is not available for JIS code print data.
• For the half size character specification (1-byte character code), printing will be performed in
W16 x H32 dots.
• For the full size character specification (2-byte character code), printing will be performed in
W32 x H32 dots.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Attention]
• When half-sized character with voiced/P-sound consonant mark is specified, each part of
character appears as a single character.
e.g.) When the word "バー" is specified, it will be written separately such as " ハ ", " ゙ ", " ー ".
[Valid Commands]
150
[ESC+kD] 40 x 40 dots Kanji in vertical line with 1-byte
character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying 40 x 40 (width x height) dots horizontal written kanji character print and W20 x H40 dots
half size character in vertical line.
[Format]
<kD>an...n
• Parameter
a [Kanji selection mode]
H: HEX characters
B: Binary code
I: HEX characters, smoothing function
C: Binary code, smoothing function
J: HEX characters, highlighting function
D: Binary code, highlighting function
K: HEX characters, smoothing and highlighting function
E: Binary code, smoothing and highlighting function
n [Data] = Print data. For the available character codes, refer to Kanji code (ESC+KC) command.
[Coding example]
Shift JIS HEX characters, Data: 株式会社サト-
<A>
<KC>1
<V>100<H>200<P>2<L>0305
<CC>0
<kD>H8A948EAE89EF8ED0BBC4B0
<Q>2
<Z>
[Supplementary Explanation]
• HEX characters = Chinese Code 4 bytes ASCII / 1 Chinese character (Ex.Shift JIS code)
• Binary code = Chinese Code 2 bytes / 1 Chinese character (Ex.Shift JIS code)
• Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
• Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
• Print result of two bytes under bar "_" is vertical line.
• Some JIS213 Kanji (JISX213) characters have values between U+10000 to U+10FFFF.
151
Both UTF-8 and UTF-16 encodings are supported. Characters are encoded as surrogate pairs
in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which
converts a surrogate pair to UTF-8.
[Notes]
• With the highlighting function, the character width enlarges proportional with the expansion
factor.
• Using the highlighting function, depending on the type of font, characters become squeezed.
• This command is not available for JIS code print data.
• For the half size character specification (1-byte character code), printing will be performed in
W20 x H40 dots.
• For the full size character specification (2-byte character code), printing will be performed in
W40 x H40 dots.
• When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese
(GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command
error.
[Attention]
• When half-sized character with voiced/P-sound consonant mark is specified, each part of
character appears as a single character.
e.g.) When the word "バー" is specified, it will be written separately such as " ハ ", " ゙ ", " ー ".
[Valid Commands]
152
[ESC+T1] 16 x 16 dots external font registration
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Registering 16 x 16 dots external fonts.
[Format]
<T1>abbn...n
• Parameter
a [Registration data selection]
H: Registration code in HEX character
B: Registration code in binary code
b [Registration font code address]
Using Kanji set <KS> command to set Japanese (01,2)
JIS code
H: Up to 95 registrations from "21" to "7F" is available.
B: Up to 95 registrations from 21H to 7FH is available.
Shift JIS code
H: Up to 95 registrations from "40" to "9E" is available.
B: Up to 95 registrations from 40H to 9EH is available.
Unicode (UTF-16, UTF-8)
H: Up to 95 registrations from "00" to "5E" is available.
B: Up to 95 registrations from 00H to 5EH is available.
Using Kanji set <KS> command to set other than Japanese
(3 (China Simplified Chinese), 5 (China Traditional Chinese), 6 (Korean))
GB18030, BIG5, KSC5601(EUC-KR) code
H: Up to 95 registrations from "21" to "7F" is available.
B: Up to 95 registrations from 21H to 7FH is available.
Unicode (UTF-8)
H: Up to 95 registrations from "00" to "5E" is available.
B: Up to 95 registrations from 00H to 5EH is available.
[Coding Example 1]
Registration data in JIS HEX character
<A>
<KS>0
<KC>0
<CC>0
<T1>H21
00FF..........FF00
<Z>
<A>
<KS>0
<KC>0
153
<CC>0
<V>100<H>200<K1>H9021
<Q>2
<Z>
[Coding Example 2]
Registration data in Shift JIS binary code.
<A>
<KS>0
<KC>1
<CC>0
<T1>B<40>16
<00FF..........FF00>16
<Z>
<A>
<KS>0
<KC>1
<CC>0
<V>100<H>200<K1>B<90>16<40>16
<Q>2
<Z>
[Coding Example 3]
Registration data in Unicode binary code.
<A>
<KS>0
<KC>2
<CC>0
<T1>B<00>16
<00FF..........FF00>16
<Z>
<A>
<KS>0
<KC>2
<CC>0
<V>100<H>200<K1>B<E0>16<00>16
<Q>2
<Z>
[Coding Example 4]
Register in the user registration memory.
<A>
<KS>0
<KC>1
<CC>1
<T1>B<40>16
<00FF..........FF00>16
<Z>
154
[Supplemental explanation]
• Registering 16 x 16 dots external fonts in the internal memory or user registration memory.
• The code to specify in the registration font code address needs to match the Kanji set (<KS>)
and Kanji code (<KC>).
• Overwriting registration data is available.
• The order of data registration is as follows.
• The data registered in the printer memory will be deleted at the power off. In this case, you need
to register the data again.
External character file [16 x 16]
16 dots
D1 D2 8 dots 8 dots
D3 D4 D1 D2
D3 D4
D5 D6
D5 D6
D7 D8
D9 D10
D31 D32 D11 D12
D13 D14
D15 D16 16 dots
D17 D18
D19 D20
D21 D22
D23 D24
D25 D26
D27 D28
D29 D30
D31 D32
When registering the external characters described above, D1 data becomes <01>16 and D2
data becomes <80>16 because D1 consists of [00000001], D2 consists of [10000000].
In the same manner, D3 is <03>16, D4 is <00>16, D5 is <3F>16, D6 is <FC>16, and the external
registration data will be <018003003FFC…..>16 up to D32.
[Point]
• The data registered in the user registration memory will be maintained after the power is off.
• You cannot use the internal memory in combination with the user registration memory.
• Specify the slot to register.
155
[ESC+T2] 24 x 24 dots external font registration
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Registering 24 x 24 dots external fonts.
[Format]
<T2>abbn...n
• Parameter
a [Registration data selection]
H: Registration code in HEX character
B: Registration code in binary code
b [Registration font code address]
Using Kanji set <KS> command to set Japanese (01,2)
JIS code
H: Up to 95 registrations from "21" to "7F" is available.
B: Up to 95 registrations from 21H to 7FH is available.
Shift JIS code
H: Up to 95 registrations from "40" to "9E" is available.
B: Up to 95 registrations from 40H to 9EH is available.
Unicode (UTF-16, UTF-8)
H: Up to 95 registrations from "00" to "5E" is available.
B: Up to 95 registrations from 00H to 5EH is available.
Using Kanji set <KS> command to set other than Japanese
(3 (China Simplified Chinese), 5 (China Traditional Chinese), 6 (Korean))
GB18030, BIG5, KSC5601(EUC-KR) code
H: Up to 95 registrations from "21" to "7F" is available.
B: Up to 95 registrations from 21H to 7FH is available.
Unicode (UTF-8)
H: Up to 95 registrations from "00" to "5E" is available.
B: Up to 95 registrations from 00H to 5EH is available.
[Coding Example 1]
Registration data in JIS HEX character
<A>
<KS>0
<KC>0
<CC>0
<T2>H21
00FF..........FF00
<Z>
<A>
<KS>0
<KC>0
156
<CC>0
<V>100<H>200<K1>H9021
<Q>2
<Z>
[Coding Example 2]
Registration data in Shift JIS binary code.
<A>
<KS>0
<KC>1
<CC>0
<T2>B<40>16
<00FF..........FF00>16
<Z>
<A>
<KS>0
<KC>1
<CC>0
<V>100<H>200<K1>B<90>16<40>16
<Q>2
<Z>
[Coding Example 3]
Registration data in Unicode binary code.
<A>
<KS>0
<KC>2
<CC>0
<T2>B<00>16
<00FF..........FF00>16
<Z>
<A>
<KS>0
<KC>2
<CC>0
<V>100<H>200<K1>B<E0>16<00>16
<Q>2
<Z>
[Coding Example 4]
Register in the user registration memory.
<A>
<KS>0
<KC>1
<CC>1
<T2>B<40>16
<00FF..........FF00>16
<Z>
157
[Supplemental explanation]
• Registering 24 x 24dots external fonts in the internal memory or user registration memory.
• The code to specify in the registration font code address needs to match the Kanji set (<KS>)
and Kanji code (<KC>).
• Overwriting registration data is available.
• The order of data output is as follows.
• The data registered in the printer memory will be deleted at the power off. In this case, you need
to register the data again.
D7 D8 D9 D2
D1 D3
D4 D6
D7 D9
D70 D71 D72 D10 D12
D13 D15
D16 D18
D19 D21
D22 D24
D25 D27 24 dots
D28 D30
D31 D33
D34 D36
D37 D39
D40 D42
D43 D45
D46 D48
D49 D51
D52 D54
D55 D57
D58 D60
D61 D63
D64 D66
D67 D69
D70 D72
D71
When registering the external characters described above, D1 data becomes <00>16, D2 data
becomes <3C>16 and D3 data becomes <00>16 because D1 consists of [00000000], D2 consists
of [00111100] and D3 consists of [00000000].
In the same manner, D4 becomes <00>16, D5 becomes <3C>16 and D6 becomes <00>16, and
the external registration data are specified to <003C00003C00…>16 and up to D72.
[Point]
• The data registered in the user registration memory will be maintained after the power is off.
• You cannot use the internal memory in combination with the user registration memory.
• Specify the slot to register.
158
[ESC+K1(K2)] Recall horizontal writing external character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Invoking horizontal external characters saved in the printer memory to print out.
[Format]
<K1>ab...b
<K2>ab...b
• Parameter
a [Kanji selection mode]
H: HEX character
B: Binary code
I: HEX character letters, smoothing function
C: Binary code, smoothing function
J: HEX character letters, highlight function
D: Binary code, highlight function
K: HEX character letters, smoothing and highlight function
E: Binary character letters, smoothing and highlight function
b [Registration code]
Using Kanji set <KS> command to set Japanese (0,1,2)
JIS code
H, I, J, K: "9021" to "907F"
B, C, D, E: 9021H to 907FH
Shift JIS code
H, I, J, K: "F040" to "F09E"
B, C, D, E: F040H to F09EH
Unicode (UTF-16)
H, I, J, K: "E000" to "E05E"
B, C, D, E: E000H to E05EH
Unicode (UTF-8)(UTF-16 E000 to E05E expressed in UTF-8)
H, I, J, K: "EE8080" to "EE819E"
B, C, D, E: EE8080H to EE819EH
Using Kanji set <KS> command to set other than Japanese
(3 (China Simplified Chinese), 5 (China Traditional Chinese), 6 (Korean))
GB18030, BIG5, KSC5601(EUC-KR) code
H, I, J, K: "8021" to "807F"
B, C, D, E: 8021H to 807FH
Unicode (UTF-8)(UTF-16 E000 to E05E expressed in UTF-8)
H, I, J, K: "EE8080" to "EE819E"
B, C, D, E: EE8080H to EE819EH
159
[Coding example 1]
Invokes 16 x 16 dots external character, Registration data in JIS HEX character
<A>
<KS>0
<KC>0
<T1>H21
00FF..........FF00
<Z>
<A>
<KS>0
<KC>0
<V>100<H>200<K1>H9021
<Q>2
<Z>
[Coding example 2]
Invokes 24 x 24 dots external character, Registration data in Shift JIS binary code
<A>
<KS>0
<KC>1
<T2>B<40>16
<00FF..........FF00>16
<Z>
<A>
<KS>0
<KC>1
<V>100<H>200<K2>B<F0>16<40>16
<Q>2
<Z>
[Coding example 3]
Invokes 16 x 16 dots external character, Registration data in Unicode character
<A>
<KS>0
<KC>2
<T1>H01
00FF..........FF00
<Z>
<A>
<KS>0
<KC>2
<V>100<H>200<K1>HE001
<Q>2
<Z>
[Supplemental explanation]
• If the print out is not performed properly, register the data again.
• You cannot call the external characters registered as JIS/Shift JIS character as Unicode, and
vice versa.
• Valid data of registration code vary according to the Kanji set command <KS>.
Parent topic Font command
160
[ESC+k1(k2)] Recall vertical writing external character
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Invoking vertical external characters registered in the printer memory to print out.
[Format]
<k1>ab...b
<k2>ab...b
• Parameter
a [Kanji selection mode]
H: HEX character
B: Binary code
I: HEX character letters, smoothing function
C: Binary code, smoothing function
J: HEX character letters, highlight function
D: Binary code, highlight function
K: HEX character letters, smoothing and highlight function
E: Binary character letters, smoothing and highlight function
b [Registration code]
Using Kanji set <KS> command to set Japanese (0,1,2)
JIS code
H, I, J, K: "9021" to "907F"
B, C, D, E: 9021H to 907FH
Shift JIS code
H, I, J, K: "F040" to "F09E"
B, C, D, E: F040H to F09EH
Unicode (UTF-16)
H, I, J, K: "E000" to "E05E"
B, C, D, E: E000H to E05EH
Unicode (UTF-8)(UTF-16 E000 to E05E expressed in UTF-8)
H, I, J, K: "EE8080" to "EE819E"
B, C, D, E: EE8080H to EE819EH
Using Kanji set <KS> command to set other than Japanese
(3 (China Simplified Chinese), 5 (China Traditional Chinese), 6 (Korean))
GB18030, BIG5, KSC5601(EUC-KR) code
H, I, J, K: "8021" to "807F"
B, C, D, E: 8021H to 807FH
Unicode (UTF-8)(UTF-16 E000 to E05E expressed in UTF-8)
H, I, J, K: "EE8080" to "EE819E"
B, C, D, E: EE8080H to EE819EH
161
[Coding example 1]
Invokes 16 x 16 dots external character, Registration data in JIS HEX character
<A>
<KS>0
<KC>0
<T1>H21
00FF..........FF00
<Z>
<A>
<KS>0
<KC>0
<V>100<H>200<k1>H9021
<Q>2
<Z>
[Coding example 2]
Invokes 24 x 24 dots external character, Registration data in Shift JIS binary code
<A>
<KS>0
<KC>1
<T2>B<40>16
<00FF..........FF00>16
<Z>
<A>
<KS>0
<KC>1
<V>100<H>200<k2>B<F0>16<40>16
<Q>2
<Z>
[Coding example 3]
Invokes 16 x 16 dots external character, Registration data in Unicode character
<A>
<KS>0
<KC>2
<T1>H01
00FF..........FF00
<Z>
<A>
<KS>0
<KC>2
<V>100<H>200<k1>HE001
<Q>2
<Z>
[Supplemental explanation]
• If the print out is not performed properly, register the data again.
• You cannot call the external characters registered as JIS/Shift JIS character as Unicode, and
vice versa.
• Valid data of registration code vary according to the Kanji set command <KS>.
Parent topic Font command
162
[ESC+PP] POP Font (Basic size 80 x 133 dots)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Font with the basic size of: width 80 dots, height 133 dots is specified.
[Format]
<PP>,an...n
• Parameter
a [Smoothing] = 0 : Smoothing disabled (Fixed)
n [Print data] = Data
[Coding example]
<A>
<V>100<H>200<P>2<L>0304<PP>,01234
<Q>2
<Z>
[Supplementary Explanation]
• POP font allows the setting of a fixed pitch or the setting of a proportional pitch.
• Font pitch (fixed/proportional) can be selected via command or LCD settings.
[Valid Commands]
163
POP font character set
Basic size is 80 x 133 dots (width x height)
2 3 4 5 6 7 8 9 A B C D E F
The print sample shown above is issued with a head density of 8 dots/mm.
Parent topic Font command
164
Barcode Command
In barcode specification, print of various barcodes, change of bar width ratio, and print of guard bar
or human-readable information can be performed by the specification (B, D, BD) after ESC.
The contents may vary depending on the specification. This and next page should be read closely
and followed.
Refer to the table below for the specification of B, D, and BD.
[Specification of Bar Width Ratio]
165
(3) Intercharacter gap
Intercharacter gap is the space between two adjacent barcode characters in a discrete barcode.
To specify and enable intercharacter gap, insert Character Pitch <P> right before barcode
specification such as <B>, <D> and <BD> or Print of Barcode with Registered Ratio <BW>. If not,
initial value (2 dots) will be set.
Intercharacter gap is designable for the following barcodes.
• CODABAR (NW-7)
• CODE39
• Industrial 2of5
• Matrix 2of5
Intercharacter gap is the multiplier of values specified with Character Pitch <P> and narrow bar
width.
e.g.)
When Character Pitch <P> is 3 and narrow bar width is 2 dots:
Intercharacter gap = 3 x 2 = 6 (dots)
166
(2) Specification of <D> (No HRI, Guard bar available)
If specifying <D>, following barcode will be printed.
direction
Label feed
Guard bar
[Note]
• HRI is printable specifying <Character Type> data subsequently to <D>.
• For more information, refer to Barcode Specification (Selection of HRI) <D>~<d>.
HRI(JAN/EAN 13)
direction
Label feed
HRI(JAN/EAN 8)
direction
Label feed
HRI(UPC-A)
[Important]
• In this case, barcode will not have specification such as Bar Width Ratio and HRI.
• HRI will not be printed when barcode is error for barcode with HRI.
167
(5) Composition of check digit
Refer to the table below for check digit in each barcode.
[Composition of C/D]
168
1) To print with Parallel 1 and Parallel 2, specify enlargement ratio of bar width so that narrow bar
gets at least 2 dots. ("L" indicates the enlargement ratio to the bar width ratio.)
Head density
8 dots/mm
UPC-A/EAN/JAN 2L or more
2) If printing in serial 1 or serial 2 mode, specify the bar width expansion factor so that when using a
8 dots/mm head the width of the narrow bar is at least 3 dots.
Head density
8 dots/mm
UPC-A/EAN/JAN 3L or more
Example of printing UPC-A (with HRI) exceeding the area of media size
Media size area
[ESC+B]
Barcode (Ratio 1:3)
[ESC+D]
Barcode (Ratio 1:2)
[ESC+D]
Barcode ~(with
[ESC+d]
HRI)
[ESC+BD]
Barcode (Ratio 2:5)
[ESC+BT]
Barcode Ratio Registration
[ESC+BW]
Barcode print by specified ratio
[ESC+BC]
CODE 93 Barcode
[ESC+BF]
UPC Add-on (Bookland)
[ESC+BG]
Code 128 Barcode
[ESC+BI]
GS1-128 (UCC/EAN128) (Standard Carton ID Only)
[ESC+BP]
Postnet
[ESC+BS]
USPS Barcode
[ESC+EU]
Composite symbol
[ESC+BL]
UPC-A Barcode (Without HRl)
[ESC+BL]
UPC-A Barcode
~ [ESC+d]
(Specifying HRl)
[ESC+BM]
UPC-A Barcode (With HRI)
169
[ESC+B] Barcode (Ratio 1:3)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifies a barcode with a ratio of 1:3 between narrow bar and wide bar.
[Format]
<B>abbcccn...n
• Parameter
a [Barcode type] = Refer to table below
b [Narrow bar width] = Valid range : 01 to 36 dots
c [Barcode height] = Valid range : 001 to 999 dots
n [Print data] = Data
Barcode types (Ratio of module composition may not be available depending on the barcode.)
170
a Barcode type Description Ratio
[Coding Example 1]
Barcode type: CODE39 Narrow bar width: 03 Height of barcode: 120 Print data: *1234AB*
<A>
<V>100<H>100<B>103120*1234AB*
<Q>2
<Z>
[Coding Example 2]
Barcode type: JAN-8 Narrow bar width: 02 Height of barcode: 080 Print data: 4912345
<A>
<V>100<H>100<B>4020804912345
<Q>2
<Z>
171
[Supplementary Explanation]
• The inter-character pitch of the barcode is valid at CODABAR (NW-7), CODE39, Industrial 2of5
and Matrix 2of5.
The barcode inter-character pitch is set by specifying the character pitch <P> immediately
before.
If not set, the inter-character pitch will be of the same size as a narrow space and will become
multiples of a narrow bar.
Command Ratio Narrow <P> Character pitch
space width specification
Narrow bar Narrow bar
width is [1] width is [2]
<P>0 1 2
<P>1 1 2
<P>2 2 4
<P>3 3 6
<P>4 4 8
• For print data of each barcode type, refer to the code tables of barcode.
[Notes]
• If the value other than valid range is set, command error will occur and barcode will not be
printed.
• Barcode will be printed even if the data exceed the printing area.
• Increasing narrow bar width may exceed the printing area.
• Scanner may not read the barcode with valid character pitch when Character Pitch <P> is
increased. Also, increasing the narrow bar width may cause the same type of problem. For
more information, refer to the documentation of your scanner.
• For specifying the narrow bar width, consider the reading compatibility of scanner and head
density beforehand.
◦ 203 dpi: 2 dots or more
• Adjust Print Speed <CS> or Print Darkness <#F> if there is a problem in barcode reading.
• Matrix 2of5 will be expressed as Coop2of5/NEC2of5.
• If Start/Stop character is not included in print data at the time of CODABAR (NW-7) or CODE39
specified, barcode will be printed; however, scanner cannot read it.
• If sending the print data including check digit at the time of JAN/EAN-13 or JAN/EAN-8
specified, set the correct calculated value. Barcode will be printed even when the data includes
improper check digit; however, scanner cannot read it.
Parent topic Barcode Command
172
[ESC+D] Barcode (Ratio 1:2)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifies a barcode with a ratio of 1:2 between narrow bar and wide bar.
[Format]
<D>abbcccn...n
• Parameter
a [Barcode type] = Refer to table below
b [Narrow bar width] = Valid range : 01 to 36 dots
c [Barcode height] = Valid range : 001 to 999 dots
n [Print data] = Data
Barcode types (Ratio of module composition may not be available depending on the barcode.)
173
a Barcode type Description Ratio
H UPC-A This barcode has no human-readable characters but guard bar. Fixed
For print data specifications, refer to table of UPC-A code.
[Coding Example 1]
Barcode type: CODABAR (NW-7), Narrow bar width: 03, Height of barcode: 120, Print data: A1234A
<A>
<V>100<H>100<D>003120A1234A
<Q>2
<Z>
[Coding Example 2]
Barcode type: ITF, Narrow bar width: 02, Height of barcode: 080, Print data: 98002345678163
<A>
<V>100<H>100<D>20208098002345678163
<Q>2
<Z>
[Coding Example 3]
Barcode type: UPC-A, Narrow bar width: 03, Height of barcode: 120, Print data: 20123948573
<A>
<V>240<H>100<D>H0312020123948573
<Q>2
<Z>
174
[Supplementary Explanation]
• The inter-character pitch of the barcode is valid at CODABAR (NW-7), CODE39, Industrial 2of5
and Matrix 2of5.
The barcode inter-character pitch is set by specifying the character pitch <P> immediately
before.
If not set, the inter-character pitch will be of the same size as a narrow space and will become
multiples of a narrow bar.
e.g.)
Command Ratio Narrow <P> Gap between characters
space width specification
Narrow bar Narrow bar
width is [1] width is [2]
<P>0 1 2
<P>1 1 2
<P>2 2 4
<P>3 3 6
<P>4 4 8
• For print data of each barcode type, refer to the code tables of barcode.
[Notes]
• If the value other than valid range is set, command error will occur and barcode will not be
printed.
• Barcode will be printed even if the data exceed the printing area.
• Increasing narrow bar width may exceed the printing area.
• Scanner may not read the barcode with valid character pitch when Character Pitch <P> is
increased. Also, increasing the narrow bar width may cause the same type of problem. For
more information, refer to the documentation of your scanner.
• For specifying the narrow bar width, consider the reading compatibility of scanner and head
density beforehand.
◦ 203 dpi: 2 dots or more
• Adjust Print Speed <CS> or Print Darkness <#F> if there is a problem in barcode reading.
• Matrix 2of5 will be expressed as Coop2of5/NEC2of5.
• If Start/Stop character is not included in print data at the time of CODABAR (NW-7) or CODE39
specified, barcode will be printed; however, scanner cannot read it.
• If sending the print data including check digit at the time of JAN/EAN-13 or JAN/EAN-8
specified, set the correct calculated value. Barcode will be printed even when the data includes
improper check digit; however, scanner cannot read it.
Parent topic Barcode Command
175
[ESC+D] ~ [ESC+d] Barcode (with HRI)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifies character type of human readable interpretation (HRI) for barcode.
[Format]
<D>abbcccn...n ~ <d>n...n
• Parameter
a [Barcode type]
3: JAN/EAN13
4: JAN/EAN8
H: UPC-A
b [Narrow bar width] = Valid range: 01 to 36 dots
c [Height of barcode] = Valid range: 001 to 999 dots
n [Print data] = Barcode data
d [Character type]
OA
OB
XU
XS
XM
XB
XL
U
S
M
WB
WL
X20
X21
X22
X23
X24
176
[Coding Example]
Barcode type: JAN/EAN13, Narrow bar width: 03, Barcode height: 120, Barcode data:
4902471000793, Character type: XU, HRI data: 4902471000793
<A>
<V>100<H>200<D>3031204902471000793
<XU>4902471000793
<Q>2
<Z>
[Supplementary Explanation]
• Adds HRI characters with specified font.
• When the data other than specified value is set, printing will not be performed. When barcode
enlargement ratio is small and character type is large, HRI text may be overlapped with each
other.
• Printer will lay out HRI properly.
• HRI for JAN/EAN8, JAN/EAN13, UPC-A will be printed properly in the conditions below.
For 203 dpi (8 dots/mm) : Appropriate Narrow bar width is [02], [03]
• HRI will not be printed when barcode is error for barcode with HRI.
• When specifying <P> and <L>, (<P>02<d>n...n, <L><d>n...n), HRI characters are not printed.
Parent topic Barcode Command
177
[ESC+BD] Barcode (Ratio 2:5)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifies a barcode with a ratio of 2:5 between narrow bar and wide bar.
[Format]
<BD>abbcccn...n
• Parameter
a [Barcode type] = Refer to the table below
b [Narrow bar width] = Valid Range : 01 to 36 dots
c [Height of barcode] = Valid Range : 001 to 999 dots
n [Print data] = data
Barcode types (Ratio of module composition may not be available depending on the barcode)
3 JAN/EAN13 This barcode has guard bars and human-readable characters. Fixed
For print data specifications, refer to table of JAN/EAN13 code.
4 JAN/EAN8 This barcode has guard bars and human-readable characters. Fixed
For print data specifications, refer to table of JAN/EAN8 code.
178
a Barcode type Descriptions Ratio
H UPC-A This barcode has human-readable characters and guard bar. Fixed
For print data specifications, refer to table of UPC-A code.
[Coding Example 1]
Barcode symbology: CODABAR (NW-7), Narrow bar width: 03, Height of barcode: 120, Print data:
A1234A
<A>
<V>100<H>100<BD>003120A1234A
<Q>2
<Z>
[Coding Example 2]
Barcode symbology: ITF, Narrow bar width: 03, Height of barcode: 120, Print data: 98002345678163
<A>
<V>100<H>100<BD>20212098002345678163
<Q>2
<Z>
[Coding Example 3]
Barcode symbology: UPC-A, Narrow bar width: 03, Height of barcode: 120, Print data: 20123948573
<A>
<V>240<H>100<BD>H0312020123948573
<Q>2
<Z>
179
[Supplementary Explanation]
• The inter-character pitch of the barcode is valid at CODABAR (NW-7), CODE39, Industrial 2of5
and Matrix 2of5. The barcode inter-character pitch is set by specifying the character pitch <P>
immediately before.
If not set, the inter-character pitch will be of the same size as a narrow space width.
Command Ratio Narrow <P> Inter-character gap
space width
Narrow bar Narrow bar
width: 1 width: 2
<P>0 2 4
<P>1 1 2
<P>2 2 4
<P>3 3 6
<P>4 4 8
• For print data of each barcode type, refer to the code tables of barcode.
• The barcode translation of following codes will be restricted to conditions below: JAN/EAN8,
JAN/EAN13, UPC-A
For 203 dpi (8 dots/mm) : Narrow bar width must be [02], [03]
HRI will not be printed if the value other than the listed above is specified.
[Notes]
• If the value other than valid range is set, command error will occur and barcode will not be
printed.
• Barcode will be printed even if the data exceed the printing area.
• Increasing narrow bar width may exceed the print area.
• Scanner may not read the barcode with valid character pitch when Character Pitch <P> is
increased. Also, increasing the narrow bar width may cause the same type of problem. For
more information, refer to the documentation of your scanner.
• For specifying the narrow bar width, consider the reading compatibility of scanner and head
density beforehand.
• Adjust Print Speed <CS> or Print Darkness <#F> if there is a problem in barcode reading.
• Matrix 2of5 will be expressed as Coop2of5/NEC2of5.
• If Start/Stop character is not included in print data at the time of CODABAR (NW-7) or CODE39
specified, barcode will be printed; however, scanner cannot read it.
• If sending the print data including check digit at the time of JAN/EAN-13 or JAN/EAN-8
specified, set the correct calculated value. Barcode will be printed even when the data includes
improper check digit; however, scanner cannot read it.
Parent topic Barcode Command
180
[ESC+BT] Barcode Ratio Registration
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifies the ratio of the narrow bar in regard to the wide bar.
[Format]
<BD>abbccddee
• Parameter
a [Barcode type]
0: CODABAR(NW-7)
1: CODE39
2: ITF
5: Industrial 2of5
6: Matrix 2of5 (Coop2of5, NEC2of5)
b [Narrow space] = Valid range : 01 to 99 dots
c [Wide space] = Valid range : 01 to 99 dots
d [Narrow bar] = Valid range : 01 to 99 dots
e [Wide bar] = Valid range : 01 to 99 dots
[Coding Example]
Barcode type: CODE39, Narrow space: 03, Wide space: 05, Narrow bar: 03, Wide bar: 05
<A>
<BT>103050305
<V>100<H>100<BW>01233*ABCD*
<Q>2
<Z>
[Supplementary Explanation]
• To print barcode with specified ratio, insert "Barcode print by specified ratio" command <BW>
after this command.
• When <BW> and the Print Quantity <Q> command are not specified, only the registration of bar
width ratio of narrow and wide bars will be performed.
• Only one ratio can be registered.
• If the data other than specified is set, this will not be registered due to command error.
• Matrix 2of5 is expressed as Coop2of5/NEC2of5.
Parent topic Barcode Command
181
[ESC+BW] Barcode print by specified ratio
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifies barcode ratio, saved by <BT>.
[Format]
<BW>aabbbn...n
• Parameter
a [Narrow bar] = Valid Range : 01 to 36 dot
b [Height of Barcode] = Valid Range : 001 to 999 dot
n [Print data] = Barcode data
[Coding Example]
Narrow bar: 02, Height of Barcode: 120
<A>
<BT>103060306
<V>100<H>200<BW>02120*ABCD*
<Q>2
<Z>
182
[Supplementary Explanation]
• Barcode character pitch is available for CODABAR (NW-7), CODE39, Industrial 2of5, Matrix
2of5.
To specify barcode character pitch, insert Character Pitch <P> right before Barcode type. When
<P> is omitted, character pitch will be as same as narrow space width and it is a multiple of
narrow bar width.
• Example)
<P>0 3 6
<P>1 1 2
<P>2 2 4
<P>3 3 6
<P>4 4 8
• If there is no Registration of Bar Width Ratio <BT>, barcode based on pre-registered bar
width ratio of narrow and wide bars will be printed. Note that specification of <BT> is required
beforehand to print.
• For print data for Barcode type, refer to Code table for each Barcode.
[Note]
• If the value other than valid range is set, command error will occur and barcode will not be
printed.
• Barcode will be printed even if the data exceed the printing area.
• Increasing narrow bar width may exceed the print area and not be printed.
• Scanner may not read the barcode with valid character pitch when Character Pitch <P> is
increased. Also, increasing the narrow bar width may cause the same type of problem. For
more information, refer to the documentation of your scanner.
• For specifying the narrow bar width, consider the reading compatibility of scanner beforehand.
• Adjust Print Speed <CS> or Print Darkness <#F> if there is a problem in barcode reading.
• Matrix 2of5 is expressed as Coop2of5/NEC2of5.
• When CODABAR (NW-7) and CODE39 is specified and Start/Stop character is not included in
it, Barcode is printed but Scanner cannot read it.
183
CODABAR (NW-7) Code table
• As a standard, 0x20 (SP) is not available, and no error will occur to printer and space will be
printed due to the specification.
• Characters which can be used as Start/Stop characters are [A, B, C, D, E, N, T, a, b, c, d, e, n, t,
*] in the code table.
• Characters [$, +, -, ., /, 0~9, :] can be used as print data.
184
CODE39 Code table
185
[ESC+BC] CODE 93 Barcode
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying CODE93 barcode.
[Format]
<BC>aabbbccn...n
• Parameter
a [Narrow bar] = Valid Range : 01 to 36 dots
b [Height of Barcode] = Valid Range : 001 to 999 dots
c [Digit No. of data] = Valid Range : 01 to 99
n [Print data] = Barcode data(Refer to the CODE93 – Code Table.)
[Coding Example]
Narrow bar width: 02, Barcode height: 120, Number of digit: 12, Print data: ABCD123456xy
<A>
<V>100<H>200<BC>0212012ABCD123456xy
<Q>2
<Z>
[Supplementary Explanation]
• C/D is an auto-generation.
• Start code and stop code will be automatically added.
• Maximum entry digit number of data is 99.
• [Digit No. of data] and No. of input data have to be equal.
• Command error will occur when No. of input data and [Digit No. of data] are not matched.
186
CODE93 Code table
187
[ESC+BF] UPC Add-on (Bookland)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying UPC Add-on code (Bookland).
[Format]
<BF>aabbbn...n
• Parameter
a [Narrow bar width] = Valid range : 01 to 36 dots
b [Height of barcode] = Valid range : 001 to 999 dots
n [Print data] = Numeric (0 to 9) : 2, 5 digits
[Coding Example]
Narrow bar width: 03, Barcode height: 120
<A>
<H>325<V>725<BD>H0315009827721123
<H>640<V>760<BF>0312021826
<H>655<V>730<OB>21826
<Q>1
<Z>
[Supplementary Explanation]
• If specifying the value other than 2 and 5 digits, barcode will not be printed.
• Only numeric can be specified as print data. (Refer to code table.)
• No HRI
• When printed only UPC add-on <BF>, it cannot be scanned.
Scan is available only when it is printed with UPS code.
188
UPC Add-on Barcode Code table
189
[ESC+BG] Code 128 Barcode
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying CODE128 barcode.
[Format]
<BG>aabbbn...n
• Parameter
a [Narrow bar] = Valid Range : 01 to 36 dots
b [Height of Barcode] = Valid Range : 001 to 999 dots
n [Print data] = Barcode data (Refer to the CODE128 – Code Table)
[Coding Example]
Narrow bar width: 02, Barcode height: 120, Print data: ABCD123456 (Start character A)
<A>
<V>100<H>200<BG>02120>GABCD123456
<Q>2
<Z>
[Supplementary Explanation]
• Specify [START CODE] at the head of print data.
◦ START CODE A = [>G]
◦ START CODE B = [>H]
◦ START CODE C = [>I]
• C/D is an auto-generation.
• About "START CODE";
◦ When using "START CODE C", specify print data in even-numbered digit.
◦ When "START CODE C" is set to print data in odd-number digit, specify "START CODE A"
or "B" to change the first one character of print data. And then specify the rest of data with
"Code Set Character C" to change it to even-numbered digit.
e.g.1) 15 digits [123456789012345] : <B>1<C>23456789012345
e.g.2) 9 digits / Alphanumeric 6 digits [123456789ABC123] : <C>12345678<B>9ABC123
◦ When odd digits are specified with START CODE C, the behavior changes depending on
printer settings.
190
▪ Prints with 0 (zero) added to the last digit of the print data when SBPL -> Compatible ->
CODE128(C) is enabled from menu.
▪ A command error will occur and the barcode will not be printed when SBPL->
Compatible -> CODE128(C) is disabled from menu.
◦ When start character is omitted, data will be printed with "START CODE B".
191
66 STX >” b 66
67 ETX ># c 67
68 EOT >$ d 68
69 ENQ >% e 69
70 ACK >& f 70
71 BEL >’ g 71
72 BS >( h 72
73 HT >) i 73
74 LF >* j 74
75 VT >+ k 75
76 FF >, l 76
77 CR >- m 77
78 SO >. n 78
79 SI >/ o 79
80 DLE >0 p 80
81 DC1 >1 q 81
82 DC2 >2 r 82
83 DC3 >3 s 83
84 DC4 >4 t 84
85 NAK >5 u 85
86 SYN >6 v 86
87 ETB >7 w 87
88 CAN >8 x 88
89 EM >9 y 89
SUB >: z
90 90
91 ESC >; { 91
92 FS >< | 92
93 GS >= } 93
94 RS >> ~ 94
95 US >? DEL >? 95
96 FNC3 >@ FNC3 >@ 96
97 FNC2 >A FNC2 >A 97
98 SHIFT >B SHIFT >B 98
99 Code-C >C Code-C >C 99
100 Code-B >D FNC4 >D Code-B >D
101 FNC4 >E Code-A >E Code-A >E
102 FNC1 >F FNC1 >F FNC1 >F
103 START CODE A >G
104 B >H
105 C >I
Note
• If START character (start code) is omitted, it works as code B, but 2-byte characters cannot be
specified.
• STOP character (stop code) is added in the printer automatically.
• Code after VALUE64 in Code A and Code B should be specified as 2 character code with ">"
attached.
• Specification code for ">" is ">J".
Parent topic Barcode Command
192
[ESC+BI] GS1-128 (UCC/EAN128) (Standard Carton ID Only)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying GS1-128 (UCC/EAN128) barcode for Standard Carton ID.
[Format]
<BI>aabbbcn...n
• Parameter
a [Narrow bar] = Valid Range : 01 to 36 dots
b [Height of Barcode] = Valid Range : 001 to 999 dots
c [Barcode expository font specification]
0: No HRI
1: HRI is available (Upper part of barcode)
2: HRI is available (Under part of barcode)
n [Print data] = Barcode data (Fixed 17 digits)
[Coding Example]
Narrow bar width:05, Height of barcode:080, HRI: Available (Under part of barcode), Print
data:12345678901234567
<A>
<V>100<H>200<BI>05080212345678901234567
<Q>2
<Z>
193
[Supplementary Explanation]
• UCC128 code is exclusive to Standard Carton ID. When printing in EAN128, designed for the
markets in the medical, fresh food, or flowers and plants, use CODE128 Barcode <BG> to
specify print data with application identification or separator that matches each specification.
• Start character code, function character, end character code, and identification code
(corresponds to [00] only) are added automatically.
• Modulus 10 check character and modulus 103 check character are automatically generated.
• Sequential number of barcode data is available.
• Line pitch between barcode and expository font is fixed at 10 dots.
• If the width of expository font is wider than that of barcode, it starts printing from the print start
position of barcode.
• If the width of expository font is narrower than that of barcode, expository font will be aligned to
the center of barcode for printing.
• Prints expository font in OCR-B.
• If expository font is outside of printing area, it will not be printed. When selecting [HRI is
available], specify Vertical Print Position <V> and Horizontal Print Position <H> in consideration
of print of expository font.
• If the bar code commentary font specification to specify other than 0, 1, 2, operation is the same
as the bar code commentary font specified 0.
194
ITF, Matrix 2of5, Industrial 2of5, UPC-A, JAN/EAN8, JAN/EAN13, UPC-E, GS1-128 (UCC/EAN128), MSI
Code table
195
[ESC+BP] Postnet
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying POSTNET barcode.
[Format]
<BP>n...n
• Parameter
n = Print data (Refer to the POSTNET Code Table)
Note that the digits other than specified below are not allowed.
- 5 digits (POSTNET-32 format)
- 6 digits (POSTNET-37 format)
- 9 digits (POSTNET-52 format)
- 11 digits (POSTNET-62 Delivery Point format)
[Coding Example]
Postal code: 11 digits: 01234567890
<A>
<V>100<H>200<BP>01234567890
<Q>2
<Z>
[Supplementary Explanation]
• If specifying the value other than 5, 6, 9, and 11 digits for print data, it will be ignored.
• Only numeric can be specified as print data.
196
POSTNET Code table
197
[ESC+BS] USPS Barcode
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Printing USPS code.
[Format]
<BS>aabbbccccccddddddddd(e...e)
• Parameter
a [Barcode ID] = Fixed 2 digits
note: 0 to 4 should be specified for the 2nd digit.
b [Service Type ID] = Fixed 3 digits
c [Mailer ID] = Fixed 6 digits
d [Serial Number] = Fixed 9 digits
e [Routing Code] = Fixed 5 digits or fixed 9 digits or fixed 11 digits(can be omitted)
[Coding Example]
Barcode ID: 53, Service Type ID: 379, Customer Identifier: 777234, Serial Number: 994544928,
Routing Code: 51135759461
<A>
<V>100<H>200<BS>5337977723499454492851135759461
<Q>1
<Z>
[Supplementary note]
• For available parameter, refer to USPS code table in next page.
198
USPS Code table
199
[ESC+EU] Composite symbol
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying the composite symbol of EAN/UCC.
[Format 1]
<EU>aabbccn...n
• Parameter
a [Type of composite symbol]
01 : GS1 DataBar Composite (CC-A/CC-B)
02 : GS1 DataBar Truncated Composite (CC-A/CC-B)
03 : GS1 DataBar Stacked Composite (CC-A/CC-B)
04 : GS1 DataBar Stacked Omni-Directional (CC-A/CC-B)
05 : GS1 DataBar Limited Composite (CC-A/CC-B)
06 : GS1 DataBar Expanded Composite (CC-A/CC-B)
/GS1 DataBar Expanded Stacked (CC-A/CC-B)
07 : UPC-A Composite (CC-A/CC-B)
08 : UPC-E Composite (CC-A/CC-B)
09 : EAN13 Composite (CC-A/CC-B)
10 : EAN8 Composite (CC-A/CC-B)
b [Narrow bar] = 01 to 12 dots
c [Segment width] = 02 to 22 (Even number only)
* Only GS1 DataBar Expanded Composite (CC-A/CC-B) are supported.
n [Print data] = Data
Maximum number of digit for 1D barcode data
GS1 DataBar Composite (CC-A/CC-B) 13 digits
200
◦ To specify the print of composite symbol, delimit one-dimensional data and two-dimensional
data with ‘|’ (7Ch).
Data = One-dimensional data | Two-dimensional data
◦ Data of GS1 DataBar Composite (CC-A/CC-B) are needed to be specified between the 1st
and 16th digit of GS1 DataBar Expanded Composite (CC-A/CC-B) data.
◦ GS1 DataBar Expanded Composite (CC-A/CC-B) can contain GS1 DataBar Composite
(CC-A/CC-B) data and 74 digits of numeric character and 41 digits of alphabet.
(When numeric characters and alphabets are mixed, GS1 DataBar Composite (CC-A/CC-
B) data and 41 digit characters can be specified.
Ex 1) AI(01)+Product ID code 4912345000019+AI(15)+ Best before date is set at 30/
Nov.2012:
(01)04912345000019(15)121130
Ex 2) AI(01)+Product ID code 4912345000019+AI(17)+Expiration date is set at 31/
Jan.2013+AI(10)+lot # ABC123:
(01)04912345000019(17)20130131(10)ABC123
◦ When specified data do not reach the maximum digits, blank is filled by zero.
◦ 2D data can contain up to 338 digits, but it varies by the type of Barcode.
◦ Barcode may stick out of the label depending on data and the number of digit, and scanner
cannot read it. Adjust print data beforehand so that the barcode can fit to the label.
◦ For UPC-A Composite, you can only specify 11 digits for data entry, however when 12 digits
is specified for the compatibility purpose, EAN13 Composite (CC-A/CC-B) is generated.
[Format 2]
<EU>aabbcccn...n
• Parameter
a [One-dimensional barcode type]
11 : GS1-128 Composite (CC-A/CC-B)
12 : GS1-128 Composite (CC-C)
b [Minimum bar width] = 01 to 12 dots
c [Barcode height] = 001 to 500 dots
* Specify barcode height when minimum bar width is "01".
* When specifying minimum bar width "03", Barcode height "100", Barcode height become 300 dots.
n [Print data] = Data (Up to 120 digits including 1D and 2D barcode)
Maximum number of digits that can specify by merging 1D and 2D (There is a limit for the
maximum number of digits of 1D data.)
GS1-128 (UCC/EAN128) with CC-A/B 338 digits
◦ To specify the print of composite symbol, delimit one-dimensional data and two-dimensional
data with‘|’(7CH).
Data = One-dimensional data | Two-dimensional data
◦ Use ‘#’(23H) to specify CC-A/B (Micro RDF), FNC1 (GS) of CC-C (for PDF417) as data.
◦ 2D data for GS1-128 (UCC/EAN128) With CC-A/B can contain up to 338 digits.
◦ Barcode part of GS1-128 Composite is GS1-128 (UCC/EAN128).
201
◦ When 2D data of GS1-128 (UCC/EAN128) with CC-A/B are less than 56 digits, it is
identified as CC-A, and identified as CC-B when data size is between 57 digits and 338
digits automatically.
◦ The number of digits varies depending on the width of the barcode in GS1-128 (UCC/
EAN128) With CC-C, and the maximum number of digits of combination of the 1D and 2D
is 2372 digits.
202
[Coding Example1]
GS1 DataBar Composite (CC-A/CC-B)
<A>
<V>100<H>100
<EU>01040361234567890|11990102
<Q>1
<Z>
[Coding Example2]
GS1 DataBar Truncated Composite (CC-A/CC-B)
<A>
<V>100<H>100
<EU>02040361234567890|11990102
<Q>1
<Z>
[Coding Example3]
GS1 DataBar Stacked Composite (CC-A/CC-B)
<A>
<V>100<H>100
<EU>03040341234567890|17010200
<Q>1
<Z>
[Coding Example4]
GS1 DataBar Stacked Omni-Directional (CC-A/CC-B)
<A>
<V>100<H>100
<EU>04040341234567890|17010200
<Q>1
<Z>
203
[Coding Example5]
GS1 DataBar Limited Composite (CC-A/CC-B)
<A>
<V>100<H>100
<EU>05040351234567890|21ABCDEFGHIJKLMNOPQRSTUV
<Q>1
<Z>
[Coding Example6]
GS1 DataBar Expanded Composite(CC-A/CC-B)
<A>
<V>100<H>100
<EU>0605220104912345678904
<Q>1
<Z>
[Coding Example7]
GS1 DataBar Expanded Stacked(CC-A/CC-B)
<A>
<V>100<H>100
<EU>0605020104912345678904
<Q>1
<Z>
[Coding Example8]
UPC-A Composite (CC-A/CC-B)
<A>
<V>100<H>100
<EU>0704331234567890|991234-abcd
<Q>1
<Z>
204
[Coding Example9]
UPC-E Composite (CC-A/CC-B)
<A>
<V>100<H>100
<EU>08041200000123|15021231
<Q>1
<Z>
[Coding Example10]
EAN13 Composite (CC-A/CC-B)
<A>
<V>100<H>100
<EU>0904331234567890|991234-abcd
<Q>1
<Z>
[Coding Example11]
EAN8 Composite (CC-A/CC-B)
<A>
<V>100<H>100
<EU>10041234567|21A12345678
<Q>1
<Z>
[Coding Example12]
GS1-128 Composite (CC-A/CC-B)
<A>
<V>100<H>100
<EU>11040260103212345678906|21A1B2C3D4E5F6G7H8
<Q>1
<Z>
205
[Coding Example13]
GS1-128 Composite (CC-C)
<A>
<V>100<H>100
<EU>120402600030123456789012340|02130123456789
093724#101234567ABCDEFG
<Q>1
<Z>
[Supplementary Explanation]
• Parameter varies depending on one-dimensional barcode type.
Segment width can be specified only for DataBar Expanded Composite (CC-A/CC-B) (EU06).
Barcode height can be specified only for GS1-128 (UCC/EAN-128) (EU11, EU12).
• If the value is not set to the data portion, composite symbol will not be printed.
• Parameter for print data is available up to 2361 digits including 1D barcode data and 2D
barcode data as a specification for this command. Available number for 2D barcode data varies
depending on the type of 1D barcode and/or mixture of alphabets and number. When specified
data exceed the maximum digits, barcode may not be printed properly.
• Entire size of composite symbol changes depending on the specification of narrow bar width.
• If composite symbol exceeds the printing area, only the portion located within the area will be
printed, and a scanner might read the value of such composite symbol occasionally.
• Height and width of 2D barcode of the composite symbol is adjusted by 1D barcode data size.
When the width of 1D barcode is narrow, it cannot be printed even the size of data is less than
the maximum number of digit.
• Print of HRI cannot be designated with this command.
• Rotation <%> is available, and Enlargement <L> is invalid.
• When specifying 11 (production date), 12 (term of payment), 13 (packing date), 15 (sales
period), 17 (warranty period) for application identifier, set correct data YYMMDD. When the
incorrect date is set, print result is not guaranteed.
• When specifying GS1 DataBar as a barcode type, specify 2D Barcode data with the format
based on application identifier.
• GS1 DataBar Expanded Composite (CC-A/CC-B) is stacked automatically by segment width
and data size and printed as GS1 DataBar Expanded Stacked (CC-A/CC-B).
• Barcode generation module has been modified for improvement. How the generated image
looks may differ due to the change, however the read result is the same.
206
Code table for Composite Symbol 2D Barcode
207
[ESC+BL] UPC-A Barcode (Without HRl)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Set the height of character barcode of the first digit and the last digit to the same height of the guard
bar.
[Format]
<BL>abbcccn...n
• Parameter
a [Barcode type] = H : UPC-A(Fixed ‘H’)
b [Narrow bar] = Valid Range : 01 to 36 dots
c [Height of Barcode] = Valid Range : 001 to 999 dots
n [Print data] = Data : 11 fixed digits
[Coding Example]
Barcode type: UPC-A, Narrow bar width: 03, Barcode height: 120, Print data: 01234567890
<A>
<H>100<V>100<BL>H0312001234567890
<Q>2
<Z>
208
[Supplementary Explanation]
• This command supports UPC-A only. When barcode type is specified other than "H", command
error occurs.
• Setting of Guard bar, HRI and ratio is described as follows.
Guard bar : Available
HRI : Nil
Ratio : Fix
• When the parameter value exceeds the range, operation is not supported.
• When printing UPC-A with <D>, all character barcodes have the same height. When <BL>
is used, the height of the character barcode of the start digit and the last digit have the same
height of the guard bar.
209
[ESC+BL] ~ [ESC+d] UPC-A Barcode (Specifying HRl)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Set the height of character barcode of the first digit and the last digit to the same height of the guard
bar.
[Format]
<BL>abbcccn...n ~ <d>n...n
• Parameter
a [Barcode type] = H : UPC-A (Fixed ‘H’)
b [Narrow bar] = Valid Range : 01 to 36 dots
c [Height of barcode] = Valid range : 001 to 999 dots
n [Print data] = Data : Fixed 11 digit
d [Font type]
OA
OB
XU
XS
XM
XB
XL
U
S
M
WB
WL
n [Print data] = HRI data : fixed 12 digits
[Coding Example]
Barcode type: UPC-A, Narrow bar width: 02. Barcode height: 120, Print data: 01234567890, Font
type: XS, HRI data: 01234567890
<A>
<V>100<H>100<BL>H0212001234567890
<XS>01234567890
<Q>2
<Z>
210
[Supplementary Explanation]
• This command supports UPC-A only. When barcode type is specified other than "H", command
error occurs.
• Recommended to specify [02] or [03] for the narrow bar width.
• Check digit (12th digit) for HRI data should be set the calculation result of modulus 10.
• Setting of Guard bar, HRI and Ratio is following.
Guard bar : Available
HRI : Available
Ratio : Fix
• When the parameter value exceeds the range, operation is not supported.
• If barcode with human readable text has errors, the human readable text is printed in a normal
font.
• All character barcode have the same height when printing UPC-A specifying <BD> and then
<font>. The first and the last character barcode have the same height to the guard bar when
printing UPC-A specifying <BL> and then <font>. When printing UPC-A specifying <BD> and
<font>, HRI can be printed under the first digit and the last digit because the height of the
first digit and the last digit of the barcode is low. When printing UPC-A specifying <BM> and
<font>, the height of the first digit and the last digit of the barcode is high, and the font interval is
narrower than previous case.
Guide bar Guide bar
211
[ESC+BM] UPC-A Barcode (With HRI)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Set the character barcode height of the first and the last digit to the same height of the guard bar.
[Format 1]
<BM>abbcccn...n
• Parameter
a [barcode type] = H : UPC-A( fixed ‘H’)
b [Narrow bar] = Valid Range : 01 to 36 dots
c [Height of Barcode] = Valid Range : 001 to 999 dots
n [Print data] = Data : fixed 11 digits
[Coding Example]
Barcode type:UPC-A, Narrow bar width:02, Barcode height :120, Print data: 20123948573
<A>
<H>100<V>100<BM>H0212020123948573
<Q>2
<Z>
212
[Supplementary Explanation]
• This command supports UPC-A only. When barcode type is specified other than "H", command
error occurs.
• HRI needs following conditions;
203 dpi (8 dots /mm) : Set Narrow bar width to [02] or [03]
When the value other than above are specified, HRI is not printed.
• Setting of Guard bar, HRI and Ratio is following.
Guard bar : Available
HRI : Available
Ratio : Fix
• When the parameter value exceeds the range, operation is not supported.
• All character barcode have the same height when printing UPC-A specifying <D> and then
<font>. The first and the last character barcode have the same height to the guard bar when
printing UPC-A specifying <BL> and then <font>. When printing UPC-A specifying <D> and
<font>, HRI can be printed under the first digit and the last digit because the height of the
first digit and the last digit of the barcode is low. When printing UPC-A specifying <BL> and
<font>, the height of the first digit and the last digit of the barcode is high, and the font interval is
narrower than previous case.
Guide bar Guide bar
213
2D Code
[ESC+2D10]
PDF417
[ESC+2D12]
Micro PDF417
[ESC+2D20]
MaxiCode
[ESC+2D30]
QR Code (Model 2)
[ESC+2D31]
QR Code (Model 1)
[ESC+2D32]
Micro QR Code
[ESC+2D50]
DataMatrix (ECC200)
[ESC+2D51]
GS1 DataMatrix
[ESC+2D70]
Aztec Code
[ESC+BQ]
QR Code (Compatible command)
[ESC+BV]
MaxiCode (Compatible command)
[ESC+BK]
PDF417 (Compatible command)
[ESC+BX]
DataMatrix (ECC200) (Compatible command)
[ESC+DC]
DataMatrix (ECC200) Data Specify (Compatible command)
[ESC+FX]
DataMatrix (ECC200) Sequential Number (Compatible command)
[ESC+QV]
QR code version
[ESC+2D10] PDF417
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying PDF417.
[Format](Setting part)
<2D10>,aa,bb,c,dd,ee(,f)
• Parameter
a [Minimum module width] = Valid Range : 01 to 27 dots
b [Minimum module height] = Valid Range : 01 to 72 dots
c [Security level] = Valid Range : 0 to 8
d [Number of data code words per one line]
Valid Range : 01 to 30
00 : Automatic (Width varies depending on number of data)
e [Number of line per symbol]
Valid Range : 03 to 90
00 : Automatic (Height varies depending on number of data)
f [Code type]
0 : Normal, When omitted 0(can be omitted)
1 : Truncated
[Format](Data part)
<DN>mmmm,n...n
• Parameter
m [Number of data] = Valid Range : 1 to 2681 bytes
n [Print data] = Data
214
[Coding Example1]
Minimum module width: 03 dots, Minimum module height: 09 dots, Security level: 3, Number of data
code words per line: 03, Number of line per symbol: 18
<A>
<V>100<H>200<2D10>,03,09,3,03,18
<DN>0010,0123456789
<Q>2
<Z>
[Coding Example 2]
Minimum module width: 03 dots, Minimum module height: 09 dots, Security level: 3, Number of data
code words per line: 03, Number of line per symbol: 18, Code type: Truncated
<A>
<V>100<H>200<2D10>,03,09,3,03,18,1
<DN>0010,0123456789
<Q>2
<Z>
[Supplementary Explanation]
• Base print position of PDF417 is specified by vertical print position <V> and horizontal print
position <H>
<V>100<H>200<2D10>***. . . . . . **
• When d=e=00, aspect ratio will be at 1:2 based on the number of print data.
• When parameter d and e does not match number of data, print may not be performed properly.
• When setting security level high, parameter d or e should have large number.
• Recommended to specify more than 2 dots for 8 dots/mm print head because the minimum
module width and minimum module height of QR code may not be read by the scanner.
• Barcode generation module has been modified for improvement. How the generated image
looks may differ due to the change, however the read result is the same.
[point]
• Sequential number is not available.
• Specifying print position by automatic line feed is not available.
• Print 00H to FFH is available.
215
• Format registration is available.
• Enlarging minimum module size improves print quality.
• Increasing security level improves read rate.
• Print height varies depending on the character such as numeric only, alphabet only or mixture of
numeric and alphabets.
216
[ESC+2D12] Micro PDF417
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying Micro PDF417.
[Format](Setting part)
<2D12>,aa,bb,c,dd(,e)
• Parameter
a [Minimum module width] = Valid Range : 01 to 27 dots
b [Minimum module height] = Valid Range : 01 to 72 dots
c [Number of data code words per row] (Cols) = Valid Range : 1 to 4
d [Number of rows per symbol] (Rows) = Valid Range : 2 rows
e [Binary mode]
0 : Normal, When omitted 0 (Can be omitted)
1 : Binary mode
[Format](Data part)
<DN>mmmm,n...n : Binary mode is Binary mode
<DS>n...n : Binary mode is Normal
• Parameter
m [Number of data] = Valid Range : 0001 to 0366 bytes
n [Print data] = Data
[Coding Example]
Module width: 02 dots, Minimum module height: 04 dots, Data code word per row: 1, Rows per
symbol: 14
<A>
<V>100<H>200<2D12>,02,04,1,14
<DN>0010,0123456789
<Q>2
<Z>
217
[Supplementary Explanation]
• Number of row per symbol is decided by number of data code words per row.
For details, refer to "Micro PDF417 – symbol size and number of data" below.
• Recommended to specify more than 2 dots for 8 dots/mm print head because the minimum
module width and minimum module height of QR code may not be read by the scanner.
• Barcode generation module has been modified for improvement. How the generated image
looks may differ due to the change, however the read result is the same.
Symbol size of Micro PDF417 has 34 types and shown in the table below.
• Micro PDF417 – symbol size and number of data
1 11 6 8 3
14 12 17 7
17 18 26 10
20 22 32 13
24 30 44 18
28 38 55 22
2 8 14 20 8
11 24 35 14
14 36 52 21
17 46 67 27
20 56 82 33
23 64 93 38
26 72 105 43
3 6 10 14 6
8 18 26 10
10 26 38 15
12 34 49 20
15 46 67 27
20 66 96 39
26 90 132 54
32 114 167 68
38 138 202 82
44 162 237 97
4 4 14 20 8
6 22 32 13
8 34 49 20
218
Symbol size Maximum number of data
10 46 67 27
12 58 85 34
15 76 111 45
20 106 155 63
26 142 208 85
• Way of mixing alphabets (Capital, lower case), numeric characters and control codes differs by
combination of number of characters.
Micro PDF417 can specify (00)16 to (FF)16 to print data when binary mode is specified.
Parent topic 2D Code
219
[ESC+2D20] MaxiCode
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying MaxiCode.
[Format](Setting part)
<2D20>,a(,bbb,ccc,d...d)
• Parameter
a [Mode]
2 : Transportation (Numeric)
3 : Transportation (Alphanumeric)
4 : Standard symbol
6 : Reader programing
* Following parameter must be specified when specifying mode 2 or mode 3.
When specifying mode 4 or mode 6, the parameter should be omitted.
b [Service class] = Valid Range : 001 to 999 (Numeric)
c [Country code] = Valid Range : 001 to 999 (Numeric)
d [Postal code] = Valid Range : 0 to 999999999 (Mode 2)
000000 to 999999 (Mode 3)
* Mode 2: Max 9 digits (Numeric only)
Mode 3: Fixed 6 digits (Capital alphabet)
[Format](Data part)
<DN>mmmm,n...n
• Parameter
m [Number of Data] = Valid Range : 1 to 138
n [Print data] = Data
* 00H cannot be specified.
Mode Service class Country code Postal code Maximum print data
4 Omission 138 93
220
[Coding Example]
Mode: Transportation (Numeric only), Service class: 003, Country code: 081, Postal code:
123456789
<A>
<V>100<H>200<2D20>,2,003,081,123456789
<DN>0010,0123456789
<Q>2
<Z>
[Supplementary Explanation]
• Size of MaxiCode are not changed by number of data for printing.
• If parameter that is not described above is used, or number of print data does not match,
symbol is not printed.
• When specifying mode 4 and mode 6, number of print data must be specified over 12. When
number of print data is specified less than 11, scanner cannot read printed MaxiCode.
• The maximum number of print data varies depending on the print data combination when using
the print data other than alphanumeric code.
• Barcode generation module has been modified for improvement. How the generated image
looks may differ due to the change, however the read result is the same.
221
MaxiCode Code table
222
[ESC+2D30] QR Code (Model 2)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying QR Code (Model 2).
d [Concatenation mode]
0 : Normal mode
1 : Concatenation mode
Following parameter must be specified when specifying 1 (Concatenation mode) in Concatenation mode.
Omit following parameter in normal mode.
e [Number of partitions of concatenation mode] = Valid Range : 01 to 16
* Number of partitions: Specifying how many QR code are to be concatenated divided by
Concatenation mode.
223
k [Input mode]
1 : Numeric mode
2 : Alphanumeric mode
3 : Kanji mode (Shift JIS Kanji)
* Specify only when specifying Manual setup in Data setting mode.
* There is binary specification other than above, but data specification command is different.
[Format] (Version)
<QV>pp : Use when specifying the version.
• Parameter
pp [Version] = 00 to 40 (MODEL2)
* Use when fix the size of QR symbol by specifying the version. When not specified, it will be
specified automatically. It will be Auto when specifying 00. The parameter error does not arise
in the range from 00 to 40.
* Refer to [QR code version command] for details.
[Supplementary Explanation1]
• When specifying Kanji in <DN>, specify size that is 2 X number of Kanji characters.
• 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.
[Coding Example1]
Error correction level: 7%, Size of one side of cell: 05, Data setup mode: Manual setup,
Concatenation mode: Normal
<A>
<V>100<H>200<2D30>,L,05,0,0
<DS>1,012345
<Q>2
<Z>
[Supplementary Explanation2]
• If the parameter other than the description is specified or number of print data does not match,
printing is not performed.
• Data specification command in data part varies according to parameter setup or specified data.
[Coding Example2]
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).
<A>
<V>100<H>200
<2D30>,L,04,0,0
<DS>3,SATO
<DN>0010,0123456789
<DS>1,123
224
<Q>1
<Z>
[Supplementary Explanation3]
• 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.
• Total number of data (n) need to be less than 7000 bytes. Maximum number of blocks in data
part specified in a row is 200.
[Coding Example 3]
Error correction level: 7%, Size of one side of cell: 05, Data setup mode: Manual setup,
Concatenation mode: Normal, Version 5
<A>
<V>100<H>200<2D30>,L,05,0,0
<QV>5
<DS>1,012345
<DN>0004,6789
<Q>1
<Z>
[Supplementary Explanation4]
• Specify <QV> command between <2Dxx> and <DN>/<DS>.
• When resulted in a parameter error, it will be handled in the same manner of no specification.
• It does not become a parameter error from 00 to 40 (Set the value within the range
corresponding to each model).
For MODEL2, the setting range is from 00 to 40.
• Sending the data exceeding the data size of specified version will result in error and QR code is
not printed.
225
QR Code data size list (Model 2)
Version Error Numeric Alpha- Kanji Binary Version Error Numeric Alpha- Kanji Binary
Correction Numeric Correction Numeric
226
Version Error Numeric Alpha- Kanji Binary Version Error Numeric Alpha- Kanji Binary
Correction Numeric Correction Numeric
21 L 2232 1352 572 929 31 L 4417 2677 1132 1840
M 1708 1035 438 711 M 3486 2113 894 1452
101×101 Q 1224 742 314 509 141×141 Q 2473 1499 634 1030
H 969 587 248 403 H 1897 1150 486 790
22 L 2409 1460 618 1003 32 L 4686 2840 1201 1952
M 1872 1134 480 779 M 3693 2238 947 1538
105×105 Q 1358 823 348 565 145×145 Q 2670 1618 684 1112
H 1056 640 270 439 H 2022 1226 518 842
23 L 2620 1588 672 1091 33 L 4965 3009 1273 2068
M 2059 1248 528 857 M 3909 2369 1002 1628
109×109 Q 1468 890 376 611 149×149 Q 2805 1700 719 1168
H 1108 672 284 461 H 2157 1307 553 898
24 L 2812 1704 721 1171 34 L 5253 3183 1347 2188
M 2188 1326 561 911 M 4134 2506 1060 1722
113×113 Q 1588 963 407 661 153×153 Q 2949 1787 756 1228
H 1228 744 315 511 H 2301 1394 590 958
25 L 3057 1853 784 1273 35 L 5529 3351 1417 2303
M 2395 1451 614 997 M 4343 2632 1113 1809
117×117 Q 1718 1041 440 715 157×157 Q 3081 1867 790 1283
H 1286 779 330 535 H 2361 1431 605 983
26 L 3283 1990 842 1367 36 L 5836 3537 1496 2431
M 2544 1542 652 1059 M 4588 2780 1176 1911
121×121 Q 1804 1094 462 751 161×161 Q 3244 1966 832 1351
H 1425 864 365 593 H 2524 1530 647 1051
27 L 3517 2132 902 1465 37 L 6153 3729 1577 2563
M 2701 1637 692 1125 M 4775 2894 1224 1989
125×125 Q 1933 1172 496 805 165×165 Q 3417 2071 876 1423
H 1501 910 385 625 H 2625 1591 673 1093
28 L 3669 2223 940 1528 38 L 6479 3927 1661 2699
M 2857 1732 732 1190 M 5039 3054 1292 2099
129×129 Q 2085 1263 534 868 169×169 Q 3599 2181 923 1499
H 1581 958 405 658 H 2735 1658 701 1139
29 L 3909 2369 1002 1628 39 L 6743 4087 1729 2809
M 3035 1839 778 1264 M 5313 3220 1362 2213
133×133 Q 2181 1322 559 908 173×173 Q 3791 2298 972 1579
H 1677 1016 430 698 H 2927 1774 750 1219
30 L 4158 2520 1066 1732 40 L 7089 4296 1817 2953
M 3289 1994 843 1370 M 5596 3391 1435 2331
137×137 Q 2358 1429 604 982 177×177 Q 3993 2420 1024 1663
H 1782 1080 457 742 H 3057 1852 784 1273
Parent topic 2D Code
227
[ESC+2D31] QR Code (Model 1)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within item The set parameter becomes invalid.
[Function]
Specifying QR Code (Model 1).
d [Concatenation mode]
0 : Normal mode
1 : Concatenation mode
Following parameter must be specified when specifying 1 (Concatenation mode) in Concatenation mode.
Omit following parameter in normal mode.
e [Number of partitions of concatenation mode] = Valid Range : 01 to 16
* Number of partitions: Specifying how many QR code are to be concatenated divided by
Concatenation mode.
228
[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)
* Specify only when specifying Manual setup in Data setting mode.
* There is binary specification other than above, but data specification command is different.
[Format] (version)
<QV>pp : Specify when specifying the version.
• Parameter
pp [Version] = 00 to 14 (MODEL1)
* 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 does not become a parameter error from 00 to 40.
* See [QR code version command] for details.
[Supplementary Explanation1]
• When specifying Kanji in <DN>, specify size that is 2 x number of Kanji characters.
• 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.
[Coding Example1]
Error correction level: 7%, Size of one side of cell: 05, Data setup mode: Manual setup,
Concatenation mode: Normal
<A>
<V>100<H>200<2D31>,L,05,0,0
<DS>1,012345
<Q>2
<Z>
[Supplementary Explanation2]
• If the parameter other than the description is specified or number of print data does not match,
printing is not performed.
• Data specification command in data part varies according to parameter setup or specified data.
229
[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).
<A>
<V>100<H>200
<2D31>,L,04,0,0
<DS>3,SATO
<DN>0010,0123456789
<DS>1,123
<Q>1
<Z>
[Supplementary Explanation3]
• Parameter part to be followed by Data part. Data part and data part should be specified in a row.
When do not specify in a row, print result may not be secured.
[Coding Example 3]
Error correction level: 7%, Size of one side of cell: 05, Data setup mode: Manual setup,
Concatenation mode: Normal, Version 5
<A>
<V>100<H>200<2D31>,L,05,0,0
<QV>5
<DS>1,012345
<DN>0004,6789
<Q>1
<Z>
[Supplementary Explanation4]
• Specify <QV> command between <2Dxx> and <DN>/<DS>.
• When resulted in a parameter error, it will be handled in the same manner of no specification.
• It does not become a parameter error from 00 to 40 (Set the value within the range
corresponding to each model).
Setting range(MODEL1): 00 to 14
• Sending the data exceeding the data size of specified version will result in error and QR code is
not printed.
230
QR Code data size list (Model 1)
231
[ESC+2D32] Micro QR Code
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying QR Code (Micro QR Code).
232
[Format] (version)
<QV>pp : Specify when specifying the version.
• Parameter
pp [Version] = 00 to 04 (MicroQR 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 does not become a parameter error from 00 to 40.
* See [QR code version command] for details.
[Supplementary Explanation1]
• When specifying Kanji in <DN>, specify size that is 2 x number of Kanji characters.
• 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.
[Coding Example1]
Error correction level :7%, Size of one side of cell:04
<A>
<V>100<H>200<2D32>,L,04,0
<DS>1,012345
<Q>2
<Z>
[Supplementary Explanation2]
• If the parameter other than the description is specified or number of print data does not match,
printing is not performed.
• Data specification command in data part varies according to parameter setup or specified data.
[Coding Example2]
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,SATO
<DN>0010,0123456789
<DS>1,123
<Q>1
<Z>
233
[Supplementary Explanation3]
• Parameter part to be followed by Data part. Data part and data part should be specified in a row.
When do not specify in a row, print result may not be secured.
Micro QR Code Data size list
Version Error correction Numeric Alphanumeric Kanji Binary
M2 (13x13) L 10 6 - -
M 8 5 - -
M3 (15x15) L 23 14 6 9
M 18 11 4 7
M4 (17x17) L 35 21 9 15
M 30 18 8 13
Q 21 13 5 9
[Coding Example 3]
Error correction level: 7%, Size of one side of cell: 05, Data setup mode: Manual setup,
Concatenation 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>
[Supplementary Explanation4]
• Specify <QV> command between <2Dxx> and <DN>/<DS>.
• When resulted in a parameter error, it will be handled in the same manner of no specification.
• It does not become a parameter error from 00 to 40 (Set the value within the range
corresponding to each model).
For MicroQR, the setting range is from 00 to 04.
• Sending the data exceeding the data size of specified version will result in error and QR code is
not printed.
Parent topic 2D Code
234
[ESC+2D50] DataMatrix (ECC200)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying DataMatrix Code (ECC200).
[Coding Example]
Horizontal cell size: 3 dots, Vertical cell size: 3 dots
<A>
<V>100<H>200<2D50>,03,03,000,000
<DN>0010,0123456789
<Z>
235
[Supplementary Explanation]
• If Parameter other than above is specified or print data do not match, printing is not performed.
• When specifying print format, secure more than 2 mm blank space in four sides of the
DataMatrix for read margin for the scanner.
• When print data is 7EH, specify "7EH, 7EH". Number of data will be "0002".
• When Auto setup (000) is applied for [Number of cell in one row] and [Number of cell lines] ,
square DataMatrix is printed.
• The number of addressable data at data part is depending on data format. Following chart
shows the number of addressable data (When the number of cell is set automatically or the
maximum number of cell is specified).
Alphanumeric 2335
• It is likely that symbol cannot be read by reducing the size of cell, which depends on the
performance of scanner. In this case, it is required to specify the size of cell which is large
enough for reading symbol.
236
* Symbol size of DataMatrix (ECC200) is following 30 types.
Symbol size and number of data of DataMatrix(ECC200)
10 10 1 6 3 1
Square
12 12 1 10 6 3
14 14 1 16 10 6
16 16 1 24 16 10
18 18 1 36 25 16
20 20 1 44 31 20
22 22 1 60 43 28
24 24 1 72 52 34
26 26 1 88 64 42
32 32 4 124 91 60
36 36 4 172 127 84
40 40 4 228 169 112
44 44 4 288 214 142
48 48 4 348 259 172
52 52 4 408 304 202
64 64 16 560 418 278
72 72 16 736 550 366
80 80 16 912 682 454
88 88 16 1152 862 574
96 96 16 1392 1042 694
104 104 16 1632 1222 814
120 120 36 2100 1573 1048
132 132 36 2608 1954 1302
144 144 36 3116 2335 1556
18 8 1 10 6 3
Rectangle
32 8 2 20 13 8
26 12 1 32 22 14
36 12 2 44 31 20
36 16 2 64 46 30
48 16 2 98 72 47
* Mixture of Numeric, Alphanumeric and Control code varies according to number of characters.
237
DataMatrix Code table
238
[ESC+2D51] GS1 DataMatrix
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying GS1 DataMatrix Code.
[Coding Example]
Horizontal cell size: 3 dots, Vertical cell size: 3 dots
<A>
<V>100<H>200<2D51>,03,03,000,000
<DN>0014, <1B>161100123456789
<Q>2
<Z>
239
[Supplementary Explanation]
• If Parameter other than above is specified or print data do not match, printing is not performed.
• When specifying print format, secure more than 2 mm blank space in four sides of the
DataMatrix for read margin for the scanner.
• When print data is 7EH, specify [7EH, 7EH]. Number of data will be "0002".
• When [7EH] is specified solely, the command error occurs and the code will not be printed.
• When print data is 1BH, specify [1BH, 1BH]. Number of data will be "0002".
• When print data is FNC1, specify [1BH, 31H]. Number of data will be "0002".
• When [1BH] is specified solely, printing and the content of printing will not be guaranteed.
• When Auto setup (000) is applied for [Number of cell in one row] and [Number of cell lines],
square DataMatrix is printed.
• When the same value other than 000 is specified (manual setting) in the "number of cell in one
row" and "number of cell lines", square DataMatrix will be printed.
• When different value other than 000 is specified (manual setting) in the "number of cell in one
row" and "number of cell lines", rectangle DataMatrix will be printed.
• The number of data can be specified in the data part depends on the data format. Available data
number is as follows.
(Number of cell is auto setting or the maximum cell number is specified):
Data format Number of data
Alphanumeric 2335
• The symbol may not be read by a scanner when the cell size is smaller. In the above case,
specify enough cell size for the scanner.
• The symbol size available in the GS1 DataMatrix is limited to the 30 types in the below table.
Also, the maximum number of data is limited depending on the symbol size. Refer to the "The
maximum digit of the number of data" table.
• Make sure to specify 1BH and 31H at the beginning of the data.
240
Symbol size and number of data of GS1 DataMatrix.
12 12 1 10 6 3
14 14 1 16 10 6
16 16 1 24 16 10
18 18 1 36 25 16
20 20 1 44 31 20
22 22 1 60 43 28
24 24 1 72 52 34
26 26 1 88 64 42
32 32 4 124 91 60
36 36 4 172 127 84
40 40 4 228 169 112
44 44 4 288 214 142
48 48 4 348 259 172
52 52 4 408 304 202
64 64 16 560 418 278
72 72 16 736 550 366
80 80 16 912 682 454
88 88 16 1152 862 574
96 96 16 1392 1042 694
104 104 16 1632 1222 814
120 120 36 2100 1573 1048
132 132 36 2608 1954 1302
144 144 36 3116 2335 1556
18 8 1 10 6 3
Rectangle
32 8 2 20 13 8
26 12 1 32 22 14
36 12 2 44 31 20
36 16 2 64 46 30
48 16 2 98 72 47
* Mixture of Numeric, Alphanumeric and Control code varies according to number of characters.
241
GS1 DataMatrix Code table
S I S O
B8 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
B7 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
B6 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
B5 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
B4 B3 B2 B1 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 0 0 0 0 SP 0 @ P ` p
0 0 0 1 1 ! 1 A Q a q
0 0 1 0 2 ” 2 B R b r
0 0 1 1 3 # 3 C S c s
0 1 0 0 4 $ 4 D T d t
0 1 0 1 5 % 5 E U e u
0 1 1 0 6 & 6 F V f v
0 1 1 1 7 ’ 7 G W g w
1 0 0 0 8 ( 8 H X h x
1 0 0 1 9 ) 9 I Y i y
1 0 1 0 A * : J Z j z
1 0 1 1 B + ; K [ k {
1 1 0 0 C , < L ¥ l |
1 1 0 1 D - = M ] m }
1 1 1 0 E . > N ^ n ~
1 1 1 1 F / ? O _ o DEL
242
When print data is 1BH, specify [1BH, 1BH].
When specifying FNC1, specify [1BH, 31H].
Parent topic 2D Code
243
[ESC+2D70] Aztec Code
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifies Aztec Code.
244
[Coding Example]
Symbol Type: Compact, ECC Percentage: Default, Symbol Size: 2 layer, Structured Append:
Without append, Message ID: No, Message ID for structured bound symbol: None, Barcode Data:
THIS IS TEST.
<A>
<V>0100<H>0100<L>0404
<2D70>,1,0,2,0,N,<DS>THIS IS TEST
<Q>1
<Z>
• Generated Label
[Notes]
• When parameters other than the description are specified, symbol may not print.
• When the size of the Aztec code is small, the symbol might not be able to read according to
the performance of the scanner. In that case, please magnify the size of the symbol to make it
large enough by using <ESC>+L command maintaining the same ratio of magnification for both
length and width.
• The smallest symbol size is 15x15 modules and largest is 151x151 modules. Available Aztec
code formats and its maximum capacity are as follows:
Symbol size table
Parameter c Format Digit Text Binary data
1 15x15 Compact 13 12 6
2 19x19 Compact 40 33 19
3 23X23 Compact 70 57 33
245
Parameter c Format Digit Text Binary data
• Aztec code is settable within the range (00H – FFH). For Binary data, user needs to set the data
number properly by using the <ESC>DN command. If Data number and Print data does not
match, symbol will not print properly.
• When print data is [1BH], specify [1BH,1BH]. Data number becomes [0002].
• Use [1BH,*] in pairs within input data when presenting ECI. ‘*’ must be a value between 31H
and 36H. The number in the following FLG(1) - FLG(6) are the number of digits of the data to be
used for ECI.
<ESC>1→FLG(1) The number of digits specified for ECI data is 1 digit.
<ESC>2→FLG(2) The number of digits specified for ECI data is 2 digits.
<ESC>3→FLG(3) The number of digits specified for ECI data is 3 digits.
<ESC>4→FLG(4) The number of digits specified for ECI data is 4 digits.
<ESC>5→FLG(5) The number of digits specified for ECI data is 5 digits.
<ESC>6→FLG(6) The number of digits specified for ECI data is 6 digits.
246
Aztec Code Table
S I S O
b8 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
b7 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
b6 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
b5 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
B4 b3 b2 b1 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 0 0 0 0 SP 0 @ P ` p
0 0 0 1 1 ! 1 A Q a q
0 0 1 0 2 ” 2 B R b r
0 0 1 1 3 # 3 C S c s
0 1 0 0 4 $ 4 D T d t
0 1 0 1 5 % 5 E U e u
0 1 1 0 6 & 6 F V f v
0 1 1 1 7 ’ 7 G W g w
1 0 0 0 8 ( 8 H X h x
1 0 0 1 9 ) 9 I Y i y
1 0 1 0 A * : J Z j z
1 0 1 1 B + ; K [ k {
1 1 0 0 C , < L \ l
1 1 0 1 D - = M ] m }
1 1 1 0 E . > N ^ n ~
1 1 1 1 F / ? O _ o DEL
247
[ESC+BQ] QR Code (Compatible command)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying QR code.
[Format]
[Manual setup] <BQ>abcc,(ddeeff,)g(hhhh)n
[Auto setup] <BQ>abcc,(ddeeff,)0n
• Parameter
a [Error correction level]
1 : 7% High density level (L)
2 : 15% Standard level (M)
3 : 30% High reliability level (H)
4 : 15% High reliability level (Q)
b [Concatenation mode]
0 : Normal mode
1 : Concatenation mode
c [Size of one side of cell]
Valid Range : 01 to 99 (dot)
e.x.) cc=04
4 dots
Feed direction
4 dots
248
[Coding Example]
Error correction level: 30%, Concatenation mode: Normal, Size of one side of cell: 10
<A>
<V>100<H>200<BQ>3010,112345
<Q>2
<Z>
[Supplementary Explanation]
• Carry out XOR logic operation of all the partitioned print data of the QR code and then, specify
this operation data in hexadecimal character. This is what we call [Parity data].
• When character mode is set to other than binary mode, it is not necessary to set data number
parameter.
249
QR Code data size list (Model 1)
250
QR Code (Numeric mode) Code table
251
QR Code (Alphanumeric mode) Code table
252
QR Code (Binary mode) Code table
QR Code can specify from 00H to 7FH, and from A0H to DFH.
253
QR Code (Kanji mode) Code table
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
Parent topic 2D Code
273
[ESC+BV] MaxiCode (Compatible command)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying MaxiCode.
[Format]
<BV>a,b,c,ddddddddd,eee,fff,n...n
• Parameter
a [Symbol number] = Valid Range : 1 to 8
b [Number of symbol digit] = Valid Range : 1 to 8
c [Mode]
2 : Transportation only
3 : Transportation only
4 : Standard symbol
6 : Reader programing
d [Postal code] = Valid Range : 0 to 999999999 (Mode 2)
000000 to 999999 (Mode 3)
* Mode 2: Max 9 digits (Numeric only)
* Mode 3: Fixed 6 digits (Capital alphabet)
e [Country code] = Valid Range : 001 to 999
f [Service class] = Valid Range : 001 to 999
n [Low priority message] = Alphanumeric/Symbol
Mode Service class Country code Postal code Maximum print data
4 Omission 138 93
[Coding Example]
<A>
<V>100<H>200<BV>1,1,2,123456789,001,002,SAHTHA
<Q>2
<Z>
274
[Supplementary Explanation]
• Size of MaxiCode are not changed by number of data for printing.
• If parameter that is not described above is used, or number of print data does not match,
symbol is not printed.
• When specifying mode 4 and mode 6, number of print data must be specified over 12. When
number of print data is specified less than 11, scanner cannot read printed MaxiCode.
275
[ESC+BK] PDF417 (Compatible command)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying PDF417.
[Format]
<BK>aabbcddeeffffg...g(,h)
• Parameter
a [Minimum module width] = Valid range : 01 to 27 dots
b [Minimum module height] = Valid range : 01 to 72 dots
c [Security level] = Valid range : 0 to 8
d [No. of data code words per digit]
Valid range : 01 to 30
00 : Automatic (Width varies depending on the No. of data specified)
e [Digit No. per symbol]
Valid range : 03 to 90
00 : Automatic (Height varies depending on the No. of data specified)
f [Digit No. of data] = Valid data : 0001 to 2681
g [Print data] = Data
h [PDF code type]
When omitted : PDF417
T : Truncated scale
M : Micro PDF
[Coding Example]
Minimum module width: 03 dots, Minimum module height: 09 dots, Security level: 3, Number of data
codewords per line: 03, Digit Number of line per symbol: 18
<A>
<V>100<H>200<BK>0309303180010PDF1234567
<Q>2
<Z>
[Supplementary Explanation]
• Minimum module width can be set to 01 and 02; however, this may not be read properly.
• 01, 02, and 03 are designable for Minimum module height however; it may cause a reading
problem.
• When d=e=00, aspect ratio will be at 1:2 based on the number of print data.
• When specifying security level high, parameter d or e should have large number.
• Maximum number of digit of data is 2,681, but it varies depending on Minimum module size,
Security level and type of print data.
276
• When parameter d and e does not match number of data, print may not be performed properly.
• When Micro PDF is specified by PDF type, number per symbol is specified by number of data
codeword per line, and accordingly maximum number of data digit is specified. For details, refer
to "Symbol size and number of data" below.
• When specifying Micro PDF by PDF code type, security level is disabled.
[Point]
• Sequential number is not available.
• Specifying print position by automatic line feed is not available.
• Print 00H to FFH is available.
• Format registration is available.
• Enlarging minimum module size improves print quality.
• Increasing security level improves read rate.
• Print height varies depending on the character such as numeric only, alphabet only or mixture of
numeric and alphabets.
1 11 6 8 3
14 12 17 7
17 18 26 10
20 22 32 13
24 30 44 18
28 38 55 22
2 8 14 20 8
11 24 35 14
14 36 52 21
17 46 67 27
20 56 82 33
23 64 93 38
26 72 105 43
3 6 10 14 6
8 18 26 10
10 26 38 15
12 34 49 20
15 46 67 27
277
Symbol size Maximum number of data
20 66 96 39
26 90 132 54
32 114 167 68
38 138 202 82
44 162 237 97
4 4 14 20 8
6 22 32 13
8 34 49 20
10 46 67 27
12 58 85 34
15 76 111 45
20 106 155 63
26 142 208 85
• Mix of Alphabet (Capital letter, small letter), Numeric and Control code varies depending on
number of combined characters.
278
PDF417 Code table
279
[ESC+BX] DataMatrix (ECC200) (Compatible command)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying DataMatrix (ECC200).
[Supplementary Explanation]
• 01 and 02 are designable for [Cell width] and [Cell Pitch]; however, they may not be read
properly. In this case, 00 will be an error.
• If 000 is specified for both [No. of cells per line] and [Number of cell lines], optimum matrix size
is set automatically based on the Number of data.
280
[ESC+DC] DataMatrix (ECC200) Data Specify (Compatible
command)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying data for DataMatrix (ECC200).
[Coding Example]
Cell width: 02, Cell pitch: 02, Number of cells per line: 000 (Auto setup), Number of cell lines: 000
(Auto setup), Print data: 1234567890
<A>
<V>100<H>200
<BX>01200202000000001
<DC>1234567890
<Q>2
<Z>
[Supplementary Explanation]
• DataMatrix (ECC200) can specify from 00H to FFH except for printer control code of 05H, 10H,
11H, 18H, 1BH. When specifying control code for data, use DataMatrix<2D50>.
Alphanumeric 2335
* Value in above table shows the maximum number of data that can be specified as barcode data.
281
[ESC+FX] DataMatrix (ECC200) Sequential Number
(Compatible command)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying sequential number for DataMatrix.
[Coding Example]
Number of duplication to print: 001, Flag of increase and decrease: +, Number of increase and
decrease: 001, Digit position: 005, Number of digit: 003
<A>
<V>100<H>200
<FX>001+001005003
<BX>01100202000000001
<DC>00006000
<Q>2
<Z>
282
GS1 DataMatrix (ECC200) Code table (<DC>)
GS1 DataMatrix (ECC200) can specify from 00H to FFH except for printer control code of 05H, 10H,
11H, 18H, 1BH.
When specifying 7EH, specify [7EH, 7EH].
Parent topic 2D Code
283
[ESC+QV] QR code version
<1B>16 <51>16<56>16 aa
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is in effect until a new specification is
made.
Valid range between items The set parameter becomes a default value in the next
item <A>.
[Function]
Specifying any QR code version can print the code with fixed cell size.
When not specified, it becomes the auto setting.
[Format]
<QV>aa
• Parameter
a [Version number]
Valid range : 00 to 40
(Specifying this range does not become a parameter error.
An error may arise for some QR code types, while analyzing the image.)
[Coding Example 1]
MODEL 1, Error correction: H, Cell size font: 05, Manual setting, Normal mode, Version 14
<A>
<V>100<H>100 <2D31>,H,05,0,0
<QV>14
<DN>0011,0123456789X
<Q>1
<Z>
[Coding Example 2]
MODEL 2, Error correction: H, Cell size font: 05, Manual setting, Normal mode, Version 35
<A>
<V>100<H>100 <2D30>,H,05,0,0
<QV>35
<DN>0011,0123456789X
<Q>1
<Z>
284
[Coding Example 3]
MicroQR, Error correction: L, Cell size font: 05, Manual setting, Version M3
<A>
<V>100<H>100 <2D32>,L,05,0
<QV>3
<DN>005,01234
<Q>1
<Z>
[Supplemental Explanation]
• MODEL 1: up to 14, MODEL 2 up to 40, MicroQR: up to 4
The valid parameter range is from 0 to 40 and it varies depending on the QR code type.
• For MicroQR, 1 to 4 correspond with M1 to M4.
• Specifying <QV> 0 becomes Auto (Default: Compatible with the existing code).
• Sending the data exceeding the data size of specified version will result in error and QR code
will not be printed.
• Specify the <QV> command in between <2Dxx> and <DN>/<DS>.
• It does not affect other than QR code.
• When resulted in a parameter error, it will be handled in the same manner of no specification.
285
Graphic Command
[ESC+G]
Graphic Print
[ESC+GM]
BMP File Print
[ESC+GP]
PCX File Print
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying the print of graphic.
[Format]
<G>abbbcccn...n
• Parameter
a [Data specification by HEX and BIN]
H : Hex data
Specify graphic data as 2 characters of ASCII 0-F which is equal to 8 dots,
output it as hex code corresponding to ASCII.
B : Binary data
Specify graphic data as one byte of binary which is equal to 8 dots.
b [Specification of crosswise graphic area per byte] = Valid range: Refer to the table below.
c [Specification of lengthwise graphic area per byte] = Valid range: Refer to the table below.
n [Graphic data]
[Coding Example 1]
[H: HEX data] is specified for [Data specification by HEX and BIN]
[□] is printed with the below specification.
<A>
<V>50<H>50
<G>H001001<46463831383138313831383138314646>16
<Q>1
<Z>
[Coding Example 2]
[B: Binary data] is specified as [Data specification by HEX and BIN]
[□] is printed with the below specification.
<A>
<V>50<H>50
<G>B001001<FF818181818181FF>16
<Q>1
286
<Z>
[Supplementary Explanation]
• Specification of [B] has shorter program description than that of specification [H]; and, transfer
data length is 50 percent shorter. This could be advantage in data capacity.
• Specification of Rotation <%> and Enlargement <L> are available.
• <L> command should be placed just before <G> command.
• When using rotation <%> and enlargement <L> commands at the same time, specify <%>
command before <L>.
• The crosswise maximum byte and lengthwise maximum byte are specified in the table below,
however, it is possible to specify up to 999 bytes to have compatibility with MB2i series.
The graphic data less than 2,937,600 bytes can be printed.
• The calculation of graphic data size is [crosswise maximum byte x lengthwise maximum byte x
8].
287
[ESC+GM] BMP File Print
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying the print of BMP file created by such as Image editing application.
[Format]
<GM>aaaaa,n...n
• Parameter
a [Total bytes of BMP file]
n [Data]
[Coding Example]
<A>
<V>50<H>50<GM>04500,<424D00...00>16
<Q>2
<Z>
[Supplementary Explanation]
• Data is sent in binary data (Outputs 8-dot, one byte in binary all at once) (BMP file size = Total
byte size, BMP file data = data).
• When [Total bytes of BMP file] is not matching the transfer data, this may become the cause of
malfunction.
• Total bytes are the file size displayed at [Property] and such.
• BMP file is available in Black/White mode only. In color mode, printing is not guaranteed. Also,
this command is not valid for BMP compressed file.
Make sure that the file extension is set to [BMP] before printing.
• Rotation <%> and Enlargement <L> are available.
• Enlargement <L> should be placed just before this command.
• When using rotation <%> and enlargement <L> commands at the same time, specify <%>
command before <L>.
Parent topic Graphic Command
288
[ESC+GP] PCX File Print
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifying the print of PCX file created by such as Image editing application.
[Format]
<GP>aaaaa,n...n
• Parameter
a [Total bytes of PCX file]
n [Data]
[Coding Example]
<A>
<V>50<H>50<GP>04500,XXXXXXXXXXXX
<Q>2
<Z>
[Supplementary Explanation]
• Data is sent in binary data (Outputs 8-dot, one byte in binary all at once) (PCX file size = Total
byte size, PCX file data = data).
• If [Total bytes of PCX file] is not matching the transfer data, this may become the cause of
malfunction.
• Total bytes are the file size displayed at [Property] and such.
• PCX file is available in Black/White mode only. In color mode, printing will not be performed due
to command error. Also, this command is not valid for PCX compressed file.
Make sure that the file extension is set to [PCX] before printing.
• Rotation <%> and Enlargement <L> are available.
• Enlargement <L> should be placed just before this command.
• When using rotation <%> and enlargement <L> commands at the same time, specify <%>
command before <L>.
Parent topic Graphic Command
289
System Command
[ESC+CS]
Print Speed
[ESC+#F]
Print Darkness
[ESC+#E]
MB2i
Print
command)
series
Darkness
compatible
(
[ESC+A1]
Media Size
[ESC+A3]
Base Reference Point
[ESC+EP]
Print End Position
[ESC+*]
Memory Clear
[ESC+@]
Offline
[ESC+C]
Reprint
[ESC+E]
Auto Line Feed
[ESC+PG]
(MB2i
Designation
series compatible
of Registration
command)
on Printer Motion
[ESC+PO]
Offset
[ESC+IG]
Sensor Type
[ESC+PM]
Print mode
[ESC+KM]
Mincho (Kanji)
[ESC+KG]
Gothic (Kanji)
[ESC+CE]
European code page
[ESC+TK]
Forced Tear Off
[ESC+TW]
Option Waiting Time
[ESC+CL]
Delete CR/LF
<1B>16 <43>16<53>16 aa
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Specifying the speed of printing.
[Format]
<CS>aa
• Parameter
a [Print speed] = Refer to the table below.
[Coding Example]
<A>
<CS>4
<Z>
[Supplementary Explanation]
• Print speed value specified by the command or LCD is maintained.
• When operation mode is linerless cutter, the maximum speed will be 4 inches/sec, and initial
value will be 4 inches/seconds. No command error will occur when 5 inches/seconds and the
maximum value of each model is specified. In this case, no value will be set.
[Notes]
• If the value over valid range is specified, command error will occur and print speed will not be
changed.
• Use default set operation of the printer to set back the value to the initial one.
290
[Parameter Initial Value and Specified Range]
291
[ESC+#F] Print Darkness
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Specifies print darkness.
[Format]
<#F>ab
<#F>aab
• Parameter
a [Print darkness level specification]
1 ↑ Lightest
2
3
4
5
6
7
8
9
10 ↓ Darkest
[Coding Example]
<A>
<#F>5A
<Z>
[Supplementary Explanation]
• Print darkness value specified by the command or LCD is maintained.
[Notes]
• If the value over valid range is specified, command error will occur and print darkness will not be
changed.
• Initial value is settable by default setting operation of the printer.
292
[Print darkness level range]
Initial value Parameter valid range When setting outside of valid range
Initial value Parameter valid range When setting outside of valid range
293
[ESC+#E] Print Darkness (MB2i series compatible command)
<1B>16 <23>16<45>16 ab
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Specifies print darkness.
[Format]
<#E>ab
• Parameter
a [Print darkness level specification]
1 ↑ Lightest
2
3
4
5 ↓ Darkest
[Coding Example]
<A>
<#E>3A
<Z>
[Supplementary Explanation]
• Print darkness value specified by the command.
[Notes]
• This command is for the compatibility with MB2i series. The print darkness level obtained by
DC2+PB, and the print darkness level on the display screen becomes twice the value set by this
command.
203 dpi 1,2,3,4,5 Command error will occur when other values than parameter
valid range in the left is specified.
294
[Print darkness range]
295
[ESC+A1] Media Size
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Specifying media size.
[Format]
<A1>aaaabbbb (A,B fixed) *Label size is less than 9999.
<A1>VaaaaaHbbbb (A,B variable)
• Parameter
a [Height of label] = Valid range: Refer to the table below.
b [Width of label] = Valid range: Refer to the table below.
[Valid Range]
[Coding example 1]
Label length: 800 dots, label width: 640 dots
<A>
<A1>08000640
<Z>
[Coding example 2]
Label length: 800 dots, label width: 640 dots
<A>
<A1>V800H640
<Z>
[Coding example 3]
Label length: 1200 dots, label width: 40 dots
<A>
<A1>12000040
<Z>
[Coding example 4]
Label length: 1200 dots, label width: 40 dots
296
<A>
<A1>V1200H40
<Z>
[Coding example 5]
Label length: 11200 dots, label width: 240 dots
<A>
<A1>V11200H240
<Z>
297
[Supplementary Explanation]
• If using the label smaller than the head width, use this command for specifying the label size
and adjust the start point position corresponding to the label size.
• For specifying the label size, include the size of backing paper.
(Side alignment)
Start point
1
1
Label feed
100mm
direction
Label
800 dots
80 mm x100 mm
1249mm
80mm 9992dots
640 dots
167.5mm
1340 dots
(Center alignment)
Start point
1
1
Label feed
100mm
direction
Label
800dots
80mm×100mm
80mm 600mm
640dots 4800dots
112mm
896dots
298
[ESC+A3] Base Reference Point
Valid range and term of When the power is OFF The set parameter is not maintained. (with the start point
command correction)
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Changing the start point coordinate in User mode of the printer (normally).
[Format]
<A3>VabbbbbHcdddd
• Parameter
a [Vertical start point correction sign] = +, -
b [Vertical start point correction (No. of dots)] = Refer to the table below
c [Horizontal start point correction sign] = +, -
d [Horizontal start point correction (No. of dots)] = Refer to the table below
[Coding Example]
<A>
<A3>V+10H+10
<Z>
Original start point
b
Feed direction
[Supplementary Explanation]
• If changing start point correction and being located outside of printing area, printing may not be
performed.
• When changing start point correction through multiple label formats, correction will affect all of
the formats.
299
NOTE:
• This command is effective prior to the User mode settings of printer LCD.
• The offset value specified by the start point correction <A3> with the start point correction sign is
not saved. Thus, the offset value specified by the <A3> command is maintained until the change
is made by the next <A3> or the power is off (See [Valid range and saving parameter]).
• The offset value specified by the <A3> command without the sign (+/-) is registered also in
the user mode of the printer LCD. Thus, the offset value specified by the <A3> command is
maintained even the power is off. However this is a format to be compatible with MB2i series.
Please specify the sign (+/-) in normal operation (See [Valid range and saving parameter]).
Head density Horizontal start point Vertical start point Saving parameter
correction (dots) correction (dots)
203 dpi -300 to +300 -300 to +300 With (+/-) sign: Not saved
*1
Without (+/-) sign: Saved
*1 The setting "without sign" is only applicable to MB2i series. Please specify the sign (+/-) in normal operation .
Parent topic System Command
300
[ESC+EP] Print End Position
Valid range and term of When the power is OFF The set command is not maintained.
command
Valid range within items The set command becomes invalid.
[Function]
Specifying the label stop position in the sensor ignored mode.
[Format]
<EP>[,aaaaa]
• Parameter
a [print stop position] = Refer to the table below.
[Range of specification]
[Coding Example]
<A>
<A1>14240832
<Z>
<A>
<V>100<H>200<P>2<L>0202<XS>ABCD
<Q>2
<EP>
<Z>
Example) 8 dots/mm
Start point
1
1
Feed direction
ABCD
Stop position with
command <EP>
104mm
832 dots
301
[Coding Sample 2]
<A>
<V>100<H>200<P>2<L>0202<XS>ABCD
<Q>2
<EP>,128
<Z>
ABCD
128 dots
[Supplementary Explanation]
• Use this command in the sensor invalid mode.
• Use this command in combination with Label Size <A1>.
• When you specify the parameter, the last position of printing + value specified in parameter will
be the stop position of label.
However, if last position of printing + position specified in parameter exceeds label length, the
size is truncated to label length.
• If you specify label size <A1> in Format Registration <YS> and Form Overlay Registration <&S>
make sure to specify Print End Position <EP> when you specify Format Call <YR> and Form
Overlay Call <&R>.
• The label stop position depends on the following combination. The table below shows which
commands will be adopted by the combination of <A1> ~ LCD setting items.
○ ○ - - <A1>
○ - ○ - <EP>
○ ○ - ○ <A1>
○ - ○ ○ <EP>
- - ○ - <EP>
302
<A1> <EP> LCD Adopted Remarks
setting command
Without With item
parameter parameter
- - ○ ○ <EP>
303
[ESC+*] Memory Clear
<1B>16 <2A>16 a
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Clears print jobs and specific item in memory.
[Format]
<*>a
• Parameter
a Item to be cleared
Not specified : Single item buffer, Receive buffer, Edit buffer (reprint is not possible)
Multi item buffer, Receive buffer, Edit buffer (Clears job in parsing)
T : User defined characters
& : Form overlay
X : All clear
(Receive buffer, Edit buffer, User defined characters, form overlay)
Note the job, which is currently in progress, will not be cleared.
[Supplementary Explanation]
• Set this command between Start code <A> and Stop code <Z>.
• This command <*> (a=X) will clear all the data sent before the command. However, the data
which is completely parsed before the command will not be cleared. X will also clear user-
defined characters and form overlay.
304
[Notes]
• After the command <*> is executed, have an interval of more than 100 ms before sending next
print data.
• The job in printing will not be terminated by the command <*>.
Parent topic System Command
305
[ESC+@] Offline
Valid range and term of When the power is OFF The set command is not maintained.
command
Valid range within items The set command becomes invalid.
[Function]
Set printer offline.
[Format]
<@>
[Coding Example]
<A>
<@>
<Z>
[Supplementary Explanation]
• Set this command between Start code<A> and Stop code<Z>.
• When this command is used at offline state, the printer goes offline when the printer status
becomes online next time.
Parent topic System Command
306
[ESC+C] Reprint
Valid range and term of When the power is OFF The set command is not maintained.
command
Valid range within items The set command becomes invalid.
[Function]
Specifies to reprint the last label.
[Format]
<C>
[Coding Example]
<A>
<C>
<Z>
[Supplementary Explanation]
• Since the last print data will be cleared by powering off, reprint operation will not be available
after the printer rebooted.
• The forced tear-off command <TK> does not execute reprinting.
[Notes]
• In case the print data contains sequential numbering by command <F>, the same number will
be printed.
Parent topic System Command
307
[ESC+E] Auto Line Feed
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifies amount of line spacing and CR (Line feed).
[Format]
<E>aaa
• Parameter
a [line spacing] = valid range : 0 to 999 dots
[Coding Example]
<A>
<E>10
<V>100<H>200<P>2<L>0304<XM>ABCDE+CR
FGHIJ+CR
<Q>2
<Z>
[Supplementary Explanation]
• When CR (0DH) is specified, linefeed based on line pitch will be performed.
• Rotation command <%> can be used in combination with this command.
• The command <E> may be used in a job and change the line spacing as necessary.
• Specify this command before designating the consecutive print of 1-line.
• Specifying this command executes the line feed regardless of CR/LF deletion setting.
• Performing auto linefeed by the designation of CR (0DH), print start position of linefeed will be
determined based on the pitch specified with <E> and the value specified with Horizontal Print
Position <H> designated after <E>. In case that <H> is specified several times after <E>, return
position by CR (0DH) will be at the end of <H>.
308
[Print sample]
<A><E>0
<V>100<H>100
<XM>ABC
<V>100<H>150
<XM>ABC+CR
DEF
<Z>
Font data to specify the base Font data to specify the base
reference point reference point
<V>100<H>100<XM>ABC <V>100<H>150<XM>ABC+CR
Line Feed
ABC ABC
DEF
Font data include line feed
309
[ESC+PG] Designation of Registration on Printer Motion
(MB2i series compatible command)
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Gives offset to media’s stop position on the fly.
[Format]
<PG>abcdefghiiiijjjjkkkkllllmmmnnnooopppqrs
• Parameter
Using ASCII code for parameter. For the detailed parameter, refer to the table below.
[Coding Example]
<A>
<PG><33 33 41 31 30 31 30 30 31 32 38 30 30 33 38 34 2B 30 30 31 2B 30 30
31 2B 30 30 2B 30 30 2B 30 30 30 30 30 30 30 30>16
<Z>
Describing parameter value in ASCII code.
<30>16<30>16<02>16・・・・・<00>16
[Supplementary Explanation]
• This command is not necessary in the normal label printing operation.
• Operation settings specified with this command are still in effect after turning off the printer.
• The same setting are accessible from the printer setting tool.
310
[Note]
• This command is for MB2i series. Please use Language Common Command DC2+PA.
• It is required to validate PT compatible setting (COMP_PT_PG) at [SBPL] section of Language
Common Command DC2+PA to use this command.
Parameter
311
No. Item Explanation Digit Remarks
number
*1 The darkness level will be twice as what was set. For darkness, A will be applied for specifying either A, B or
C.
1A, 1B, 1C 2A
2A, 2B, 2C 4A
3A, 3B, 3C 6A
4A, 4B, 4C 8A
*2 The linerless behavior in PW2 will be limited only to "Head position, no initial feed movement". Therefore,
the printer works as "1: Head position, no initial feed movement" even if "2: Head position, with initial feed
movement" or "3: No backfeed, no initial feed movement" are set.
*3 The following table explains the behavior of each offset. (range of PT208e)
Note: If a value below -20 is set in dispenser offset, it will be replaced with the minimum range
of -20 for PW.
*4 Dual-color printing is out of specification for PW2. When you specify "2: Dual-color Label printing mode", the
printer will work as "0: Label printing mode", and when you specify "3: Dual-color Journal printing mode" it
will work as "1: Journal printing mode (mode 1)".
*5 The below is the table of combinations for the print mode, print operation mode and sensor type.
312
Configuration with <PG> Behavior of PW printer
*6 The GAP sensor cannot be specified for PW208mNX. The old value stays instead.
Parent topic System Command
313
[ESC+PO] Offset
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Gives offset to media’s stop position on the fly.
[Format]
<PO>abcc
• Parameter
a Offset
1 : Dispenser
2 : Tear-off
3 : Continuous
4 : Linerless
b Offset direction
+ : Feed forward
- : Backward
c Amount of offset = Valid range : 00 to 99 (dot)
[Coding Example]
<A>
<PO>3+08
<Z>
[Supplementary Explanation]
• This command does not need to be set in normal printing.
• Please specify an appropriate value when the printing is off, which is unique for each printer.
Printer will not work properly if you do not specify appropriate value.
Parent topic System Command
314
[ESC+IG] Sensor Type
<1B>16 <49>16<47>16 a
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Specifies the sensor type.
[Format]
<IG>a
• Parameter
a [Sensor type]
0 : Reflective (I-mark)
1 : Transmissive (Gap)
2 : Sensor disabled
[Coding Example]
<A>
<IG>1
<Z>
[Supplementary Explanation]
• The setting by this command is normally not needed.
• The set parameter is maintained after turning off the printer.
• Do not use this command while printing operation as sensor may not work properly.
• Receiving print command after changing the sensor type executes printing after backfeed
except specifying the "ignore sensor" to the sensor type. Feed motion is not performed after
turning the printer's power off and then power on.
• When printer operation mode is set to [Dispense], the range will be available only in 0:
Reflective sensor (I-MARK), and 1: Transmissive sensor (GAP). There will be no command
error when 2:Ignore sensor is specified. In this case, no value will be set.
• When printer operation mode is set to [Linerless cutter], the range will be available only in
0: Reflective sensor (I-MARK) and 2: Ignore sensor. When 1: Transmissive sensor (GAP) is
specified, there will be no command error. In this case, no value will be set.
• No value will be set when 1: Transmissive sensor (GAP) is specified because PW208mNX does
not have any transmissive sensors (GAP).
Parent topic System Command
315
[ESC+PM] Print mode
<1B>16 <50>16<4D>16 a
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Specifies print mode.
[Format]
<PM>a
• Parameter
a Print mode
0 : Continuous
1 : Tear-off
7 : Dispenser (head position)
8 : Dispenser (dispenser position)
C : Linerless (tear-off position)
D : Dispenser (no backfeed)
[Coding Example]
<A>
<PM>0
<Z>
[Supplementary Explanation]
• The valid print operation mode depends on printer model.
Printer does not shift to the specified print operation mode if anything other than the above is
specified.
• The below explains how each print operation mode works.
(0) Continuous
The printer stays still after printing.
(1) Tear-off
The media will be fed up to the tear-off edge after printed. Then the printer, after receiving next
print data, will back feed the next label to the print head position.
(7) Dispense (Head position)
Back feeds the labels to head position after dispensing.
(8) Dispense (Dispense position)
316
The media will be fed up to the head position after data receiving and the label will be fed to the
dispense position after printing.
(C) Linerless cutter operation (tear-off position)
The media will be fed up to the head position after data receiving and the label will be fed to the
dispense position after printing.
(D) Dispense(No back feed)
No back feed.
• PW208mNX dispenser mode is set automatically when the cover is closed. (Printer will be set
to dispenser mode when you have the dispenser bar on the dispenser mode position) Backfeed
motion needs to be set if you specify dispenser with this command.
Parent topic System Command
317
[ESC+KM] Mincho (Kanji)
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Sets Kanji font style to Mincho.
[Format]
<KM>
[Coding Example]
<A>
<KM>
<V>100<H>200<P>2<L>0304
<K1>H82508A94816A83548367815B
<KG>
<V>200<H>200<P>2<L>0304
<K1>H82508A94816A83548367815B
<Q>2
<Z>
[Supplementary Explanation]
• This command can be used more than once in single item.
Parent topic System Command
318
[ESC+KG] Gothic (Kanji)
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Sets Kanji font style to Gothic.
[Format]
<KG>
[Coding Example]
<A>
<KG>
<V>100<H>200<P>2<L>0304
<K1>H82508A94816A83548367815B
<KG>
<V>200<H>200<P>2<L>0304
<K1>H82508A94816A83548367815B
<Q>2
<Z>
[Supplementary Explanation]
• This command can be used more than once in single item.
Parent topic System Command
319
[ESC+CE] European code page
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Specify the European code page to be used.
[Format]
<CE>a...a(,b)
• Parameter
a [Code page name] = Valid range : refer to the [Code page parameter] in the next page.
b [Code page setting maintain] = Valid range : P (fixed)
Specify [P] to retain selected code page. (omissible)
When omitted, the selected code page is not retained.
320
Parameter a Official name Supplemental explanation
U 5x9 Helvetica
WB 18x30 Universal
XU 5x9 Helvetica
XL 48x48 Universal
Refer to the European code page specification for the print character set.
Parent topic System Command
321
[ESC+TK] Forced Tear Off
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Executes Tear off compulsory.
[Format]
<TK>
[Coding Example]
<A>
<TK>
<Z>
[Supplementary Explanation]
• This command can be specified only in Tear off mode.
• With this command, the printer executes Tear off motion without waiting the time set by
command <ESC+TW>. If the next data is received before Tear off motion, Tear off is executed
compulsory.
• This command cannot be used in combination with other commands. Please send the
command independently.
[Notes]
• This command can be used to shorten print time set at Option Waiting Time, if it is sure that
there is no following item.
Parent topic System Command
322
[ESC+TW] Option Waiting Time
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Specifies waiting time for optional device.
[Format]
<TW>aaa
• Parameter
aaa [Waiting time] = Valid range : 000, 005 to 200 (unit: 100ms)
[Supplementary Explanation]
• This command specifies, in Tear-off mode, the waiting time between print completion and Tear-
off motion.
• The set parameter becomes valid soon after receiving the command and will be retained after
power off.
Parent topic System Command
323
[ESC+CL] Delete CR/LF
<1B>16 <43>16<4C>16 a
Valid range and term of When the power is OFF The set parameter is maintained.
command
Valid range within items The set parameter is valid until the next valid setting.
Valid range between items The set parameter is valid until the next valid setting.
[Function]
Deletes CR/LF included in print commands.
[Format]
<CL>a
• Parameter
a [Delete CR/LF]
0 : Do not delete CR/LF
1 : Deletes CR/LF
[Coding Example]
<A>
<CL>1
<Z>
[Supplementary Explanation]
• Delimit Start of Data Transmission <A> and End of Data Transmission <Z> with this command
for use.
• This command cannot be used in combination with other commands.
Parent topic System Command
324
Intelligent Command
[ESC+IK]
Label Feed Control
Valid range and term of When the power is OFF The set parameter is not maintained.
command
Valid range within items The set parameter becomes invalid.
[Function]
Feeding forward or backward for the specified number of labels.
[Format]
<IK>a(,bbbb)
• Parameter
a [Feed direction]
0 : Forward feed
1 : Backfeed
b [Number of label feed]
Valid Range : Refer to the table described below. (Omissible only for forward feed.)
Feeds one label when omitting this parameter.
[Coding Example1]
When 120 dots feeding forward the media
<A>
<IK>0,120
<Z>
Head position
Command received
325
When print data is received without returning to the original position with <IK>1,120, printing will start
from the current stop position.
[Coding Example2]
When feeding one label
<A>
<IK>0
<Z>
Head position
Command received
[Supplementary Explanation]
• Delimit Start of Data Transmission <A> and End of Data Transmission <Z> with this command.
When specifying this command with the same item as print data, the command will be ignored.
• When setting [Label feed direction] to [1: Backfeed], length of label feed needs to be checked. If
this length is very long, it may cause overlapped prints or label may fall off the platen and result
in detection error as paper-end.
• When omitting [No. of label feed] in forward feed, printer motion will be similar to label feed
motion when pressing the FEED key in offline state.
• Label feed motion with this command will be activated at the time of online.
• When omitting [No. of label feed] in backfeed, label feed will not be performed due to command
error.
• When the specified feed value is outside of valid range, printing will not be performed due to
command error.
• Actual feed distance may be different from the set value according to the individual difference of
each printer, supplies and operating environment. Recommend to adjust the feed value before
operation.
• In cutter and dispenser mode, do not attempt to backfeed right after cutting and dispensing
label.
• Printer always feeds 20 mm of label using <IK>0 (omit the amount of feeding label) when
sensor is set to disabled.
[Valid Range]
326
Common commands for all languages
The common commands are the commands independent from the applications such as SBPL,
SZPL.
The common specifications of the common command for all languages will be described as follows.
• The structure begins from [DC2]<12>16 and two characters follow it.
• When the two characters follow [DC2] are not the common commands, nothing will be returned
and the data after that will be ignored.
• The command to specify the data size will wait the data until the data size satisfies the specified
size and no data will be returned.
• When initializing the printer, turning the printer's power off and updating the printer, [NAK]<15>16
will be returned. However, the cancel request command can be received.
• It runs after resuming from power-save mode when the printer is in power-saving mode or
resuming from power-save mode, and returns [ACK]<06>16 or [NAK]<15>16. However, the reset
command and the power off command and the cancel request command can be received.
• The common commands cannot be used when the printer is set to the non-standard mode.
[DC2+PA]
Printer setting command
[DC2+PB]
Printer setting information acquisition
[DC2+PC]
Printer device information acquisition
[DC2+PD]
Each sensor information acquisition
[DC2+PG]
Printer status information acquisition
[DC2+PH]
Cancel request
[DC2+PI]
Application change
[DC2+DB]
Initialization
[DC2+DC]
Reset
[DC2+DD]
Power OFF
[DC2+DE]
File download
[DC2+DF]
File name information acquisition
[DC2+DG]
File information acquisition
[DC2+DH]
File deletion
327
[DC2+PA] Printer setting command
Valid range and term of When turning off the power The set parameter is maintained.
command
Valid range The set parameter is valid until the next setting.
[Function]
These are commands to save printer settings.
[Format]
DC2(12H) + PA,a...a,bb,c...c,d...d,(,ee,f...f,g...g,h...h)...
Data sample)
[PA], PA,87,CA,35,SPEED:2
LABELV:12345
LABELH:456
,SB,39,ZEROSLASH:0
SHOTAI:0
PROPORTIONAL:0
[Parameters]
328
Symbol Parameter name Valid range Acquisition method
[Setting data]
h(j ...) Setting item See Settings Table Valid until ":"
i(k ...) Setting data See Settings Table Valid until "[CR][LF]"
Data sample)
SPEED:4
LEVEL:5
[Exception processing]
*1 If the data size from the first identifier (bb) to the last data item does not match the data size of setting
information, and the data size calculated from the format, a command error will occur.
*2 However, nothing will be returned until receiving the number of data equals to the total number of data bytes.
329
*3 If the data during the receipt of the setting information data size from the beginning of the setting information
data is not ",", a command error occurs.
Terminology Description
Command Error All items are not set. The data received after a command error is determined is
not considered as a parameter of this command.
Invalid identifier The corresponding setting information data (data equivalent to the succeeding
setting information data size) is ignored.
Invalid item The data of one item (data up to [CR] [LF]) is ignored.
[Supplementary information]
• If the sum of the total data size and configuration information data size does not match, an error
will occur and they will not be set.
• If the data size of settings and data size of actual settings do not match, an error will occur and
the value will not be set.
• Setting for each identifier and setting item can be omitted.
• Setting for each identifier and setting item can be in random order.
• When re-setting a setting with same identifier, the last value that was set will be enabled.
• If the value in setting was out of range, then the setting item will have an error and will be
skipped.
• No malfunction will occur when a character string with the same name as the setting item was
set.
e.g.) When you set "DeviceName" as setting value for the setting item named "DeviceName".
• Do not send this command when the printer is printing. Use this command in the standby status.
[PRINTER] Time zone The time zone must be set firstly because the time difference
[PRINTER] Date calculated from the local time is necessary for setting the date and
time.
[PRINTER] Time
[PRINTER] Main port Settings of the main port and sub-port cannot be duplicated, and the
[PRINTER] Sub port duplicated code will be ignored.
330
Target item Setting process
≠"0" Set
[BLUETOOTH] Delete pairing There are 10 paring information and they are arrayed. You cannot
information delete them one by one because the deleted area is filled with next
data and the number will be inconsistent. You can delete the data
when you know all the paring information to be deleted.
[SBPL] STX Each control code cannot be duplicated, and the duplicated code will
[SBPL] ETX be ignored.
[SBPL] ESC
[SBPL] ENQ
[SBPL] CAN
[SBPL] NULL
[SBPL] OFFLINE
[SZPL] Command Head Each control code cannot be duplicated, and the duplicated code will
[SZPL] Control head be ignored.
[SZPL] Delimiter
[Encryption of data]
The method for encryption shall be bit inversion plus conversion of binary to ASCII. Therefore there
will be twice as much data after encryption.
Table) Table of encryption code
Character code Character code Character code Character code Character code Character code
[HEX] (SJIS) [HEX] [HEX] (SJIS) [HEX] [HEX] (SJIS) [HEX]
Space 20 df 64 66 @ 40 bf 62 66 ` 60 9f 39 66
! 21 de 64 65 A 41 be 62 65 a 61 9e 39 65
" 22 dd 64 64 B 42 bd 62 64 b 62 9d 39 64
# 23 dc 64 63 C 43 bc 62 63 c 63 9c 39 63
$ 24 db 64 62 D 44 bb 62 62 d 64 9b 39 62
% 25 da 64 61 E 45 ba 62 61 e 65 9a 39 61
& 26 d9 64 39 F 46 b9 62 39 f 66 99 39 39
' 27 d8 64 38 G 47 b8 62 38 g 67 98 39 38
( 28 d7 64 37 H 48 b7 62 37 h 68 97 39 37
) 29 d6 64 36 I 49 b6 62 36 i 69 96 39 36
* 2A d5 64 35 J 4A b5 62 35 j 6A 95 39 35
+ 2B d4 64 34 K 4B b4 62 34 k 6B 94 39 34
, 2C d3 64 33 L 4C b3 62 33 l 6C 93 39 33
- 2D d2 64 32 M 4D b2 62 32 m 6D 92 39 32
. 2E d1 64 31 N 4E b1 62 31 n 6E 91 39 31
/ 2F d0 64 30 O 4F b0 62 30 o 6F 90 39 30
331
Original Encrypted Original Encrypted Original Encrypted
Character code Character code Character code Character code Character code Character code
[HEX] (SJIS) [HEX] [HEX] (SJIS) [HEX] [HEX] (SJIS) [HEX]
0 30 cf 63 66 P 50 af 61 66 p 70 8f 38 66
1 31 ce 63 65 Q 51 ae 61 65 q 71 8e 38 65
2 32 cd 63 64 R 52 ad 61 64 r 72 8d 38 64
3 33 cc 63 63 S 53 ac 61 63 s 73 8c 38 63
4 34 cb 63 62 T 54 ab 61 62 t 74 8b 38 62
5 35 ca 63 61 U 55 aa 61 61 u 75 8a 38 61
6 36 c9 63 39 V 56 a9 61 39 v 76 89 38 39
7 37 c8 63 38 W 57 a8 61 38 w 77 88 38 38
8 38 c7 63 37 X 58 a7 61 37 x 78 87 38 37
9 39 c6 63 36 Y 59 a6 61 36 y 79 86 38 36
: 3A c5 63 35 Z 5A a5 61 35 z 7A 85 38 35
; 3B c4 63 34 [ 5B a4 61 34 { 7B 84 38 34
< 3C c3 63 33 \ 5C a3 61 33 | 7C 83 38 33
= 3D c2 63 32 ] 5D a2 61 32 } 7D 82 38 32
> 3E c1 63 31 ^ 5E a1 61 31 ~ 7E 81 38 31
? 3F c0 63 30 _ 5F a0 61 30
332
[A list of setting items]
[PRINTER] section
333
[PRINTER] section
"0": English 0
LANGUAGE R/W ○ Language settings
"22": Japanese
0: Disable 5
POWER_SAVE R/W ○ Power saving setting
5 to 999 sec
"0": /Buzzer off
BUZZER 3 R/W ○ Buzzer volume
"3": /Buzzer on
OPTIONTIME "0", "5" to "200"(x 100 ms) 0 R/W ○ Waiting time in tearoff mode for next
data
<TW>
AUTO_ONLINE "0": Disable 1 R/W ○ Automatic measurement of label
"1": Enable length
FEED "0": Disable 0 R/W ○ Initial feed
"1": Enable
ONLINE_FEED "0": Disable 0 R/W ○ Online feed
"1": Enable <LF>
IGNORE_CRLF "0": Do not remove CR/LF 0 R/W ○ Ignore CR/LF
"1": Remove CR/LF <CL>
BYTECOMMAND "0": Disable 0 R/W ○ Remove CAN/DLE
"1": Enable <1B>
IMLVL_RL "0" to "127": reflective sensor 63 R/W - Adjust reflective sensor level
level (Receiving light) (Receiving light)
IMLVL_LE "0" to "3": reflective sensor 2 R/W - Adjust reflective sensor level (Light
level (Light emission) emission)
IM_SL "0.0": Automatic setting 0.0 R/W - Reflective sensor slice level
"0.1" to "3.3": Manual setting
GAPLVL_RL PW208NX: 63 R/W - Adjust transmissive sensor level
"0" to "127": transmissive (Receiving light)
sensor level(Receiving
light)
PW208mNX: None
GAPLVL_LE PW208NX: 4 R/W - Adjust transmissive sensor level
"0" to "7": transmissive (Light emission)
sensor level (Light
emission)
PW208mNX: None
334
[PRINTER] section
335
[PRINTER] section
336
[COUNT]
initial
Name of Setting item Setting value Default Vale. R/W Contents of Setting item
CB
PRTCLN "0": Disable 0 R/W ○ Notification for printer cleanup
"1": Enable
PRTCLN_ITV_COUNT "10" to "1000" (m) 150 R/W ○ Distance to display notification for
printer cleanup
PRTCLN_COUNT "XXXX" - R - Cleaning distance
*Unit: 1 / 24 mm
HDCHG "0": Disable 0 R/W ○ Notification for replacing thermal
"1": Enable head
HDCHG_ITV_COUNT "10" to "100" (km) 30 R/W ○ Distance to display notification for
replacing thermal head
HDCHG_COUNT "XXX" - R - Print distance of a thermal head
* Unit: 1 / 24 mm
ROLLER "0": Disable 0 R/W ○ Notification for replacing platen roller
"1": Enable
ROLLER_ITV_COUNT "10" to "100" (km) 30 R/W ○ Distance to display notification for
replacing platen roller
ROLLER_COUNT "XXX" - R - Distance of the platen roller
* Unit: 1 / 24 mm
BATTERY_CYCLE_C "XXX" - R - Battery cycle count
OUNT
337
[LAN]
initial
Name of Setting
Setting value Default Vale. R/W Contents of Setting item
item IL
338
[LAN]
initial
Name of Setting
Setting value Default Vale. R/W Contents of Setting item
item IL
339
[LAN]
initial
Name of Setting
Setting value Default Vale. R/W Contents of Setting item
item IL
340
[LAN]
initial
Name of Setting
Setting value Default Vale. R/W Contents of Setting item
item IL
341
[LAN]
initial
Name of Setting
Setting value Default Vale. R/W Contents of Setting item
item IL
[USB]
initial
Name of Setting
Setting value Default Value R/W Contents of Setting item
item IU
342
[WLAN] * PW208mNX: WLAN is not equipped.
343
[WLAN] * PW208mNX: WLAN is not equipped.
EAP_PASSWORD 0-32 digit long characters String of empty W ○ EAP authentication password
* Encrypted data
EAP_ANON 0-63 digit long characters NULL R/W ○ Anon. Outer ID
If EAP Mode=FASE,PEAP,TTL S
EAP_VERIFY "0": Disable 1 R/W ○ Verify Server Cert.
"1": Enable Not for LEAP
EAP_PRIVATEKE 0-64 digit long characters String of empty W ○ Private Key P/W
Y * Encrypted data
EAP_AUTO_PA C "0": Disable 0 R/W ○ PAC Auto Provisioning
"1": Enable If EAP Mode=FAST
EAP_PAC_PA SS 0-64bytes String of empty W ○ PAC Password
* Encrypted data If EAP=FAST & Auto prov.=off
SignalLevel1 -85 dBm - R - Threshold for electrical field strength
1
SignalLevel2 -74 dBm - R - Threshold for electrical field strength
2
SignalLevel3 -64 dBm - R - Threshold for electrical field strength
3
FWversion x.x.x. - R - Firmware version for WLAN module
344
[BLUETOOTH]
initial Contents of Setting item
Name of Setting
Setting value Default Value R/W
item IB
345
[BLUETOOTH]
initial Contents of Setting item
Name of Setting
Setting value Default Value R/W
item IB
346
[SBPL]
initial Contents of Setting item
Name of Setting item Setting value Default Value R/W
SB
ZEROSLASH "0": Disable 1 R/W ○ Zero slash
"1": Enable <LH>,<LD>
SHOTAI "1": Gothic 1 R/W ○ Type face
"0": Mincho <KG>, <KM>
PROPORTIONAL "0": Fixed pitch 1 R/W ○ Proportional pitch
"1": Proportional pitch <PS>, <PR>
STDCODE "0": Standard code 0 R/W ○ Protocol code
"1": Non-standard code
CMDERR "0": Disable 0 R/W ○ Command error
"1": Enable
STXCODE "0" to "255" standard non-standard R/W ○ STX
2(0x02) 123(0x7B) <LD>
ETXCODE "0" to "255" 3(0x03) 125(0x7D) R/W ○ ETX
<LD>
ESCCODE "0" to "255" 27(0x1B) 94(0x5E) R/W ○ ESC
<LD>
ENQCODE "0" to "255" 5(0x05) 64(0x40) R/W ○ ENQ
<LD>
CANCODE "0" to "255" 24(0x18) 33(0x21) R/W ○ CAN
<LD>
NULLCODE "0" to "255" 0(0x00) 126(0x7E) R/W ○ NULL
<LD>
OFFLINECODE "0" to "255" 64(0x40) 93(0x5D) R/W ○ OFFLINE
<LD>
EUROCODE "0" to "255" 213(0xD5) 213(0xD5) R/W ○ EURO
<LD>
KANJI "0": JIS code 3 R/W ○ Kanji code
"1": SJIS code <KC>
"2": Unicode (UTF16) "6": Unicode(UTF8) is only
"3": GB18030 applicable to
PW208NX/PW208mNX.
"4": BIG5
"5": KSC5601 (EUC-KR)
"6": Unicode (UTF8)
347
[SBPL]
initial Contents of Setting item
Name of Setting item Setting value Default Value R/W
SB
KNJ_MODE "0": JIS X0208 compatible 3 R/W ○ Kanji mode
"1": JIS X0208
"2": JIS X0213
"3": GB18030
"4": BIG5
"5": KSC5601 (EUC-KR)
"6": Unicode (UTF8)
CODE_PAGE "0": UTF8 1 R/W ○ Code page
"1": CP858
"2": ISO8859-1
"3": ISO8859-2
"4": ISO8859-9
"5": CP737
"6": CP855
"7": CP850
"8": CP852
"9": CP857
"10": CP866
"11": CP1250
"12": CP1251
"13": CP1252
"14": CP1253
"15": CP1254
"16": CP1257
"17": CP869
"18": JIS X0201
COMP_PT_K3 "0": Disable 0 R/W ○ PT /MB Compatible (K3)
"1": Enable
COMP_PT_PG "0": Disable 0 R/W ○ PT /MB Compatible (PG)
"1": Enable
COMP_PT_ENQ "0": Disable 0 R/W ○ PT/MB Compatible
"1": Enable (Status)
Orientation "0": Portrait 0 R/W ○ Orientation
"1": Landscape
"2": Inv. Portrait
"3": Inv. Landscape
CODE128(C)_Zero_Fil "0" : Disable 0 R/W ○ Compatible Code128
l "1" : Enable
CALL_FONTLOGO “0” : Disable 0 R/W ○ Character code compatible
“1” : Enable at Download Font / Log call
QTY_Update_Timing “0” : Disable 0 R/W ○ QTY_Update_Timing
“1” : Enable
COMP_PT_PITCH “0” : Disable 0 R/W ○ PT200e/MB200i
“1” : Enable Compatible pitch command
348
[SZPL] section
initial
Name of Setting item Setting value Default Value R/W Contents of Setting item
SZ
SHIFT_OFFSET 609 dpi: "-2496" to "2496" (dot) 0 R/W ○ Label shift offset
"1": ACK/NAK
349
[NFC] section * PW208NX/208mNX only
initial Contents of Setting item
Name of Setting
Setting value Default Value R/W
item IN
DC2 + PA,a...a,bb,c...c,d...d,(,ee,f...f,g...g,h...h)...
ACK/NAK
350
[DC2+PB] Printer setting information acquisition
Printer operation in The command can be received even during the printer
progress operation.
When acquiring label Commands are not accepted while acquiring sensor
sensor information information. ([NAK] reply)
[Function]
This command is used to acquire the printer information.
[Format]
[DC2]PB(,aa(,b...b))[EOT]
[Parameters]
[Return data]
a Total number of data byte Data size from the first identifier until before
[ETX]
* This is the total number of bytes after parameter
b. The delimiting comma between parameters a
and b, and the ETX are not included.
c(f) Setting information data size Size of the corresponding setting information
data
* Number of bytes of the section unit after
parameter d. The delimiting comma between
sections is not included.
351
[Identifier]
Valid range
CA: Common settings
CB: Notification functionality
IL: LAN settings
IU: USB settings
IW: WLAN settings
IB: Bluetooth settings
IN: NFC settings * PW208NX/PW208mNX only
SB: SBPL settings
SZ: SZPL settings
SP: SPOS settings (reserve)
SC: SCPL settings (reserve) * PW208NX/PW208mNX only
h(j...) Setting Item name Refer to the list of setting items of [DC2+PA].
Data Example)
CA,12345,SPEED:4
LEVEL:5
CONCENTRATION:A
:
[Exception processing]
Terminology Description
Command error The data received after a command error is determined is not considered as a
parameter of this command.
352
Host This product
DC2 + PB・・・[EOT]
[Note]
• When identifiers are omitted, all data will be returned.
• When setting item names are specified, setting information of the item which was set will be
returned.
Parent topic Common commands for all languages
353
[DC2+PC] Printer device information acquisition
Printer operation in The command can be received even during the printer
progress operation.
When acquiring label Commands are not accepted while acquiring sensor
sensor information information. ([NAK] reply)
[Function]
This command returns the printer device information.
[Format]
DC2 (12H) + PC
[Return data]
a Total number of data byte Data size from the first device information
name up to before [ETX]
* This is the total number of bytes after parameter
b. The delimiting comma between parameters a
and b, and the ETX are not included.
b(d) Device information name Refer to the printer device information list.
* Text format
c(e) Device information data Refer to the printer device information list.
* Text format
Data Example)
[STX]12345,MODEL: Model name[CR][LF]FW Ver:1.0.0[CR][LF]...[CR][LF] [ETX]
354
No. Description Device information name Device information data
355
No. Description Device information name Device information data
P: Platform name
V: Version
S: Release = Release version
Alpha/Beta = Test version
xxxuser = Custom version
urgent = Urgent version
* Return PW208NX/PW208mNX only
21 BD Address BD xxxxxxxxxxxx
X: Alphanumeric
356
No. Description Device information name Device information data
357
No. Description Device information name Device information data
358
No. Description Device information name Device information data
359
[Precautions during use]
• The printer device information update cycle must be five seconds or longer. When sending this
command in continuation, be sure to set an interval of five seconds or more.
• When a USB memory is used, only the available space of the memory connected first is
returned even when a connection is established via the HUB.
• It takes more than one second to create the return data immediately after the startup in order to
obtain the checksum of the module.
• It takes more time to create the return data when there are a lot of registrations by SBPL
command. (It takes approx. 1.5 seconds to register 10,000 data.)
DC2 + PC
360
[DC2+PD] Each sensor information acquisition
Printer operation in The command can be received even during the printer
progress operation.
When acquiring label Commands are not accepted while acquiring sensor
sensor information information. ([NAK] reply)
[Function]
This command is used to acquire the information of each sensor. The sensor information
corresponds to the information immediately after the reception of the command.
[Format]
DC2 (12H) + PD
a Total number of data byte Data size from the first identifier until before
[ETX]
* This is the total number of bytes after parameter
b. The delimiting comma between parameters a
and b, and the ETX are not included.
b(d) Sensor information name Refer to the sensor information data list.
* Text format
c(e) Sensor information data Refer to the sensor information data list.
* Text format
Data Example)
[STX]xx,IM:0.2/SL1.5,GAP:0.9/SL1.0...[ETX]
361
[Sensor information data list]
10 SENSOR HIGH Value of High of active sensors X.X = 0.0 to 3.3 : Sensor level
11 SENSOR LOW Value of Low of active sensors X.X = 0.0 to 3.3 : Sensor level
[Note]
• When sending this command in continuation, be sure to set a fixed interval (100 msec or more).
• If the sensor information acquisition processing for each sensor does not finish within 100 msec,
a timeout is thought to have occurred, and [NAK] is returned. A timeout may occur during the
printer operation.
• SENSOR HIGH, SENSOR LOW is the value of the last label that passed through the sensor.
Therefore it may sometimes be different from test printing results (the value measured with the
label before the printing label).
• If the sensor type is sensor disabled, the SENSOR HIGH, the SENSOR LOW returns 0.0.
362
Host This product
DC2 + PD
363
[DC2+PG] Printer status information acquisition
Printer operation in The command can be received even during the printer
progress operation.
When acquiring label Commands are not accepted while acquiring sensor
sensor information information. ([NAK] reply)
[Function]
This command returns the printer status.
[Format]
DC2 (12H) + PG
a Total number of data byte Data size from the first identifier until before
[ETX]
* This is the total number of bytes after parameter
b. The delimiting comma between parameters a
and b, and the ETX are not included.
b(d) Printer status information name Refer to the printer status information data
* Text format list.
c(e) Printer status information data Refer to the printer status information data
* Text format list.
Data Example)
[STX]32,PS0,RS0,RE0,PE0,EN00,BT0,Q000000[ETX]
364
No. Description Printer status Printer status information data
information name
5 Error No.
*1 EN 00: Online *Not an error. Return is
performed
01: Offline *Not an error. Return is
performed
02: Machine error
03: Memory error
04: Program error
05: Setting information error (FLASH-
ROM error)
06: Setting information error (EE-PROM
error)
07: Download error
08: Parity error
09: Over run
10: Framing error
11: LAN timeout error
12: Buffer over
13: Head open
14: Paper end
15: Media error
16: Sensor error
17: Printhead error
18: Cover open error
19: Cutter error
20: Cutter sensor error
21: Stacker full error
22: Command error
23: Sensor error at Power-On
24: Interface card error
25: Rewinder error
26: Other error
27: Head density error
28: Kanji data error
30: Item No error
365
No. Description Printer status Printer status information data
information name
*1 Described error numbers contain errors which will never occur on this printer.
366
[NAK]<15>16
[Supplemental explanation]
• In the case of power supply, the battery status is always returned as 0: Normal.
• The media status is returned as "Media present" unless paper end has reached during printing.
• The correct value will be returned for receive buffer, ribbon end, media status, and battery when
the error is updated.
DC2+PG
367
[DC2+PH] Cancel request
Printer operation in The command can be received even during the printer
progress operation.
[Function]
This command cancels print jobs and clears the entire contents of receive buffer.
[Format]
[DC2] PH
[Supplemental explanation]
• The response data is returned after the cancel processing ends.
• After sending the cancel request command, wait for response reception before sending the next
data.
DC2+PH
Clear number of
labels to print
ACK/NAK
368
[DC2+PI] Application change
When acquiring label Commands are not accepted while acquiring sensor
sensor information information. ([NAK] reply)
[Function]
This command is used to switch applications such as SBPL and SZPL.
[Format]
DC2 (12H) + PI,aa
[Parameters]
369
[Exception processing]
Terminology Description
Command error The data received after a command error is determined is not considered as a
parameter of this command.
Invalid receive data The data corresponding to Byte 2 and thereafter of the identifier is ignored.
[Supplemental explanation]
• Setting value of the printer will be switched when switching the application. So, obtaining and
saving the setting of the application before switching, then switching it, and then put it back
to the original application, after that set it by previously saved settings, and it performs the
operation before switching it.
e.g.) When switching the application such as SBPL -> STCL -> SBPL
1. Obtain and save the setting value of SBPL state (obtain the setting value by AIOT,
[DC2]PB[EOT] and so on).
2. Switch the application to STCL.
3. Switch the application to SBPL.
4. Set the setting value obtained and saved in the step 1).
• Please send this command in a state which the printer is not working anything in Offline or
Online standby state waiting state.
The result of this command sent in pause status during cancellation is not guaranteed. In such
case, restart the printer.
DC2+PI,aa
370
[DC2+DB] Initialization
When acquiring label Commands are not accepted while acquiring sensor
sensor information information. ([NAK] reply)
[Function]
This command initializes the printer setting.
[Format]
[DC2] DB,aa
[Parameters]
371
Symbol Parameter Valid range Initialization target Acquisition method
name
TrueType
Log Image
Hex Dump
Error
Key
Date
Head
Buffer
SBPL BMP
Overlay
Format
PCX
Graphic
Custom
Designed
TrueType
BJD
[Exception processing]
Terminology Description
Command error Initialization not performed. The data received after a command error is
determined is not considered as a parameter of this command.
Invalid receive data The data corresponding to Byte 2 and thereafter is ignored.
[Supplemental explanation]
372
• Refer to "[DC2+PA] Printer setting command" in this document for the items to be initialized in
each identifier.
• If you initialize the interface settings, a response may not be returned.
DC2 + DB,aa
Initialization
processing
ACK/NAK
373
[DC2+DC] Reset
[Function]
This command is used to restart the printer.
[Format]
[DC2] DC
DC2 + DC
Power off
process
Printer restart
374
[DC2+DD] Power OFF
[Function]
This command is used to turn OFF the printer.
[Format]
[DC2] DD
DC2 + DD
Power off
375
[DC2+DE] File download
Valid range and term of When turning off the power The file is maintained.
command
Valid range -
When acquiring label Commands are not accepted while acquiring sensor
sensor information information. ([NAK] reply)
[Function]
This command is used to download the specified file.
[Format]
[DC2]DE,aa,b,c...c,d...d,e...e
[Parameters]
c File name Data within 255 characters including the Acquired up to ","
following character groups.
• Alphabet
• Numeral
• Hyphen ("-")
• Underscore ("_")
• Period (".")
376
Symbol Parameter name Valid range Acquisition method
[Return data format (when the same file name error occurs)]
1<31>16
[Exception processing]
A value outside the The specified When the same file name
range is specified size and received
size are different
Terminology Description
Command error Downloading not performed. The data received after a command error is
determined is not considered as a parameter of this command.
Invalid receive data The data exceeding the file size is ignored.
[Supplemental explanation]
• Send this command when printing has stopped. The content of the response data is not
guaranteed even when this command is received during printing.
• When you specify SZPL for "Parameter a: Identifier ", "0: Font/logo", "1: TrueType font" settings
of "Parameter b: File type" will be ignored.
377
Host This product
DC2 + DE,aa,b,c・・・c,d・・・d,e・・・e
ACK/NAK/<31>16
378
[DC2+DF] File name information acquisition
When acquiring label Commands are not accepted while acquiring sensor
sensor information information. ([NAK] reply)
[Function]
This command returns a list of file names of the specified folder.
[Format]
[DC2]DF,aa,b
[Parameters]
379
[Return data format (normal, data exists)]
[STX]a...a,b...b(,c...c)[ETX]
Data example) [STX]xxxx,SBPL_001.dfl, SBPL_002.dfl[ETX]
a Total number of data byte Data size from the first identifier until
before [ETX]
* This is the total number of bytes after parameter b. The
delimiting comma between parameters a and b, and the
ETX are not included.
[Exception processing]
Terminology Description
Command error The file name list is not returned. The data received after a command error is
determined is not considered as a parameter of this command.
[Supplemental explanation]
• Send this command when printing has stopped. The content of the response data is not
guaranteed even when this command is received during printing.
• When you specify SZPL for "Parameter a: Language", "0: Font/logo", "1: TrueType font" settings
of "Parameter b: File type" will be ignored. So all file names registered with SZPL will return.
380
Host This product
DC2 + DF,aa,b
381
[DC2+DG] File information acquisition
When acquiring label Commands are not accepted while acquiring sensor
sensor information information. ([NAK] reply)
[Function]
This command returns the specified file data information.
[Format]
[DC2]DG,aa,b,cccccc,ddddddd
[Parameters]
d File name Data including the following character groups Acquired up to the file
name size
*1 Only the file name is • Alphabet
specified.
• Numeral
• Hyphen ("-")
• Underscore ("_")
• Period (".")
382
[Return data format (normal, data exists)]
[STX]a...a,b...b[ETX]
a Total number of data byte Data size from the first identifier until before
[ETX]
* This is the total number of bytes after parameter b.
The delimiting comma between parameters a and b,
and the ETX are not included.
d File data
[Exception processing]
A value outside The specified size and received size are different
the range
is specified
File name size Command error Excessively small: Command error, Excessively large:
Remaining data standby
File name Command error Excessively small: Remaining data standby, Excessively large:
Command error
Terminology Description
Command error The file name list is not returned. The data received after a command error is
determined is not considered as a parameter of this command.
[Supplemental explanation]
• When a file name is bigger than the size of the file name and still the file name is valid, it
operates and finishes normally.
• When you specify SZPL for "Parameter a: Language", "0:Font/logo", "1:TrueType font" settings
of "Parameter b: File type" will be ignored.
383
Host This product
DC2 + DG,aa,b,cccccc,ddddddd
Abnormal: NAK
384
[DC2+DH] File deletion
When acquiring label Commands are not accepted while acquiring sensor
sensor information information. ([NAK] reply)
[Function]
This command is used to delete the registered files.
[Format]
[DC2]DH,aa,b,c(,ddddd,eeeee)
[Parameters]
e File name Data including the following character groups Acquired up to the file
* Only the file name is name size
• Alphabet
specified.
• Numeral
• Hyphen ("-")
• Underscore ("_")
• Period (".")
385
[NAK]<15>16
[Exception processing]
*1 Note that all data will be deleted even though subsequent data is not appropriate when specifying deleting all
the files.
Terminology Description
Command error The file is not deleted. The data received after a
command error is determined is not considered as a
parameter of this command.
[Supplemental explanation]
• Do not specify the parameter d and e when the parameter c specifies 1 (delete all files). When
specified, the parameter d and e are not handled as data of this command.
• When a file name is bigger than the size of the file name and still the file name is valid, it
operates and finishes normally.
• When you specify SZPL for "Parameter a: Language", "0: Font/logo", "1: TrueType font" settings
of "Parameter b: file type" will be ignored. Beware that all files registered with SZPL will be
deleted if you specify "1: All files" in "Parameter c: Deletion type ".
Delete
the specified file
ACK/NAK
386
Time zone list
Africa
Asia
387
Time zone name UTC offset Cover area
Australia
Caribbean
388
Time zone name UTC offset Cover area
Central America
Europe
389
Time zone name UTC offset Cover area
390
Time zone name UTC offset Cover area
North America
Pacific
South America
391
Time zone name UTC offset Cover area
392
Part 2 Interface Specification
Overview
Communication protocol
USB
Wireless LAN
Bluetooth
NFC
Notes about the Interface
Overview
Overview
Overview
This printer has a build-in interface on the printer to communicate data with host.
393
Communication protocol
Types of communication protocol and Reception mode
Return status
Status 3
Status 4
Interface
Multiple buffer x x x ○
Without bidirectional
communication
Status 3 x ○ ○ x
Multiple buffer
With bidirectional communication
Status 4 ○ ○ ○ x
Multiple buffer
With bidirectional communication
○: Enabled, x: Disabled
Parent topic Communication protocol
394
Return status
The purpose of return status is to manage the status of this product by host, and the product return
the status by request command from host.
There are two types of return status format, Status 3 and Status4. Each return status is listed below.
The product returns the status after receiving request command.
* In Status 3 and 4, command is processed for ESC+ENQ and ESC+CAN and returns status, but does not
process command nor returns status for ESC+DLE and ESC+DC1.
Remarks
When you acquire return status from this product, please input transmission interval time after
sending each command to printer.
Returning start up time will be delayed about 1.0 second when printer is in Sleep mode.
395
(1) ENQ (Status request)
Receive
Read STX xxA000000・・・・ ETX
Cancelling
Transmission
intervals
(500ms or more) Send buffer: ACK (06H)
The above values are target values for queuing time until host reads ACK from printer. It varies by
the interface type, setting of communication interface and communication environment.
The rough standard for transmission interval shall be 900 ms or more when you request cancel
(18H) when receive buffer is near full.
Return status of Status 3
Return status of Status 4
396
2. Return status, Format
3. Status list
Description ASCII HEX
OFFLINE NO ERROR 0 30
STATE
(UNUSED) RIBBON / LABEL NEAR END
*1 1 31
PRINTING NO ERROR G 47
STANDBY NO ERROR M 4D
397
Description ASCII HEX
(Waiting for *1
(UNUSED) RIBBON / LABEL NEAR END N 4E
dispenser/
cut) BUFFER NEAR FULL O 4F
*1
(UNUSED) RIBBON / LABEL NEAR END & P 50
BUFFER NEAR FULL
ANALYZING/ NO ERROR
*2 S 53
EDITING
*1 *2
(UNUSED) RIBBON / LABEL NEAR END T 54
*1
(UNUSED) RIBBON / LABEL NEAR END & V 56
*2
BUFFER NEAR FULL
PAPER END c 63
HEAD ERROR g 67
CARD ERROR i 69
OTHER ERRORS k 6B
398
Description ASCII HEX
BATTERY ERROR q 71
3) Print command
Print starts after receiving print command (STX <A> to <Z> ETX)
The status of this product after receiving command is returned.
Note: ACK is returned instead of NAK when this product is in Sleep mode or in WakeUp mode for Ver1.7.3-r1 or after.
Note: If ESC+Z is received and error occurs at the same time when printer wakes up from Sleep mode, there is a timing
to return ACK, but this rarely occurs in operation because status is checked by ENQ.
399
Return status of Status 4
This communication protocol is used to return the condition of this product and reply as a status to
the host by receiving four types of request commands and print commands.
The following describes about commands and return status.
Number of ENQ STX ID number Status Remaining JOB ETX Wireless LAN
bytes to send 1 byte 1 byte 2 bytes 1 byte number of name 1 byte 32 bytes
4 bytes 05H 02H label 6 bytes 16 bytes 03H
0000001CH
OFFLINE NO ERROR 0 30
STATE
(UNUSED) RIBBON/LABEL NEAR END
*1 1 31
400
Description ASCII HEX
PRINTING NO ERROR G 47
STANBY NO ERROR M 4D
(waiting for
(UNUSED) RIBBON/LABEL NEAR END
*1 N 4E
dispenser/
cutter)
BUFFER NEAR FULL O 4F
*1
(UNUSED) RIBBON/LABEL NEAR END & P 50
BUFFER NEAR FULL
ANALYZING/ NO ERROR
*2 S 53
EDITING
(UNUSED) RIBBON/LABEL NEAR END
*1 *2 T 54
*1
(UNUSED) RIBBON/LABEL NEAR END & V 56
*2
BUFFER NEAR FULL
401
Description ASCII HEX
HEAD ERROR g 67
CARD ERROR i 69
(UNUSED)CUTTER ERROR j 6A
OTHER ERRORS k 6B
BATTERY ERROR q 71
402
Return status Description
Note: ACK is HEX 0000000106H and NAK is HEX 0000000115H for Wireless LAN interface.
3) Print command
This command (<A> to <Z>) starts the printing process.
The status of this product after receiving command is returned.
Note: ACK is returned instead of NAK when this product is in Sleep mode or in WakeUp mode for Ver1.7.3-r1 or after.
Note: ACK is HEX 0000000106H and NAK is HEX 0000000115H for Wireless LAN interface.
Please do not send DLE (Print stop request command) while STX <A> to <Z> ETX. DLE (Print
stop request command) would not be sent properly. Font data, graphic data, barcode data will
not be processed as DLE transmission (Print stop request).
403
Return status Description
Note: ACK is HEX 0000000106H and NAK is HEX 0000000115H for Wireless LAN interface.
Parent topic Return status
404
Status 3
The purpose of this communication protocol is to control the status of this product on host and to
return status from this product with request command from host.
Please refer to "Return status of Status 3" for the details of request command and return status.
Return sequence
Reference flow chart
405
Return sequence
Please refer to "Printer Status" in "Wireless LAN" described below when Wireless LAN interface is
used.
1) Normal process
( )
ID number=[05]
Status=Printing
Remaining label=[000100]
Status ( ID number=[05]
Status=Paper end
Remaining label=[000098]
)
ENQ
Clear the error (Press [Print/Select] key)
(Status request command)
Status ( Status=Printing )
ID number=[05]
~
~ ~
~ ~
~
Remaining label=[000001]
( )
ID number=[05]
Status Status=Printing
Remaining label=[000050]
406
2) Cancel request command
HOST This product
( )
IDNumber=[Space]
Status Status=Wait for receive
Remaining label=[000000]
( )
IDnumber=[12]
Status Status=Printing
Remaining label=[000049]
Print 2nd label
( )
ID number=[Space]
Status Status=Wait for receive
Remaining label=[000000]
( )
ID number=[13]
Status Status=Printing
Remaining label=[000100]
500 ms or more
( )
ID number=[Space]
Status Status=Wait for receive
Remaining label [000000]
407
Reference flow chart
Please refer to the following flow chart for creating program at host with this protocol.
Power ON Loop
Status Set
Send ENQ No
No
Time out?
Loop
Yes Yes
Time out? Time out Set
1
No Display status
Display ID number RETURN
Display status
Yes *
Error ?
No No
Cancel?
Yes
Offline? Yes
No
Yes
Buffer near full?
No
Yes
Cancel?
Send CAN
No
Send print data
Loop
Loop
Yes
Time out?
Yes
Time out? No
No
No ACK?
1
Yes
* Please make sure that error in this product has been cleared by ENQ then send print data when this product
detects an error by checking status.
Parent topic Status 3
408
Status 4
The purpose of this communication protocol is to control the status of this product on host and to
return status from this product with request command from host.
Please refer to [Returns status of Status 4] for the details of request command and return status.
Return sequence
409
Return sequence
Please refer to "Printer Status" in "Wireless LAN" described below when Wireless LAN interface is
used.
1) Normal process
IDnumber=[Space]
Status=Wait for Receive * 1 Respond to print command only
Status Remaining label=[000000]
Job name=[Space]
when Bluetooth is used.
IDnumber =[05]
Print Print Qty=100
command Job name=[SATO] Receive/Analysis/Edit
IDnumber=[05]
Status=Editing
Status Remaining label=[000000]
Job name=[SATO] Print
PAPER END
ENQ (Status request command)
IDnumber=[05]
Status=Paper End
Status Remaining label=[000098] Release error
Job name=[SATO] (Press [Print/Select] key)
ID number=[05]
Status=Printing
Status Remaining label=[000098]
Job name=[SATO]
IDnumber=[06]
Status=Printing Print 1st label
Status Remaining label=[000050]
Job name=[SATO]
410
2) Cancel request command
IDnumber=[12]
Print command Print Qty=50 Receive/Analysis/Edit
Job name=[SATO]
ID number=[Space]
Status=Wait for Receive
Status Remaining label =[000000]
Job name=[Space]
ID number=[13]
Print Qty=100
Print command Job name=[SATO] Receive/Analysis/Edit
ID number=[Space]
Status Status=Wait for Receive
Remaining label =[000000]
Job name=[Space]
411
USB
Basic Specifications
Layout plan for connector pin
Basic Specifications
USB interface of this product comply with USB2.0 standard.
Interface
Mini B type (Female part)
5 4 3 2 1
Communication settings
Setting range in communication settings mode
Connector
Mini B plug
Length of cable: 5 m or less (Twisted Pair Shielded)
Version
USB2.0 High-speed
412
Layout plan for connector pin
1 VBus
2 -Data(D-)
3 +Data(D+)
4 USB ID
5 GND
413
Wireless LAN
Basic Specifications
Specifications of software
Specifications of TCP/IP
Specifications of LPR
Specifications of FTP
Specifications of HTTP/HTTPS
Wireless LAN settings
Socket communication
Connection and Disconnection of session
Printer Status
Specification of SNMP
Notes
Basic Specifications
Protocol
Following communication protocol is configurable;
Wi-Fi radio field Wi-Fi is connected. Display radio field intensity (4 levels)
intensity
Specifications of Wi-Fi
1) Communications Standards
Comply with IEEE802.11a/b/g/n
414
2) Connection conditions for IEEE802.11n
MCS value 0-6 supported
MCS value 7 is working, but performance is not guaranteed.
WEP
WPA+WPA2
WPA2
Dynamic WEP
Shared Key
WEP Key 1 to 4
CCKM
GTC
415
TLS
LEAP
PEAP MSCHAP v2
GTC
TLS
MD5
OTP
TLS
TTLS MSCHAP v2
MSCHAP
CHAP
PAP
EAP-GTC
EAP-MD5
EAP-MSCHAP v2
EAP-OTP
EAP-TLS
Ad Hoc mode
None -
Shared Key
WEP Key 1 to 4
Note
Please consult with your system administrator and make sure that there will be no affect on medical
devices and equipment when printer is used near the medical devices and equipment.
416
Receive buffer size
2.95 MB
417
Setting items Setting range Initial value
(Factory setting)
SNMP read-only security none / Authentication / Privacy (with code language) none
SNMP read-write only security none / Authentication / Privacy (with code language) none
418
Setting items Setting range Initial value
(Factory setting)
SNMP trap security none / Authentication / Privacy (with code language none
419
Following chart lists configurable sections and variables and sections/variables can be referred.
Channel number 1 to 13 6
* Maximum value varies by destination
420
Variable name Setting range Initial value
(Factory setting)
EAP-MSCHAPv2
EAP-OTP
EAP-TLS
421
Specifications of software
Supported protocol: TCP/IP
Network layer: IPv4, IPv6, ICMP
Session layer: TCP, UDP
Application layer: LPR, FTP, DHCP, HTTP/HTTPS, SNMPv1, SNMPv2c, SNMPv3
1. LPR of TCP/IP, FTP, and Dedicated Socket protocol can be used for sending print data.
2. Status of printer can be obtained by dedicated Socket protocol.
Parent topic Wireless LAN
Specifications of TCP/IP
TCP/IP protocol environment has LPR and FTP for print. DHCP can be used for setting address.
Specifications of LPR
LPR protocol complies with RFC1179 and handles a list of theoretical printer names as queue name.
The queue name is "IP".
Send sequence of data file and control file in the job does not affect on print operation when the job
is sent by LPR.
* Job deletion is not supported by LPR.
* Specifications of LPR can be used only in Status 4: ENQ response.
* Missing label or duplicated image may occur when many labels are printed by LPR due to the specifications
of Windows.
* Banner page print is not supported.
* Multiple sessions cannot be established at the same time.
Specifications of FTP
FTP protocol complies with RFC959 and handles the list of theoretical printer names as a transfer
directory. File transfer to this directory executes print operation. Note that it is possible to specify
ASCII (A) and BINARY (I) as transfer mode, and mode varies by the client.
The directory name is "lp".
* Multiple sessions cannot be established at the same time.
* Login users are as follows (without password)
root
anonymous
lp
Parent topic Wireless LAN
422
Specifications of HTTP/HTTPS
This product is configurable by using Web browser.
URL is as follows (Recommended browser: Chrome)
1. Access to this product from Web browser at the following URL.
https://IP address of this product/
2. Click "Login" from WebConfig screen.
3. Login.
Username: settings
Password: 0310
423
Login has been completed.
424
Wireless LAN settings
802.1x authentication and certification
EAP-TLS ○ × ○ ○ ○ ○ ×
EAP-PEAP ○ ○ × ○
*1 × × ×
EAP-LEAP ○ ○ × × × × ×
EAP-TTLS ○ ○ × ○
*1 × × ×
EAP-FAST ○ ○ × × × × ○
*1 Use client certificate instead of root certificate as long as it meets the conditions as described in
supplementary explanation 2.
[Supplementary Explanation]
• Root certificate must fulfill the minimum requirements as follows.
◦ Certification of computer in server shall be connected to reliable root certification authority
(CA), the certification shall be run by CryptoAPI, and it should pass all tests being specified
by remote access polity and network policy.
◦ Computer certificates for NPS server and VPN server shall be configured as Extended Key
Usage (EKU) is including server authentication in (Object ID for server authentication is
1.3.6.1.5.5.7.3.1.).
◦ Server certification shall consist of required algorithm value RSA.
◦ When SubjectAltName-extention is used, DNS name of server shall be included to this
SubjectAltName-extention.
425
• Server accepts Certification attempts by client if the server meets the following requirements
when using EAP-PEAP and EAP-TTLS. (For Windows Server 2008/2008R2/2012/2012R2)
◦ Client certificate shall be issued by Enterprise CA or it shall be mapped to account of user
®
or computer in Active Directory domain service (AD DS).
◦ There shall be certification chain for certification of user and computer of client and the
certification chain shall be used for reliable root CA. EKU extension shall aim for client
certificate (Object identifier of client certificate is 1.3.6.1.5.5.7.3.2). In addition, those
certifications shall pass the check test run with CryptoAPI and specified by remote access
policy and/or network policy, and also those certifications shall pass the check test on
certificate object identifier specified by IAS remote access policy and/or NPS network
policy.
◦ 802.1x client shall not use any of registry based certificates such as Smart Card Logon
Certificate or password protected certificate.
◦ SubjectAltName-extention of certificate shall include Fully Qualified Domain Name (FQND)
(DNS name) for computer certificate.
Parent topic Wireless LAN settings
426
Socket communication
With functionality of TCP/IP Socket server, it is possible to use 2 port connection in where Port 1 is
used for receiving status 4 supported print data and Port 2 is used for returning printer status. Also it
is possible to use 1 port connection in where Port 1 or Port 3 is used for receiving status 3/status 4
supported print data and returning printer status.
When Port 3 is used, only status return data and printer operation setting request data are returned
to host.
It is not possible to use 2 port connection and 1 port connection at the same time.
It is not possible to have few sessions connected at once to each Socket.
Besides Socket, it is possible to use LPR and FTP for sending print data. It is not allowed to
connect to print data port (Port 1 or Port 3) while LRP and/or FTP is connected due to Socket
communication.
Please do not use 2 ports connections consist of Port 2 port and Port 3 port.
1. Print by 2 port connection/Socket (Status 4)
427
Connection and Disconnection of session
Socket server functionality performs connection and disconnection of print data port (Port1), Status
return port (Port2), Sent/Received port (Port3 or Port 3) as follows.
Status 4
1) Print data port (Port1), Status return port (Port2)
CONNECT LISTEN
(Port1, Port2)
ACCEPT
CONNECT success
Print data
(Port1) Print by printer
Status request
(Port1)
Printer Status
(Port2)
Print data
(Port1) Print by printer
CLOSE
(Port1,Port2) CLOSE
CONNECT end
LISTEN
428
Status 3/Status 4
2) Sent/Received port (Port3 or Port1)
CONNECT LISTEN
(Port1 or Port3)
ACCEPT
CONNECT success
Connect
Status request
(Port1 or Port3)
Printer Status
(Port1 or Port3)
Print data
(Port1 or Port3) Print by printer
CLOSE
(Port1 or Port3) CLOSE
CONNECT end
LISTEN
Parent topic Wireless LAN
429
Printer Status
1) Status mode
There are two types of mode for status return when using Wireless LAN interface.
1. Status4/ENQ response mode (2 ports connection or 1 port connection)
Port 1 is used for print data port, Port 2 is used for status return, Port 3 is used for print data port
and status return.
Printer Status is returned when printer receives status request command from host.
2. Status 3/ENQ response mode (1 port connection)
Port 1 is used for both print data port and status return port. Port 3 is used for both print data
port and status return port.
ACK is returned when printer receives print request command from host, and Printer Status is
returned when printer receives status request command from host.
It is not possible to print label by using printer driver when Status 3 is in use.
Status modes are switched by changing the setting of communication protocol and timing of Printer
Status return in communication setting mode of this product. Following chart shows the relationship
between the types of status mode, setting items of communication setting mode.
(Total 32 bytes)
430
3) Sequence
1. Status 4/ENQ response mode (2 port connection or 1 port connection)
The latest Printer Status is returned after printer receives status request command (ENQ:05H)
from host.
LISTEN
CONNECT
(Port1, Port2 ACCEPT
or Port3)
CONNECT Success
Connect
Status request
(Port1, Port3) Latest Printer Status
(ENQ [05h]) Printer Status
(Port2, Port3)
CLOSE
(Port1, Port2 CLOSE
or Port3)
CONNECT End
LISTEN
LISTEN
CONNECT
(Port1 or Port3) ACCEPT
CONNECT Success
Connect
Status request
(Port1 or Port3)
(ENQ [05h]) Latest Printer Status
Printer Status
(Port1 or Port3)
CLOSE
(Port1 or Port3) CLOSE
CONNECT End
LISTEN
431
Specification of SNMP
SNMP is a protocol to monitor and control network devices connected to network.
This product supports communication with SNMPv1, SNMPv2c, SNMPv3, and MIB supports
following MIB-II. With this MIP, it is possible to acquire information, to send notification on
administrative information, and to change settings.
• system(1)
• interface(2)
• at(3)
• ip(4)
• icmp(5)
• tcp(6)
• udp(7)
• snmp(10)
• host(25)
• printerMIB(43)
HostResourceMIB/prinerMIB is used for showing the status of this product. Please refer to the next
page for the details.
PrinterMIB / HostResourceMIB to show the status of printer
432
PrinterMIB / HostResourceMIB to show the status of printer
PW208NX/PW208mNX Printer MIB Host Resources MIB
Trap hrPrinterD
prtAlertSeverityL prtAlertTraini hrDeviceSta hrPrinterSt
# Alert Description prtAlertGroup prtAlertCode etectedErr
evel ngLevel tus atus
orState
subunitLifeOve
1 EBATTDEG Battery degradation X critical(3) untrained(3) other(1) -
r(11)
subunitLifeOve
2 EBATTCAUTION Battery degradation X critical(3) untrained(3) other(1) -
r(11)
subunitUnreco
3 EBATTERY Battery error X critical(3) untrained(3) other(1) verableFailure( -
30)
subunitAlmost
4 EBATTLOW Battery low X critical(3) untrained(3) other(1) -
Empty(12)
433
PW208NX/PW208mNX Printer MIB Host Resources MIB
Trap hrPrinterD
prtAlertSeverityL prtAlertTraini hrDeviceSta hrPrinterSt
# Alert Description prtAlertGroup prtAlertCode etectedErr
evel ngLevel tus atus
orState
22 EHDERR/EHEAD Head error X critical(3) fieldService(5) marker(10) other(1) -
subunitOpene bit #4
23 EHOPEN/EHEADOPEN Head open X critical(3) untrained(3) marker(10)
d(18) (doorOpen)
24 ELAN LAN error X critical(3) other(1) channel(14) other(1) -
25 EMACHINE Machine error X critical(3) fieldService(5) other(1) other(1) -
26 EMEDIA Media error X critical(3) trained(4) other(1) other(1) -
27 ENFCCMDERROR NFC command error X critical(3) other(1) other(1) other(1) -
28 ENFCMODULE NFC module error X critical(3) fieldService(5) other(1) other(1) -
subunitOverTe
29 EMOTERTEMP Motor overheated X critical(3) other(1) other(1) -
mperature(36)
30 ENOGAP Gap not found X critical(3) untrained(3) input(8) other(1) -
31 ENOIMARK I-mark not found X critical(3) untrained(3) input(8) other(1) -
32 ENOTFOUND Not found X critical(3) other(1) other(1) other(1) -
33 ENOTHINGTOPRINT No fields to print X critical(3) untrained(3) interpreter(15) other(1) -
34 EOPTION Option error critical(3) fieldService(5) other(1) other(1) -
35 EORUN Overrun error X critical(3) other(1) channel(14) other(1) -
subunitOverTe
36 EOVERHEAT Print head overheated X critical(3) other(1) marker(10) -
mperature(36)
bit #5
37 EPAPERJAM Paper jam X critical(3) trained(4) mediaPath(13) jam(8)
(jammed)
38 EPARAM Invalid argument X critical(3) other(1) other(1) other(1) -
inputMediaSup bit #1
39 EPEND/ENOPAPER Out of paper X critical(3) untrained(3) input(8)
plyEmpty(808) (noPaper)
40 EPLATFORM Package platform mismatch error X critical(3) other(1) other(1) other(1) -
41 EPOWEROFF Power off error X critical(3) trained(4) other(1) other(1) -
generalPrinter( subunitOverTe
42 EPRINTERTEMP Printer overheated X critical(3) fieldService(5) -
5) mperature(36)
43 EPROGRAM Program error X critical(3) fieldService(5) other(1) other(1) -
44 EPRTY Parity error X critical(3) other(1) channel(14) other(1) -
45 ERAMDISK Ramdisk not found error X critical(3) other(1) other(1) other(1) -
46 EREINDEX Database reindex error X critical(3) other(1) interpreter(15) other(1) -
47 ESDBCOLSIZE Too many bytes in indexed column X critical(3) other(1) interpreter(15) other(1) -
434
PW208NX/PW208mNX Printer MIB Host Resources MIB
Trap hrPrinterD
prtAlertSeverityL prtAlertTraini hrDeviceSta hrPrinterSt
# Alert Description prtAlertGroup prtAlertCode etectedErr
evel ngLevel tus atus
orState
48 ESDBCONN Not connected to table X critical(3) other(1) interpreter(15) other(1) -
49 ESDBCONTEXT Edit operation no allowed X critical(3) other(1) interpreter(15) other(1) -
50 ESDBNOISPC No space in table index X critical(3) other(1) interpreter(15) other(1) -
51 ESDBROWSIZE Too many bytes in sdb row X critical(3) other(1) interpreter(15) other(1) -
bit #5
52 ESENSER Sensor error X critical(3) trained(4) mediaPath(13) jam(8)
(jammed)
53 ESIGNFILE No RSA key found X critical(3) other(1) other(1) other(1) -
54 ESIGNFILEM No matching RSA key found X critical(3) other(1) other(1) other(1) -
55 ESIPLFIELDFULL Field full X critical(3) other(1) interpreter(15) other(1) -
56 ESIPLFORMATFULL Format full X critical(3) other(1) interpreter(15) other(1) -
57 ESNTP NTP error X critical(3) other(1) other(1) other(1) -
58 ESOCKET Socket error X critical(3) fieldService(5) channel(14) other(1) -
59 ESTALEID Status for job id has been recycled X critical(3) other(1) interpreter(15) other(1) -
60 EVERSIONGT Operation requires a later version X critical(3) other(1) other(1) other(1) -
61 EVERSIONLT Operation requires a previous version X critical(3) other(1) other(1) other(1) -
62 EWLANMODULE WLAN module error X critical(3) fieldService(5) channel(14) other(1) -
63 EXMLSCHEMA XML XSD error X critical(3) other(1) interpreter(15) other(1) -
subunitLifeAlm
64 guiWarning_changeBattery1 Change battery X warning(4) untrained(3) other(1) -
ostOver(10)
subunitLifeAlm
65 guiWarning_changeBattery2 Change battery X warning(4) untrained(3) other(1) -
ostOver(10)
subunitLifeAlm
66 guiWarning_changePlaten Change platen X warning(4) fieldService(5) mediaPath(13) -
ostOver(10)
subunitLifeAlm
67 guiWarning_changeTPH Change TPH X warning(4) fieldService(5) marker(10) -
ostOver(10)
68 guiWarning_cleanHead Clean head X warning(4) trained(4) marker(10) other(1) -
69 guiWarning_commandError Command error X warning(4) other(1) interpreter(15) other(1) -
70 guiWarning_headError Head error X warning(4) fieldService(5) marker(10) other(1) -
inputMediaSup bit #0
71 guiWarning_paperNearEnd Paper near end X warning(4) untrained(3) input(8)
plyLow(807) (lowPaper)
guiWarning_receiveBufferNe
72 Receive buffer near full X warning(4) other(1) channel(14) other(1) -
arFull
435
PW208NX/PW208mNX Printer MIB Host Resources MIB
Trap hrPrinterD
prtAlertSeverityL prtAlertTraini hrDeviceSta hrPrinterSt
# Alert Description prtAlertGroup prtAlertCode etectedErr
evel ngLevel tus atus
orState
73 guiWarning_unknownHead Unknown head X warning(4) fieldService(5) marker(10) other(1) -
bit #6
(offline) | bit
generalPrinter( subunitOffline(
74 mStatus_error Offline and error X critical(3) untrained(3) #7 down(5) other(1)
5) 22)
(serviceReq
uested)
idle(3) /
running(2)
75 mStatus_online|mStatus_aep Online - - - - - - printing(4)
/warning(3) *
**
generalPrinter( subunitOffline( bit #6
76 mStatus_offline Offline X critical(3) untrained(3) down(5) other(1)
5) 22) (offline)
77 mStatus_powerDown Power down - - - - - - down(5) other(1)
78 mStatus_init Initializing - - - - - - down(5) warmup(5)
79 mStatus_upgrading Upgrading - - - - - - down(5) other(1)
running(2)|w
80 mStatus_powersave Power Saving Mode - - - - - - arning(3)|do other(1)
wn(5) ***
running(2)|w
81 mStatus_wakeup Waking up from Power Saving Mode - - - - - - arning(3)|do warmup(5)
wn(5) ***
* warning(3) is set in the case of an active warning (guiWarning_xxx), else running(2) is set./warning
** printing(4) is set while printing a label, else idle(3) is set.
*** running(2) or warning(3) is set (see *) if the printer will wake up to the online state (mStatus_online), else down(5) is set.
436
Notes
• 150 ms to 200 ms interval is required to close port then open port, if you want to open and
close print data port (Port 1), Status port (Port 2) and send/received port (Port 3). Short interval
setting may cause double connection. Request for double connection occurs when [CONNECT]
request is made to Port (Port1, Port2 or Port3) in addition to the request [CONNECT (Socket
OPEN)] which has already been made to Port (Port1, Port2 or Port3). When printer receives
request for double connection, it sends response of Disconnection (Socket CLOSE) to the
request.
• Communication distance and transmission rate between host and printer (Wireless LAN board)
varies by operating environment due to operating conditions of Wireless LAN.
• It is recommended to use it in Infrastructure mode on the condition that display of field intensity
of Wireless LAN is level3 or above (following chart).
• It is likely that communication data is lost if environment of Wireless LAN is not appropriate
because Wireless LAN is portable or due to ambient conditions.
• Please set frequency of channel for each group to every [5 channel] or more than 5 channels if
you want to place few Wireless LAN network groups next to each other.
437
Bluetooth
Bluetooth interface of this printer complies with Bluetooth Ver. 3.0 standard.
Basic specification
Bluetooth settings
CRC transmission data
CRC calculation data
Example of transmission data
CRC error display
Transmission sequence
Basic specification
Standard
Bluetooth Ver. 3.0+EDR Power Class 2
Communication distance
10 m (Prescribed measurement environment)
Operation mode
Slave mode
Authentication level
Level 1: No authentication
Level 2-1: PIN code authentication, Service level, No encryption
Level 2-2: PIN code authentication, Service level, Encryption
Level 3: PIN code authentication, Service level, No encryption
Level 4: Support for secure simple pairing, Service level, Encryption
Initial value: No authentication
PIN code
ASCII code in 1 to 16 digits (20H,21H,23H to 7EH)
Initial value: 0000
Device name
ASCII code in 0 to 53 digits (20H,21H,23H to 7EH)
Initial value: SATO PRINTER_xxxxxxxxxxxx (xxxxxxxxxxxx is BD address)
438
Disconnection timeout period (SPP layer)
0 second (Initial value)
Parameter
Protocol Status 3
Status 4 (Initial value)
None
Pairing
Keep link keys for 10 devices
supervision timeout
Initial value=20 seconds (Changeable from host)
[Supplementary Explanation]
• Printer operates in slave mode. Before establishing connection, specify Bluetooth Device
address (BD address) from the master.
• Connection may not be established when master’s authentication mode, packet type, and PIN
code are different from above setting. In that case, confirm authentication level and PIN code by
[Tools] menu > [Test Print] > [Configure List] in [Settings] menu, match with master setting and
try reconnection.
• Bluetooth interface and printer is connected by internal serial interface.
• When Bluetooth LINK is lost (e.g. out of service area), disconnects from the printer after
supervision timeout period has passed. Supervision timeout period is monitoring time of
physical link layer.
• When Bluetooth communication is disconnected while sending print data (STX<A> to <Z>ETX),
the received data is discarded after disconnection time-out period has passed. It is required
to resend print data (STX<A> to <Z>ETX) when time out occurs. Time out is not monitored if
disconnection time out period is set to 0.
439
• Buffer over occurs if printer has full of receive buffer. Please send ENQ then send print data as
checking the status of receive buffer.
• ACK/NAK is returned when CRC check result is normal and CRC check is valid.
Parent topic Bluetooth
440
Bluetooth settings
Following items are available for Bluetooth interface setting.
(1) Authentication level (Level1, Level2-1, Level 2-2, Level 3, Level 4)
(2) PIN code (Alphanumeric character and codes (20H, 21H, 23H to 7EH) 1 to 16 digits)
PIN code (Personal Identification Number, Pass-key) consists of 1 to 16 codes and is an
authentication password to be used for identifying printer. This PIN code is required for
authentication level 2 to 4. When paring starts in printer after authentication with PIN code, link
key will be automatically generated. Once link key is generated, it is no longer necessary to
perform authentication with PIN code so that it is possible to establish connection during paring
without confirmation of PIN code.
Bluetooth specification Ver 3.0 module supports FastConnect. Information on pairing for 10
devices is saved under printer. When pairing is performed for 10 devices or more, printer
will delete the oldest information on paring then will save the information on paring of new
connected device. (Information on paring will not be cleared by Factory Clear)
(3) Communication parameter (ISI, ISW, PSI, PSW)
Bluetooth module has setting values of ISI, ISW, PSI, PSW, and the details are described in the
list below.
Setting Description
ISW (Inquiry Scan Window) Response time for search request from the host (0,17 to 4096)
(every 0.625 ms)
PSW (Page Scan Window) Response time for connection request from the host (17 to 4096)
(every 0.625 ms)
• When ISI=0 and ISW=0, device search from master device can be rejected.
• Initial values of factory clear are ISI=2048 (1.28 sec), ISW=18 (11.25 ms), PSI=144 (90 ms),
and PSW=18 (11.25 ms).
• It is prohibited to set as ISI<ISW nor PSI<PSW.
• Normally communication parameter does not need to be changed. However it needs to be
adjusted when the radio wave signals are low.
(4) Device name (Alphanumeric number and codes (20H, 21H, 23H to 7EH) 1 to 20 digits)
Any device name can be set and displayed on connected device to identify the printer.
Note:
Initialized communication parameter is set to Bluetooth interface as turning on the power
of printer for the first time after it was set. Do not turn off the power of printer until printer is
booted normally for reboot.
Parent topic Bluetooth
441
CRC transmission data
When CRC check mode is selected, transmit data format needs to be configured as follows.
*1
STX Commands ETX CRC_High CRC_Low
Commands - Commands+Parameter
• Start of Data Transmission <A> and End of Data Transmission <Z> shall be set to the
command.
STX and ETX must to be set in transmission data when CRC is enabled. When printer cannot
receive STX or ETX, print operation is not executed.
• Since it is a right shift, the actual value used for calculation will be 0xA001. Initial value is 0.
Parent topic Bluetooth
442
CRC calculation data
Following shows a part of CRC calculation process when sending print speed <CS> as an example.
Transmission data is STX <A> <CS>2 <Z> ETX, and this will be "02 1B 41 1B 43 53 32 1B 5A 03"
in HEX. The underlined area is CRC calculation range. Generating polynomial is expressed "1010
0000 0000 0001" as binary numbers. 1B is the first object of calculation and it is expressed "0001
1011" as binary numbers. Initial value of CRC is "0".
(1) CRC = CRC XOR Object data(1B) 0000 0000 0000 0000 (CRC)
XOR) 0000 0000 0001 1011 (1B)
CRC = 0000 0000 0001 1011
(1-1) A=CRC AND “0001” A=1
CRC= shift 1bit right of CRC CRC = 0000 0000 0000 1101
(1-1) If A=1, CRC XOR Generating 0000 0000 0000 1101 (CRC)
polynomial, and assign the result to XOR) 1010 0000 0000 0001 (Polynomial)
CRC. CRC = 1010 0000 0000 1100
If A=0, do nothing
(2-2) Calculate the same as (1-2). CRC is as CRC = 0101 0000 0000 0110
it is since A=0.
(3-2) Calculate the same as (1-2). CRC = 0010 1000 0000 0011
(5-2) Calculate the same as (1-2). CRC = 0101 1010 0000 0000
(6-2) Calculate the same as (1-2). CRC = 0010 1101 0000 0000
(7-2) Calculate the same as (1-2). CRC = 0001 0110 1000 0000
(8-2) Calculate the same as (1-2). CRC = 0000 1011 0100 0000
443
Example of transmission data
Following shows an example of transmission data.
(1) Print data
STX
<A>
<X22>,sato
<Q>0001
<Z>
ETX
71H 9CH
Following shows HEX data to be sent. CRC is shown with underline.
02 1B 41 1B 58 32 32 2C 53 41 54 4F 1B 51 30 30 30 31 1B 5A 03 71 9C
(2) Print speed Command <CS>
STX
<A>
<CS>2
<Z>
ETX
ECH 5EH
Following shows HEX data to be sent. CRC is shown with underline.
02 1B 41 1B 43 53 32 1B 5A 03 EC 5E
Parent topic Bluetooth
444
CRC error display
The printer checks the validity of receive data by calculating CRC for each received item and
comparing it with the received CRC. The receive data is proven to be invalid if both CRC does not
match, then it stops printing by generating the "CRC error" at the point when this item starts printing.
There are two ways to clear CRC error as follows.
1. Hold down [Feed/Select] key
Resumes printing from the print data with CRC error.
2. Hold down [Print/Select] key
Clears print data with CRC error and resume printing from next item
[Supplementary Explanation]
• Return status of Status3, 4 at the time of CRC error will be [Other errors].
Parent topic Bluetooth
445
Transmission sequence
Normal end
In case where communication is lost while transferring print data
In case where communication is lost while transferring status after receiving print data
Abnormal end when CRC check is enabled
Normal end
CONNECT
EN
ID number=[Space]
Status=Wait for Receive
Remaining label=[000000]
Job name=[Space]
ID number=[05]
Status=Printing
Status Remaining label=[000001]
Job name=[SATO]
DISCONNECT
446
Status 3 (CRC check is enabled)
CONNECT
ENQ (Status request command)
ID number=[Space]
Status=Wait for Receive
Status Remaining label=[000000]
ID number=[05]
Status Status=Printing
Remaining label=[000098]
DISCONNECT
447
Status 4 (CRC check is disabled)
HOST This product
CONNECT
ENQ (Status request command)
ID number=[Space]
Status=Wait for Receive
Status Remaining label=[000000]
Job name=[Space]
ID number=[05]
Status=Printing
Status Remaining label=[000100] Print 1st label
Job name=[SATO]
DISCONNECT
448
Status 3 (CRC check is disabled)
HOST This product
CONNECT
ENQ (Status request command)
ID number=[Space]
Status Status=Wait for Receive
Remaining label=[000000]
Status
Status=Printing Print 1st label
Remaining label=[000100]
ID number=[05]
Status Status=Paper end Error release
Remaining label=[000098] (Press [Print/Select] key)
ENQ (Status request command) Print 3rd label
ID number=[05]
Status Status=Printing
Remaining label=[000098]
ID number =[06]
Status Status =Printing Print 1st label
Remaining label =[000050]
DISCONNECT
449
In case where communication is lost while transferring print data
Note
• The print data cannot be guaranteed if communication through Bluetooth is disconnected while
sending print data.
Make sure to turn off the power of printer, then turn on it again to retransmit the print data.
ACK
Print
Note
• In case where communication through Bluetooth is disconnected while transmitting print data,
print data that has already been received, will be cleared after disconnection timeout period.
Disconnection
or communication failure
Note
• Print data cannot be guaranteed if communication through Bluetooth is disconnected while
sending print data as in the figure above. Please resend print data after turning off the power of
printer then on it again.
Parent topic Transmission sequence
450
In case where communication is lost while transferring status after
receiving print data
ACK
X Print
Disconnection
or communication failure
Note
• When ACK is not returned after sending print data, it shall be regarded as communication failure
and sending print data has to be stopped.
• ACK may not return when communication through Bluetooth is disconnected before this product
returns ACK.
451
Abnormal end when CRC check is enabled
CONNECT
Note
• Received data is cleared and ACK/NAK is not returned when the received printer data has CRC
error.
CONNECT
Note
• In case where receive data is not available in communication time-out period (10 sec) while
receiving print command, time-out occurs to clear print data that has already been received.
(ACK/NAK is not returned)
Parent topic Transmission sequence
452
NFC
Basic specification
Tag mode
Pass-through mode
Handover mode
Basic specification
Interface standard
NFC forum Type 2 Tag compliant
Communication distance
Height from center of antenna (at a mark of NFC antenna) is 0 mm: right and left ±5 mm
Height from center of antenna (at a mark of NFC antenna) is +10 mm: within the range of ±10 mm to
both right and left
Interface
No interface
* Automated recognition of module after Factory clear
Enable/Disable setting in Service mode (Module operation), Interface mode (Communication behavior)
Operation mode
Power OFF: Tag mode (Write NDEF format to NFC tag)
Power ON: Pass through mode, Bluetooth/Wi-Fi handover
453
Receive buffer size
2.95 MB
[Supplementary Explanation]
• NFC interface of this printer uses NT3H1101 provided by NXP Semiconductors.
It does not support single bytes command (Status communication).
454
Tag mode
This tag mode works when the power of printer is turned off.
It performs read/write from/to NFC tag memory (888 bytes).
Information on printer is written to NFC tag memory when the power of printer is turned off so that
device can obtain the information.
When the information on printer is written to NFC tag memory, the content of NFC tag memory is
sent to printer after turning on the power of printer.
Purpose: Printer setting, Information acquisition
Note
It is necessary to read information on device before writing to acquire information on device because
area to be used for reading and writing is the same.
Valid range of NFC tag memory is 800 bytes.
Setting information
Information on device
Data format
Transmission sequence
455
Data format
Received data
456
Transmission sequence
Normal end
Following shows the example of sequence for sending and receiving data.
NFC touch
Send/Receive data
Sending/Receiving
procedures
Latest data
"OK"
Abnormal End
"NG" is returned from API when there is communication error or tag memory error.
Device This product
NFC touch
Send/Receive data
Sending/Receiving
procedures
"NG"
457
Pass-through mode
Pass-through mode works when the power of printer is turned on.
Provides communication with printer via NFC tag.
Data communication is performed in between NFC device and NFC tag. The data is zipped and
unzipped by NFC controller and is sent to printer directly (through).
Purpose: Send small SBPL data (Print), Acquisition of printer setting, value, status.
* Small data here is about 1000 bytes (Assuming that device can hold this small data for two seconds or less
due to the operation. 8 Kbps from actual measurement). Handover mode is recommended to handle data
which is larger than 1000 bytes.
Note
If you are using NFC with printer is having near full operation (2 MB or more for printer receive
buffer), please check the status of buffer (RS parameter) with DC2+PG command and control
transmission (do not send print data until buffer near full is released) because this is not bidirectional
communication.
SBPL command
NFC controller
Buffer: 50KB
Status, Information on device
Data format
Transmission sequence
CRC-16-CCITT
458
Data format
459
Transmission sequence
Normal end
Following shows an example of sequence for sending and receiving data.
NFC touch
Wait for startup (transition to
online / offline screen) and
touch it.
"OK"
Receiving procedures
Final data
460
When a device is moved away from this product while the device is sending data to the product
This product will discard the received data.
NFC touch
Sending procedures
461
When a device is moved away from this product while the device is receiving data from the product
This product will discard send data.
Device This product
NFC touch
Sending procedures
Final data
"OK"
Receiving procedures
462
When CRC error occurs
This product will discard received data from printer then return "NG_CRCCHECK".
NFC touch
Sending procedures
Final data
Returns "NG_CRCCHECK"
(0x4E 0x47 0x5F 0x43 0x52 0x43
"NG_CRCCHECK"
0x43 0x0x48 0x45 0x43 0x4B).
3 buzzers
NFC touch
Sending procedures
Final data
"NG_OTHER"
Returns "NG_OTHER"
(0x4E 0x47 0x5F 0x4F 0x54 0x48
0x45 0x52 )
3 buzzer
463
CRC-16-CCITT
464
/* CRCtable */
unsigned short CRC16Table[ 256 ] = {
0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50A5, 0x60C6, 0x70E7,
0x8108, 0x9129, 0xA14A, 0xB16B, 0xC18C, 0xD1AD, 0xE1CE, 0xF1EF,
0x1231, 0x0210, 0x3273, 0x2252, 0x52B5, 0x4294, 0x72F7, 0x62D6,
0x9339, 0x8318, 0xB37B, 0xA35A, 0xD3BD, 0xC39C, 0xF3FF, 0xE3DE,
0x2462, 0x3443, 0x0420, 0x1401, 0x64E6, 0x74C7, 0x44A4, 0x5485,
0xA56A, 0xB54B, 0x8528, 0x9509, 0xE5EE, 0xF5CF, 0xC5AC, 0xD58D,
0x3653, 0x2672, 0x1611, 0x0630, 0x76D7, 0x66F6, 0x5695, 0x46B4,
0xB75B, 0xA77A, 0x9719, 0x8738, 0xF7DF, 0xE7FE, 0xD79D, 0xC7BC,
0x48C4, 0x58E5, 0x6886, 0x78A7, 0x0840, 0x1861, 0x2802, 0x3823,
0xC9CC, 0xD9ED, 0xE98E, 0xF9AF, 0x8948, 0x9969, 0xA90A, 0xB92B,
0x5AF5, 0x4AD4, 0x7AB7, 0x6A96, 0x1A71, 0x0A50, 0x3A33, 0x2A12,
0xDBFD, 0xCBDC, 0xFBBF, 0xEB9E, 0x9B79, 0x8B58, 0xBB3B, 0xAB1A,
0x6CA6, 0x7C87, 0x4CE4, 0x5CC5, 0x2C22, 0x3C03, 0x0C60, 0x1C41,
0xEDAE, 0xFD8F, 0xCDEC, 0xDDCD, 0xAD2A, 0xBD0B, 0x8D68, 0x9D49,
0x7E97, 0x6EB6, 0x5ED5, 0x4EF4, 0x3E13, 0x2E32, 0x1E51, 0x0E70,
0xFF9F, 0xEFBE, 0xDFDD, 0xCFFC, 0xBF1B, 0xAF3A, 0x9F59, 0x8F78,
0x9188, 0x81A9, 0xB1CA, 0xA1EB, 0xD10C, 0xC12D, 0xF14E, 0xE16F,
0x1080, 0x00A1, 0x30C2, 0x20E3, 0x5004, 0x4025, 0x7046, 0x6067,
0x83B9, 0x9398, 0xA3FB, 0xB3DA, 0xC33D, 0xD31C, 0xE37F, 0xF35E,
0x02B1, 0x1290, 0x22F3, 0x32D2, 0x4235, 0x5214, 0x6277, 0x7256,
0xB5EA, 0xA5CB, 0x95A8, 0x8589, 0xF56E, 0xE54F, 0xD52C, 0xC50D,
0x34E2, 0x24C3, 0x14A0, 0x0481, 0x7466, 0x6447, 0x5424, 0x4405,
0xA7DB, 0xB7FA, 0x8799, 0x97B8, 0xE75F, 0xF77E, 0xC71D, 0xD73C,
0x26D3, 0x36F2, 0x0691, 0x16B0, 0x6657, 0x7676, 0x4615, 0x5634,
0xD94C, 0xC96D, 0xF90E, 0xE92F, 0x99C8, 0x89E9, 0xB98A, 0xA9AB,
0x5844, 0x4865, 0x7806, 0x6827, 0x18C0, 0x08E1, 0x3882, 0x28A3,
0xCB7D, 0xDB5C, 0xEB3F, 0xFB1E, 0x8BF9, 0x9BD8, 0xABBB, 0xBB9A,
0x4A75, 0x5A54, 0x6A37, 0x7A16, 0x0AF1, 0x1AD0, 0x2AB3, 0x3A92,
0xFD2E, 0xED0F, 0xDD6C, 0xCD4D, 0xBDAA, 0xAD8B, 0x9DE8, 0x8DC9,
0x7C26, 0x6C07, 0x5C64, 0x4C45, 0x3CA2, 0x2C83, 0x1CE0, 0x0CC1,
0xEF1F, 0xFF3E, 0xCF5D, 0xDF7C, 0xAF9B, 0xBFBA, 0x8FD9, 0x9FF8,
0x6E17, 0x7E36, 0x4E55, 0x5E74, 0x2E93, 0x3EB2, 0x0ED1, 0x1EF0,
};
465
Handover mode
This mode works when the power of printer is turned on.
Read information on handover (Bluetooth, Wi-Fi connection), which is written to NFC tag memory
when the power of printer is turned OFF, from NFC tag memory, then connection is established with
Bluetooth or Wi-Fi based on the information.
Purpose: Send SBPL data (Print), Acquisition of printer setting, value, and status.
* Communication after connecting Handover shall be performed via Bluetooth or Wi-Fi.
Please refer to "Bluetooth" or "Wireless LAN" described before for data format and transmission
sequence.
Information on handover
Data communication
Parent topic NFC
466
Notes about the Interface
467
Extensive contact information for worldwide SATO
operations can be found on the Internet at
www.satoworldwide.com