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 ........................
(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.
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.
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 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>...
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...
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...
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...
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...
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...
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.
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...
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...
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...
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.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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).
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).
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).
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).
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).
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).
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).
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.
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.
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).
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).
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).
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).
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).
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).
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)
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...
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...
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...
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...
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...
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...
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...
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.
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) >...
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...
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...
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>...
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...
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.
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...
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...
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.
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...
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...
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 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).
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].
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...
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...
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.
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.
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...
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...
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].
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...
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...
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...
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...
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...
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...
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...
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...
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...
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.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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.
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...
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>...
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...
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...
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...
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...
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...
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...
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.