SATO WS4 Series Programming Reference Manual
SATO WS4 Series Programming Reference Manual

SATO WS4 Series Programming Reference Manual

Hide thumbs Also See for WS4 Series:
Table of Contents

Advertisement

WS4 SERIES
Programming Reference
WS408DT / WS412DT
WS408TT / WS412TT
WS4-r01-27-01-17PR
© 2017 SATO Corporation. All rights
reserved.

Advertisement

Table of Contents
loading

Summary of Contents for SATO WS4 Series

  • Page 1 WS4 SERIES Programming Reference WS408DT / WS412DT WS408TT / WS412TT WS4-r01-27-01-17PR © 2017 SATO Corporation. All rights reserved.
  • Page 2: Table Of Contents

    Contents 1. Introduction ........................1 2. Default Settings ......................1 3. Font List .......................... 2 4. Command List ........................ 4 5. How to Read the Command Manual ................8 6. Control Command ......................10 ESC+A Start Data Transfer ..................... 10 ESC+Z End Data Transfer .......................
  • Page 3 ESC+XS XS Font ........................31 ESC+XM XM Font ........................33 ESC+XB XB Font ........................35 ESC+XL XL Font ........................37 ESC+OA OCR-A Font ......................39 ESC+OB OCR-B Font ......................41 ESC+$ Outline Font Design ..................... 43 ESC+$= Outline Font Print ...................... 44 ESC+RD CG Font ........................
  • Page 4 11. 2D Code Command ....................93 ESC+2D10 PDF417 ........................ 93 ESC+2D12 Micro PDF ......................96 ESC+2D20 MAXI Code ......................99 ESC+2D30 QR Code (Model 2) ..................... 101 ESC+2D31 QR Code (Model 1) ..................... 105 ESC+2D50 Datamatrix (ECC200) ..................131 ESC+2D51 GS1 Datamatrix ....................133 ESC+BQ QR Code ........................
  • Page 5 ESC+C Reprint ........................182 ESC+PG Register Printer Operation ..................183 ESC+PC Register Printer Operation ..................186 ESC+LD User Download ....................... 188 ESC+PO Offset ........................189 ESC+IG Sensor Type ......................190 ESC+PH Print Method ......................191 ESC+PM Print Mode ......................192 ESC+IK Media Feed Control ....................
  • Page 6 ESC+* Clear (Memory card) ....................219 Contents-6...
  • Page 7: Introduction

    (3) WS412DT: Head density 300(dpi) / Direct thermal printer (4) WS412TT: Head density 300(dpi) / Thermal transfer & Direct thermal printer Command language used in this document is based on the SBPL(SATO Barcode Printer Language). 2. Default Settings Default setting of the printers are listed below.
  • Page 8: Font List

    3. Font List Built-in fonts for the WS4 series are as follows. Built-in fonts Font Font type Command Pitch OCR-A ( 8dot/mm) Bitmap 15×22 dots Fixed OCR-B ( 8dot/mm) Bitmap 20×24 dots Fixed OCR-A (12dot/mm) Bitmap 22×33 dots Fixed OCR-B (12dot/mm) Bitmap 30×36 dots...
  • Page 9 Expanded font Built-in fonts can be expanded by a factor of 1 to 12. Example: A font in a size of 5 dots in width and 9 dots in height is expanded by a factor of 3. The resulting font has a width of 15 dots and a height of 27 dots.
  • Page 10: Command List

    4. Command List Category Command Restriction Control Start Code <A> Stop Code <Z> Print Quantity <Q> Job ID Number <ID> Job name <WK> Print position Horizontal Print Position <H> Vertical Print Position <V> Modification Character Pitch <P> Character Expansion <L> Proportional Pitch <PS>...
  • Page 11 Category Command Restriction Barcode Barcode (Ratio 1:3) <B> Barcode (Ratio 1:2) <D> Barcode (HRI) <D>~<d> Barcode (Ratio 2:5) <BD> Barcode Ratio <BT> Barcode Ratio by Specified Ratio <BW> GS1-128 (UCC/EAN128) <BI> CODE93 <BC> CODE128 <BG> UPC Add-on Barcode <BF> POSTNET <BP>...
  • Page 12 Category Command Restriction Graphic Graphic print <G> BMP File print <GM> PCX File print <GP> System Print Speed <CS> Print Darkness <#E> Media Size <A1> Base Reference Point <A3> Print End Position <EP> Multi cut <~> Cut Number Unit <CT> Eject and Cut <NC>...
  • Page 13 Category Command Restriction Memory card Card Slot <CC> Format Memory Card <FM> Store Form Overlay <&S> Recall Form Overlay <&R> Store Format <YS> Store Field </N> Recall Format <YR> Print Field </D> Store Graphic <GI> Recall Graphic <GR> Store BMP File <GT>...
  • Page 14: How To Read The Command Manual

    5. How to Read the Command Manual 7.2 Modification Available for WS4 series Font Expansion ESC+L Parameter Hex code <1B> <4C> aabb Initial setting aa=01, bb=01 When printer is powered-off Set parameter will not be retained Persistence of Validity in a job...
  • Page 15 [Control], [Print position], [Modification], [Font], [Barcode], [2D code], [Graphic], [System], [Memory card] and [Calendar]. 2) Command availability depending on printer model. ] indicates unavailable commands. Example) Commands only available for the WS4 series as shown below. WS4DT series Available for...
  • Page 16: Control Command

    6. Control Command Control Available for WS4 series ESC+A Start Data Transfer Start Data Transfer ESC+A Parameter Hex code <1B> <41> None Default setting None When printer is powered off Command setting will not be retained. Persistence of Validity in a job...
  • Page 17: Esc+Z End Data Transfer

    Control Available for WS4 series ESC+Z End Data Transfer End Data Transfer ESC+Z Parameter Hex code <1B> <5A> None Default setting None When printer is powered off Command settings will not be retained. Persistence of Validity in a job Becomes invalid after execution...
  • Page 18: Esc+Q Number Of Pages

    Control Available for WS4 series ESC+Q Number of Pages Number of Pages ESC+Q Parameter Hex code <1B> <51> aaaaaa Default setting aaaaaa=1 When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 19: Esc+Id Job Id Number

    Control Available for WS4 series ESC+ID Job ID Number Job ID Number ESC+ID Parameter Hex code <1B> <49> <44> Default setting aa=<20> When printer is powered off Set parameter will not be retained Persistence of Validity in a job Set parameter will be retained until next valid setting...
  • Page 20: Esc+Wk Job Name

    Becomes invalid after the job [Function] Defines job name for status return [Format] <WK>aaaaaaaaaaaaaaaa ● Parameter [Job name] ASCII-CODE 16 digits [Coding example] Job name: SATO <A> <WK>SATO <V>200<H>100<P>0<$>B,100,100,6 <$=>SATOPRINTER <Q>2 <Z> [Notes] 1. If using the status 4 as transfer protocol, the job name can be set in the telegram.
  • Page 21: Print Position Command

    7. Print Position Command Print Position Available for WS4 series ESC+H Horizontal Print Position Horizontal Print Position ESC+H Parameter Hex code <1B>16 <48> aaaa Default setting aaaa=1 When printer is powered off Command settings will not be retained Persistence of the...
  • Page 22: Esc+V Vertical Print Position

    Print Position Available for WS4 series ESC+V Vertical Print Position Vertical Print Position ESC+V Parameter Hex code <1B> <56> aaaa Default setting aaaa=1 When printer is powered off Command settings will not be retained Persistence of the Validity in a job...
  • Page 23: Edit Command

    8. Edit Command Modification Available for WS4 series ESC+P Character Pitch Character Pitch ESC+P Parameter Hex code <1B> <50> Default setting aa=02 When printer is powered off Set parameter will not be retained Persistence of the Validity in a job...
  • Page 24: Esc+L Character Expansion

    Modification Available for WS4 series ESC+L Character Expansion Character Expansion ESC+L Parameter Hex code <1B> <4C> aabb Default setting aa=01, bb=01 When printer is powered off Set parameter will not be retained. Persistence of the Validity in a job Set parameter will be retained until next valid setting.
  • Page 25: Esc+Ps Proportional Pitch

    Modification Available for WS4 series ESC+PS Proportional Pitch Proportional Pitch ESC+PS Parameter Hex code <1B> <50> <53> None Default setting None When printer is powered off Command settings will not be retained Persistence of the Validity in a job Will be retained until next valid setting...
  • Page 26: Esc+Pr Release Proportional Pitch

    Modification Available for WS4 series ESC+PR Release Proportional Pitch Release Proportional Pitch ESC+PR Parameter Hex code <1B> <50> <52> None Default setting None When printer is powered off Command settings will not be retained Persistence of the Validity in a job...
  • Page 27: Esc+% Rotation

    Modification Available for WS4 series ESC+% Rotation Rotation ESC+% Parameter Hex code <1B> <25> Default setting When printer is powered off Set parameter will not be retained Persistence of Validity in a job Set parameter will be retained until next valid setting...
  • Page 28: Esc+F Sequential Number

    Modification Available for WS4 series ESC+F Sequential Number Sequential Number ESC+F Parameter Hex code <1B> <46> aaaabcccc(,dd,ee,f) Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 29: Esc+Fw Rule / Grid Print

    Modification Available for WS4 series ESC+FW Rule / Grid Print Rule / Grid Print ESC+FW Parameter Hex code Rule aabcccc <1B> <46> <57> Grid aabbVccccHdddd Default setting None When printer is powered off Set parameter will not be retained Persistence of...
  • Page 30: Esc

    Modification Available for WS4 series ESC+( Inversed Color Print Inversed Color Print ESC+( Parameter Hex code <1B> <28> aaaa,bbbb Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 31: Esc+& Store Form Overlay

    Modification Available for WS4 series ESC+& Store Form Overlay Store Form Overlay ESC+& & Parameter Hex code <1B> <26> None Default setting None When printer is powered off Command settings will not be retained Persistence of Valid range Will be retained until next valid setting...
  • Page 32: Esc+/ Recall Form Overlay

    Modification Available for WS4 series ESC+/ Recall Form Overlay Recall Form Overlay ESC+/ Parameter Hex code <1B> <2F> None Default setting None When printer is powered off Command settings will not be retained Persistence of Validity in a job Will be retained until next valid setting...
  • Page 33: Esc+Wd Partial Copy

    Modification Available for WS4 series ESC+WD Partial Copy Partial Copy ESC+WD Parameter Hex code <1B> <57> <44> VaaaaHbbbbYccccXdddd Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 34: Esc+J Journal Print

    Modification Available for WS4 series ESC+J Journal Print Journal Print ESC+J Parameter Hex code <1B> <4A> a~a+CR<0D> Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 35: Font Command

    9. Font Command Font Available for WS4 series ESC+XU XU Font XU Font ESC+XU (Basic size 5x9 dots) Parameter Hex code <1B> <58> <55> Default setting None When printer is powered off Set parameter will not be retained Persistence of...
  • Page 36 XU Font Character Set Basic size is 5 x 9 dots (width x height) The print sample shown above is issued with a head density of 12 dots/mm and a expansion factor of 3 (vertical/horizontal).
  • Page 37: Esc+Xs Xs Font

    Font Available for WS4 series ESC+XS XS Font XS Font ESC+XS (Basic size 17x17 dots) Parameter Hex code <1B> <58> <53> Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 38 XS Font Character Set Basic size is 17 x 17 dots (width x height) The print sample shown above is issued with a head density of 12 dots/mm and a expansion factor of 2 (vertical/horizontal).
  • Page 39: Esc+Xm Xm Font

    Font Available for WS4 series ESC+XM XM Font XM Font ESC+XM (Basic size 24x24 dots) Parameter Hex code <1B> <58> <4D> Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 40 XM Font Character Set Basic size is 24 x 24 dots (width x height) The print sample shown above is issued with a head density of 12 dots/mm and a expansion factor of 2 (vertical/horizontal).
  • Page 41: Esc+Xb Xb Font

    Font Available for WS4 series ESC+XB XB Font XB Font ESC+XB (Basic size 48x48 dots) Parameter Hex code <1B> <58> <42> an~n Default setting When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 42 XB Font Character Set Basic size is 48 x 48 dots (width x height) The print sample shown above is issued with a head density of 12 dots/mm and a expansion factor of 1 (vertical/horizontal).
  • Page 43: Esc+Xl Xl Font

    Font Available for WS4 series ESC+XL XL Font XL Font ESC+XL (Basic size 48x48 dots) Parameter Hex code <1B> <58> <4C> an~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 44 XL Font Character Set Basic size is 48 x 48 dots (width x height) The print sample shown above is issued with a head density of 12 dots/mm and a expansion factor of 1 (vertical/horizontal).
  • Page 45: Esc+Oa Ocr-A Font

    Font Available for WS4 series ESC+OA OCR-A Font OCR-A Font ESC+OA Parameter Hex code <1B> <4F> <41> Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 46 OCR-A Font Character Set OCR-A font settings. The print sample shown above is issued with a head density of 12 dots/mm, a font size of 22x33, and a expansion factor of 1 (vertical/horizontal).
  • Page 47: Esc+Ob Ocr-B Font

    Font Available for WS4 series ESC+OB OCR-B Font OCR-B Font ESC+OB Parameter Hex code <1B> <4F> <42> Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 48 OCR-B Font Character Set OCR-B font settings. The print sample shown above is issued with a head density of 12 dots/mm, a font size of 30x36, and a expansion factor of 1 (vertical/horizontal).
  • Page 49: Esc+$ Outline Font Design

    Font Available for WS4 series ESC+$ Outline Font Design Outline Font Design ESC+$ Parameter Hex code <1B> <24> a,bbb,ccc,d Default setting None When printer is powered off Set parameter will not be retained. Persistence of Validity in a job Set parameter will be retained until next valid setting.
  • Page 50: Esc+$= Outline Font Print

    Font Available for WS4 series ESC+$= Outline Font Print Outline Font Print ESC+$= Parameter Hex code <1B> <24> <3D> Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 51 Outline Font Character Set Outline font settings The print sample shown above is issued with a head density of 12 dots/mm, normal font, and a font size of 50x50 (vertical/horizontal).
  • Page 52 Outline Font Character Set Characters consists of Helvetia Bold (Inter-character pitch fixed), 40×40 dots, Normal font (Black) The print sample shown above is issued with a head density of 8 dots/mm.
  • Page 53: Esc+Rd Cg Font

    Font Available for WS4 series ESC+RD CG Font CG Font ESC+RD Parameter Hex code <1B> <52> <44> abb,ccc,ddd,n~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 54 CG Times Font Character Set CG Times font settings The print sample shown above is issued with a head density of 12 dots/mm, and a font size of 48x48 (vertical/horizontal).
  • Page 55 CG Triumvirate Font Character Set CG Triumvirate font settings The print sample shown above is issued with a head density of 12 dots/mm, and a font size of 48x48 (vertical/horizontal).
  • Page 56: Esc+U U Font

    Font Available for WS4 series ESC+U U Font U Font ESC+U (Basic size 5x9 dots) Parameter Hex code <1B> <55> Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 57 U font character set Basic size is 5 x 9 dots (width x height) The print sample shown above is issued with a head density of 12 dots/mm and a expansion factor of 3 (vertical/horizontal).
  • Page 58: Esc+S S Font

    Font Available for WS4 series ESC+S S Font S Font ESC+S (Basic size 8x15 dots) Parameter Hex code <1B> <53> Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 59 S Font Character Set Basic size is 8 x 15 dots (width x height) The print sample shown above is issued with a head density of 12 dots/mm and a expansion factor of 2 (vertical/horizontal).
  • Page 60: Esc+M M Font

    Font Available for WS4 series ESC+M M Font M Font ESC+M (Basic size 13x20 dots) Parameter Hex code <1B> <4D> Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 61 M Font Character Set Basic size is 13 x 20 dots (width x height) The print sample shown above is issued with a head density of 12 dots/mm and a expansion factor of 2 (vertical/horizontal).
  • Page 62: Esc+Wb Wb Font

    Font Available for WS4 series ESC+WB WB Font WB Font ESC+WB (Basic size 18x30 dots) Parameter Hex code <1B> <57> <42> an~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 63 WB Font Character Set Basic size is 18 x 30 dots (width x height) The print sample shown above is issued with a head density of 12 dots/mm and a expansion factor of 1 (vertical/horizontal).
  • Page 64: Esc+Wl Wl Font

    Font Available for WS4 series ESC+WL WL Font WL Font ESC+WL (Basic size 28x52 dots) Parameter Hex code <1B> <57> <4C> an~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 65 WL Font Character Set Basic size is 28 x 52 dots (width x height) The print sample shown above is issued with a head density of 12 dots/mm and a expansion factor of 1 (vertical/horizontal).
  • Page 66: Barcode Command

    10. Barcode Command The barcode setting is done by inputting the relevant parameter for B, D, BD after ESC. This enables the selection of the barcode type, the barcode ratio and the print out of guard bars or Human-readable characters, and etc. Please carefully study the following pages for barcode setting specifications.
  • Page 67 (4) Human Readable Interpretation and Guard bars For UPC-A, JAN/EAN-8/13 column barcodes it is possible to specify the print of guard bars or human-readable interpretation. <B> <D> <BD> <BM> <BL> Parameter Barcode JAN/EAN-13 HRI OFF HRI OFF HRI ON Guard bar OFF Guard bar ON Guard bar ON JAN/EAN-8...
  • Page 68 (5) Check digits Check digits available for each type of barcode are listed below. [C/D] Parameter Barcode Input digits Digits printed, information included 13 digits (barcode input+C/D) Calculation of C/D is done in modulus 10 (automatic) JAN/EAN13 13 digits (Complying to barcode input. C/D is not executed/printed) 8 digits (barcode input+C/D) Calculation of C/D is done in modulus 10 (automatic)
  • Page 69: Esc+B Barcode (Ratio 1:3)

    Barcode Available for WS4 series ESC+B Barcode (Ratio 1:3) Barcode (Ratio 1:3) ESC+B Parameter Hex code <1B> <42> abbcccn~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 70 [Coding example 1] Barcode type: CODE39, Narrow bar width: 03, Barcode height: 120, Print data: *1234AB* <A> <V>100<H>100<B>103120*1234AB* <Q>2 <Z> [Coding example 2] Barcode type: JAN8, Narrow bar width: 02, Barcode height: 080, Print data: 4912345 <A> <V>100<H>100<B>4020804912345 <Q>2 <Z> [Notes] 1.
  • Page 71: Esc+D Barcode (Ratio 1:2)

    Barcode Available for WS4 series ESC+D Barcode (Ratio 1:2) Barcode (Ratio 1:2) ESC+D Parameter Hex code <1B> <44> abbcccn~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 72 [Coding example 2] Barcode type: ITF, Narrow bar width: 04, Barcode height: 240, Print data: 98002345678163 <A> <V>100<H>100<D>20424098002345678163 <Q>2 <Z> [Coding example 3] Barcode type: UPC-A, Narrow bar width: 02, Barcode height: 120, Print data: 20123948573 <A> <V>240<H>100<D>H0212020123948573 <Q>2 <Z> [Notes] 1.
  • Page 73: Esc+D~Esc+D Barcode (Hri Font)

    Barcode Available for WS4 series ESC+D~ESC+d Barcode (HRI Font) ESC+D ~ Barcode (HRI Font) ESC+d D~+ ESC+d Parameter Hex code <1B> <44> ~<1B> char. type abbcccn~n+<d>n~n Default setting None When printer is powered off Set parameter will not be retained...
  • Page 74: Esc+Bd Barcode (Ratio 2:5)

    Barcode Available for WS4 series ESC+BD Barcode (Ratio 2:5) Barcode (Ratio 2:5) ESC+BD Parameter Hex code <1B> <42> <44> abbcccn~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 75 [Coding example 2] Barcode type: ITF, Narrow bar width: 04, Barcode height: 240, Print data: 98002345678163 <A> <V>100<H>100<BD>20424098002345678163 <Q>2 <Z> [Coding example 3] Barcode type: UPC-A, Narrow bar width: 02, Barcode height: 120, Print data: 20123948573 <A> <V>240<H>100<BD>H0212020123948573 <Q>2 <Z> [Notes] 1.
  • Page 76: Esc+Bt Barcode Ratio

    Barcode Available for WS4 series ESC+BT Barcode Ratio Barcode Ratio ESC+BT Parameter Hex code <1B> <42> <54> abbccddee Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 77: Esc+Bw Barcode Print By Specified Ratio

    Barcode Available for WS4 series ESC+BW Barcode Print by Specified Ratio Barcode Print by Specified ESC+BW Ratio Parameter Hex code <1B> <42> <57> aabbbn~n Default setting None When printer is powered off Set parameter will not be retained Persistence of...
  • Page 78 CODABAR (NW-7) Code Table b4 b3 b2 b1 : ....
  • Page 79 CODE39 Code Table b4 b3 b2 b1...
  • Page 80: Esc+Bi Gs1-128 (Ucc/Ean128)

    Barcode Available for WS4 series ESC+BI GS1-128 (UCC/EAN128) GS1-128 (UCC/EAN128) ESC+BI <For Standard Carton ID> <For Standard Carton ID> Parameter Hex code <1B> <42> <49> aabbbcn~n Default setting None When printer is powered off Set parameter will not be retained...
  • Page 81 Matrix2of5 Industrial2of5 UPC-A,JAN/EAN-8 JAN/EAN-13,UPC-E GS1-128 (UCC/EAN128) MSI Code Table b4 b3 b2 b1...
  • Page 82: Esc+Bc Code93

    Barcode Available for WS4 series ESC+BC CODE93 CODE93 ESC+BC Parameter Hex code <1B> <42> <43> aabbbccn~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 83 CODE93 Code Table b4 b3 b2 b1 ` ” & ’ < \ > Selectable range is 00H thru 7FH for CODE93.
  • Page 84: Esc+Bg Code128 (128A, 128B, 128C)

    Barcode Available for WS4 series ESC+BG CODE128 (128A, 128B, 128C) CODE128 (128A, 128B, 128C) ESC+BG Parameter Hex code <1B> <42> <47> aabbbn~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 85 GS1-128 (128A, 128B, 128C) Code Table Value Code A Code B Code C ! ! ” ” # # & & ’ ’ ( ( ) ) , , . . : : ; ; < < > (See Note 4) >...
  • Page 86 Value Code A Code B Code C [ [ \ \ ] ] ^ ^ _ _ ‘ >SP >SP >! >! >” >” ># ># >$ >$ >% >% >& >& >’ >’ >( >( >) >) >* >* >+ >+ >,...
  • Page 87 Value Code A Code B Code C SHIFT >B SHIFT >B Code-C >C Code-C >C Code-B >D FNC4 >D Code-B >D FNC4 >E Code-A >E Code-A >E FNC1 >F FNC1 >F FNC1 >F START CODE A >G >H >I (Notes) 1.
  • Page 88: Esc+Bf Upc Add-On Barcode (Bookland)

    Barcode Available for WS4 series ESC+BF add-on barcode BOOKLAND (BOOKLAND) ESC+BF Parameter Hex code <1B> <42> <46> aabbbn~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 89 BOOKLAND Code Table b8 0 b7 0 b6 0 b5 0 b4 b3 b2 b1...
  • Page 90: Esc+Bp Postnet

    Barcode Available for WS4 series ESC+BP POSTNET POSTNET ESC+BP Parameter Hex code <1B> <42> <50> Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution the command...
  • Page 91 POSTNET Code Table b8 0 b7 0 b6 0 b5 0 b4 b3 b2 b1...
  • Page 92: Esc+Eu Composite Symbol

    Barcode Available for WS4 series ESC+EU Composite Symbol Composite Symbol ESC+EU Parameter Hex code <1B> <45> <55> aabb(ccc)n~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 93 [Format 2] <EU>aabbcccn~n ● Parameter [1D code type] 11:GS1-128 (UCC/EAN128) with CC-A/B 12:GS1-128 (UCC/EAN128) with CC-C [Narrow bar width] 01 to 12 (dots) [Barcode height] 001 to 500 (dots) * Specify barcode height supposing narrow bar width is 01. When narrow bar width is 03, and bar height is 100, the barcode height becomes 300 dots. [Print data] Barcode data Maximum number of digits for 1 and 2D data (Restriction on the max.
  • Page 94 [Coding example 7] UPC-E Composite(CC-A/CC-B) <A> <V>100<H>100 <EU>08041200000123|15021231 <Q>1 <Z> [Coding example 8] EAN-13 Composite(CC-A/CC-B) <A> <V>100<H>100 <EU>0904331234567890|991234-abcd <Q>1 <Z> [Coding example 9] EAN-8 Composite(CC-A/CC-B) <A> <V>100<H>100 <EU>10041234567|21A12345678 <Q>1 <Z> [Coding example 10] GS1-128 (UCC/EAN128) with CC-A/B <A> <V>100<H>100 <EU>11040260103212345678906|21A1B2C3D4E5F6G7H8 <Q>1 <Z>...
  • Page 95: Esc+Bl Upc-A Barcode (No Hri)

    Barcode Available for WS4 series ESC+BL UPC-A Barcode (No HRI) UPC-A Barcode ESC+BL (No HRI) Parameter Hex code <1B> <42> <4C> abbcccn~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 96: Esc+Bl~Esc+D Upc-A Barcode (Font Designation)

    Barcode Available for WS4 series ESC+BL~ESC+d UPC-A Barcode (Font UPC-A Barcode ESC+BL ~ Designation) (HRI Font Designation) ESC+d BL~d Parameter Hex code <1B> <42> <4C> Font type abbcccn~n~< d >n~n 16 ~ Default setting None When printer is powered off...
  • Page 97 [Notes] 1. This command supports UPC-A only. Selecting barcode type other than “H” will be a command error. 2. Recommended narrow bar width for UPC-A with HRI: 8 dot/mm resolution [02], [03] 12 dot/mm resolution [03], [04] 3. Calculate the 12 check digit of HRI data by using Modulus 10.
  • Page 98: Esc+Bm Upc-A Barcode (With Hri)

    Barcode Available for WS4 series ESC+BM UPC-A Barcode (with HRI) UPC-A Barcode ESC+BM (with HRI) Parameter Hex code <1B> <42> <4D> abbcccn~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 99: D Code Command

    11. 2D Code Command 11.1 2D Code Available for WS4 series ESC+2D10 PDF417 PDF417 ESC+2D10 2D10 Parameter Hex code <1B> <32> <44> <31> <30> ,aa,bb,c,dd,ee(,f) Default setting None When printer is powered off Set parameter will not be retained Persistence of...
  • Page 100 [Notes] 1. By command <V>(Vertical print position) and <H>(Horizontal print position) print start position can be specified. <V>100<H>200<2D10>***・・・・・・** Label feed direction 2. In case the both parameter d=e=00, aspect ration will be 1:2. 3. Parameters and data size being inconsistent may not be printed properly. 4.
  • Page 101 PDF417 Code Table b8 0 b7 0 b6 0 b5 0 b4 b3 b2 b1 SP 0 P ` " & < ¥ > o DEL Selectable range is 00H thru FFH for PDF417...
  • Page 102: Esc+2D12 Micro Pdf

    2D Code Available for WS4 series ESC+2D12 Micro PDF Micro PDF ESC+2D12 2D12 Parameter Hex code <1B> <32> <44> <31> <32> ,aa,bb,c,dd(,e) Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 103 * Symbol size and Max. data quantity (Byte) of Micro PDF (Only the following 34 types are available) Micro PDF Symbol size and data quantity Symbol size Max. Data quantity (Byte) Cols(c) Rows(d) Numeric (A to Z)only Numeric Binary * Combination of alphabet (Upper/Lower case), numeric and control code varies depending on the number of characters.
  • Page 104 Micro PDF Code Table b8 0 b7 0 b6 0 b5 0 b4 b3 b2 b1 SP 0 P ` " & < ¥ > o DEL Selectable range is 00H thru FFH for Micro PDF Code.
  • Page 105: Esc+2D20 Maxi Code

    2D Code Available for WS4 series ESC+2D20 MAXI Code MAXI Code ESC+2D20 2D20 Parameter Hex code <1B> <32> <44> <32> <30> ,a(,bbb,ccc,d~d) Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 106 MAXI code Code Table b8 0 b7 0 b6 0 b5 0 b4 b3 b2 b1 SP 0 @ P “ & ‘ G W g < ¥ > o DEL Selectable range is 01H thru FFH for MAXI Code. MAXI Code data format (Mode2 and 3) Title Example...
  • Page 107: Esc+2D30 Qr Code (Model 2)

    2D Code Available for WS4 series ESC+2D30 QR Code (Model 2) QR Code (Model 2) ESC+2D30 2D30 Parameter Hex code <1B> <32> <44> <33> <30> ,a,bb,c,d(,ee,ff,gg) Default setting None When printer is powered off Set parameter will not be retained...
  • Page 108 [Coding Example] Error correction level: 7%, Size of one side of cell: 05 Data setting mode: manual, Concatenation mode: Normal <A> <V>100<H>200<2D30>,L,05,0,0 <DS>1,012345 <Q>2 <Z> [Notes] 1. In case any other parameters than above are specified, or parameters and quantity of data are not consistent with each other, the symbol will not be printed correctly.
  • Page 109 QR data size table (Model 2) Error Error Numeric Alphanum Kanji Binary Numeric Alphanum Kanji Binary Version Version correction correction 21x21 61x61 25x25 65x65 1022 29x29 69x69 1101 33x33 73x73 1250 37x37 77x77 1408 1082 41x41 81x81 1548 1212 45x45 85x85 1725 1046...
  • Page 110 Error Error Numeric Alphanum Kanji Binary Numeric Alphanum Kanji Binary Version Version correction correction 2232 1352 4417 2677 1132 1840 1708 1035 3486 2113 1452 1224 2473 1499 1030 101x101 141x141 1897 1150 2409 1460 1003 4686 2840 1201 1952 1872 1134 3693...
  • Page 111: Esc+2D31 Qr Code (Model 1)

    2D Code Available for WS4 series ESC+2D31 QR Code (Model 1) QR Code (Model 1) ESC+2D31 2D31 Parameter Hex code <1B> <32> <44> <33> <31> ,a,bb,c,d(,ee,ff,gg) Default setting None When printer is powered off Set parameter will not be retained...
  • Page 112 [Coding Example] Error correction level: 7%, Size of one side of cell: 05 Data setting mode: manual, Concatenation mode: Normal <A> <V>100<H>200 <2D31>,L,05,0,0 <DS>1,012345 <Q>2 <Z> [Notes] 1. In case any other parameters than above are specified, or parameters and quantity of data are not consistent with each other, the symbol will not be printed correctly.
  • Page 113 QR data size table (Model 1) Error Error Numeric Alphanum Kanji Binary Numeric Alphanum. Kanji Binary Version Version correction correction 21x21 61x61 25x25 65x65 1030 29x29 69x69 1167 33x33 73x73 37x37 41x41 45x45 49x49 53x53 57x57...
  • Page 114 QR Code (Numeric mode) Table b4 b3 b2 b1...
  • Page 115 QR Code (Alphanumeric mode) Table b8 0 b7 0 b6 0 b5 0 b4 b3 b2 b1 SP 0...
  • Page 116 QR Code (Binary mode) Table b8 0 b7 0 b6 0 b5 0 b4 b3 b2 b1 SP 0 " & < ¥ > The address can be specified in the range [00H~7FH] and [A0H~DFH] for QR Code (Binary mode).
  • Page 117 QR Code (Kanji mode) Table ShiftJIS SP 、 。 , . ・ : ; ? ! ゛ ゜ ´ ¨ 813F ` ^  ̄ _ ヽ ヾ ゝ ゞ 〃 仝 々 〆 〇 ー ― ‐ / 814F \ ~ ∥ | … ‥ ‘...
  • Page 118 ShiftJIS ア 亜 唖 娃 阿 哀 愛 挨 姶 逢 葵 茜 穐 悪 握 渥 889E 旭 葦 芦 鯵 梓 圧 斡 扱 宛 姐 虻 飴 絢 綾 鮎 或 88AE 粟 袷 安 庵 按 暗 案 闇 鞍 杏 88BE イ...
  • Page 119 ShiftJIS キ 企 伎 危 喜 器 8ADE 基 奇 嬉 寄 岐 希 幾 忌 揮 机 旗 既 期 棋 棄 8AEE 機 帰 毅 気 汽 畿 祈 季 稀 紀 徽 規 記 貴 起 8B3F 8B4F 軌...
  • Page 120 ShiftJIS コ 告 国 穀 酷 鵠 黒 獄 漉 腰 甑 忽 惚 骨 狛 込 8D90 此 頃 今 困 坤 墾 婚 恨 懇 昏 昆 根 梱 混 痕 8D9E 紺 艮 魂 8DAE サ 些 佐 叉 唆 嵯 左 差 査 沙 瑳 砂 詐 鎖 8DAE 裟...
  • Page 121 ShiftJIS シ 唇 娠 寝 審 心 慎 振 新 晋 森 榛 浸 深 申 疹 真 904F 神 秦 紳 臣 芯 薪 親 診 身 辛 進 針 震 人 仁 刃 905F 塵 壬 尋 甚 尽 腎 訊 迅 陣 靭 906F ス...
  • Page 122 ShiftJIS チ 帖 帳 庁 弔 張 彫 徴 懲 挑 暢 朝 潮 牒 町 眺 929E 聴 脹 腸 蝶 調 諜 超 跳 銚 長 頂 鳥 勅 捗 直 朕 92AE 沈 珍 賃 鎮 陳 92BE ツ...
  • Page 123 ShiftJIS ハ 叛 帆 搬 斑 板 氾 汎 版 犯 班 畔 繁 般 藩 販 範 94BE 釆 煩 頒 飯 挽 晩 番 盤 磐 蕃 蛮 94CE ヒ 匪 卑 否 妃 庇 94CE 彼 悲 扉 批 披 斐 比 泌 疲 皮 碑 秘 緋 罷 肥 被 94DE 誹...
  • Page 124 ShiftJIS モ 尤 戻 籾 貰 問 悶 紋 門 匁 96DE ヤ 也 冶 夜 爺 耶 野 弥 96DE 矢 厄 役 約 薬 訳 躍 靖 柳 薮 鑓 96EE ユ 愉 愈 油 癒 96EE 973F 諭...
  • Page 125 ShiftJIS 一 弌 丐 丕 989E 丨 个 丱 989E 丶 丶 丼 989E 丿 丿 乂 乖 乘 989E 乙 亂 989E 亅 亅 豫 亊 989E 舒 98AE ニ 弍 于 亞 亟 98AE 亠 亠 亢 亰 亳 亶 98AE 人...
  • Page 126 ShiftJIS 匸 匸 區 99AE 十 卆 卅 丗 卉 卍 凖 99BE ト 卞 99BE 卩 卩 卮 夘 卻 卷 99BE 厂 厂 厖 厠 厦 99BE 厥 厮 厰 99CE 厶 厶 參 簒 99CE 又 雙 叟 曼 燮 99CE 口...
  • Page 127 ShiftJIS 子 孑 孕 孚 孛 孥 孩 孰 孳 孵 學 斈 孺 9B6F 宀 宀 9B6F 它 宦 宸 寃 寇 寉 寔 寐 寤 實 寢 寞 寥 寫 寰 寶 9B80 寳 9B90 寸 9B90 尅 將 專 對 小...
  • Page 128 ShiftJIS 心 悄 悛 悖 悗 悒 悧 悋 惡 悸 惠 惓 悴 忰 悽 惆 9C9E 悵 惘 慍 愕 愆 惶 惷 愀 惴 惺 愃 愡 惻 惱 愍 愎 9CAE 慇 愾 愨 愧 慊 愿 愼 愬 愴 愽 慂 慄 慳 慷 慘 慙 9CBE 9CCE 慚...
  • Page 129 ShiftJIS 木 梳 栫 桙 档 桷 桿 梟 梏 梭 梔 條 梛 梃 檮 梹 桴 9E80 梵 梠 梺 椏 梍 桾 椁 棊 椈 棘 椢 椦 棡 椌 棍 9E90 棔 棧 棕 椶 椒 椄 棗 棣 椥 棹 棠 棯 椨 椪 椚 9E9E 9EAE 椣...
  • Page 130 ShiftJIS 火 烙 焉 烽 焜 焙 煥 煕 熈 煦 煢 煌 煖 煬 熏 燻 熄 E080 熕 熨 熬 燗 熹 熾 燒 燉 燔 燎 燠 燬 燧 燵 燼 E090 燹 燿 爍 爐 爛 爨 E09E 爪...
  • Page 131 ShiftJIS 目 睾 睹 瞎 瞋 瞑 瞠 瞞 瞰 瞶 瞹 瞿 瞼 瞽 瞻 矇 矍 E1CE 矗 矚 E1DE 矛 矜 E1DE 矢 矣 矮 E1DE 石 矼 砌 砒 礦 砠 礪 硅 碎 硴 碆 硼 E1DE 碚...
  • Page 132 ShiftJIS 网 网 罕 罔 罘 罟 罠 罨 罩 罧 罸 E39E 羂 羆 羃 羈 羇 E3AE 羊 羌 羔 羞 羝 羚 羣 羯 羲 羹 羮 羶 E3AE 羸 譱 E3BE 羽 E3BE 翅 翆 翊 翕 翔 翡 翦 翩 翳 翹 飜 老...
  • Page 133 ShiftJIS 艸 蘋 藾 藺 蘆 蘢 蘚 蘰 蘿 E55F 虍 虍 乕 虔 號 虧 E55F 虫 虱 蚓 蚣 E55F 蚩 蚪 蚋 蚌 蚶 蚯 蛄 蛆 蚰 蛉 蠣 蚫 蛔 蛞 蛩 蛬 E56F E580 蛟...
  • Page 134 ShiftJIS 赤 赧 E6CE 赭 E6DE 走 赱 赳 趁 趙 E6DE 足 跂 趾 趺 跏 跚 跖 跌 跛 跋 跪 跫 E6DE E6EE 跟 跣 跼 踈 踉 跿 踝 踞 踐 踟 蹂 踵 踰 踴 蹊 蹇...
  • Page 135 ShiftJIS 阜 陝 陟 陦 陲 陬 隍 隘 隕 隗 險 隧 隱 隲 隰 隴 E89E 隶 隶 隸 E8AE 隹 隹 雎 雋 雉 雍 襍 雜 霍 雕 E8AE 雨 雹 霄 霆 霈 霓 E8AE 霎...
  • Page 136 ShiftJIS 魚 E9AE 魴 鮓 鮃 鮑 鮖 鮗 鮟 鮠 鮨 E9BE 鮴 鯀 鯊 鮹 鯆 鯏 鯑 鯒 鯣 鯢 鯤 鯔 鯡 鰺 鯲 鯱 E9CE 鯰 鰕 鰔 鰉 鰓 鰌 鰆 鰈 鰒 鰊 鰄 鰮 鰛 鰥 鰤 鰡 E9DE 鰰...
  • Page 137: Esc+2D50 Datamatrix (Ecc200)

    2D Code Available for WS4 series ESC+2D50 Datamatrix (ECC200) Datamatrix (ECC200) ESC+2D50 2D50 Parameter Hex code <1B> <32> <44> <35> <30> ,aa,bb,ccc,ddd Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 138 DataMatrix (ECC200) Code Table b8 0 b7 0 b6 0 b5 0 b4 b3 b2 b1 SP 0 “ & ‘ < ¥ > o DEL Address can be selected in the range 01H thru FFH for Data Matrix (ECC200). To specify 7EH, write [7EH, 7EH].
  • Page 139: Esc+2D51 Gs1 Datamatrix

    2D Code Available for WS4 series ESC+2D51 GS1 Datamatrix GS1 Datamatrix ESC+2D51 2D51 Parameter Hex code <1B> <32> <44> <35> <31> ,aa,bb,ccc,ddd Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 140: Esc+Bq Qr Code

    2D Code Available for WS4 series ESC+BQ QR Code QR Code ESC+BQ Parameter Hex code <1B> <42> <51> Manual setup abcc,(ddeeff,)g(hhhh)n Auto-setup abcc,(ddeeff,)n Default setting None When printer is powered off Set parameter will not be retained Persistence of the...
  • Page 141 QR code data size table (Model1) Error Error Numeric Alpha-Num Kanji Binary Numeric Alpha-Num Kanji Binary Version Version correction correction 21x21 61x61 25x25 65x65 1030 29x29 69x69 1167 33x33 73x73 37x37 41x41 45x45 49x49 53x53 57x57...
  • Page 142 QR Code (Numeric mode) Table b4 b3 b2 b1...
  • Page 143 QR Code (alphanumeric) Table b8 0 b7 0 b6 0 b5 0 b4 b3 b2 b1 SP 0...
  • Page 144 QR Code (Binary mode) Table b8 0 b7 0 b6 0 b5 0 b4 b3 b2 b1 SP 0 ” & ’ \ < > The address can be selectable in the range 00H thru 7FH, A0H thru DFH for QR Code (Binary mode).
  • Page 145 QR code (Kanji mode) Table Shift JIS SP 、 。 , . ・ : ; ? ! ゛ ゜ ´ ¨ 813F ` ^  ̄ _ ヽ ヾ ゝ ゞ 〃 仝 々 〆 〇 ー ― ‐ / 814F \...
  • Page 146 Shift JIS ア 亜 唖 娃 阿 哀 愛 挨 姶 逢 葵 茜 穐 悪 握 渥 889E 旭 葦 芦 鯵 梓 圧 斡 扱 宛 姐 虻 飴 絢 綾 鮎 或 88AE 粟 袷 安 庵 按 暗 案 闇 鞍 杏 88BE イ...
  • Page 147 ShiftJIS キ 企 伎 危 喜 器 8ADE 基 奇 嬉 寄 岐 希 幾 忌 揮 机 旗 既 期 棋 棄 8AEE 機 帰 毅 気 汽 畿 祈 季 稀 紀 徽 規 記 貴 起 8B3F 8B4F 軌...
  • Page 148 ShiftJIS コ 告 国 穀 酷 鵠 黒 獄 漉 腰 甑 忽 惚 骨 狛 込 8D90 此 頃 今 困 坤 墾 婚 恨 懇 昏 昆 根 梱 混 痕 8D9E 紺 艮 魂 8DAE サ 些 佐 叉 唆 嵯 左 差 査 沙 瑳 砂 詐 鎖 8DAE 裟...
  • Page 149 ShiftJIS シ 唇 娠 寝 審 心 慎 振 新 晋 森 榛 浸 深 申 疹 真 904F 神 秦 紳 臣 芯 薪 親 診 身 辛 進 針 震 人 仁 刃 905F 塵 壬 尋 甚 尽 腎 訊 迅 陣 靭 906F ス...
  • Page 150 ShiftJIS チ 帖 帳 庁 弔 張 彫 徴 懲 挑 暢 朝 潮 牒 町 眺 929E 聴 脹 腸 蝶 調 諜 超 跳 銚 長 頂 鳥 勅 捗 直 朕 92AE 沈 珍 賃 鎮 陳 92BE ツ...
  • Page 151 ShiftJIS ハ 叛 帆 搬 斑 板 氾 汎 版 犯 班 畔 繁 般 藩 販 範 94BE 釆 煩 頒 飯 挽 晩 番 盤 磐 蕃 蛮 94CE ヒ 匪 卑 否 妃 庇 94CE 彼 悲 扉 批 披 斐 比 泌 疲 皮 碑 秘 緋 罷 肥 被 94DE 誹...
  • Page 152 ShiftJIS モ 尤 戻 籾 貰 問 悶 紋 門 匁 96DE ヤ 也 冶 夜 爺 耶 野 弥 96DE 矢 厄 役 約 薬 訳 躍 靖 柳 薮 鑓 96EE ユ 愉 愈 油 癒 96EE 973F 諭...
  • Page 153 ShiftJIS 一 弌 丐 丕 989E 丨 个 丱 989E 丶 丶 丼 989E 丿 丿 乂 乖 乘 989E 乙 亂 989E 亅 亅 豫 亊 989E 舒 98AE ニ 弍 于 亞 亟 98AE 亠 亠 亢 亰 亳 亶 98AE 人...
  • Page 154 ShiftJIS 匸 匸 區 99AE 十 卆 卅 丗 卉 卍 凖 99BE ト 卞 99BE 卩 卩 卮 夘 卻 卷 99BE 厂 厂 厖 厠 厦 99BE 厥 厮 厰 99CE 厶 厶 參 簒 99CE 又 雙 叟 曼 燮 99CE 口...
  • Page 155 ShiftJIS 子 孑 孕 孚 孛 孥 孩 孰 孳 孵 學 斈 孺 9B6F 宀 宀 9B6F 它 宦 宸 寃 寇 寉 寔 寐 寤 實 寢 寞 寥 寫 寰 寶 9B80 寳 9B90 寸 9B90 尅 將 專 對 小...
  • Page 156 ShiftJIS 心 9C9E 悄 悛 悖 悗 悒 悧 悋 惡 悸 惠 惓 悴 忰 悽 惆 9CAE 悵 惘 慍 愕 愆 惶 惷 愀 惴 惺 愃 愡 惻 惱 愍 愎 9CBE 慇 愾 愨 愧 慊 愿 愼 愬 愴 愽 慂 慄 慳 慷 慘 慙 9CCE 慚...
  • Page 157 ShiftJIS 木 9E80 梳 栫 桙 档 桷 桿 梟 梏 梭 梔 條 梛 梃 檮 梹 桴 9E90 梵 梠 梺 椏 梍 桾 椁 棊 椈 棘 椢 椦 棡 椌 棍 9E9E 棔 棧 棕 椶 椒 椄 棗 棣 椥 棹 棠 棯 椨 椪 椚 9EAE 椣...
  • Page 158 ShiftJIS 火 E080 烙 焉 烽 焜 焙 煥 煕 熈 煦 煢 煌 煖 煬 熏 燻 熄 E090 熕 熨 熬 燗 熹 熾 燒 燉 燔 燎 燠 燬 燧 燵 燼 E09E 燹 燿 爍 爐 爛 爨 E09E 爪...
  • Page 159 Shift JIS 目 睾 睹 瞎 瞋 瞑 瞠 瞞 瞰 瞶 瞹 瞿 瞼 瞽 瞻 矇 矍 E1CE 矗 矚 E1DE 矛 矜 E1DE 矢 矣 矮 E1DE 石 矼 砌 砒 礦 砠 礪 硅 碎 硴 碆 硼 E1DE 碚...
  • Page 160 ShiftJIS 网 网 罕 罔 罘 罟 罠 罨 罩 罧 罸 E39E 羂 羆 羃 羈 羇 E3AE 羊 羌 羔 羞 羝 羚 羣 羯 羲 羹 羮 羶 E3AE 羸 譱 E3BE 羽 翅 翆 翊 翕 翔 翡 翦 翩 翳 翹 飜 E3BE 老...
  • Page 161 Shift JIS 艸 蘋 藾 藺 蘆 蘢 蘚 蘰 蘿 E55F 虍 虍 乕 虔 號 虧 E55F 虫 虱 蚓 蚣 E55F 蚩 蚪 蚋 蚌 蚶 蚯 蛄 蛆 蚰 蛉 蠣 蚫 蛔 蛞 蛩 蛬 E56F E580 蛟...
  • Page 162 ShiftJIS 赤 赧 E6CE 赭 E6DE 走 赱 赳 趁 趙 E6DE 足 跂 趾 趺 跏 跚 跖 跌 跛 跋 跪 跫 E6DE E6EE 跟 跣 跼 踈 踉 跿 踝 踞 踐 踟 蹂 踵 踰 踴 蹊 蹇...
  • Page 163 Shift JIS 阜 陝 陟 陦 陲 陬 隍 隘 隕 隗 險 隧 隱 隲 隰 隴 E89E 隶 隶 隸 E8AE 隹 隹 雎 雋 雉 雍 襍 雜 霍 雕 E8AE 雨 雹 霄 霆 霈 霓 E8AE 霎...
  • Page 164 Shift JIS 魚 魴 鮓 鮃 鮑 鮖 鮗 鮟 鮠 鮨 E9AE 鮴 鯀 鯊 鮹 鯆 鯏 鯑 鯒 鯣 鯢 鯤 鯔 鯡 鰺 鯲 鯱 E9BE 鯰 鰕 鰔 鰉 鰓 鰌 鰆 鰈 鰒 鰊 鰄 鰮 鰛 鰥 鰤 鰡 E9CE E9DE 鰰...
  • Page 165: Esc+Bv Maxi Code

    2D Code Available for WS4 series ESC+BV MAXI Code MAXI Code ESC+BV Parameter Hex code <1B> <42> <56> a,b,c,ddddddddd,eee,fff,n~n Default setting None When printer is powered off Set Parameter will not be retained Persistence of the Validity in a job...
  • Page 166 MAXI Code table b8 0 b7 0 b6 0 b5 0 B4 b3 b2 b1 SP 0 @ P ` p ” & ’ G W g L \ < > Selectable range is 01H thru FFH for MAXI code.
  • Page 167: Esc+Bk Pdf417

    2D Code Available for WS4 series ESC+BK PDF417 PDF417 ESC+BK Parameter Hex code <1B> <42> <4B> aabbcddeeffffg~g(,h) Default setting None When printer is powered off Set parameter will not be retained Persistence of the Validity in a job Becomes invalid after execution...
  • Page 168 Symbol size and Max. data digits of Micro PDF (Only the following 34 types are available) Symbol size Max. Data digits cols(d) rows(e) Alphabet (A to Z) only Numeric only * Alphabet (Upper/Lower case), Numeric, Control code may be mixed for valid combination.
  • Page 169 PDF417 Code Table (including Micro PDF) b8 0 b7 0 b6 0 b5 0 b4 b3 b2 b1 ` SP 0 ” & ’ \ < > Selectable range is 00H thru FFH for PDF417 (including Micro PDF).
  • Page 170: Esc+Bx Datamatrix

    2D Code Available for WS4 series ESC+BX DataMatrix DataMatrix ESC+BX Parameter Hex code <1B> <42> <58> aabbccddeeefffghh Default setting None When printer is powered off Set parameter will not be retained Persistence of the Validity in a job Becomes invalid after execution...
  • Page 171: Esc+Dc Datamatrix (Data)

    2D Code Available for WS4 series ESC+DC Datamatrix (Data) Datamatrix (Data) ESC+DC Parameter Hex code <1B> <44> <43> Default setting None When printer is powered off Set parameter will not be retained Persistence of the Validity in a job Becomes invalid after execution...
  • Page 172: Esc+Fx Datamatrix (Sequential Number)

    2D Code Available for WS4 series ESC+FX Datamatrix (Sequential Number) Sequential Number for ESC+FX Datamatrix Parameter Hex code <1B> <46> <58> aaabcccdddeee Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 173 Datamatrix Code Table b8 0 b7 0 b6 0 b5 0 B4 b3 b2 b1 @ P ` SP 0 ” & ’ \ < > DataMatrix can be specified in the range 20H thru FFH. To specify 7EH, write [7EH,7EH].
  • Page 174: Graphic Command

    12. Graphic Command Graphic Available for WS4 series ESC+G Graphic Print Graphic Print ESC+G Parameter Hex code <1B> <47> abbbcccn~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 175: Esc+Gm Bmp File Print

    Graphic Available for WS4 series ESC+GM BMP File Print BMP File Print ESC+GM Parameter Hex code <1B> <47> <4D> aaaaa,n~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 176: Esc+Gp Pcx File Print

    Graphic Available for WS4 series ESC+GP PCX File Print PCX File Print ESC+GP Parameter Hex code <1B> <47> <50> aaaaa,n~n Default setting None When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 177: System Command

    13. System Command System Available for WS4 series ESC+CS Print Speed Print Speed ESC+CS Parameter Hex code <1B> <43> <53> Default setting See table below When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 178: Esc+#E Print Darkness

    System Available for WS4 series ESC+#E Print Darkness Print Darkness ESC+#E Parameter Hex code <1B> <23> <45> a(b) Default setting See table below When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 179: Esc+A1 Media Size

    System Available for WS4 series ESC+A1 Media Size Media Size ESC+A1 Parameter Hex code <1B> <41> <31> aaaabbbb Default setting None When printer is powered off Set parameter will not be retained Persistence of the Validity in a job Retained until next valid setting...
  • Page 180: Esc+A3 Base Reference Point

    System Available for WS4 series ESC+A3 Base Reference Point Base Reference Point ESC+A3 Parameter Hex code <1B> <41> <33> VabbbbHcdddd Default setting None When printer is powered off Set parameter will not be retained Persistence of the Validity in a job...
  • Page 181: Esc+Ep Print End Position

    System Available for WS4 series ESC+EP Print End Position Print End Position ESC+EP Parameter Hex code <1B> <45> <50> None Default setting None When printer is powered off Set Parameter will not be retained Persistence of the Validity in a job...
  • Page 182: Esc+~(Null) Multi Cut

    System Available for WS4 series ESC+~(NULL) Multi Cut Multi Cut ESC+~(NULL) ~ (NULL) Parameter Hex code <1B>16 <7E> (<00> aaaa Default setting aaaa=1 When printer is powered off Set Parameter will not be retained Persistence of Validity in a job...
  • Page 183: Esc+Ct Cut Number Unit

    System Available for WS4 series ESC+CT Cut Number Unit Cut Number Unit ESC+CT Parameter Hex code <1B> <43> <54> aaaa Default setting aaaa=1 When printer is powered off Set Parameter will not be retained. Persistence of Validity in a job Retained until next valid setting.
  • Page 184: Esc+Nc (Ej) Eject And Cut

    System Available for WS4 series ESC+NC (EJ) Eject and Cut Eject and Cut ESC+NC NC (EJ) Parameter Hex code <1B> <4E> <43> None Default setting None When printer is powered off Set Parameter will not be retained Persistence of Validity in a job...
  • Page 185: Esc+~A Cut Number Unit

    System Available for WS4 series ESC+~A Cut Number Unit Cut Number Unit ESC+~A Parameter Hex code <1B>16 <7E>16<41>16 aaaa Default setting aaaa=1 When printer is powered off Set parameter will not be retained Persistence of Validity in a job Retained until next valid setting...
  • Page 186: Esc+~B Eject And Cut

    System Available for WS4 series ESC+~B Eject and Cut Eject and Cut ESC+~B Parameter Hex code <1B>16 <7E> <42> None Default setting None When printer is powered off Set command will not be retained. Persistence of Validity in a job...
  • Page 187: Esc+* Clear Memory

    System Available for WS4 series ESC+* Clear Memory Clear Memory ESC+* Parameter Hex code <1B> <2A> Default setting None When printer is powered off Set Parameter will not be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 188: Esc+C Reprint

    System Available for WS4 series ESC+C Reprint Reprint ESC+C Parameter Hex code <1B> <43> None Default setting None When printer is powered off Set Parameter will not be retained Persistence of Validity in a job Becomes invalid after execution the command...
  • Page 189: Esc+Pg Register Printer Operation

    System Available for WS4 series ESC+PG Register Printer Operation Register Printer Operation ESC+PG Parameter Hex code <1B> <50> <47> abcdefghhijklmnooppqqrrstuvwxyz Default setting See table in next page When printer is powered off Set parameter will be retained Persistence of Validity in a job...
  • Page 190 Item Valid selection Print method (WS408TT/WS412TT only) Direct thermal Default value: 01H Thermal transfer Reserved Fixed Print speed 00H 2ips 203dpi Default value: 02H 01H 3ips 305dpi Default value: 02H 02H 4ips Print mode Continuous (Default value: 01H) Tear off Cutter Dispenser Nonesepa (Linerless)
  • Page 191 (continued from previous page) Item Valid selection Buzzer Enabled (Default value : 00H) Disabled Reserved Fixed...
  • Page 192: Esc+Pc Register Printer Operation

    System Available for WS4 series ESC+PC Register Printer Operation Register Printer Operation ESC+PC Parameter Hex code 1) [a, b, c, d, …y, z, a1], <1B> <50> <43> 2) [aa, b] Default setting See the next page When printer is powered off...
  • Page 193 Item No. Item Valid selection Print method (WS408TT/WS412TT only) Thermal Transfer Direct Thermal Reserved Fixed Print speed 2ips 203dpi Default value: 2 3ips 305dpi Default value: 2 4ips Print mode Continuous (Default value: 1) Tear Off Cutter Dispenser Nonesepa (Linerless) Cutter mode Motion 1 (Head position) Motion 2 (Cut position)
  • Page 194: Esc+Ld User Download

    System Available for WS4 series ESC+LD User Download User Download ESC+LD Parameter Hex code <1B> <4C> <44> , a, b, c, d, e, f, g, h, i, j Default setting See table below When printer is powered off Set Parameter will be retained...
  • Page 195: Esc+Po Offset

    System Available for WS4 series ESC+PO Offset Offset ESC+PO Parameter Hex code <1B> <50> <4F> abcc Default setting a=0,b=+,cc=00 When printer is powered off Set parameter will not be retained Persistence of the Validity in a job Retained until next valid setting...
  • Page 196: Esc+Ig Sensor Type

    System Available for WS4 series ESC+IG Sensor Type Sensor Type ESC+IG Parameter Hex code <1B> <49> <47> Default setting When printer is powered off Set parameter will not be retained Persistence of the Validity in a job Retained until next valid setting...
  • Page 197: Esc+Ph Print Method

    System Available for WS4 series ESC+PH Print Method Print Method ESC+PH Parameter Hex code <1B> <50> <48> Default setting When printer is powered off Set parameter will not be retained Persistence of the Validity in a job Retained until next valid setting...
  • Page 198: Esc+Pm Print Mode

    System Available for WS4 series ESC+PM Print Mode Print Mode ESC+PM Parameter Hex code <1B> <50> <4D> Default setting When printer is powered off Set parameter will be retained Persistence of the Validity in a job Retained until next valid setting...
  • Page 199: Esc+Ik Media Feed Control

    System Available for WS4 series ESC+IK Media Feed Control Media Feed Control ESC+IK parameter HEX code <1B> <49> <4B> a(,bbbb) Default setting None When printer is powered off Set parameter will not be retained. Persistence of the Validity in a job Set parameter becomes invalid.
  • Page 200 [Coding example 3] Feeds the label forward to tear off position <A> <IK>2 Tear off Print head position <Z> position ① ② ③ Before receiving command Command received ① ② ③ After receiving command Feeds the label to tear off position If receiving the print data without returning the label to the original position by <IK>3, the print job will start from the current stop position.
  • Page 201 [Notes] 1. Place this command between start code <A> and stop code <Z>. If specifying this command in the item with print data, this command will be ignored. 2. When setting the label feed direction in the reverse direction, make sure the label feed length does not become too long. The print data may appear overlapped with each other or the printer may wrongly detect a paper end error because of the label coming off the platen.
  • Page 202: Esc+I2 Serial Interface

    System Available for WS4 series ESC+I2 Serial Interface Serial Interface ESC+I2 Parameter Hex code <1B> <49> <32> abcde Default setting a=1,b=0,c=0,d=0,e=1 When printer is powered off Set parameter will be retained Persistence of Validity in a job Becomes invalid after execution...
  • Page 203: Esc+I3 Lan Interface

    System Available for WS4 series ESC+I3 LAN interface LAN Interface ESC+I3 Parameter Hex code <1B> <49> <33> Default setting When printer is powered off Set parameter will be retained. Persistence of Validity in a job Becomes invalid after execution the command...
  • Page 204: Esc+W1 Ip Address

    System Available for WS4 series ESC+W1 IP Address IP Address ESC+W1 Parameter Hex code <1B> <57> <31> Default setting a~a=000000000000 When printer is powered off Set Parameter will be retained Persistence of the Validity in a job Becomes invalid after execution...
  • Page 205: Esc+W2 Subnet Mask

    System Available for WS4 series ESC+W2 Subnet Mask Subnet Mask ESC+W2 Parameter Hex code <1B> <57> <32> Default setting a~a=000000000000 When printer is powered off Set Parameter will be retained Persistence of the Validity in a job Becomes invalid after execution...
  • Page 206: Esc+W3 Default Gateway

    System Available for WS4 series ESC+W3 Default Gateway Default Gateway ESC+W3 Parameter Hex code <1B> <57> <33> Default setting a~a=000000000000 When printer is powered off Set Parameter will be retained Persistence of the Validity in a job Becomes invalid after execution...
  • Page 207: Esc+Wi Ip Address Setup

    System Available for WS4 series ESC+WI IP Address Setup IP Address Setup ESC+WI Parameter Hex code <1B> <57> <49> Default setting When printer is powered off Set Parameter will be retained Persistence of the Validity in a job Becomes invalid after execution...
  • Page 208: Esc+Tw Option Waiting Time

    System Applicable for WS4 series ESC+TW Option Waiting Time Option Waiting Time ESC+TW Parameter Hex code <1B> <54> <57> Default setting aaa = 010(1000ms) When printer is powered off Set parameter will be retained Persistence of the Validity in a job...
  • Page 209: Esc+Tk Forced Tear Off

    System Applicable for WS4 series ESC+TK Forced Tear off Forced Tear off ESC+TK Parameter Hex code <1B> <54> <4B> None Default setting None When printer is powered off Set parameter will be retained Persistence of the Validity in a job...
  • Page 210: Memory Card Commands

    14. Memory Card Commands Memory Card Available for WS4 series ESC+CC Card Slot Card Slot ESC+CC Parameter HEX code <1B> <43> <43> Default setting When printer is powered off Set parameter will not be retained Persistence of Validity in a job...
  • Page 211: Esc+Fm Format Memory Card

    2. The <FM> command is used for initializing a memory card and this command cannot be used in combination with other commands. 3. Care should be exercised when using this command as it destroys any data previously written to the card. SATO is not liable for any...
  • Page 212: Esc+&S Store Form Overlay

    Memory Card Available for WS4 series ESC+&S Store Form Overlay Store Form Overlay ESC+&S &S Parameter HEX code <1B> <26> <53> ,aa(,bbbb,ccccc) Default setting None When printer is powered off Set parameter will be retained Persistence of the Validity in a job...
  • Page 213 In general, this command is used for registration number only. By specifying the horizontal and vertical window sizes, the label image can be moved by using the <V> and <H> position commands when recalling the label image. If the repositioned label image exceeds the printable area, the image will be truncated.
  • Page 214: Esc+&R Recall Form Overlay

    Memory Card Available for WS4 series ESC+&R Recall Form Overlay Recall Form Overlay ESC+&R &R Parameter HEX code <1B> <26> <52> Default setting None When printer is powered off Set parameter will not be retained Persistence of the Validity in a job...
  • Page 215: Esc+Ys Store Format

    Memory Card Available for WS4 series ESC+YS Store Format Store Format ESC+YS Parameter HEX code <1B> <59> <53> ,aaa Default setting None When printer is powered off Set parameter will be retained Persistence of the Validity in a job Retained until next valid setting...
  • Page 216 [Tip] 1. Details on the registration of format 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 recalling the format. Such function is called “Registration of Format”. One item consists of different command groups necessary for printing, and such groups are called “Field”.
  • Page 217 The followings are the invalid commands for storing formats. Category Command Command name <Q> Print Quantity Control <ID> Job Store ID <WK> Job Name <&> Store Form Overlay Modification <F> Sequential Numbering <0> Replace Data (Partial Edit) Barcode <BT> Variable Ratio Barcodes <BK>, <2D10>...
  • Page 218: Esc+/N Store Field

    Memory Card Available for WS4 series ESC+/N Store Field Store Field ESC+/N Parameter HEX code <1B> <2F> <4E> ,aa,bb Default setting None When printer is powered off Set parameter will be retained Persistence of the Validity in a job Retained until next valid setting...
  • Page 219: Esc+Yr Recall Format

    Memory Card Available for WS4 series ESC+YR Recall Format Recall Format ESC+YR Parameter HEX code <1B> <59> <52> ,aaa Default setting None When printer is powered off Set parameter will not be retained Persistence of the Validity in a job...
  • Page 220: Esc+/D Print Field

    Memory Card Available for WS4 series ESC+/D Print Field Print Field ESC+/D Parameter HEX code <1B> <2F> <44> ,aa,n~n Default setting None When printer is powered off Set parameter will not be retained Persistence of the Validity in a job...
  • Page 221: Esc+Gi Store Graphic

    Memory Card Available for WS4 series ESC+GI Store Graphic Store Graphic ESC+GI Parameter HEX code <1B> <47> <49> abbbcccdddn~n Default setting None When printer is powered off Stored data will be retained Persistence of the Validity in a job Becomes invalid after execution...
  • Page 222: Esc+Gr Recall Graphic

    Memory Card Available for WS4 series ESC+GR Recall Graphic Recall Graphic ESC+GR Parameter HEX code <1B> <47> <52> Default setting None When printer is powered off Set parameter will not be retained Persistence of the Validity in a job Becomes invalid after execution...
  • Page 223: Esc+Gt Store Bmp File

    Memory Card Available for WS4 series ESC+GT Store BMP file Store BMP file ESC+GT Parameter HEX code <1B> <47> <54> aaa,bbbbb,n~n Default setting None When printer is powered off Set parameter will not be retained Persistence of the Validity in a job...
  • Page 224: Esc+Gc Recall Bmp File

    Memory Card Available for WS4 series ESC+GC Recall BMP file Recall BMP file ESC+GC Parameter HEX code <1B> <47> <43> Default setting None When printer is powered off Set parameter will not be retained Persistence of the Validity in a job...
  • Page 225 (Clears all data of external characters stored with command <T1>, <T2>. [Format] <*>a,bbb ● Parameter [Item to be cleared] = G : SATO Graphic (Clears graphic registered with Store Graphic <GI>) M : BMP file (Clears BMP file registered with Store BMP File <GT>) F : Format (Clears format registered with Store Format <YS>)
  • Page 226 [Coding example 4] Clearing format 001 <A> <CC>1 <*>F,001 <Z> [Coding example 5] Clearing all form overlay <A> <CC>1 <*>R <Z> [Note] 1. Place this command between the Start Code <A> and the Stop Code <Z> commands. 2. Make sure to specify the slot number with the command <CC> prior to this command. [Tip] 1.

This manual is also suitable for:

Ws408dtWs412dtWs408ttWs412tt

Table of Contents