SATO Barcode Programming Language PDF
SATO Barcode Programming Language PDF
SATO BARCODE
PROGRAMMING LANGUAGE
February 2001
SATO
i
ESC+U U Font Specification
(Basic Size 5 x 9 dots) ................................... 38
ESC+S S Font Specification
(Basic Size 8 x 15 dots) ................................. 39
ESC+M M Font Specification
(Basic Size 13 x 20 dots) ............................... 40
ESC+WB WB Font Specification
(Basic Size 18 x 30 dots) ............................... 41
ESC+WL WL Font Specification
(Basic Size 28 x 52 dots) ............................... 42
ESC+OA OCR-A Font ................................................... 43
ESC+OB OCR-B Font ................................................... 44
ESC+$ Outline Font Shape Specification .................. 45
ESC+$= Outline Font Print Specification ..................... 46
ESC+RD CG Font Specification .................................... 47
ESC+B Barcode Specification (Ratio 1:3) .................. 49
ESC+BC CODE93 Barcode Specification .................... 51
ESC+BG CODE128 Barcode Specification .................. 52
ESC+BI UCC/EAN-128 Specification .......................... 53
ESC+BP Postnet Specification ..................................... 55
ESC+BF Bookland Specification .................................. 56
ESC+D Barcode Specification (Ratio 1:2) .................. 57
ESC+D&
ESC+d Barcode Specification
(Selection of a description character) ............ 59
ESC+BD Barcode Specification (Ratio 2:5) .................. 60
ESC+BT Barcode Ratio Registration Specification ...... 62
ESC+BW Barcode Ratio Registration Print Specification 63
ESC+FW Lines and Boxes Print Specification .............. 65
ESC+( Reverse Print Specification ........................... 67
ESC+J Journal Print Specification ............................. 69
ESC+G Graphic Print Specification ............................ 70
ESC+GP PCX File Print Specification ........................... 72
ESC+GM BMP File Print Specification .......................... 73
ESC+0 Part Editing Function Specification ................ 74
ESC+WD Copy within a label (Part Copy) Specification 76
ESC+F Sequential Number Print Specification .......... 78
ii
ESC+PS Proportional Pitch Specification ..................... 79
ESC+PR Proportional Pitch Cancel Specification ........ 80
ESC+& Form Overlay Registration Specification ....... 81
ESC+/ Form Overlay Recall Specification ................ 82
ESC+ID Job ID Number Specification ......................... 83
ESC+WK Job Name Specification ................................. 84
ESC+NUL (~)Multi Cut Specification ................................ 85
ESC+~A Cut Number Unit Specification ...................... 86
ESC+~B Cut Operation Specification ........................... 87
ESC+A1 Label Size Specification ................................ 88
ESC+CS Print Speed Specification .............................. 90
ESC+#E Print Darkness Specification ......................... 92
ESC+PG Printer Operation Registration ....................... 93
ESC+A3 Start Point Correction Specification ............... 97
ESC+* Clear Specification ........................................ 99
ESC+FC Font Delete Specification ............................ 100
ESC+@ Off-line Specification ................................... 101
ESC+2S Two Color Print Area Specification .............. 102
ESC+PO Offset Specification ..................................... 104
ESC+TG Space Size between Labels Specification ... 105
ESC+IG Sensor Type Specification ........................... 106
ESC+PH Print Method Specification ........................... 107
ESC+PM Operation Mode Specification ..................... 108
ESC+C Reissue Specification .................................. 109
ESC+RF Font/Logo Search Print Specification ...........110
ESC+YE Paper Type Specification .............................. 111
ESC+AX Print Area Enlargement Specification ...........112
ESC+AR Print Area Standard Specification .................114
ESC+EP Final Position Print Specification ..................116
ESC+I2 Serial Interface Settting ................................117
ESC+I1 IEEE 1284 Settting .......................................118
ESC+WT Calendar Setup Specification .......................119
ESC+WP Date Offset Specification ............................. 120
ESC+WA Real Time Clock Specification
(Real Time Method) .................................... 121
iii
3. Font Character Set ................................................................. 123
3.1 XU Font Character Set ................................................... 123
3.2 XS Font Character Set .................................................... 124
3.3 XM Font Character Set ................................................... 125
3.4 XB Font Character Set .................................................... 126
3.5 XL Font Character Set .................................................... 127
3.6 U Font Character Set ...................................................... 128
3.7 S Font Character Set ...................................................... 129
3.8 M Font Character Set ..................................................... 130
3.9 WB Font Character Set ................................................... 131
3.10 WL Font Character Set ................................................... 132
3.11 OCR-A Font Character Set ............................................. 133
3.12 OCR-B Font Character Set ............................................. 134
4. Barcode Table ........................................................................ 135
4.1 Codabar Code Table ....................................................... 135
4.2 CODE-39 Code Table ..................................................... 136
4.3 Interleaved 2/5, Matrix 2/5, Industrial 2/5, UPC,
EAN, UPC-E Code Table ................................................ 137
4.4 CODE-93 Code Table ..................................................... 138
4.5 CODE-128 Character Code Table .................................. 139
4.6 Customer Barcode Table ................................................ 142
5. Two Dimensional Code .......................................................... 143
ESC+2D10 2D Code PDF417 ........................................ 143
ESC+BQ 2D Code PDF417 (RISC Compatible) ......... 146
ESC+2D20 2D Code MAXI Code ................................... 148
ESC+BV 2D Code MAXI Code (RISC Compatible) .... 150
ESC+2D30 2D Code QR Code (Model 2) ...................... 152
ESC+2D31 2D Code QR Code (Model 1) ...................... 157
ESC+2D32 2D Code QR Code (Micro QR) .................... 161
ESC+BQ 2D QR Code (RISC Compatible) ................. 164
ESC+2D40 2D Code Very Code .................................... 166
ESC+VC 2D Code Very Code (RISC Compatible) ..... 168
ESC+2D50 2D Code Data Matrix Code (ECC200) ........ 171
ESC+BX 2D Code Data Matrix Code
(RISC Compatible) ...................................... 172
ESC+BX 2D Code Data Matrix Code Data
(RISC Compatible) ...................................... 174
iv
ESC+BX 2D Code Data Matrix Code
Sequential Numbering (RISC Compatible) . 175
6. 2D Code Table ........................................................................ 177
6.1 PDF417 Code Table ....................................................... 177
6.2 MAXI Code Table ............................................................ 178
6.3 Very Code Table ............................................................. 179
6.4 ECC200 Code Table ....................................................... 180
6.5 QR Code (Numeric Mode) Table .................................... 181
6.6 QR Code (Alphanumeric Mode) Table ............................ 182
6.7 QR Code (Binary Mode) Table ....................................... 183
7. Option Command (Memory Card) ........................................ 185
ESC+CC Card Slot Specification ................................ 185
ESC+BJF Memory Card Format Specification ............. 186
ESC+BJS Print Status of the Memory Card ................. 187
ESC+EX Print Area Extension ................................... 188
ESC+YS Format Storage ........................................... 189
ESC+/N Variable Field Specification ......................... 190
ESC+YR Format Recall .............................................. 192
ESC+/D Variable Field Recall ................................... 193
ESC+GI Graphics Storage ........................................ 194
ESC+GR Graphic Recall ............................................. 196
ESC+PI PCX File Storage ......................................... 197
ESC+PY PCX File Recall ........................................... 199
ESC+GT BMP File Storage ........................................ 200
ESC+GC BMP File Recall ........................................... 201
ESC+BJR True Type Recall ......................................... 202
ESC+BJT True Type Font Recall ................................. 203
ESC+BJ&
ESC+BJD True Type Storage ....................................... 204
ESC+&S Form Overlay Registration Specification ..... 205
ESC+&R Form Overlay Call Up Specification ............ 208
8. RS232C Interface ................................................................... 209
8.1 Basic Specifications ........................................................ 209
8.2 Ready/Busy .................................................................... 210
8.2.1 Connection .................................................. 210
8.2.2 Description of the Input/Output Signal ........ 210
v
8.3 X-ON/OFF ....................................................................... 211
8.3.1 Line Connection .......................................... 211
8.3.2 Input and Output Signals ............................. 211
8.4 Status 3 Return ............................................................... 212
8.4.1 Line Connection .......................................... 212
8.4.2 Input and Output Signals ............................. 212
8.4.3 Return Status ............................................... 213
8.5 Status 2 Return ............................................................... 215
8.5.1 Line Connection .......................................... 215
8.5.2 Input and Output Signal ............................... 216
8.5.3 Return Status ............................................... 216
9. Parallel Interface .................................................................... 219
9.1 Basic Specifications ........................................................ 219
9.2 Connector Pin Allocation ................................................ 220
9.3 Description of the Input/Output Signal ............................ 220
10. High Speed Serial Interface .................................................. 221
10.1 Basic Specifications ........................................................ 221
10.2 Ready/Busy .................................................................... 223
10.2.1 Line Connection .......................................... 223
10.2.2 Description of the Input/Output Signal ......... 223
10.3 X-ON/OFF ....................................................................... 224
10.3.1 Line Connection .......................................... 224
10.3.2 Input and Output Signal ............................... 224
10.4 Status 4 Return ............................................................... 225
10.4.1 Line Connection .......................................... 225
10.4.2 Input and Output Signal ............................... 225
10.4.3 Return Status ............................................... 226
10.4.4 Other Return Status ..................................... 229
10.5 Return Status 3 ............................................................... 237
10.5.1 Line Connection .......................................... 237
10.5.2 Input and Output Signal ............................... 237
10.5.3 Return Status ............................................... 238
10.6 Return Status 2 ............................................................... 240
10.6.1 Line Connection .......................................... 240
10.6.2 Input and Output Signal ............................... 241
10.6.3 Return Status ............................................... 241
vi
11. IEEE 1248 Interface ................................................................ 243
11.1 Basic Specifications ........................................................ 243
11.2 Line Connection .............................................................. 244
11.3 Connector Pin Allocation ................................................ 245
11.4 The Input and Output Signal ........................................... 246
11.5 Return Status .................................................................. 246
12. LAN Interface ......................................................................... 251
12.1 Software Specifications .................................................. 251
12.2 TCP/IP Specifications ..................................................... 251
12.3 LPD Specifications .......................................................... 252
12.4 FTP Specifications .......................................................... 252
12.5 TELNET Specifications ................................................... 253
12.6 Other Specifications ........................................................ 254
12.7 Setting/Display Item ........................................................ 255
12.8 Socket Communication ................................................... 256
12.9 Session Connection/Disconnection ................................ 257
12.10 Printer Status .................................................................. 258
10.11 Return Status .................................................................. 261
13. External Signal Interface ....................................................... 265
13.1 Connector Pin Allocation ................................................ 266
13.2 Input/Output Signal ......................................................... 267
13.3 Operation Pulse .............................................................. 270
vii
This page is intentionally left blank.
viii
SBPL Overview
1. Overview
1.1 About SBPL
SBPL (Sato Barcode Programming Language) is a common
command that controls the Sato barcode printer.
By using SBPL, you can control characters, the system, and
communications with the printer from your computer.
First, you should understand what SBPL is all about.
TOC
SATO EUROPE 1
Overview SBPL
1B XM PRINT
In other words, you can replace the < > with an escape charac-
ter.
The following is a sample program that shows the escape
sequence was sent.
In this example, the printer and computer are connected to the
RS-232C and the programming language is BASIC.
Command with print contents:
10 ESC$=CHR$ (&H1B);
20 PRINT #1, CHR$ (&H2);
30 PRINT #1, ESC$; "A";
40 PRINT #1, ESC$; "V100"; ESC$; "H100";
50 PRINT #1, ESC$; "L0202"; ESC$; "P2";
40 PRINT #1, ESC$; "XMPRINT";
50 PRINT #1, ESC$; "Z";
60 PRINT #1, CHR$ (&H3);
When each SBPL command is sent in the above mentioned for-
mat, the printer analyzes the contents of the command and
prints.
TOC
2 SATO EUROPE
SBPL Overview
<A> Header
<A1> Label size
Print
Command Specification
<Z> Footer
Note:
(1) When a command is send by the RS-232C interface,
add <STX> before <A>, and <ETX> after <Z>.
(2) <A1> is not required but the starting point can be
adjusted to the label by specifying it.
TOC
SATO EUROPE 3
Overview SBPL
TOC
4 SATO EUROPE
SBPL Overview
TOC
SATO EUROPE 5
Overview SBPL
TOC
6 SATO EUROPE
SBPL Basic Commands
2. Basic Commands
2.1 Installation of SBPL
About Basic Command Reference
This manual describes the function and format of the SBPL
commands.
As the SBPL manual explains, SBPL is a common command to
control the SATO barcode label printer.
This manual describes the commands to create a format and
print a label/tag, function and meaning of the command, com-
mand format and parameter, and additional information and
cautions.
SBPL (Sato Barcode Programming Language)
SBPL (Sato Barcode Programming Language) is a high level
printer control language used to define the label format and label
printing process.
This makes it possible to send SBPL commands to the printer
and print many different types of label/tags from simple to com-
plicated types.
For example, by combining multiple SBPL commands, not only
can various fonts, character, barcodes and graphics be defined
but it also possible to extend to command of fonts, lines, and
inversion of Black/White printing.
The SBPL commands have powerful and flexible language
functions and provide the following functions:
• Print control of many types of graphic formats
• Sequential field creation that allows to define the
increase/decrease calculation
• Outline font specification
• Compatibility with PC networks
• Return the Printer Status Information
TOC
SATO EUROPE 7
Basic Commands SBPL
SBPL Font
The SATO printer installs 12 types of bitmap fonts and one out-
line font by default.
The size and density of the font depends on the printer head
density.
Selection of Font
When you use the fonts installed, specify ESC+ (Font Type
Command).
TOC
8 SATO EUROPE
SBPL Basic Commands
Font Matrix
Type Pitch
Command WXH (dot)
OA (8 dots) 15 x 22 OCR-A Font Specification Fixed
OB (8 dots) 20 x 24 OCR-B Font Specification Fixed
OA (12 dots) 22 x 33 OCR-A Font Specification Fixed
OB (12 dots) 30 x 36 OCR-B Font Specification Fixed
XU 5x9 XU Font Specification Fixed
XS 17 x 17 XS Font Specification Fixed/Proportional
XM 24 x 24 XM Font Specification Fixed/Proportional
XB 48 x 48 XB Font Specification Fixed/Proportional
XL 48 x 48 XL Font Specification Fixed/Proportional
U 5x9 U Font Specification Fixed
S 8 x 15 S Font Specification Fixed
M 13 x 20 M Font Specification Fixed
WB 18 x 30 WB Font Specification Fixed
WL 28 x 52 WL Font Specification Fixed
Enlarge Font
The fonts installed can be enlarged up to 12x.
Bitmap and outline fonts can be downloaded and added to the
printer.
The internal bitmap fonts can be enlarged from the basic size to
12x. For example, when the basic size font is 5 (W) x 9 (H) dot
and it is enlarged by 3x, it will be 15 (W) x 27 (H) dot.
The following is the parameter setting of character height x
enlargement and width x enlargement ratio to be printed.
Width x Enlargement ratio = the setting value of width parameter
Height x Enlargement ratio = the setting value of height param-
eter
The Enlargement Specification command (<L>) controls the
size of enlargement. This parameter is specified by amplifica-
tion.
For example, if <L>0304 is specified, the font is enlarged by 3x
in the horizontal direction and 4x in the vertical direction.
If the Enlargement Specification command is specified, the
character pitch is also enlarged.
TOC
SATO EUROPE 9
Basic Commands SBPL
Character Rotation
A character can be rotated by 90 degrees in the label feeding
direction. The start print position should be specified as shown
in the figure below.
TOC
10 SATO EUROPE
SBPL Basic Commands
direction
Label feeding
<Q>1
V/H <Z>
specification ABC
position
H200
SATO EUROPE 11
Basic Commands SBPL
You do not have to specify this command for regular label print-
ing.
When you turn off the printer, all specified values are invalid and
the registered values in the printer is valid when the printer is
restarted.
12 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 13
Basic Commands SBPL
0 - 800
Start Point
before specifying
H V
Start Point
after
specifying
When you turn off the printer, all specified values are invalid.
TOC
14 SATO EUROPE
SBPL Basic Commands
Sensor Selection
Specifies the sensor type.
Sensor Type Specification (Default: 1)
1. Reflection sensor (Eye mark)
2. Transparent sensor (Space)
3. Sensor not used
You do not have to specify this command for regular label print-
ing.
When you turn off the printer, all specified values are invalid and
the registered values in the printer are valid when the printer is
restarted.
Save Settings
The <PG> command registers and saves the printer settings
into the EEPROM.
The settings to be registered as follows.
„Enhanced“ Printers
In general, you should adjust the settings from the User Mode
of the printer.
TOC
SATO EUROPE 15
Basic Commands SBPL
Note: For this section, use the default settings of the printer
unless the tutorial section instructs you to change the set-
tings.
Note: To use the default settings, refer to the manual that
comes with the printer.
TOC
16 SATO EUROPE
SBPL Basic Commands
SATO EUROPE 17
Basic Commands SBPL
Execution Result
When the SBPL of this section is sent to the printer, the label is
printed as shown in the following figure. If printing fails, confirm
that the data to be sent to the printer is identical to the code in
this section and try resending the code.
TOC
18 SATO EUROPE
SBPL Basic Commands
SATO EUROPE 19
Basic Commands SBPL
Execution Result
TOC
20 SATO EUROPE
SBPL Basic Commands
<A>
</>
<V>200<H>100<P>0<$>B, 100, 100, 6
<$=>SATOPRINTER
<V>720<H>150<B>102100*95000012345*
<Q>1
<Z>
Description of the command
<&>
Stores <A> to <Z> as the form overlay.
</>
Recalls the stored overlay.
<V>200<H>100<P>0<$>B, 100, 100, 6
<$=>SATOPRINTER
Prints characters "SATOPRINTER" using an outline font (char-
acter pitch fixed fonts 100 (W) x 100 (H) dots with reverse plate)
at 200 dots from the start position and 100 dots to the right.
<V>720<H>150<B>102100*95000012345*
Prints "95000012345" with a CODE39 barcode (thin bar ratio 2L
and 100 dots at the top) 720 dots from the start position and 150
dots to the right.
TOC
SATO EUROPE 21
Basic Commands SBPL
Execution Result
TOC
22 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 23
Basic Commands SBPL
TOC
24 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 25
Basic Commands SBPL
TOC
26 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 27
Basic Commands SBPL
TOC
28 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 29
Basic Commands SBPL
TOC
30 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 31
Basic Commands SBPL
TOC
32 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 33
Basic Commands SBPL
TOC
34 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 35
Basic Commands SBPL
TOC
36 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 37
Basic Commands SBPL
TOC
38 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 39
Basic Commands SBPL
TOC
40 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 41
Basic Commands SBPL
TOC
42 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 43
Basic Commands SBPL
TOC
44 SATO EUROPE
SBPL Basic Commands
SATO EUROPE 45
Basic Commands SBPL
TOC
46 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 47
Basic Commands SBPL
Note:
Above maximum sizes are applied to both printing and specify-
ing.
TOC
48 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 49
Basic Commands SBPL
TOC
50 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 51
Basic Commands SBPL
52 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 53
Basic Commands SBPL
[Parameter] <BI>aabbbcn-n
a "Narrow Bar/Space Width" =01-12dots
b "Barcode Top" = 001-600dots
c "Barcode Description Font Specification" =
0: Without Description Font
1: With Description Font (top of a barcode)
2: With Description Font (bottom of a barcode)
n "Print Data" = Data
EAN-128 (Barcode for the Standard Carton ID)
Fixed 18 digits.
• Transport Container Code Identifier.
• Packing Type
• Country Code, Maker Code
• Shipping Container Consecutive Number
• Check Digit.
*As the Check Digit is automatically added on, set the data as Check
Digit with 17 digits omitted.
TOC
54 SATO EUROPE
SBPL Basic Commands
Parameter <BP>n-n
N "Print Data" = Data (Address Display Number)
TOC
SATO EUROPE 55
Basic Commands SBPL
TOC
56 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 57
Basic Commands SBPL
TOC
58 SATO EUROPE
SBPL Basic Commands
SATO EUROPE 59
Basic Commands SBPL
TOC
60 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 61
Basic Commands SBPL
TOC
62 SATO EUROPE
SBPL Basic Commands
SATO EUROPE 63
Basic Commands SBPL
[Parameter] <BW>aabbn-n
a "Expansion factor"=01-12
b "Barcode Height"=001-600
n "Print Data"= Data
TOC
64 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 65
Basic Commands SBPL
TOC
66 SATO EUROPE
SBPL Basic Commands
Specify the print area so that the black printed area does not
exceed more than 30% of the entire area.
TOC
SATO EUROPE 67
Basic Commands SBPL
<V>50<H>50<(>200, 70
H50
V50
70
200
TOC
68 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 69
Basic Commands SBPL
70 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 71
Basic Commands SBPL
TOC
72 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 73
Basic Commands SBPL
Previous Print
<A> [DATA1] n1 [DATA2] n2…..<Z>
Partly Changed Print
<A> <0> [DATA2] n3…..<Z>
First page Second page
ABC ABC
DEF 123 Part Editing
TOC
74 SATO EUROPE
SBPL Basic Commands
<A>
<0>
<V>200<H>200<P>2<L>0202<XM>123
<Q>1
<Z>
TOC
SATO EUROPE 75
Basic Commands SBPL
TOC
76 SATO EUROPE
SBPL Basic Commands
dddd
aaaa
bbbb ABCD
cccc
ABCD
Model Copy source V start point of Vertical Copy source H start point of Horizontal
copy size copy size
CL408e 2848 dots 832 dots
CL412e 4272 dots 1248 dots
M-8400RVe 2848 dots 832 dots
CL608e 3776 dots 1216 dots
CL612e 4272 dots 1984 dots
CT400DT/TT 3200 dots 832 dots
CT410DT/TT 4800 dots 1248 dots
M8485Se 2848 dots 1024 dots
M8490Se 4272 dots 1344 dots
M8460Se 2848 dots 1216 dots
M8459Se 2848 dots 896 dots
TOC
SATO EUROPE 77
Basic Commands SBPL
78 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 79
Basic Commands SBPL
TOC
80 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 81
Basic Commands SBPL
TOC
82 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 83
Basic Commands SBPL
TOC
84 SATO EUROPE
SBPL Basic Commands
<Q>4
<NUL>2
<Z>
4 sheets
[Parameter] <NUL>aaaa
a "Print number before cutting"= 1-9999
TOC
SATO EUROPE 85
Basic Commands SBPL
<~A>2
<Q>7
<Z> Remaining 1
7 sheets
[Parameter] <~A>aaaa
a "Cut Unit Number"= 0-9999
TOC
86 SATO EUROPE
SBPL Basic Commands
A: Printed
Cut Position Head Position
B: No Print
C: No Print A B C
D: No Print
A B C D
TOC
SATO EUROPE 87
Basic Commands SBPL
Example CL408e/412e
Start Point
Label Size 1 640
1
Feeding Direction
640(dot)
(800 dots)
923(dot)
80mm (1200 dots)
104mm
(832)/(1248)dots
88 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 89
Basic Commands SBPL
TOC
90 SATO EUROPE
SBPL Basic Commands
TOC
SATO EUROPE 91
Basic Commands SBPL
TOC
92 SATO EUROPE
SBPL Basic Commands
SATO EUROPE 93
Basic Commands SBPL
TOC
94 SATO EUROPE
SBPL Basic Commands
CT400DT/TT, CT410DT/TT
No. Item Description
a Not Used 00h fixed
b Not Used 00h fixed
c Print Speed (Default:02h) 00h 2 inch/s
01h 3 inch/s
02h 4 inch/s
03h 5 inch/s (CT400DT/TT only)
04h 6 inch/s (CT400DT/TT only)
d Not Used 00h fixed
e Cutter Operation 00h Operation 1 (Head position)
01h Operation 2 (Cutter position)
02h Operation 3 (Without back feed)
f Dispenser Operation 00h Operation 1 (Head position)
01h Operation 2 (Dispenser position)
g Linerless Operation 00h Linerless (Cutter position)
01h Linerless (Back feed)
h Print Density Specification (Default:A) 41h A
42h B
43h C
44h D
45h E
46h F
h Print Density Level (Default:03h) 01h Density 1
02h Density 2
03h Density 3
04h Density 4
05h Density 5
i Sensor Type 00h Reflection sensor
01h Transparent sensor
02h Sensor ignore type
j 0 Slash 00h disabled
01h enabled
k Kanji Code (Default:00h) 00h JIS Code
01h Shift-JIS Code
l Label type Specification 00h Adhesive Label
01h Non-adhesive Tag
m Initial Feed 00h disabled
01h enabled
n Proportional Pitch (Default:00h) 00h Fixed pitch
01h Proportional pitch
TOC
SATO EUROPE 95
Basic Commands SBPL
TOC
96 SATO EUROPE
SBPL Basic Commands
V
H
SATO EUROPE 97
Basic Commands SBPL
TOC
98 SATO EUROPE
SBPL Basic Commands
SATO EUROPE 99
Basic Commands SBPL
TOC
TOC
Start
Position
Head Block Note
(Left) For CT400DT, it is 4mm
Original
(32 dot) left from the
Position
head center position.
End Head Block
(Left)
Direction
Paper Feed
Position
Head Block
(Both)
<Z>
[Parameter] <2S>aVbbbbYcccc
a "Head Block Specification" = 0: Left
1: Right
2: Both
b "Start Vertical position" = 1-Label Vertical Size
c "End Vertical position" = 1-Label Vertical Size
TOC
TOC
TOC
TOC
TOC
[Parameter] <PM>a
a "Operation Mode Specification" =
0: Continuous Operation
1: Tear Off Operation
2: Cutter Operation (Head position)
3: Cutter Operation (Cutter position)
4: Cutter Operation (without back feed)
5: Linerless Operation (Cutter position)
6: Linerless Operation (without back feed)
7: Dispenser Operation (Head position)
8: Dispenser Operation (Dispenser position)
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
ss Seconds 2-digits
TT Time Period (AM/PM)
JJJ Julian Date 3-digits
ww Week number 2-digits
WW Week number -1 (depending on 1st day of the
year), 2-digits
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
4. Barcode Table
4.1 Codabar Code Table
S I S O
b4 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
b3 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
b2 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
b1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
b4 b3 b2 b1 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 0 0 0 0 SP 0
0 0 0 1 1 1 A a
0 0 1 0 2 2 B b
0 0 1 1 3 3 C c
0 1 0 0 4 $ 4 D T d t
0 1 0 1 5 5 E e
0 1 1 0 6 6
0 1 1 1 7 7
1 0 0 0 8 8
1 0 0 1 9 9
1 0 1 0 A * :
1 0 1 1 B +
1 1 0 0 C
1 1 0 1 D -
1 1 1 0 E . N n
1 1 1 1 F /
TOC
S I S O
b4 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
b3 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
b2 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
b1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
b4 b3 b2 b1 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 0 0 0 0 SP 0 P
0 0 0 1 1 1 A Q
0 0 1 0 2 2 B R
0 0 1 1 3 3 C S
0 1 0 0 4 $ 4 D T
0 1 0 1 5 % 5 E U
0 1 1 0 6 6 F V
0 1 1 1 7 7 G W
1 0 0 0 8 8 H X
1 0 0 1 9 9 I Y
1 0 1 0 A * J Z
1 0 1 1 B + K
1 1 0 0 C L
1 1 0 1 D - M
1 1 1 0 E . N
1 1 1 1 F / O
TOC
S I S O
b4 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
b3 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
b2 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
b1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
b4 b3 b2 b1 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 0 0 0 0 0
0 0 0 1 1 1
0 0 1 0 2 2
0 0 1 1 3 3
0 1 0 0 4 4
0 1 0 1 5 5
0 1 1 0 6 6
0 1 1 1 7 7
1 0 0 0 8 8
1 0 0 1 9 9
1 0 1 0 A
1 0 1 1 B
1 1 0 0 C
1 1 0 1 D
1 1 1 0 E
1 1 1 1 F
TOC
S I S O
b4 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
b3 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
b2 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
b1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
b4 b3 b2 b1 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 0 0 0 0 SP 0 @ P ` p
0 0 0 1 1 ! 1 A Q a q
0 0 1 0 2 ” 2 B R b r
0 0 1 1 3 # 3 C S c s
0 1 0 0 4 $ 4 D T d t
0 1 0 1 5 % 5 E U e u
0 1 1 0 6 & 6 F V f v
0 1 1 1 7 ’ 7 G W g w
1 0 0 0 8 ( 8 H X h x
1 0 0 1 9 ) 9 I Y i y
1 0 1 0 A * : J Z j z
1 0 1 1 B + ; K [ k {
1 1 0 0 C , < L ¥ l |
1 1 0 1 D - = M ] m }
1 1 1 0 E . > N ^ n ~
1 1 1 1 F / ? O _ o DEL
TOC
TOC
TOC
Note:
1. The Start code must be sent.
2. The Stop code is automatically added by the printer.
3. Code values higher than 64 for CODE A and B are speci-
fied as a two-character code added with >.
4. The ">" specified code should be ">J".
TOC
S I S O
b4 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
b3 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
b2 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
b1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
b4 b3 b2 b1 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 0 0 0 0 0 P
0 0 0 1 1 1 A Q
0 0 1 0 2 2 B R
0 0 1 1 3 3 C S
0 1 0 0 4 4 D T
0 1 0 1 5 5 E U
0 1 1 0 6 6 F V
0 1 1 1 7 7 G W
1 0 0 0 8 8 H X
1 0 0 1 9 9 I Y
1 0 1 0 A J Z
1 0 1 1 B K
1 1 0 0 C L
1 1 0 1 D - M
1 1 1 0 E N
1 1 1 1 F O
TOC
Print position
The print start position is the top left corner with <V> and <H>.
<V>100<H>200<2D10>***…...**
200
100
Sample
When you use MS-DOS on NEC PC-9801, the Kanji output of
centronics is converted to a Kanji code for the NEC printer.
(For more information on the above mentioned operation, refer
to the MS-DOS User Reference Manual.)
In order to avoid this, you must create a program to control the
printer port directly. This requires knowledge on host computer
hardware and OS.
TOC
100
[Parameter] ESC+BKaabbcddeeffffg~g
a "Minimum module width (dot number)" Valid Range: 01-09
*01 and 02 can be specified but may not be read.
b "Minimum module height (dot number)" Valid Range: 01-24
*01, 02 and 03 can be specified but may not be read.
c "Security level" Valid Range: 0-8
d "Data code word per line" Valid Range: 01-30
00: Automatic (the width varies according to the specified
data number)
e "Line number per symbol" Valid Range: 03-90
00: Automatic (the height varies according to the specified
data number)
f "Data number" Valid Range: 0001-2681
TOC
g "Print data"
TOC
TOC
TOC
TOC
TOC
* When Kanji is selected, you should specify the size that is two
times larger than the Kanji character number.
* When you specify 80h-9Fh, E0h-FFh, the Kanji Mode applies
so it cannot be used as binary data.
Binary Specification of Manual Setting (Data Setting Mode)
ESC+DNmmmm, n-n
Other than Binary Specification of Manual Setting (Data Setting
Mode)
ESC+DS1, n-n(Input Mode: Numeric)
ESC+DS2, n-n(Input Mode: Alphanumeric)
TOC
TOC
TOC
TOC
TOC
TOC
TOC
Example:
ESC+A
ESC+V100
ESC+H100
ESC+2D32, a, b
ESC+DS3, n
ESC+DNmmmm, n-n
ESC+DS1, n-n
ESC+Q1
ESC+Z
TOC
TOC
TOC
TOC
TOC
Print position
The print start position for Veri Code is the top left corner.
Ex) <A>
<V>100<H>200
<VC>**….**
<DC>***….*
<Z>
200
100
TOC
TOC
5 Dot
TOC
Format ID Table
Error correction Format ID
(error correction) 01 02 03 04 05 06
00 (ECC000) 500 452 394 413 310 271
05 (ECC050) 457 333 291 305 228 200
08 (ECC080) 402 293 256 268 201 176
10 (ECC100) 300 218 190 200 150 131
14 (ECC140) 144 105 91 96 72 63
Numeric 3116
20 (ECC200) Alphanumeric 2335
Binary (01h - FFh) 1556
TOC
TOC
TOC
TOC
6. 2D Code Table
6.1 PDF417 Code Table
TOC
TOC
TOC
[Supplement]
01. 00h cannot be used in the print data.
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
Registration Content
<&S>, 1
<Z>
Registration Content
(Delete
Anything opened before specifying <&S> will be deleted.)
<&S>, 1
<V> *** <H> *** <OB> ***
<Z>
TOC
Drawing
Area
V
cccc
H A B C D E
TOC
TOC
8. RS232C Interface
8.1 Basic Specifications
The serial interface for this printer complies with the RS-232C
specification.
It is possible to set with the Dip Switch the one Item reception
and the multi-reception functions that are in the reception mode.
Interface Board
DSW 1
OFF 8 bit
DSW1 1-1 Data Bit Length
ON 7 bit
OFF OFF None
1) Character Structure 1-2
OFF ON Even
Parity Bit
2) Transfer Rate 1-3 (2-3)
ON OFF ODD
ON ON Not Used
3) Protocol OFF 1 bit
1-4 Stop Bit ON 2 bit
OFF OFF 9600 bps
1-5
OFF ON 19200 bps
Baud Rate (5-6)
1-6 ON OFF 4800 bps
ON ON 2400 bps
OFF OFF Ready/Busy
1-7
OFF ON Xon-Xoff
Protocol (7-8)
1-8 ON OFF Status 3
ON ON Status 2 (DSW2-8 ON), Status 4 (DSW2-8 OFF)
Available 0.95Mbyte
Near Full
Cancel
Available 1.95Mbyte
8.2 Ready/Busy
This protocol controls reception of the print data from the hard-
ware signal control without any software procedures. In addition,
one item reception and multiple reception can be switched with
the DSW.
The data received is not guaranteed when the print data (STX +
ESC+ "A" - ESC+ "Z" + ETX) is sent from the host under the fol-
lowing conditions:
1) When the printer is off-line.
2) When an error occurs with the printer.
8.2.1 Connection
2) DB-9P
1) DB-25P
Printer Host
Printer Host
FG 1
FG 1 1 FG
SD 2 2 RD
SD 2 3 RD
RD 3 3 SD
RD 3 2 SD
RS 4 8 CS
RS 4 5 CS
CS 5 7 RS
CS 5 4 RS
DR 6 4 ER
DR 6 20 ER
SG 7 5 SG
SG 7 7 SG
ER 20 6 DR
ER 20 6 DR
TOC
8.3 X-ON/OFF
This protocol instructs the host whether data can be received or
not from the printer by sending the "XON" (hex digit 11H) or
"XOFF" (hex digit 13H) code to the SD line.
It can also be switched between the One Item Reception and the
Multiple Reception mode by using the DSW.
The receival of data is not guaranteed when the print data (STX
+ ESC+ "A" - ESC+ "Z" + ETX) is sent from the host under the
following conditions:
1) When the printer is off-line.
2) When an error occurs with the printer.
Host Printer
FG 1 FG
RD 2 SD
SD 3 RD
SG 7 SG
Note: Some host types require that the CS and RS loop on
the host side (always keep CS and RS "High").
Signal
Pin No. Name Direction Description
1 FG - Frame Ground
2 SD Output The data transferred from the printer to the host.
TOC
Host Printer
FG 1 FG
RD 2 SD
SD 3 RD
SG 7 SG
Note: Some host types require that the CS and RS loop on
the host side (always keep CS and RS "High").
Signal
Pin No. Name Direction Description
1 FG - Frame Ground
2 SD Output The data transferred from the printer to the host.
TOC
TOC
3. Status List
Description ASCII Hex
Off-line condition Non Error 0 30
Ribbon Near End 1 31
Buffer Near Full 2 32
Ribbon Near End and Buffer Near Full 3 33
On-line condition Wait for Non Error A 41
reception Ribbon Near End B 42
Buffer Near Full C 43
Ribbon Near End and Buffer Near Full D 44
Printing Non Error G 47
Ribbon Near End H 48
Buffer Near Full I 49
Ribbon Near End and Buffer Near Full J 4A
Wait for Non Error M 4D
dispenser Ribbon Near End N 4E
Buffer Near Full O 4F
Ribbon Near End and Buffer Near Full P 50
Analyze/Edit Non Error S 53
The print number may not
Ribbon Near End T 54
be set according to the
Buffer Near Full U 55 edit/analyze timing.
Ribbon Near End and Buffer Near Full V 56
Error detection Reception Buffer Full a 61
(Off-line condition) Printer Head Open b 62
Paper End c 63
Ribbon End d 64
Media Error e 65
Sensor Error f 66
Printer Head Error g 67
Cover Open h 68
Card Error i 69
Cutter Error j 6A
Other Errors k 6B
TOC
3) Print command
Once the print command has been received printing status.
(ESC+"A" - ESC+"Z")
The status inform that the printer has completed the reception
process.
1. Return Status Format
Host Printer
FG 1 FG
RD 2 SD
SD 3 RD
SG 7 SG
Note: Some host types require that the CS and RS loop on
the host side (always keep CS and RS "High").
Therefore, the host type must be confirmed before connecting
the line.
TOC
Signal
Pin No. Name Direction Description
1 FG - Frame Ground
7 SG - Signal Ground
TOC
3. Status List
Condition of the received data
Status Return Description
"0" (Hex 30H) Shows that the data was successfully received.
"1" (Hex 31H) Shows that there was an error during the data reception
process (communication error or reception buffer
overrun).
TOC
TOC
9. Parallel Interface
9.1 Basic Specifications
The parallel interface of this printer complies with the centronics
specifications.
There are two types of reception in the Reception Mode. They
are the One Item Reception and the Multiple Reception and
these can be set with the printer's DSW.
Interface Board
1.95MB Available
DATA
*1µs < T1, T2
ACK
BUSY
TOC
Pin No. Signal Name Description Pin No. Signal Name Description
Interface Board
DSW1
OFF 8 bit
DSW1 1-1 Data Bit Length ON 7 bit
Available 0.95Mbyte
Available 1.95Mbyte
TOC
CT4xx:
TOC
10.2 Ready/Busy
This protocol controls the reception of the print data using the
hardware signal control without any software procedures. In
addition, one item reception and multiple reception can be
switched using DSW.
The receival of data is not guaranteed when the print data (STX
+ ESC+ "A" - ESC+ "Z" + ETX) is sent from the host under the
following conditions:
1) When the printer is off-line.
2) When an error occurs with the printer.
TOC
10.3 X-ON/OFF
This protocol instructs the host whether data can be received or
not from the printer by sending the "XON" (hex digit 11H) or
"XOFF" (hex digit 13H) code to the SD line.
It can also be switched between the One Item Reception and the
Multiple Reception mode by using the DSW.
The receival of data is not guaranteed when the print data (STX
+ ESC+ "A" - ESC+ "Z" + ETX) is sent from the host under the
following conditions:
1) When the printer is off-line.
2) When an error occurs with the printer.
Host Printer
FG 1 FG
RD 2 SD
SD 3 RD
SG 7 SG
7 SG - Signal Ground
TOC
1)DB-25P 2)DB-9P
Printer Host Printer Host
FG 1 1 FG FG 1
SD 2 3 RD SD 2 2 RD
RD 3 2 SD RD 3 3 SD
RS 4 5 CS RS 4 8 CS
CS 5 4 RS CS 5 7 RS
DR 6 20 ER DR 6 4 ER
SG 7 7 SG SG 7 5 SG
ER 20 6 DR ER 20 6 DR
TOC
TOC
TOC
3) Print Command
Once the print command has been received printing starts.
(ESC+"A" - ESC+"Z").
The contents of the status inform that the printer has completed
the reception process.
1. Return Status List
Return Status Description
ACK (Hex 06H) Shows that there is no error with the printer.
NAK (Hex 15H) Shows that there is an error with the printer.
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
Host Printer
FG 1 FG
RD 2 SD
SD 3 RD
SG 7 SG
Signal
Pin No. Direction Description
Name
1 FG - Frame Ground
7 SG - Signal Ground
TOC
The ID number is set according to the ID number command specified by ESC+ “A” - ESC+ “Z”.
If there is more than one reception data, the ID number of the reception data that is
currently being printed is returned.
TOC
3. Status List
Description ASCII Hex
Off-line condition No Error 0 30
Ribbon Near End 1 31
Buffer Near Full 2 32
Ribbon Near End and Buffer Near Full 3 33
On-line condition Wait for No Error A 41
reception Ribbon Near End B 42
Buffer Near Full C 43
Ribbon Near End and Buffer Near Full D 44
During No Error G 47
Printing Ribbon Near End H 48
Buffer Near Full I 49
Ribbon Near End and Buffer Near Full J 4A
Wait for No Error M 4D
dispenser Ribbon Near End N 4E
Buffer Near Full O 4F
Ribbon Near End and Buffer Near Full P 50
Analyze/Edit No Error S 53
Ribbon Near End T 54 The print number may no
be set according to the
Buffer Near Full U 55 edit/analyze timing.
Ribbon Near End and Buffer Near Full V 56
Error detection Reception Buffer Full a 61
(Off-line condition) Printer Head Open b 62
Paper End c 63
Ribbon End d 64
Media Error e 65
Sensor Error f 66
Printer Head Error g 67
Cover Open h 68
Card Error i 69
Cutter Error j 6A
Other Errors k 6B
TOC
3) Print command
Once the print command has been recelved printing starts.
(ESC+"A" - ESC+"Z").
The contents of the status inform that the printer has completed
the reception process.
1. Return Status and Format
Status Return Description
ACK (Hex 06H) Shows that there is no error with the printer.
NAK (Hex 15H) Shows that there is an error with the printer.
Host Printer
FG 1 FG
RD 2 SD
SD 3 RD
SG 7 SG
Note: Some host types require that the CS and RS loop on
the host side (always keep CS and RS "High"). There-
fore, the host type must be confirmed before con-
necting the line.
TOC
Signal
Pin No. Direction Description
Name
1 FG - Frame Ground
7 SG - Signal Ground
3. Status List
Condition of Received data
Status Return Description
“0” (Hex 30H) Shows that the text is received without error.
“1” (Hex 31H) Shows that the text is received with error
(communication error or reception buffer overrun).
TOC
Printer Status
Status Return Description
“0” (Hex 30H) Normal (data ready to receive)
“1” (Hex 31H) Off-line or printing is stopped
“@” (Hex 40H) Ribbon End
“A” (Hex 41H) Paper End
“B” (Hex 42H) Cutter Error
“E” (Hex 45H) Printer Head Open
“G” (Hex 47H) Printer Head Error
“J” (Hex 4AH) Card Error
TOC
The following communication state can be set with the <I1> command.
One/Multiple Item
Control (CT series only)
Reception
2.95MB
Maximum 0M B 2.95M B
Near Full
Reception Buffer
Remaining 0.95MB
Capacity
Near Full
Cancel
Remaining 1.95MB
TOC
GND GND
1 1
18 19
2 2
19 20
3 3
19 21
4 4
20 22
5 5
20 23
6 6
21 24
7 7
21 25
8 8
22 26
9 9
22 27
10 10
24 28
11 11
23 29
12 12
24 28
13 13
24 28
14 14
25 30
15 32
23 29
16 31
25 30
17 36
25 30
TOC
TOC
TOC
TOC
3) Print Command
Once the print command has been received printing starts.
(ESC+"A" - ESC+"Z").
The contents of the status inform that the printer has completed
the reception process.
1. Return Status List
Return Status Description
ACK (Hex 06H) Shows that there is no error with the printer.
NAK (Hex 15H) Shows that there is an error with the printer.
TOC
TOC
TOC
TOC
TOC
For more information on [1: Setup TCP/IP] and [2: Setup printer
port], refer to 7. Setting/Display Item.
TOC
Caution: Always turn OFF the first DSW of the LAN interface
card.
TOC
TOC
PC SATO Printer
Status Port1025
PC SATO Printer
Status Port1025
TOC
LAN connected
PC
Printer
LISTEN
CONNECT
CONNECT ACCEPT
successful
Printing data
Printer output
Printing data
Printer output
CLOSE
CLOSE
CONNECT
complete
LISTEN
LAN connected
PC
Printer
LISTEN
CONNECT
ACCEPT
CONNECT
successful Printer status
Status request
Printer status
CLOSE
CLOSE
CONNECT
Terminated
LISTEN
TOC
TOC
2) 1 Port Connection
STX ID Number Status Remaining Number ETX
1 byte 2 bytes 1 byte 6 bytes 1 byte
02h 03h
For more information on the "status (one byte)", refer to the 11.
Return Status.
1) Port Setting/Periodic Response Mode (Status 4)
The status is returned at an interval of 500ms to 1000ms from
the printer. In addition, when the Status Request command
(ENQ: 05h) is received from the PC, the update printer status
data is returned.
PC Printer
LISTEN
CONNECT
(1024, 1025 port) ACCEPT
CONNECT successful
Printer Status
CONNECT (approximately 500ms
to 1000ms internal)
1025
STATUS request (1024)
(ENQ[05h]) Updated Printer Status
Printer Status (1025)
CLOSE
CLOSE
CONNECT completed
LISTEN
TOC
PC Printer
CONNECT LISTEN
(1024, 1025 port)
ACCEPT
CONNECT successful
CONNECT
CLOSE
CLOSE
CONNECT completed
LISTEN
CONNECT LISTEN
(1024 port)
ACCEPT
CONNECT successful
CONNECT
CLOSE
CLOSE
CONNECT completed
LISTEN
TOC
TOC
3) Print Command
Once the print command has been received printing starts.
(ESC+"A" - ESC+"Z").
The contents of the status inform that the printer has completed
the reception process.
1. Return Status List
Return Status Description
ACK (Hex 06H) Shows that there is no error with the printer.
NAK (Hex 15H) Shows that there is an error with the printer.
TOC
TOC
TOC
Connector 7 1
14 8
Input/Output Circuit
TOC
TOC
Print Start
(PRIN)
Print Repeat
(PRIN2)
Print
Print
Operation
20ms
Completion 1
of Printing
2
(PREND)
3
4
Print repeat (without an external signal)
Print Start
(PRIN)
Print Repeat
(PRIN2)
Print
Operation
20ms
Completion 1
of Printing
2
(PREND)
3
4
Print Start
(PRIN)
Print Repeat
(PRIN2)
Print
Operation 20ms
Completion 1
of Printing
2
(PREND)
3
4
Note: For the Print Start Signal (PRIN) and Print Repeat
Signal (PRIN2), maintain the "High" level until the
Print Completion Signal (PREND) is output.
If the Print Start Signal and Print Repeat Signal are
output at the same time, the Print Start Signal is
TOC
effective and the Print Repeat Signal is not exe-
cuted.
The Print Repeat Signal is effective from the Print
Operation Completion (QTY=0) to the next print
data reception. The re-issue operation is not exe-
cuted other than during this range.
2) Output Signal
Item Output Wave
Print
operation
20ms
1
Basic Operation
Completion
of Printing 2
(PREND)
3
4
Paper End
Ribbon End
Machine
Error
Paper end Head Open Lid open Lid close Head Close
Print
operation
Completion
1
of Printing 2
Paper End
(PREND)
3
4 Paper
Paper End replacement
Ribbon End
Machine
Error
Print
operation
Completion
1
Ribbon End
of Printing 2
(PREND)
3
4
Paper End
Machine
TOC Error
Print
operation
Completion 1
Machine Error
of Printing 2
(PREND)
3
4
Paper End
Ribbon End
Machine
Error
TOC
Operation
2
Operation
2
TOC
TOC
TOC
TOC
TOC
TOC
TOC