SATO CL4NX Programming Reference Manual

SATO CL4NX Programming Reference Manual

Hide thumbs Also See for CL4NX:
Table of Contents

Advertisement

Programming Reference
For printer model:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CL4NX and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for SATO CL4NX

  • Page 1 Programming Reference For printer model:...
  • Page 2 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.
  • Page 3: Table Of Contents

    Table of Contents Part 1 SBPL Commands........10 Command list........................10 Initial Value of Operation Settings..................18 Font list..........................19 Example of Command reference..................23 Control command......................25 [ESC+A] Start Code........................... 25 [ESC+Z] Stop Code..........................26 [ESC+Q] Print Quantity........................27 [ESC+ID] Job ID Number........................28 [ESC+WK] Job Name.........................30 [ESC+CR] Status 5 reply check setting.....................
  • Page 4 Font command........................71 [ESC+X20] X20 font (Basic size 5 x 9 dots)..................71 [ESC+X21] X21 font (Basic size 17 x 17 dots)................. 73 [ESC+X22] X22 font (Basic size 24 x 24 dots)................. 75 [ESC+X23] X23 font (Basic size 48 x 48 dots)................. 77 [ESC+X24] X24 font (Basic size 48 x 48 dots).................
  • Page 5 [ESC+kD] 40 x 40 dots Kanji in vertical line with 1-byte character..........163 [ESC+T1] 16 x 16 dots external font registration................165 [ESC+T2] 24 x 24 dots external font registration................168 [ESC+K1(K2)] Recall horizontal writing external character............. 171 [ESC+k1(k2)] Recall vertical writing external character..............173 Barcode Command......................
  • Page 6 [ESC+CE] European code page...................... 359 [ESC+TK] Forced Tear Off....................... 361 [ESC+TW] Option Waiting Time.......................362 [ESC+CL] Delete CR/LF........................363 [ESC+VB] Barcode Checker......................364 [ESC+#] Base Reference Point (CL4NX Only)................366 Calendar Command......................367 [ESC+WT] Calendar Setup......................367 [ESC+WP] Calendar Arithmetic (Add)..................... 368 [ESC+WA] Calendar Print........................ 369 Memory Card Command....................
  • Page 7 [ESC+IP0] EPC code write (UHF M6e) (CL4NX Only)..............411 [ESC+F] EPC sequential number (UHF M6e) (CL4NX Only)............423 [ESC+IP5] Antenna output power (UHF M6e) (CL4NX Only)............424 [ESC+TM] Trademark print (UHF M6e) (CL4NX Only)..............426 [ESC+TU] Printing tag data (UHF M6e) (CL4NX Only)..............428 [ESC+RU] EPC/TID return (UHF M6e) (CL4NX Only)..............
  • Page 8 [DC2+PG] Printer status information acquisition................555 [DC2+PH] Cancel request........................559 [DC2+PI] Application change......................560 [DC2+PJ] EPC code read (UHF M6e) (CL4NX Only)..............562 [DC2+PK] EPC/TID return request (UHF M6e) (CL4NX Only)............566 [DC2+PJ] RFID read (ISO/IEC15693) (CL4NX Only)..............569 [DC2+PK] UID return request (ISO/IEC15693) (CL4NX Only)............575 [DC2+PJ] RFID read (ISO/IEC14443 TypeA) (CL4NX Only)............577...
  • Page 9 Reference flow chart......................... 642 Status 4............................643 Return sequence........................644 Status 5............................646 Receiving buffer control......................646 Return sequence........................646 RS-232C..........................649 Basic specification..........................649 READY/BUSY........................... 651 Connection diagram........................651 I/O signal........................... 651 Timing chart of multiple receive....................652 XON/XOFF............................653 Connection diagram........................653 I/O signal...........................
  • Page 10 Basic Specifications (Wireless LAN)....................681 Wireless LAN setting/Display items..................685 Specifications of software.........................687 Specifications of TCP/IP........................687 Specifications of LPR........................687 Specifications of FTP........................687 NTP (Network Time Protocol)......................688 Specifications of HTTP/HTTPS......................689 Wireless LAN settings........................691 802.1x authentication and certification..................691 Socket communication........................
  • Page 11 Basic Specifications..........................737 Layout plan for connector pin......................738 NFC........................... 739 Basic specification..........................739 Tag mode............................741 Data format..........................742 Transmission sequence......................743 Pass-through mode.......................... 744 Data format..........................744 Transmission sequence......................745 Handover mode..........................752 Notes about the Interface....................753...
  • Page 12: Part 1 Sbpl Commands

    Font command Barcode Command 2D Code Graphic Command System Command Calendar Command Memory Card Command Intelligent Command RFID Command (CL4NX Only) XML Command Common commands for all languages Time zone list Command list Yes: Available / No: Not available Control Command...
  • Page 13 Command Function CL4NX CL6NX ESC+/ </> Recall Form Overlay ESC+0 <0> Partial Edit ESC+WD <WD> Partial Copy ESC+J <J> Journal Print ESC+RF <RF> Recall Font & Logo ESC+RM <RM> Mirror Image ESC+KS <KS> Kanji set ESC+AL <AL> Field alignment Font...
  • Page 14 Command Function CL4NX CL6NX ESC+K4 <K4> 32x32 dots Kanji in horizontal line ESC+K5 <K5> 40x40 dots Kanji in horizontal line ESC+K8 <K8> 16x16 dots Kanji in horizontal line with 1-byte character ESC+K9 <K9> 24x24 dots Kanji in horizontal line with 1-byte character ESC+KA <KA>...
  • Page 15 Command Function CL4NX CL6NX ESC+BT <BT> Barcode Ratio Registration ESC+BW <BW> Barcode Print by Specified ratio ESC+BC <BC> CODE93 Barcode ESC+BF <BF> UPC Add-on (Bookland) ESC+BG <BG> CODE128 Barcode ESC+BI <BI> GS1-128 (UCC/EAN128)(Standard Carton ID Only) ESC+BP <BP> Postnet ESC+BS <BS>...
  • Page 16 Command Function CL4NX CL6NX ESC+GM <GM> BMP File Print ESC+GP <GP> PCX File Print System Command Function CL4NX CL6NX ESC+CS <CS> Print Speed ESC+#F <#F> Print Darkness ESC+#E <#E> Print Darkness (Compatible command) ESC+A1 <A1> Media Size ESC+A3 <A3> Base Reference Point ESC+EP <EP>...
  • Page 17 Command Function CL4NX CL6NX ESC+WP <WP> Calendar Arithmetic (Add) ESC+WA <WA> Calendar Print *1 Option: Calendar IC Memory card Command Function CL4NX CL6NX ESC+CC <CC> Card Slot for Use ESC+FM <FM> Memory Card Initialization ESC+BJF <BJF> Memory Card Initialization ESC+FP <FP>...
  • Page 18 Intelligent Command Function CL4NX CL6NX ESC+IK <IK> Label Feed Control RFID Command Function CL4NX CL6NX ESC+IP0 <IP0> EPC code write (UHF M6e) ESC+F <F> EPC sequential number (UHF M6e) ESC+IP5 <IP5> Antenna output power (UHF M6e) ESC+TM <TM> Trademark print (UHF M6e) ESC+TU <TU>...
  • Page 19 Common commands for all languages Command Function CL4NX CL6NX DC2+PA Printer setting DC2+PB Printer 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+PJ EPC code read (UHF M6e)
  • Page 20: Initial Value Of Operation Settings

    Initial Value of Operation Settings The initial values of operation setting are as follows: Item 8 dots/mm 12 dots/mm 24 dots/mm Print speed 6 inch/s 6 inch/s 4 inch/s Range: 2, 3, 4, 5, 6, 7, 8, 9, Range: 2, 3, 4, 5, 6, 7, 8 Range: 2, 3, 4, 5, 6 Range of print...
  • Page 21: Font List

    K5(k5) Bitmap [Kanji font] 40×40 dots Fixed $(shape) Outline font Fixed / Proportional $=(print) Kanji Outline font Fixed CG font [SATO CG Sleek] Fixed / Proportional CG font [SATO CG Stream] Fixed / Proportional Multiple language font Fixed / Proportional...
  • Page 22 Font Font type Pitch Scalable font Fixed / Proportional Expanded font Fixed pitch / proportional pitch Difference between outline font and bitmap font Setting change of Eurocode Limitation on non-standard codes Parent topic Part 1 SBPL Commands...
  • Page 23 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.
  • Page 24 Command Command name The range of Eurocode Code Page <U> U font (Basic size 5×9 dots) DOS 866 <S> S font (Basic size 8×15 dots) <M> M font (Basic size 13×20 dots) <WB> WB font (Basic size 18×30 dots) <WL> WL font (Basic size 28×52 dots) <$=>...
  • Page 25: Example Of Command Reference

    Example of Command reference [ESC+L] Enlargement Hexadecimal code Parameter <1B> <4C> aabb Initial value aa=01, bb=01 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>.
  • Page 26 ◦ 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>. ▪...
  • Page 27: Control Command

    Control command [ESC+A] Start Code [ESC+Z] Stop Code [ESC+Q] Print Quantity [ESC+ID] Job ID Number [ESC+WK] Job Name [ESC+CR] Status 5 reply check setting Parent topic Part 1 SBPL Commands [ESC+A] Start Code Hexadecimal code Parameter <1B> <41> Initial value Valid range and term of When the power is OFF The set command is not maintained.
  • Page 28: [Esc+Z] Stop Code

    [ESC+Z] Stop Code Hexadecimal code Parameter <1B> <5A> Initial value 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. Valid range between items The set command becomes invalid.
  • Page 29: [Esc+Q] Print Quantity

    [ESC+Q] Print Quantity Hexadecimal code Parameter <1B> <51> aaaaaa Initial value aaaaaa=1 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. Valid range between items The set parameter becomes invalid.
  • Page 30: [Esc+Id] Job Id Number

    [ESC+ID] Job ID Number Hexadecimal code Parameter <1B> <49> <44> aaaaa Initial value a=<20> 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 command becomes invalid.
  • Page 31 • 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...
  • Page 32: [Esc+Wk] Job Name

    The set command becomes invalid. [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] •...
  • Page 33: [Esc+Cr] Status 5 Reply Check Setting

    [ESC+CR] Status 5 reply check setting Hexadecimal code Parameter <1B> <43> <52> a(,b) Initial value 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 command becomes invalid.
  • Page 34: Print Position Command

    Any contents such as text, barcode, graphic exceed printing area will not be printed. [Initial Value and Valid Range of Parameter] Model Head density Initial value Valid range (dots) CL4NX 203 dpi 1 to 832 305 dpi 1 to 1248 609 dpi...
  • Page 35 Model Head density Initial value Valid range (dots) 1 to 1340 305 dpi 1 to 1984 1 to 2010 *1 Valid range when "Head Base Position" is set to "Standard". *2 Valid range when "Head Base Position" is set to "Left-justify". Parent topic Print Position Command...
  • Page 36: [Esc+V] Vertical Print Position

    Any contents such as text, barcode and graphic exceed printing area will not be printed. [Initial Value and Valid Range of Parameter] Model Head density Initial value Valid range (dots) CL4NX 203 dpi 1 to 20000 305 dpi 1 to 18000 609 dpi...
  • Page 37: Modification Command

    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]...
  • Page 38 [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>...
  • Page 39: [Esc+L] Enlargement

    [ESC+L] Enlargement Hexadecimal code Parameter <1B> <4C> aabb Initial value aa=01, bb=01 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>.
  • Page 40: [Esc+Ps] Proportional Pitch

    [ESC+PS] Proportional Pitch Hexadecimal code Parameter <1B> <50> <53> Initial value 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>.
  • Page 41: [Esc+Pr] Release Proportional Pitch

    [ESC+PR] Release Proportional Pitch Hexadecimal code Parameter <1B> <50> <52> Initial value 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>.
  • Page 42: [Esc+%] Rotation

    [ESC+%] Rotation Hexadecimal code Parameter <1B> <25> Initial value 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>.
  • Page 43 Base ref. Base ref. Base ref. Base ref. Parallel 1 (0-degree) Parallel 2 (180-degree) Serial 1 (90-degree) 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>...
  • Page 44: [Esc+F] Sequential Number

    [ESC+F] Sequential number Hexadecimal code Parameter <1B> <46> aaaabcccc(,dd,ee,f) Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 45 • 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.
  • Page 46: [Esc+Fw] Ruled / Grid Line Print

    [ESC+FW] Ruled / Grid Line Print Hexadecimal code Parameter <1B> <46> <57> Rule   aabccccc Grid   aabbVcccccHddddd Initial value 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.
  • Page 47 If setting the grid line wider, it will be widened inward. [Valid Range] Model Head density Valid range: Valid range: Horizontal (dots) Vertical (dots) CL4NX 203 dpi 1 to 832 1 to 20000 305 dpi 1 to 1248 1 to 18000 609 dpi...
  • Page 48: [Esc+Fc] Print Circle

    [ESC+FC] Print Circle Hexadecimal code Parameter <1B> <46> <43> ,aaa,bbb(,c,d) Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 49 [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".
  • Page 50: [Esc+Ft] Print Triangle

    [ESC+FT] Print Triangle Hexadecimal code Parameter <1B> <46> <54> ,aaaa,bbbb(,cccc,d) Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 51 [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.)
  • Page 52: Esc+(] Reverse Color Print

    [ESC+(] Reverse Color Print Hexadecimal code Parameter <1B> <28> aaaa,bbbbb Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 53 [Valid Range] Model Head density Valid range: Area Valid range: Area in in horizontal vertical direction (dots) direction (dots) CL4NX 203 dpi 8 to 832 8 to 20000 305 dpi 8 to 1248 8 to 18000 609 dpi 8 to 2496...
  • Page 54: [Esc+Kc] Kanji Code

    [ESC+KC] Kanji Code Hexadecimal code Parameter <1B> <4B> <43> Initial value a=5 (GB18030 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 is valid until the next valid setting. Valid range between items The set parameter becomes initial value at the next item <A>.
  • Page 55 <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. •...
  • Page 56: [Esc+&] Store Form Overlay

    [ESC+&] Store Form Overlay Hexadecimal code & Parameter <1B> <26> (aab ~ b) Initial value 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.
  • Page 57 [Valid Commands] Print position <V> <H> 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>...
  • Page 58: [Esc+/] Recall Form Overlay

    [ESC+/] Recall Form Overlay Hexadecimal code Parameter <1B> <2F> (aa) Initial value 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.
  • Page 59: [Esc+0] Partial Edit

    [ESC+0] Partial Edit Hexadecimal code Parameter <1B> <30> Initial value 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. Valid range between items The set command becomes invalid.
  • Page 60: [Esc+Wd] Partial Copy

    [ESC+WD] Partial Copy Hexadecimal code Parameter <1B> <57> <44> VaaaaaHbbbbYcccccXdddd Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 61 Vertical start point point of original data of original data Horizontal dot size of Vertical dot size of original data (dots) original data (dots) CL4NX 203 dpi 1 to 832 1 to 20000 305 dpi 1 to 1248 1 to 18000...
  • Page 62: [Esc+J] Journal Print

    [ESC+J] Journal Print Hexadecimal code Parameter <1B> <4A> a...a+CR<0D> Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 63: [Esc+Rf] Recall Font & Logo

    [ESC+RF] Recall Font & Logo Hexadecimal code Parameter <1B> <52> <46> aabbbb,n...n Initial value aa=01, bbbb=1 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. Valid range between items The set parameter becomes invalid.
  • Page 64: [Esc+Rm] Mirror Image

    [ESC+RM] Mirror Image Hexadecimal code Parameter <1B> <52> <4D> aaaa,bbbbb Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 65 Head density Valid range (dots) Horizontal start Vertical start position position of mirror of mirror rotation rotation specification specification CL4NX 203 dpi 1 to 832 1 to 20000 305 dpi 1 to 1248 1 to 18000 609 dpi 1 to 2498...
  • Page 66 Model Head density Valid range (dots) Horizontal range Vertical range of of mirror rotation mirror rotation 609 dpi 8 to 2498 8 to 9600 CL6NX 203 dpi 8 to 20000 8 to 1216 1 to 1340 305 dpi 8 to 18000 8 to 1984 8 to 2010 *1 Valid range when "Head Base Position"...
  • Page 67: [Esc+Ks] Kanji Set

    [ESC+KS] Kanji Set Hexadecimal code Parameter <1B> <4B> <53> Initial value 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.
  • Page 68: [Esc+Al] Field Alignment

    [ESC+AL] Field alignment Hexadecimal code Parameter <1B> <41> <4C> Initial value 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>.
  • Page 69 [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.
  • Page 70 • 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. In this case, command error will The characters will not be printed not occur but the characters that because it runs over from printable...
  • Page 71 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. ◦...
  • Page 72 [Available commands] Font <XU> <XS> <XM> <XB> <XL> <OA> <OB> <U> <S> <M> <WB> <WL> <X20> <X21> <X22> <X23> <X24> <$=> <RD> <RH> <RG> <K1> <K2> <K3> <K4> <K5> <K8> <K9> <KA> <KB> <KD> <k1> <k2> <k3> <k4> <k5> <k8> <k9>...
  • Page 73: Font Command

    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]...
  • Page 74 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...
  • Page 75: [Esc+X21] X21 Font (Basic Size 17 X 17 Dots)

    [ESC+X21] X21 font (Basic size 17 x 17 dots) Hexadecimal code Parameter <1B> <58> <32> <31> ,n...n Initial value 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.
  • Page 76 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...
  • Page 77: [Esc+X22] X22 Font (Basic Size 24 X 24 Dots)

    [ESC+X22] X22 font (Basic size 24 x 24 dots) Hexadecimal code Parameter <1B> <58> <32> <32> ,n...n Initial value 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.
  • Page 78 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...
  • Page 79: [Esc+X23] X23 Font (Basic Size 48 X 48 Dots)

    [ESC+X23] X23 font (Basic size 48 x 48 dots) Hexadecimal code Parameter <1B> <58> <32> <33> ,an...n Initial value 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.
  • Page 80 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...
  • Page 81: [Esc+X24] X24 Font (Basic Size 48 X 48 Dots)

    [ESC+X24] X24 font (Basic size 48 x 48 dots) Hexadecimal code Parameter <1B> <58> <32> <34> ,an...n Initial value 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.
  • Page 82 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...
  • Page 83: [Esc+Xu] Xu Font (Basic Size 5 X 9 Dots)

    [ESC+XU] XU font (Basic size 5 x 9 dots) Hexadecimal code Parameter <1B> <58> <55> n...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 84 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...
  • Page 85: [Esc+Xs] Xs Font (Basic Size 17 X 17 Dots)

    [ESC+XS] XS font (Basic size 17 x 17 dots) Hexadecimal code Parameter <1B> <58> <53> n...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 86 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...
  • Page 87: [Esc+Xm] Xm Font (Basic Size 24 X 24 Dots)

    [ESC+XM] XM font (Basic size 24 x 24 dots) Hexadecimal code Parameter <1B> <58> <4D> n...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 88 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...
  • Page 89: [Esc+Xb] Xb Font (Basic Size 48 X 48 Dots)

    [ESC+XB] XB font (Basic size 48 x 48 dots) Hexadecimal code Parameter <1B> <58> <42> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 90 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...
  • Page 91: [Esc+Xl] Xl Font (Basic Size 48 X 48 Dots)

    [ESC+XL] XL font (Basic size 48 x 48 dots) Hexadecimal code Parameter <1B> <58> <4C> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 92 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...
  • Page 93: [Esc+Oa] Ocr-A Font

    [ESC+OA] OCR-A font Hexadecimal code Parameter <1B> <4F> <41> n...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 94 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...
  • Page 95: [Esc+Ob] Ocr-B Font

    [ESC+OB] OCR-B font Hexadecimal code Parameter <1B> <4F> <42> n...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 96 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...
  • Page 97: [Esc+U] U Font (Basic Size 5 X 9 Dots)

    [ESC+U] U Font (Basic size 5 x 9 dots) Hexadecimal code Parameter <1B> <55> n...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 98 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...
  • Page 99: [Esc+S] S Font (Basic Size 8 X 15 Dots)

    [ESC+S] S Font (Basic size 8 x 15 dots) Hexadecimal code Parameter <1B> <53> n...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 100 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...
  • Page 101: [Esc+M] M Font (Basic Size 13 X 20 Dots)

    [ESC+M] M Font (Basic size 13 x 20 dots) Hexadecimal code Parameter <1B> <4D> n...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 102 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...
  • Page 103: [Esc+Wb] Wb Font (Basic Size 18 X 30 Dots)

    [ESC+WB] WB Font (Basic size 18 x 30 dots) Hexadecimal code Parameter <1B> <57> <42> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 104 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...
  • Page 105: [Esc+Wl] Wl Font (Basic Size 28 X 52 Dots)

    [ESC+WL] WL font (Basic size 28 x 52 dots) Hexadecimal code Parameter <1B> <57> <4C> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 106 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...
  • Page 107: [Esc+$] Outline Font Design

          8:   Normal italic font       9:   White italic characters with shadow on black background *1 Will specify Kanji outline font [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>...
  • Page 108 [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.
  • Page 109: [Esc+$=] Outline Font Print

    [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 <$>.
  • Page 110 [Valid Commands] Print position <V> <H> Modification <P> <%> <$> <F> Calendar <WA> *1 This command requires optional calendar IC. Outline Font Character Set Characters consists of 50 x 50 dots, Standard font (Black) 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.
  • Page 111: [Esc+Rd] Cg Font

    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]   Symbol Parameter name Setting Character set value Character encoding Character set specified by <CE>...
  • Page 112   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] •...
  • Page 113 [Font size range] Head density Valid range: Valid range: Width range (dots) Height range (dots) 203 dpi 4 to 832 4 to 999 305 dpi 5 to 999 5 to 999 609 dpi 9 to 999 9 to 999 [Valid Commands] Print position <V>...
  • Page 114 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.
  • Page 115 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.
  • Page 116: [Esc+Rg] Multiple Language

    [ESC+RG] Multiple language Hexadecimal code Parameter <1B> <52> <47> a,b,c,ddd,eee,ffff…fff Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 117 [Font set list] Parameter Font name Font set Font type Character code range (UTF-16BE) SATO Hebe Sans WGL4 Hebe Serif 0020-FB02 SATO Hebe Sans Arabic Arabic (Farsi) Hebe Serif 0020-00FF, +ISO8859-1 0600-06FF, FE70-FEFC SATO Hebe Sans Thai Thai+ISO8859-1 Hebe Serif 0020-00FF, 0E01-0E5B...
  • Page 118 Big5 Mincho SATO Roman Arabic Arabic+ISO8859-1 Roman 0020-00FF, 0600-06FF, FDF2, FE70-FEFC SATO Hebe Sans Hebrew Hebrew Hebe Serif 0020-00FF, +ISO8859-1 05B0-05F4, FB1D-FB4F [Coding example] Character code = UTF16, Font set = SJIS, Modification = Standard, Width = 20 dots, Height = 20 dots, Print data = SATO...
  • Page 119 UNICODE (UTF-16BE), GB18030, UNICODE (UTF-8) KSX1001 (EUC-KR) UNICODE (UTF-16BE), KSX1001 (EUC-KR), UNICODE(UTF-8) • SATO Roman Arabic does not correspond to Farsi. • Recommended fonts if you specify "-" in parameter a and print character set of <CE> <CE> <RG> Parameter a...
  • Page 120 1257 Win 1257 IBM 869 UTF-8 UTF-8 X0201 SATO Gothic Japanese SATO Mincho Japanese • 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] Print position <V>...
  • Page 121 Multiple language sample Print sample in following condition: Head density: 8 dots/mm, 28 x 28 point Parent topic Font command...
  • Page 122: [Esc+Rh] Scalable Font

    [ESC+RH] Scalable font Hexadecimal code Parameter <1B> <52> <47> a,b…b,c,ddd,eee,f…f Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 123 SATO Serif SATOSYM.ttf SATO Symbol Set SATOVICA.ttf SATO Vica SATOWING.ttf SATO WingBats [Coding example1] Printing of the built-in (scalable) font Character code=UTF16BE, Font set=SATO CG Stream, Modification=Standard, Width=20 dots, Height=20 dots, Print data= SATO <A> <V>100<H>100<P>2 <RH>1,SATOCGStream.ttf,0,20,20,<FF33> <FF21> <FF34> <FF2F>...
  • Page 124 Recommended fonts if you specify "-" in parameter a and print character set of <CE> <CE> <RH> Parameter a Official Parameter b Font name name DOS 858 SATOCGSleek.ttf SATO CG Sleek SATOCGStream.ttf SATO CG Stream 88591 ISO 8859/1 88592 ISO 8859/2 88599 ISO 8859/9 DOS 850...
  • Page 125 ◦ 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.
  • Page 126 Scalable font sample Print sample in following condition: Head density: 8 dots/mm, 30 x 30 point Parent topic Font command...
  • Page 127: [Esc+K1] 16 X 16 Dots Kanji In Horizontal Line

    [ESC+K1] 16 x 16 dots Kanji in horizontal line Hexadecimal code Parameter <1B> <4B> <31> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 128 • 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.
  • Page 129: [Esc+K2] 24 X 24 Dots Kanji In Horizontal Line

    [ESC+K2] 24 x 24 dots Kanji in horizontal line Hexadecimal code Parameter <1B> <4B> <32> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 130 • 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.
  • Page 131: [Esc+K3] 22 X 22 Dots Kanji In Horizontal Line

    [ESC+K3] 22 x 22 dots Kanji in horizontal line Hexadecimal code Parameter <1B> <4B> <33> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 132 • 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.
  • Page 133: [Esc+K4] 32 X 32 Dots Kanji In Horizontal Line

    [ESC+K4] 32 x 32 dots Kanji in horizontal line Hexadecimal code Parameter <1B> <4B> <34> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 134 • 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.
  • Page 135: [Esc+K5] 40 X 40 Dots Kanji In Horizontal Line

    [ESC+K5] 40 x 40 dots Kanji in horizontal line Hexadecimal code Parameter <1B> <4B> <35> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 136 • 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.
  • Page 137: [Esc+K8] 16 X 16 Dots Kanji In Horizontal Line With 1-Byte Character

    [ESC+K8] 16 x 16 dots Kanji in horizontal line with 1-byte character Hexadecimal code Parameter <1B> <4B> <38> an...n Initial value 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.
  • Page 138 [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. •...
  • Page 139: [Esc+K9] 24 X 24 Dots Kanji In Horizontal Line With 1-Byte Character

    [ESC+K9] 24 x 24 dots Kanji in horizontal line with 1-byte character Hexadecimal code Parameter <1B> <4B> <39> an...n Initial value 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.
  • Page 140 [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. •...
  • Page 141: [Esc+Ka] 22 X 22 Dots Kanji In Horizontal Line With 1-Byte Character

    [ESC+KA] 22 x 22 dots Kanji in horizontal line with 1-byte character Hexadecimal code Parameter <1B> <4B> <41> an...n Initial value 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.
  • Page 142 [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. •...
  • Page 143: [Esc+Kb] 32 X 32 Dots Kanji In Horizontal Line With 1-Byte Character

    [ESC+KB] 32 x 32 dots Kanji in horizontal line with 1-byte character Hexadecimal code Parameter <1B> <4B> <42> an...n Initial value 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.
  • Page 144 [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.
  • Page 145: [Esc+Kd] 40 X 40 Dots Kanji In Horizontal Line With 1-Byte Character

    [ESC+KD] 40 x 40 dots Kanji in horizontal line with 1-byte character Hexadecimal code Parameter <1B> <4B> <44> an...n Initial value 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.
  • Page 146 [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.
  • Page 147: [Esc+K1] 16 X 16 Dots Kanji In Vertical Line

    [ESC+k1] 16 x 16 dots Kanji in vertical line Hexadecimal code Parameter <1B> <6B> <31> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 148 [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 •...
  • Page 149: [Esc+K2] 24 X 24 Dots Kanji In Vertical Line

    [ESC+k2] 24 x 24 dots Kanji in vertical line Hexadecimal code Parameter <1B> <6B> <32> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 150 [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 •...
  • Page 151: [Esc+K3] 22 X 22 Dots Kanji In Vertical Line

    [ESC+k3] 22 x 22 dots Kanji in vertical line Hexadecimal code Parameter <1B> <6B> <33> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 152 • 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.
  • Page 153: [Esc+K4] 32 X 32 Dots Kanji In Vertical Line

    [ESC+k4] 32 x 32 dots Kanji in vertical line Hexadecimal code Parameter <1B> <6B> <34> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 154 • 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.
  • Page 155: [Esc+K5] 40 X 40 Dots Kanji In Vertical Line

    [ESC+k5] 40 x 40 dots Kanji in vertical line Hexadecimal code Parameter <1B> <6B> <35> an...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 156 • 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.
  • Page 157: [Esc+K8] 16 X 16 Dots Kanji In Vertical Line With 1-Byte Character

    [ESC+k8] 16 x 16 dots Kanji in vertical line with 1-byte character Hexadecimal code Parameter <1B> <6B> <38> an...n Initial value 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.
  • Page 158 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.
  • Page 159: [Esc+K9] 24 X 24 Dots Kanji In Vertical Line With 1-Byte Character

    [ESC+k9] 24 x 24 dots Kanji in vertical line with 1-byte character Hexadecimal code Parameter <1B> <6B> <39> an...n Initial value 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.
  • Page 160 [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. •...
  • Page 161: [Esc+Ka] 22 X 22 Dots Kanji In Vertical Line With 1-Byte Character

    [ESC+kA] 22 x 22 dots Kanji in vertical line with 1-byte character Hexadecimal code Parameter <1B> <6B> <41> an...n Initial value 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.
  • Page 162 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.
  • Page 163: [Esc+Kb] 32 X 32 Dots Kanji In Vertical Line With 1-Byte Character

    [ESC+kB] 32 x 32 dots Kanji in vertical line with 1-byte character Hexadecimal code Parameter <1B> <6B> <42> an...n Initial value 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.
  • Page 164 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.
  • Page 165: [Esc+Kd] 40 X 40 Dots Kanji In Vertical Line With 1-Byte Character

    [ESC+kD] 40 x 40 dots Kanji in vertical line with 1-byte character Hexadecimal code Parameter <1B> <6B> <44> an...n Initial value 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.
  • Page 166 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.
  • Page 167: [Esc+T1] 16 X 16 Dots External Font Registration

    [ESC+T1] 16 x 16 dots external font registration Hexadecimal code Parameter <1B> <54> <31> abbn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 168 <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> <00FF..FF00> <Z>    <A> <KS>0 <KC>1 <CC>0 <V>100<H>200<K1>B<90> <40> <Q>2 <Z> [Coding Example 3] Registration data in Unicode binary code. <A> <KS>0 <KC>2 <CC>0...
  • Page 169 [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>). •...
  • Page 170: [Esc+T2] 24 X 24 Dots External Font Registration

    [ESC+T2] 24 x 24 dots external font registration Hexadecimal code Parameter <1B> <54> <32> abbn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 171 <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> <00FF..FF00> <Z>     <A> <KS>0 <KC>1 <CC>0 <V>100<H>200<K1>B<90> <40> <Q>2 <Z> [Coding Example 3] Registration data in Unicode binary code. <A> <KS>0 <KC>2 <CC>0...
  • Page 172 [Supplemental explanation] • Registering 24 x 24 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>). •...
  • Page 173: [Esc+K1(K2)] Recall Horizontal Writing External Character

    [ESC+K1(K2)] Recall horizontal writing external character Hexadecimal code K1(K2) Parameter <1B> <4B> <31> ab...b (<4B> <32> Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 174 [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>...
  • Page 175: [Esc+K1(K2)] Recall Vertical Writing External Character

    [ESC+k1(k2)] Recall vertical writing external character Hexadecimal code k1(k2) Parameter <1B> <6B> <31> ab...b (<6B> <32> Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 176 [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>...
  • Page 177: Barcode Command

    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.
  • Page 178   (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.
  • Page 179 (2) Specification of <D> (No HRI, Guard bar available) If specifying <D>, following barcode will be printed. 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>.  ...
  • Page 180 Barcode specification parameter Barcode specification <B> UCC/EAN 128 for standard carton Barcode only [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.
  • Page 181 (5) Composition of check digit Refer to the table below for check digit in each barcode. [Composition of C/D] Barcode specification Barcode Input Print digit number and contents parameter specification digit JAN/EAN13 12-digit 13-digit (Input data of barcode + C/D) C/D is calculated by modulus10.
  • Page 182 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 12 dots/mm 24 dots/mm Bar width ratio 1:2 2L or more...
  • Page 183: [Esc+B] Barcode (Ratio 1:3)

    [ESC+B] Barcode (Ratio 1:3) Hexadecimal code Parameter <1B> <42> abbcccn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 184 Barcode type Description Ratio For print data specifications, refer to table of Industrial 2of5 code. Matrix 2of5 Barcode character pitch is enabled. For print data specifications, refer to table of Matrix 2of5 code. Specify 13-digit number for print data. Fixed For print data specifications, refer to table of MSI code.
  • Page 185 [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.
  • Page 186: [Esc+D] Barcode (Ratio 1:2)

    [ESC+D] Barcode (Ratio 1:2) Hexadecimal code Parameter <1B> <44> abbcccn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 187 Barcode type Description Ratio For print data specifications, refer to table of Industrial 2of5 code. Matrix 2of5 Barcode character pitch is enabled. For print data specifications, refer to table of Matrix 2of5 code. UPC-A This barcode has no human-readable characters but guard bar. Fixed For print data specifications, refer to table of UPC-A code.
  • Page 188 [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.
  • Page 189: [Esc+D] ~ [Esc+D] Barcode (With Hri)

    [ESC+D] ~ [ESC+d] Barcode (with HRI) Hexadecimal code D ~ d Parameter <1B> <44> ~ Character type abbcccn...n ~ <d>n...n Initial value 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.
  • Page 190 [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.
  • Page 191: [Esc+Bd] Barcode (Ratio 2:5)

    [ESC+BD] Barcode (Ratio 2:5) Hexadecimal code Parameter <1B> <42> <44> abbcccn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 192 Barcode type Descriptions Ratio Matrix 2of5 Barcode character pitch is enabled. For print data specifications, refer to table of Matrix 2of5 code. 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...
  • Page 193 [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...
  • Page 194: [Esc+Bt] Barcode Ratio Registration

    [ESC+BT] Barcode Ratio Registration Hexadecimal code Parameter <1B> <42> <54> abbccddee Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 195: [Esc+Bw] Barcode Print By Specified Ratio

    [ESC+BW] Barcode print by specified ratio Hexadecimal code Parameter <1B> <42> <57> aabbbn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 196 [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.
  • Page 197 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.
  • Page 198 CODE39 Code table Parent topic Barcode Command...
  • Page 199: [Esc+Bc] Code 93 Barcode

    [ESC+BC] CODE 93 Barcode Hexadecimal code Parameter <1B> <42> <43> aabbbccn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 200 CODE93 Code table You can specify from 00H to 7FH for CODE93. Parent topic Barcode Command...
  • Page 201: [Esc+Bf] Upc Add-On (Bookland)

    [ESC+BF] UPC Add-on (Bookland) Hexadecimal code Parameter <1B> <42> <46> aabbbn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 202 UPC Add-on Barcode Code table Parent topic Barcode Command...
  • Page 203: [Esc+Bg] Code 128 Barcode

    [ESC+BG] Code 128 Barcode Hexadecimal code Parameter <1B> <42> <47> aabbbn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 204 ▪ 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. ◦...
  • Page 205 >” ># >$ >% >& >’ >( >) >* >+ >, >- >. >/ >0 >1 >2 >3 >4 >5 >6 >7 >8 >9 >: { >; >< | >= } >> ~ >? >? FNC3 >@ FNC3 >@ FNC2 >A FNC2 >A...
  • Page 206: [Esc+Bi] Gs1-128 (Ucc/Ean128) (Standard Carton Id Only)

    [ESC+BI] GS1-128 (UCC/EAN128) (Standard Carton ID Only) Hexadecimal code Parameter <1B> <42> <49> aabbbcn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 207 [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. •...
  • Page 208 ITF, Matrix 2of5, Industrial 2of5, UPC-A, JAN/EAN8, JAN/EAN13, UPC-E, GS1-128 (UCC/EAN128), MSI Code table Parent topic Barcode Command...
  • Page 209: [Esc+Bp] Postnet

    [ESC+BP] Postnet Hexadecimal code Parameter <1B> <42> <50> n...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 210 POSTNET Code table Parent topic Barcode Command...
  • Page 211: [Esc+Bs] Usps Barcode

    [ESC+BS] USPS Barcode Hexadecimal code Parameter <1B> <42> <53> aabbbccccccddddddddd(e...e) Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 212 USPS Code table Parent topic Barcode Command...
  • Page 213: [Esc+Eu] Composite Symbol

    [ESC+EU] Composite symbol Hexadecimal code Parameter <1B> <45> <55> aaabbn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 214 ◦ 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. ◦...
  • Page 215 ◦ 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.
  • Page 216 [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>...
  • Page 217 [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...
  • Page 218 [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>...
  • Page 219 [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). •...
  • Page 220 Code table for Composite Symbol 2D Barcode * Use ‘#’(23H) for specifying FNC1. Parent topic Barcode Command...
  • Page 221: [Esc+Bl] Upc-A Barcode (Without Hrl)

    [ESC+BL] UPC-A Barcode (Without HRl) Hexadecimal code Parameter <1B> <42> <4C> abbcccn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 222 [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 •...
  • Page 223: [Esc+Bl] ~ [Esc+D] Upc-A Barcode (Specifying Hrl)

    [ESC+BL] ~ [ESC+d] UPC-A Barcode (Specifying HRl) Hexadecimal code BL ~ d Parameter <1B> <42> <4C> ~ character abbcccn...n ~ <d>n...n type Initial value 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.
  • Page 224 [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. •...
  • Page 225: [Esc+Bm] Upc-A Barcode (With Hri)

    [ESC+BM] UPC-A Barcode (With HRI) Hexadecimal code Parameter <1B> <42> <4D> abbcccn...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 226 [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] 305 dpi (12 dots/mm) : Set Narrow bar width to [03] or [04] 609 dpi (24 dots/mm) : Set Narrow bar width to [06] or [07] or [08] When the value other than above are specified, HRI is not printed.
  • Page 227: 2D Code

    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]...
  • Page 228 [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>...
  • Page 229 • 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.
  • Page 230: [Esc+2D12] Micro Pdf417

    [ESC+2D12] Micro PDF417 Hexadecimal code 2D12 Parameter <1B> <32> <44> <31> <32> ,aa,bb,c,dd(,e) Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 231 [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 and 12 dots/mm print head, and 4 dots for 24 dots/mm print head because the minimum module width and minimum module height of QR code may not be read by the scanner.
  • Page 232 Symbol size Maximum number of data Cols (c) Rows (d) Alphabet (A-Z) Numeric Binary mode • Way of mixing alphabets (Capital, lower case), numeric characters and control codes differs by combination of number of characters.
  • Page 233 Micro PDF417 Code table Micro PDF417 can specify (00)16 to (FF)16 to print data when binary mode is specified. Parent topic 2D Code...
  • Page 234: [Esc+2D20] Maxicode

    [ESC+2D20] MaxiCode Hexadecimal code 2D20 Parameter <1B> <32> <44> <32> <30> ,a(,bbb,ccc,d...d) Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 235 [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.
  • Page 236 MaxiCode Code table MaxiCode can specify from 01H to FFH. Parent topic 2D Code...
  • Page 237: [Esc+2D30] Qr Code (Model 2)

    [ESC+2D30] QR Code (Model 2) Hexadecimal code 2D30 Parameter <1B> <32> <44> <33> <30> ,a,bb,c,d(,ee,ff,gg) Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 238 [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...
  • Page 239 <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 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.
  • Page 240 QR Code data size list (Model 2) Version Error Numeric Alpha- Kanji Binary Version Error Numeric Alpha- Kanji Binary Correction Numeric Correction Numeric 21×21 61×61 25×25 65×65 1022 29×29 69×69 1101 33×33 73×73 1250 37×37 77×77 1408 1082 41×41 81×81 1548 1212 45×45...
  • Page 241 Version Error Numeric Alpha- Kanji Binary Version Error Numeric Alpha- Kanji Binary Correction Numeric Correction Numeric 2232 1352 4417 2677 1132 1840 1708 1035 3486 2113 1452 101×101 1224 141×141 2473 1499 1030 1897 1150 2409 1460 1003 4686 2840 1201 1952 1872...
  • Page 242: [Esc+2D31] Qr Code (Model 1)

    [ESC+2D31] QR Code (Model 1) Hexadecimal code 2D31 Parameter <1B> <32> <44> <33> <31> ,a,bb,c,d(,ee,ff,gg) Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 243 [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. •...
  • Page 244 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] •...
  • Page 245 QR Code data size list (Model 1) Error Alpha- Error Alpha- Version Kanji Binary Version Kanji Binary Numeric Numeric Correction numeric Correction numeric 21×21 57×57 25×25 61×61 65×65 29×29 1030 33×33 69×69 1167 37×37 73×73 41×41 45×45 49×49 53×53 Parent topic 2D Code...
  • Page 246: [Esc+2D32] Micro Qr Code

    [ESC+2D32] Micro QR Code Hexadecimal code 2D32 Parameter <1B> <32> <44> <33> <32> ,a,bb,c Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 247 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>...
  • Page 248 [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...
  • Page 249 QR Code (Numeric mode) Code table B8 0 0011 B7 0 1100 B6 0 1100 B5 0 B4 B3 B2 B1...
  • Page 250 QR Code (Alphanumeric mode) Code table B8 0 0111 B7 0 B6 0 B5 0 B4 B3 B2 B1 SP 0...
  • Page 251 QR Code (Binary mode) Code table B8 0 0111 B7 0 B6 0 B5 0 B4 B3 B2 B1 SP 0 “ & ‘ < > QR Code can specify from 00H to 7FH, and from A0H to DFH.
  • Page 252 QR Code (Kanji mode) Code table...
  • Page 271 Parent topic 2D Code...
  • Page 272: [Esc+2D50] Datamatrix (Ecc200)

    [ESC+2D50] DataMatrix (ECC200) Hexadecimal code 2D50 Parameter <1B> <32> <44> <35> <30> ,aa,bb,ccc,ddd Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 273 [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. •...
  • Page 274 * Symbol size of DataMatrix (ECC200) is following 30 types. Symbol size and number of data of DataMatrix(ECC200) Symbol size Maximum data digits Numeric Alphanumeric Briary Number of cell Number of Number of in one line(c) cell line(d) block 1152 1392 1042 1632...
  • Page 275 DataMatrix Code table DataMatrix can specify from 00H to FFH. When print 7EH, specify "7EH, 7EH". Parent topic 2D Code...
  • Page 276: [Esc+2D51] Gs1 Datamatrix

    [ESC+2D51] GS1 DataMatrix Hexadecimal code 2D51 Parameter <1B> <32> <44> <35> <31> ,aa,bb,ccc,ddd Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 277 [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. •...
  • Page 278 Symbol size and number of data of GS1 DataMatrix. Symbol size Maximum data digits Number of cell Number of Number of Numeric Alphanumeric Briary in one line(c) cell line(d) block 1152 1392 1042 1632 1222 2100 1573 1048 2608 1954 1302 3116 2335...
  • Page 279 GS1 DataMatrix Code table B8 0 B7 0 B6 0 B5 0 B4 B3 B2 B1 SP 0 @ P ` ! ” & ’ ; K [ { < , ¥ | M ] m } > N ^ ....
  • Page 280 When print data is 1BH, specify [1BH, 1BH]. When specifying FNC1, specify [1BH, 31H]. Parent topic 2D Code...
  • Page 281: [Esc+2D70] Aztec Code

    [ESC+2D70] Aztec Code Hexadecimal code 2D70 Parameter <1B> <32> <44> <37> <30> ,a,bb,cc,dd,e,f...f Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 282 [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] •...
  • Page 283 Parameter c Format Digit Text Binary data 91X91 1378 1104 95X95 1511 1210 101X101 1653 1324 105X105 1801 1442 109X109 1956 1566 113X113 2116 1694 1056 117X117 2281 1826 1138 121X121 2452 1963 1224 125X125 2632 2107 1314 131X131 2818 2256 1407 135X135...
  • Page 284 Aztec Code Table b b 8 8 b b 7 7 b b 6 6 b b 5 5 B B 4 4 b b 3 3 b b 2 2 b b 1 1 ` ” & ’ < \...
  • Page 285: [Esc+Bq] Qr Code (Compatible Command)

    [ESC+BQ] QR Code (Compatible command) Hexadecimal code Parameter <1B> <42> <51> Manual setup: abcc, (ddeeff,)g(hhhh)n Auto setup: abcc,(ddeeff,)gn Initial value 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.
  • Page 286 [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.
  • Page 287 QR Code data size list (Model 1) Error Alpha- Error Alpha- Version Kanji Binary Version Kanji Binary Numeric Numeric Correction numeric Correction numeric 21×21 57×57 25×25 61×61 65×65 29×29 1030 33×33 69×69 1167 37×37 73×73 41×41 45×45 49×49 53×53...
  • Page 288 QR Code (Numeric mode) Code table...
  • Page 289 QR Code (Alphanumeric mode) Code table...
  • Page 290 QR Code (Binary mode) Code table QR Code can specify from 00H to 7FH, and from A0H to DFH.
  • Page 291 QR Code (Kanji mode) Code table...
  • Page 310 Parent topic 2D Code...
  • Page 311: [Esc+Bv] Maxicode (Compatible Command)

    [ESC+BV] MaxiCode (Compatible command) Hexadecimal code Parameter <1B> <42> <56> a,b,c,ddddddddd,eee,fff,n...n Initial value 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. Valid range between The set parameter becomes invalid.
  • Page 312 [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.
  • Page 313: [Esc+Bk] Pdf417 (Compatible Command)

    [ESC+BK] PDF417 (Compatible command) Hexadecimal code Parameter <1B> <42> <4B> aabbcddeeffffg...g(,h) Initial value 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. Valid range between The set parameter becomes invalid.
  • Page 314 • 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"...
  • Page 315 Symbol size Maximum number of data Cols(c) Rows(d) Alphabet (A to Z) Numeric Binary mode • Mix of Alphabet (Capital letter, small letter), Numeric and Control code varies depending on number of combined characters.
  • Page 316 PDF417 Code table PDF417 can specify from 00H to FFH. Parent topic 2D Code...
  • Page 317: [Esc+Bx] Datamatrix (Ecc200) (Compatible Command)

    [ESC+BX] DataMatrix (ECC200) (Compatible command) Hexadecimal code Parameter <1B> <42> <58> aabbccddeeefffghh Initial value 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. Valid range between The set parameter becomes invalid.
  • Page 318: [Esc+Dc] Datamatrix (Ecc200) Data Specify (Compatible Command)

    [ESC+DC] DataMatrix (ECC200) Data Specify (Compatible command) Hexadecimal code Parameter <1B> <44> <43> n...n Initial value 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. Valid range between The set parameter becomes invalid.
  • Page 319: [Esc+Fx] Datamatrix (Ecc200) Sequential Number (Compatible Command)

    [ESC+FX] DataMatrix (ECC200) Sequential Number (Compatible command) Hexadecimal code Parameter <1B> <46> <58> aaabcccdddeee Initial value 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. Valid range between The set parameter becomes invalid.
  • Page 320 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...
  • Page 321: [Esc+Qv] Qr Code Version

    [ESC+QV] QR code version Hexadecimal code Parameter <1B> <51> <56> Initial value aa=00 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.
  • Page 322 [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. •...
  • Page 323: Graphic Command

    Graphic Command [ESC+G] Graphic Print [ESC+GM] BMP File Print [ESC+GP] PCX File Print Parent topic Part 1 SBPL Commands [ESC+G] Graphic Print Hexadecimal code Parameter <1B> <47> abbbcccn...n Initial value Valid range and term of When the power is OFF The set parameter is not maintained.
  • Page 324 The calculation of graphic data size is [crosswise maximum byte x lengthwise maximum byte x [Initial value of parameter and Valid Range] Model Head density Crosswise max. bytes Lengthwise max. bytes CL4NX 203 dpi 305 dpi 609 dpi CL6NX 203 dpi 305 dpi *1 Valid range when "Head Base Position"...
  • Page 325: [Esc+Gm] Bmp File Print

    [ESC+GM] BMP File Print Hexadecimal code Parameter <1B> <47> <4D> aaaaa,n...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 326: [Esc+Gp] Pcx File Print

    [ESC+GP] PCX File Print Hexadecimal code Parameter <1B> <47> <50> aaaaa,n...n Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 327: System Command

    European code page [ESC+TK] Forced Tear Off [ESC+TW] Option Waiting Time [ESC+CL] Delete CR/LF [ESC+VB] Barcode Checker [ESC+#] Base Reference Point (CL4NX Only) Parent topic Part 1 SBPL Commands [ESC+CS] Print Speed Hexadecimal code Parameter <1B> <43> <53> Initial value Refer to the table below.
  • Page 328 Head density Initial Parameter Print speed corresponding value [aa] Valid Range to parameter CL4NX 203 dpi 2, 3, 4, 5, 6, 7, 8, 9, 2: 2 (inch/s) 50.8 (mm/s) 3: 3 (inch/s) 76.2 (mm/s) 4: 4 (inch/s) 101.6 (mm/s) 305 dpi 2, 3, 4, 5, 6, 7, 8 5: 5 (inch/s) 127.0 (mm/s)
  • Page 329: [Esc+#F] Print Darkness

    [ESC+#F] Print Darkness Hexadecimal code Parameter <1B> <23> <46> ab or aab Initial value Refer to the table below. 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.
  • Page 330 [Print darkness level range] Initial value Parameter valid range When setting outside of valid range 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Command error will occur when other values than parameter valid range in the left is specified. [Print darkness range] Initial value Parameter valid range...
  • Page 331: [Esc+#E] Print Darkness (Compatible Command)

    This command is for the compatibility with previous one. 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. (CL4NX) • Darkness levels 1, 2 and 3 will be 1, 5 and 10 each in CL6NX.
  • Page 332 [Print darkness level range] Model Head Parameter valid range When setting outside of valid range density CL4NX 203 dpi 1, 2, 3, 4, 5 Command error will occur when other values than parameter valid range in the left is specified. 305 dpi...
  • Page 333: [Esc+A1] Media Size

    [Width of label] = Valid range: Refer to the table below. [Valid Range] Model Head density Width of label (dots) Height of label (dots) CL4NX 203 dpi 1 to 832 1 to 20000 305 dpi 1 to 1248 1 to 18000...
  • Page 334 [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 <A> <A1>V1200H40 <Z>...
  • Page 335 [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, 8 dots/mm) Start point 100mm...
  • Page 336: [Esc+A3] Base Reference Point

    [ESC+A3] Base Reference Point Hexadecimal code Parameter <1B> <41> <33> VabbbbbHcdddd Initial value a=+,b=00000,c=+,d=0000 Valid range and term of When the power is OFF The set parameter is not maintained. (with the start point command correction) The set parameter is maintained. (without the start point correction) Valid range within items The set parameter is valid until the next valid setting.
  • Page 337 [Valid range and saving parameter] Model Head density Horizontal start point Vertical start point Saving parameter correction (dots) correction (dots) CL4NX 203 dpi -831 to +831 -19999 to +19999 [A3 Command Save(S-type)] setting 305 dpi -1247 to +1247 -17999 to +17999...
  • Page 338: [Esc+Ep] Print End Position

    <EP>[,aaaaa] • Parameter a [print stop position] = Refer to the table below. [Range of specification] Model Head density Length of label(dots) CL4NX 203 dpi 0 to 20000 305 dpi 0 to 18000 609 dpi 0 to 9600 CL6NX 203 dpi...
  • Page 339 Example) 8 dots/mm, 12 dots/mm Start point Stop position without command <EP> ABCD Stop position with 1249mm command <EP> 9992 dots (14988 dots) 104mm 832 dots ( 1248 dots ) Value inside ( ) is 12 dots/mm [Coding Sample 2] <A>...
  • Page 340 • 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> Adopted Remarks setting command Without With item parameter parameter ○ ○...
  • Page 341: [Esc+~] Multiple Cut

    [ESC+~] Multiple Cut Hexadecimal code Parameter <1B> <E7> aaaa Initial value aaaa=1 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 next valid setting. Valid range between The set parameter becomes initial value at the next items...
  • Page 342: [Esc+Ct] Cut Number Unit

    [ESC+CT] Cut Number Unit Hexadecimal code Parameter <1B> <43> <54> aaaa Initial value aaaa=1 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 The set parameter becomes initial value at the next items...
  • Page 343: [Esc+Nc] Eject And Cut

    [ESC+NC] Eject and Cut Hexadecimal code Parameter <1B> <4E> <43> Initial value 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. Valid range between The set command becomes invalid.
  • Page 344 [Notes] • This command is used to cut remaining label in printer after the commands <CT>0 or <~>0 is executed. Parent topic System Command...
  • Page 345: [Esc+~A] Cut Number Unit

    [ESC+~A] Cut Number Unit Hexadecimal code Parameter <1B> <7E> <41> aaaa Initial value aaaa=1 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 The set parameter becomes initial value at the next items...
  • Page 346: [Esc+~B] Eject And Cut

    [ESC+~B] Eject and Cut Hexadecimal code Parameter <1B> <7E> <42> Initial value 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. Valid range between The set command becomes invalid.
  • Page 347 [Notes] • This command is used to cut remaining label in printer after the commands <~A>0 or <~>0 is executed. Parent topic System Command...
  • Page 348: [Esc+*] Memory Clear

    [ESC+*] Memory Clear Hexadecimal code Parameter <1B> <2A> Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 349 [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...
  • Page 350: [Esc+@] Offline

    [ESC+@] Offline Hexadecimal code Parameter <1B> <40> Initial value 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. Valid range between items The set command becomes invalid. [Function] Set printer offline.
  • Page 351: [Esc+C] Reprint

    [ESC+C] Reprint Hexadecimal code Parameter <1B> <43> Initial value 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. Valid range between items The set command becomes invalid. [Function] Specifies to reprint the last label.
  • Page 352: [Esc+E] Auto Line Feed

    [ESC+E] Auto Line Feed Hexadecimal code Parameter <1B> <45> Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 353 [Print sample] <A><E>0 <V>100<H>100 <XM>ABC <V>100<H>150 <XM>ABC+CR <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 Font data include line feed Parent topic System Command...
  • Page 354: [Esc+Po] Offset

    [ESC+PO] Offset Hexadecimal code Parameter <1B> <50> <4F> abcc Initial value a=0, b=+, cc=00 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.
  • Page 355: [Esc+Ig] Sensor Type

    [ESC+IG] Sensor Type Hexadecimal code Parameter <1B> <49> <47> Initial value 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.
  • Page 356: [Esc+Ph] Print Method

    [ESC+PH] Print Method Hexadecimal code Parameter <1B> <50> <48> Initial value 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.
  • Page 357: [Esc+Pm] Print Mode

    [ESC+PM] Print mode Hexadecimal code Parameter <1B> <50> <4D> Initial value 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.
  • Page 358 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. (2) Cutter (Head position) The printer will back feed the label up to the print head position immediately after the last label is cut.
  • Page 359: [Esc+Km] Mincho (Kanji)

    [ESC+KM] Mincho (Kanji) Hexadecimal code Parameter <1B> <4B> <4D> Initial value 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.
  • Page 360: [Esc+Kg] Gothic (Kanji)

    [ESC+KG] Gothic (Kanji) Hexadecimal code Parameter <1B> <4B> <47> Initial value 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.
  • Page 361: [Esc+Ce] European Code Page

    <Q>2 <Z> [Code page parameter] Parameter a Official name Supplemental explanation DOS 858 Multilingual Latin 1 + Euro character Default Code page proprietary to SATO. 88591 ISO 8859/1 ISO 8859-1 Latin 1 88592 ISO 8859/2 ISO 8859-2 Latin 2 88599...
  • Page 362 Parameter a Official name Supplemental explanation DOS 737 Greek DOS 866 Cyrillic II 1250 Win 1250 Central Europe 1251 Win 1251 Cyrillic 1252 Win 1252 Western Latin 1 1253 Win 1253 Greek 1254 Win 1254 Turkish 1257 Win 1257 Baltic IBM 869 IBM 869 Greek X0201...
  • Page 363: [Esc+Tk] Forced Tear Off

    [ESC+TK] Forced Tear Off Hexadecimal code Parameter <1B> <54> <4B> Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 364: [Esc+Tw] Option Waiting Time

    [ESC+TW] Option Waiting Time Hexadecimal code Parameter <1B> <54> <57> Initial value aaa = 000 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. Valid range between items The set parameter becomes invalid.
  • Page 365: [Esc+Cl] Delete Cr/Lf

    [ESC+CL] Delete CR/LF Hexadecimal code Parameter <1B> <43> <4C> Initial value 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.
  • Page 366: [Esc+Vb] Barcode Checker

    [ESC+VB] Barcode Checker Hexadecimal code Parameter <1B> <56> <42> a,b,c,d,e,f,g Initial value 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 next specification is made.
  • Page 367 Mode: Readable, Start Position: 30, VOID print: Disabled, (Retry Count: omitted), Host Notification: Disabled, Specify the number of barcode: Command, (the number of barcode: omitted) <A> <VB>1,30,0,,0,0, <Z> [Coding Example 3] Mode: Readable, Start Position: 30, VOID print: Enabled, Retry Count: 3, Host Notification: Disable, Specify the number of barcode: Setting, the number of barcode: 2 <A>...
  • Page 368: [Esc+#] Base Reference Point (Cl4Nx Only)

    [ESC+#] Base Reference Point (CL4NX Only) Hexadecimal code Parameter <1B> <23> abbb 初期値 なし 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 next specification is made.
  • Page 369: Calendar Command

    Calendar Command [ESC+WT] Calendar Setup [ESC+WP] Calendar Arithmetic (Add) [ESC+WA] Calendar Print Parent topic Part 1 SBPL Commands [ESC+WT] Calendar Setup Hexadecimal code Parameter <1B> <57> <54> aabbccddee Initial value Valid range and term of When the power is OFF The set parameter is not maintained.
  • Page 370: [Esc+Wp] Calendar Arithmetic (Add)

    [ESC+WP] Calendar Arithmetic (Add) Hexadecimal code Parameter <1B> <57> <50> abbb Initial value 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 becomes invalid.
  • Page 371: [Esc+Wa] Calendar Print

    [ESC+WA] Calendar Print Hexadecimal code Parameter <1B> <57> <41> Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 372 • Specify the font type for calendar printing by font command (refer to the available command below) before this command. WW/ww command example Ex.1) January in 2008, The year of Jan 1 begins with Mon, Tue, Wed, and Thu. ◦ 2007/12/31: WW (week) prints week 0.
  • Page 373: Memory Card Command

    Memory Card Command [ESC+CC] Card Slot for Use [ESC+FM] Memory Card Initialization [ESC+BJF] Memory Card Initialization [ESC+FP] Memory Card Status Print [ESC+BJS] Memory Card Status Print [ESC+&S] Form Overlay Registration [ESC+&R] Form Overlay Call [ESC+YS] Format Registration [ESC+/N] Registration of Field [ESC+YR] Format Call [ESC+/D]...
  • Page 374: [Esc+Fm] Memory Card Initialization

    [ESC+FM] Memory Card Initialization Hexadecimal code Parameter <1B> <46> <4D> aaaaaaaa Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 375: [Esc+Bjf] Memory Card Initialization

    [ESC+BJF] Memory Card Initialization Hexadecimal code Parameter <1B> <42> <4A> <46> aaaaaaaa Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 376: [Esc+Fp] Memory Card Status Print

    [ESC+FP] Memory Card Status Print Hexadecimal code Parameter <1B> <46> <50> Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 377: [Esc+Bjs] Memory Card Status Print

    [ESC+BJS] Memory Card Status Print Hexadecimal code Parameter <1B> <42> <4A> <53> Initial value Valid range and term of command When the power is OFF The set parameter is not maintained. Valid range within items The set parameter becomes invalid. Valid range between items The set parameter becomes invalid.
  • Page 378: [Esc+&S] Form Overlay Registration

    [ESC+&S] Form Overlay Registration Hexadecimal code &S Parameter <1B> <26> <53> ,aa(,bbbb,ccccc) Initial value Valid range and term of When the power is OFF The registered data becomes valid. command Valid range within items The registered data is valid until the next specification is made.
  • Page 379 [Valid Range] Model Head density Horizontal size of the window Vertical size of the window Valid Range (dots) Valid Range (dots) CL4NX 203 dpi 50 to 832 50 to 20000 305 dpi 50 to 1248 50 to 18000 609 dpi...
  • Page 380 The following are the brief operation. (1) Normal (To register) Registered image <A> <V>100<H>100<P>2<L>0202 ABCD <X23>,0ABCD <V>60<H>60 <FW>0808V800H400 <V>320<H>60 <FW>04H400 <CC>1 < < & & S S > > , , 1 1 <Z> (2) When print is specified after the command <&S> <A>...
  • Page 381: [Esc+&R] Form Overlay Call

    [ESC+&R] Form Overlay Call Hexadecimal code &R Parameter <1B> <26> <52> Initial value 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. Valid range between items The set parameter becomes invalid.
  • Page 382: [Esc+Ys] Format Registration

    [ESC+YS] Format Registration Hexadecimal code Parameter <1B> <59> <53> ,aaa Initial value 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.
  • Page 383 [Point] • Details of Format Registration A group of commands can be registered to a memory card (option). Once registered, it saves time to specify the identical command group. The registration also allows a change of print data when invoking the format. Such function is called "Format Registration". One item consists of different command groups necessary for printing, and such groups are called "Field".
  • Page 384 Calling Example Format registration No. to invoke <A> Field No. of print data to be changed Data to be changed <YR>,1 </D>,2,ABCDE <Q>2 <Z> Label feed direction ABCDE Changed data 123456 Available registration command is as follows. [Available registration command] Print position <V>...
  • Page 385: [Esc+/N] Registration Of Field

    [ESC+/N] Registration of Field Hexadecimal code Parameter <1B> <2F> <4E> ,aa,bb Initial value Valid range and term of When the power is OFF The set parameter 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.
  • Page 386 • Don't power off while accessing the memory. There is no guarantee of data in media if the power is turned off while accessing the memory. [Designable Commands for the Change of Print] Font <XU> <XS> <XM> <XB> <XL> <OA> <OB>...
  • Page 387: [Esc+Yr] Format Call

    [ESC+YR] Format Call Hexadecimal code Parameter <1B> <59> <52> ,aaa Initial value 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.
  • Page 388: [Esc+/D] Print Of Field

    [ESC+/D] Print of Field Hexadecimal code Parameter <1B> <2F> <44> ,aa,n...n Initial Value 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.
  • Page 389: [Esc+Gi] Registration Of Graphic

    [ESC+GI] Registration of Graphic Hexadecimal code Parameter <1B> <47> <49> abbbcccdddn...n Initial Value 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. Valid range between items The set parameter becomes invalid.
  • Page 390 [Specified Range] Model Head density Maximum byte in Maximum byte in horizontal direction vertical direction CL4NX 203 dpi 305 dpi 609 dpi CL6NX 203 dpi 305 dpi *1 Valid range when “Head Base Position” is set to “Standard”.
  • Page 391: [Esc+Gr] Graphic Call

    [ESC+GR] Graphic Call Hexadecimal code Parameter <1B> <47> <52> Initial Value 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. Valid range between items The set parameter becomes invalid.
  • Page 392: [Esc+Gt] Bmp File Registration

    [ESC+GT] BMP File Registration Hexadecimal code Parameter <1B> <47> <54> aaa,bbbbb,n...n Initial Value 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. Valid range between items The set parameter becomes invalid.
  • Page 393: [Esc+Gc] Bmp File Call

    [ESC+GC] BMP File Call Hexadecimal code Parameter <1B> <47> <43> Initial Value 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. Valid range between items The set parameter becomes invalid.
  • Page 394: [Esc+Pi] Pcx File Registration

    [ESC+PI] PCX File Registration Hexadecimal code Parameter <1B> <50> <49> aaa,bbbbb,n...n Initial Value 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. Valid range between items The set parameter becomes invalid.
  • Page 395: [Esc+Py] Pcx File Call

    [ESC+PY] PCX File Call Hexadecimal code Parameter <1B> <50> <59> Initial Value 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. Valid range between items The set parameter becomes invalid.
  • Page 396: [Esc+*] Memory Card Clear

    [Registration No.] = Valid range : 000 to 999 (Omissible) TrueType font 001 to 999 (Omissible) Except TrueType font (When omitting Registration No., all the registered data will be cleared.) [Coding Example1] Clearing 001 of SATO graphic <A> <CC>1 <*>G,001 <Z>...
  • Page 397 [Coding Example3] Clearing Form Overlay entirely <A> <CC>1 <*>R <Z> [Supplementary Explanation] • Delimit Start of Data Transmission <A> and End of Data Transmission <Z> with this command <*> for use. • Specify slot number of Card Slot for Use <CC> prior to this command<*> when using. [Point] •...
  • Page 398: [Esc+T1] Memory Card 16X16 Dots External Font Registration

    [ESC+T1] Memory Card 16x16 dots External Font Registration Hexadecimal code Parameter <1B> <54> <31> abbn...n Initial Value 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. Valid range between items The set parameter becomes invalid.
  • Page 399 [Supplementary Explanation] • Overwriting registration data is available. • Specify slot registered with Card Slot for Use <CC> prior to this command <T1> by all means. • The code to specify in the registration font code address needs to match the Kanji set (<KS>) and Kanji code (<KC>).
  • Page 400: [Esc+T2] Memory Card 24X24 Dots External Font Registration

    [ESC+T2] Memory Card 24x24 dots External Font Registration Hexadecimal code Parameter <1B> <54> <32> abbn...n Initial Value 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. Valid range between items The set parameter becomes invalid.
  • Page 401 [Supplementary Explanation] • Overwriting registration data is available. • Specify slot registered with Card Slot for Use <CC> prior to this command <T2> by all means. • The code to specify in the registration font code address needs to match the Kanji set (<KS>) and Kanji code (<KC>).
  • Page 402: [Esc+K1(K2)] Horizontal Writing External Font Call

    [ESC+K1(K2)] Horizontal Writing External Font Call Hexadecimal code K1(K2) Parameter <1B> <4B> <31> an...n ( <4B> <32> Initial Value Valid range and term of When the power is OFF The registered data are not maintained. command Valid range within items The set parameter becomes invalid.
  • Page 403 <CC>1 <V>100<H>100 <K1>H9021 <Q>2 <Z> [Supplementary Explanation] • Specify slot registered with Card Slot for Use <CC> prior to this command <K1> by all means. • Valid range of registration code varies according to the Kanji set command <KS>. [Note] •...
  • Page 404: [Esc+K1(K2)] Vertical Writing External Font Call

    [ESC+k1(k2)] Vertical Writing External Font Call Hexadecimal code k1(k2) Parameter <1B> <6B> <31> an...n ( <6B> <32> Initial Value Valid range and term of When the power is OFF The registered data are not maintained. command Valid range within items The set parameter becomes invalid.
  • Page 405 <k1>H9021 <Q>2 <Z> [Supplementary Explanation] • Specify slot registered with Card Slot for Use <CC> prior to this command <k1> by all means. • Valid range of registration code varies according to the Kanji set command <KS>. [Note] • Do not turn the printer's power off when accessing to the memory. When the printer power is off while memory accessing, the data in the accessed media may be corrupted.
  • Page 406: [Esc+Bj Esc+Bjd] Truetype Font Registration (Compatible Command)

    [ESC+BJ ESC+BJD] TrueType Font Registration (Compatible command) Hexadecimal code Parameter <1B> <42> <4A> (a...ab...b c ...cdddde...e <42> <4A> <44> <42> <4A> Initial Value 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.
  • Page 407: [Esc+Bjt] Truetype Font Call (Compatible Command)

    [ESC+BJT] TrueType Font Call (Compatible command) Hexadecimal code Parameter <1B> <42> <4A> <54> ,aa,bb,cc,dd,ee,ffff,n...n Initial Value 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. Valid range between items The set parameter becomes invalid.
  • Page 408: Intelligent Command

    Intelligent Command [ESC+IK] Label Feed Control Parent topic Part 1 SBPL Commands [ESC+IK] Label Feed Control Hexadecimal code Parameter <1B> <49> <4B> a(,bbbb) Initial Value 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.
  • Page 409 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 ( 1 ) ( 2 ) ( 3 ) Before receiving command Command received ( 1 )
  • Page 410 Model Head density Media feed direction Media feed direction = Forward direction = Backward direction feed length (dots) feed length (dots) CL4NX 203 dpi 48 to 1600 48 to 480 305 dpi 72 to 2400 72 to 720 609 dpi...
  • Page 411: Rfid Command (Cl4Nx Only)

    RFID Command (CL4NX Only) RFID commands can be used only in printers equipped with the RFID option. A command error occurs if the RFID option is not provided. The continuous mode, cutter mode, dispense mode and tear-off mode are available when the printer is operated in the RFID mode. Reading and return of data cannot be performed with other than <RU>...
  • Page 412 When 1 is specified to fsx : parameter, <IP0> and <RK> commands feed items even if they do not include print objects. [ESC+IP0] EPC code write (UHF M6e) (CL4NX Only) [ESC+F] EPC sequential number (UHF M6e) (CL4NX Only) [ESC+IP5]...
  • Page 413: [Esc+Ip0] Epc Code Write (Uhf M6E) (Cl4Nx Only)

    * Typical parameters are shown in the format examples above. Refer to the next item for details on the parameters.   [Conventional format] is solely for maintaining compatibility with models before CL4NX. For commands newly created for the CL4NX and later models, please create with the [Standard Format]. • Parameter EPC encode type parameter...
  • Page 414 EPC encode type parameter [Conventional format] SSCC96 code conversion Use the “one-character parameter identifier”. When the Company prefix/Serial reference/Filter value is received, and then converted to an SSCC96 compliant code, and written to the tag. [Conventional format] SGTIN96 code conversion Use the “one-character parameter identifier”.
  • Page 415 Gen 2 basic operation parameters (can be omitted) usr: USER memory write Specify numbers to write to USER area in hexadecimals. It must be specified in digits that are multiples of 4. The numbers should be within 4-128 digits, but the maximum number of digits depends on the tag in use.
  • Page 416 Operation parameters in standard format (can be omitted) kpw: Kill code Specify the kill code with eight-character HEX code. You cannot execute the kill by writing the code only. NXP G2XL dedicated secure parameters (can be omitted) (Cannot be used in a Gen2 chip other than NXP G2XL.) rlk: G2X, Read protection Specify 0 or 1 to indicate whether read protection...
  • Page 417 Feed control parameters (can be omitted) consuming a label as only write is executed without feed/print. Valid range: 0-2 SSCC96/SGTIN96 standard code conversion parameters enc: Declaration of code standard Declare when executing conversion according to conversion the code standard. SSCC96 and SGTIN96 can be specified.
  • Page 418 [Coding example 3] When data is written in EPC by specifying the SSCC96 standard code conversion in the Gen2 tag, and permanent locking is performed <A> <V>50<H>50<XM>SECURE RFID SSCC96 DATA WRITE <IP0>e:h,enc:a,flt:0,com:12345678,srl:012345678,lck:00001; <Q>1 <Z> [Coding example 4] When data is written in EPC by specifying the SGTIN96 standard code conversion in the Gen2 tag <A>...
  • Page 419 SSCC96/SGTIN96 conversion parameter A number from 6 to 12. Number of digits of the company prefix in the first half of the data specified in the d parameter. serial reference Number of digits of Serial reference (only when selecting SSCC96) Number of digits of the serial reference in the latter half of the data specified in the d parameter.
  • Page 420 Gen 2 memory bank operation parameters (can be omitted) bit0 (LSB) : EPCdata bit1 : KillCode bit2 : AccessCode bit3 : TIDdata bit4 (MSB) : UserMemory Example: If only the EPCdata area is locked “m: 00001” kill code 8-digit HEX code. Used when writing the kill code. Specify other than “00000000”...
  • Page 421 When free mapping data is written in the EPC area of a Gen2 corresponding tag <A> <V>50<H>50<BD>101080*301803CB4F48B38000000001* <IP0>e:z,d:301803CB4F48B38000000001; <Q>1 <Z> [Coding example 4] When data is written in free mapping in the EPC area of a Gen2 corresponding tag, data is written in the user area, and at the same time, a permanent lock is applied to both the EPC and USER areas <A>...
  • Page 422 Example 1 Example 2 Example 3 When EPC Print tag error Six short beeps Print tag error code write Retry operation Retry operation has failed • Buzzer will sound in the following manner. EPC code write success/fail will be notified with the following buzzers only when EPC code write is specified without print data: ◦...
  • Page 423 Partition Number of digit of the company prefix Number of digits of the serial reference value In the case shown in this example, the following combination is assumed: Number of digits of the company prefix: 7 Number of digits of serial reference: 10   The partition value is 5, but since this value is generated within the PC, it need not be specified.
  • Page 424 ---- Serial number, fixed at 12 digits 274877906943 or a smaller number. ;----------------- End terminal When these commands are executed, the above parameters are converted to SGTIN96 code 301803CB4F48B38000000001 and 24 characters, and are written in a tag. Parent topic RFID Command (CL4NX Only)
  • Page 425: [Esc+F] Epc Sequential Number (Uhf M6E) (Cl4Nx Only)

    [ESC+F] EPC sequential number (UHF M6e) (CL4NX Only) Command Parameter Hexadecimal code <1B> <46> aaaabccc(,dd,ee,f) Initial Value Valid range and term of When turning off the power The set command is not maintained. command Valid range within item The set parameter becomes invalid.
  • Page 426: [Esc+Ip5] Antenna Output Power (Uhf M6E) (Cl4Nx Only)

    [ESC+IP5] Antenna output power (UHF M6e) (CL4NX Only) Command Parameter Hexadecimal code <1B> <49> <50> <35> aaa(,bbb) Initial Value Valid range and term of When turning off the power The set command is maintained. command Valid range within item The set parameter becomes valid.
  • Page 427 While a value from 0 to 240 can be recorded in the nonvolatile memory of the printer, the units place is rounded off to 0 during transmission to the reader/writer module. Example: Even when 199 is specified, actually, 19.0 dBm is set. Parent topic RFID Command (CL4NX Only)
  • Page 428: [Esc+Tm] Trademark Print (Uhf M6E) (Cl4Nx Only)

    [ESC+TM] Trademark print (UHF M6e) (CL4NX Only) Command Parameter Hexadecimal code <1B> <54> <4D> Initial Value Valid range and term of When turning off the power The set parameter is maintained. command Valid range within item The set parameter becomes invalid.
  • Page 429 To perform magnification <L>, the command must be specified immediately before the trade mark print command <TM>. • The image size of trade mark is (Image 1: W143 x H101 dots, Image 2: 202 x H101 dots) (when magnification is not specified). Parent topic RFID Command (CL4NX Only)
  • Page 430: [Esc+Tu] Printing Tag Data (Uhf M6E) (Cl4Nx Only)

    (All parameters should be in the ASCII format) [Coding Sample1] A sample specifying 32 digits from start address 00 to end address 07 in EPC area of Gen2 tag, using SATO as ID. (Amount of information per 1 address: 4 characters) <A> <TU>1,01000007SATO <%>0...
  • Page 431 <Q>00001 <Z> [Coding Sample2] sample specifying 16 digits from start address 02h to end address 05h in the USER area (03) on Gen2 tag, using SATO as ID. (Amount of information per 1 address: 4 characters) <A> <TU>1, 03002005SATO <%>0 <V>0410...
  • Page 432 When you specify the user ID by using <DN> in the data part during the use of 2D codes, specify the number of characters of the user ID in the number of data items. Example: <TU>1,01000007SATO <DN>0004,SATO • This command will not be executed while the printer is printing. It will be executed after the print is complete.
  • Page 433 The available type of ANK character font with <RH> are as follows under the current specification: SATO CG Sleek SATO CG Stream SATO OCRA SATO 0 SATO ALPHABC SATO BETABI SATO FOLIOB SATO FUTURAMC SATO GAMMA SATO OCRB SATO SANS SATO SERIF SATO VICA Parent topic RFID Command (CL4NX Only)
  • Page 434: [Esc+Ru] Epc/Tid Return (Uhf M6E) (Cl4Nx Only)

    [ESC+RU] EPC/TID return (UHF M6e) (CL4NX Only) Command Parameter Hexadecimal code <1B> <52> <55> Initial Value aa=00 Valid range and term of When turning off the power The set command is not maintained. command Valid range within item The set parameter is valid until the next valid setting.
  • Page 435 Symbol Parameter name Valid range * Specified in text format [Format of EPC/TID return data] “Specify memory” + “:” + “Data” + “Line feed(0DH, 0AH)” ee:f…f(,gg:h…h)[CR][LF]   Specifying the memory to be record [DC2]PA-printer setting IF:RFID setting section parameter DATA_TO_RECODE : read data depends on RFID data record as below. "0": BOTH (EPC and TID are returned) "1": EPC (only EPC is returned) "2": TID (only TID is returned)
  • Page 436 <A> <RU>,01 <IP0>e:h,epc:E0123456789ABCDEF0123456; <XM>E0123456789ABCDEF0123456 <Z> [Return status example] When only the return of TID is specified, the E200680612345678 tag is used in the TID, and [DC2]PK is received • Write success (TID read success) [STX]25,1,N,ID:E200680612345678[CR][LF][ETX] • Write success (TID read failure) [STX]9,1,T,ID:[CR][LF][ETX] •...
  • Page 437 [Supplemental explanation] • The result of writing and EPC/TID is returned when [DC2]PK is received after RFID writing has been performed. • Although write is successful status will be returned without data if you fail to read EPC/TID since EPC/TIC read will be done separately from write. •...
  • Page 438 1: Print with tag write successful 0: Tag write failed and write with tag error Error symbol ‘N’ : No error ‘E’ : EPC write error ‘T’ : TID read error ‘A’ : All errors Parent topic RFID Command (CL4NX Only)
  • Page 439: [Esc+Rk] Rfid Write (Iso/Iec15693) (Cl4Nx Only)

    <RK>a,(b,)Dmmmm,n~n(,iso:c)(,wsb:sss)(,lbs:xxx,lbn:yyy)(,eas:v)(,afi:ww)(,dsf:xx)(,eal:g)(,afl:h) (,dsl:i)(,eap:jjjjjjjj)(,eai:kkkk)(,pw0-4:eeeeeeee)(,aw0-4:ffffffff)(,kpw:gggggggg)(,pps:lll,m)(,fsw:f) [Conventional format] <RK>a,(b,)Dmmmm,n~n(,Ws:sss)(,Ls:xxx,Ln:yyy)(,Ea:v)(,Af:ww)(,Ds:xx)(,Al:h)(,Dl:i)(,Fs:f)   [Conventional format] is meant for the compatibility with models prior to CL4NX. For CL4NX and models onwards, create with [Standard format] when using commands as new parameters. • Parameter Specification of inlet type Valid range for models with Takaya module: 2,3,5 2 : ICODE Maximum number of bytes for products are followings;...
  • Page 440 Specification of inlet type Note that a command error occurs when the number of bytes exceeds the maximum number of bytes for each product category. Ignore RFID tag error (omissible) Valid range : 0 ~ 9 0 : Unspecified This mode stops every time a tag error occurs. 1 ~ 9 : Specify how many labels to ignore for RFID tag error When tag error occurs, retries with next label up to the maximum number of labels to ignore.
  • Page 441 Data array to write The maximum number of digits are twice the maximum byte size that can be specified for each inlet. Availability of omissible parameters for each product(except for Ignore RFID tag error) Inlet type ICODE(a=2) Tag-it(a=3) my-d (a=5) Product SLIX SLIX-S...
  • Page 442 Parameters from here can be specified in any order. Parameters related to specifying block to start writing (omissible) wsb: Specify block to start writing Specifies the block to start writing the data. The 0th block is specified if omitted. (former Ws:) Block is a unit to write to user memory.
  • Page 443 Parameters for Block Lock (omissible) parameter error will occur if not specified in pairs. This option can only be used with the standard format. A parameter error will occur if used with the conventional format. E.g.: <RK>2,D40,00000000AAAAAAAA44444444BBBBBBBB88888888,lbs:0,lbn:2,lbs:4,lbn:2,lbs:8,lbn:2 Parameters related to option flag data control (omissible) eas: EAS bit operation Writes value to EAS (Electronic Article Surveillance)
  • Page 444 Parameters related to various password settings for ICODE (omissible) Valid range: 00000000-FFFFFFFF, 8-digit hexadecimal pw2: Privacy mode setting Sets password for privacy mode. Valid range: 00000000-FFFFFFFF, 8-digit hexadecimal pw3: Disable tag Sets password to disable tag. Valid range: 00000000-FFFFFFFF, 8-digit hexadecimal pw4: EAS protect...
  • Page 445 Parameters related to page protection settings (omissible) Type of Mode Behavior condition Public authentication mode (default) Read-protect Password authentication required for read Write-protect Password authentication required for write Read/Write- Password protect authentication required for both read/write Parameters related to feed control (omissible) fsw: Feed without printing Normally, RFID write print jobs that do not include...
  • Page 446 <A> <V>50 < H > 50 < BD > 3020654912345678904 <RK>3,3,D13,4912345678904 <Q>2 <Z> [Coding sample 3] When writing 13-byte data “4912345678904” to Tag-it HF-I RFID tag, with “Ignore RFID tag error” omitted (data format set to HEX) <A> <V>50<H>50<BD>3020654912345678904 <RK>3,d13,34393132333435363738393034 <Q>2 <Z>...
  • Page 447 1 for the “fsw: feed without printing” field. • Refer to the following chart if you want to specify the alphabet “A” in ASCII/HEX data formats. Mode ASCII Data "41" Code 34H,31H Parent topic RFID Command (CL4NX Only)
  • Page 448: [Esc+Tu] Printing Tag Data (Iso/Iec15693) (Cl4Nx Only)

    [ESC+TU] Printing tag data (ISO/IEC15693) (CL4NX Only) Command Parameter Hexadecimal code <1B> <54> <55> a(,n ~ n) Initial Value Valid range and term of When turning off the power The set command is not maintained. command Valid range within item The set parameter is in effect until a new specification is made.
  • Page 449 <%>1 <V>0595 <H>0035 <P>00 <L>0101 <XM>SATO <Q>00001 <Z> [UID format] UID(UID) 16-digit hexadecimal sequence is the following configuration. UID(16-digit) E0123456789ABCDE The above numeric is an example. [Valid command] font <X20> <X21> <X22> <X23> <X24> <XM> <XS> <XU> <XB> <XL> <RH>...
  • Page 450 The available type of ANK character font with <RH> are as follows under the current specification: SATO CG Sleek SATO CG Stream SATO OCRA SATO 0 SATO ALPHABC SATO BETABI SATO FOLIOB SATO FUTURAMC SATO GAMMA SATO OCRB SATO SANS SATO SERIF SATO VICA Parent topic RFID Command (CL4NX Only)
  • Page 451: [Esc+Ru] Uid Return (Iso/Iec15693) (Cl4Nx Only)

    [ESC+RU] UID return (ISO/IEC15693) (CL4NX Only) Command Parameter Hexadecimal code <1B> <52> <55> Initial Value aa=00 Valid range and term of When turning off the power The set command is not maintained. command Valid range within item The set parameter is in effect until a new specification is made.
  • Page 452 Symbol Parameter name Valid range * Note: Specified in text format [Format of UID return data ] “Specify memory” + “:” + “Data” + “Line feed(0DH, 0AH)” ee:f…f[CR][LF] [UID return data] Symbol Parameter name Valid range Specify memory UI: UID Data Maximum 16 digits [Return data format (when a command error occurs)]...
  • Page 453 • Although write is successful status will be returned without data if you fail to read UID since UID read will be done separately from write. • Return data remains the same when code write is specified without print data. Previous value will be returned.
  • Page 454 Return error that shows the character Status 1: Print with tag write successful 0: Tag write failed and write with tag error Error symbol ‘N’ : No error ‘U’ : UID read error ‘A’ : All errors Parent topic RFID Command (CL4NX Only)
  • Page 455: [Esc+Rk] Rfid Write (Iso/Iec14443 Typea) (Cl4Nx Only)

    [ESC+RK] RFID write (ISO/IEC14443 TypeA) (CL4NX Only) Command Parameter Hexadecimal code <1B> <52> <4B> Refer to Parameters page Initial value None Valid range and term of When the power is OFF The set command will not be maintained. command Valid range within items The set parameter becomes invalid.
  • Page 456 Data input format + number of data to write in bytes in bytes, so the number specified for this field will not "D" or "d" shows that this field is change regardless of data format, whether ASCII or for specifying the number of data HEX.
  • Page 457 Parameters can be specified in any order from here. IC chip type (The default is, IC chip type become 00 "NTAG203") ict: Specify IC chip type to write data. The maximum number of bytes depends on the type of chip specified here. IC chip type Name of product Maximum...
  • Page 458 IC Chip type Product NTAG NTAG NTAG NTAG NTAG MIFARE MIFARE MIFARE my-d Ultra Ultra Ultra move light light light C (EV1) (MF0UL ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○...
  • Page 459 Parameters related to specify block to start writing (omissible) maximum amount for the specified inlet. Please see the following table. Take note that this parameter related to write starting block cannot be used for writing data in NFC (NDEF) format. Mapping table of IC chip type and number of blocks, and total capacity IC chip type Product...
  • Page 460 Parameters for Block Lock (omissible) dlk: Dynamic lock If the capacity of user memory exceeds 12 blocks, control can be applied to specified blocks from the 13th block onwards. Please set a fixed, 6-digit hexadecimal. Please set a 4-digit hexadecimal for NTAG203 and MIFARE Ultralight-C. Set an 8-digit hexadecimal for my-d move NFC.
  • Page 461 Bit image of dynamic block lock byte byte byte 4th byte Chip Product type NTAG203(*1) NTAG213 NTAG215 NTAG216 MIFARE Ultralight-C (*1) my-d move NFC (*2) ---: Unused (*1) Note: There is no bit image of the 3rd byte for NTAG203 and MIFARE Ultralight-C. (*2) There is bit image of the 4th byte for my-d move NFC only.
  • Page 462 ISO/IEC14443 Type A memory structure Block position (decimal) Manufacturer data and area to set static block lock User memory 0 User memory 1 User memory 2 User memory 3 User memory 4 User memory 5 Applicable scope of lck: User memory 6 User memory 7 User memory 8 User memory 9...
  • Page 463 Parameters related to NFC(NDEF) support (omissible) ndd: Write user data Specify user data. Command error will occur if this is not specified. The size information for the data area is required before the data. For example, if the data size was 64, it should be specified as ndd:64,abcde..
  • Page 464 Parameters related to NFC(NDEF) support (omissible) dcl: 400204 Service code: Minor device class Major device class scl: Service Class UUID For NFC:4, specify more than 1 service class (refer to the table of "Setting value of Service Class UUID(scl:)" below). Specify to hexadecimal which digit is 4's multiples.
  • Page 465 Parameters related to NFC(NDEF) support (omissible) Valid range: 0001 ~ FFFF (refer to the table of "Setting value of Authentication Type (atp:)" below). * Considering the extensibility of the function, only the digit number is checked instead of its content. etp: Encryption Type For NFC:5 ~ 6, specify the encryption type of the access...
  • Page 466 Format (spl:) Title Action Icon ○ - - - ○ - - - ○ - - - ○ ○ ○ ○ Various setting value for each parameter 1. Setting value of protocol (ptl:) value Protocol value Protocol http://www. https://www. http:// https:// tel: mailto:...
  • Page 467 Code Data type name Information (WEB-server, WAP-server, ...) 3. Major device classes and minor device classes of device class (dcl:) Major Device Classes Minor Device Classes Code Data type name Code Data type name Computer Desktop workstation (desktop, notebook, PDA, Server-class computer organizer, ...
  • Page 468 Major Device Classes Minor Device Classes Code Data type name Code Data type name Video Camera Camcorder Video Monitor Video Display and Loudspeaker Video Conferencing Gaming/Toy Uncategorized, code not assigned Peripheral Joystick (mouse, joystick, Gamepad keyboard, ... ) Remote control Sensing device Digitizer tablet Card Reader (e.g.
  • Page 469 Major Device Classes Minor Device Classes Code Data type name Code Data type name Health Blood Pressure Monitor Thermometer Weighing Scale Glucose Meter Pulse Oximeter Heart/Pulse Rate Monitor Health Data Display Step Counter Body Composition Analyzer Peak Flow Monitor Medication Monitor Knee Prosthesis Ankle Prosthesis Generic Health Manager...
  • Page 470 Code Service class name Code Service class name 111B ImagingResponder 111C ImagingAutomaticArchive 111D ImagingReferencedObjects 111E Handsfree 111F HandsfreeAudioGateway 1120 DirectPrintingReferenceObjectsService 1121 ReflectedUI 1122 BasicPrinting 1123 PrintingStatus 1124 HumanInterfaceDeviceService 1125 HardcopyCableReplacement 1126 HCR_Print 1127 HCR_Scan 1128 Common_ISDN_Access 112D SIM_Access 112E Phonebook Access - PCE 112F Phonebook Access - PSE 1130...
  • Page 471 Value Type 0002 0004 TKIP 0008 000C AES/TKIP All other values reserved...
  • Page 472 Reference: NDEF record image for storage location 1. URI format, TEXT format Record Payload header 1 record per 1 user data 2. Smart poster Payload Record Record Record header Payload(1) Payload(n) ・ ・・ header (1) header (n) Multiple records are stored for 1 user data. At least one URI format record needs to be stored here.
  • Page 473 Parameters related to ASCII mirroring (omissible) (UID 14 characters + NFC counter 6 characters + 1 separating character in between) ams: Specify the page to start ASCII Specify which page to start reflecting from in the user mirroring memory for the data specified with amc. Valid range: 0-255, a 3-digit decimal A parameter error will occur when a value that exceeds specified inlet capacity is specified.
  • Page 474 Parameters related to NFC counter (omissible) 1: enabled (automatically updates counter when READ command is executed) 0: disabled cfl: NFC counter password restriction CFG1:ACCESS:NFC_CNT_PWD_PROT Sets availability of NFC counter password restriction. Valid range: 0 or 1 0: disabled (password not valid) 1: enabled (password is valid) Parameters related to configuration for authentication (omissible) lma:...
  • Page 475 Parameters related to configuration for authentication (omissible) Perma-lock is implemented when 1 is specified. Nothing is implemented when 0. lim: Set number of retries for Sets number of retries when password authentication authentication fails. Valid range: 0 to 7 * Note: When set to 7 or multiple instances add up to 7 or more with my-d move NFC, setting cannot be changed.
  • Page 476 [Coding sample 1] (When setting NFC(NDEF) format user data) Registering “http://www.sato.com” in URI format to NTAG210 RFID tag, omitting the ignore RFID tag error parameter <A> <V>50<H>50<BD>3020654912345678904 <RK>1,NFC:1,ict:01,ptl:1,ndd:8,sato.com <Q>1 <Z> Memory data after execution NFC(NDEF) message (Note: 1 block= 4 bytes)
  • Page 477 [Coding sample 2] (When setting NFC(NDEF) format user data) When recording the URI ”https://www.sato2.co.jp” and text “OMP” in smart poster format to MIFARE Ultralight RFID tag in UTF-8 English(en), omitting the ignore RFID tag error parameter <A> <V>50<H>50<BD>3020654912345678904 <RK>1,NFC:3,ict:30,spl:1,ptl:2,ndd:11,sato2.co.jp,spl:2,ecd:0,lgc:2,en,ndd:3,OMP |← First record →| |←...
  • Page 478 [Coding sample 3] (When setting NFC(NDEF) format user data) When recording the following data in handover format (Bluetooth) in NTAG215 RFID tag, omitting the ignore RFID tag error parameter: Version: 2.1 Device address: 01:02:03:04:05:06 Device class: “DeviceName” Class of Device: Phone / Smartphone Service classes: Telephony...
  • Page 479 <A> <V>50<H>50<BD>3020654912345678904 <RK>1,NFC:4,ict:04,ver:2.1,hma:010203040506,dnm:DeviceName,dcl:40020C,scl:111E1 10B <Q>1 <Z> Memory data after execution NFC(NDEF) message Block Data Bytes Format Data position Start code 0x03 Number of bytes from 2 byte 0x4A Record Record information 0x91 header Number of characters in the 0x02 format NFC(NDEF) Number bytes...
  • Page 480 0x2E[.] 0x62[b] 0x6C[l] 0x75[u] 0x65[e] 0x74[t] 0x6F[o] 0x6F[o] 0x74[t] 0x68[h] 0x2E[.] 0x65[e] 0x70[p] 0x2E[.] 0x6F[o] 0x6F[o] 0x62[b] 0x30[0] Payload Bluetooth 0x14 data length 0x00 Bluetooth device 0x06 address(3) 0x05 0x04 0x03 0x02 0x01 EIR data length 0x04 EIR datatypes 0x0D Bluetooth device 0x0C class (5)
  • Page 481 Encryption Type: WEP <A> <V>50<H>50<BD>3020654912345678904 <RK>1,NFC:5,ict:62,ver:2.1,hma:010203040506,wcc:0,rfb:01,ssi:10,DeviceName, nky:8,abcdefgh,atp:0002,etp:0002 <Q>1 <Z> Memory data after execution NFC(NDEF) message Block Data Bytes Format Data position Start code 0x03 Number of bytes from 2 byte 0x6E Record Record information 0x91 header Number of characters in 0x02 the format NFC(NDEF)
  • Page 482 0x2F[/] 0x76[v] 0x6E[n] 0x64[d] 0x2E[.] 0x77[w] 0x66[f] 0x61[a] 0x2E[.] 0x77[w] 0x73[s] 0x63[c] 0x30[0] Payload Attribute type 0x10 0x0E Attribute data 0x00 size 0x3F Attribute type 0x10 0x45(SSID) Attribute data 0x00 size (6) 0x0A Attribute data 0x44[D] 0x65[e] 0x76[v] 0x69[i] 0x63[c] 0x65[e] 0x4E[N] 0x61[a]...
  • Page 483 type) Attribute data 0x00 size (9) 0x02 Attribute data 0x00 Attribute type 0x10 0x49(Vendor extension) Attribute data 0x00 size 0x06 Attribute data 0x00 0x37 0x2A 0x00(Version2(2)) 0x01 0x21 Major:2 Minor:1 Te rminator code 0xFE Data in the byte position outside for writing is maintained. [Coding sample5] (data format set to ASCII) When writing 13-byte characters “4912345678904”...
  • Page 484 Block 4..8 13..15 Any data outside of the range written Data 4912 3456 7890 4XXX to is not affected. * XXX is data present before this command was set. specify the block to start writing with wsb: Refer to “ISO/IEC14443 Type A memory structure” [Coding sample8] (data format set to ASCII) When writing 13-byte characters "4912345678904"...
  • Page 485 1 for the “fsw: feed without printing” field. • Refer to the following chart if you want to specify the alphabet “A” in ASCII/HEX data formats. Mode ASCII Data "41" Code 34H,31H Parent topic RFID Command (CL4NX Only)
  • Page 486: [Esc+Tu] Printing Tag Data (Iso/Iec14443 Typea) (Cl4Nx Only)

    [ESC+TU] Printing tag data (ISO/IEC14443 TypeA) (CL4NX Only) Command Parameter Hexadecimal code <1B> <54> <55> a(,n ~ n) Initial Value Valid range and term of When turning off the power The set command is not maintained. command Valid range within item The set parameter is in effect until a new specification is made.
  • Page 487 <D>102060*SATO* <TU>0 <%>1 <V>0595 <H>0035 <P>00 <L>0101 <XM>SATO <Q>00001 <Z> [UID format] UID(UID) 14-digit hexadecimal sequence is the following configuration. UID(14-digit) 04123456789ABC The above numeric is an example. [Valid command] font <X20> <X21> <X22> <X23> <X24> <XM> <XS> <XU> <XB>...
  • Page 488 The available type of ANK character font with <RH> are as follows under the current specification: SATO CG Sleek SATO CG Stream SATO OCRA SATO 0 SATO ALPHABC SATO BETABI SATO FOLIOB SATO FUTURAMC SATO GAMMA SATO OCRB SATO SANS SATO SERIF SATO VICA Parent topic RFID Command (CL4NX Only)
  • Page 489: [Esc+Ru] Uid Return (Iso/Iec14443 Typea) (Cl4Nx Only)

    [ESC+RU] UID return (ISO/IEC14443 TypeA) (CL4NX Only) Command Parameter Hexadecimal code <1B> <52> <55> Initial Value aa=00 Valid range and term of When turning off the power The set command is not maintained. command Valid range within item The set parameter is valid until the next valid setting.
  • Page 490 [Format of UID return data] “Specify memory” + “:” + “Data” + “Line feed(0DH, 0AH)” ee:f…f[CR][LF] [UID return data] Symbol Parameter name Valid range Specify memory UD: UID Data Maximum 14 digits [Return data format (when a command error occurs)] [NAK]<15>...
  • Page 491 • Return data remains the same when code write is specified without print data. Previous value will be returned. <RU>,01 return sequence (for a tag having the UID of 04FEFFE0536C92) Host Printer <RU>,01 *1 Return based on [DC2]PK The settings of return based on [DC2]PK are retained Enabled until power is turned OFF <RK>1,D13,4912345678904 Write command...
  • Page 492 Return error that shows the character Status 1: Print with tag write successful 0: Tag write failed and write with tag error Error symbol ‘N’ : No error ‘D’ : UID read error ‘A’ : All errors Parent topic RFID Command (CL4NX Only)
  • Page 493: [Esc+Rk] Rfid Write (Felica) (Cl4Nx Only)

    [ESC+RK] RFID write (FeliCa) (CL4NX Only) Command Parameter Hexadecimal code <1B> <52> <4B> Refer to Parameters page Initial value None Valid range and term of When the power is OFF The set command will not be maintained. command Valid range within items The set parameter becomes invalid.
  • Page 494 Data input format + number of data to write in bytes not change regardless of data format, whether ASCII dmmmm Capital "D" indicates that the or HEX. data is in ASCII, lower-case "d" indicates the data is in HEX. Valid range: FeliCa Lite/FeliCa Lite-S(a = 4): “0 ~ 224” Note: Specify the length of data in bytes with the number(mmmm) that...
  • Page 495 Parameters related to specifying block to start writing (omissible) Cannot be used together with parameters related to NFC(NDEF). Parameters related to write block list (omissible) blt: Write block list It is possible to write to block of uncontinuous data when specifying a block list format which block number is delimited by comma.
  • Page 496 Parameters related to write block list (omissible) Cannot be used together with parameters related to NFC(NDEF). Parameters related to subtraction register (omissible) rga: Specify the subtraction register A. Set a decimal from 0~4,294,967,295. The register value for inlet shipping is 4,294,967,295. Write is possible only when the setting value is below the value stored in the register.
  • Page 497 Parameters related to data format code (omissible) Note: • A parameter error will occur if df1: and df2: are specified together. • df2: can be used only for FeliCa Lite. IDm before setting: 3031323334353637 ↓ Data format code: FFE0 ↓ 3031323334353637 IDm after setting: df2:...
  • Page 498 Data Case 1 (df1: specified Case 2 (df2: specified) format or df1: and df2: omitted) (Only when using FeliCa Lite) code ID Block ID (upper bit 16 digits) ID (upper bit 16 digits) Copy the IDd of D_ID block (16 digits) Copy the IDd of D_ID block (16 digits) ID (lower bit 16 digits) ID (lower bit 16 digits)
  • Page 499 Parameters related to system block lock (omissible) Note that once you lock the blocks, the locked blocks become read-only and you cannot unlock them. Parameters related to read after authentication of user block and subtraction register (omissible) Note: can be used only for FeliCa Lite-S. aar: Read after Set a fixed 15-digit binary.
  • Page 500 Parameters related to write (MAC inclusive) of user block and subtraction register (omissible) Note: can be used only for FeliCa Lite-S. If this parameter is specified, write (MAC inclusive) can be performed for the block specified to 1. Specify the block to 0 when MAC is not required for write.
  • Page 501 Detailed parameters of NFC(NDEF) support (omissible) * For smart poster, make sure to specify the URI record. As other records are treated as options, specify if necessary. ptl: Protocol For ndf:1 or ndf:3 (spl:1), specify the protocol (scheme) corresponding number to 1~3 digit decimal. The valid range is 1 ~ 255 (refer to the table of "Setting value of protocol (ptl:)"...
  • Page 502 Detailed parameters of NFC(NDEF) support (omissible) * Note: It is possible to specify 2 versions when ndf:6. One will be reflected to Bluetooth record, and the other will be reflected to Wi-Fi record. The version will not be reflected to Wi-Fi record if you have specified only one.
  • Page 503 Detailed parameters of NFC(NDEF) support (omissible) Value Encryption type 60 GHz ssi: SSID For ndf:5 ~ 6, specify the recognition name of the access point to 1 ~ 32 digits. Usable characters are 0 ~ 9, A ~ Z, a ~ z and the following symbols: "...
  • Page 504 Detailed parameters of NFC(NDEF) support (omissible) Maximum byte: 224 bytes (for both FeliCa Lite and FeliCa Lite-S) Parameters related to feed control (omissible) fsw: Feed without printing Normally, RFID write print jobs that don’t include print data writes but don’t feed label. (Except for cases with tag offset as default) When 1 is specified for this parameter, even the print jobs that don’t include print data will feed.
  • Page 505 An example of rewriting only DFC (Data Format Code) to [FFE0H] without printing on the surface nor changing the content of the scratch pad. * In this case too, data is written to ID block. <A> <RK>4,D0,,df2:FFE0,fsw:1 <Q>10 <Z> [Coding sample 5] An example to record a URI "http://www.sato.com" of NFC(NDEF) format...
  • Page 506 1 for the “fsw: feed without printing” field. • Refer to the following chart if you want to specify the alphabet “A” in ASCII/HEX data formats. Mode ASCII Data "41" Code 34H,31H Parent topic RFID Command (CL4NX Only)
  • Page 507: [Esc+Tu] Printing Tag Data (Felica) (Cl4Nx Only)

    [ESC+TU] Printing tag data (FeliCa) (CL4NX Only) Command Parameter Hexadecimal code <1B> <54> <55> a(,n ~ n) Initial Value Valid range and term of When turning off the power The set command is not maintained. command Valid range within item The set parameter is in effect until a new specification is made.
  • Page 508 <V>0595 <H>0520 <D>102060*SATO* <TU>0 <%>1 <V>0595 <H>0035 <P>00 <L>0101 <XM>SATO <Q>00001 <Z> [IDm format] IDm(IDm) 16-digit hexadecimal sequence is the following configuration. IDm(16-digit) 03FEFFE0536C92A8 The above numeric is an example. [Valid command] font <X20> <X21> <X22> <X23> <X24> <XM> <XS>...
  • Page 509 The available type of ANK character font with <RH> are as follows under the current specification: SATO CG Sleek SATO CG Stream SATO OCRA SATO 0 SATO ALPHABC SATO BETABI SATO FOLIOB SATO FUTURAMC SATO GAMMA SATO OCRB SATO SANS SATO SERIF SATO VICA Parent topic RFID Command (CL4NX Only)
  • Page 510: [Esc+Ru] Idm Return (Felica) (Cl4Nx Only)

    [ESC+RU] IDm return (FeliCa) (CL4NX Only) Command Parameter Hexadecimal code <1B> <52> <55> Initial Value Valid range and term of When turning off the power The set command is not maintained. command Valid range within item The set parameter is in effect until a new specification is made.
  • Page 511 Symbol Parameter name Valid range Note: Specified in text format. [Format of UID return data] “Specify memory” + “:” + “Data” + “Line feed(0DH, 0AH)” ee:f…f[CR][LF] [IDm return data] Symbol Parameter Valid range Specifies memory DM: IDm + PMm + ID block Data Maximum 64 digits [IDm return format]...
  • Page 512 [STX]70,1,N,DM:03FEFFE0536C92A8・・・・・・ [CR][LF][ETX] • Write successful (IDm read fail) [STX]9,1,I,DM:[CR][LF][ETX] • Write fail (IDm read failed) [STX]9,0,I,ID:[CR][LF][ETX] [Supplemental explanation] • The write status and IDm is returned when [DC2]PK is received after RFID write. • Although write is successful status will be returned without data if you fail to read IDm since IDm read will be done separately from write.
  • Page 513 Return error that shows the character Status 1: Print with tag write successful 0: Tag write failed and write with tag error Error symbol ‘N’ : No error ‘I’ : IDm read error ‘A’ : All errors Parent topic RFID Command (CL4NX Only)
  • Page 514: Xml Command

    Set XML Variable Name [ESC+/R] Remove Print Template [ESC+/S] Set Print Template Name [ESC+/G] Get Print Template Information [ESC+/A] Air Protocols Management (CL4NX Only) Parent topic Part 1 SBPL Commands [ESC+/Y] Register Print Template Name Hexadecimal code Parameter <1B> <2F>...
  • Page 515: [Esc+/X] Set Xml Variable Name

    [ESC+/X] Set XML Variable Name Hexadecimal code Parameter <1B> <2F> < 58> ,a,b,n~n Initial value a = 0 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. Valid range between items The set parameter becomes invalid.
  • Page 516: [Esc+/R] Remove Print Template

    [Print template name or format number] Valid range (Template name) : 1 to 32 ASCII characters Valid range (Format number) : 001 to 999 [Coding Example] Clear Print Template with the template name "SATO Barcode". <A> <CC>1 </R>,0,SATO Barcode <Z>...
  • Page 517: [Esc+/S] Set Print Template Name

    [Print template format number] = 001 - 999 n~n [Print template name] = Valid range (Template name) : 1 to 32 ASCII characters [Coding Example] Change Print Template with the template name "SATO Barcode". <A> <CC>1 </S>,001,SATO Barcode <Z>...
  • Page 518: [Esc+/G] Get Print Template Information

          This parameter n~n is needed when a = 4 was specified. [Coding Example] Recall all the registered template names from the printer memory <A> <CC>1 </G>,1 <Z> Recall the print template with the template name “SATO Barcode” <A> <CC>1 </G>,4,SATO Barcode <Z> [Supplementary Explanation] •...
  • Page 519 • For (a=1), the character ‘, ‘ (HEX: 2C) will act as separators between each reply template name. (Note: No separator will be used, if there is only one template name installed inside the memory) • Printer will return ”ACK” back to host PC if operation success, else printer will return “NAK” to the host PC if operation fail.
  • Page 520: [Esc+/A] Air Protocols Management (Cl4Nx Only)

    [RFID options to be used] 0 : set “EPC Class 0+” 1 : set “EPC Class 1” 2 : set “GEN 2” (Supported in CL4NX printer only) 3 : set “EPC Class 1.19(UCODE)” This parameter b is needed when a = 2 was specified.
  • Page 521 For (a=0), user cannot send any request command to the printer until the printer finished sending the requested data. • Gen2 protocol is the only protocol setting supported in CL4NX printer currently, if other protocols were specified, it will return as a command error. Parent topic...
  • Page 522: Common Commands For All Languages

    [DC2+PG] Printer status information acquisition [DC2+PH] Cancel request [DC2+PI] Application change [DC2+PJ] EPC code read (UHF M6e) (CL4NX Only) [DC2+PK] EPC/TID return request (UHF M6e) (CL4NX Only) [DC2+PJ] RFID read (ISO/IEC15693) (CL4NX Only) [DC2+PK] UID return request (ISO/IEC15693) (CL4NX Only)
  • Page 523: [Dc2+Pa] Printer Setting Command

    [DC2+PA] Printer setting command Command Parameter Hexadecimal code <12> <50> <41> a...a,bb,c...c,d...d,(,ee,f...f,g...g,h...h,i...i)... Initial Value None 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. Printer operation in The command cannot be received during the printer progress...
  • Page 524 Symbol Parameter name Valid range Acquisition method SI: SIPL settings SD: SDPL settings ST: STCL settings SA: AEP settings SE: SEPL settings c(f...) Data size of setting information 0 to 524277 Acquire until "," * The size of setting information is equivalent to the bytes by section from parameter d.
  • Page 525 *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. *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.
  • Page 526 Target item Setting process Process ≠"0" Do not set ≠"0" ="0" Do not set ≠"0" • When "PSI" is smaller than "PSW", it is not 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.
  • Page 527 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] 64 36 62 36 39 36 64 35 62 35 39 35 64 34 62 34 39 34 64 33...
  • Page 528 [A list of setting items] [PRINTER] section initial Name of Setting item Setting value Default Value Contents of Setting item SPEED “2”: 2 inches/sec [CL4NX] ○ Print speed “3”: 3 inches/sec 203/305dpi <CS> “4”: 4 inches/sec “5”: 5 inches/sec (Linerless:4) “6”: 6 inches/sec...
  • Page 529 initial Name of Setting item Setting value Default Value Contents of Setting item CUTTER "0": Motion 3 (No backfeed) ○ Cutter motion "1": Motion 1(Thermal head <PM> position) "2": Motion 2 (Cutter position) NONSEPA "2": Motion 2 (Dispenser position) ○ Linerless motion (Backfeed motion) <PM>...
  • Page 530 "1": Volume low "2": Volume medium "3": Volume large LCDVOLUME "0" to "9" LCD Brightness ADJUSTPITCH [CL4NX] Adjust print position 609dpi:"-90" to "90" (dot) 305dpi:"-45" to "45" (dot) 203dpi:"-30" to "30" (dot) [CL6NX] 305dpi:"-45" to "45" (dot) 203dpi:"-30" to "30" (dot)
  • Page 531 Reprint "1": Enable INSTALL_SECURIT "0": Disable Install Security "1": USB Password control for pkg install "2": Always PRINTEND_POSITI [CL4NX] ○ Print End Position 609dpi:"0" to "9600"(dot) 305dpi:"0" to "18000"(dot) 203dpi:"0" to "20000"(dot) [CL6NX] 305dpi:"0" to "18000"(dot) 203dpi:"0" to "20000"(dot) SENSOR_CONTINU "0"...
  • Page 532 [COUNT] section Name of Setting initial Setting value Default Value Contents of Setting item item PRTCLN "0": Disable ○ Notification "1": Enable for printer cleanup PRTCLN_ITV_COU "10" to "1000" (m) ○ Distance to display notification for printer cleanup PRTCLN_COUNT "XXXX" Cleaning distance *Unit: 1 / 24 mm HDCHG...
  • Page 533 [LAN] section initial Name of Setting item Setting value Default Value Contents of Setting item DHCPv4 "0": Disable DHCPv4 setting "1": Enable W:LAN/WLAN both R:Active Interface IPv4_ADDRESS AAA.BBB.CCC.DDD 0.0.0.0 Ipv4 Address Allow "0" to "255" for A - D W:LAN/WLAN both R:Active Interface IPv4_SUBNETMASK AAA.BBB.CCC.DDD 255.255.255.0...
  • Page 534 initial Name of Setting item Setting value Default Value Contents of Setting item KEEPA LIVECOUNT "1" to "99" ( times) ○ Keep alive count SOCKET_CANCEL "0": Normal mode ○ Socket compatibility "1": Compatible mode PROTOCOL "0": Status 4 (Periodic) ○ Communication protocol "1": Status 4 (ENQ) (For SBPL)
  • Page 535 initial Name of Setting item Setting value Default Value Contents of Setting item SNMP_RW_USER_N Max 32 digit character rwuser ○ Read Writeuser name *Encrypted data (empty string to disable) SNMP_RW_SECURI "0": none none ○ Read Write security "1": Authentication "2": Privacy SNMP_RW_AUTHPR "0":MD5 ○...
  • Page 536 initial Name of Setting item Setting value Default Value Contents of Setting item DNSLOOKUP "0": Disable ○ DNS Lookup "1": Enable "0": Disable ○ "1": Enable "0": Disable ○ "1": Enable FTP_TIMEOUT "10" to "3600" sec ○ FTP Timeout SELECT_NETWORK "0": Auto ○...
  • Page 537 [WLAN] section initial Contents of Setting item Name of Setting Setting value Default Value item DHCPv4_WLAN "0": Static ○ DHCPv4 setting "1": DHCP IPv4_ADDRESS_ AAA.BBB.CCC.DDD 0.0.0.0 ○ Ipv4 Address WLAN Allow "0" to "255" for A - D IPv4_SUBNETMA AAA.BBB.CCC.DDD 255.255.255.0 ○...
  • Page 538 ○ PIN code *Encrypted data DEVICENAME 0-53 digit characters ○ Device name SATO PRINTER is BD address) _ xxxxxxxxxxxx xxxxxxxxxxxx "0", "12" to "1000"( hexadecimal) ○ value will be set to Bluetooth module after deducting 1 from the value when odd number is set with ISI "0", "11"...
  • Page 539 initial Contents of Setting item Name of Setting Setting value Default Value item PAIRING3 "0": Do not remove Remove paring "1": Remove information3 or not PAIRING4 "0": Do not remove Remove paring "1": Remove information4 or not PAIRING5 "0": Do not remove Remove paring "1": Remove information5 or not...
  • Page 540 [EXT] section initial Contents of Setting item Name of Setting Setting value Default Value item EXTSIG "0": Disable ○ Print start signal "1": Enable EXTMODE "0": TYPE1 ○ External signal switch "1": TYPE2 "2": TYPE3 "3": TYPE4 EXTRETRY "0": Disable ○...
  • Page 541 [RFID] section initial Contents of Setting item Name of Setting item Setting value Default Value RFID_LIFE_COUNT_SUCCESS "0" to "999999" RFID success count of life SOH+RB RFID_LIFE_COUNT_FAILURE "0" to "999999" RFID failure count of life SOH+RB RFID_LIFE_COUNT_TOTAL "0" to "999999" RFID print count of life SOH+RB RFID_COUNT_SUCCESS "0"...
  • Page 542 [SBPL] section initial Contents of Setting Name of Setting item Setting value Default Value item ZEROSLASH "0": Disable ○ Zero slash "1": Enable <LH>,<LD> SHOTAI "1": Gothic ○ Type face "0": Mincho <KG>, <KM> PROPORTIONAL "0": Fixed pitch ○ Proportional pitch "1": Proportional pitch <PS>, <PR>...
  • Page 543 "4": DD/MM/YY(12 ours) DEF_FONT “0”: none ○ Default font “1”: SATO Hebe Sans “2”: SATO Hebe Sans Arabic “3”: SATO Hebe Sans Thai “4”: SATO Hebe Sans Hindi “5”: SATO Gothic T Chinese “6”: SATO Gothic Japanese “7”: SATO Gothic S Chinese “8”: SATO Gothic Korean...
  • Page 544 [SDPL] section Setting value Default initial Name of Setting item Contents of Setting item Value CONTROL_CODE "0": Standard code ○ Protocol code "1": Alternate code 1 "2": Alternate code 2 "3": User code SOHCODE "0" to "255" ○ (0x01) STXCODE "0"...
  • Page 545 [STCL] section initial Name of Setting item Setting value Default Value Contents of Setting item CONTROL_CODE "0": AUTO ○ Control Code "1": ESC|LF|NUL "2": 7B|7C|7D "3": CUSTOM CMD_HEAD1 "0" to "255" ○ Command Head1 (0x1B) CMD_HEAD2 "0" to "255" ○ Command Head2 (0x0A) CMD_HEAD3...
  • Page 546: [Dc2+Pb] Printer Setting Information Acquisition

    [DC2+PB] Printer setting information acquisition Command Parameter Hexadecimal code <12> <50> <42> (,aa(,b...b)) + EOT(04h) Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command can be received even during the printer progress operation.
  • Page 547 [Identifier] Valid range CA: Common settings CB: Notification functionality II: IEEE1284 settings IR: RS-232C settings IL: LAN settings IU: USB settings IW: WLAN settings IB: Bluetooth settings IE: EXT settings IF: RFID settings IN: NFC settings SB: SBPL settings SZ: SZPL settings SI: SIPL settings SD: SDPL settings ST: STCL settings...
  • Page 548 [Exception processing] Parameter name Exception condition A value outside the The specified size and range is specified received size are different Identifier Command error Invalid receive data Terminology Description Command error The data received after a command error is determined is not considered as a parameter of this command.
  • Page 549: [Dc2+Pc] Printer Device Information Acquisition

    [DC2+PC] Printer device information acquisition Command Parameter Hexadecimal code <12> <50> <43> None Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command can be received even during the printer progress operation.
  • Page 550 Description Device information name Device information data Main firmware version MAIN FW Ver V...V V: Version Main firmware Creation date MAIN FW Date YYYYMMDD_HHMMSS TTT T: Time zone Printer module Boot firmware MODULE BOOT FW Ver P…P.boot-V.V.V-S…S Version P: Platform name V: Version S: Release = Release version Alpha/Beta = Test version...
  • Page 551 Description Device information name Device information data 22 Free space size in user area MEM_FROM Numeric value (unit: byte) 23 USB memory available size MEM_USB1 Numeric value (unit: byte) (Printer front port connection) 24 USB memory available size MEM_USB2 Numeric value (unit: byte) (Printer rear port connection) 25 SBPL form overlay SLOT1 SBPL_FOL_SLOT1...
  • Page 552 Description Device information name Device information data * If the registration count is zero, the value is ignored. 35 SBPL external character SBPL_EXC_SLOT1 XXXX,YYYYYYYYYY SLOT1 X: Registration count Number of registered counts, Y: Number of registered bytes number of registered bytes 36 SBPL external character SBPL_EXC_SLOT1_No XXX (,XXX,XXX・・・)
  • Page 553 Description Device information name Device information data Number of registered counts, X: Registration count number of registered bytes Y: Number of registered bytes 46 SBPL BMP file SLOT2 SBPL_BMP_SLOT2_No XXX (,XXX,XXX・・・) Registration number X: Registration No., * Repeated as many times as the registration numbers * If the registration count is zero, the value is ignored.
  • Page 554 [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.
  • Page 555: [Dc2+Pd] Each Sensor Information Acquisition

    [DC2+PD] Each sensor information acquisition Command Parameter Hexadecimal code <12> <50> <44> None Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command can be received even during the printer progress operation.
  • Page 556 [Sensor information data list] Sensor information name Description Sensor information data I-Mark sensor X.X/SLY.Y X.X = 0.0 to 3.3 : Sensor level Y.Y = 0.0 to 3.3 : Slice level Gap sensor X.X/SLY.Y X.X = 0.0 to 3.3 : Sensor level Y.Y = 0.0 to 3.3 : Slice level HEAD OPEN Head Open...
  • Page 557: [Dc2+Pg] Printer Status Information Acquisition

    [DC2+PG] Printer status information acquisition Command Parameter Hexadecimal code <12> <50> <47> None Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command can be received even during the printer progress operation.
  • Page 558 Description Printer status Printer status information data information name Receive buffer status 0: Buffer available 1: Buffer near full 2: Buffer full Ribbon status 0: Ribbon present 1: Ribbon near end * Monitoring can be performed during printing and feeding. 2: No ribbon The correct value cannot be 3: Direct thermal model...
  • Page 559 Description Printer status Printer status information data information name 30: RFID tag error 31: Interface card error 32: Rewinder error 33: Other error 34: RFID control error 35: Head density error 36: Kanji data error 37: Calendar error 38: Item No error 39: BCC error 40: Cutter cover open error 41: Ribbon rewind non-lock error...
  • Page 560 Description Printer status Printer status information data information name 78: Barcode reading error (Verification start position abnormality) 79: Barcode verification error 80: NFC Module error 81: NFC Command error Battery status 0: Normal 1: Battery near end 2: Battery error Remaining number of print 000000 to 999999: 6-digit remaining number of print...
  • Page 561: [Dc2+Ph] Cancel Request

    [DC2+PH] Cancel request Command Parameter Hexadecimal code <12> <50> <48> None Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command can be received even during the printer progress operation.
  • Page 562: [Dc2+Pi] Application Change

    [DC2+PI] Application change Command Parameter Hexadecimal code <12> <50> <49> Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command cannot be received during the printer progress operation. ([NAK] return) When acquiring label Commands are not accepted while acquiring sensor sensor information...
  • Page 563 [Exception processing] Parameter name Exception condition A value outside the The specified size and range is specified received size are different Identifier Command error Invalid receive data Terminology Description Command error The data received after a command error is determined is not considered as a parameter of this command.
  • Page 564: [Dc2+Pj] Epc Code Read (Uhf M6E) (Cl4Nx Only)

    [DC2+PJ] EPC code read (UHF M6e) (CL4NX Only) Command Parameter Hexadecimal code <12> <50> <4A> ,aa,bb Initial value None Valid range and term of command When turning off the power Valid range Printer operation in progress The command cannot be received during the printer operation.
  • Page 565 Symbol Parameter name Valid range *Text format Maximum 256 digits Option data Options identifier ("Option identifier" + ":" + "Data") RS: RSSI (Received Signal Strength Indicator) *Text format MT: Module temperature Data Maximum 3 digits [Return data format (when a command error occurs)] [NAK]<15>...
  • Page 566 [Sample of status reply1] ■When EPC data“E0123456789ABCDEF0123456” is on Gen2 supported tag [STX]24,E0123456789ABCDEF0123456[ETX] [Sample of status reply 2] ■When TID data “E200680612345678”is on Gen2 supported tag and RSSI is 10dBm [STX]22,E200680612345678,RS:10[ETX] [Sample of status reply 3] ■To get both EPC and TID when EPC data “E0123456789ABCDEF123456” and TID data “E200680612345678”...
  • Page 567 [Supplemental explanation] • This command cannot be used in combination with commands other than <A> and <Z>. • When this command is received during printing, it will not be processed. It will be processed after printing is complete. • It takes about 5 seconds to return all return status to the host after sending this command. If the port is disconnected before all statuses are returned to the host, RFID tag information will not be correctly returned and the data other than return status format is returned.
  • Page 568: [Dc2+Pk] Epc/Tid Return Request (Uhf M6E) (Cl4Nx Only)

    [DC2+PK] EPC/TID return request (UHF M6e) (CL4NX Only) Command Parameter Hexadecimal code <12> <50> <4B> None Initial value None Valid range and term of When turning off the power command Valid range Printer operation in The command cannot be received during the printer progress operation.
  • Page 569 [Format of TID/EPC return data] “Specify memory”+“:”+“Data” +“Line feed(0DH、0AH)” ee:f…f(,gg:h…h) [CR][LF] Specifying the memory to be record Parameters of the IF:RFID settings section of the [DC2]PA-Printer settings DATA_TO_RECODE: The data to be read differs according to the settings of the RFID data record. "0": BOTH (EPC and TID are returned) "1": EPC (only EPC is returned) "2": TID (only TID is returned)
  • Page 570 [Sample of status reply] When [DC2]PK is received using a tag with E200680612345678 for TID specified to return TID only. ■Write successful (TID read successful) [STX]25,1,N,ID:E200680612345678[CR][LF][ETX] ■Write successful (TID read fail) [STX]9,1,T,ID:[CR][LF][ETX] ■Write fail (EPC write failed) [STX]9,0,E,ID:[CR][LF][ETX] [Supplemental explanation] •...
  • Page 571: [Dc2+Pj] Rfid Read (Iso/Iec15693) (Cl4Nx Only)

    [DC2+PJ] RFID read (ISO/IEC15693) (CL4NX Only) Command Parameter Hexadecimal code <12> <50> <4A> ,aa,bb Initial value None Valid range and term of When turning off the command power Valid range Printer operation in The command cannot be received during the printer progress operation.
  • Page 572 [Return data] Symbol Parameter name Valid range Total number of data byte Data size from the first memory data item until before [ETX] * This is the total number of bytes after parameter b. The delimiting comma between Maximum 4 digits parameters a and b, and the ETX are not included.
  • Page 573 Symbol Parameter name Description Bytes of data Data input and output form is which case of ASCII or HEX, but, as for the unit, the value becomes same for a byte. Data Refer to [Maximum return data] below. • When the command is issued specifying "H2" (UID data) for the identifier cc:e…e Symbol Parameter name...
  • Page 574 [Sample of status reply1] (format set to ASCII) When '4912345678904' and DSFID code 55H, AFI code 10H, and EAS bit 1 are recorded in the RFID tag of ICODE SLI of "E004010001D9CA2D", UID :. Command [DC2]PJ,H1,AS Status reply [STX]22,02,UD:13,4912345678904[ETX] USER data Inlet type (ICODE) Command [DC2]PJ,H1,H3,AS...
  • Page 575 [Sample of status reply 4] (format set to ASCII) When there is not an RFID tag or when an RFID tag is bad. Command [DC2]PJ,H1,AS Status reply [STX]2,06[ETX] Inlet type (RFID tag none/reading error) Command [DC2]PJ,H1,H3,AS Status reply [STX]2,06[ETX] Inlet type (RFID tag none/reading error) Command [DC2]PJ,HA,AS Status reply [STX]2,06[ETX]...
  • Page 576 [Sequence] Host Printer DC2 + PJ,aa(,aa)(,aa),bb STX + aa,bb, + cc:d…d,e…e +ETX Or, STX + aa,bb,+ cc:e…e +ETX Parent topic Common commands for all languages...
  • Page 577: [Dc2+Pk] Uid Return Request (Iso/Iec15693) (Cl4Nx Only)

    [DC2+PK] UID return request (ISO/IEC15693) (CL4NX Only) Command Parameter Hexadecimal code <12> <50> <4B> None Initial value None Valid range and term of When turning off the power command Valid range Printer operation in The command cannot be received during the printer progress operation.
  • Page 578 [UID return data] Symbol Parameter name Valid range Specify memory UI: UID Data Maximum 16 digits [Return data format (when a command error occurs)] [NAK]<15> [Exception processing] Parameter name Exception condition A value outside the The specified size and range is specified received size are different Identifier Command error...
  • Page 579: [Dc2+Pj] Rfid Read (Iso/Iec14443 Typea) (Cl4Nx Only)

    [DC2+PJ] RFID read (ISO/IEC14443 TypeA) (CL4NX Only) Command Parameter Hexadecimal code <12> <50> <4A> ,aa,bb Initial value None Valid range and term of When turning off the command power Valid range Printer operation in The command cannot be received during the printer progress operation.
  • Page 580 Symbol Parameter name Valid range Memory data Refer to [Return status format] below. [Return data format (when a command error occurs)] [NAK]<15> [Exception processing] Parameter name Exception condition A value outside the range is specified Identifier Command error Terminology Description Command error The data received after a command error is determined is not considered as a parameter of this command.
  • Page 581 Symbol Parameter name Description Data Refer to [Maximum return data] below. [Maximum return data] Command identifier Current inlet type Return number of bytes N1: USER data 01: ISO/IEC14443 TypeA 2048(ASCII) 4096(HEX) N2: UID data 01: ISO/IEC14443 TypeA 14(HEX) [Sample of status reply1] (format set to ASCII) USER data When '4912345678904' is recorded in the RFID tag of NTAG210 of "04 04 01 00 01 D9 CA", UID :.
  • Page 582 [Sample of status reply 3] When '4912345678904' is recorded in the RFID tag of NTAG210 of "04 04 01 00 01 D9 CA", UID :. Command [DC2]PJ,N2,NO Status reply [STX]20,01,UI:0404010001D9CA[ETX] UID data Inlet type (ISO/IEC14443 TypeA) [Sample of status reply 4] (format set to ASCII) When there is not an RFID tag or when an RFID tag is bad.
  • Page 583 [Supplemental explanation] • This command cannot be used in combination with commands other than <A> and <Z>. • Available with the following printer operation modes: continuous, cutter (backfeed after print), and dispenser (backfeed after print). Not available with tear-off, cutter (backfeed before print), dispenser (backfeed before print). •...
  • Page 584: [Dc2+Pk] Uid Return Request (Iso/Iec14443 Typea) (Cl4Nx Only)

    [DC2+PK] UID return request (ISO/IEC14443 TypeA) (CL4NX Only) Command Parameter Hexadecimal code <12> <50> <4B> None Initial value None Valid range and term of When turning off the power command Valid range Printer operation in The command cannot be received during the printer progress operation.
  • Page 585 [UID return data] Symbol Parameter name valid range Specify memory UD: UID Data Maximum 14 digits [Return data format (when a command error occurs)] [NAK]<15> [Exception processing] Parameter name Exception condition A value outside the The specified size and range is specified received size are different Identifier Command error...
  • Page 586: [Dc2+Pj] Rfid Read (Felica) (Cl4Nx Only)

    [DC2+PJ] RFID read (FeliCa) (CL4NX Only) Command Parameter Hexadecimal code <12> <50> <4A> ,aa,bb Initial value None Valid range and term of When turning off the command power Valid range Printer operation in The command cannot be received during the printer progress operation.
  • Page 587 Symbol Parameter name Valid range Memory data Refer to [Return status format] below. [Return data format (when a command error occurs)] [NAK]<15> [Exception processing] Parameter name Exception condition A value outside the range is specified Identifier Command error Terminology Description Command error The data received after a command error is determined is not considered as a parameter of this command.
  • Page 588 Symbol Parameter name Description e / h / k Data Refer to [Maximum return data] below. [Maximum return data] Command identifier Current inlet type Return number of bytes F1: USER data 240(ASCII) FeliCa Lite/ 480(HEX) FeliCa Lite-S * Details Scratch pad: 224(ASCII), 448(HEX) Subtract register: 16(ASCII), 32(HEX) F2: ID data IDm: 16(HEX)
  • Page 589 [Sample of status reply 2] (format set to HEX) When "4912345678904" is recorded on FeliCa Lite/FeliCa Lite-S block 8000H with IDm = "03FEFFE0536C92A8", PMm = "03014B024F4993FF" and ID block = "3031323334353637 FFE0123456789ABC" (subtract block set to default) Command [DC2]PJ,F1,HX Status reply [STX]22,04,ud:13,34393132333435363738393034[ETX] USER data USER data Inlet type (FeliCa Lite/FeliCa Lite-S)
  • Page 590 [Supplemental explanation] • This command cannot be used in combination with commands other than <A> and <Z>. • When the issue operation of the printer only is a continuous, cutter (backfeed after print), and dispenser (backfeed after print), this command can be used. It is not available in tearoff mode, cutter (backfeed before print) and dispenser (backfeed before print).
  • Page 591: [Dc2+Pk] Idm Return (Felica) (Cl4Nx Only)

    [DC2+PK] IDm return (FeliCa) (CL4NX Only) Command Parameter Hexadecimal code <12> <50> <4B> None Initial value None Valid range and term of When turning off the power command Valid range Printer operation in The command cannot be received during the printer progress operation.
  • Page 592 [IDm return data] Symbol Parameter name Valid range Specify memory DM: IDm + PMm + ID block Data Maximum 64 digits [IDm return format] Returns a 64-digit hexadecimal numeric block as a result of IDm+PMm+ID block IDm(16 digits) PMm(16 digits) ID block(32 digits) 03FEFFE0536C92A8 03014B024F4993FF...
  • Page 593 [Supplemental explanation] • The write status and IDm is returned when [DC2]PK is received after RFID write. • Although write is successful status will be returned without data if you fail to read IDm since IDm read will be done separately from write. •...
  • Page 594: [Dc2+Pn] Request To Return Label Pitch Size

    [DC2+PN] Request to return label pitch size Command Parameter Hexadecimal code <12> <50> <4E> None Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command can be received even during the printer progress operation.
  • Page 595 • The label length to be returned includes the gap between labels. • The label pitch size to be returned will show the value of last label that passes over the sensor. Therefore label will exist in between head and sensor with a short pitch label, and it may not be equal to the printed/ejected label’s pitch size.
  • Page 596 [Sequence] Host This product DC2 + PN STX + a…a,bbb,cccccc + ETX Parent topic Common commands for all languages...
  • Page 597: [Dc2+Db] Initialization

    [DC2+DB] Initialization Command Parameter Hexadecimal code <12> <44> <42> Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command cannot be received during the printer progress operation. ([NAK] return) When acquiring label Commands are not accepted while acquiring sensor sensor information...
  • Page 598 Symbol Parameter Valid range Initialization target Acquisition name method SB: SBPL settings [SBPL] section initialization SZ: SZPL settings [SZPL] section initialization SI: SIPL settings [SIPL] section initialization SD: SDPL settings [SDPL] section initialization ST: STCL settings [STCL] section initialization SA: AEP settings [AEP] section initialization CX: Registration information...
  • Page 599 [Exception processing] Parameter name Exception condition A value outside the The specified size and range is specified received size are different Identifier Command error Invalid receive data 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.
  • Page 600: [Dc2+Dc] Reset

    [DC2+DC] Reset Command Parameter Hexadecimal code <12> <44> <43> None Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command cannot be received during the printer progress operation. ([NAK] return) When acquiring label Commands are accepted while acquiring sensor sensor information...
  • Page 601: [Dc2+Dd] Power Off

    [DC2+DD] Power OFF Command Parameter Hexadecimal code <12> <44> <44> None Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command cannot be received during the printer progress operation. ([NAK] return) When acquiring label Commands are accepted while acquiring sensor sensor information...
  • Page 602: [Dc2+De] File Download

    [DC2+DE] File download Command Parameter Hexadecimal code <12> <44> <45> ,aa,b,c...c,d...d,e...e Initial Value None Valid range and term of When turning off the power The file is maintained. command Valid range Printer operation in The command cannot be received during the printer progress operation.
  • Page 603 Symbol Parameter name Valid range Acquisition method File size 0 to 999999999 (byte) Acquired up to "," File data Equivalent to file size [Return data format (normal)] [ACK]<06> [Return data format (when a command error occurs)] [NAK]<15> [Return data format (when the same file name error occurs)] 1<31>...
  • Page 604 Host This product DC2 + DE,aa,b,c・・・c,d・・・d,e・・・e ACK/NAK/ <31> Parent topic Common commands for all languages...
  • Page 605: [Dc2+Df] File Name Information Acquisition

    [DC2+DF] File name information acquisition Command Parameter Hexadecimal code <12> <44> <46> ,aa,b Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command cannot be received during the printer progress operation.
  • Page 606 [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] Symbol Parameter name Valid range 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.
  • Page 607 Host This product DC2 + DF,aa,b Normal: STX + a…a,b…b(,c…c) No data: STX + 0 + ETX Abnormal: NAK Parent topic Common commands for all languages...
  • Page 608: [Dc2+Dg] File Information Acquisition

    [DC2+DG] File information acquisition Command Parameter Hexadecimal code <12> <44> <47> ,aa,b,cccccc,ddddddd Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command cannot be received during the printer progress operation.
  • Page 609 [Return data format (normal, data exists)] [STX]a...a,b...b[ETX] Symbol Parameter name Valid range 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.
  • Page 610 Host This product DC2 + DG,aa,b,cccccc,ddddddd Normal: STX + aaaaa,bbb...bb,ccc...cc + ETX No data: STX + 0 + ETX Abnormal: NAK Parent topic Common commands for all languages...
  • Page 611: [Dc2+Dh] File Deletion

    [DC2+DH] File deletion Command Parameter Hexadecimal code <12> <44> <48> aa,b,c(,ddddd,eeeee) Initial Value None Valid range and term of When turning off the power command Valid range Printer operation in The command cannot be received during the printer progress operation. ([NAK] return) When acquiring label Commands are not accepted while acquiring sensor sensor information...
  • Page 612 [NAK]<15> [Exception processing] Parameter name Exception condition A value outside the The specified size and range is specified received size are different Language Command error Command error File type Command error Command error Deletion type Command error 0: Command error 1: Invalid receive data File name size Command error...
  • Page 613: Time Zone List

    Time zone list Time zone name UTC offset Cover area Africa Africa/Addis Ababa +03:00 Addis Ababa (Ethiopia) Africa/Algiers +01:00 Alger (Algeria) Africa/Cairo +02:00 Egypt Africa/Cape Town +02:00 South Africa Africa/Casablanca +00:00 Morocco Africa/Khartoum +03:00 Sudan Africa/Lagos +01:00 Nigeria Africa/Tripoli +02:00 Libya Africa/Tunis +01:00...
  • Page 614 Time zone name UTC offset Cover area Asia/Oral +05:00 West Kazakhstan Province (Kazakhstan) Asia/Phnom Penh +07:00 Cambodia Asia/Pontianak +07:00 Borneo (Indonesia) Asia/Rangoon +06:30 Myanmar Asia/Riyadh +03:00 Saudi Arabia Asia/Saigon +07:00 Vietnam Asia/Seoul +09:00 Korea Asia/Shanghai +08:00 Shanghai Asia/Singapore +08:00 Singapore Asia/Taipei +08:00 Taiwan...
  • Page 615 Time zone name UTC offset Cover area Caribbean/Santo Domingo -04:00 Dominica Central America Central America/Belmopan -06:00 Belize Central America/Guatemala -06:00 Guatemala Central America/Managua -06:00 Nicaragua Central America/Panama -05:00 Panama Central America/San Jose -06:00 San Jose (America) Central America/San Salvador -06:00 El Salvador Central America/Tegucigalpa -06:00...
  • Page 616 Time zone name UTC offset Cover area Europe/Luxembourg +01:00 Luxembourg Europe/Madrid +01:00 Spain Europe/Malta +01:00 Malta Europe/Mariehamn +02:00 Finland Europe/Minsk +03:00 Belarus Europe/Monaco +01:00 Monaco Europe/Moscow +04:00 European Russia (Russia) Europe/Nicosia +02:00 Cyprus Europe/Oslo +01:00 Norway Europe/Paris +01:00 France Europe/Podgorica +01:00 Serbia Europe/Prague...
  • Page 617 Time zone name UTC offset Cover area North America North America/Alaska -09:00 Alaska (America) North America/Aleutian -10:00 Aleutian Islands (America) North America/Arizona -07:00 Arizona (America) North America/Central -06:00 Canada, America, Mexico North America/Danmarkshavn +00:00 Greenland (Denmark) North America/East-Indiana -05:00 Indiana (America) North America/Eastern -05:00 Canada, America, Mexico...
  • Page 618 Time zone name UTC offset Cover area South America/Manaus -04:00 Amazon (Brazil) South America/Montevideo -03:00 Uruguay South America/Port of Spain -04:00 Trinidad, Tobago South America/Santiago -04:00 Chile South America/Sao_Paulo -03:00 Brazil Parent topic Part 1 SBPL Commands...
  • Page 619: Part 2 Interface Specification

    Part 2 Interface Specification Overview Communication protocol RS-232C IEEE1284 LAN/Wireless LAN Bluetooth External signal interface USB HOST Notes about the Interface Overview Overview Combination of interface Parent topic Part 2 Interface Specification Overview This printer has a build-in interface on the printer to communicate data with host and has an external signal interface to connect printer and peripheral devices.
  • Page 620: Combination Of Interface

    Combination of interface Interfaces can be combined as described in the following chart. CONT PCB KB-PCB IF-PCB (COMBO) Optional USB LAN Bluetooth NFC RS-232C IEEE1284 Wireless CONT PCB ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○...
  • Page 621: Communication Protocol

    Communication protocol Types of communication protocol and Receive mode Return status READY/BUSY XON/XOFF Status 3 Status 4 Status 5 Parent topic Part 2 Interface Specification Types of communication protocol and Receive mode The available receive mode differs depending on the combination of interface and communication protocol.
  • Page 622 With bidirectional communication ○: Enabled, x: Disabled Parent topic Communication protocol...
  • Page 623: Return Status

    Return status The purpose of return status is to manage the status of this product from the host, and the product returns the status by request command from host. There are three types of return status format, Status 3, Status 4, and Status 5. Each return status is listed below.
  • Page 624 (1) ENQ (Status request) Host This product Send ENQ (05H) Write Create status information Transmission interval Send buffer time (5ms or more) STX xxA000000・・・・ ETX Receive STX xxA000000・・・・ ETX Read    (2) CAN (Cancel request) Host This product Send CAN (18H) Write Cancelling Transmission...
  • Page 625: Return Status Of Status 3

    Return status of Status 3 The purpose of this communication protocol is to return the product condition and reply as a status to the host by receiving three types of request commands and print command. Following described about the details of request commands and return status. 1) Status request command This command returns the Job ID number of received data in printing, status of this product and the number of remaining label to print to the host.
  • Page 626 Description ASCII (UNUSED) BATTERY NEAR END & BUFFER NEAR FULL (UNUSED) BATTERY NEAR END & RIBBON NEAR END & BUFFER NEAR FULL ONLINE WAIT TO NO ERROR STATE RECEIVE RIBBON / LABEL NEAR END BUFFER NEAR FULL RIBBON / LABEL NEAR END & BUFFER NEAR FULL (UNUSED) BATTERY NEAR END (UNUSED) BATTERY NEAR END &...
  • Page 627 Description ASCII RIBBON / LABEL NEAR END & BUFFER NEAR FULL (UNUSED) BATTERY NEAR END (UNUSED) BATTERY NEAR END & RIBBON NEAR (UNUSED) BATTERY NEAR END & BUFFER NEAR FULL (UNUSED) BATTERY NEAR END & RIBBON NEAR END & BUFFER NEAR FULL ERROR BUFFER OVER DETECTION...
  • Page 628 * This command shall not be used while sending other data like print data. 1. Command CAN (HEX 18H) 2. Return status list Return status Description ACK (HEX 06H) No error in this product NAK (HEX 15H) Error in this product Note: ACK is HEX 0000000106H and NAK is HEX 0000000115H for LAN / Wireless LAN interface.
  • Page 629: Return Status Of Status 4

    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. 1) Status request command This command returns the job ID number of receiving data in printing, the status of this product, the number of remaining label to print, and job name to host.
  • Page 630 Description ASCII BUFFER NEAR FULL RIBBON/LABEL NEAR END & BUFFER NEAR FULL PRINT HALT (NO ERROR) (UNUSED) BATTERY NEAR END (UNUSED) BATTERY NEAR END & RIBBON NEAR “ (UNUSED) BATTERY NEAR END & BUFFER NEAR FULL (UNUSED) BATTERY NEAR END & RIBBON NEAR END &...
  • Page 631 Description ASCII PRINT HALT (NO ERROR) (UNUSED) BATTERY NEAR END (UNUSED) BATTERY NEAR END & RIBBON NEAR (UNUSED) BATTERY NEAR END & BUFFER NEAR FULL (UNUSED) BATTERY NEAR END & RIBBON NEAR END & BUFFER NEAR FULL ERROR HEAD OPEN DETECTION PAPER END RIBBON END...
  • Page 632 2) Cancel request command This command enables to cancel print jobs and to clear the entire contents of receive buffer. The status of this product after finishing process is returned. * When the cancel request command has been sent, wait more than 500 ms before sending the next data. * Please do not send CAN (Cancel request command) while STX <A>...
  • Page 633: Return Status Of Status 5

    Please do not send DLE (Print end request command) while STX <A> to <Z> ETX. DLE (Print end request command) would not be sent properly. Font data, graphic data, barcode data will not be processed as DLE transmission (Print end request). 5) Print start request command This command releases the pause mode of the printer and restarts the printing process.
  • Page 634 a      [Item No.] Valid range  :  00000 to 99999 *****      1. Parameter must be 5 digits parameter 2. Parameter [*] is [HEX 2AH] 3. Use item No. to be compatible with previous printers. Ignore Item No. Always returns the status of final item. Return status format (Legacy Status setting is valid with LAN/Wireless LAN, Other I/F) Speci f ied item Speci f ied item...
  • Page 635 Digit Description ASCII Label near end & Ribbon near end Label near end & Buffer near full Label near end & Ribbon near end & Buffer near full Machine error Flash ROM error Head open Paper End Ribbon end Sensor error Head error Memory read / write error (Cartridge read / write error) Memory full (Cartridge full)
  • Page 636 3) BCC check functionality BCC (Block Check Code) is 1 byte of data calculated XOR of 1 send data (<A>-<Z>). BCC shall be added to the end of data (<Z>) per item for host to send data to this product. This product checks the validity of receiving data by calculating BCC per data item being received and compares it with sent BCC.
  • Page 637 [Usage example] (1) STX SOH CAN 00001 ETX (2) STX SOH CAN ***** ETX   [Supplementary explanation] • Please do not use this command while sending other data like print data etc. • Please note that there is no return data for this command. Host will send item acquiring command (SOH+ENQ) so please check the result by checking the return status.
  • Page 638 • Please note that there is no return data for this command. Host will send item acquiring command (SOH+ENQ) so please check the result by checking the return status. 7) Status 5 return error cancellation request command This command cancels Item No. error or BCC error and resume printing operation from the item with error.
  • Page 639: Ready/Busy

    READY/BUSY This communication protocol controls the reception of print data by the control of hard signal only. Refer to RS-232C for the details. Parent topic Communication protocol...
  • Page 640: Xon/Xoff

    XON/XOFF This communication protocol communicates with the host to see if the printer is ready to receive data by sending "XON" (HEX 11H) or "XOFF" (HEX 13H) codes to signal line. Refer to RS-232C for the details. Parent topic Communication protocol...
  • Page 641: Status 3

    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 Parent topic...
  • Page 642: Return Sequence

    Return sequence Please refer to "Printer Status" in "LAN" / "Wireless LAN" described below when LAN / Wireless LAN interface is used.   1) Normal process HOST This product *1 Responds to print command only when (Status request command) RS-232C and Bluetooth. IDnumber=[space] Status Status=Wait for receive...
  • Page 643 2) Cancel request command Host This product *1 Responds to print command only when RS-232C and Bluetooth. (Status request command) ID No.=[SPACE] Status Status=Wait for receive Print q’ty[000000] Print command ID No.=[12] Print q’ty=50 Receiving/Analysis/Editing (Printer Status: No error) *1 Print operation Print 1st label (Status request command)
  • Page 644: Reference Flow Chart

    Reference flow chart Please refer to the following flow chart for creating program at host with this protocol. Loop Power ON Print data set Receive status? Status Set Send ENQ Time out? Loop Time out? Time out Set Display status RETURN Display ID number Display print Qty...
  • Page 645: Status 4

    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 Parent topic Communication protocol...
  • Page 646: Return Sequence

    (Status request command) ID No.=[SPACE] Status=Wait forReceive Status Print q’ty=[000000] Job name=[SPACE] ID No.=[05] Print q’ty=100 Print command Receiving/Analysis/Editing Job name=[SATO] (Printer Status: No error)*1 (Status request command) ID No.=[05] Status=Editing Status Print q’ty=[000000] Job name=[SATO] Print operation (Status request command) Print 1st label ID No.=[05]...
  • Page 647 ID No.=[SPACE] Status=Wait for Receive Status Print q’ty=[000000] Job name=[SPACE] ID No.=[12] Print command Receiving/Analysis/Editing Print q’ty=50 Job name=[SATO] (Printer Status: No error) *1 Print operation (Status request command) Print 1st label ID No.=[12] Status Status=Printing Print q’ty=[000050] Job name=[SATO]...
  • Page 648: Status 5

    Status 5 The purpose of this communication protocol is to monitor and to control the status of printer data on host, and this communication protocol has variety of functionalities. Receive mode for this communication protocol is multi buffer mode. Receiving buffer control Return sequence Parent topic Communication protocol...
  • Page 649 2) Cancellation This Product HOST STX ESCA ESCID00001 ESC・・・ ESCZ BCC ETX Edit STX ESCA ESCID00002 ESC・・・ ESCZ BCC ETX No00001 Edit No0000 Print No0000 STX SOH CAN00002 ETX In process of cancellation (About 500 ms) STX SOH ENQ***** ETX STX ***** ** ***** 10 000000 ETX ␣␣␣␣␣...
  • Page 650 3) Error handling This Product HOST STX ESCA ESCID00001 ESC・・・ ESCZ BCC ETX Edit STX ESCA ESCID00002 ESC・・・ ESCZ ETX No00001 Edit No00002 STX SOH ENQ00001 ETX Print BCC error No00001 STX 00001 00 00001 20 000001 ETX error No00002 (Stop operation) STX SOH ENQ***** ETX *Waiting...
  • Page 651: Basic Specification

    RS-232C Basic specification READY/BUSY XON/XOFF Status5 return Status4 return Status3 return Caution Parent topic Part 2 Interface Specification Basic specification This interface complies with the RS-232C standard. Various communication settings are available by the interface mode of the printer or the printer setup tool.
  • Page 652 Connector Printer side    DSUB9 pin (female) Cable side    DSUB9 pin (male) Cable length    Equal to or less than 5 (m) Transmission format Start Stop * When 7bit format is used, b8 is omitted. Signal level High level: + 5 ~ + 12V Low level : - 5 ~ - 12V Parent topic RS-232C...
  • Page 653: Ready/Busy

    READY/BUSY This communication protocol controls the reception of print data by the control of hard signal only without having software methods. When the print data (STX <A> ~ <Z> ETX) has been sent from the host in the conditions below, received data may not be accurate: 1) When the printer is in offline state.
  • Page 654: Timing Chart Of Multiple Receive

    Timing chart of multiple receive 1) Normal process Receive buffer near full state Receive buffer near full release Press the LINE button Press the LINE button Power On Printer Initializing STX..ETX (1) STX..ETX (2) STX..ETX (3) STX..ETX (4) Online Offline Printer Status Receive/Analysis/Edit (1) Receive/Analysis/Edit (3)
  • Page 655: Xon/Xoff

    XON/XOFF This communication protocol communicates with the host to see if this product is ready to receive data by sending “XON” (HEX 11H) or “XOFF” (HEX 13H) codes to SD line. When the print data (STX <A>~ <Z> ETX) has been sent from the host in the conditions below, received data may not be accurate: 1) When this product is in offline state.
  • Page 656: Timing Chart Of Multiple Receive

    Timing chart of multiple receive 1) Normal process Receive buffer near full state Receive buffer near full release Press the LINE button Press the LINE button Power On Printer Initializing 500 msec STX.ETX (2) STX.ETX (1) STX.ETX (3) STX..ETX (4) Offline Online Printer Status...
  • Page 657: Status5 Return

    Status5 return This communication protocol is designed for the purpose of monitoring and controlling print data status in the host, and also featuring various functions. In this protocol, receive mode is set to multi buffer. Connection diagram I/O signal Timing chart Parent topic RS-232C Connection diagram...
  • Page 658: Timing Chart

    Timing chart 1) Normal process Power On Buffer near full state Press the LINE button Buffer near full release Press the LINE button Printer STX...ETX (1) STX...ETX (2) STX...ETX (3) Initializing Status Status Status Status Status Offline Online Printer Status Receive/Analysis/Edit (1) Receive/Analysis/Edit (2) Receive/Analysis/Edit (3)
  • Page 659 3) Error process Paper end error Head open Head close Press the LINE button Printer STX...ETX (1) Status Status Status Status Status Status Status Online Online Offline Printer Status Receive/Analysis/Edit (1) Printing (1) Printing (1) * When the paper end error occurs, open the head, set label, close the head and feed. Note:(1) The paper end error will be released when the head is closed.
  • Page 660 5) Information request command process Printer Get printer info STX.ETX (1) STX..ETX (2) Printer status Status Status Status Status Online Printer Status Receive/Analysis/Edit (1) Receive/Analysis/Edit (2) Printing (1) Printing (2) 6) BCC error process Note: Do not send status request commands during printing. BCC error Item cancel Printer...
  • Page 661: Status4 Return

    Status4 return This communication protocol is designed for the purpose of monitoring printer status in the host, and returns Status from the printer by receiving request command from the host. Status is returned immediately after receiving request command. In this protocol, receive mode is set to multiple buffer. Connection diagram I/O signal Timing chart...
  • Page 662: Timing Chart

    Timing chart 1) Normal process Power On Press the LINE button Press the LINE button Receive buffer near full state Receive buffer near full release Printer STX..ETX (1) STX.ETX (2) STX.ETX (3) Initializing Status Status Status Status Status Online Offline Printer Status Receive/Analysis/Edit (2) Receive/Analysis/Edit (3)
  • Page 663 3) Error process Paper end error Head open Head close Press the LINE button Printer STX..ETX (1) Status Status Status Status Status Status Status Offline Online Online Printer Status Printing (1) Printing (1) * When the paper end error occurs, open the head, set label, close the head and feed. Note: (1) The paper end error will be released when the head is closed.
  • Page 664 5) Information request command process Printer Get printer info STX..ETX (2) STX.ETX (1) Status Printer status Status Status Status Online Printer Status Receive/Analysis/Edit (1) Receive/Analysis/Edit (2) Printing (1) Printing (2) Note: Do not send status request commands during printing.
  • Page 665: Status3 Return

    Status3 return The purpose of this communication protocol is to control printer status in the host. With the request command from the host, the printer returns the status. After receiving the request command, the status is immediately returned. In this communication protocol, receive mode is set to multiple buffer. Connection diagram I/O signal Timing chart...
  • Page 666: Timing Chart

    Timing chart 1) Normal process Power On Receive buffer near full state Receive buffer near full release Press the LINE button Press the LINE button Printer STX.ETX (2) STX.ETX (1) STX..ETX (3) Initializing Status Status Status Status Status Offline Online Printer Status Receive/Analysis/Edit (3) Receive/Analysis/Edit (1)
  • Page 667 3) Error process Paper end error Head open Head close Press the LINE button Printer STX..ETX (1) Offline Online Online Receive/Analysis/Edit (1) Printing (1) Printing (1) When the paper end error occurs, open the head, set label, close the head and feed. Note: (1) The paper end error will be released when the head is closed.
  • Page 668: Caution

    Caution • Please mind the following items when using READY/BUSY control. Make sure the printer is powered when sending print data from host. • “Receive buffer full” error will occur if you send data larger than receive buffer size (2.95 MB) using XON/XOFF, Status3, Status4 and Status5.
  • Page 669: Ieee1284

    IEEE1284 Basic specification Connection diagram Connector pin assignment I/O signal Timing chart of multiple receive Parent topic Part 2 Interface Specification Basic specification This interface complies with the Centronics/IEEE1284 standard. Interface Amphenol 36P   female Protocol 1) The range of values in communication setting mode Item Value Default value...
  • Page 670 Timing chart ECP mode Centronics compatible mode T1 T2 T1 T2 DATA STROBE BUSY Note1: 0.75μs ≦ 0.75μs 500μs ≦ ≦ 0.5μs < T3 < 1.2μs   IMPORTANT: Send print data while the printer is on. Turn off the printer when you disconnect interface cable. Parent topic IEEE1284...
  • Page 671: Connection Diagram

    Connection diagram Following is a parallel cable connection diagram. Use a cable complies with IEEE1284 standard. D-SUB 25P Amphenol ( ( Printer side) ) ( ( Host side) ) G G N N D D G G N N D D ⊃...
  • Page 672: Connector Pin Assignment

    Connector pin assignment See below for the connector pin assignment of Centronics standard (compatible mode). When IEEE1284 standard connector is used, connection complies with IEEE1284-B type connector. Pin no. Signal name Pin no. Signal name STROBE Input STROBE-RETURN DATA 1 Input DATA 1-RETURN DATA 2...
  • Page 673: I/O Signal

    I/O signal The details of each signal line for the Centronics standard (compatible mode) are as follows. Note that each signal line complies with the IEEE1284 standard. Pin No. Signal I / O Description STROBE Input Synchronization signal that requires low active pulse to read DATA1 ~ DATA8 DATA 1~DATA 8 Input...
  • Page 674: Timing Chart Of Multiple Receive

    Timing chart of multiple receive (1) Normal process Power On Press the LINE button Press the LINE button Receive buffer near full state Receive buffer near full release Printer ESC A.. ESC Z (3) Initializing ESC A..ESC Z (1) ESC A...ESC Z (2) DATA STROBE BUSY...
  • Page 675 (2) Process at the paper end Head open Head close Press the LINE button Paper end error ESC A..ESC Z (1) ESC A...ESC Z (2) DATA Printer STROBE BUSY SELECT FAULT Online Offline Online Receive/Analysis/Edit (1) Receive/Analysis/Edit (2) Printing (1) Printing (1) Printer Status *When the paper end error occurs, open the head, set label, close the head and feed.
  • Page 676: Usb

    Basic Specifications Layout plan for connector pin Parent topic Part 2 Interface Specification Basic Specifications USB interface of this product comply with USB2.0 standard. Interface Type B Female part Communication settings Setting range in communication settings mode Item Setting value Initial value Protocol Status 4, Status 5...
  • Page 677: Layout Plan For Connector Pin

    Layout plan for connector pin Pin number Name VBus -Data(D-) +Data(D+) Parent topic...
  • Page 678: Lan/Wireless Lan

    LAN/Wireless LAN Basic Specifications (LAN) Basic Specificationss (Wireless LAN) Specifications of software Specifications of TCP/IP Specifications of LPR Specifications of FTP NTP (Network Time Protocol) Specifications of HTTP/HTTPS Wireless LAN settings Socket communication Connection and Disconnection of session TCP connection queue Printer Status Specification of SNMP Switching LAN and WLAN...
  • Page 679: Lan Settings / Display Items

    The size of receive buffer 2.95 MB 2.95 MB 0 M B N ear full occures 0.95 MB rem ains Near full release 1. 95 M B re mai ns LAN settings / Display items Parent topic LAN/Wireless LAN LAN settings / Display items Following chart lists configurable and referable items.
  • Page 680 Setting name Setting range Default value (Factory setting) Cycle of ARP notification "0" to "600"(seconds) KEEPALIVETIME "30" to "300"(seconds) KEEPALIVECOUNT "1" to "99"(times) SOCKET_CANCEL "0" : Normal mode "1" : Compatible mode Communication protocol Status 4 (Cycle) Status 4 (ENQ) (SBPL) Status 4 (ENQ) Status 3...
  • Page 681 Setting name Setting range Default value (Factory setting) SNMP read-only authentication 8 to 32 of character string mypassword password Protocol for SNMP read -only authentication encryption SNMP read-write encryption 8 to 32 of character string mypassword password SNMP read-write 1|2c|3 1|2c|3 1|2c Disabled...
  • Page 682 Setting name Setting range Default value (Factory setting) ASCII for 128 bit Allow "0" ~ "9", "A"~"F" for A ~ H A to H can be omitted. SNMP IPv4 trap Destination3 AAA.BBB.CCC.DDD 0.0.0.0 Allow "0" ~ "255" for A ~ D SNMP IPv6 trap Destination3 AAAA:BBBB:CCCC:DDDD:EEEE:FFFF:GGGG:HHHH ASCII for 128 bit...
  • Page 683: Basic Specifications (Wireless Lan)

    Basic Specifications (Wireless LAN) Interface (Wireless LAN PCB) Protocol Following communication protocol is configurable Setting item Setting range Protocol Return Status 3 Return Status 4 (Cycle response mode) Return Status 5 (ENQ reply mode)(Default value) Return Status 5 Wireless status display Display radio field intensity with icon on screen.
  • Page 684 Specifications of Wi-Fi 1) Communications Standards Comply with IEEE802.11a/b/g/n Communications Standards Frequency band Maximum speed IEEE802.11b 2.4 GHz 11 Mbps IEEE802.11a 5 GHz 54 Mbps IEEE802.11g 2.4 GHz 54 Mbps IEEE802.11n 2.4/5 GHz 135 Mbps 2) Connection conditions for IEEE802.11n MCS value 0-6 supported MCS value 7 is working, but performance is not guaranteed.
  • Page 685 6) Wireless LAN security Infrastructure mode Wireless LAN security None WPA+WPA2 WPA2 Dynamic WEP Open System Shared Key WEP Key 1 to 4 WEP Key character string 64bit: 5 ASCII / 10 hex 128bit: 13 ASCII / 26 hex WPA + WPA2, WPA2 PSK Key 8 to 64 ASCII 64 hex EAP Conf Enterprise(802.1x)...
  • Page 686 Ad Hoc mode None Open System Shared Key WEP Key 1 to 4 WEP Key character string 64bit: 5 ASCII / 10 hex 128bit: 13 ASCII / 26 hex 7) Supports WPS 2.0 (Wi-Fi Simple Configuration Technical Specification v2.0.0) 8) Able to communicate with 6 devices at the maximum in Ad Hoc mode. 9) It is certified for CCX certification (Ver4.0), Wi-Fi ®...
  • Page 687: Wireless Lan Setting/Display Items

    Wireless LAN setting/Display items Following chart lists configurable and referable sections and variables. Variable name Setting range Initial value (Factory setting) Wireless LAN operation mode Infrastructure/Ad Hoc Ad Hoc SSID SATO_PRINTER 1 to 32 of character strings Hidden SSID Enabled/Disabled Enabled Channel number 1 to 13...
  • Page 688 Variable name Setting range Initial value (Factory setting) EAP-GTC EAP-MD5 EAP-MSCHAPv2 EAP-OTP EAP-TLS EAP authentication user name NULL 0-63 digits EAP authentication password 0 to 32 of encryption character strings NULL Anon. Outer ID NULL 0-63 digit character string If EAP Mode=FASE,PEAP,TTLS Verify Server Cert.
  • Page 689: Specifications Of Software

    Specifications of software Supported protocol: TCP/IP Network layer: IPv4, IPv6, ICMP Session layer: TCP, UDP Application layer: LPR, FTP, DHCP, HTTP/HTTPS, SNMP, NTP 1. LPR, FTP and dedicated socket protocol of TCP/IP can be used for sending print data. 2. Status of printer can be obtained by dedicated socket protocol. Parent topic LAN/Wireless LAN Specifications of TCP/IP...
  • Page 690: Ntp (Network Time Protocol)

    NTP (Network Time Protocol) NTP corrects the time of printer. NTP obtains the time from NTP server to correct the time of printer when the NTP functionality is enabled. It also corrects time of calendar IC when calendar IC is equipped.
  • Page 691: Specifications Of Http/Https

    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. If you are sure you have entered in the correct IP address, go to the Advanced option and click Proceed to [printer's IP address] to view WebConfig screen.
  • Page 692 Login has been completed. Parent topic LAN/Wireless LAN...
  • Page 693: Wireless Lan Settings

    Wireless LAN settings 802.1x authentication and certification Parent topic LAN/Wireless LAN 802.1x authentication and certification Depending on format, certification may be required or may not be required for 802.1x authentication. When certification is required, it is necessary to import it from Web setting screen or USB memory. Following shows the necessity of certifications, ID and password of each format for 802.1 authentication followed by the types of certifications and secret keys.
  • Page 694: Socket Communication

    Socket communication In the socket server of TCP/IP, Port1 is used for print data reception, Port 2 is used for 2-port connection of printer status return, and Port 3 is used for 1-port connection for both receiving print data and printer status return. It is not possible to use 2 port connection and 1 port connection at the same time.
  • Page 695: Connection And Disconnection Of Session

    Connection and Disconnection of session Following is the procedure for connection and disconnection of Port 1 (for print data) and Port 2 (for status return) and Port 3 or Port 1 (for send/return port) in socket server functions. 1) Print data port (Port1), Status return port (Port2) Host This product LISTEN...
  • Page 696 2) Sent/Received port (Port3 or Port1) Host This product LISTEN CONNECT (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 CLOSE (Port1 or Port3) CONNECT end LISTEN...
  • Page 697: Tcp Connection Queue

    TCP connection queue TCP connection queue functionality allows the printer to return an acknowledgement response (ACK) to a connection request (SYN) from another host while the printer is connected to one host. Note: For connection with one host, this function prevents the printer from returning a forced disconnection (RST) to the host if the printer receives the next connection request (SYN) ahead in case a process of connection termination (FIN) is delayed by network delay.
  • Page 698 TCP connection queue: Enabled While connected to one host, the printer returns an acknowledgement response (ACK) to a connection request (SYN) from another host. * Only 1 port connection of Status 3, 4, 5 is supported when TCP connection queue is enabled. Host 2 Host 1 Printer...
  • Page 699: Printer Status

    Printer Status 1) Status mode There are 3 types of mode for status return when using LAN interface. 1. Status 4/ Cyclic 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.
  • Page 700 Specified item No. Specified item Currently processing Currently processing Number of currently 1byte 5 byte status item No item status processing item 2 bytes 5 bytes 2 bytes to be printed 1 byte 6 bytes (Total 22bytes) Please refer to [Return status of Status 5] for the description of [Status]. 3.
  • Page 701 3) Sequence 1. Status 4/ENQ response mode (2 port connection or 1 port connection) Status 4/ Cyclic response mode (2 port connection or 1 port connection) Output print status in constant period (500ms-1000ms interval) The latest Printer Status is returned after printer receives status request command (ENQ:05H) from host.
  • Page 702 HOST PRINTER LISTEN CONNECT (Port1 or Port3) ACCEPT CONNECT success connect Status request (Port1 or Port3) The latest printer status (ENQ[05h]) Printer status(Port1 or Port3) CLOSE (Port1 or Port3) CLOSE CONNECT LISTEN Parent topic LAN/Wireless LAN...
  • Page 703: Specification Of Snmp

    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.
  • Page 704: Printermib / Hostresourcemib (T.p.d) To Show The Status Of Printer

    PrinterMIB / Host Resources MIB that shows printer status CL4NX Printer MIB Host Resources MIB hrPrinterDete prtAlertSeveri prtAlertTraini hrDeviceStat hrPrinter Alert Description prtAlertGroup prtAlertCode ctedErrorStat tyLevel ngLevel Status subunitLifeOve EBATTDEG Battery degradation critical(3) untrained(3) other(1) r(11) subunitLifeOve EBATTCAUTION Battery degradation...
  • Page 705 CL4NX Printer MIB Host Resources MIB hrPrinterDete prtAlertSeveri prtAlertTraini hrDeviceStat hrPrinter Alert Description prtAlertGroup prtAlertCode ctedErrorStat tyLevel ngLevel Status EBVSTART Barcode verification error(start position) critical(3) trained(4) other(1) other(1) fieldService(5 ECALENDAR Calendar error critical(3) other(1) other(1) subunitMemoryE ECDBATTL Card memory full...
  • Page 706 CL4NX Printer MIB Host Resources MIB hrPrinterDete prtAlertSeveri prtAlertTraini hrDeviceStat hrPrinter Alert Description prtAlertGroup prtAlertCode ctedErrorStat tyLevel ngLevel Status EGAPTOOLONG Gap too long critical(3) untrained(3) input(8) other(1) fieldService(5 EHDERR/EHEAD Head error critical(3) marker(10) other(1) subunitOpened( bit #4 EHOPEN/EHEADOPEN Head open...
  • Page 707 CL4NX Printer MIB Host Resources MIB hrPrinterDete prtAlertSeveri prtAlertTraini hrDeviceStat hrPrinter Alert Description prtAlertGroup prtAlertCode ctedErrorStat tyLevel ngLevel Status EPLATFORM Package platform mismatch error critical(3) other(1) other(1) other(1) EPOWEROFF Power off error critical(3) trained(4) other(1) other(1) fieldService(5 generalPrinter subunitOverTem EPRINTERTEMP...
  • Page 708 CL4NX Printer MIB Host Resources MIB hrPrinterDete prtAlertSeveri prtAlertTraini hrDeviceStat hrPrinter Alert Description prtAlertGroup prtAlertCode ctedErrorStat tyLevel ngLevel Status interpreter(15 ESIPLFORMATFULL Format full critical(3) other(1) other(1) ESNTP NTP error critical(3) other(1) other(1) other(1) fieldService(5 ESOCKET Socket error critical(3) channel(14) other(1)
  • Page 709 CL4NX Printer MIB Host Resources MIB hrPrinterDete prtAlertSeveri prtAlertTraini hrDeviceStat hrPrinter Alert Description prtAlertGroup prtAlertCode ctedErrorStat tyLevel ngLevel Status inputMediaSupp bit #0 guiWarning_paperNearEnd Paper near end warning(4) untrained(3) input(8) lyLow(807) (lowPaper) guiWarning_receiveBufferNea Receive buffer near full warning(4) other(1) channel(14) other(1)
  • Page 710: Switching Lan And Wlan

    Switching LAN and WLAN This feature switches LAN and WLAN so that LAN can be used while the WLAN unit is connected. Select the interface from Interface > Network > Interface on LCD. There are 3 options to select from as below. Item Description AUTO...
  • Page 711: Notes

    Notes Common with LAN /Wireless LAN interface Wireless LAN interface LAN Interface Parent topic LAN/Wireless LAN Common with LAN /Wireless LAN interface 1. 150ms to 200ms 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).
  • Page 712: Bluetooth

    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) Power saving mode sniff, park, hold (Operate according to host setting) Setting of CRC (Enabled/Disabled)
  • Page 713 Disconnection timeout period (SPP layer) 0 second (Initial value) Disconnection timeout period (LMP layer) 60 seconds (Initial value) Parameter Setting item Setting range Protocol Status 3 Status 4 (Initial value) None Receive buffer size 2.95 MB 2.95 MB 0 MB Near Full Remaining 0.95 MB Release Near...
  • Page 714 • 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...
  • Page 715: Bluetooth Settings

    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.
  • Page 716: Crc Transmission Data

    CRC transmission data When CRC check mode is selected, transmit data format needs to be configured as follows. Commands CRC_High CRC_Low CRC calculation range Item HEX (H) Description Transmission control character to start text Commands Commands+Parameter Transmission control character to end text 2 bytes Calculate by computation method called CRC-ANSI.
  • Page 717: Crc Calculation Data

    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.
  • Page 718 (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)
  • Page 719: Example Of Transmission Data

    Example of transmission data Following shows an example of transmission data. (1) Print data <A> <X22>,sato <Q>0001 <Z> 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>...
  • Page 720: Crc Error Display

    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 3 ways to clear CRC error as follows.
  • Page 721: Transmission Sequence

    Status=Wait for Receive Remaining label=[000000] Job name=[Space] Print command (STX to ETX CRC) ID number=[05] Receiving/Analysis/Editing Print Qty=100 Job name=[SATO] ( Printer status: No error ) ( Status re q uest command ) ID number=[05] Status=Editing Print Remaining label =[000000]...
  • Page 722 Status 3 (CRC check is enabled) HOST This product CONNECT (Status request command) ID number=[Space] Status Status=Wait for Receive Remaining label=[000000] Print command (STX to ETX CRC) Receiving/Analysis/Editing ID number=[05] Print Qty=100 (Printer status: No error) (Status request command) ID number=[05] Status Status=Editing Remaining label=[000000]...
  • Page 723 Print 1st label Remaining label=[000100] Job name=[SATO] Print command (STX to ETX) Print 2nd label ID number =[06] Print Qty =50 Receiving/Analysis/Editing Job name =[SATO] (Printer status: No error) Print 3rd label PAPER END (Status request command) ID number=[05] Status=Paper end Status...
  • Page 724 Status 3 (CRC check is disabled) HOST This product CONNECT (Status request command) ID number=[Space] Status Status=Wait for Receive Remaining label=[000000] Print command (STX to ETX CRC) ID number=[05] Receiving/Analysis/Editing Print Qty=100 (Printer status: No error) (Status request command) ID number=[05] Status Status=Editing Remaining label=[000000]...
  • Page 725: In Case Where Communication Is Lost While Transferring Print Data

    CONNECT Disconnection or communication failure Print command (STX to ETX CRC) ID number=[05] Print Qty=50 Receiving/Analysis/Editing Job name=[SATO] × × (Status request command) Disconnection timeout period has passed. ID number=[05] *Clear print command that has already been received. Status Status=Wait for Receive...
  • Page 726: In Case Where Communication Is Lost While Transferring Status After Receiving Print Data

    HOST This product CONNECT Print command (STX to ETX CRC) ID number=[12] Print Qty=50 Receiving/Analysis/Editing Job name=[SATO] X 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.
  • Page 727: Abnormal End When Crc Check Is Enabled

    This product CONNECT Print command (STX to ETX CRC) ID number=[05] Print Qty=50 Receiving/Analysis/Editing Job name=[SATO] CRC abnormal data * Printer behavior is defined by key operation or command. Refer to “CRC error display” for details. Note • Received data is cleared and ACK/NAK is not returned when the received printer data has CRC error.
  • Page 728: External Signal Interface

    External signal interface Basic specification Connector pin assignment I/O signal Timing Waveform Parent topic Part 2 Interface Specification Basic specification External signal interface is designed to connect the printer to external peripheral devices. External signal interface works only in pulse input mode (print by external signal input). Error signal is output in any mode if an error occurs in the printer.
  • Page 729 Reissuing EXT signal Following signal types are available in the [Interface] > [External I/O] > [Signals] > [EXT Mode]. Type Operation TYPE Ⅰ Print end signal (PREND) is “High” before printing labels. The signal level is “Low” after the completion of print and will be “High” 20ms later. TYPE Ⅱ...
  • Page 730: Connector Pin Assignment

    Connector pin assignment 14 pin external signal interface Signal name Contents Level Electric condition (voltage, current (MAX)) Paper end Output when paper Open collector output end is detected. 50mA SIGNAL GROUND ― ― ― Ribbon end Output when Open collector output detect ribbon end.
  • Page 731 *4 When SW15 on IF board is set to 2-3, the no.9 pin operates as offline output. When set to 1-2 side, the printer operates as input (Set to 2-3 as shipment settings). *5 Output pin No. can be set for Waiting for dispenser completion and label near end from Exit Signals from settings on GUI.
  • Page 732: I/O Signal

    I/O signal 1) Input signal 2) Output signal 3) Output waiting for dispenser Parent topic External signal interface 1) Input signal Item Input wave form label printed Print start (PRIN) Reprint (PRIN2) Print Print end 20ms (PREND) label printed Print start (PRIN) Reprint (PRIN2)
  • Page 733 [Keeping print start signal (PRIN)] Item Input wave form label printed TYPE1,2 Print start (PRIN) Reprint (PRIN2) Print Print end (PREND) label printed TYPE3,4 Print start (PRIN) It is OK to set PRIN signal back to “High” for the period Reprint between the dotted lines for TYPE 3 and 4.
  • Page 734: Output Signal

    2) Output signal Item Output pulse Print 1 label Print operation Print End 20ms (PREND) Paper end Ribbon end Machine error Head open Head close Paper end Print operation Print End (PREND) Change label Paper end Ribbon end Machine error Ribbon end Head open Head close...
  • Page 735 Item Output pulse Head open Head close Print operation Print end (PREND) Paper end Ribbon end Machine error Item Output pulse Head open Head close Print Ribbon near end Print operation Print end (PREND) Paper end Ribbon near end Label near end Item Output pulse Head open...
  • Page 736: Output Waiting For Dispenser

    3) Output waiting for dispenser Item Output pulse Print 1 label Dispenser complete Print operation Print end 20ms (PREND) Waiting for dispenser 500ms + Backfeed time Print 1 label Dispenser complete Print operation Print end 20ms (PREND) Waiting for dispenser •...
  • Page 737: Timing Waveform

    Motion 1 Motion 2 Pulse input backfeed Backfeed Motion 1 Motion 2 Sensor Backfeed Linerless Motion 2 input cutter Pulse input Backfeed Motion 2 Motion 1: Backfeed after print Motion 2: Backfeed before print Note 1)Linereless cutter is only for CL4NX...
  • Page 738 Backfeed Motion 1 Motion 2 Linerless Sensor Backfeed Motion 2 cutter input Pulse input Backfeed Motion 2 Motion 1: Backfeed after print Motion 2: Backfeed before print Note 1) Linerless cutter is only for CL4NX Parent topic External signal interface...
  • Page 739: Usb Host

    USB HOST Basic Specifications Layout plan for connector pin Parent topic Part 2 Interface Specification Basic Specifications This printer's USB interface complies with USB 2.0 standards. Interface Type A receptacle Back×1ch, Front ×1ch Connector Series A plug Length of cable 5 m or less (Twisted Pair Shielded) Version USB2.0 High-speed Device class...
  • Page 740: Layout Plan For Connector Pin

    Layout plan for connector pin Pin number Name VBus -Data(D-) +Data(D+) Parent topic USB HOST...
  • Page 741: Nfc

    Basic specification Tag mode Pass-through mode Handover mode Parent topic Part 2 Interface Specification Basic specification Interface standard NFC forum Type 2 Tag compliant Communication distance Height from center of antenna is 0 mm: right and left ±5 mm to both right and left Height from center of antenna is +10 mm: within the range of ±10 mm to both right and left Interface Enable/disable setting of communication behavior...
  • Page 742 Receive buffer size 2.95 MB 2.95 MB 0 MB Near Full Remaining 0.95 MB Release Near Full Remaining 1.95 MB [Supplementary Explanation] • NFC interface of this printer uses NT3H1101 provided by NXP Semiconductors. It does not support single bytes command (Status communication). NFC allocation on printer Parent topic...
  • Page 743: Tag Mode

    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.
  • Page 744: Data Format

    Data format Send data format Compressed send data Set send data after it is compressed with zip. The maximum size of compressed send data is 800 bytes. Received data format Received data Receive data is uncompressed text data. Parent topic Tag mode...
  • Page 745: Transmission Sequence

    Transmission sequence Normal end Following shows the example of sequence for sending and receiving data. Device This product NFC touch Send/Receive data Sending/Receiving procedures Latest data "OK" "OK"(0x4F 0x4B) is returned from API Abnormal End "NG" is returned from API when there is communication error or tag memory error. Device This product NFC touch...
  • Page 746: Pass-Through Mode

    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.
  • Page 747: Transmission Sequence

    Transmission sequence Normal end Following shows an example of sequence for sending and receiving data. Device This product NFC touch Segmentalize data into 64 bytes for sending Sending procedures Final data "OK" Return "OK"(0x4F 0x4B). One buzzer Segmentalize data into 64 bytes for sending Receiving procedures Final data...
  • Page 748 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. Device This product NFC touch Segmentalize data into 64 bytes for sending Sending procedures "NG" Received data will be discarded.
  • Page 749 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 Segmentalize data into 64 bytes for sending Sending procedures Final data "OK"...
  • Page 750 When CRC error occurs This product will discard received data from printer then return "NG_CRCCHECK". Device This product NFC touch Segmentalize data into 64 bytes for sending Sending procedures Final data Returns "NG_CRCCHECK" (0x4E 0x47 0x5F 0x43 0x52 0x43 "NG_CRCCHECK" 0x43 0x0x48 0x45 0x43 0x4B).
  • Page 751 Device Printer Touch with NFC Data is sent in 64 bytes each Transmission process Last data UNCOMPRESS error " NG_UNCOMPRESS(CANNOT MALLOC)" Returns " NG_UNCOMPRESS(CANNOT MALLOC)" " NG_UNCOMPRESS(SIZE OVER)" (0x4E 0x47 0x5F 0x55 0x4E 0x43 0x4F 0x4D 0x50 0x52 0x45 0x53 0x53 0x28 0x43 0x41 0x4E 0x4E 0x4F 0x54 0x20 0x4D 0x41 0x4C 0x4C 0x4F 0x43 0x29) "...
  • Page 752 CRC-16-CCITT Calculation range of CRC Send and received data before compression is the calculation range. CRC calculation range Send and received data before compression Number of Compressed send and received data data byte 2 bytes 4 bytes Method for calculating CRC Use CRC-16-CCITT for calculating CRC.
  • Page 753 /* 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,...
  • Page 754: Handover Mode

    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.
  • Page 755: Notes About The Interface

    Notes about the Interface Behavior after turning off the printer Please note that the data sent from host to printer will not be guaranteed after shutting down a printer. Parent topic Part 2 Interface Specification...
  • Page 756 Extensive contact information for worldwide SATO operations can be found on the Internet at www.satoworldwide.com...

This manual is also suitable for:

Cl6nx

Table of Contents