SATO SG112 ex Owner's manual

For printer model:
Programming Reference

Copyrights
Any unauthorized reproduction of the contents of this document, in part or whole, is strictly prohibited.
Limitation of Liability
SATO Corporation and its subsidiaries in Japan, the U.S and other countries make no representations or
warranties of any kind regarding this material, including, but not limited to, implied warranties of
merchantability and fitness for a particular purpose. SATO Corporation shall not be held responsible for errors
contained herein or any omissions from this material or for any damages, whether direct, indirect, incidental or
consequential, in connection with the furnishing, distribution, performance or use of this material.
Specifications and contents in this document are subject to change without notice.
Be sure to perform a virus check for the USB memory or SD card before connecting it to the product. SATO
Corporation shall not be held responsible for any product malfunctions caused by a virus spread via USB
memory or SD card.
Trademarks
SATO is a registered trademark of SATO Holdings Corporation and its subsidiaries in Japan, the U.S.
and other countries.
QR Code is a registered trademark of DENSO WAVE INCORPORATED.
Secure Digital (SD) Card is a registered trademark of the SD Card Association.
Windows is a registered trademark of Microsoft Corporation in the United States and/or other countries.
All other trademarks are the property of their respective owners.
Version: SG112ex-r01-05-03-19PR
©2019 SATO Corporation. All rights reserved.

2
Table of Contents
Part 1 SBPL Commands........................................ 10
Command list.................................................................................................................... 10
Initial Value of Operation Settings..................................................................................16
Font list.............................................................................................................................. 17
Example of Command reference.................................................................................... 19
Control commands........................................................................................................... 21
[ESC+A] Start Code........................................................................................................................... 21
[ESC+Z] Stop Code............................................................................................................................22
[ESC+Q] Print Quantity...................................................................................................................... 23
[ESC+ID] Job ID Number...................................................................................................................24
[ESC+WK] Job Name.........................................................................................................................25
Print Position Commands................................................................................................26
[ESC+H] Horizontal Print Position......................................................................................................26
[ESC+V] Vertical Print Position.......................................................................................................... 27
Modification Commands.................................................................................................. 28
[ESC+P] Character Pitch....................................................................................................................28
[ESC+L] Enlargement.........................................................................................................................30
[ESC+PS] Proportional Pitch..............................................................................................................31
[ESC+PR] Release Proportional Pitch............................................................................................... 32
[ESC+%] Rotation...............................................................................................................................33
[ESC+F] Sequential Number..............................................................................................................35
[ESC+FW] Ruled / Grid Line Print..................................................................................................... 37
[ESC+FC] Print Circle........................................................................................................................ 39
[ESC+FT] Print Triangle..................................................................................................................... 41
[ESC+(] Reverse Color Print..............................................................................................................43
[ESC+KC] Kanji Code........................................................................................................................ 45
[ESC+&] Store Form Overlay.............................................................................................................47
[ESC+/] Recall Form Overlay.............................................................................................................49
[ESC+0] Partial Edit........................................................................................................................... 50
[ESC+WD] Partial Copy..................................................................................................................... 51
[ESC+J] Journal Print.........................................................................................................................53
[ESC+RF] Recall Font & Logo...........................................................................................................54
[ESC+RM] Mirror Image.....................................................................................................................55
[ESC+PD] Small Label Size...............................................................................................................57
[ESC+_F] Small Label Start............................................................................................................... 60

3
[ESC+_N] Format............................................................................................................................... 62
[ESC+_D] Variable Data.....................................................................................................................64
[ESC+_Q] Label Print Number...........................................................................................................66
[ESC+RI] Label Size.......................................................................................................................... 68
[ESC+RW] Sheet Copy Quantity....................................................................................................... 70
[ESC+RC] Sheet Unit Cut Quantity................................................................................................... 71
[ESC+RT] Print Order.........................................................................................................................72
[ESC+RE] Telegraphic Message End................................................................................................ 73
[ESC+RS] Send Sheet....................................................................................................................... 74
[ESC+KS] Kanji Set............................................................................................................................75
Font commands................................................................................................................ 76
[ESC+X20] X20 Font (Basic size 5 x 9 dots).................................................................................... 76
[ESC+X21] X21 Font (Basic size 17 x 17 dots)................................................................................ 78
[ESC+X22] X22 Font (Basic size 24 x 24 dots)................................................................................ 80
[ESC+X23] X23 Font (Basic size 48 x 48 dots)................................................................................ 82
[ESC+X24] X24 Font (Basic size 48 x 48 dots)................................................................................ 84
[ESC+XU] XU Font (Basic size 5 x 9 dots)....................................................................................... 86
[ESC+XS] XS Font (Basic size 17 x 17 dots)................................................................................... 88
[ESC+XM] XM Font (Basic size 24 x 24 dots).................................................................................. 90
[ESC+XB] XB Font (Basic size 48 x 48 dots)................................................................................... 92
[ESC+XL] XL Font (Basic size 48 x 48 dots).................................................................................... 94
[ESC+OA] OCR-A Font......................................................................................................................96
[ESC+OB] OCR-B Font......................................................................................................................98
[ESC+$] Outline Font Design...........................................................................................................100
[ESC+$=] Outline Font Print............................................................................................................ 102
[ESC+RD] CG Font.......................................................................................................................... 103
[ESC+K1] 16 x 16 dots Kanji in Horizontal Line..............................................................................107
[ESC+K2] 24 x 24 dots Kanji in Horizontal Line..............................................................................109
[ESC+K3] 22 x 22 dots Kanji in Horizontal Line..............................................................................111
[ESC+K4] 32 x 32 dots Kanji in Horizontal Line..............................................................................113
[ESC+K5] 40 x 40 dots Kanji in Horizontal Line..............................................................................115
[ESC+K8] 16 x 16 dots Kanji in Horizontal Line with 1-byte Character........................................... 117
[ESC+K9] 24 x 24 dots Kanji in Horizontal Line with 1-byte Character........................................... 119
[ESC+KA] 22 x 22 dots Kanji in Horizontal Line with 1-byte Character...........................................121
[ESC+KB] 32 x 32 dots Kanji in Horizontal Line with 1-byte Character...........................................123
[ESC+KD] 40 x 40 dots Kanji in Horizontal Line with 1-byte Character.......................................... 125
[ESC+k1] 16 x 16 dots Kanji in Vertical Line...................................................................................127
[ESC+k2] 24 x 24 dots Kanji in Vertical Line...................................................................................129
[ESC+k3] 22 x 22 dots Kanji in Vertical Line...................................................................................131
[ESC+k4] 32 x 32 dots Kanji in Vertical Line...................................................................................133
[ESC+k5] 40 x 40 dots Kanji in Vertical Line...................................................................................135
[ESC+k8] 16 x 16 dots Kanji in Vertical Line with 1-byte Character................................................137

4
[ESC+k9] 24 x 24 dots Kanji in Vertical Line with 1-byte Character................................................139
[ESC+kA] 22 x 22 dots Kanji in Vertical Line with 1-byte Character............................................... 141
[ESC+kB] 32 x 32 dots Kanji in Vertical Line with 1-byte Character............................................... 143
[ESC+kD] 40 x 40 dots Kanji in Vertical Line with 1-byte Character............................................... 145
[ESC+T1] 16 x 16 dots External Font Registration......................................................................... 147
[ESC+T2] 24 x 24 dots External Font Registration......................................................................... 149
[ESC+K1(K2)] Horizontal Writing External Font Call....................................................................... 151
[ESC+k1(k2)] Horizontal Writing External Font Call........................................................................ 153
[ESC+U] U Font (Basic size 5 x 9 dots)..........................................................................................155
[ESC+S] S Font (Basic size 8 x 15 dots)........................................................................................ 157
[ESC+M] M Font (Basic size 13 x 20 dots)..................................................................................... 159
[ESC+WB] WB Font (Basic size 18 x 30 dots)................................................................................161
[ESC+WL] WL Font (Basic size 28 x 52 dots)................................................................................ 163
Barcode Commands....................................................................................................... 165
[ESC+B] Barcode (Ratio 1:3)...........................................................................................................170
[ESC+D] Barcode (Ratio 1:2)...........................................................................................................173
[ESC+D] ~ [ESC+d] Barcode (with HRI)..........................................................................................176
[ESC+BD] Barcode (Ratio 2:5)........................................................................................................ 178
[ESC+BT] Barcode Ratio Registration............................................................................................. 181
[ESC+BW] Barcode Print by Specified Ratio...................................................................................182
[ESC+BI] GS1-128 (UCC/EAN128) (Standard Carton ID Only)...................................................... 186
[ESC+BC] CODE93 Barcode........................................................................................................... 188
[ESC+BG] CODE128 (128A, 128B, 128C) Barcode........................................................................190
[ESC+BP] POSTNET....................................................................................................................... 193
[ESC+BF] UPC Add-on (Bookland)................................................................................................. 195
[ESC+BL] UPC-A Barcode (Without HRl)........................................................................................197
[ESC+BL] ~ [ESC+d] UPC-A Barcode (Specifying HRl)..................................................................199
[ESC+BM] UPC-A Barcode (With HRl)............................................................................................201
[ESC+EU] Composite Symbol..........................................................................................................203
[ESC+BS] USPS Barcode................................................................................................................210
2D Codes......................................................................................................................... 212
[ESC+2D10] PDF417....................................................................................................................... 212
[ESC+2D12] Micro PDF417............................................................................................................. 215
[ESC+2D20] MaxiCode.................................................................................................................... 218
[ESC+2D30] QR Code (Model 2).................................................................................................... 221
[ESC+2D31] QR Code (Model 1).................................................................................................... 226
[ESC+2D32] Micro QR Code........................................................................................................... 230
[ESC+2D50] DataMatrix (ECC200).................................................................................................. 255
[ESC+2D51] GS1 DataMatrix...........................................................................................................258
[ESC+BQ] QR Code (Compatible command)..................................................................................262
[ESC+BV] MaxiCode (Compatible command)................................................................................. 287
[ESC+BK] PDF417 (Compatible command).................................................................................... 289
Other manuals for SG112 ex
1
Table of contents
Other SATO Printer manuals