SATO SG112 ex Programming Reference Manual

SATO SG112 ex Programming Reference Manual

Hide thumbs Also See for SG112 ex:

Advertisement

Quick Links

Programming Reference
For printer model:

Advertisement

Table of Contents
loading

Summary of Contents for SATO SG112 ex

  • Page 1 Programming Reference For printer model:...
  • Page 2 Specifications and contents in this document are subject to change without notice. Be sure to perform a virus check for the USB memory or SD card before connecting it to the product. SATO Corporation shall not be held responsible for any product malfunctions caused by a virus spread via USB memory or SD card.
  • Page 3 Table of Contents Part 1 SBPL Commands........10 Command list........................10 Initial Value of Operation Settings..................16 Font list..........................17 Example of Command reference..................19 Control commands......................21 [ESC+A] Start Code........................... 21 [ESC+Z] Stop Code..........................22 [ESC+Q] Print Quantity........................23 [ESC+ID] Job ID Number........................24 [ESC+WK] Job Name.........................25 Print Position Commands....................26 [ESC+H] Horizontal Print Position......................26...
  • Page 4 [ESC+_N] Format..........................62 [ESC+_D] Variable Data........................64 [ESC+_Q] Label Print Number......................66 [ESC+RI] Label Size.......................... 68 [ESC+RW] Sheet Copy Quantity....................... 70 [ESC+RC] Sheet Unit Cut Quantity....................71 [ESC+RT] Print Order.........................72 [ESC+RE] Telegraphic Message End....................73 [ESC+RS] Send Sheet........................74 [ESC+KS] Kanji Set..........................75 Font commands........................
  • Page 5 [ESC+k9] 24 x 24 dots Kanji in Vertical Line with 1-byte Character..........139 [ESC+kA] 22 x 22 dots Kanji in Vertical Line with 1-byte Character..........141 [ESC+kB] 32 x 32 dots Kanji in Vertical Line with 1-byte Character..........143 [ESC+kD] 40 x 40 dots Kanji in Vertical Line with 1-byte Character..........145 [ESC+T1] 16 x 16 dots External Font Registration.................
  • Page 6 [ESC+BX] DataMatrix (ECC200) (Compatible command)............... 293 [ESC+DC] DataMatrix (ECC200) Data Specify (Compatible command)......... 294 [ESC+FX] DataMatrix (ECC200) Sequential Number (Compatible command)........295 Graphic Commands......................297 [ESC+G] Graphic Print........................297 [ESC+GM] BMP File Print........................299 [ESC+GP] PCX File Print.........................300 System Commands......................301 [ESC+CS] Print Speed........................301 [ESC+#F] Print Darkness.........................
  • Page 7 [ESC+PI] PCX File Registration.......................353 [ESC+PY] PCX File Call........................355 [ESC+*] Memory Card Clear......................356 [ESC+T1] Memory Card 16 x 16 dots External Font Registration...........358 [ESC+T2] Memory Card 24 x 24 dots External Font Registration...........360 [ESC+K1(K2)(K8)(K9)] Memory Card Horizontal Writing External Font Call........362 [ESC+k1(k2)(k8)(k9)] Memory Card Vertical Writing External Font Call..........364 [ESC+BJ ESC+BJD] TrueType Font Registration (Compatible command)........
  • Page 8 Return Status of Status2......................411 Return Status of Status3......................413 Return Status of Status4......................415 Return Status of Status5......................418 Other Return Status (Common to Status 3, Status 4, and Status 5)........429 READY/BUSY........................... 436 XON/XOFF............................437 Status3.............................. 438 Return Sequence........................439 Reference flow chart......................... 441 Status4.............................. 442 Return Sequence........................443 Status5..............................
  • Page 9 Timing chart..........................472 Return Status..........................474 Return sequence........................474 Reference Flow Chart....................... 476 Notes..............................477 IEEE1284.......................... 478 Basic Specifications..........................478 Connection diagram......................... 481 Connector pin assignment........................482 I/O signal............................483 Timing chart............................484 Timing Chart of Single Item Receive..................484 Timing Chart of Multiple Receive....................486 USB...........................489 Basic Specifications..........................489 Connector Pin Assignment.......................490...
  • Page 10 Basic Specifications..........................513 Connector pin assignment........................514...
  • Page 11 Part 1 SBPL Commands Command list Control Command name Function ESC+A <A> Start Code ESC+Z <Z> Stop Code ESC+Q <Q> Print Quantity ESC+ID <ID> Job ID Number ESC+WK <WK> Job Name Print Position Command name Function ESC+H <H> Horizontal Print Position ESC+V <V>...
  • Page 12 Command name Function ESC+_F <_F> Small Label Start ESC+_N <_N> Format ESC+_D <_D> Variable Data ESC+_Q <_Q> Label Print Number ESC+RI <RI> Label Size ESC+RW <RW> Sheet Copy Quantity <RC> Sheet Unit Cut Quantity ESC+RC ESC+RT <RT> Print Order ESC+RE <RE>...
  • Page 13 Command Name Function ESC+k2 <k2> 24 x 24 dots Kanji in Vertical Line ESC+k3 <k3> 22 x 22 dots Kanji in Vertical Line ESC+k4 <k4> 32 x 32 dots Kanji in Vertical Line ESC+k5 <k5> 40 x 40 dots Kanji in Vertical Line ESC+k8 <k8>...
  • Page 14 Command name Function ESC+2D10 <2D10> PDF417 ESC+2D12 <2D12> Micro PDF417 ESC+2D20 <2D20> MaxiCode ESC+2D30 <2D30> QR Code (Model 2) ESC+2D31 <2D31> QR Code (Model 1) ESC+2D32 <2D32> Micro QR Code ESC+2D50 <2D50> DataMatrix (ECC200) ESC+2D51 <2D51> GS1 DataMatrix ESC+BQ <BQ> QR Code (Compatible commands) ESC+BV <BV>...
  • Page 15 Command name Function ESC+CE <CE> European Code Page ESC+TK <TK> Forced Tear Off ESC+TW <TW> Option Waiting Time Memory Card Command name Function ESC+CC <CC> Card Slot for Use ESC+BJF <BJF> Memory Card Initialization ESC+BJS <BJS> Memory Card Status Print ESC+&S <&S>...
  • Page 16 Command name Function ESC+IK <IK> Label Feed Control ESC+IM <IM> Displayed Messages ESC+IF <IF> Internal Buffer Registration ESC+IB <IB> Internal Buffer Recall ESC+IC <IC> Internal Buffer Data Comparison ESC+I* <I*> Internal Buffer Data Print ESC+I# <I#> Exclusive Key Start-End ESC+IZ <IZ>...
  • Page 17 Initial Value of Operation Settings The initial values of operation setting are as follows: Item SG112-ex Print speed 4 inch/s Range: 3, 4, 5, 6 Range of print darkness Range: A, B, C, D, E, F Print darkness Range: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Start point correction V: +0000 H: +0000...
  • Page 18 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 SATOVICA Fixed / Proportional SATOGAMMA Fixed / Proportional...
  • Page 19 Expanded font Internal font can be enlarged up to 12. Example: When a font in a size of 5 dots of width and 9 dots of height is expanded by a factor of 3, the resulting font has a width of 15 dots and a height of 27 dots. The input of enlargement ratio (height x enlargement ratio, width x enlargement ratio) for characters to be printed is done as described below: Width x expansion factor = width parameter setting value...
  • Page 20 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 21 ▪ The set command is not maintained. ◦ Valid range within items ▪ 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 ▪...
  • Page 22 Control commands [ESC+A] Start Code Hexadecimal code Parameter <1B> <41> None Initial value None 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 23 [ESC+Z] Stop Code Hexadecimal code Parameter <1B> <5A> None Initial value None 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 24 [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 25 [ESC+ID] Job ID Number Hexadecimal code Parameter <1B> <49> <44> 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 specification is made.
  • Page 26 The set parameter 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] When Status4 is used for interface protocol, specified job name can be set to the telegraphic status.
  • Page 27 Print Position Commands [ESC+H] Horizontal Print Position Hexadecimal code Parameter <1B> <48> 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 specification is made.
  • Page 28 [ESC+V] Vertical Print Position Hexadecimal code Parameter <1B> <56> aaaaa Initial value aaaaa=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 specification is made.
  • Page 29 Modification Commands [ESC+P] Character Pitch Hexadecimal code Parameter <1B> <50> Initial value aa=02 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;...
  • Page 30 [Valid Commands] Font <X20> <X21> <X22> <X23> <X24> <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>...
  • Page 31 [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 specification is made.
  • Page 32 [ESC+PS] Proportional Pitch Hexadecimal code Parameter <1B> <50> <53> None Initial value Proportional Valid range and term of When the power is OFF The set command is not maintained. command Valid range within items The set command is valid until the next specification is made.
  • Page 33 [ESC+PR] Release Proportional Pitch Hexadecimal code Parameter <1B> <50> <52> None Initial value Proportional Valid range and term of When the power is OFF The set command is not maintained. command Valid range within items The set command is valid until the next specification is made.
  • Page 34 [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 specification is made.
  • Page 35 [Supplementary Explanation] Position specification of Vertical Print Position <V> and Horizontal Print Position <H> are the absolute value from its base reference point. When the value of parameter "a" is between 4 and 9, it will be processed as a command error and ignored.
  • Page 36 [ESC+F] Sequential Number Hexadecimal code Parameter <1B> <46> aaaabcccc(,dd,ee,f) Initial value None 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 37 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 <F> becomes the sequential number invalid command, the sequential number will be invalid.
  • Page 38 [ESC+FW] Ruled / Grid Line Print Hexadecimal code <FW> Parameter <1B> <46> <57> Rule   aabccccc(Peeeeeeee) Grid   aabbVcccccHddddd(Peeeeeeee) Initial value None 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 39 line pattern: F0F0F0F0 4 dots 4 dots <A> <V>100<H>200<FW>04H400PF0F0F0F0 <V>300<H>200<FW>0808V300H400PF0F0F0F0 <Q>2 <Z> [Supplementary Explanation] When the print start position exceeds the printing area, printing will not be performed due to command error. Set line width to 2 dots or more so the horizontal line width is more than 0.166 mm. If setting the vertical line width wider, it will be widened to the right side against media feed direction.
  • Page 40 [ESC+FC] Print Circle Hexadecimal code Parameter <1B> <46> <43> ,aaa,bbb(,c,d) Initial value None 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 41 [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 42 [ESC+FT] Print Triangle Hexadecimal code Parameter <1B> <46> <54> ,aaaa,bbbb(,cccc,d) Initial value None 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 43 This command can be registered to the format. If setting the line wider, it will be widened inward. If the base length is odd number, +1 will be added automatically to make even number. Head check is performed using the entire graphic area as a print area.
  • Page 44 [ESC+(] Reverse Color Print Hexadecimal code Parameter <1B> <28> aaaa,bbbbb Initial value None 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 [Valid Range] Area in horizontal direction: 8 to 3200 dots Area in vertical direction: 8 to 5040 dots...
  • Page 46 [ESC+KC] Kanji Code Hexadecimal code Parameter <1B> <4B> <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 is valid until the next specification is made.
  • Page 47 [Supplementary Explanation] There is no necessity to specify this command in the normal label printing. It is possible to specify multiple Kanji codes within 1 item. Please use the appropriate Kanji code according to the Kanji set specified in Kanji Set <KS>. When the Kanji set is changed, specify this command after Kanji Set <KS>.
  • Page 48 [ESC+&] Store Form Overlay Hexadecimal code & Parameter <1B> <26> (aab...b) Initial value None Valid range and term of When the power is OFF The set command is not maintained. command Valid range within items The set command is valid until the next specification is made.
  • Page 49 [Valid Commands] Print Psition <V> <H> Font <X20> <X21> <X22> <X23> <X24> <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>...
  • Page 50 [ESC+/] Recall Form Overlay Hexadecimal code Parameter <1B> <2F> (aa) Initial value None Valid range and term of When the power is OFF The set command is not maintained. command Valid range within items The set command is valid until the next specification is made.
  • Page 51 [ESC+0] Partial Edit Hexadecimal code Parameter <1B> <30> None Initial value None 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 52 [ESC+WD] Partial Copy Hexadecimal code Parameter <1B> <57> <44> VaaaaaHbbbbYcccccXdddd Initial value None 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] Horizontal start point of original data, horizontal dot size of original data: 1 to 3200 dots Vertical start point of original data, vertical dot size of original data: 1 to 5040 dots * Even if the specified parameter is within a valid range, it may get out of the valid range depending on its print start position, base position of copy or dot size.
  • Page 54 [ESC+J] Journal Print Hexadecimal code Parameter <1B> <4A> a...a+CR<0D> Initial value None 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 55 [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 56 [ESC+RM] Mirror Image Hexadecimal code Parameter <1B> <52> <4D> aaaa,bbbbb Initial value None 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 57 [Supplementary Explanation] When the parameter "aaaa" and "bbbbb" are not specified, all print data specified prior to this command will be rotated. Data outside of printing area will not rotate. If specifying this command for the item that does not contain print data, the command error will occur.
  • Page 58 [ESC+PD] Small Label Size Hexadecimal code Parameter <1B> <50> <44> ,aaaa,bbbb,cc,dd Initial value None 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 specification is made.
  • Page 59 [Supplementary Explanation] If Small Label Size <PD> parameters do no match those of Media Size <A1>, an error occurs. In this case, Format <_N> and Variable Data <_D> following the <PD> will be ignored. Small Label Size <PD> automatically calculates the number of labels in horizontal direction. When both Media Size <A1>...
  • Page 60 Margin of 400dots Header label ABCD ABCD ABCD ABCD ABCD ABCD Footer label [Coding Example 3] Vertical dimension: 600, Horizontal dimension: 700, Size in between labels: 50, Quantity of multiple cut labels: 0 <A> <A1>06363200 <PD>,600,700,50,0 <_F> <V>100<H>200<L>0101<X23>,0Header label <_Q>,1 <_F>...
  • Page 61 [ESC+_F] Small Label Start Hexadecimal code Parameter <1B> <5F> <46> None Initial value None 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 62 [Supplementary Explanation] If sequential number is specified after Small Label Start <_F>, the number can be printed on each small sized label. Use Label Print Number <_Q> to set Print QTY for small sized label. Do not set any command for registration after Small Label Start <_F>. If set, the printer may not print correctly.
  • Page 63 [ESC+_N] Format Hexadecimal code Parameter <1B> <5F> <4E> ,aa,bb Initial value None 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 [Supplementary Explanation] With Format <_N>, you can specify characters, one dimensional barcode (CODABAR (NW-7), CODE39 etc.) and Kanji. Use Label Print Number <_Q> to set Print QTY for small sized label. Do not specify any commands for registration after Format <_N>. When both Media Size <A1>...
  • Page 65 [ESC+_D] Variable Data Hexadecimal code Parameter <1B> <5F> <44> ,aa,n...n Initial value None 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 66 [Supplementary Explanation] If Variable Data <_D> is omitted, the contents specified by Format <_N>, which is initial setting is printed. When <_D> is specified, this product continues to print the contents specified by <_D>. (Please see (1) in [Coding Sample] above.) When both Media Size <A1>...
  • Page 67 [ESC+_Q] Label Print Number Hexadecimal code Parameter <1B> <5F> <51> ,aaaa(,b) Initial value aaaa=1, b=0 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 68 [Supplementary Explanation] Use Label Print Number <_Q> to set Print QTY for small sized label. When both Media Size <A1> and Small Label Size <PD> are used, <A1> should appear within the set of commands from Start Code <A> to Stop Code <Z> that is used by <PD>. When <PD> command is not present, <A1>...
  • Page 69 [ESC+RI] Label Size Hexadecimal code Parameter <1B> <52> <49> aaaa,bbbb,cc,dd,eeee,ffff,gg,hh Initial value None 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 specification is made.
  • Page 70 [Supplementary Explanation] If Label Size <RI> data does not match Media Size <A1>, an error occurs. Label Size <RI> automatically calculates the label width and label length to print. Label Size <RI> and Telegraphic Message End <RE> should be paired. Each Label Size <RI>...
  • Page 71 [ESC+RW] Sheet Copy Quantity Hexadecimal code Parameter <1B> <52> <57> aaaa Initial value None 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 72 [ESC+RC] Sheet Unit Cut Quantity Hexadecimal code Parameter <1B> <52> <43> aaaa 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 73 [ESC+RT] Print Order Hexadecimal code Parameter <1B> <52> <54> 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 specification is made.
  • Page 74 [ESC+RE] Telegraphic Message End Hexadecimal code Parameter <1B> <52> <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 initial value at the next item <A>.
  • Page 75 [ESC+RS] Send Sheet Hexadecimal code Parameter <1B> <52> <53> None Initial value None 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 76 [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 valid until the next specification is made.
  • Page 77: X20>,N

    Font commands [ESC+X20] X20 Font (Basic size 5 x 9 dots) Hexadecimal code Parameter <1B> <58> <32> <30> ,n...n Initial value None 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 X20 font character set Basic size is 5 x 9 dots (width x height) The print sample shown above is issued with an enlargement ratio of 3 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 79: X21>,N

    [ESC+X21] X21 Font (Basic size 17 x 17 dots) Hexadecimal code Parameter <1B> <58> <32> <31> ,n...n Initial value None 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 X21 font character set Basic size is 17 x 17 dots (width x height) The print sample shown above is issued with an enlargement ratio of 2 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 81: X22>,N

    [ESC+X22] X22 Font (Basic size 24 x 24 dots) Hexadecimal code Parameter <1B> <58> <32> <32> ,n...n Initial value None 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 X22 font character set Basic size is 24 x 24 dots (width x height) The print sample shown above is issued with an enlargement ratio of 2 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 83 [ESC+X23] X23 Font (Basic size 48 x 48 dots) Hexadecimal code Parameter <1B> <58> <32> <33> ,an...n Initial value None 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 84 X23 font character set Basic size is 48 x 48 dots (width x height) The print sample shown above is issued with an enlargement ratio of 1 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 85 [ESC+X24] X24 Font (Basic size 48 x 48 dots) Hexadecimal code Parameter <1B> <58> <32> <34> ,an...n Initial value None 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 86 X24 font character set Basic size is 48 x 48 dots (width x height) The print sample shown above is issued with an enlargement ratio of 1 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 87: Xu>N

    [ESC+XU] XU Font (Basic size 5 x 9 dots) Hexadecimal code Parameter <1B> <58> <55> n...n Initial value None 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 88 XU font character set Basic size is 5 x 9 dots (width x height) The print sample shown above is issued with an enlargement ratio of 3 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 89: Xs>N

    [ESC+XS] XS Font (Basic size 17 x 17 dots) Hexadecimal code Parameter <1B> <58> <53> n...n Initial value None 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 90 XS font character set Basic size is 17 x 17 dots (width x height) The print sample shown above is issued with an enlargement ratio of 2 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 91: Xm>N

    [ESC+XM] XM Font (Basic size 24 x 24 dots) Hexadecimal code Parameter <1B> <58> <4D> n...n Initial value None 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 92 XM font character set Basic size is 24 x 24 dots (width x height) The print sample shown above is issued with an enlargement ratio of 2 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 93 [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 94 XB font character set Basic size is 48 x 48 dots (width x height) The print sample shown above is issued with an enlargement ratio of 1 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 95 [ESC+XL] XL Font (Basic size 48 x 48 dots) Hexadecimal code Parameter <1B> <58> <4C> an...n Initial value None 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 96 XL font character set Basic size is 48 x 48 dots (width x height) The print sample shown above is issued with an enlargement ratio of 1 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 97: Oa>N

    [ESC+OA] OCR-A Font Hexadecimal code Parameter <1B> <4F> <41> n...n Initial value None 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 OCR-A font character set OCR-A font specification. The print sample shown above is issued with a font size of 22 x 33, and an enlargement ratio of 1 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 99: Ob>N

    [ESC+OB] OCR-B Font Hexadecimal code Parameter <1B> <4F> <42> n...n Initial value None 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 OCR-B font character set OCR-B font specification. The print sample shown above is issued with a font size of 30 x 36, and an enlargement ratio of 1 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 101       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 102 [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 through 9, if the specified dot setting is irregularly small, the font cannot be identified.
  • Page 103 [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 <$>.
  • Page 104       Valid Range: P02 to P99 (points) e [Height]       Valid Range: 004 to 999 (dots)       Valid Range: P02 to P99 (points) n [Print data] = Data   [Coding Example] Font type: CG Times <A> <V>100<H>100<P>2 <RD>A00,P10,P10,SATO <Q>2 <Z>...
  • Page 105 [Code page specify parameter] Command parameter Name Character set specified by <CE> DOS 858 Multilingual Latin 1 + Euro character Default Code page proprietary to SATO. ISO 8859-1 Latin 1 ISO 8859-2 Latin 2 ISO 8859-9 Latin 5 CP737 DOS Greek...
  • Page 106 CG Times font character set CG Times Font settings 00H to 1FH are control code and not available.
  • Page 107 CG Triumvirate font character set CG Triumvirate Font settings 00H to 1FH are control code and not available.
  • Page 108 [ESC+K1] 16 x 16 dots Kanji in Horizontal Line Hexadecimal code Parameter <1B> <4B> <31> an...n Initial value None 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 109 [Supplementary Explanation] HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character Binary code = Kanji Code 2 bytes / 1 Kanji character Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12 Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5 Unicode data includes control codes.
  • Page 110 [ESC+K2] 24 x 24 dots Kanji in Horizontal Line Hexadecimal code Parameter <1B> <4B> <32> an...n Initial value None 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 111 [Supplementary Explanation] HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character Binary code = Kanji Code 2 bytes / 1 Kanji character Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12 Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5 Unicode data includes control codes.
  • Page 112 [ESC+K3] 22 x 22 dots Kanji in Horizontal Line Hexadecimal code Parameter <1B> <4B> <33> an...n Initial value None 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 113 [Supplementary Explanation] HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character Binary code = Kanji Code 2 bytes / 1 Kanji character Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12 Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5 Unicode data includes control codes.
  • Page 114 [ESC+K4] 32 x 32 dots Kanji in Horizontal Line Hexadecimal code Parameter <1B> <4B> <34> an...n Initial value None 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 115 [Supplementary Explanation] HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character Binary code = Kanji Code 2 bytes / 1 Kanji character Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12 Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5 Unicode data includes control codes.
  • Page 116 [ESC+K5] 40 x 40 dots Kanji in Horizontal Line Hexadecimal code Parameter <1B> <4B> <35> an...n Initial value None 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 117 [Supplementary Explanation] HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character Binary code = Kanji Code 2 bytes / 1 Kanji character Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12 Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5 Unicode data includes control codes.
  • Page 118 [ESC+K8] 16 x 16 dots Kanji in Horizontal Line with 1-byte Character Hexadecimal code Parameter <1B> <4B> <38> an...n Initial value None 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 119 [Points] With the highlighting function the character width enlarges proportional with the expansion factor. Using the highlighting function, depending on the type of font, characters become squeezed. This command is not available for JIS code print data. For the half size character (1-byte character code), printing will be performed in W8 x H16 dots. For the full size character (2-byte character code), printing will be performed in W16 x H16 dots.
  • Page 120 [ESC+K9] 24 x 24 dots Kanji in Horizontal Line with 1-byte Character Hexadecimal code Parameter <1B> <4B> <39> an...n Initial value None 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 121 [Points] With the highlighting function the character width enlarges proportional with the expansion factor. Using the highlighting function, depending on the type of font, characters become squeezed. This command is not available for JIS code print data. For the half size character (1-byte character code), printing will be performed in W12 x H24 dots.
  • Page 122 [ESC+KA] 22 x 22 dots Kanji in Horizontal Line with 1-byte Character Hexadecimal code Parameter <1B> <4B> <41> an...n Initial value None 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 123 [Points] With the highlighting function the character width enlarges proportional with the expansion factor. Using the highlighting function, depending on the type of font, characters become squeezed. This command is not available for JIS code print data. For the half size character (1-byte character code), printing will be performed in W11 x H22 dots.
  • Page 124 [ESC+KB] 32 x 32 dots Kanji in Horizontal Line with 1-byte Character Hexadecimal code Parameter <1B> <4B> <42> an...n Initial value None 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 125 [Points] 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 126 [ESC+KD] 40 x 40 dots Kanji in Horizontal Line with 1-byte Character Hexadecimal code Parameter <1B> <4B> <44> an...n Initial value None 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 127 [Points] 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 128 [ESC+k1] 16 x 16 dots Kanji in Vertical Line Hexadecimal code Parameter <1B> <6B> <31> an...n Initial value None 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 129 [Supplementary Explanation] HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character Binary code = Kanji Code 2 bytes / 1 Kanji character Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12 Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5 Unicode data includes control codes.
  • Page 130 [ESC+k2] 24 x 24 dots Kanji in Vertical Line Hexadecimal code Parameter <1B> <6B> <32> an...n Initial value None 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 131 [Supplementary Explanation] HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character Binary code = Kanji Code 2 bytes / 1 Kanji character Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12 Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5 Unicode data includes control codes.
  • Page 132 [ESC+k3] 22 x 22 dots Kanji in Vertical Line Hexadecimal code Parameter <1B> <6B> <33> an...n Initial value None 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 133 [Supplementary Explanation] HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character Binary code = Kanji Code 2 bytes / 1 Kanji character Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12 Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5 Print result of two bytes under bar "_"...
  • Page 134 [ESC+k4] 32 x 32 dots Kanji in Vertical Line Hexadecimal code Parameter <1B> <6B> <34> an...n Initial value None 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 135 [Supplementary Explanation] HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character Binary code = Kanji Code 2 bytes / 1 Kanji character Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12 Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5 Print result of two bytes under bar "_"...
  • Page 136 [ESC+k5] 40 x 40 dots Kanji in Vertical Line Hexadecimal code Parameter <1B> <6B> <35> an...n Initial value None 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 137 [Supplementary Explanation] HEX characters = Kanji Code 4 bytes ASCII / 1 Kanji character Binary code = Kanji Code 2 bytes / 1 Kanji character Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12 Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5 Print result of two bytes under bar "_"...
  • Page 138 [ESC+k8] 16 x 16 dots Kanji in Vertical Line with 1-byte Character Hexadecimal code Parameter <1B> <6B> <38> an...n Initial value None 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 139 [Points] With the highlighting function the character width enlarges proportional with the expansion factor. Using the highlighting function, depending on the type of font, characters become squeezed. This command is not available for JIS code print data. For the half size character (1-byte character code), printing will be performed in W8 x H16 dots. For the full size character (2-byte character code), printing will be performed in W16 x H16 dots.
  • Page 140 [ESC+k9] 24 x 24 dots Kanji in Vertical Line with 1-byte Character Hexadecimal code Parameter <1B> <6B> <39> an...n Initial value None 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 141 [Points] With the highlighting function the character width enlarges proportional with the expansion factor. Using the highlighting function, depending on the type of font, characters become squeezed. This command is not available for JIS code print data. For the half size character (1-byte character code), printing will be performed in W12 x H24 dots.
  • Page 142 [ESC+kA] 22 x 22 dots Kanji in Vertical Line with 1-byte Character Hexadecimal code Parameter <1B> <6B> <41> an...n Initial value None 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 143 [Points] With the highlighting function the character width enlarges proportional with the expansion factor. Using the highlighting function, depending on the type of font, characters become squeezed. This command is not available for JIS code print data. For the half size character (1-byte character code), printing will be performed in W11 x H22 dots.
  • Page 144 [ESC+kB] 32 x 32 dots Kanji in Vertical Line with 1-byte Character Hexadecimal code Parameter <1B> <6B> <42> an...n Initial value None 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 145 [Points] With the highlighting function the character width enlarges proportional with the expansion factor. Using the highlighting function, depending on the type of font, characters become squeezed. This command is not available for JIS code print data. For the half size character (1-byte character code), printing will be performed in W16 x H32 dots.
  • Page 146 [ESC+kD] 40 x 40 dots Kanji in Vertical Line with 1-byte Character Hexadecimal code Parameter <1B> <6B> <44> an...n Initial value None 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 147 [Points] With the highlighting function the character width enlarges proportional with the expansion factor. Using the highlighting function, depending on the type of font, characters become squeezed. This command is not available for JIS code print data. For the half size character (1-byte character code), printing will be performed in W20 x H40 dots.
  • Page 148 [ESC+T1] 16 x 16 dots External Font Registration Hexadecimal code Parameter <1B> <54> <31> abbn...n Initial value None 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 149 [Supplementary Explanation] Registering 16 x 16 dots external fonts in the internal memory or user registration memory. The code to specify in the registration font code address needs to match the Kanji Set <KS> and Kanji Code <KC>. Overwriting registration data is available. The order of data registration is as follows.
  • Page 150 [ESC+T2] 24 x 24 dots External Font Registration Hexadecimal code Parameter <1B> <54> <32> abbn...n Initial value None 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 151 [Supplementary 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>. Overwriting registration data is available. The order of data registration is as follows.
  • Page 152 [ESC+K1(K2)] Horizontal Writing External Font Call Hexadecimal code K1(K2) Parameter <1B> <4B> <31> ab...b (<4B> <32> Initial value None 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 153 [Coding Example] Recall 16 x 16 external characters, registration data by HEX characters <A> <CC>0 <T1>H2100FF.....FF00 <Z> <A> <CC>0 <V>100<H>200<K1>H8021 <Q>2 <Z> [Supplementary Explanation] If the print out is not performed properly, register the data again. You cannot call the external characters registered as JIS/Shift JIS character as Unicode, and vice versa.
  • Page 154 [ESC+k1(k2)] Horizontal Writing External Font Call Hexadecimal code k1(k2) Parameter <1B> <6B> <31> ab...b (<6B> <32> Initial value None 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 155 [Coding Example] Recall 16 x 16 external characters, registration data by HEX characters <A> <CC>0 <T1>H2100FF.....FF00 <Z> <A> <CC>0 <V>100<H>200<k1>H8021 <Q>2 <Z> [Supplementary Explanation] If the print out is not performed properly, register the data again. You cannot call the external characters registered as JIS/Shift JIS character as Unicode, and vice versa.
  • Page 156 [ESC+U] U Font (Basic size 5 x 9 dots) Hexadecimal code Parameter <1B> <55> n...n Initial value None 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 157 U font character set Basic size is 5 x 9 dots (width x height) The print sample shown above is issued with an enlargement ratio of 3 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 158 [ESC+S] S Font (Basic size 8 x 15 dots) Hexadecimal code Parameter <1B> <53> n...n Initial value None 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 159 S font character set Basic size is 8 x 15 dots (width x height) The print sample shown above is issued with an enlargement ratio of 3 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 160 [ESC+M] M Font (Basic size 13 x 20 dots) Hexadecimal code Parameter <1B> <4D> n...n Initial value None 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 161 M font character set Basic size is 13 x 20 dots (width x height) The print sample shown above is issued with an enlargement ratio of 2 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 162 [ESC+WB] WB Font (Basic size 18 x 30 dots) Hexadecimal code Parameter <1B> <57> <42> an...n Initial value None 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 163 WB font character set Basic size is 18 x 30 dots (width x height) The print sample shown above is issued with an enlargement ratio of 1 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 164 [ESC+WL] WL Font (Basic size 28 x 52 dots) Hexadecimal code Parameter <1B> <57> <4C> an...n Initial value None 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 165 WL font character set Basic size is 28 x 52 dots (width x height) The print sample shown above is issued with an enlargement ratio of 1 (vertical/horizontal). 00H to 1FH are control code and not available.
  • Page 166 Barcode Commands 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 167 (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 168 [Note] HRI is printable specifying <Character Type> data subsequently to <D>. For more information, refer to Barcode Specification (Selection of HRI) <D>~<d>. (3) Specification of <BD> (HRI and guard bar available) If specifying <BD>, following barcode will be printed. HRI(JAN/EAN 13) HRI(JAN/EAN 8) HRI(UPC-A) [Barcode Specification Only]...
  • Page 169 (5) Composition of Check Digit Refer to the table below for check digit in each barcode. [Composition of C/D] Barcode Barcode Input digit No. Print digit number and contents specification specification parameter JAN/EAN13 12 digits 13-digit (Input data of barcode + C/D) C/D is calculated by modulus10.
  • Page 170 UPC-A/EAN/JAN 2L or more 2) If printing in serial 1 or serial 2 mode, specify the bar width expansion factor so that the width of the narrow bar is at least 3 dots. Bar width ratio 1:2 3L or more Bar width ratio 1:3 3L or more Bar width ratio 2:5...
  • Page 171: B>Abbcccn

    [ESC+B] Barcode (Ratio 1:3) Hexadecimal code Parameter <1B> <42> abbcccn...n Initial value None 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 172 Barcode type Descriotion Ratio Matrix 2of5 Barcode character pitch becomes enabled. For print data, refer to the Matrix 2of5 code table. Print data can be specified up to 13-digit. Fixed Refer to the code list of the MSI for the print data. CODE93 Refer to CODE93 <BC>.
  • Page 173 [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 174: D>Abbcccn

    [ESC+D] Barcode (Ratio 1:2) Hexadecimal code Parameter <1B> <44> abbcccn...n Initial value None 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 175 Barcode type Contents Ratio UPC-A This barcode has guard bars and no human-readable characters. Fixed For print data, refer to the UPC-A code table. [Coding Example 1] Barcode type: CODABAR(NW-7), Narrow bar width: 03, Height of barcode: 120, Print data: A1234A <A>...
  • Page 176 For print data of each barcode type, refer to the code tables of barcode. [Notes] If the value other than valid range is set, command error will occur and barcode will not be printed. A barcode that exceeds the printable area will not be printed. Increasing narrow bar width may exceed the printing area and may not be printed.
  • Page 177: D>Abbcccn

    [ESC+D] ~ [ESC+d] Barcode (with HRI) Hexadecimal code D ~ d Parameter <1B> <44> ~ Character type abbcccn...n ~ <d>n...n Initial value None 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 178: D>N

    [Coding Example] Barcode type: 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 179: Bd>Abbcccn

    [ESC+BD] Barcode (Ratio 2:5) Hexadecimal code Parameter <1B> <42> <44> abbcccn...n Initial value None 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 180 Barcode type Contents Ratio UPC-A This barcode has guard bars and human-readable characters. Fixed For print data, refer to the UPC-A code table. [Coding Example 1] Barcode type: CODABAR(NW-7), Narrow bar width: 03, Height of barcode: 120, Print data: A1234A <A>...
  • Page 181 [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 182 [ESC+BT] Barcode Ratio Registration Hexadecimal code Parameter <1B> <42> <54> abbccddee Initial value None 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 specification is made.
  • Page 183: Bw>Aabbbn

    [ESC+BW] Barcode Print by Specified Ratio Hexadecimal code Parameter <1B> <42> <57> aabbbn...n Initial value None 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 [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 185 CODABAR (NW-7) Code table B8 0 B4 B3 B2 B1 . As a standard, 0x20 (SP) is not available, and no error will occur to this product and space will be printed due to the specification.
  • Page 186 CODE39 Code table B4 B3 B2 B1 SP 0 ....
  • Page 187: Bi>Aabbbcn

    [ESC+BI] GS1-128 (UCC/EAN128) (Standard Carton ID Only) Hexadecimal code Parameter <1B> <42> <49> aabbbcn...n Initial value None 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 188 <V>100<H>200 <BI>041500<WU>123456789>ZDDMMYYhh>Z <Q>2 <Z> [Supplementary Explanation] UCC128 code is exclusive to Standard Carton ID. When printing in EAN128, designed for the markets in the medical, fresh food, or flowers and plants, use CODE128 Barcode <BG> to specify print data with application identification or separator that matches each specification. Start character code, function character, end character code, and identification code (corresponds to [00] only) are added automatically.
  • Page 189: Bc>Aabbbccn

    [ESC+BC] CODE93 Barcode Hexadecimal code Parameter <1B> <42> <43> aabbbccn...n Initial value None 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 190 CODE93 Code table B4 B3 B2 B1 SP 0 ` ! ” & ’ ; [ { < , | M ] m } > . ^ ? O _ [00H to 7FH] can be available for CODE93.
  • Page 191: Aabbbn

    [ESC+BG] CODE128 (128A, 128B, 128C) Barcode Hexadecimal code Parameter <1B> <42> <47> aabbbn...n Initial value None 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 CODE128 Code table VALUE Code A Code B Code C ! ! ” ” & & ’ ’ , , . . ; ; < < > (Note4.) > (Note4.) ? ?...
  • Page 193 V V A A L L U U E E C C o o d d e e A A C C o o d d e e B B C C o o d d e e C C [...
  • Page 194: Bp>N

    [ESC+BP] POSTNET Hexadecimal code Parameter <1B> <42> <50> n...n Initial value None 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 POSTNET Code table B4 B3 B2 B1...
  • Page 196 [ESC+BF] UPC Add-on (Bookland) Hexadecimal code Parameter <1B> <42> <46> aabbbn...n Initial value None 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 197 UPC Add-on Barcode Code table B4 B3 B2 B1...
  • Page 198: Bl>Abbcccn

    [ESC+BL] UPC-A Barcode (Without HRl) Hexadecimal code Parameter <1B> <42> <4C> abbcccn...n Initial value None 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 199 [Supplementary Explanation] This command supports UPC-A only. When barcode type is specified other than "H," command error occurs. Setting of Guard bar, HRI and ratio is described as follows. Guard bar: Available HRI: Nil Ratio: Fix When the parameter value exceeds the range, operation is not supported. When printing UPC-A with <D>, all character barcodes have the same height.
  • Page 200 [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 None 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 201 [Supplementary Explanation] This command supports UPC-A only. When barcode type is specified other than "H," command error occurs. Recommended to specify [03] or [04] for the narrow bar width. Check digit (12th digit) for HRI data should be set the calculation result of modulus 10. Setting of Guard bar, HRI and ratio is described as follows.
  • Page 202: Bm>Abbcccn

    [ESC+BM] UPC-A Barcode (With HRl) Hexadecimal code Parameter <1B> <42> <4D> abbcccn...n Initial value None 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 203 [Supplementary Explanation] This command supports UPC-A only. When barcode type is specified other than "H," command error occurs. HRI is printed only when the narrow bar width is specified with 03 or 04. HRI will not be printed if the value other than the listed above is specified. Setting of Guard bar, HRI and ratio is described as follows.
  • Page 204 [ESC+EU] Composite Symbol Hexadecimal code Parameter <1B> <45> <55> aabbccn...n aabbcccn...n Initial value None 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 205 ◦ Check digit is automatically calculated and added. ◦ 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 206 [Coding Example 1] GS1 DataBar Composite (CC-A/CC-B) <A> <V>100<H>100 <EU>01040361234567890|11990102 <Q>1 <Z> [Coding Example 2] GS1 DataBar Truncated Composite (CC-A/CC-B) <A> <V>100<H>100 <EU>02040361234567890|11990102 <Q>1 <Z> [Coding Example 3] GS1 DataBar Stacked Composite (CC-A/CC-B) <A> <V>100<H>100 <EU>03040341234567890|17010200 <Q>1 <Z> [Coding Example 4] GS1 DataBar Stacked Omni-Directional (CC-A/CC-B) <A>...
  • Page 207 [Coding Example 5] GS1 DataBar Limited Composite (CC-A/CC-B) <A> <V>100<H>100 <EU>05040351234567890|21ABCDEFGHIJKLMNOPQRSTUV <Q>1 <Z> [Coding Example 6] GS1 DataBar Expanded Composite(CC-A/CC-B) <A> <V>100<H>100 <EU>0605220104912345678904 <Q>1 <Z> [Coding Example 7] GS1 DataBar Expanded Stacked(CC-A/CC-B) <A> <V>100<H>100 <EU>0605020104912345678904 <Q>1 <Z> [Coding Example 8] UPC-A Composite (CC-A/CC-B) <A>...
  • Page 208 [Coding Example 9] UPC-E Composite (CC-A/CC-B) <A> <V>100<H>100 <EU>08041200000123|15021231 <Q>1 <Z> [Coding Example 10] EAN13 Composite (CC-A/CC-B) <A> <V>100<H>100 <EU>0904331234567890|991234-abcd <Q>1 <Z> [Coding Example 11] EAN8 Composite (CC-A/CC-B) <A> <V>100<H>100 <EU>10041234567|21A12345678 <Q>1 <Z> [Coding Example 12] GS1-128 Composite (CC-A/CC-B) <A> <V>100<H>100 <EU>11040260103212345678906|21A1B2C3D4E5F6G7H8...
  • Page 209 <Q>1 <Z> [Coding Example 13] 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 210 Code table for Composite Symbol 2D Barcode B4 B3 B2 B1 SP 0 ! 1 ” 2 & ’ 7 + ; K < . > ? O _ o * Use ‘#’(23H) for specifying FNC1.
  • Page 211 [ESC+BS] USPS Barcode Hexadecimal code Parameter <1B> <42> <53> aabbbccccccddddddddd(e...e) Initial value None 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 B4 B3 B2 B1...
  • Page 213 2D Codes [ESC+2D10] PDF417 Hexadecimal code 2D10 Parameter <1B> <32> <44> <31> <30> ,aa,bb,c,dd,ee(,f) Initial value None 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 [Coding Example 1] 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 215 Specifying print position by automatic line feed is not available. Print 00H to FFH is available. Format registration is available. Enlarging minimum module size improves print quality. Increasing security level improves read rate. Print height varies depending on the character such as numeric only, alphabet only or mixture of numeric and alphabets.
  • Page 216 [ESC+2D12] Micro PDF417 Hexadecimal code 2D12 Parameter <1B> <32> <44> <31> <32> ,aa,bb,c,dd(,e) Initial value None 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 217 [Supplementary Explanation] Number of row per symbol is decided by number of data code words per row. For details, refer to "Micro PDF417 – symbol size and number of data" below. Recommended to specify 2 dots or more because the minimum module width and minimum module height of QR code may not be read by the scanner.
  • Page 218 Symbol size Maximum number of data Cols (c) Rows (d) Alphabet (A-Z) Numeric only Binary mode Way of mixing alphabets (Capital, lower case), numeric characters and control codes differs by combination of number of characters. Micro PDF417 Code table B B 8 8 B B 7 7 B B 6 6 B B 5 5...
  • Page 219 [ESC+2D20] MaxiCode Hexadecimal code 2D20 Parameter <1B> <32> <44> <32> <30> ,a(,bbb,ccc,d...d) Initial value None 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 220 [Coding Example] Mode: Transportation (Numeric only), Service class: 003, Country code: 081, Postal code: 123456789 <A> <V>100<H>200<2D20>,2,003,081,123456789 <DN>0010,0123456789 <Q>2 <Z> [Supplementary Explanation] Size of MaxiCode are not changed by number of data for printing. If the parameter other than the description is specified or number of print data does not match, printing is not performed.
  • Page 221 MaxiCode can specify from 01H to FFH.
  • Page 222: Ds>K,N

    [ESC+2D30] QR Code (Model 2) Hexadecimal code 2D30 Parameter <1B> <32> <44> <33> <30> ,a,bb,c,d(,ee,ff,gg) Initial value None 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 223 Automatic setup (Data setup mode) <DN>mmmm,n...n : Change input mode automatically according to input data. Parameter k [Input mode]       1   :   Numeric mode       2   :   Alphanumeric mode       3   :   Kanji mode (Shift JIS Kanji code) * Specify only when specifying Manual setup in Data setting mode.
  • Page 224 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, サトー <DN>0010,0123456789 <DS>1,123 <Q>1 <Z> [Supplementary Explanation3] Parameter part to be followed by Data part. Data part and data part should be specified in a row. When do not specify in a row, print result may not be secured.
  • Page 225 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 226 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 227: Ds>K,N

    [ESC+2D31] QR Code (Model 1) Hexadecimal code 2D31 Parameter <1B> <32> <44> <33> <31> ,a,bb,c,d(,ee,ff,gg) Initial value None 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 228 Automatic setup (Data setup mode) <DN>mmmm,n...n : Change input mode automatically according to input data. Parameter k [Input mode]       1   :   Numeric mode       2   :   Alphanumeric mode       3   :   Kanji mode (Shift JIS Kanji code) * Specify only when specifying Manual setup in Data setting mode.
  • Page 229 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, サトー <DN>0010,0123456789 <DS>1,123 <Q>1 <Z> [Supplementary Explanation3] Parameter part to be followed by Data part. Data part and data part should be specified in a row. When do not specify in a row, print result may not be secured.
  • Page 230 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 29×29 65×65 1030 33×33 69×69 1167 37×37 73×73 41×41 45×45 49×49 53×53...
  • Page 231 [ESC+2D32] Micro QR Code Hexadecimal code 2D32 Parameter <1B> <32> <44> <33> <32> ,a,bb,c Initial value None 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 232 For <DN> in Automatic setup, when 80H to 9FH and E0H to FFH is specified as data, it is handed as Kanji mode, and cannot specify them as binary. [Coding Example 1] Error correction level: 7%, Size of one side of cell: 04 <A>...
  • Page 233 [Supplementary Explanation3] Parameter part to be followed by Data part. Data part and data part should be specified in a row. When do not specify in a row, print result may not be secured. Micro QR Code Data size list Version Error correction Numeric...
  • Page 234 QR Code (Numeric mode) 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 QR Code (Alphanumeric mode) Code table B B 8 8 B B 7 7 B B 6 6...
  • Page 235 QR Code (Binary mode) 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 236 QR Code (Kanji mode) Code table...
  • Page 256 [ESC+2D50] DataMatrix (ECC200) Hexadecimal code 2D50 Parameter <1B> <32> <44> <35> <30> ,aa,bb,ccc,ddd Initial value None 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 257 [Supplementary Explanation] If the parameter other than the description is specified or number of print data does not match, printing is not performed. When specifying print format, secure more than 2 mm blank space in four sides of the DataMatrix for read margin for the scanner. When print data is 7EH, specify "7EH, 7EH."...
  • Page 258 DataMatrix Code table B4 B3 B2 B1 SP 0 ` ! ” & ’ ; K [ { < , | M ] m } > N ^ . ? O _ [00H to FFH] can be available for DataMatrix. When print 7EH, specify "7EH, 7EH."...
  • Page 259 [ESC+2D51] GS1 DataMatrix Hexadecimal code 2D51 Parameter <1B> <32> <44> <35> <31> ,aa,bb,ccc,ddd Initial value None 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 260 [Supplementary Explanation] If Parameter other than above is specified or print data do not match, printing is not performed. When specifying print format, secure more than 2 mm blank space in four sides of the DataMatrix for read margin for the scanner. When print data is 7EH, specify "7EH, 7EH."...
  • Page 261 Symbol size and number of data of GS1 DataMatrix Symbol size The maximum value for the data digit Number of cells Number of Cell Number of Numeric Alphanumeric Binary per 1 line (c) lines (d) blocks 1152 1392 1042 1632 1222 2100 1573...
  • Page 262 GS1 DataMatrix Code table B8 0 B7 0 B6 0 B5 0 B4 B3 B2 B1 SP 0 " & < > o D EL Data n Data n+1 FNC1 GS1 DataMatrix can specify from 00H to FFH. When print 7EH, specify "7EH, 7EH." When print 1BH, specify "1BH, 1BH."...
  • Page 263: Bq>Abcc,(Ddeeff,)G(Hhhh)N

    [ESC+BQ] QR Code (Compatible command) Hexadecimal code Parameter <1B> <42> <51> Manual setup: abcc,(ddeeff,)g(hhhh)n Auto setup: abcc,(ddeeff,)n Initial value None 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 264 [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 265 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 53×53 25×25 57×57 29×29 61×61 33×33 65×65 1030 37×37 69×69 1167 41×41 73×73 45×45 49×49...
  • Page 266 QR Code (Numeric mode) 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 QR Code (Alphanumeric mode) Code table B B 8 8 B B 7 7 B B 6 6...
  • Page 267 QR Code (Binary mode) 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 268 QR Code (Kanji mode) Code table...
  • Page 288: Bv>A,B,C,Ddddddddd,Eee,Fff,N

    [ESC+BV] MaxiCode (Compatible command) Hexadecimal code Parameter <1B> <42> <56> a,b,c,ddddddddd,eee,fff,n...n Initial value None 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 289 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. [Precautions during use] This command is for the compatibility with previous model. MaxiCode Code table B B 8 8 B B 7 7...
  • Page 290 [ESC+BK] PDF417 (Compatible command) Hexadecimal code Parameter <1B> <42> <4B> aabbcddeeffffg...g(,h) Initial value None 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 291 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 of MicroPDF417" below. When specifying Micro PDF by PDF code type, security level is disabled.
  • Page 292 Note: Symbol size of Micro PDF417 has 34 types and shown in the table below. Micro PDF417 – symbol size and number of data Symbol size Maximum number of data Cols (c) Rows (d) Alphabet (A-Z) Numeric only Binary mode Mix of Alphabet (Capital letter, small letter), Numeric and Control code varies depending on number of combined characters.
  • Page 293 PDF417 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 " & < > o DEL PDF417 can specify from 00H to FFH.
  • Page 294: Bx>Aabbccddeeefffghh

    [ESC+BX] DataMatrix (ECC200) (Compatible command) Hexadecimal code Parameter <1B> <42> <58> aabbccddeeefffghh Initial value None 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 295: Dc>N

    [ESC+DC] DataMatrix (ECC200) Data Specify (Compatible command) Hexadecimal code Parameter <1B> <44> <43> n...n Initial value None 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 296 [ESC+FX] DataMatrix (ECC200) Sequential Number (Compatible command) Hexadecimal code Parameter <1B> <46> <58> aaabcccdddeee Initial value None 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 297 GS1 DataMatrix (ECC200) Code table (<DC>) 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 298 Graphic Commands [ESC+G] Graphic Print Hexadecimal code Parameter <1B> <47> aabbbcccn...n Initial value None 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 299 <Q>1 <Z> [Supplementary Explanation] Specification of [B] has shorter program description than that of specification [H]; and, transfer data length is 50 percent shorter. This could be advantage in data capacity. Specification of Rotation <%> and Enlargement <L> are available. Enlargement <L>...
  • Page 300 [ESC+GM] BMP File Print Hexadecimal code Parameter <1B> <47> <4D> aaaaa,n...n Initial value None 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 301 [ESC+GP] PCX File Print Hexadecimal code Parameter <1B> <47> <50> aaaaa,n...n Initial value None 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 302 System Commands [ESC+CS] Print Speed Hexadecimal code Parameter <1B> <43> <53> Initial value Refer to [Parameter Initial Value and Specified Range] section 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 specification is made.
  • Page 303 [Initial value for parameter and Valid range] Initial value Parameter valid range Print speed corresponding to parameter 3, 4, 5, 6 3: 3 (inch/s) 75 (mm/s) 4: 4 (inch/s) 100 (mm/s) 5: 5 (inch/s) 125 (mm/s) 6: 6 (inch/s) 175 (mm/s)
  • Page 304 [ESC+#F] Print Darkness Hexadecimal code Parameter <1B> <23> <46> ab or aab Initial value Refer to [Print darkness level range] and [Print darkness range] section 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 specification is...
  • Page 305 [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 306 [ESC+A1] Media Size Hexadecimal code Parameter <1B> <41> <31> aaaabbbb VaaaaaHbbbb Initial value None 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 specification is made.
  • Page 307 Base reference point Label 100mm 150mm×100mm 1200dot 420mm 5040dot 150mm 1800dot 266.7mm 3200dot...
  • Page 308 [ESC+A3] Base Reference Point Hexadecimal code Parameter <1B> <41> <33> VabbbHcddd Initial value a=+,b=000,c=+,d=000 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 specification is made.
  • Page 309 The offset value specified by Base Reference Point <A3> with the start point correction sign is not saved. Thus, the offset value specified by Base Reference Point <A3> is maintained until the change is made by the next <A3> or the power is off (See [Valid range and saving parameter]).
  • Page 310 [ESC+EP] Print End Position Hexadecimal code Parameter <1B> <45> <50> None Initial value None 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 311 [ESC+~] Multiple Cut Hexadecimal code Parameter <1B> <7E> 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 specification is made.
  • Page 312 [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 specification is made.
  • Page 313 [ESC+~B] Eject and Cut Hexadecimal code Parameter <1B> <7E> <42> None Initial value None 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 314 [Notes] This command is used to cut remaining label in printer after the commands <~A>0 or <~>0 is executed.
  • Page 315 [ESC+*] Memory Clear Hexadecimal code Parameter <1B> <2A> a[,bbb...b] Initial value None 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 316 This command <*> (a=X) will clear all the data sent before the command. However, the data which is completely parsed before the command will not be cleared. X will also clear user- defined characters and form overlay. [Points] After the command <*> is executed, have an interval of more than 100 ms before sending next print data.
  • Page 317 [ESC+@] Offline Hexadecimal code Parameter <1B> <40> None Initial value None 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 318 [ESC+C] Reprint Hexadecimal code Parameter <1B> <43> None Initial value None 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 319 [ESC+PG] Designation of Registration on Printer Motion Hexadecimal code Parameter <1B> <50> <47> abcdefghhijklmnooppqqrrstuvwxy 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 specification is made.
  • Page 320 Parameter Item Description Print method 00H: Thermal transfer 01H: Direct thermal Not used 00H: fixed Print speed 01H: 3 (inches/sec) 75 (mm/sec) 02H: 4 (inches/sec) 100 (mm/sec) 03H: 5 (inches/sec) 125 (mm/sec) 04H: 6 (inches/sec) 150 (mm/sec) Print operation 00H: Continuous 01H: Tearoff 02H: Cutter 03H: Dispense (Not used)
  • Page 321 Item Description Initial feed 00H: Disable (Initial value) 01H: Enable Proportional Pitch 00H: Disable 01H: Enable (Initial value) Label height (dot) 0168H to 13B0H (360 to 5040) (Initial value: 5040) Label width (dot) 05DCH to 0C80H (1500 to 3200) (Initial value: 3200) Vertical offset value (dot) 0000H to 0318H (0 to 792) (Initial value: 0)
  • Page 322 [ESC+PC] Designation of Registration on Printer Motion Hexadecimal code Parameter <1B> <50> <43> 1: a,b,c,d,...,y,z,a1 2: aa,b Initial value Refer to the table “parameters” 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 specification is...
  • Page 323 To set all the items, entire or part of parameter entry is omissible by using comma. Note that a comma cannot be omitted. When omitting the settings, the default value will be set. When there is illegal parameter, the command error occurs. Setting is not saved. Parameters Parameter Item No.
  • Page 324 Parameter Item No. Item Contents Zero slash 0: Disabled 1: Enabled (Initial value) Kanji code 0: JIS code (initial value) 1: Shift JIS code 2: Unicode 4: BIG5 5: GB18030 Not used 0: Fixed Initial feed 0: Disable (Initial value) 1: Enable Proportional pitch 0: Disabled...
  • Page 325 [ESC+E] Auto Line Feed Hexadecimal code Parameter <1B> <45> Initial value None 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+KM] Mincho (Kanji) Hexadecimal code Parameter <1B> <4B> <4D> None Initial value None 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 specification is made.
  • Page 327 [ESC+KG] Gothic (Kanji) Hexadecimal code Parameter <1B> <4B> <47> None Initial value None 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 specification is made.
  • Page 328 [ESC+LD] User Download Hexadecimal code Parameter <1B> <4C> <44> ,a,b,c,d,e,f,g,h,i,j Initial value Refer to the table “Parameters” 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 specification is made.
  • Page 329 If number of commas within parameter is other than 10, or if the specified code is included in the other control code, command, or print data, operation will not be accurate.
  • Page 330 <Q>2 <Z> [Code page parameter] Parameter a Official name Supplementary 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 331 Parameter a Official name Supplementary 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 332 [ESC+TK] Forced Tear Off Hexadecimal code Parameter <1B> <54> <4B> None Initial value None 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 333 [ESC+TW] Option Waiting Time Hexadecimal code Parameter <1B> <54> <57> Initial value None 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 334 Memory Card Commands [ESC+CC] Card Slot for Use Hexadecimal code Parameter <1B> <43> <43> Initial value None 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 specification is made.
  • Page 335 [ESC+BJF] Memory Card Initialization Hexadecimal code Parameter <1B> <42> <4A> <46> aaaaaaaa Initial value None 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 336 [ESC+BJS] Memory Card Status Print Hexadecimal code Parameter <1B> <42> <4A> <53> None Initial value None 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 337 [ESC+&S] Form Overlay Registration Hexadecimal code &S Parameter <1B> <26> <53> ,aa(,bbbb,ccccc) Initial value None Valid range and term of When the power is OFF The registered data become valid. command Valid range within items The registered data is valid until the next specification is made.
  • Page 338 [Valid Range of Window Size] Horizontal size of the window: 1 to 3200 dots Vertical size of the window: 1 to 5040 dots [Valid Commands] Print Psition <V> <H> Font <X20> <X21> <X22> <X23> <X24> <XU> <XS> <XM> <XB> <XL> <OA>...
  • Page 339 (3) When window size is specified Label Size <A1>08000400, Window width [200], Window height [200] <A> <A1>08000400 <V>100<H>00<P>2<L>0202 <X23>0ABCD <CC>1 <&S>,1,200,200 <Z> Registering this shadowed area only. 200 dot 200 dot 800 dot 400 dot...
  • Page 340 [ESC+&R] Form Overlay Call Hexadecimal code &R Parameter <1B> <26> <52> Initial value None 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 341 [ESC+YS] Format Registration Hexadecimal code Parameter <1B> <59> <53> ,aaa Initial value None 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 specification is made.
  • Page 342 [Points] 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 343 Calling Example Format registration number to invoke Field number of print data to be changed <A> <YR>,1 Data to be changed </D>,2,ABCDE <Q>2 <Z> Label feed direction ABCDE Changed data 123456 Available registration commands are as follows. [Available registration commands] Print Psition <V>...
  • Page 344 [ESC+/N] Registration of Field Hexadecimal code Parameter <1B> <2F> <4E> ,aa,bb Initial value None 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 specification is made.
  • Page 345 [Notes] Do not power off this product when accessing to the memory. When this product is turned off while memory accessing, the data in the accessed media may be corrupted. [Designable Commands for the Change of Print] Font <X20> <X21> <X22>...
  • Page 346 [ESC+YR] Format Call Hexadecimal code Parameter <1B> <59> <52> ,aaa Initial value None 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 specification is made.
  • Page 347 [ESC+/D] Print of Field Hexadecimal code Parameter <1B> <2F> <44> ,aa,n...n Initial value None 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 specification is made.
  • Page 348 [ESC+GI] Registration of Graphic Hexadecimal code Parameter <1B> <47> <49> abbbcccdddn...n Initial value None 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 [Supplementary Explanation] Specify the card slot number used for Card Slot <CC> prior to this command. Specify registered data only. To change the registered content, clear it with Clear <*> to re-register. Graphic Call <GR> is for printing out the data registered with Registration of Graphic <GI>. When data is not registered properly, print error may occur.
  • Page 350 [ESC+GR] Graphic Call Hexadecimal code Parameter <1B> <47> <52> Initial value None 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 351 [ESC+GT] BMP File Registration Hexadecimal code Parameter <1B> <47> <54> aaa,bbbbb,n...n Initial value None 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 352 [Notes] Do not power off this product when accessing to the memory. When this product is turned off while memory accessing, the data in the accessed media may be corrupted.
  • Page 353 [ESC+GC] BMP File Call Hexadecimal code Parameter <1B> <47> <43> Initial value None 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 354 [ESC+PI] PCX File Registration Hexadecimal code Parameter <1B> <50> <49> aaa,bbbbb,n...n Initial value None 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 355 [Notes] Do not power off this product when accessing to the memory. When this product is turned off while memory accessing, the data in the accessed media may be corrupted.
  • Page 356 [ESC+PY] PCX File Call Hexadecimal code Parameter <1B> <50> <59> Initial value None 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 357 [Registration No.] = Valid range : 000 to 099 (Omissible) TrueType font 001 to 999 (Omissible) Except TrueType font (When omitting Registration No., all the registered data will be cleared.) [Coding Example 1] Clearing 001 of SATO graphic <A> <CC>1 <*>G,001 <Z>...
  • Page 358 [Coding Example 3] 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 the card slot number used for Card Slot <CC> prior to this command. [Points] To clear all data of memory card, use Format <BJF>.
  • Page 359 [ESC+T1] Memory Card 16 x 16 dots External Font Registration Hexadecimal code Parameter <1B> <54> <31> abbn...n Initial value None Valid range and term of When the power is OFF The registered data become valid. command Valid range within items The set parameter becomes invalid.
  • Page 360 [Supplementary Explanation] Overwriting registration data is available. Specify slot registered with Card Slot for Use <CC> prior to this command <T1> by all means. When use <T1> with another registration command, it may occur error because of capacity shortage of the memory card. In this case, register another command in another memory card, or use a memory card having bigger capacity.
  • Page 361 [ESC+T2] Memory Card 24 x 24 dots External Font Registration Hexadecimal code Parameter <1B> <54> <32> abbn...n Initial value None Valid range and term of When the power is OFF The registered data become valid. command Valid range within items The set parameter becomes invalid.
  • Page 362 [Supplementary Explanation] Overwriting registration data is available. Specify slot registered with Card Slot for Use <CC> prior to this command <T2> by all means. When use <T2> with another registration command, it may occur error because of capacity shortage of the memory card. In this case, register another command in another memory card, or use a memory card having bigger capacity.
  • Page 363 [ESC+K1(K2)(K8)(K9)] Memory Card Horizontal Writing External Font Call Hexadecimal code K1(K2)(K8)(K9) Parameter <1B> <4B> <31> an...n ( <4B> <32> ( <4B> <38> ( <4B> <39> Initial value None Valid range and term of When the power is OFF The registered data is not maintained. command Valid range within items The set parameter becomes invalid.
  • Page 364 [Coding Example] <A> <V>100<H>100 <CC>1 <K1>H8021 <Q>2 <Z> [Supplementary Explanation] Specify slot registered with Card Slot for Use <CC> prior to this command <K1> by all means. The error occurs when unused slot is specified. <K8><k9> is valid only when Shift-JIS is specified. [Notes] Do not power off this product when accessing to the memory.
  • Page 365 [ESC+k1(k2)(k8)(k9)] Memory Card Vertical Writing External Font Call Hexadecimal code k1(k2)(k8)(k9) Parameter <1B> <6B> <31> an...n ( <6B> <32> ( <6B> <38> ( <6B> <39> Initial value None Valid range and term of When the power is OFF The registered data is not maintained. command Valid range within items The set parameter becomes invalid.
  • Page 366 [Coding Example] <A> <V>100<H>100 <CC>1 <k1>H8021 <Q>2 <Z> [Supplementary Explanation] Specify slot registered with Card Slot for Use <CC> prior to this command <k1> by all means. The error occurs when unused slot is specified. <K8><k9> is valid only when Shift-JIS is specified. [Notes] Do not power off this product when accessing to the memory.
  • Page 367 [ESC+BJ ESC+BJD] TrueType Font Registration (Compatible command) Hexadecimal code Parameter <1B> <42> <4A> (a...ab...b c ...cdddde...e <42> <4A> <44> Initial value None 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 368 [ESC+BJT] TrueType Font Call Hexadecimal code Parameter <1B> <42> <4A> <54> ,aa,bb,cc,dd,ee,ffff,n...n Initial value None 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 369 Calendar Commands [ESC+WT] Calendar Setup Hexadecimal code Parameter <1B> <57> <54> aabbccddee Initial value None 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 specification is made.
  • Page 370 [ESC+WP] Calendar Arithmetic (Add) Hexadecimal code Parameter <1B> <57> <50> abbb Initial value None 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 specification is made.
  • Page 371 [ESC+WA] Calendar Print Hexadecimal code Parameter <1B> <57> <41> Initial value None 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 372 Up to 16 characters are available for calendar print data. In the [Parameter] above, count the initiation of WW (Week) as [0], and ww (Week) as 1 . WW/ww command example Ex.1) January in 2008, The year of Jan 1 begins with Mon, Tue, Wed, and Thu. ◦...
  • Page 373 Intelligent Commands [ESC+IK] Label Feed Control Hexadecimal code Parameter <1B> <49> <4B> a(,bbbb) Initial value None 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 374 [Coding Example 2] When feeding one label <A> <IK>0 <Z> Head position Before receiving command Command received After receiving command Feeds one label [Supplementary Explanation] Delimit Start Code <A> and Stop Code <Z> with this command. When specifying this command with the same item as print data, the command will be ignored.
  • Page 375 [ESC+IM] Displayed Messages Hexadecimal code Parameter <1B> <49> <4D> a(,bbb...b) Initial value None 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 specification is made.
  • Page 376 [Coding Example 2] Return back the displayed message <A> <IM>0 <Z> Before the command After the command FORMAT01 ONLINE QTY:000000 QTY:000000 [Supplementary Explanation] The displayed message is returned back to the normal display after powering off this product. When a specified message is exceeded the maximum digit, the message within the valid digit is displayed.
  • Page 377 [ESC+IF] Internal Buffer Registration Hexadecimal code Parameter <1B> <49> <46> aa,bb,cc(,ddd...d) Initial value None 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 specification is made.
  • Page 378 [Supplementary Explanation] The stored data is cleared when this product is powered off. The item name will not be changed when [Data item name] parameter is omitted. Only for the available digit of the data from the start will be stored when the specified number of data exceeded the input digit.
  • Page 379 [ESC+IB] Internal Buffer Recall Hexadecimal code Parameter <1B> <49> <42> aa(,aa,aa...) Initial value None 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 380: Table Of Contents

    Internal buffer Item name Number Data contents of digits DATA1 DATA2 123456 123456 1234 DATA3 1234 0010 0010 The registered data 1, 2, and 3 are combined and used as the barcode data in the above example. [Supplementary Explanation] The stored data is cleared when this product is powered off. Refer to the table “Commands that can be specified as parameter”...
  • Page 381 Category Command Command Name The parameter can be replaced (underlined part) <$=> Outline Font Print <$=>n...n <RD> CG Font <RD>abb,ccc,ddd,n...n Barcode <B> Barcode (Ratio 1:3) <B>abbcccn...n <D> Barcode (Ratio 1:2) <D>abbcccn...n <D><d> Barcode (with HRI) <D>abbcccn...n <D>n...n <BD> Barcode (Ratio 2:5) <BD>abbcccn...n <BW>...
  • Page 382 When the number of mix is bigger than 1, the print data that is acquired by the Internal Buffer Recall <IB> that is specified before the QR code print command will be specified for replace for the number of mix. Recommend to use in auto mode when replacing the print data by Internal Buffer Recall <IB>.
  • Page 383 [ESC+IC] Internal Buffer Data Comparison Hexadecimal code Parameter <1B> <49> <43> a,bb,cc Initial value None 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 384 The label will not be printed when the data is not the same. [Supplementary Explanation] The command error occurs when the parameter is in invalid range. Comparison of the internal buffer data will not be done.
  • Page 385 [ESC+I*] Internal Buffer Data Print Hexadecimal code Parameter <1B> <49> <2A> None Initial value None 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 386 [ESC+I#] Exclusive Key Start-End Hexadecimal code Parameter <1B> <49> <23> Initial value None 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 specification is made.
  • Page 387 PRINT START PUSH FEED KEY Key buffer Key press ONLINE QTY:000000 [Supplementary Explanation] This command is valid only in the online mode. The size of the key buffer is 1KB. The maximum 512 inputs can be maintained because 2 bytes are used with one key information.
  • Page 388 The information is notified in 5 digits fixed. When the key press detection is less than 5 digits, upper digits are filled with zeros. 2) Key Information String The all key information is notified consecutively. One key information is consist with 2 bytes binary value. Item Contents Number of bytes...
  • Page 389 [ESC+IZ] Key Input Hexadecimal code Parameter <1B> <49> <5A> aa,bb,cc,ddd...d Initial value None 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 [Coding Example] <A> <IZ>1,5,12345,DATA --------- (1) <IZ>2,4,0001,QTY ---------- (2) <Z>   Internal buffer Item name Number Data contents of digits ENTER DATA 12345 DATA 0001 12345 ONLINE QTY:000000 0001 ENTER ONLINE QTY:000000 [Supplementary Explanation] The stored data is cleared when this product is powered off. The input data is displayed up to 16 digits.
  • Page 391 [ESC+IR] Internal Buffer Registration (Received Data) Hexadecimal code Parameter <1B> <49> <52> aa,bb(,cccc)(,d)(,eeee)(,ffffff) (,gggg...g) Initial value None 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 [Coding Example 2] Store the received 6 byte data to the internal buffer (Start code and terminate code are omitted) <A> <IR>1,6,,,,1000,ITEM _ CODE <Z>   (2) Received data "ABCDEF" External Internal buffer peripherals Item name Number Data of digits Sub port ITEM_CODE ABCDEF...
  • Page 393 The data receive waiting status of this command can be released with the following cancel the operation. ◦ Send CAN to the data port ◦ Print job cancel by LCD menu operation ([OFFLINE] -> [CANCEL] -> [YES] -> [ENTER]) Note that 00H is specified as terminate code for the specified digit when terminate code is specified and terminate code itself is omitted.
  • Page 394 [ESC+IT] Data Sending Hexadecimal code <IT> Parameter <1B> <49> <54> a,b(,cccc)(,ddd...d) Initial value None 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 [Coding Example 2] Upload the contents in the internal buffer from the host <A> <IB>1 <IT>1,2,6 <Z>   Internal buffer External Item name Number Data peripherals of digits Sub port ITEM_CODE 123456 (1) Send <IR> Data port (2) Reading data (3) Data sending "123456CRLF"...
  • Page 396 (4) Acquired Sequence This product External Host Data port Status port peripheral [SOH]RD Receive data check There is no received data [STX]00000[ETX] 12345[CR] [SOH]RD Receive data check 12345[CR] [STX]00006,12345[CR][ETX] [SOH]RD Receive data check There is no received data [STX]00006,12345[CR][ETX] 12345[CR] 67890[CR] [SOH]RD Receive data check...
  • Page 397 [ESC+IO] External Signal Input/Output Hexadecimal code Parameter <1B> <49> <4F> a,b,c(,dddddd) Initial value None 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 398 [Supplementary Explanation] Set the external signal output for "DISABLE" in the advanced mode when using this External Signal Input/Output <IO>. When it is set to "ENABLE", the signal changes regardless with this command because the signal is output on the printer. The timing of signal output is not related the print operation of the printer but when this command is processed.
  • Page 399 [ESC+IW] Print Start Waiting Time Hexadecimal code Parameter <1B> <49> <57> aaaaaa Initial value None 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 400 [ESC+IU] Internal Buzzer Sound Hexadecimal code Parameter <1B> <49> <55> Initial value None 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 401 [ESC+I@] Internal Buffer Initialization Hexadecimal code I @ Parameter <1B> <49> <40> (aa) Initial value None 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 402 [Coding Example 2] Initialize all the internal buffer <A> <I@> -------- (2) <Z> Internal buffer Item name Number Data contents of digits DATA1 DATA2 123456 DATA3 1234 0010 [Supplementary Explanation] Do not specify this command in the same item as Internal Buffer Registration (Received Data) <IR>...
  • Page 403 [ESC+IY] Exclusive Display Start-End Hexadecimal code Parameter <1B> <49> <59> Initial value None 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 404 Part 2 Interface Specification Overview Overview This product has a build-in interface to communicate data with host and has an external signal interface to connect the product and peripheral devices.   Followings are the types of build-in interface. USB interface (USB2.0 High-speed, A type connector/B type connector) LAN interface (10BASE-T/100BASE-TX Auto switch, RJ-45 connector)  ...
  • Page 405 Function Setting It is required to configure each interface in the interface mode of this product before using it. Procedure to Go to the Interface Mode It is necessary to go to the interface mode to configure each interface. 1. Power on this product, press LINE once while this product is ONLINE. ONLIN E QTY:000000 This product goes OFFLINE.
  • Page 406 Data Port and Sub Port You need to configure both "Data Port" and "Sub Port". The followings are overview of each ports. Data Port This port receives print data from PC. All SBPL commands are available in this port. <Configurable interfaces for the Data Port> USB, LAN, IEEE1284, RS-232C The interface configured as Sub Port cannot be used as the Data Port interface.
  • Page 407 Combination of Interface The following combinations are available for the Data Port and the Sub Port. Data Port RS-232C IEEE1284 Sub Port RS-232C ○ ○ ○ IEEE1284 ○ ○ ○ ○ ○ ○ ○ ○ ○ ○: Configurable   [Supplementary information] Change the data port selection to "RS-232C"...
  • Page 408 Communication protocol Types of Communication Protocol and Reception Mode This product has two types of receive modes; single item and multiple. The available receive mode differs depending on the combinations of interface and communication protocol. Single item receive mode Single item ([ESC+A] to [ESC+Z]) can be received after the previous single item has printed. Multiple receive mode Able to receive data up to reception buffer near full size during printing.
  • Page 409 Interface Communication RS-232C IEEE1284 protocol With bidirectional communication Status3 ○ × × ○ Multiple buffer With bidirectional communication Status4 ○ ○ ○ ○ Multiple buffer With bidirectional communication Status5 ○ ○ ○ ○ Multiple buffer With bidirectional communication ○: Enable, x: Disable...
  • Page 410 Return Status The purpose of return status is to manage the status of this product from the host, and this product returns the status by request command from host. There are four types of return status format, Status2, Status3, Status4, and Status5. Each return status is listed below.
  • Page 411 (1) ENQ (Status request) Host This product Send ENQ(05H) Write Create status information Send/Recieve Send buffer interval STX xxA000000..ETX (more than 1msec) Recieve STX xxA000000..ETX Read (2) CAN (Cancel request) Host This product Send CAN(18H) Write Cancel process Send/Recieve interval (more than 500msec) Send buffer: ACK (06H)
  • Page 412 Return Status of Status2 This product returns the printer status by receiving the status request command sent from the host. Also, this product initializes the receive buffer and cancels the print job by receiving the cancel request command. Following described about the details of request commands and return status. Status Request Command This product returns the state of the receive data, the receive buffer and this product by receiving this command sent from the host.
  • Page 413 Cancel Request Command This command enables to cancel print jobs and to clear the entire contents of receive buffer. Note that the printer does not return the status with this command. Make sure to send the next data after the elapse of 500 msec as delay time after sending the cancel request. This command is also effective in offline state and the time of the error.
  • Page 414 Return Status of Status3 The purpose of this communication protocol is to return this 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. 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 Process print to the host.
  • Page 415 Contents ASCII RIBBON NEAR END & BUFFER NEAR FULL ERROR BUFFER OVER DETECTION HEAD OPEN PAPER END RIBBON END MEDIA ERROR (PRINT ERROR) SENSOR ERROR HEAD ERROR CARD ERROR OTHER ERRORS *1 Print quantity may not be set properly depending on timing of edit and analysis. *2 BUFFER OVER may occur or may not occur, it depends on interface.
  • Page 416 Return Status of Status4 The purpose of this communication protocol is to return this product condition and reply as a status to the host by receiving five types of request commands and print command. Following described about the details of request commands and return status. 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 Process print to , the host.
  • Page 417 Contents ASCII PRINT HALT (NO ERROR) ANALYZING / NO ERROR EDITING RIBBON NEAR END BUFFER NEAR FULL RIBBON NEAR END & BUFFER NEAR FULL PRINT HALT (NO ERROR) ERROR HEAD OPEN DETECTION PAPER END RIBBON END MEDIA ERROR (PRINT ERROR) SENSOR ERROR HEAD ERROR CARD ERROR...
  • Page 418 Print End Request Command This command halts the printing process. The status of this product after receiving command is returned. 1. Command DLE (HEX 10H) 2. Return status list Return status Contents ACK (HEX 06H) No error in this product NAK (HEX 15H) Error in this product Please do not send DLE (Print stop request command) while STX <A>...
  • Page 419 Return Status of Status5 The following is functionality provided by this communication protocol. Data Transmission Format 1. All control commands like print data, status request, cancel request are specified by adding STX (HEX 02H) and (HEX 03H). * It is not necessary to add STX (HEX 02H) and ETX (HEX 03H) for setting data. 2.
  • Page 420 History Function The process status of the received print data (item) will be saved in the history buffer. The process status can be acquired by item status request command.   [Memory configuration] Usage Type Size Remarks Receive buffer 2.95 MB History buffer SFROM 4 KB...
  • Page 421   [Format] STX + SOH + ENQ + aaaaa + ETX Parameter a      [Item No.] Valid range  :  00000 to 99999                        ***** 1. Parameter must be 5 digits. 2. Parameter [*] is [HEX 2AH]. 3. When "*****" is specified as the parameter, the status of the last item in the history buffer will be returned to the host.
  • Page 422 Digit Contents ASCII Online - Waiting (Wait for dispense) Online - Analyzing / Editing * [Number of processing item to be printed] may not be set, which is depending on the timing. Error Stop printing (Receiving DLE command)   Digit Contents ASCII NO ERROR...
  • Page 423 The latest item status will be returned when there are multiple same item No. in the history buffer. Item No. Check Function This product will check the item No. in the print data if it is incremented one by one with every item. If it is not, the printer will arise "item No.
  • Page 424 BCC C HECK ERRO R * The BCC error will be detected only when the BCC Check check is enabled.   The following is the cancellation method of BCC error. Press [LINE] key Resume printing from print data with BCC error. Send SUB command Resume printing where it left off after canceling BCC error.
  • Page 425 [Example] STX SOH CAN 00001 ETX STX SOH CAN ***** ETX   [Supplementary Explanation] This command shall not be used while sending other data like print data. Upon reception of this command, this product will search the specified item from the history buffer, and it may take some time to cancel.
  • Page 426   [Example] STX SOH DC1 ETX   [Supplementary Explanation] This command shall not be used while sending other data like print data. 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. Status5 Return Error Cancellation Request Command This command cancels Item No.
  • Page 427 <ID>***** <IQ>00000 <Z> <A> <ID>00001 <Z>   [Example 2] <A> <ID>***** <IQ>99999 <Z> <A> <ID>00000 <Z>   [Supplementary Explanation] Do not include this command to print data (<A>-<Z>). When "99999" is specified with this command, the next item No. will be "00000". Protocol Switch Command in Status 5 This command switches the communication protocol.
  • Page 428 This will become invalid when specifying protocols not supported in the used interfaces. When the protocol is changed, the printer needs to be rebooted. Without rebooting, data communication may be incorrect. Status 5 Reply Check Command This is a command to set the check function of BCC and item No. in the status 5 return.  ...
  • Page 429 Item No. Status CR LF ..Item No. Status STX(HEX 02H) CR(HEX 0DH) ETX(HEX 03H) LF(HEX 0AH) Numerical number in [ ] indicates the number of bytes in use. Item No. is filled by “0.” The history data will be separated by CRLF at every item, and there are a total of 500 items. Refer to the "History data configuration in History function".
  • Page 430 Other Return Status (Common to Status 3, Status 4, and Status 5) Print Configuration Request   1. Command SOH (HEX 01H) + MG 2. Return status list Item Contents Number of bytes Print method 00H: Thermal transfer 01H: Direct thermal Head density 01H: 12 dot/mm Print speed...
  • Page 431 Item Contents Number of bytes 01H: Enable Kanji code 00H: JIS code (initial value) 01H: Shift-JIS 02H: UTF-16 04H: BIG5 05H: GB18030 Not used 00H fixed Initial feed 00H: Disable 01H: Enable Proportional pitch 00H: Disable (Initial value) 01H: Enable Height of label Head density: 12 dots/mm Range (HEX): 168H to 13B0H...
  • Page 432 3. Return status list Item Contents Number of bytes Printer firmware version ASCII code Font version ASCII code Reserved (HEX 20H fixed) ASCII code Free Memory Space Information Request This command returns the system version information of this product.   1.
  • Page 433 Item Contents Number of bytes Registration name Registration name (ASCII code) 16 LAN Specification Information Request (IPv4) This command returns the LAN setting information of this product.   1. Command SOH (HEX 01H) + LA 2. Return status/format [STX] + MAC address + IP address + Subnet mask + Default gateway + DHCP + [ETX]   STX (HEX 02H) ETX (HEX 03H) MAC address...
  • Page 434 Item Contents Number of bytes Default router (HEX) Return default router address that is set. DHCP 0 (00H): Manual 1 (01H): DHCP 2 (01H): Auto SNMP Agent Information Request This command returns the SNMP agent information of this product.   1.
  • Page 435 Item Contents Number of bytes SNMP ON/OFF 0: OFF 1: ON SNMP Information Request This command returns the SNMP information of this product.   1. Command SOH (HEX 01H) + LZ 2. Return status/format [STX] + SNMP setting values + [ETX]   STX (HEX 02H) ETX (HEX 03H) SNMP settings...
  • Page 436 Item Contents Number of bytes Trap 2 trapped address SNMP_TRAP2_IPV6_IPADDRESS Trap 2 trap enable flag SNMP_TRAP2_ENABLE Trap 2 v1/v2c/v3 select SNMP_TRAP2_VERSION Trap 3 community name SNMP_TRAP3_COMMUNITY_NAME Trap 3 IPv4/6 select SNMP_TRAP3_46SEL Trap 3 trapped address SNMP_TRAP3_IPADDRESS Trap 3 trapped address SNMP_TRAP3_IPV6_IPADDRESS Trap 3 trap enable flag SNMP_TRAP3_ENABLE...
  • Page 437 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.
  • Page 438 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 signal line. Refer to RS-232C for the details.
  • Page 439 Status3 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 Status3" for the details of request command and return status.
  • Page 440 Return Sequence When LAN interface is used, please refer to "Printer Status" in “LAN” described below. 1) Normal HOST This product (Status request command) IDnumber=[space] Status=Wait for receive STATUS Remaining label=[000000] IDnumber=[05] Print command Receive/ Analysis/Edit Print Qty=100 (Status of printer : No error) (Status request command) IDnumber=[05] Status=Analysis, Editing...
  • Page 441 2) Cancel Request Command Host This product Status request command ID N umber = [Space] Statu s Status = "Waiting for receive" Remaining print number [000000] ID number = [12] Print comman d Receive/An a lysis/Edit Print number = 50 (Printer status: no error) *1 Prin t opera tion Print the 1st label...
  • Page 442 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 443 Status4 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 Status4” and “Other Return Status” for the details of request command and return status.
  • Page 444 Remaining print number = [000000] Job name = [Space] ID number = [05] Print number = 100 Print command Receive/Analysis/Edit Job name = [SATO] (Printer status: no error) *1 (Status request command) ID number = [05] Stat u s Status = "Editing"...
  • Page 445 2) Cancel Request Command Host This product Status request command ID N umber = [Space] Statu s Status = "Waiting for receive" Remaining print number [000000] ID number = [12] Print comman d Receive/An a lysis/Edit Print number = 50 (Printer status: no error) *1 Prin t opera tion Print the 1st label...
  • Page 446 Status5 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 This protocol has 2 contributing factors to detect receive buffer near full to control information like receiving, print, cancel per item.
  • Page 447 Return Sequence Normal process (1) This product Host Write No00001 STX ESCA ESCID00001 ESC ... ESCZ BCC ETX to the history data Edit Write No00002 STX ESCA ESCID00002 ESC ... ESCZ BCC ETX No00001 to the history data Edit STX ESCA ESCID00003 ESC ... ESCZ BCC ETX Write No00003 No00002 to the history data...
  • Page 448 Normal process (2) This product Host Write No00001 STX ESCA ESCID00001 ESC...ESCZ BCC ETX to the history data Edit STX ESCA ESCID***** ESC...ESCZ BCC ETX Write No***** No00001 to the history data Edit Edit STX ESCA ESCID00002 ESC... ESCZ BCC ETX Write No00002 No***** No00002...
  • Page 449 Cancel process (1) This product Host Write No00001 STX ESCA ESCID00001 ESC... ESCZ BCC ETX to the history data Edit STX ESCA ESCID00002 ESC... ESCZ BCC ETX Write No00002 No00001 to the history data Edit STX ESCA ESCID00003 ESC... ESCZ BCC ETX Write No00003 No00002 to the history data...
  • Page 450 Cancel process (2) This product Host Write No00001 STX ESCA ESCID00001 ESC... ESCZ BCC ETX to the history data Edit Write No00002 STX ESCA ESCID00002 ESC... ESCZ BCC ETX No00001 to the history data Edit STX ESCA ESCID00003 ESC... ESCZ BCC ETX Write No00003 No00002 to the history data...
  • Page 451 Error process (1) This product Host Write No00001 STX ESCA ESCID00001 ESC...ESCZ BCC ETX to the history data Edit Write No***** STX ESCA ESC...ESCZ BCC ETX No00001 to the history data Edit data STX ESCA ESCID00003 ESC...ESCZ BCC ETX Write No00003 to the history data STX SOH ENQ00001 ETX Print...
  • Page 452 Error process (2) This product Host Write No00001 STX ESCA ESCID00001 ESC...ESCZ ETX to the history data Edit STX ESCA ESCID00002 ESC...ESCZ BCC ETX Write No00002 No00001 to the history data STX ESCA ESCID00003 ESC...ESCZ BCC ETX Edit Write No00003 No00002 to the history data STX SOH ENQ00001 ETX...
  • Page 453 RS-232C Basic Specifications This interface complies with RS-232C standard. Various communication settings are available by the interface mode of this product. Interface D-sub 9pin Female Communication Settings Setting range in communication settings mode Item Configuration Initial value Data bit length 7, 8 (bit) 8 bit Parity bit...
  • Page 454 Code ASCII (7 bits) Graphic (8 bits) Connector Product 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 to +12 V Low level: -5 to -12 V...
  • Page 455 READY/BUSY This communication protocol controls the reception of print data by the control of hard signal only. Single item receive and multiple buffer can be switched in the interface mode of this product. 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 456 Timing chart of single item receive 1) Normal process Printer Power On Press the LINE key Press the LINE key Initializing STX . . ETX (1) STX ..... ETX (2) Offline Online Online...
  • Page 457 Timing chart of multiple receive 1) Normal process Receive buffer Receive buffer Power On Printer Press the LINE key Press the LINE key near full state near full release Initializing STX . . ETX (1) STX . . ETX (2) STX .
  • Page 458 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. Single item receive and multiple buffer can be switched in the interface mode of this product. When the print data (STX <A>...
  • Page 459 Timing chart of single item receive 1) Normal process Power On Press the LINE key Press the LINE key Initializing Printer XOFF XOFF XOFF 500 msec STX.ETX (1) STX.ETX (2) Online Online Offline Printer Status Receive/Analysis/Edit (2) Receive/Analysis/Edit (1) Printing (1) Printing (2) Note: the printer will be polled by XON at intervals of 500 msec from the initializing to the first data reception.
  • Page 460 Timing chart of multiple receive 1) Normal process Power On Receive buffer near full release Press the LINE key Press the LINE key Receive buffer near full state Printer XOFF Initializing XOFF 500 msec STX.ETX (2) STX.ETX (1) STX.ETX (3) STX .
  • Page 461 Status5 return 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. Connection diagram 1) DB-9P This product Host...
  • Page 462 Timing Chart 1) Normal process Power On Buffer near full state Buffer near full release Press the LINE key Press the LINE key Printer STX . . . ETX (2) STX . . . ETX (1) STX . . . ETX (3) Initializing Status Status...
  • Page 463 3) Error process Paper end error Head open Head close Press the LINE key Printer STX . . . ETX (1) Status Status Status Status Status Status Status Online Offline Online 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 464 5) Information request command process Printer STX..ETX (2) STX . . . ETX (1) Get printer info Status Printer status Status Status Status Printer Status Online Receive/Analysis/Edit (1) Receive/Analysis/Edit (2) Printing (1) Printing (2) Note: Do not send status request commands during printing. 6) Item No.
  • Page 465 Status4 return 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. Status is returned immediately after receiving request command. Receive mode for this communication protocol is multi buffer mode. Connection diagram 1)DB-9P Host...
  • Page 466 Timing Chart 1) Normal process Power On Receive buffer near full state Receive buffer near full release Press the LINE key Press the LINE key Printer Initializing STX . . ETX (1) STX . . ETX (2) STX . . ETX (3) Status Status Status...
  • Page 467 3) Error process Paper end error Head open Head close Press the LINE key Printer STX . . ETX (1) Status Status Status Status Status Status Status Printer Status 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 468 5) Information request command process Printer STX . . ETX (1) Get printer info STX . . ETX (2) Status Status Status Status Printer 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 469 Status3 return 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. Status is returned immediately after receiving request command. Receive mode for this communication protocol is multi buffer mode. Connection diagram 1)DB-9P Host...
  • Page 470 Timing Chart 1) Normal process Receive buffer Receive buffer Power On near full state near full release Press the LINE key Press the LINE key Printer Initializing STX . ETX (2) STX . ETX (1) STX . . ETX (3) Status Status Status...
  • Page 471 3) Error process Paper end error Head open Head close Press the LINE key Printer STX . . ETX (1) Status Status Status Status Status Status Status Online Offline 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 472 Status2 This communication protocol is for compatibility with the old model. The receive mode is single item receive. Connection diagram 1)DB-9P Host This product I/O signal Pin no. Signal Contents name Input Data transferred from the host to this product Output Data transferred from this product to the host Signal ground...
  • Page 473 Timing Chart (1) Normal process Press the LINE key Press the LINE key Power On Printer Initializing STX . . ETX (1) STX . . ETX (2) Status Status Status Status Status Offline Online Printer Status Receive/Analysis/Edit (2) Receive/Analysis/Edit (1) Printing (1) Printing (2) (2) Cancel process...
  • Page 474 (3) Error process Paper end error Head open Head close Press the LINE key Printer STX . . ETX (1) Status Status Status Status Status Status Status Online Offline Online 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 475 Return Status For details of return status of status 2, refer to “Return Status of Status 2” of “Return Status” in “Communication Protocol”. Return sequence 1) Normal Host This product (Status request command) Receive data = Normal Status Receive buffer = No data Printer = Normal Receive/Analysis/Edit Print command...
  • Page 476 2) Cancel request command Host This product (Status request command) Receive data = Normal Status Receive/Analysis/Edit Receive buffer = No data Printer = Normal Printing Print command (Print number = 100) Print the 1st label (Status request command) Print the 2nd label Receive data = Normal Status Receive buffer = Data...
  • Page 477 Reference Flow Chart Please refer to the following flow chart for creating program at host with this protocol. Power On SW <- 0 Set the print data Send ENQ Status receive? Timeout? Status = normal? Printer status = normal? Receive buffe r = No data? Display the status Display the status...
  • Page 478 Notes Please mind the following items when using READY/BUSY control. Make sure this product 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, Status2, Status3, Status4, Status5, so make sure to send data equal to or less than 2.9 MB and send data while monitoring printer status.
  • Page 479 IEEE1284 Basic Specifications This interface complies with Centronics/IEEE1284 standard. Single item receive or multiple receive can be switched on the interface mode of the printer. Interface Protocol Status4, Status5 Refer to Communication protocol for details. Connector Product side: Amphenol 36 pin (Female) Cable side: Amphenol 36 pin (Male) Cable Length Equal to or less than 1.5 m...
  • Page 480 2.95 MB 0 MB Near Full Remaining 0.95 MB Release Near Full Remaining 1.95 MB...
  • Page 481 Timing Chart ECP mode Centronics compatible mode T1 T2 T1 T2 DATA STROBE BUSY Supplemental explanation1 : 0.75μs ≦ T1 0.75μs≦T2≦500μs 0.5μs < T3 < 1.2μs Supplemental explanation2: in case of single item receive, it is possible to set the ACK range (0.5 - 12.0μs) in the interface mode.
  • Page 482 Connection diagram Following is a parallel cable connection diagram. Use a cable complies with IEEE1284 standard. Amphenol 36P D-SUB 25P (Printer side) (Host side)...
  • Page 483 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 Contents Pin no. Signal name Contents STROBE Input STROBE-RETURN DATA 1 Input DATA 1-RETURN...
  • Page 484 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 name Contents STROBE Input Synchronization signal that requires low active pulse to read DATA1 to DATA8 2 to 9 DATA 1~DATA 8...
  • Page 485 Timing chart Timing chart of single item receive Normal process Press the LINE key Press the LINE key Power ON Printer initializing STX..ETX(1) STX ... . ETX(2) DATA STROBE SELECT...
  • Page 486 Process at the paper end Paper end error Head open Head close Press the LINE key Printer DATA STX ... . ETX (1) STROBE BUSY SELECT FAULT Offline Online Online Receive/Analysis/Edit (1) Printing (1) Printing (1)
  • Page 487 Timing chart of multiple receive Normal process Power On Printer Press the LINE key Press the LINE key Receive buffer near full state Receive buffer near full release DATA Initializing ESC A . . ESC Z (1) ESC A . . . ESC Z (2) ESC A .
  • Page 488 Process at the paper end Head open Head close Paper end error Press the LINE key DATA ESC A . . ESC Z (1) ESC A . . . ESC Z (2) Printer STROBE BUSY SELECT FAULT Offline Online Online Receive/Analysis/Edit (1) Receive/Analysis/Edit (2) Printing (1)
  • Page 489 Process at the power off Power off 5V power on the KB Press the LINE key Press the LINE key Printer Power On board is off DATA Initializing ESC A..ESC Z (1) ESC A...ESC Z (2) ESC A.. ESC Z (3) STROBE BUSY SELECT...
  • Page 490 Basic Specifications USB interface of this product complies with USB2.0 standard. Interface Protocol Status4, Status5 Refer to “Communication Protocol” for details. Connector Series B plug Length of cable: 5m or less (Twisted Pair Shielded) Version USB2.0 High-speed Receive Buffer Size 2.95 MB 2.95 MB 0 MB...
  • Page 491 Connector Pin Assignment Pin No. Name VBus -Data(D-) +Data(D+)
  • Page 492 Basic Specifications (LAN) Interface RJ45 LED1 LED2 Protocol Status3, Status4, Status5 Refer to Communication protocol for details. Connector Connector Type: RJ-45 Cable Type: For 10BASE-T, 100BASE-TX (Category 5 or upper) Cable length: Equal to or less than 100 m Link/Status LED Lights when link is established with Ethernet device or when packet is received.
  • Page 493 Communication settings The following communication setting can be done on the communication setting mode of this product. Common settings Setting item Setting range Protocol Status3 return Status4 return (Cycle response mode) Status4 return (ENQ response mode) (Initial value) Status5 return  ...
  • Page 494 Receive buffer size 2.95 MB 2.95 MB 0 MB Near Full Remaining 0.95 MB Release Near Full Remaining 1.95 MB...
  • Page 495 Software Specifications Supported protocol: TCP/IP Network layer: ARP, RARP, IP, ICMP Session layer: TCP, UDP Application layer: LPD, FTP, TELNET, BOOTP, DHCP, HTTP, SNMP, SNTP 1. LPR, FTP and Dedicated Socket protocol of TCP/IP can be used for sending print data. 2.
  • Page 496 <TELNET command example> Enter [TELNET xxx.xxx.xxx.xxx (IP address)] from the MS-DOS command prompt, and enter user name and password, then following message will appear.        SATO PRINTER Model Name TELNET server.        Copyright 2010(C) SATO Corporation.        login:root        'root' user needs password to login.
  • Page 497 Variable name Setting range Initial value (Factory setting) DHCP protocol ENABLE/DISABLE DISABLE Keepalive time 30 to 300 180 (seconds) Keepalive retry 1 to 99 17 (times) Socket cancel Normal/Compatible Normal ROOT password NULL (no password) Any alphanumeric [16] IPv6 address 0000:0000:0000:0000:0000:0000:0000: 0000:0000:0000:0000:0000:0000:0000: 0000 to...
  • Page 498 SNTP (Simple Network Time Protocol) SNTP corrects time of calendar IC when calendar IC is equipped. Note that Wireless LAN is not supported. Function This function acquires the current time from the NTP server and corrects time of the calender IC at the printer power on when a calender IC is mounted on the printer and LAN is selected as [data port] at the [communication setting].
  • Page 499 Operation Sequence Power on INITIALYZING... SG112-ex VER:52.00.00.00 ”SNTP function” is enabled Calendar IC is mounted and LAN interface NTP server NTP server time acquire request When there is a response NTP server time acquire response Calendar IC time offset When there is no response “Communication error notice”...
  • Page 500 HTTP (HyperText Transfer Protocol) The settings of LANand printer are received via HTTP and set accordingly. Main Information Item Setting items Initial value Firmware version 52.XX.XX.XX Display only None MAC Address XX:XX:XX:XX:XX:XX Display only None IP Address Setting Manual, DHCP, RARP, Display only None DHCP/RARP...
  • Page 501 Socket Communication In the socket server of TCP/IP, Port1024 is used for print data reception, Port1025 is used for 2-port connection of printer status return, and Port9100 is used for 1-port connection for both receiving print data and printer status return. When Port9100 is used, only status return data and printer operation setting request data are returned to host.
  • Page 502 Connection and Disconnection of Session Following is the procedure for connection and disconnection of Port1024 (for print data) and Port1025 (for status return) and Port9100 or Port1024 (for send/return port) in socket server functions. 1) Print data port (Port1024), Status return port (Port1025) Host This product LISTEN...
  • Page 503 2) Sent/Received port (Port9100 or Port1024) Host This product LISTEN CONNECT (Port1024 or Port9100) ACCEPT CONNECT success connect Status request (Port1024 or Port9100) Printer status (Port1024 or Port9100) Print data (Port1024 or Port9100) Print CLOSE CLOSE (Port1024 or Port9100) CONNECT END LISTEN...
  • Page 504 Printer Status 1) Status Mode There are three types of mode for status return when using LAN interface. 1. Status4/Cycle response mode (2port connection or 1 port connection) Port1024 is used for print data port, Port1025 is used for status return, Port9100 is used for print data port and status return.
  • Page 505 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 Status5] for the description of [Status]. 3.
  • Page 506 Host This product LISTEN CONNECT (Port1024, Port1025, ACCEPT or Port9100) CONNECT SUCCESS Connection Status request (Port1024, Port9100) The latest printer status (ENQ "05H") Printer status (Port1025, Port9100) CLOSE (Port1024, Port1025, CLOSE or Port9100) CONNECT END LISTEN 3. Status3, Status5/ENQ response mode (1 port connection) This product sends ACK after receiving print request command from host and sends Printer Status after receiving status request command (ENQ:05H) from host.
  • Page 507 Notes for LAN Interface Please refer to the Operator Manual for LAN interface setting. 150 ms to 200 ms interval is required to close port then open port, if you want to open and close print data port (Port1024), status port (Port1025) and send/received port (Port9100). Short interval setting may cause double connection.
  • Page 508 External signal interface Basic Specifications 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) with Cotinuous or Cutter. Error signal is output in any mode if an error occurs in the printer. External signal setting is set in the Intelligent mode of this product.
  • Page 509 Reissuing EXT Signal Following signal types are available in the Intelligent mode. Type Operation TYPE Ⅰ Print end signal (PREND) is “High” before printing labels. The signal level is “Low” after the completion of print. The signal level will be “High” 20 ms later. TYPE Ⅱ...
  • Page 510 Connector Pin Assignment 14 pin external signal interface Signal name Contents Input/Output Level Electric condition (voltage, current (MAX)) PAPER END Output when paper Output end is detected. 400 mA SIGNAL GROUND RIBBON END Output when detect Output High ribbon end. 400 mA MACHINE Output when Head...
  • Page 511 I/O signal 1) Input Signal Input waveform Item 1st label complete Print start (PRIN) Reprint (PRIN2) Print Print end 20msec (PREND) 1st label complete Print start (PRIN) Reprint More than 10mses (PRIN2) Print Print end 20msec (PREND) [Supplementary Explanation] Keep “Low” for print start signal (PRIN) until print end signal (PREND) is output. Make sure to output 10 ms or more for reprint signal (PRIN2).
  • Page 512 2) Output signal Item Output waveform label complete Print Print end 20ms (PREND) Paper end Ribbon end Machine error Head open Head close Paper end Print Print end (PREND) Label change Paper end Riboon end Machine error Ribbon end Head open Head close Print Print end...
  • Page 513 Operation Waveform Operation mode of external signal input is as follows; No pulse Pitch Print Continuous input Sensor Pulse input No pulse Tear-off input Pulse input No pulse Cutter input Backfeed Motion 1 Backfeed Motion 2 Motion 3 Pulse input Backfeed Motion 1 Backfeed...
  • Page 514 USB HOST Basic Specifications USB interface of this product comply with USB2.0 standard. Interface Connector Series A plug Length of cable: 5 m or less (Twisted Pair Shielded) Version USB2.0 High-speed Device class Mass storage class Purpose of use USB memory...
  • Page 515 Connector pin assignment Pin no. Name VBus -Data(D-) +Data(D+)
  • Page 516 Extensive contact information for worldwide SATO operations can be found on the Internet at www.satoworldwide.com...

Table of Contents