SATO E Pro Programming Reference
SATO E Pro Programming Reference
CL408/412e
CL608/612e
M8400RVe
M5900RVe
M8459/60/85/90Se
CT400/410, D508/D512
M84Pro
M10e
XL400/410e
LM408/412e
CG208/212
CG408/412
TG308/312
PN: 9001096E
www.satoamerica.com
FCC Statement
The printer complies with the requirements in Part 15 of FCC Rules for a Class B Computing Device. Operating
the printer in a residential area may cause unacceptable interference to radio and TV reception. If the interference
is unacceptable, you can reposition the equipment, which may improve reception.
CL408/412e
(A)
CL608/612e
(B)
M8400RVe
(C)
M5900RVe
(D)
M8459/60/85/90Se
(E)
CT400/410, D508/D512 (F)
M84Pro
(G)
M10e
(H)
XL400/410e
(I)
LM408/412e
(J)
CG208/212
(K)
CG408/412
(L)
TG308/312
(M)
PN: 9001096E
PN: 9001096E
TABLE OF CONTENTS
INTRODUCTION
About This Manual
Print Area Calculation
1-2
1-3
PROGRAMMING CONCEPTS
Programming Language
Selecting Protocol Codes
Using Basic
Print Position Commands
2-2
2-3
2-4
2-6
B:
C:
D:
<ESC>A
<ESC>~A
<ESC>~a
<ESC>~(NULL)
<ESC>~B
<ESC>AO
<ESC>A1
<ESC>A1
<ESC>&
<ESC>AR
<ESC>&R
<ESC>&S
<ESC>*
<ESC>*
<ESC>@
<ESC>A3
<ESC>AX
<ESC>B
<ESC>BC
<ESC>BD
<ESC>BF
<ESC>BG
<ESC>BI
<ESC>BJ/BJD
<ESC>BJF
<ESC>BJS
<ESC>BJT
<ESC>BK
<ESC>BL
<ESC>BL~d
<ESC>BM
<ESC>BP
<ESC>BQ
<ESC>BT
<ESC>BV
<ESC>BW
<ESC>BX
<ESC>C
<ESC>CB
<ESC>CI
<ESC>CC
<ESC>CL
<ESC>CR
<ESC>CP
<ESC>CS
<ESC>CT
<ESC>D
<ESC>d/D~
<ESC>DC
<ESC>DI
<ESC>$
3-2
3-2
3-2
3-2
3-2
3-2
3-2
3-2
3-2
3-2
3-2
3-3
3-3
3-3
3-3
3-3
3-3
3-4
3-4
3-4
3-4
3-4
3-5
3-5
3-5
3-5
3-5
3-6
3-6
3-6
3-7
3-7
3-7
3-8
3-8
3-8
3-8
3-9
3-9
3-9
3-9
3-9
3-9
3-9
3-10
3-10
3-10
3-10
3-10
3-10
3-11
PN: 9001096E
E:
F:
G:
H:
I:
J:
K:
L:
M:
N:
O:
P:
Q:
R:
S:
<ESC>$=
<ESC>E
<ESC>EJ
<ESC>EP
<ESC>EU
<ESC>EX
<ESC>EX0
<ESC>F
<ESC>FC
<ESC>FT
<ESC>FM
<ESC>FP
<ESC>FW
<ESC>FX
<ESC>G
<ESC>GC
<ESC>GI
<ESC>GM
<ESC>GP
<ESC>GR
<ESC>GT
<ESC>H
<ESC>I
<ESC>I2
<ESC>I3
<ESC>ID
<ESC>IG
<ESC>I1
<ESC>J
<ESC>K
<ESC>L
<ESC>LA
<ESC>LD
<ESC>LF
<ESC>LH
<ESC>M
<ESC>NC (EJ)
<ESC>OA
<ESC>OB
<ESC>OF
<ESC>OL
<ESC>P
<ESC>(
<ESC>PC
<ESC>PD
<ESC>%
<ESC>PG
<ESC>PH
<ESC>PI
<ESC>PM
<ESC>PO
<ESC>#
<ESC>#E
<ESC>PR
<ESC>PS
<ESC>PY
<ESC>Q
<ESC>RC
<ESC>RD
<ESC>RE
<ESC>RF
<ESC>RI
<ESC>RM
<ESC>RP
<ESC>RS
<ESC>RT
<ESC>RW
<ESC>S
3-11
3-11
3-11
3-11
3-11
3-11
3-11
3-12
3-12
3-12
3-12
3-12
3-13
3-13
3-13
3-13
3-13
3-13
3-13
3-14
3-14
3-14
3-14
3-14
3-14
3-14
3-15
3-15
3-15
3-15
3-15
3-15
3-15
3-15
3-15
3-15
3-15
3-16
3-16
3-16
3-16
3-16
3-16
3-16
3-16
3-16
3-16
3-16
3-17
3-17
3-17
3-17
3-17
3-17
3-17
3-17
3-17
3-18
3-18
3-18
3-18
3-18
3-19
3-19
3-19
3-19
3-19
3-19
PN: 9001096E
T:
U:
V:
W:
X:
Y:
Z:
<ESC>/
<ESC>/D
<ESC>/N
<ESC>2D10
<ESC>2D12
<ESC>2D20
<ESC>2D30
<ESC>2D31
<ESC>2D32
<ESC>2D50
<ESC>T1
<ESC>T2
<ESC>T
<ESC>TK
<ESC>TP
<ESC>TW
<ESC>2S
<ESC>U
<ESC>_D
<ESC>_F
<ESC>_N
<ESC>_Q
<ESC>V
<ESC>WA
<ESC>WB
<ESC>WD
<ESC>WI
<ESC>WK
<ESC>WL
<ESC>WM
<ESC>WP
<ESC>WS
<ESC>WT
<ESC>WZ
<ESC>W1
<ESC>W2
<ESC>W3
<ESC>XB
<ESC>XCL
<ESC>XCS
<ESC>XL
<ESC>XM
<ESC>XS
<ESC>XU
<ESC>YE
<ESC>YR
<ESC>YS
<ESC>Z
<ESC>0
3-19
3-19
3-20
3-20
3-20
3-21
3-21
3-21
3-22
3-22
3-22
3-22
3-23
3-23
3-23
3-23
3-23
3-23
3-23
3-24
3-24
3-24
3-24
3-24
3-24
3-24
3-24
3-24
3-25
3-25
3-25
3-25
3-25
3-25
3-27
3-27
3-27
3-27
3-28
3-28
3-28
3-28
3-28
3-28
3-28
3-28
3-28
3-28
3-28
4-2
Start Label (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Stop Label (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Print Quantity (Applicable Product: A, B, C, D, E, F, G, I, J, K, L, M)
Job ID Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Job Name (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
4-2
4-2
4-3
4-4
4-5
Modification Commands
<ESC>L
<ESC>P
<ESC>PR
<ESC>PS
<ESC>%
<ESC>F
<ESC>FC
<ESC>FT
<ESC>FW
4-6
4-6
4-7
4-8
4-8
4-9
4-10
4-11
4-13
4-14
PN: 9001096E
<ESC>(
<ESC>&
<ESC>/
<ESC>0
<ESC>WD
<ESC>J
<ESC>RF
<ESC>RM
<ESC>_D
<ESC>_F
<ESC>_N
<ESC>_Q
<ESC>PD
<ESC>RE
<ESC>RS
<ESC>2S
Font Commands
<ESC>XM
<ESC>XS
<ESC>XU
<ESC>S
<ESC>M
<ESC>U
<ESC>OA
<ESC>OB
<ESC>XB
<ESC>XL
<ESC>WB
<ESC>WL
<ESC>RD
<ESC>$
<ESC>$=
<ESC>XCL
<ESC>XCS
<ESC>K
<ESC>T1
<ESC>T2
4-31
4-32
4-33
4-33
4-34
4-35
4-36
4-37
4-38
4-38
4-38
4-38
4-38
4-38
4-38
4-38
4-39
4-39
4-39
4-39
4-40
4-41
4-41
4-42
4-42
4-43
4-44
4-45
4-46
<ESC>B
<ESC>BD
<ESC>D
<ESC>d/D~
<ESC>BC
<ESC>BF
<ESC>BG
<ESC>BI
<ESC>BL
<ESC>BL~d
<ESC>BM
<ESC>BP
<ESC>BT
<ESC>BW
<ESC>EU
<ESC>BK
<ESC>BQ
<ESC>BV
<ESC>BX
<ESC>DC
4-31
4-38
XM Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
XS Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
XU Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
S Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
M Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
U Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
OA Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
OB Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
XB Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
XL Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
WB Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
WL Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Font, Raster (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Font, Vector (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Outline Font Print (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
XCL Font (Applicable Product: I, M)
XCS Font (Applicable Product: I, M)
External Character Recall Text Flow (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)
Store 16x16 External Character (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Store 24x24 External Character (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Barcode Commands
2D Code Commands
4-15
4-16
4-17
4-18
4-19
4-20
4-21
4-22
4-23
4-24
4-25
4-26
4-27
4-28
4-29
4-30
4-46
4-46
4-46
4-50
4-52
4-53
4-54
4-55
4-57
4-58
4-60
4-62
4-63
4-64
4-65
4-67
4-67
4-68
4-69
4-70
4-71
PN: 9001096E
<ESC>FX
<ESC>2D10
<ESC>2D12
<ESC>2D20
<ESC>2D30
<ESC>2D31
<ESC>2D32
<ESC>2D50
System Commands
<ESC>CS
<ESC>#E
<ESC>A3
<ESC>AR
<ESC>AX
<ESC>EP
<ESC>~a
<ESC>~(NULL)
<ESC>~A
<ESC>~B
<ESC>CB
<ESC> CI
<ESC>CR
<ESC> CP
<ESC>CT
<ESC>DI
<ESC>EJ
<ESC>EX
<ESC>FM
<ESC>FP
<ESC>@
<ESC>OL
<ESC>AO
<ESC>C
<ESC>PG
<ESC>PC
<ESC>IG
<ESC>I1
<ESC>I2
<ESC>I3
<ESC>NC (EJ)
<ESC>PH
<ESC>PM
<ESC>E
<ESC>LD
<ESC>RP
<ESC>LA
<ESC>CL
<ESC>LH
<ESC>LF
<ESC>TW
<ESC>TK
<ESC>TP
<ESC>EX0
<ESC>RC
<ESC>RW
<ESC>WI
<ESC>WM
<ESC>WZ
<ESC>W1
<ESC>W2
<ESC>W3
<ESC>WS
<ESC>YE
4-81
Print Speed (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Print Darkness (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Base Reference Point (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Print Area, Standard (Applicable Product: A, B, C, D, E, G, H, J)
Print Area Enlargement (Applicable Product: A, B, C, D, E, G, H, J)
Print End Position (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Cut, Job (Applicable Product: A, B, C, D, E, F, G, H, I)
Multiple Cuts (Applicable Product: A, B, C, D, E, F, G, H, I, K, M)
Cut, Label (Applicable Product: A, B, C, D, E, F, G, H, I, K, L, M)
Cut, Last (Applicable Product: A, B, C, D, E, F, G, H)
Tear-off Correction (Applicable Product: L)
Sensor Selection (Applicable Product: L)
Serial Port (Applicable Product: L)
Ribbon (Applicable Product: L)
Cut Number Unit (Applicable Product: I, K, L, M)
Interface (Applicable Product: K, L)
Media Ejection (Applicable Product: I, M)
Memory Area Enlarge Specification (Applicable Product: A, B, C, D, E, F, G, H, I, J)
Format Memory Card (Applicable Product: K, L)
Print Memory Card Status (Applicable Product: K, L)
Offline/Pause (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Online (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)
Auto Online (Applicable Product: A, B, C, D, E, F, G, H, J)
Repeat Label (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
EEPROM Setup (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)
Printer Motion Register Specification (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Sensor Type Selection (Applicable Product: F, K, L)
IEEE1284 (Applicable Product: L)
Serial Interface (Applicable Product: K, L)
LAN Interface (Applicable Product: K, L)
Eject and Cut (Applicable Product: K)
Print Method, Thermal/Themal Transfer (Applicable Product: F, I, K, L, M)
Print Mode Selection (Applicable Product: F, K, L)
Line Feed (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
User Download (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Reprint Configuration (Applicable Product: A, B, C, D, E, F, G, H, J)
Language (Applicable Product: A, B, C, D, E, F, G, H, I, J)
CR/LF Deletion (Applicable Product: A, B, C, D, E, G, H, J)
Zero Slash (Applicable Product: A, B, C, D, E, F, G, H, I, J)
Online Feed(Applicable Product: A, B, C, D, E, F, G, H, J)
Option Waiting Time (Applicable Product: K, L)
Forced Tear Off (Applicable Product: K, L)
Test Printing (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
Print Length Expansion (Applicable Product: A, B, C, D, E, G, H, I, J, L)
Sheet Unit Cut Quantity (Applicable Product: H)
Sheet Unit Copy Quantity (Applicable Product: H)
IP Address Setup (Applicable Product: K, l)
RARP (Applicable Product: F, J, K, L)
Wireless LAN (Applicable Product: K)
IP Address Setting (Applicable Product: K, L)
Subnet Mask (Applicable Product: K, L)
Default Gateway (Applicable Product: K, L)
Work-Shift Information Print Specification (Applicable Product: E)
Label Specification (Applicable Product: F)
Intelligent Commands
<ESC>I
Graphic Commands
4-72
4-73
4-74
4-69
4-75
4-76
4-78
4-80
Batch Separator
4-81
4-82
4-83
4-85
4-85
4-86
4-87
4-88
4-89
4-90
4-91
4-92
4-93
4-94
4-95
4-96
4-97
4-98
4-99
4-100
4-101
4-102
4-103
4-104
4-105
4-105
4-106
4-107
4-108
4-109
4-110
4-111
4-112
4-113
4-114
4-115
4-116
4-117
4-118
4-119
4-120
4-121
4-122
4-123
4-124
4-125
4-126
4-127
4-127
4-131
4-132
4-133
4-134
4-135
4-136
(Applicable Product: I, M)
4-136
4-137
PN: 9001096E
<ESC>G
<ESC>GM
<ESC>GP
Graphics, Custom
Graphics, BMP File
Graphics, PCX File
(Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
(Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
(Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
4-137
4-138
4-139
5-2
5-2
5-3
5-4
5-5
5-5
5-6
5-7
5-8
5-9
5-10
5-11
5-12
5-13
5-14
5-15
5-17
5-18
5-19
5-20
5-21
5-22
5-23
5-24
5-25
BI-DIRECTIONAL COMMUNICATIONS
Introduction
General Configuration
Serial Interface
Receive Buffer
Data Transmission
6-2
6-2
6-2
6-2
6-2
6-3
6-3
6-3
6-3
6-3
6-3
6-4
6-4
6-4
6-6
6-6
6-7
6-7
6-7
6-8
6-8
6-8
6-9
6-9
APPENDIX
Custom Characters & Graphics
Custom Designed Character Example
Custom Graphics Example
PCX Graphics Example
7-2
7-2
7-4
7-7
7-8
7-9
PN: 9001096E
Table 1:
Table 2:
Table 3:
Table 4:
Table 5:
Table 6:
Table 7:
Table 8:
Table 9:
Table 10:
Table 11:
Table 12:
Table 13:
Table 14:
Table 15:
Table 16:
Table 17:
Table 18:
Table 19:
Table 20:
Table 21:
Table 22:
Table 23:
Table 24:
Table 25:
Table 26:
Table 27:
Table 28:
Table 29:
Table 30:
Table 31:
Table 32:
Table 33:
Table 34:
Table 35:
Table 36:
Table 37:
Table 38:
Table 39:
Table 40:
Table 41:
Table 42:
Table 43:
Table 44:
Table 45:
Table 46:
Table 47:
Table 48:
Table 49:
Table 50:
Table 51:
Table 52:
Table 53:
Table 54:
Glossary
7-9
7-9
7-10
7-10
7-11
7-11
7-12
7-12
7-13
7-13
7-14
7-14
7-15
7-15
7-16
7-16
7-17
7-18
7-18
7-19
7-19
7-20
7-21
7-22
7-22
7-23
7-24
7-24
7-25
7-26
7-27
7-28
7-29
7-30
7-31
7-32
7-33
7-34
7-35
7-36
7-38
7-39
7-40
7-42
7-44
7-45
7-46
7-47
7-47
7-48
7-48
7-49
7-50
7-50
7-51
PN: 9001096E
PN: 9001096E
Unit 1: Introduction
INTRODUCTION
1-1
PN: 9001096E
Unit 1: Introduction
LCD DISPLAY: Provides the specific display that should be visible on the LCD at that
point.
A comprehensive Table Of Contents provided at the front of this manual facilitates rapid movement within. The
contents identify the different Units, Chapters, and Sections. Each references the page number of their
commencement and all printers applicable to each command identified. Each printer model is identified by an
assigned letter character that may be referenced on the page preceding the Table Of Contents.
The pages of this manual have embedded headers and footers to assist the user in identifying his or her exact
position within the manual. The header provides the unit number followed by its name. The footer identifies the
product on the left, the page number in the center, and the manuals part number to the right side of the page.
Page enumeration is two-part with each separated by a hyphen. The first character set references the Unit and the
second identifies the page number. Page numbers begin with the numeral (1) one at the commencement of a new
unit and ascend sequentially.
1-2
PN: 9001096E
Unit 1: Introduction
A1 COMMAND
The A1 command is the preferred method of configuring the printer for media size. If using media smaller than the
print head width, use this command to specify the media size and adjust the start position corresponding to that.
The backing paper must be included in media size considerations. This command would be as follows:
<A1>aaaaabbbb
a = Height of Label
b = Width of Label
NOTE: The valid ranges for each of the above may be found in the product
manuals.
A3 COMMAND
Before beginning to send code, one must perform some simple calculations to determine print positioning. Firstly,
determine the print resolution and maximum print width of the printer. This information is provided in the Technical
Data unit of the Operator Manual and Service Manuals.
The print resolution of the print head has a direct bearing on the dots per inch (DPI) of print density. The
corresponding formula for a 203 Resolution print head on a printer with 4.1 Maximum Print Width would be:
Resolution (DPI) x Maximum Printable Width (Linear Inches) =
Maximum Printable Width (Linear Dots)
203 (DPI) x 4.1 (Linear Inches) = 832 (Linear Dots)
Once this is done, one must calculate the label width in linear dots. That formula would be as follows for a 2 inch
wide label:
Resolution (DPI) x Label Width (Linear Inches) =
Label Width (Linear Dots)
203 (DPI) x 2.0 (Linear Inches) = 406 (Linear Dots)
Lastly, one must calculate the horizontal distance to offset printing to accommodate for the difference in size from
the printers maximum printable width to the label width. That formula would be as follows using the above
examples:
Maximum Printable Width (Linear Dots) - Label Width (Linear Dots) =
Print Offset (Linear Dots)
832 (Linear Dots) - 406 (Linear Dots) = 426 (Linear Dots)
In the above example, 426 would be the required command entry to reset the initial base reference point (or zero
point) to the new base reference point (or zero point) based on the labels width.
Note that with each additional horizontal or vertical adjustment, the New Base Reference Point will always be
positioned relative to the last base reference point - not the Initial Base Reference Point. In other words, the only
way to return to the Initial Base Reference Point is to either use commands to reverse the prior commands, or to
E/Pro Programming Reference
1-3
PN: 9001096E
Unit 1: Introduction
delete all positioning commands to return the printer to its default state.
POWER
ON LINE
LINE
STATUS
LABEL
RIBBON
FEED
Print Head
LABEL
Label Width
Label Length
LABEL
Print Offset
1-4
PN: 9001096E
PROGRAMMING
CONCEPTS
Programming Language
Selecting Protocol Codes
Using Basic
Print Position Commands
2-1
PN: 9001096E
PROGRAMMING LANGUAGE
A programming language for a printer is a familiar concept to most programmers. It is a group of commands that
are designed to use the internal intelligence of the printer. The commands, which are referred to as SATO
Command Codes, contain non-printable ASCII characters (such as <STX>, <ETX>, <ESC>) and printable
characters. These commands must be assembled into an organized block of code to be sent as one data stream to
the printer, which in turn interprets the command codes and generates the desired label output. The programmer is
free to use any programming language available to send the desired data to the printer.
The printer command codes used are based upon Escape (1B hexadecimal) sequences. Typically there are four
types of command sequences:
<ESC>{Command}
These commands generally tell the printer to perform a specific action, like clear the memory.
<ESC>{Command} {Data}
Commands with this format tell the printer to perform a specific action which is dependent upon the following data,
like print X labels, where the value for X is contained in the data.
<ESC>{Command} {Parameter}
These commands set the operational parameters of the printer, like set the print speed to 3.
2-2
PN: 9001096E
PROTOCOL CODES
CONTROL
CHARACTER
STANDARD
DSW2-7 OFF
NON-STANDARD
DSW2-7 ON
DESCRIPTION
STX
02 Hex
7B Hex = {
Data start
ETX
03 Hex
7D Hex = }
Data end
ESC
1B Hex
5E Hex = ^
ENQ
05 Hex
40 Hex = @
CAN
18 Hex
21 Hex = !
Off-Line
40 Hex
5D Hex = ]
2-3
PN: 9001096E
USING BASIC
It may be useful to test your printer using a BASIC program on a PC or write your actual production programs in
BASIC. Whatever the reason, if working in BASIC, some of the following hints may be helpful.
Set the WIDTH of the output device to 255 characters to avoid automatically sending <CR> and <LF> characters
after every line. The command string should be continuous and uninterrupted by <CR> and/or <LF> commands.
The examples given in this manual are printed on separate lines because they will not fit on a single line and do not
contain <CR> and/or <LF> characters. If these characters are needed, they are explicitly noted by the inclusion of
<CR> and <LF> notations.
If using the printers RS232C interface, it is necessary to set the computer COM porton so the CTS and DSR
signals are ignored. Send OPEN COM statements as follows:
OPEN COM1:9600,E,8,1,CS,DSAS #1
This sets the host computers COM1 port RS232C communication parameters for 9600 baud, Even parity, 8 Data
bits, 1 Stop bit and directs the port to ignore the CTS and DSR control signals.
It may be desirable to assign the <ESC> character to a string variable to reduce keystrokes since this character is
often used.
The following two examples use Standard Protocol codes in BASIC.
10 E$=CHR$(27)
20 WIDTH LPT1,255
30 LPRINT E$;"A";
40 LPRINT E$;"H400";E$;"V100";E$;"XL1SATO";
50 LPRINT E$;"Q1";
60 LPRINT E$; Z;
Tells the printer that the last commandhas been sent. The
printer can nowcreate and print the job.
2-4
PN: 9001096E
10 E$=CHR$(27)
OPEN COM1:9600,N,8,1,CS,DSAS #1
Opens the COM1 port for output and sets the parameters
as 9600 baud, No parity, 8 Data bits, 1 Stop bit and
instructs the port to ignore the CTS and DSR control
signals.
50 PRINT #1,E$;"A";
E$;
Informs the printer that the last command has been sent
and printing can occur.
2-5
PN: 9001096E
<ESC>A1aaaaabbbb
a = Label Length
LABEL
Label Length
b = Label Width
Label Width
Issue Base Reference Point command <ESC>A3 after the data Start command.
<ESC>A<ESC>A3H0426V0001. . . . . .
2-6
PN: 9001096E
Each <ESC>H command would have the value 426 added to it to correctly position each field.
NOTE: The <ESC>A3 Base Reference Point command can also shift the
reference point in a negative direction (toward the outside edge of the label).
The Command Code subsection contains a sample label output for each command code. These samples reflect
how the printed information would appear on a 4.25 inch wide label.
If you want to test any of the sample label outputs and are using labels less than five inches in width, it is
recommended that the Base Reference Point command be added to the data stream to print the image onto the
label.
The addition of the Base Reference Point command to the data stream will help adjust the print. See the following
two examples or refer to the Base Reference Point command description.
EXAMPLE:
<ESC>A
<ESC>H0050<ESC>V0100<ESC>L0303<ESC>XMSATO
<ESC>H0050<ESC>V0200<ESC>B103100*SATO*
<ESC>H0070<ESC>V0310<ESC>L0101<ESC>XUSATO
<ESC>Q1<ESC>Z
If using a 2 inch wide label, the entire image may not appear on the label. By adding the following Base Reference
Point command to the second line of the data stream, the base reference point will be changed, causing the image
to shift toward the inside of the printer where it can be printed on the narrower label.
EXAMPLE:
The image is moved horizontally to the right 2 inches (406 dots) so that itcan be printed on a 2 inch wide label. For
more information, see the Base Reference Point command description.
2-7
PN: 9001096E
2-8
PN: 9001096E
COMMAND QUICK
REFERENCE
3-1
PN: 9001096E
DESCRIPTION
~Aaaaa
Cut, Label. Specifies the quantity of labels to print between each cut. It is independent of the
Quantity command.
aaaa
~aaaa
Cut, Job. Cuts labels at a specified interval in a print job. Quantity of labels printed is equal
to the product of the quantity specified x the value of aaaa.
aaaa
~(NULL)
Multiple Cut Specification. Cuts a specified quantity of times for a specified quantity of
labels resulting in one or more labels between each cut sequence.
a
~B
Cut, Last. Cuts any printed labels that remain in the printer.
AOa
Auto Online. Allows the automatic online on power up setting to be enabled or disabled.
a
A1aaaabbbb
A1aabbbccc
bbbb
Media Size (mm). Specifies the label size in millimeters for XL400/410e and TG308e and
TG312e printers.
a
Label Type
0T: Tag Label
0T: Adhesive Label
&
Store Form Overlay. Stores a specified label image in the printers volatile form overlay
memory.
AR
Normal Print Length. This command resets the printer to the Standard print length (7
inches).
&Raa
Form Overlay, Recall. Recalls a label image previously stored in Expanded Memory.
aa
3-2
PN: 9001096E
DESCRIPTION
Form Overlay, Store. Stores a label image in Expanded Memory.
aa
bbbb
cccc
A(space)Z
*a,bbb
*a
bbb
System Clear. Stores a label image in Expanded Memory for the CT400/410 printers.
a
@,nn...n
AX
Clear Item
(blank): Single item receive, edit buffer
T: Foreign character registration area
&: Form overlay
X: All clear
A3H-aaaa-Vbbbb
Base Reference Point. Establishes a new base reference point position for the current
label. Units of measurement are dots.
-
aaaa
bbbb
Print Area Enlargement. This command sets the printer to the Expanded print length (14
inches). <ESC>EX0 is the recommended replacement.
3-3
PN: 9001096E
BCaabbbccn...n
BDabbccc
DESCRIPTION
Bar Codes. Prints a 1:3 ratio barcode.
a
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
A:
B:
C:
D:
E:
F:
G:
H:
Codabar
Code 39
Interleaved 2 of 5 (I 2/5)
UPC-A/EAN-13
EAN-8
Industrial 2 of 5
Matrix 2 of 5
reserved
reserved
reserved
MSI
reserved
Code 93
reserved
UPC-E
Bookland
Code 128
SSCC/UCC128
bb
Number of dots (01 to 12) for narrow bar and narrow space
ccc
SSCC only
0: No human readable text
1: Human readable at top
2: Human readable at bottom
Print data
Bar Codes. Prints a 2:5 ratio barcode, except for UPC, EAN, Code 93, Code 128 and SSCC
symbols, which are fixed width bar codes. For values a, bb, ccc and d see instructions for
Babbcccd.
For UPC/EAN bar codes, this command puts descender bars and human readable text
below the symbol.
BFaabbbn...n
BGaabbn...n
Print data
Print data
3-4
PN: 9001096E
BJaa..abb..b
BJDcccccddddee...e
BJFaaaaaaaa
DESCRIPTION
SSCC. Prints a SSCC barcode.
a
True Type Font, Store. Prepares the Expanded Memory to accept True Type font data.
aa...a
bb...b
ccccc
dddd
ee...e
Card, Format. Initializes the Memory Area and formats it for use. Should be preceded by the
Memory Area Select command for the memory area to be initialized.
aaaa....a
BJS
Print Memory Card Status. Reports the status of the currently active Memory Card to the
host by printing a status label.
BJTaabbccddeefffgg..g
True Type Font, Recall. Recalls a previously stored bit mapped TrueType font for use.
aa
bb
cc
dd
Reserved, always 00
ee
ffff
Number of characters
gg...g
3-5
PN: 9001096E
BLabbcccn...n
BL ~d
DESCRIPTION
PDF417. Prints PDF417 2-D symbols.
aa
Minimum module dimension (03-09 dots). Will not print for values of 01,
02 or greater than 09
bb
Minimum module pitch dimension (04-240 dots). Will not print for values
of 01, 02, 03 or greater than 25
dd
Code words per line (01-30). If 00 is specified for dd and ee, printer will
automatically optimize settings
ee
fff
nn...n
Data to be printed.
UPC-A barcode (No HRI). Specifies UPC-A Barcode with start and end bar in the same
length with guard bar.
a
UPC-A barcode (Font designation). Specifies font type of UPC-A (with HRI characters).
a
Font
XU (CG200 Series only)
XS (CG200 Series only)
XM (CG200 Series only)
XB (CG200 Series only)
XL (CG200 Series only)
OA
OB
U* (CG200 Series only)
S* (CG200 Series only)
M* (CG200 Series only)
WB* (CG200 Series only)
WL* (CG200 Series only)
3-6
PN: 9001096E
DESCRIPTION
UPC-A barcode (with HRI). Specifies UPC-A barcode with HRI characteristics. The start
and end bar height will be the same length as that of guard bars.
a
Barcode height
CG200 series: 001 to 999 dots
n
BPn...n
BQ
Concatenation mode
0: Normal Mode
1: Concatenation mode
Character mode
1: Number Mode
2: Alphanumeric Mode
3: Binary Mode
Print data.
3-7
PN: 9001096E
BVa,b,c, ddddddddd,eee,
f f f,gg..g
BWaabbb
BXaabbccddeeefffghh
DESCRIPTION
Bar Codes. Variable Ratio. provides the ability to print a bar code with a ratio other than
those specified through the standard bar code commands (B, BD, and D).
a
bb
cc
dd
ee
Mode
dd..d
eee
fff
gg..g
Bar Codes. Expansion. Works together with the BT command to specify an expansion factor
and the bar code height for the particular symbol being printed.
aa
Expansion factor by which the width of all bars and spaces is increased
(01 to 12)
bbb
Data Matrix. Data Format. Specifies the format of the Data Matrix 2-D symbology.
aa
bb
Error correction level (00, 05, 08,10,14, 20 or 200. All other values
processed as 00
cc
dd
eee
fff
Mirror image
0: Normal Print
1: Reverse Print
hh
3-8
PN: 9001096E
DESCRIPTION
CBabb
Increment or decrement:
+: Increment
-: Decrement
bb
CIa
Sensor selection. Makes minor adjustments of darkness for the best print quality.
a
Sensor type:
0: Sensor is not used.
1: I-mark (CX-compatible)
2: Transmissive
CCa
CLa
Card, Slot for Use. Selects the memory area for all following expanded memory commands.
a
Memory Area 1
Memory Area 2
CR/LF Deletion. Deletes the occurrence of CR/LF characters in the data stream.
a
CRaaaaabcd
BAUD rate:
9600: 9600 bps
19200: 19200 bps
38400: 38400 bps
Parity:
N: Non parity
O: Odd number
E: Even number
Data bit:
7: 7 bit
8: 8 bit
Stop bit
1: 1 bit
2: 2 bit
CPa
Ribbon type:
0: Direct thermal (ribbon is not required)
1: Thermal transfer (ribbon is required)
3-9
PN: 9001096E
DESCRIPTION
Print Speed Selection. Specifies a unique print speed in in./sec. through software for a
particular label.
a
CTa
dn...n
DCxx...x
Barcode Type
0: NW-7
1: CODE39
2: Interleaved 2 of 5
3: JAN/EAN-13 (fixed ratio)
4: JAN/EAN-8 (fixed ratio)
5: Industrial 2 of 5
6: Matrix 2 of 5
H: UPC-A (fixed ratio)
Barcode, Human Readable Information (HRI). Specifies the character type of human
readable information of barcode. Used in conjunction with the preceding <ESC>D.
d
Data Matrix. Print Data. Prints data using Data Matrix format specified in BX Data Format
command.
=
xx...x
DIa
Speed Range
Dabbcccn
Interface
0: USB/Wireless LAN
1: RS-232C or LAN
2: Keypad
3-10
PN: 9001096E
$=n
DESCRIPTION
Font, Vector. Specifies printing of the unique SATO vector font.
a
Eaaa
Print data
Line Feed. Provides the ability to print multiple lines of the same character size without
specifying a new print position for each line.
aaa
EJ
Media Ejection. Enables forward and backward motion for cutting and printing.
EP
Print End Position. Specifies the label stop position in the sensor valid mode.
EU
EX
1D barcode symbology
01: RSS-14 (13 digits for 1D data)
02: RSS-14 Truncated (13 digits for 1D data)
03: RSS-14 Stacked (13 digits for 1D data)
04: RSS-14 Stacked Omni-directional (13 digits for 1D data)
05: RSS Limited (13 digits for 1D data)
07: UPC-A (11 digits for 1D data)
08: UPC-E (10 digits fixed for 1D data)
09: EAN13 (12 digits for 1D data)
10: EAN8 (7 digits for 1D data)
Memory Area Enlarge Specification. Specifies the enlargement of the print area in the
vertical direction.
a
EX0
3-11
PN: 9001096E
FCaaabbbcd
DESCRIPTION
Sequential Numbering. Allows the printing of sequencing fields (text, bar codes) where all
incrementing is done within the printer.
aaaa
cccc
dd
ee
Pattern (0 to 3: Omissible)
0: Solid black line
1: Gray 1
2: Gray 2
3: Gray 3
FTaaaabbbbccccd
Pattern (0 to 3) Omissible.
0: Solid black line
1: Gray 1
2: Gray 2
3: Gray 3
FMa
FP
3-12
PN: 9001096E
FXaaabcccdddeee
Gabbbccc(data)
DESCRIPTION
Line. Prints a line. Units of measurement are dots.
aa
Line width
V: Vertical line
H: Horizontal line
cccc
dddd
Data Matrix. Sequential Numbering. Prints sequential numbered Data Matrix 2-D symbols.
aaa
Increment or decrement
+: Increment
-: Decrement
ccc
ddd
eee
Custom Graphics. Allows the creation and printing of graphic images using a dotaddressable matrix.
a
bbb
ccc
data
GCaaa
BMP File, Recall. Recalls BMP graphic files stored in Expanded Memory.
GIabbbcccdddee...e
Graphic, Store. Stores a graphic image in the memory card to be called later for printing on
a label.
GMaaaaa
bbb
ccc
ddd
ee...e
BMP File. Downloads BMP file to the internal graphics image memory.
aaaaa
GPaaaaa
PCX File. Downloads PCX file to the internal graphics image memory.
aaaaa
3-13
PN: 9001096E
DESCRIPTION
Graphic, Recall. Recalls for printing the graphic image stored by the GI command.
ccc
GTaaa,bbbbb, nn. . . n
bbbbb
nn....n
Data
Haaaa
Horizontal Position. Specifies a fields horizontal location across the width of the label from
the current base reference point. The units of measurement are dots.
Batch Separator. To issue a tag with a special marking so that it can easily be divided on the
stacker. Is applicable only to the XL400/410e printers.
a
I2abcde
0: 9600 BPS
1: 19200 BPS
2: 38400 BPS
3: 57600 BPS
0: 8 bit
1: 7 bit
c Parity
0 = No parity
1 = Odd
2 = Even
d Stop bit
0 = 1bit
1 = 2bit
e Control
b Data bit
IDaa
I3a
3-14
PN: 9001096E
DESCRIPTION
Sensor Type Selection. Selects the sensor type.
a
I1abbb
Journal Print. Provides the ability to print text line by line. Fixed spacing between lines and
characters.
Kab90cc
Custom Designed Characters, Recall. Recalls for printing a custom character stored by
the Tabcc(data) command.
Laabb
LAa
1: 16 x 16 matrix
2: 24 x 24 matrix
cc
Memory location where the character was stored. Valid locations are 21
to 52 or ! to R in hex values.
bb
0:
1:
2:
3:
4:
5:
English
French
German
Spanish
Italian
Portuguese
LDa,b,c,d,e,f,g,i,jj
User Download. Downloads a user defined set of Alternate Protocol Command Codes.
LFa
LHa
Font type. Specifies the 13W x 20H dot matrix font (includes descenders).
NC (EJ)
Eject and Cut. Cuts any printed labels that remain in the printer.
OA
3-15
PN: 9001096E
DESCRIPTION
OB
OL
Paa
(aaaa,bbbb
PCaa,bbPCF,a,........z
PD
%a
aaaa
bbbb
Flash ROM Setup. Sets the default printer configuration in Flash ROM.
a
b-z
Sets content
Appendix Reference Table XXXX for CT400/410 printer
Appendix Reference Table XXXX for all other printers
Small Label Size Specification. Specifies parameters relative to small label size. Only
applicable to the M10e printer.
a
0:
1:
2:
3:
Sets content
Appendix Reference Table 43 for CT400/410 printer
Appendix Reference Table 42 for XL408/410e printers
Appendix Reference Table 41 for M10e printer
Appendix Reference Table 40 for all other printers
PIaaa,bbbbb,cc...c
PHa
Reverse Image. Reverse image from black to white and vice versa. The units of measure
are dots.
PG
bbbbb
cc...c
3-16
PN: 9001096E
DESCRIPTION
Print Mode Selection. Selects desired backfeed operation.
a
POabcc
0:
1:
2:
3:
4:
7:
8:
Offset Specification. Specifies label stop position. Only applicable to the CT400/410
printers.
a
Offset specification
0: Cutter motion
1: Dispenser motion
2: Tear-Off motion
3: Continuous motion
Offset direction
+: Forward
-: Backward
Start Position Specification. Specifies the vertical print start position. Only applicable to the
XL400/410e printers.
a
Shift direction
+: Forward
-: Backward
Shift distance
XL400e: 000 to 400 dots
XL410e: 000 to 600 dots
#Ea
PR
Fixed Font Spacing. Returns the printer to fixed character spacing mode.
PS
Proportional Font Spacing. Places the printer in the proportional character spacing mode.
Will not work with U Font.
PYaaa
Qaaaaaa
Sheet Unit Cut Quantity Specification. Specifies the sheet cut quantity for small labels.
Only applicable to the M10e printer.
a
RC
3-17
PN: 9001096E
REa
DESCRIPTION
Font Type. Specifies the internal AGFA raster fonts.
a
bb
0:
1:
2:
3:
4:
5:
6:
8:
ccc
ddd
nn..n
Data to be printed
Telegraphic Message End Specification. Specifies the telegraphic message end relative to
small labels. Only applicable to the M10e printer.
a
RFabn...n
RI
No character set
ISO 8859/1 Latin1
ISO 8859/2 Latin2
ISO 8859/9 Latin5
CP-737 DOSGreek
CP-885 DOS Cyrillic
CP-864 DOSArabic
PC-850 Multilingual
Recall and Print of Font & Logo. Calls and prints font and logo downloaded with Label
Gallerys GalleryMemMaster.
a
Print data
Label Size Specification. Specifies label dimensions. Only applicable to the M10e printer.
a
3-18
PN: 9001096E
RPa
DESCRIPTION
Mirror Rotate. Prints mirror image of print data.
h
Reprint setting
0: Normal (no reprint setting)
1: Reprint setting
RS
Send Sheet Specification. Specifies paper delivery (feed operation) of marked unit (Eyemark, Gap) for small label. Only applicable to the M10e printer.
RTa
Print Order Specification. Specifies the order or arrangement of small labels. Only
applicable to the M10e printer.
a
RWa
Print direction
0: Horizontal
1: Vertical
Sheet Copy Quantity Specification. Specifies the quantity of copies of each sheet of small
labels. Only applicable to the M10e printer.
a
Font type. Specifies the 8W x 15H dot matrix font (includes descenders).
Form Overlay, Recall. Recalls the label image from the printers form overlay memory for
printing.
/Dbbc...c
bb
cc...c
3-19
PN: 9001096E
2D10
DESCRIPTION
Field, Store. To store a field in the memory card.
bb
cc
Security level (0 to 8)
Code type
0: Normal (if digit is omitted, the default is zero)
1: Truncated scale
2D12
Print data
Binary mode
0: Normal (if digit is omitted, the default is zero)
1: Binary
Print data
3-20
PN: 9001096E
DESCRIPTION
2D Code. Specifies Maxi Code of 2D code.
a
Mode
2:
3:
4:
6:
Postal code
Mode 2 (0 to 999999999)
Mode 3 (000000 to 999999)
2D30/2D31
Print data
Concentration mode
0: Normal
1: Concentration
Character mode
1: Numeric mode
2: Alphanumeric mode
3: Kanji mode
Data size
2D30: Model 2 (1 to 2953 bytes)
2D31: Model 1 (1 to 486 bytes)
Print data
3-21
PN: 9001096E
DESCRIPTION
2D Code. Specifies QR Code (Micro QR Code) of 2D code.
a
Character mode
1: Numeric mode
2: Alphanumeric mode
3: Kanji mode
2D50
Print data
Print data
Specify 7EH, 00H when printing 00H
Specify 7EH, 7EH when printing 7EH
T1
T2
[Data type] =
H: Hex character
B: Binary code
[Data type] =
H: Hex character
B: Binary code
3-22
PN: 9001096E
Tabcc(data)
DESCRIPTION
b
Store Custom Designed Characters. To create and store custom characters or images in
the printers volatile memory. See Kab90cc to recall the character for printing.
a
1: 16 x 16 matrix
2: 24 x 24 matrix
cc
(data)
TK
TPa
TWaaa
0:
1:
2:
3:
2S
Waiting time:
Valid range: 005 to 200 (unit: 100ms)
Two-Color Print Range Specification. Specifies a two-color print range. Only applicable to
the CT400/410 printers.
a
Head lock
0: Left side
1: Right side
2: Both sides
_Daan...n
Variable Data Specification. Specifies variable data for small labels. Only applicable to the
M10e printer.
Variable data
3-23
PN: 9001096E
DESCRIPTION
_F
Smart Label Start Specification. To show the start of small label print specification. Only
applicable to the M10e printer.
_Nab
Format Specification. Specifies small label format. Only applicable to the M10e printer.
_Qab
Label Print Number Specification. Specifies the print number for small labels. Only
applicable to the M10e printer.
a
Vbbbb
Vertical Position. Specifies a fields vertical location down the length of the label from the
current base reference point. Units of measurement are dots.
WA (elements)
Calendar Print. Prints the date and/or time field (up to 16 characters) from the printers
internal clock. Use slash to separate date elements and colon to separate time elements.
The calendar feature is a purchase option and will only be applicable to those printers so
ordered.
Elements
WBa
WIa
aaaa
bbbb
cccc
dddd
0: Manual setup
1: DHCP
Copy Image Area (Partial Copy). To copy an image to another location of the label.
a
WKnn...n
Font Type. Specifies the 18W x 30L dot matrix font (includes descenders).
a
WDHaaaaVbbbbXccccYddd
d
YY:
YYYY:
MM:
DD:
HH:
hh:
mm:
ss:
TT:
JJJ:
WW:
ww:
3-24
PN: 9001096E
DESCRIPTION
Font type. Specifies the 28W x 52L dot matrix font (including descenders).
a
WMa
WSa
WZa,b,c,dddddddddddd,eee
eeeeeeeee,ffffffffffff,gggg,hh
h,iii,j,k, . . . . .zzzzzzzz
Y: Years
M: Months
D: Days
h: Hours
bbb
Numeric data: Week (00-99), Years (1-9), Months (01-99), Days (001999), Hours (001-999).
Print Work Shift Information. Specifies the printing of work shift information (shift name,
start time, etc). Only applicable to the M8459/60/85/90Se printers.
=
Print content
1: Shift code
2: Printer use start time
3: Shift name
Calendar Set. To set the time and date of the printers internal clock.
aa
Year (00-99)
bb
Month (01-12)
cc
Day (01-31)
dd
Hour (00-23)
ee
Minute (00-59)
Format 1
Item number:
F: All items
D: Default settings
b...z
Format 2
0: Disabled
1: Enabled
Calendar Increment. To add a value to the printers current date and/or time. Does not
change the printers internal time setting. The calendar feature is a purchase option and will
only be applicable to those printers so ordered.
WTaabbccddee
RARP. Specifies if RARP is disabled or enabled. When enabled, RARP will automatically
obtain IP address in start up.
a
WPabbb
3-25
PN: 9001096E
DESCRIPTION
b
DHCP/BOOTP
0: Disabled
1: Use DHCP/BOOTP
RARP
0: Disabled
1: Enabled
IP address
000000000000 - 255255255255
Subnet mask:
000000000000 - 255255255255
Default gateway
000000000000 - 255255255255
FTP timeout
030 - 500
LPD timeout
030 - 500
SSID
1 - 32 character+s (*1)
Channel
01 - 11 (CG200 series)
Security type
0 None
1 WEP
2 WPA
3 WPA2
4 Dynamic WEP
WEP key 1
A+5 or 13 characters (ASCII) (*1)
B+10 or 26 digits (HEX) (*2)
WEP key 2
A+5 or 13 characters (ASCII) (*1)
B+10 or 26 digits (HEX) (*2)
WEP key 3
A+5 or 13 characters (ASCII) (*1)
B+10 or 26 digits (HEX) (*2)
3-26
PN: 9001096E
W1a~a
DESCRIPTION
r
WEP key 4
A+5 or 13 characters (ASCII) (*1)
B+10 or 26 digits (HEX) (*2)
Authentication
(WPA/WPA2)
0 WPA-PSK
1 EAP
Encryption
(WPA/WPA2)
0 TKIP
1 AES
Pre-Shared key
8 - 63 characters (*1)
EAP authentication
0 None
1 Reserved
2 EAP-TLS
3 EAP-PEAP
4 Reserved
5 EAP-LEAP
6 EAP-TTLS
User name
1 - 63 characters (*1)
Password
0 - 32 characters (*1)
IP Address Setting
a~a
W2a~a
XBa
W3a~a
Font Type. Specifies 48W x 48L dot matrix font (includes descenders).
a
Print data
3-27
PN: 9001096E
DESCRIPTION
XCL
Font Type. Specifies 48W x 36L dot matrix font (includes descenders). Only applicable to
the XL400/410e printers.
XCS
Font Type. Specifies 32W x 24L dot matrix font (includes descenders). Only applicable to
the XL400/410e printers.
XLan...n
Font Type. Specifies the 48W x 48H dot matrix font (includes descenders).
a
Smoothing specification
0: Smoothing disabled
1: Smoothing enabled
Print data
XM
Font type. Specifies the 24W x 24H dot matrix font (includes descenders).
XS
Font type. Specifies the 17W x 17H dot matrix font (includes descenders). Only applicable to
the XL400/410e printers.
XU
YEa
Label Specification. Temporarily specifies label specification. Only applicable to the CT400/
410 printers.
a
YR,aaa/D,bb,cc...c
YS,aaa/Nbb,cc
Label type
0: Adhesive label
1: Tag
Recall Format/Field. To recall a field from a format previously stored in the memory card.
aaa
bb
cc...c
bb
cc
0 (zero)
Replace Data (Partial Edit). Provides the ability to replace a specified area of the previous
label with new data.
(*1) Alphanumeric or symbols. Except for [,] (comma) or ["] (double quotation)
(*2) 0 to 9, A to F
3-28
PN: 9001096E
STANDARD
COMMAND CODES
Control Commands
Modification Commands
Print Position Commands
Font Commands
Barcode Commands
2D Code Commands
System Commands
Memory Card Commands
Intelligent Command
Graphic Commands
4-1
PN: 9001096E
CONTROL COMMANDS
START/STOP LABEL
FUNCTION
For all print jobs, the Start command must precede the data and the Stop command must
follow. The print job will not run properly if these are not in place.
FORMAT
Start Command:
<ESC>A
Stop Command:
<ESC>Z
EXAMPLE
<ESC>A
<ESC>H0001<ESC>V0100<ESC>WB1SATO
<ESC>H0130<ESC>V0200<ESC>B103150*SATO*
<ESC>H0170<ESC>V0360<ESC>L0202<ESC>S*SATO*
<ESC>Q1
<ESC>Z
OUTPUT
NOTES
There is no output for these commands they are not accompanied by other label printing commands.
However, these commands must precede and follow each print job sent to the printer.
4-2
PN: 9001096E
PRINT QUANTITY
FUNCTION
To specify the total quantity of labels to print for a given print job.
FORMAT
<ESC>Qaaaaaa
aaaaaa
Place just preceding <ESC>Z, unless <ESC>~ exists, then preceding that command. This
command must be present in every print job.
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>WB1SATO
<ESC>Q3
<ESC>Z
OUTPUT
NOTES
To cancel a print job, turn off the printer or send the <ESC>CAN code if using the Bi-Com mode. MultiBuffer jobs can be cleared with the Clear Print Job (<ESC>*) and Memory command.
When used with the Sequential Numbering (<ESC>F) command, the Print Quantity value should be
equal to the total number of labels to be printed.
If a Print Quantity is not specified, the printer will not print a label.
For this command, leading zeroes do not have to be entered. The command Q1 is equivalent to
Q000001.
4-3
PN: 9001096E
To add an identification number to a job. The status of the job can then be determined using
the ENQ command in the Bi-Com status mode.
FORMAT
<ESC>IDaa
aa
EXAMPLE
<ESC>A
<ESC>ID01
<ESC>V200<ESC>H100<ESC>P0<ESC>$B,100,100,6
<ESC>$=SATOPRINTER
<ESC>Q2
<ESC>Z
OUTPUT
NOTES
When status return is used on interface protocol, the specified Job ID Number can be set at the
telegraphic status. The status can confirmed by sending status request (ENQ).
Status return interface protocol is valid when status request (ENQ) is received during printing. At the
status return interface protocol,
4-4
PN: 9001096E
JOB NAME
FUNCTION
FORMAT
<ESC>WKnnn. . . n
nn..n
EXAMPLE
<ESC>A
<ESC>WKSATO
. . . Job . . .
<ESC>Z
OUTPUT
This command does not result in printer output. The information is returned to the host upon
receipt of a Bi-Com status request.
NOTES
Works only in Bi-Com 4 mode. The Job Name must be stored before Bi-Com status mode can be used.
If more than one Job Name is sent in a single job, i.e.
<ESC>A
<ESC>WKSATO
..........
<ESC>WKSATO AMERICA
.........
The last name transmitted will be used.
4-5
PN: 9001096E
MODIFICATION COMMANDS
CHARACTER, EXPANSION
FUNCTION
To independently expand characters in both the horizontal and vertical directions. The
command allows enlargement of the base size of each font (except the vector font) up to 12
times in either direction.
FORMAT
<ESC>Laabb
aa
bb
EXAMPLE
<ESC>A<ESC>H0100<ESC>V0100<ESC>XMSATO
<ESC>H0100<ESC>V0200<ESC>L0402<ESC>XMSATO
<ESC>H0100<ESC>V0300<ESC>L0204<ESC>XMSATO
<ESC>Q1
<ESC>Z
OUTPUT
(4-1)
NOTES
Expanded characters are typically used with this command for added emphasis or for long distance
readability. This command will expand the following fonts: Fonts U, S, M, XU, XS, XM, OA & OB and
fonts WB, WL, XB and XL.
This command will also affect the following commands: Character Pitch Characters, Custom-Designed
The Character Expansion value is in effect for the current print job until a new expansion command is
specified.
The Line and Box command, if used within the data stream, may return all subsequent text to the
default expansion of 1 x 1. Therefore, either send the Character Expansion command before all printed
data, or send Line and Box commands last, preceding the Quantity (<ESC>Q) command.
4-6
PN: 9001096E
CHARACTER, PITCH
FUNCTION
To designate the amount of spacing (in dots) between characters. This command provides a
means of altering character spacing for label constraints or to enhance readability.
FORMAT
<ESC>Paa
aa
EXAMPLE
<ESC>A
<ESC>H0025<ESC>V0075<ESC>L0202<ESC>XB1SATO
<ESC>H0025<ESC>V0175<ESC>L0202<ESC>P20<ESC>XB1SATO
<ESC>H0025<ESC>V0275<ESC>L0202<ESC>P40<ESC>XB1SATO
<ESC>Q1
<ESC>Z
OUTPUT
(4-2)
NOTES
This command is affected by the <ESC>L Character Expansion command. The character pitch is
actually the product of the current horizontal expansion multiple and the designated pitch value.
Example:
<ESC>L0304
<ESC>P03
Pitch = (03) x (03) = 9 dots
To avoid confusion, you may want to include the <ESC>L Character Expansion command and this
command together in your program.
This command affects fonts U, S, M, XU, XS, XM, OA & OB, WB, WL, XB and XL, and the vector font.
Character Pitch will always revert to the default value unless it is specified before each new font
command in the data stream.
This command also affects Codabar, Code 39 and Industrial 2 of 5 bar codes.
4-7
PN: 9001096E
To reset proportional spacing and place the printer back to fixed spacing.
FORMAT
<ESC>PR
Place preceding the fixed space data.
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0050<ESC>PS
<ESC>L0202<ESC>XMPROPORTIONAL SPACING
<ESC>H0100<ESC>V0180<ESC>PR
<ESC>L0202<ESC>XMFIXED SPACING
<ESC>Q1
<ESC>Z
OUTPUT
(4-3)
NOTES
This command only works with proportionally spaced fonts: XU, XM, XS, XL and XB.
To specify the printing of proportional or fixed spacing for proportionally spaced fonts.
FORMAT
<ESC>PS
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0050<ESC>PS
<ESC>L0202<ESC>XMPROPORTIONAL SPACING
<ESC>H0100<ESC>V0180<ESC>PR
<ESC>L0202<ESC>XMFIXED SPACING
<ESC>Q1
<ESC>Z
OUTPUT
(4-4)
NOTES
Once this command is sent in the data stream, it is in effect until the end of the print job unless a reset
command is sent.
4-8
PN: 9001096E
To rotate the print direction in 90 increments without changing the location of the base
reference point. The diagram below illustrates the use of the Rotate (<ESC>%) command.
Note that the entire print area is shown, but your label will probably not be as large as the
entire area.
FORMAT
<ESC>%a
a
0:
1:
2:
3:
EXAMPLE
<ESC>A
<ESC>%0<ESC>L0202<ESC>H0200<ESC>V0100<ESC>MNORMAL DIRECTION
<ESC>%1<ESC>H0200<ESC>V0300<ESC>MONE
<ESC>%2<ESC>H0200<ESC>V0400<ESC>MTWO
<ESC>%3<ESC H0200<ESC>V0500<ESC>MTHREE
<ESC>Q1
<ESC>Z
OUTPUT
(4-5a)
NOTES
The specified values are valid until another Rotate (<ESC>%) command is received. Receipt of a Stop
Print (<ESC>Z) command will reset the setting to the default value.
(4-5b)
4-9
PN: 9001096E
SEQUENTIAL NUMBERING
FUNCTION
To print sequential fields (text, bar codes) where all incrementing is done within the printer.
Up to eight different sequential fields can be specified per label. Sequencing is effective for
up to 99-digit numeric data within each field.
FORMAT
<ESC>Faaaabcccc,dd,ee,g
aaaa
cccc
dd
ee
EXAMPLE
<ESC>A<ESC>H0100<ESC>V0100<ESC>MSERIAL NUMBER:
<ESC>H0100<ESC>V0200
<ESC>F0001+0005
<ESC>L0202<ESC>M1000<ESC>Q2<ESC>Z
OUTPUT
(4-6a)
NOTES
The value specified for Print Quantity should be equal to the number of different sequential values
desired multiplied by the number of repeats specified. Example: To print 2 sets each of numbers 10011025 on separate labels, we need 50 total labels.
<ESC>F001-001,04,03
(4-6b)
It is necessary to specify the print position for each sequential field on a label. Up to eight different
sequential fields can be specified per label. Alpha characters are ignored.
4-10
PN: 9001096E
PRINT CIRCLES
FUNCTION
FORMAT
<ESC>FCaaabbbcd
a =
b =
c =
d =
EXAMPLE
OUTPUT
Section number
Section 3
4-11
Section 4
Section 5
Section 6 Section 7
Section 8
PN: 9001096E
PRINT CIRCLES
NOTES
1. When a sectional number value outside of the range is specified, it will be processed as 0.
(Command error will not occur.)
2. When the pattern designation value is outside of the range specified, it will be processed as
0. (Command error will not occur.)
3. When the print start position is outside of the printable area, printing will not be performed
due to command error.
4. This command sets the base reference point to the center of a circle.
0,0
<V>100
<H>200
100 in radius
4-12
PN: 9001096E
PRINT TRIANGLES
FUNCTION
FORMAT
<ESC>FT,aaaa,bbbb(,cccc,d)
a =
b =
c =
10 to 2000 (base length) (Omissible. If digits are left out, its value will be
equal to the length of sides.)
d =
EXAMPLE
Side length: 100 dots. Line width: 8 dots. Base length: 100 dots.
<A>
<V>100<H>200<FT>,100,8,100,0
<Q>2
<Z>
OUTPUT
NOTES
1. When the pattern designation value is outside of the range specified, it will be processed as
0.
2. When the print start position is outside of the printable area, printing will not be performed
due to command error.
3. When the base length is not equal to the length of sides, printing will not be performed due
to command error.
4. This command sets the base reference point to the apex of the triangel.
4. This command sets the base reference point to the apex of the triangle.
0,0
<V>100
<H>200
a
b
a: Side length
b: Base length
4-13
PN: 9001096E
To print horizontal lines, vertical lines, and boxes as images on the label.
FORMAT
Line:
Box:
<ESC>FWaabcccc
aa
cccc
<ESC>FWaabbVccccHdddd
aa
bb
cccc
dddd
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>FW20H0200
<ESC>H0320<ESC>V0100<ESC>FW20V0200
<ESC>H0350<ESC>V0100<ESC>FW1010H0200V0200
<ESC>Q1
<ESC>Z
OUTPUT
(4-7)
NOTES
It is recommended that all lines and boxes be specified in the normal print direction. Use the
<ESC>EX0 Expanded Print Length command for maximum label length.
4-14
PN: 9001096E
REVERSE IMAGE
FUNCTION
To reverse an image area from black to white and vice versa. Use the Print Position
commands (<ESC>H and <ESC>V) to locate the top left corner of the reverse image area.
FORMAT
<ESC>(aaaa,bbbb
a
Must be preceded by all other data and be placed just before <ESC>Q.
EXAMPLE
<ESC>A
<ESC>H0050<ESC>V0120<ESC>L0202<ESC>WB1REVERSE
<ESC>H0250<ESC>V0300<ESC>L0202<ESC>WB1HALF
<ESC>H0040<ESC>V0110<ESC>(370,100
<ESC>H0240<ESC>V0290<ESC>(220,47
<ESC>Q1
<ESC>Z
OUTPUT
(4-8)
NOTES
A reverse image area is affected by the rotate commands. Therefore, always assume the printer is in
the normal print orientation when designing and sending the Reverse Image command.
If using reverse images with the form overlay, place this command before the Form Overlay command
in the data stream.
If the height and width to be reversed contains anything other than alphanumeric data, the area is not
printed.
If the values specified exceed the maximum ranges, the reverse image is not created.
4-15
PN: 9001096E
To store a label image in the volatile form overlay memory. Only one label image may be
stored in this memory area at a time.
FORMAT
<ESC>&
Must be preceded by all other data and placed just before Stop (<ESC>Z) command.
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0125
<ESC>STHIS IS THE STORED IMAGE WITH A BARCODE
<ESC>H0100<ESC>V0165<ESC>B103100*12345*
<ESC>&
<ESC>Z
OUTPUT
This command does not result in printer output. It stores the label image in the overlay buffer.
NOTES
Remember that this storage is volatile. Therefore, if the printer loses power, the overlay must be sent
again.
The overlay is recalled using the Form Overlay Recall (<ESC>/) command.
Form overlays do not have to be recompiled each time they are called to be printed and therefore may
result in much faster print output.
4-16
PN: 9001096E
To recall the label image from the form overlay memory for printing. Additional or different
data can be printed with the recalled image.
FORMAT
<ESC>/
Must be preceded by all other data and placed just before Print Quantity (<ESC>Q)
command.
EXAMPLE
<ESC>A
<ESC>H01000<ESC>V0125
<ESC>STHIS IS THE STORED IMAGE WITH A BARCODE
<ESC>H0100<ESC>V0165<ESC>B103100*12345*
<ESC>&<ESC>Z
<ESC>A<ESC>H0100<ESC>V0050
<ESC>STHIS IS RECALLING AND ADDING TO THE STORED IMAGE<ESC>/
<ESC>Q1
<ESC>Z
OUTPUT
(4-9)
NOTES
The overlay is stored using the Form Overlay Store (<ESC>&) command.
If this command is used with the Expanded Print Length (<ESC>EX0) command the Form Overlay
length cannot exceed 9999 dots.
4-17
PN: 9001096E
To replace a specified area of the previous label with new data. This command will cause the
previous label to print along with any changes specified within the current data stream.
FORMAT
<ESC>0 (<ESC>zero)
Must follow <ESC>A and precede all other print data
EXAMPLE
<ESC>A
<ESC>H0025<ESC>V0020<ESC>WB0Company Name
<ESC>H0025<ESC>V0085<ESC>WB1SATO
<ESC>H0025<ESC>V0150<ESC>WL0SATO
<ESC>H0025<ESC>V0215<ESC>WL1SATO
<ESC>Q1<ESC>Z
<ESC>A
<ESC>0<ESC>H0025<ESC>V0020<ESC>WB0SATO
<ESC>Q1
<ESC>Z
OUTPUT
(4-10)
NOTES
Specify the exact same parameters for the image to be replaced as were specified in the original data
stream; including rotation, expansion, pitch, etc. This will ensure the new data will exactly replace the
old image. If the replacement data contains fewer characters than the old data, then the characters not
replaced will still be printed.
This command will not function if the power has been cycled off and back on since the last label was
printed.
Proportional Pitch text cannot be used with this command.
4-18
PN: 9001096E
To copy an image from one location to another on the same label. This may be useful for
duplicating individual fields or entire sections of the label with only one command.
FORMAT
<ESC>WDHaaaaVbbbbXccccYdddd
aaaa
bbbb
cccc
dddd
Place anywhere within the data stream after specifying the location of the duplicate image.
EXAMPLE
<ESC>A
<ESC>H0050<ESC>V0050<ESC>E010<ESC>XM
SATOSATOSATOSATOSATOSATOSATO
SATOSATOSATOSATOSATOSATOSATO
SATOSATOSATOSATOSATOSATOSATO
SATOSATOSATOSATOSATOSATOSATO
<ESC>H0180<ESC>V0250<ESC>WDH0130V0050X0400Y0200
<ESC>Q1
<ESC>Z
OUTPUT
(4-11)
NOTES
Use the Print Position (V and H) commands to locate the new area for the duplicate image.
Position of the new target area must not be inside the original image.
If you use the Rotate command; the V, H, X, and Y axis will be reversed.
If the reference area of the target image exceeds the print area, it will not be printed.
4-19
PN: 9001096E
JOURNAL PRINTING
FUNCTION
To print text in a line by line format on a label. By specifying this command, you automatically
select Font XS with a Character Expansion of 2x2. You also establish a base reference point
of H2,V2. The character pitch is 2 dots and the line gap is 16 dots. Simply issue an ASCII
<CR> at the end of each text line.
FORMAT
<ESC>J
Place immediately following <ESC>A.
EXAMPLE
<ESC>A
<ESC>J WITH THE JOURNAL FEATURE YOU CAN PRINT TEXT WITHOUT USING ANY
FONT COMMANDS OR POSITION COMMANDS
<ESC>Q1
<ESC>Z
OUTPUT
(4-12)
NOTES
Journal mode assumes a maximum label width. Otherwise, you may print where there is no label and
damage your print head.
It is effective only for the current print job.
4-20
PN: 9001096E
FORMAT
<ESC>RF
a
= Print data
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>RF020002,826B
<ESC>Q1
<ESC>Z
OUTPUT
(4-13)
NOTES
Specify the value of Unicode for print data. When calling and printing a logo, specify Print digit: 0002,
Print data: <6B82>16. Note that <826B>16 is the value of Shift JIS code of L.
4-21
PN: 9001096E
MIRROR IMAGE
FUNCTION
To allow mirror image printing of data, such as on transparent labels to be applied to a glass
or other transparent surface.
FORMAT
<ESC>RM
Place after the label data.
EXAMPLE
Label #1
<ESC>A
<ESC>A1<ESC>H0100<ESC>V0050<ESC>XL0ABCDEF
<ESC>RM
<ESC>Q1
<ESC>Z
OUTPUT
(4-14)
NOTES
4-22
PN: 9001096E
Specifies variable data for small labels. Only applicable to the M10e printer.
FORMAT
<ESC>_Daa,nn...n
a
= Variable data
EXAMPLE
<ESC>A
<ESC>A106363060<ESC>600,1020,0,0
<ESC>_F
<ESC>_N01,04<ESC>V100<ESC>H200<ESC>L0202<ESC>XMABCD
<ESC>_N02,07<ESC>V200<ESC>H200<ESC>L0202<ESC>B103200*11111*
<ESC>_N03,02<ESC>V100<ESC>H400<ESC>L0202<ESC>XM99
<ESC>_D01,AAAA<ESC>_D02,*22222*<ESC>_D03,22<ESC>_Q1
<ESC>_D01,BBBB<ESC>_D02,*33333*<ESC>_D03,33<ESC>_Q2
<ESC>_D02,*44444*<ESC>_D03,44<ESC>_Q4
<ESC>Z
OUTPUT
(4-15)
NOTES
If Variable Data Specification <ESC>_D is omitted, the content specified under Format Specification
<ESC>_N will be printed. However, if variable data is specified from Variable Data Specification
<ESC>_D, it will continue to that content and printing.
4-23
PN: 9001096E
To show the start of small label print specification. Only applicable to the M10e printer.
FORMAT
<ESC>_F
Place after <ESC>H and <ESC>V but before <ESC>Q.
EXAMPLE
<ESC>A
<ESC>A106363060
<ESC>PD,600,1020,0,0
<ESC>_F
<ESC>V100<ESC>H200<ESC>L0101<ESC>XMHEADER LABEL
<ESC>Q1
<ESC>_F
<ESC>V100<ESC>H200<ESC>L0202<ESC>EMABCD
<ESC>V200<ESC>H200<ESC>L0202<ESC>B103200*11111*
<ESC>Q6
<ESC>_F
<ESC>V100<ESC>H200<ESC>L0101<ESC>XMFOOTER LABEL
<ESC>Q1
<ESC>Z
OUTPUT
(4-16)
NOTES
If there is a sequential number specification after <ESC>_F, the sequential numbers will be printed on
every small label.
Small label print quantities specified under <ESC>_Q.
Do not specify registration specification from <ESC>_F onward. If specified, accurate print motion may
not be conducted.
4-24
PN: 9001096E
FORMAT SPECIFICATION
FUNCTION
FORMAT
<ESC>_N
a
EXAMPLE
<ESC>A
<ESC>A1,06363060<ESC>PD,600,1020,0,0
<ESC>_F
<ESC>_N,01,04<ESC>V100<ESC>H200<ESC>L0202<ESC>XMABCD
<ESC>_N,02,07<ESC>V200<ESC>H200<ESC>L0202<ESC>B103200*11111*
<ESC>_N,03,02<ESC>V100<ESC>H400<ESC>L0202<ESC>XM22
<ESC>_D,01,AAAA<ESC>_D,02,*22222*<ESC>_D,03,22<ESC>_Q,1
<ESC>_D,01,BBBB<ESC>_D,02,*33333*<ESC>_D,03,33<ESC>Q,2
<ESC>_D,01,CCCC<ESC>_D,02,*44444*<ESC>_D,03,44<ESC>Q,4
<ESC>Z
OUTPUT
(4-17)
NOTES
4-25
PN: 9001096E
Specifies the print number for small labels. Only applicable to the M10e printer.
FORMAT
<ESC>_Q
a
EXAMPLE
<ESC>A
<ESC>A106363060
<ESC>PD,600,1020,0,0
<ESC>_F
<ESC>V100<ESC>H200<ESC>P2<ESC>L0202<ESC>XMABCD
<ESC>V200<ESC>H200<ESC>P2<ESC>L0202
<ESC>B103200*11111*<ESC>_Q,4,2
<ESC>_F
<ESC>V100<ESC>H200<ESC>P2<ESC>L0202<ESC>XMBBBB
<ESC>V200<ESC>H200<ESC>P2<ESC>L0202
<ESC>B103200*22222*<ESC>_Q,2,1
<ESC>Z
OUTPUT
(4-18)
NOTES
4-26
PN: 9001096E
Specifies parameters relative to small label size. Only applicable to the M10e printer.
FORMAT
<ESC>PD
a
EXAMPLE
Vertical dimension: 600, horizontal dimension: 1020, label size: 0, multiple cuts: 2.
<ESC>A
<ESC>A106363060
<ESC>PD,600,1020,0,2
<ESC>V100<ESC>H100<ESC>P2<ESC>L0202<ESC>XMABCD
<ESC>Q2
<ESC>Z
OUTPUT
(4-19)
NOTES
If <ESC>PD is different from <ESC>A1, it becomes an error. The specification of <ESC>_N relates to
after small labels of <ESC>PD. Specification <ESC>_D is ignored.
From <ESC>PD, horizontal column label numbers will be automatically calculated and printed.
4-27
PN: 9001096E
Specifies the telegraphic message end relative to small labels. Only applicable to the M10e
printer.
FORMAT
<ESC>RE
a
EXAMPLE
<ESC>A
<ESC>RE0
<ESC>Z
OUTPUT
NOTES
After receiving <ESC>RE, the editing of horizontal row will be ended and will conduct feed motion. As
printing may end in the middle of the horizontal row label due to the print quantity, the label may result
in being blank.
The <ESC>RE command specifies telegraphic ending of small label at the printer driver and cannot be
combined with other standard commands.
The feed motion becomes 0 when the cutter feature is not available.
4-28
PN: 9001096E
Specifies paper delivery (feed operation) of marked unit (eye-mark, gap) for small label. Only
applicable to the M10e printer.
FORMAT
<ESC>RS
Place after <ESC>A but before <ESC>Z.
EXAMPLE
<ESC>A
<ESC>RS
<ESC>Z
OUTPUT
NOTES
4-29
PN: 9001096E
FORMAT
<ESC>2S
a
EXAMPLE
<ESC>A
<ESC>A108000832
<ESC>V100<ESC>H200<ESC>P2<ESC>L0304<ESC>XMABCD
<ESC>2S2V0001Y0600
<ESC>Q2
<ESC>Z
OUTPUT
(4-20)
NOTES
4-30
PN: 9001096E
FORMAT
<ESC>A1aaaabbbb
aaaa
bbbb
INPUT
<ESC>A
<ESC>A108000640
<ESC>Z
OUTPUT
This command does not result in printer output. It is used to automatically adjust the offset
values for the size of label being used. The sample command stream specifies a label 640
dots wide by 800 dots long in 203 DPI.
(4-21)
NOTES
The Base Reference point is always the on the right (looking at the front of the printer) side of the print
head. This command adjusts the Base Reference Point to correspond with the right edge of the loaded
media.
If the label size is changed, then this command must be respecified to center the print image on the
label.
All eight variables aaaa and bbbb must be included in this command.
4-31
PN: 9001096E
FORMAT
<ESC>A1aabbbccc
a =
Media type: OT: Tag (Center hole tag, Side hole tag, Notched tag, Imark tag, Not sensor)
Media type: OL: Label (I-mark label, Gap label, Not sensor)
EXAMPLE
b =
c =
<A>
<A1>0T060042
<Z>
<A>
<l1>
<V>100<H>200<P>2<L>0304<XS>ABCDE
<Q>
<Z>
OUTPUT
NOTES
1. For specifying the media size, include the size of backing paper.
2. If the media setting on the printer side and [Media type] are not equal, a command error will
occur
3. If [Media size check] in expansion setting is enabled, the validity of setting on the printer
side, and the setting specified by the Media Size <A1> command will be checked. If their
settings are not equal, a pitch size error will occur.
4. If a pitch size error occurs, the data received by the printer will be cleared. Check the
Media Size <A1> command again and send the print data. The Media Size <A1> command
can be omitted, but this command is required when printing multiple media.
5. When the use of sensor is prohibited, this command will be valid whether you select tag or
label for [Media type].
[Validity]
Model
TG308
Media type
Tag
Label
TG312
Tag
Label
Print area
compatibility
Standard
Expansion
Standard
Expansion
Standard
Expansion
Standard
Expansion
4-32
Height of media in mm
Width of media in mm
025 to 300
025 to 300
019 to 300
019 to 300
025 to 240
025 to 240
019 to 240
019 to 240
032 to 080
032 to 100
025 to 080
025 to 100
032 to 080
032 to 100
025 to 080
025 to 100
PN: 9001096E
PRINT POSITION
FUNCTION
The Horizontal and Vertical commands specify the top left corner of a field or label, using the
current base reference point as an origin. They also establish a reference point for
subsequent fields until the next horizontal and/or vertical print position command is issued.
FORMAT
bbbb
Place preceding any print field description of lines/boxes, fonts, bar codes, or graphics.
EXAMPLE
<ESC>A
<ESC>H0025<ESC>V0050<ESC>L0303<ESC>MSATO
<ESC>H0100<ESC>V0150<ESC>MSATO
<ESC>Q2
<ESC>Z
OUTPUT
(4-22)
NOTES
To expand the print length to the maximum limit, the Expanded Print Length (<ESC>EX0) command
must be used. If any part of an image is placed past maximum allowable dots across the label, that part
of the image will be lost.
Leading zeroes do not have to be entered - command V1 is equivalent to V0001.
4-33
PN: 9001096E
OFFSET SPECIFICATION
FUNCTION
FORMAT
<ESC>PO
a
= Offset specification
0: Cutter motion
1: Dispenser motion
2: Tear-Off motion
3: Continuous motion
= Offset direction
+: Forward
-: Backward
EXAMPLE
<ESC>A
<ESC>PO3+08
<ESC>Z
OUTPUT
NOTES
4-34
PN: 9001096E
Specifies the vertical print start position. Only applicable to the XL400/410e printers.
FORMAT
<ESC>#
a
= Shift direction
+: Forward
-: Backward
= Shift distance
XL400e: 000 to 400 dots
XL410e: 000 to 600 dots
EXAMPLE
<ESC>A
<ESC>#+040
<ESC>Z
OUTPUT
(4-23)
NOTES
The cut start position for tags will be shifted together with the change of start position.
The <ESC># command is valid for specification of every label or tag type.
4-35
PN: 9001096E
FORMAT
<ESC>RI
a
EXAMPLE
<ESC>A
<ESC>RI2196,1236,24,36,0700,0400,03,03
<ESC>A112362196
<ESC>RW02
<ESC>Z
OUTPUT
(4-24)
NOTES
Command <ESC>RI data becomes error when different from <ESC>A1 specification.
The quantity of labels in the horizontal column will be automatically calculated and printed by <ESC>RI
command.
The <ESC>RI command sets information relating to label size at the printer driver and cannot be
combined with other standard commands.
4-36
PN: 9001096E
Specifies the order or arrangement of small labels. Only applicable to the M10e printer.
FORMAT
<ESC>RT
a
= Print direction
0: Horizontal
1: Vertical
EXAMPLE
<ESC>A
<ESC>RT0
<ESC>RI3200,1200,00,00,1600,0600,02,02
<ESC>A!12003200
<ESC>Z
OUTPUT
(4-25)
NOTES
Command <ESC>RT specifies label print order of small labels by the printer driver and cannot be
combined with other standard commands.
4-37
PN: 9001096E
FONT COMMANDS
FONTS: S, M, U, OA, OB, XB, XL, XS, XM, XU
FUNCTION
To print text images on a label. These are eight of the built-in fonts available on the printer.
All matrices include descenders.
FORMAT
Font U: <ESC>U
Font S: <ESC>S
Font M: <ESC>M
EXAMPLE
<ESC>A
<ESC>PS
<ESC>H0001<ESC>V0100<ESC>L0202<ESC>XUSATO
<ESC>H0001<ESC>V0175<ESC>L0202<ESC>XSSATO
<ESC>H0001<ESC>V0250<ESC>L0202<ESC>XMSATO
<ESC>H0001<ESC>V0325<ESC>L0101<ESC>OASATO
<ESC>H0001<ESC>V0400<ESC>L0101<ESC>OBSATO
<ESC>H0300<ESC>V0100<ESC>L0202<ESC>USATO
<ESC>H0300<ESC>V0175<ESC>L0202<ESC>SSATO
<ESC>H0300<ESC>V0250<ESC>L0202<ESC>MSATO
<ESC>Q1<ESC>Z
OUTPUT
(4-26)
NOTES
Characters may be enlarged through the use of the Character Expansion command and character
spacing may be altered through the use of the Character Pitch command. The default is 2 dots
between characters. Custom characters or fonts may also be created - refer to Custom-Designed
Characters (<ESC>T) command.
It is recommended to use a spacing of 5 dots for OCR-A and 1 dot for OCR-B. The matrices for the OA
and OB fonts are scaled so that they will remain a constant size according to the OCR-A and OCR-B
specifications when printed on different resolution printers.
The proportionally spaced fonts XU, XS, XM, XL and XA can be printed with fixed spacing using the
Proportional Space (<ESC>PS) command.
Refer to Appendix: Reference Tables 1 through 7 for additional information.
4-38
PN: 9001096E
To print text images on a label. These are the four auto-smoothing fonts available on the
printer.
FORMAT
EXAMPLE
<ESC>A
<ESC>PS
<ESC>H0100<ESC>V0100<ESC>WB0SATO
<ESC>H0100<ESC>V0185<ESC>WB1SATO
<ESC>H0100<ESC>V0270<ESC>WL0SATO
<ESC>H0100<ESC>V0355<ESC>WL1SATO
<ESC>H0300<ESC>V0100<ESC>XB0SATO
<ESC>H0300<ESC>V0185<ESC>XB1SATO
<ESC>H0300<ESC>V0270<ESC>XL0SATO
<ESC>H0300<ESC>V0355<ESC>XL1SATO
<ESC>Q1
<ESC>Z
OUTPUT
(4-27)
NOTES
Auto-smoothing (when enabled) is only effective if the character expansion rate is at least (3) times in
each direction.
Characters may be enlarged through the use of the Character Expansion (<ESC>L) command.
Character spacing may be altered through the use of the Character Pitch (<ESC>A) command.
A font must be defined for each field to be printed. There is no default font.
4-39
PN: 9001096E
FONT, RASTER
FUNCTION
FORMAT
<ESC>A<ESC>RDabb,ccc,ddd,nn. . .n
a
bb
= A: Times
B: CG Triumvirate
= 00: Always
ccc
ddd
nn..n
= Data to be printed.
EXAMPLE
<ESC>A
<ESC>V0100<ESC>H0100
<ESC>RDA00,P28,P28,CG Times
<ESC>V0200<ESC>H0100
<ESC>RDB00,075,075,CG Triumvirate
<ESC>Q1
<ESC>Z
OUTPUT
(4-28)
NOTES
The cccc Horizontal Size and dddd Horizontal Size parameters can be entered either in dots or
points, but both parameters must use the same value types. If point size is used, the point size is
preceded by a P.
Refer to Appendix: Reference Table 8 for additional information.
4-40
PN: 9001096E
FONT, VECTOR
FUNCTION
To specify printing of the unique SATO vector font. The vector font allows large characters to
be printed with smooth, round edges. Each character is made of a number of vectors (or
lines), and will require slightly more printer compiling time.
FORMAT
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>$A,100,100,0
<ESC>$=SATO AMERICA
<ESC>H0100<ESC>V0200<ESC>$=VECTOR FONT
<ESC>H0100<ESC>V0350<ESC>$A,200,300,8<ESC>$=SATO
<ESC>Q1<ESC>Z
OUTPUT
(4-29)
NOTES
The Pitch command can be used with Vector fonts. If the font size designation is out of the specified
range, a default value of 50 is used.
The font width and height values include ascenders, descenders, and other space. A font must be
defined for each field to be printed. There is not a default font.
4-41
PN: 9001096E
To print text on a label. Specifies dot matrix font including descenders. Only applicable to the
XL400/410e printers.
FORMAT
<ESC>XCL
<ESC>XCS
nn...n
= Print data
XCL: 48 x 36 dots
XCS: 32 x 24 dots
EXAMPLE
<ESC>A
<ESC>V100<ESC>H200<ESC>P2<ESC>L0304<ESC>XCL,01234
<ESC>Q2
<ESC>Z
OUTPUT
NOTES
XCL and XCS fonts allow setting of fixed Pitch with 34 types of care symbols each.
Refer to Appendix: Reference Table 9 for additional information.
4-42
PN: 9001096E
Specifies recall print specifications of vertical and horizontal text flow of external character
registered in printer memory. Commands k1 and k2 are for vertical recall and K1 and K2 are
for horizontal.
FORMAT
EXAMPLE
OUTPUT
NOTES
4-43
PN: 9001096E
FORMAT
<ESC>T1abbn~n
= Data type =
H: Hex character
B: Binary code
EXAMPLE
OUTPUT
External file 16 x 16
NOTES
D1
D2
D3
D4
D5
D6
D31
D32
4-44
PN: 9001096E
FORMAT
<ESC>T2abbn~n
a
= Data type =
H: Hex character
B: Binary code
EXAMPLE
OUTPUT
External file 24 x 24
NOTES
D1
D2
D3
D4
D5
D6
D7
D8
D9
D70
D71
D72
4-45
PN: 9001096E
BARCODE COMMANDS
BAR CODES
FUNCTION
FORMAT
bb
ccc
d
= 0: Codabar
1: Code 39
2: Interleaved 2 of 5 (I 2/5)
3: UPC-A / EAN-13
4: EAN-8
5: Industrial 2 of 5
6: Matrix 2 of 5
7: reserved
8: reserved
9: reserved
A: MSI
B: reserved
C: Code 93
D: reserved
E: UPC-E
F: Bookland
G: Code 128
I: SSCC/UCC128
= Number of dots (01-12) for narrow bar and narrow space
= Bar height in dots (001-999)
= SSCC/UCC128 only. Not used for other bar code types
0: No human readable text
1: Human readable at top
2: Human readable at bottom
4-46
PN: 9001096E
BAR CODES
EXAMPLE
Note: Carriage Returns and Line Feeds have been added to the command listing for clarity and should
not be included in the actual data stream.
<ESC>A
<ESC>H0025<ESC>V0025<ESC>B103100*CODE 39*
<ESC>H0155<ESC>V0130<ESC>XS*CODE 39*
<ESC>H0025<ESC>V0200<ESC>BD20210045676567
<ESC>H0075<ESC>V0310<ESC>XM45676567
<ESC>H0025<ESC>V0375<ESC>BD30215001234567890
<ESC>H0025<ESC>V0600<ESC>BD50210012345
<ESC>H0175<ESC>V0710<ESC>XS12345
<ESC>H0025<ESC>V0775<ESC>BD60210012345
<ESC>H0105<ESC>V0885<ESC>XS12345
<ESC>H0025<ESC>V0950<ESC>BA03100123455
<ESC>H0095<ESC>V1060<ESC>XS12345
<ESC>H0025<ESC>V1125<ESC>BC03100081234ABCD
<ESC>H0080<ESC>V1240<ESC>XS1234ABCD
<ESC>H0525<ESC>V0025<ESC>B002100A12345B
<ESC>H0565<ESC>V0135<ESC>XS12345
<ESC>H0475<ESC>V0200<ESC>BD303100123456789012
<ESC>H0525<ESC>V0375<ESC>BD4031001234567
<ESC>H0525<ESC>V0550<ESC>DE03100123456
<ESC>H0500<ESC>V0600<ESC>OB0<ESC>H0533<ESC>V0655<ESC>OB123456
<ESC>H0350<ESC>V0725<ESC>D30315009827721123
<ESC>L0101<ESC>H0320<ESC>V0800<ESC>OB0
<ESC>H0365<ESC>V0878<ESC>OB98277<ESC>H0505<ESC>V0878<ESC>OB21123
<ESC>H0665<ESC>V0760<ESC>BF0313021826
<ESC>H0680<ESC>V0730<ESC>OB21826
<ESC>H0425<ESC>V1125<ESC>D30315000633895260
<ESC>L0101<ESC>H0395<ESC>V1200<ESC>OB0
<ESC>H0440<ESC>V1278<ESC>OB06338<ESC>H0580<ESC>V1278<ESC>OB95260
<ESC>H0730<ESC>V1155<ESC>BF0314024<ESC>H0745<ESC>V1125<ESC>OB24
<ESC>H0325<ESC>V0950<ESC>BG03100>GAB>D789>C123456
<ESC>H0435<ESC>V1055<ESC>XSAB789123456<ESC>Q1<ESC>Z
4-47
PN: 9001096E
BAR CODES
OUTPUT
Without Incrementing:
<ESC>A<ESC>H0100<ESC>V0100
<ESC>BI104150101234567000000001
<ESC>Q2<ESC>Z
(4-31a)
With Incrementing:
<ESC>A<ESC>H0100<ESC>V0100
<ESC>F001+001<ESC>BI104150101234567000000001
<ESC>Q2<ESC>Z
(4-31b)
4-48
PN: 9001096E
BAR CODES
NOTES
Human readable data will be printed only when a valid Thin Bar Width is selected within the barcode
command and it complies to the following table:
Printer
DPI
203
305
609
The Code 128, UCC 128, MSI, and Code 93 bar codes are not affected by the narrow to wide ratios.
The Codabar, Code 39, Industrial 2 of 5, and Matrix 2 of 5 bar codes are affected by the Character
Pitch command. This command must be placed before the Bar Code command.
Because of their unique characteristics, two-dimensional (2D) symbols are covered separately.
For UCC128, the FNC1 code is automatically inserted and the Mod 10 and Mod 103 check digits are
automatically calculated. For the MSI bar code, the check digit is not automatically calculated.
The <ESC>D and <ESC>BD commands are not valid for the MSI, Code 128, Code 93, UPC-E,
Bookland, UCC128 and Postnet symbologies.
A user can automatically print HRI without the d.
Refer to Appendix: Reference Tables 11, 12, and 13 for additional information.
4-49
PN: 9001096E
FORMAT
<ESC>Dabbcccn~n+ <d>n~n
a
Barcode Type =
3: JAN/EAN-13
4: JAN/EAN-8
H: UPC-A
Barcode Height:
valid range: 001~999 (dot)
EXAMPLE
Barcode type: JAN/EAN-13, Thin Bar Width: 02, Barcode Height: 120,
Barcode data: 4902471006795, Character Type: XS, Explanation
4902471006795
<ESC>A
<ESC>V100<ESC>H200<ESC>D3021204902471006795
<ESC>XS4902471006795
<ESC>Q2
<ESC>Z
Word
Data:
OUTPUT
4-50
PN: 9001096E
Printer
DPI
203
305
609
4-51
PN: 9001096E
CODE 93
FUNCTION
FORMAT
<ESC>BCaabbbccn~n
a
EXAMPLE
<ESC>H0100<ESC>V0125<ESC>BC03100081234ABCD
<ESC>H0155<ESC>V0240<ESC>XS1234ABCD
OUTPUT
(4-33)
NOTES
The quantity of digit data and input data must be equal. A command error will occur if the digit data and
input data are not equal.
Refer to Appendix: Reference Table 14 for additional information.
4-52
PN: 9001096E
BOOKLAND
FUNCTION
FORMAT
<ESC>BFaabbn~n
a
EXAMPLE
<ESC>H0325<ESC>V0725<ESC>D30315009827721123
<ESC>L0101<ESC>H0295<ESC>V0800<ESC>OB0
<ESC>H0340<ESC>V0878<ESC>OB98277
<ESC>H0480<ESC>V0878<ESC>OB21123
<ESC>H640<ESC>V0760<ESC>BF0313021826
<ESC>H655<ESC>V0730<ESC>OB21826
OUTPUT
(4-34)
NOTES
Only numeric can be specified as print data. Refer to the attached table.
Refer to Appendix: Reference Table 15 for additional information.
4-53
PN: 9001096E
CODE128
FUNCTION
FORMAT
<ESC>BGaabbbn~n
a
EXAMPLE
<ESC>H0200<ESC>V0550<ESC>BG03100>GAB>B789>C123456
<ESC>H0310<ESC>V0665<ESC>XSAB789123456
OUTPUT
(4-35)
NOTES
4-54
PN: 9001096E
SSCC/UCC128
FUNCTION
FORMAT
<ESC>BIaabbbcn~n
a
Print Data
For barcode data, refer to the UCC/EAN128 code table. EAN128 (Barcode
for Standard Carton ID) fixed 18 digits:
Identifier of a continuous code for freight packaging
Digit 1: Container type
Digits 2 to 8: Shipper identification
Digits 9 to 17: Container sequential numbering
Note that check digit is automatically added; therefore, specify data in 17 digits excluding check digit.
EXAMPLE
Without incrementing:
<ESC>A
<ESC>H0100<ESC>V0100<ESC>BI10415010123456000000001
<ESC>Q2
<ESC>Z
With incrementing:
<ESC>A
<ESC>H0100<ESC>V0100<ESC>F001+001
<ESC>BI104150101234567000000001
<ESC>Q2
<ESC>Z
4-55
PN: 9001096E
SSCC/UCC128
OUTPUT
Without incrementing:
(4-36a)
With incrementing:
(4-36b)
NOTES
UCC128 code is exclusive to Standard Carton ID. When printing in EAN128, designed for the markets
in the medical, fresh food, or flowers and plants, use CODE128 Barcode <ESC>BG to specify print
data with application identification or separator that matches each specification.
Start character code, function character, end character code, and identification code (corresponds only
to 00) are added automatically.
Modulus 10 check character and modulus 103 check character are automatically generated.
Sequential number of barcode data is available.
Line pitch between barcode and expository font is fixed at 10 dots.
If the width of expository font is wider than that of the barcode, it starts printing from the print start
position of barcode.
If the width of expository font is narrower than that of the barcode, expository font will be aligned to the
center of barcode for printing.
Prints expository font in OCR-B.
If the expository font is outside of the print area, it will not be printed. When HRI is available, specify
Vertical Print Position (<ESC>V) and Horizontal Print Position (<ESC>H) in consideration of print of
expository font.
Refer to Appendix: Reference Table 17 for additional information.
4-56
PN: 9001096E
Specifies UPC-A Barcode with start/end bar in the same length with guard bar.
FORMAT
<ESC>BLabbcccn~n
EXAMPLE
Barcode type: UPC-A, Narrow bar width: 03, Barcode height: 120, Print data: 01234567890
<ESC>A
<ESC>V100<ESC>H100<ESC>BLH0312001234567890
<ESC>Q2
<ESC>Z
OUTPUT
NOTES
1. This command supports UPC-A. Selecting barcode type other than H will result in a
command error.
2. Refer to the following settings.
Barcode setting
Guard bar
HRI
Ratio
Yes
No
Fixed
3. If a parameter is specified out of the range, its behavior will not be supported.
4. When using command <ESC>D to print UPC-A, the character bars will be all in the same
length. The command <ESC>BL will print the start bar and end bar in the same length as that of
guard bars.
4-57
PN: 9001096E
FORMAT
<ESC>BLabbcccn~n ~ <d>n~n
EXAMPLE
Font =
XU
XS
XM
XB
XL
OA
OB
U
S
M
WB
WL
Barcode type : UPC-A, Narrow bar width : 02, Barcode height : 120
Barcode data : 01234567890, Font type : X21, Translation data : 012345678905
<ESC>A
<ESC>V100<ESC>H200<ESC>BLH0212001234567890
<ESC>X21,012345678905
<ESC>Q2
<ESC>Z
OUTPUT
4-58
PN: 9001096E
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 12th check digit of HRI data by using Modulus 10.
4. Refer to the settings in the table below.
5. If a parameter is specified out of the range, its behavior will not be supported.
6. The command <ESC>D with specifying font type to print UPC-A will print the character bars all in
the same length. On the other hand, the command <ESC>BL with font type selection will print the
start bar and end bar in the same length as that of guard bars.
When printing UPC-A with command <ESC>D followed by <font type> data, its HRI can be printed
from under the start/end bar, because the length of them is short. When printing UPC-A with
command <ESC>BL followed by <font type> data, character spacing of the HRI will be smaller than
command <ESC>BL because the length of start and end bars is longer.
4-59
PN: 9001096E
Specifies UPC-A barcode with HRI characters. The start and end bar height will be the same
length as that of guard bars.
FORMAT
<ESC>BMabbcccn~n
EXAMPLE
Barcode type : UPC-A, Narrow bar width : 02, Barcode height : 120, Print data : 20123948573
<ESC>A>
<ESC>V240<ESC>H100<BM>H0212020123948573
<ESC>Q2
<ESC>Z
OUTPUT
4-60
PN: 9001096E
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 characters:
8 dots/mm resolution [02], [03]
12 dots/mm resolution [03], [04]
3. Refer to the following settings.
Barcode setting
Guard bar
HRI
Ratio
Yes
Yes
Fixed
4. If a parameter is specified out of the range, its behavior will not be supported.
5. The command <BD> with specifying font type to print UPC-A will print the character bars all in
the same length. On the other hand, the command <BM> will print the start bar and end bar in
the same length as that of guard bars.
When printing UPC-A with command <BD>, its HRI can be printed from under the start/end bar,
because the length of them is short. When printing UPC-A with command <BML>, character
spacing of the HRI will be smaller than command <BL>.
4-61
PN: 9001096E
POSTNET
FUNCTION
FORMAT
<ESC>BPn...n
n...n
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0120<ESC>BP94089
<ESC>H0100<ESC>V0160<ESC>BP123456
<ESC>H0100<ESC>V0200<ESC>BP123456789
<ESC>H0100<ESC>V0240<ESC>BP12345678901
<ESC>Q1
<ESC>Z
OUTPUT
(4-37)
NOTES
If the number of data digits does not match those listed, the command is ignored. Only numeric data
will be accepted.
Refer to Appendix: Reference Table 18 for additional information.
4-62
PN: 9001096E
To print a bar code with a ratio other than those specified through the standard bar code
commands (B,BD, and D). This is done through individual control of each of the bar code
elements (bars, spaces) as shown above. Remember that this command only applies to the
five bar code types shown.
FORMAT
<ESC>BTabbccddee
a
bb
cc
dd
ee
EXAMPLE
OUTPUT
NOTES
<ESC>A
<ESC>H0050<ESC>V0050<ESC>BT101030103
<ESC>BW03100*1234*
<ESC>Q1
<ESC>Z
(4-38)
This command must be immediately followed by the Bar Code Expansion (<ESC>BW) command.
You may use only one variable ratio bar code per label.
If the data specified in this command is incorrect, the command is ignored and the ratio used will be
based on the previous setting.
4-63
PN: 9001096E
BARCODE EXPANSION
FUNCTION
This command works together with the <ESC>BT command to specify an expansion factor
and the bar code height for the particular symbol being printed.
FORMAT
<ESC>BWabbb
aa
bbb
= Expansion factor by which the width of all bars and spaces will be
increased (01 to 12)
= Bar height by dot (004 to 999 dots)
Place immediately following the <ESC>BT command and preceding data to be encoded.
EXAMPLE
<ESC>A
OUTPUT
(4-39)
NOTES
This command must be preceded by the Variable Ratio Bar Codes (<ESC>BT) command.
<ESC>H0050<ESC>V0050<ESC>BT101030103
<ESC>BW04100*1234*
<ESC>Q1
<ESC>Z
The following bar codes will be affected by the Character Pitch command: Codabar, Code 39,
Interleaved 2 of 5, Matrix 2 of 5.
Refer to Appendix: Reference Tables 19 and 20 for additional information.
4-64
PN: 9001096E
FORMAT
<ESC>EUaabbbn...n
a
= 1D barcode symbology
Format 1
01: RSS-14
02: RSS-14 Truncated (13 digits maximum)
03: RSS-14 Stacked (13 digits maximum)
04: RSS-14 Stacked Omni-directional (13 digits maximum)
05: RSS Limited (13 digits maximum)
07: UPC-A (11 digits maximum)
08: UPC-E (10 digits fixed)
09: EAN13 (12 digits maximum)
10: EAN8 (7 digits maximum)
Format 2
11: UCC/EAN128 with CC-A/B (48 digits maximum)
12: UCC/EAN128 with CC-C (48 digits maximum)
EXAMPLE
<ESC>H100<ESC>V100
<ESC>EU0104036123456789011990102
<ESC>Q1
<ESC>Z
OUTPUT
(4-40)
(01)
(02)
(03)
(04)
(05)
(07)
(08)
(09)
(10)
(11)
(12)
4-65
PN: 9001096E
Both Formats
The parameter feature varies depending on 1D barcode symbology. The parameter for barcode height
is only designable for UCC/EAN128 (EU11, EU12).
The print data parameter can accept up to 120 digits for 1D and 2D data. For 2D data, when 1D
barcode symbology and alphanumeric are mixed, the designable data quantity may vary.
The entire composite symbol size changes depending on the specification of minimum bar width.
If the composite symbol exceeds the printable area, only the portion located within the area will print;
however, a scanner may occasionally read such a composite symbol.
If the value in 1D barcode symbology is not set to the data portion, the composite symbol will not print.
This command does not support the RSS Expand command.
Print of HRI cannot be designated with this command.
Rotation <ESC>% is available, but Enlargement <ESC>L is disabled.
Format 2
Barcode height (c) is specified when Minimum Bar Width is 01. For instance, if setting Minimum Bar
Width to 03 and Barcode Height is 100, the Barcode Height will be 300 dots.
To specify the print of composite symbol, delimit 1D and 2D data with I (7Ch). Use # (23h) to specify
FNC1 (GS) of CC-C for PDF417) as data.
4-66
PN: 9001096E
2D CODE COMMANDS
PDF417
FUNCTION
FORMAT
<ESC>BKaabbcddeeffffg~g, h
a
= Security Level (0 to 8)
EXAMPLE
OUTPUT
(4-41)
NOTES
The minimum module width can be set to 01 and 02; however, it may not read properly. 01, 02, and 03
are designable for minimum module height and may cause a reading problem.
If specifying 00 for Number of Data Code Words per Digit and Digit Number per Symbol, the size of
height to width (aspect ratio) will be at 1:2 based on the number of print data.
If increasing the security level, it is necessary to specify a higher value for Digit Number per Symbol or
Number of Data Code Words per Digit.
The maximum Digit Number of Data is 2681; however, it may vary depending on the specification of
minimum module size, security level, and print data type.
If the specification of parameter or number of data is not matching, printing will not be properly
performed.
Refer to Appendix: Reference Table 21 and 22 for additional information.
4-67
PN: 9001096E
QR CODE
FUNCTION
FORMAT
= Concentration mode
0: Normal mode
1: Concentration mode
= Character mode
1: Number mode
2: Alphanumeric mode
3: Binary mode
= Data
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>BQ3010,112345
<ESC>Q1
<ESC>Z
OUTPUT
(4-42)
NOTES
Carry out XOR logic operation of all the partitioned print data of the QR code and then, specify this
operation data in hexadecimal character. This is referred to as Parity Data.
When the character mode is set to other than binary mode, it is not necessary to set the data number
parameter.
Refer to Appendix: Reference Tables 23, 24, 25, and 26 for additional information.
4-68
PN: 9001096E
MAXI CODE
FUNCTION
FORMAT
= Mode
2:
3:
4:
6:
EXAMPLE
<ESC>A<ESC>V0100<ESC>H0100
<ESC>BV1,1,2,123456789,840,001,[)<RS>01<GS>961Z01547089<GS>UPSN
<GS>056872<GS>348<GS>99999999<GS>001/005
<GS>029<GS>N<GS><GS>LENEXA<GS>KS<RS><EOT>
<ESC>Q1
<ESC>Z
OUTPUT
(4-43)
NOTES
For mode 2, specify up to 9 numeric digits; and for mode 3, specify fixed 6 digits (alphanumeric - use
English capital letters). 00H cannot be specified for print data.
Refer to Appendix: Reference Table 27 for additional information.
4-69
PN: 9001096E
FORMAT
<ESC>BXaabbccddeeeffffghh
a
ECC000
ECC050
ECC080
ECC100
ECC140
ECC200
= Mirror Image
0: Normal Image (standard print)
1: Mirror Image
EXAMPLE
<ESC>A
<ESC>V0100<ESC>H0100
<ESC>BX05051010000000001
<ESC>DCDATA MATRIX DATA MATRIX
<ESC>Q1
<ESC>Z
OUTPUT
(4-44)
NOTES
If 20 is specified for Error Correction Level, the specification of Format ID, Mirror Image, and Size of
Guide Cell will be ignored.
01 and 02 are designable for Cell Width and Cell Pitch; however, they may not read properly. In this
case, 00 will be an error.
If 000 is specified for Number of Cells per Line and Number of Cell Lines, optimum matrix size is
automatically set based on the number of data.
The thickness of normal type guide cell is 01.
Refer to Appendix: Reference Table 28 for additional information.
4-70
PN: 9001096E
FORMAT
<ESC>DC
n
= Print data
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>BX05051010000000001
<ESC>DC1234567890
<ESC>Q1
<ESC>Z
OUTPUT
NOTES
4-71
PN: 9001096E
FORMAT
<ESC>FX
a
= Flag of increase/decrease
+: Increase
-: Decrease
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>FX001+001005003
<ESC>BX011002020000000001
<ESC>DC00006000
<ESC>Q1
<ESC>Z
OUTPUT
Label Set 1:
(4-45a)
Label Set 2:
(4-45b)
NOTES
4-72
PN: 9001096E
2D10 (PDF417)
FUNCTION
FORMAT
<ESC>2D10,aa,bb,c,dd,ee,(f)
<ESC>DNmmmm,n...n
= Security level (0 to 8)
= Code type
0: Normal (if digit is omitted, the default is zero)
1: Truncated scale
= Print data
EXAMPLE
Example - Minimum module width: 03 dots, Minimum module height: 09 dots, Security level:
3, Words per line: 03, Lines per symbol: 18, Code type: Truncated.
<ESC>A
<ESC>V100<ESC>H100
<ESC>2D10,03,09,3,03,18,1
<ESC>DN0010,0123456789
<ESC>Q2
<ESC>Z
OUTPUT
(4-46a)
NOTES
Set the PDF417s base reference point for printing with Vertical Print Position <ESC>V and Horizontal
Print Position <ESC>H (<ESC>V100<ESC>H200<ESC>2D10****).
(4-46b)
When d=e=00, the size of height to width (aspect ratio) will be at 1:2. If the specification of d, e and
the data quantity do not match, printing will not be properly performed. If increasing the security level, it
is necessary to specify a higher value for d and e. The minimum mode width can be set to 01 and
02; however, this may not be properly read. 01, 02, and 03 are designable for minimum module height;
however, a reading problem may result.
Sequential numbering is disabled with this command and print position cannot be specified by auto
linefeed. Designation of print for 00H-FFH and registration of format are enabled.
Increase the value of minimum module when selecting the higher print quality and increase the value of
security level when setting the read rate higher.
The height of printed characters may vary.
4-73
PN: 9001096E
FORMAT
<ESC>2D12,aa,bb,c,dd,(e)
<ESC>DNmmmm,n...n
= Binary mode
0: Normal (if digit is omitted, the default is zero)
1: Binary
= Print data
EXAMPLE
Example - Minimum module width: 02 dots, Minimum module height: 04 dots, Words per
line: 01, Lines per symbol: 14.
<ESC>A
<ESC>V100<ESC>H100
<ESC>2D12,02,04,1,14
<ESC>DN0010,0123456789
<ESC>Q2
<ESC>Z
OUTPUT
(4-47)
NOTES
4-74
PN: 9001096E
FORMAT
<ESC>2D20,a(,bbb,ccc,d...d)
a
= Mode
2:
3:
4:
6:
<ESC>DNmmmm,n...n
= Postal code
Mode 2 (0 to 999999999, numeric only)
Mode 3 (000000 to 999999, alpha-numeric with capital letters)
= Print data
EXAMPLE
Example - Mode: Delivery only (numeric), Service class: 003, Country code: 081, Postal
code: 123456789.
<ESC>2
<ESC>V100<ESC>H100
<ESC>2D20,2,003,081,123456789
<ESC>DN0010,0123456789
<ESC>Q2
<ESC>Z
OUTPUT
(4-48)
NOTES
Enter parameters for b, c, and d when selecting modes 2 or 3, omit them when selecting modes 4 or 6.
Modes 2 & 3: 123 maximum numeric print data, 84 alphanumeric.
Modes 4 & 6: 138 maximum numeric print data, 93 alphanumeric.
The size of Maxi code printed will not be affected by data quantity.
When designating a parameter other than specified or when the print data size does not match, printing
will not be performed.
When selecting modes 4 or 6, set data size (m) to 12 to allow the Maxi Code to be read by scanner.
Refer to Appendix: Reference Table 32 for additional information.
4-75
PN: 9001096E
FORMAT
<ESC>2D30,a,bb,c,d,(ee,ff,gg)
<ESC>2D31,a,bb,c,d,(ee,ff,gg)
<ESC>DNmmmm,n...n or <ESC>DSk,n...n
<ESC>DNmmmm,n...n or <ESC>DSk,n...n
= Concentration mode
0: Normal
1: Concentration
= Character mode
1: Numeric
2: Alphanumeric
3: Kanji
= Data size
2D30: Model 2 (1 to 2953 bytes)
2D31: Model 1 (1 to 486 bytes)
= Print data
EXAMPLE
Example - Error correction level: 7%, Cell size: 05, Data setting mode: manual,
Concentration mode: normal.
<ESC>A
<ESC>V100<ESC>H200
<ESC>2D31,L,05,0,0
<ESC>DS1,012345
<ESC>Q2
<ESC>Z
OUTPUT
(4-49)
4-76
PN: 9001096E
Enter parameters for e, f, and g when selecting 1: Concentration (d), omit them when selecting
0: Normal.
Designation of print data will vary do to the setting of parameter c.
Parameter e allows specification/connection of QR Codes that were partitioned by concentration mode.
Parameter f allows specification of a specifically partitioned QR Code.
Parameter g carries out XOR logic operation of all partitioned print data of the QR Code, then specifies
this operational data in hexadecimal character (parity data).
Parameter k is to only be set if selecting data setting mode as 0: Manual. Binary specification is
available for this setting and its data designation command varies.
Parameter m is to only be set if XXXXXXXXXXXXXXXXXXXXXXXX
When designating a parameter other than specified or when the print data quantity does not match,
printing will not be performed.
For data portion, data designation command varies depending on the parameter setting or the data
selected.
Data Setting 1: Auto or for binary 0: Manual = <ESC>DNmmmm,n...n.
Data Setting for parameters other than binary in 0: Manual =
<ESC>DS1,n...n (Numeric)
<ESC>DS2,n...n (Alphanumeric)
<ESC>DS3,n...n (Kanji)
Enter parameters followed by data. When entering more data, specify the data consecutively or printing
will not be properly performed.
The total print data size (n) is to 7000 bytes. The maximum data blocks that can be entered is 200.
Refer to Appendix: Reference Tables 33 and 34 for additional information.
4-77
PN: 9001096E
FORMAT
<ESC>2D32,a,bb,c
<ESC>DNmmmm,n...n or <ESC>DSk,n...n
= Character mode
1: Numeric
2: Alphanumeric
3: Kanji
= Print data
EXAMPLE
OUTPUT
(4-50a)
4-78
PN: 9001096E
Binary specification is available for parameter k - its data designation command will vary.
Set parameter m when selecting binary.
When designating a parameter other than specified or when the print data quantity does not match,
printing will not be performed.
For data portion, data designation command varies depending on the parameter setting or the data
selected.
Data Setting 1: Auto or for binary 0: Manual = <ESC>DNmmmm,n...n.
Data Setting for parameters other than binary in 0: Manual =
<ESC>DS1,n...n (Numeric)
<ESC>DS2,n...n (Alphanumeric)
<ESC>DS3,n...n (Kanji)
Enter parameters followed by data. When entering more data, specify the data consecutively or printing
will not be properly performed.
The total print data size (n) is to 7000 bytes. The maximum data blocks that can be entered is 200.
Refer to Appendix: Reference Tables 35, 36, and 37 for additional information.
4-79
PN: 9001096E
FORMAT
<ESC>2D50,aa,bb,ccc,ddd
<ESC>DNmmmm,n...n
= Print data
Specify 7EH, 00H when printing 00H
Specify 7EH, 7EH when printing 7EH
EXAMPLE
OUTPUT
(4-51)
NOTES
When designating a parameter other than specified or when the print data quantity does not match,
printing will not be performed.
When selecting the print format, leave more than 2mm margin around Data Matrix to be properly read
by scanner.
Data Format - Numeric: 3116, Alphanumeric: 2335, Binary (01H-FFH): 1556.
Refer to Appendix: Reference Table 38 for additional information.
4-80
PN: 9001096E
SYSTEM COMMANDS
PRINT SPEED
FUNCTION
To specify a unique print speed through software for a particular label. This allows flexibility
in finding the best performance and quality for the particular label format, media, and ribbon.
FORMAT
<ESC>CSa
a
Place immediately after <ESC>A and immediately before <ESC>Z in a separate data
stream.
Refer to the product manual for specific print speed increments.
EXAMPLE
OUTPUT
NOTES
This becomes the new setting for all subsequent print jobs, unless changed. All subsequent labels will
print at this speed unless the speed is changed with this command or through the Operator Panel.
The setting is stored in non-volatile memory and is not affected by cycling the power.
4-81
PN: 9001096E
PRINT DARKNESS
FUNCTION
To specify a new print darkness setting through software control for unique media and ribbon
combinations.
FORMAT
<ESC>#Ea
a
Must be placed immediately after <ESC>A and immediately before <ESC>Z in its own
separate data stream.
Refer to the product manual for specific print speed increments.
EXAMPLE
<ESC>A
<ESC>#E2
<ESC>Z
OUTPUT
NOTES
This becomes the new setting in the printer configuration for all subsequent print jobs unless changed.
The setting is stored in non-volatile memory and is not affected by cycling power. The lightest setting is
the smallest value and the darkest setting is the largest value.
4-82
PN: 9001096E
To establish a new base reference point for the current label. The base reference point is the
top left corner or origin from where all print position commands are based. This command
may be very helpful when using labels less than four inches wide to place images on the
printable label surface. It may also be used to move images past preprinted fields on a label.
FORMAT
<ESC>A3H-aaaa-Vbbbb
-
aaaa
bbbb
Place preceding all images based on the new base reference point.
EXAMPLE
<ESC>A
<ESC>L0202
<ESC>H0025<ESC>V0025<ESC>WB0MNORMAL REFERENCE POINT
<ESC>A3H0300V0075
<ESC>H0100<ESC>V0050<ESC>WB0MNEW REFERENCE POINT
<ESC>Q1
<ESC>Z
OUTPUT
(4-52a)
(4-52b)
4-83
PN: 9001096E
Use of this command will set the printers Vertical/Horizontal Offset configuration until a new Base
Reference Point command is issued or the setting is changed from the operator panel.
This command may be used more than once in a print job.
An alternative to using this command is to make changes to your current Horizontal and Vertical Print
Position commands.
Example: If the current base reference point is H=1, V=1 and you wish to move all the fields on your
label downward vertically by 150 dots. You could either, (1) add the Base Reference Point command or,
(2) change all the vertical position commands by an additional 150 dots.
For a more detailed example of the Base Reference Point command, refer to the Introduction unit.
The printer will not wrap if any part of a character or image extends beyond the last print dot position.
It will disappear and not be visible on any part of the label.
4-84
PN: 9001096E
Specifies the print area to be standard height of 178 mm or enlarged to 356 mm.
FORMAT
<ESC>AR
<ESC>AX
EXAMPLE
<ESC>A
<ESC>AR
<ESC>Z
OUTPUT
(4-53)
NOTES
4-85
PN: 9001096E
FORMAT
<ESC>EP
Place after <ESC>A within the data stream.
EXAMPLE
<ESC>A
<ESC>EP
<ESC>Z
OUTPUT
NOTES
Specify as a set with Label Size command <ESC>A1 and only valid when sensor is disabled.
(4-54)
4-86
PN: 9001096E
CUT, JOB
FUNCTION
Regulates label cutting when using a cutter assembly with the printer. This command allows
the cutting of a multi-part tag or label at a specified interval within a print job.
FORMAT
<ESC>~aaaa
aaaa
EXAMPLE
<ESC>A
<ESC>H0020<ESC>V0020<ESC>XB1ABC<ESC>Q3
<ESC>~0002
<ESC>Z
OUTPUT
This set of commands will print 6 labels (3 x 2) with two labels between each cut.
(4-55)
NOTES
The optional label cutter must be installed and the printer configured for its use for this function to be
valid. If the cut value is (a = 0), the cutter is inactive.
A ~ (tilde) character or <NUL> (ASCII 00 Hex) character can be used in this command. It is
recommended that the ~ be used whenever possible.
When using the Cutter command, the total number of labels printed is the product of the cut value and
the print quantity.
4-87
PN: 9001096E
MULTIPLE CUTS
FUNCTION
Cuts a specified quantity of time for a specified quantity of labels resulting in one or more
labels between each cut sequence.
FORMAT
<ESC>~(NULL)aaaa
a
EXAMPLE
<ESC>A
<ESC>V100<ESC>H200<ESC>P2<ESC>L0202<ESC>XMABC
<ESC>Q4
<ESC>~2
<ESC>Z
OUTPUT
(4-56)
NOTES
4-88
PN: 9001096E
CUT, LABEL
FUNCTION
Regulates label cutting when using a cutter assembly with the printer. This command allows
the cutting of a multi-part tag or label at a specified interval within a print job. It differs from
the <ESC>~ Cut Job command in that it does not interact with the quantity command.
FORMAT
ESC>~Aaaaa
aaaa
EXAMPLE
This set of commands will print seven labels with two labels between each cut. One label will
be cut separately.
OUTPUT
(4-57)
NOTES
The optional cutter assembly must be installed and enabled to use this function.
If the cutter option has been enabled in the printer configuration and the cut value is (a = 0), the cutter
is inactive.
This command is independent of the <ESC>Q Quantity command. It will cut the specified number of
labels.
4-89
PN: 9001096E
CUT, LAST
FUNCTION
Regulates label feed and cutting when using a cutter assembly with the printer. This
command allows the cutting of a printed multi-part tag or label that is left in the printer after a
job is cut.
FORMAT
<ESC>~B
Place in a separate data stream sent to the printer.
EXAMPLE
<ESC>A
<ESC>~B
<ESC>Z
OUTPUT
This command will feed the last printed label to the cut position, cut the label and then back
feed to the head position in preparation for printing the next job.
(4-58)
NOTES
4-90
PN: 9001096E
TEAR-OFF CORRECTION
FUNCTION
FORMAT
<ESC>CBabb
a
= Increment or Decrement
+: Increment
- : Decrement
bb
EXAMPLE
<ESC>A
<ESC>CB+19
<ESC>Z
OUTPUT
NOTES
1. If the command <ESC>CB-02 is executed after <ESC>CB+06, the tear-off position becomes -2 mm.
2. Maximum setting value is 98 mm. Values larger than that will be indicated as 98 mm.
3. Setting range is from -5 mm to 98 mm.
4. Setting value is effective after powering off the printer.
5. Current setting value will be printed in the TearOffset section of factory test print (2nd label).
4-91
PN: 9001096E
SENSOR SELECTION
FUNCTION
FORMAT
<ESC>CIa
a
Sensor type
0 : Sensor is not used
1 : I-mark (CX-compatible)
2 : Transmissive
Default value is 2.
EXAMPLE
<ESC>A
<ESC>CI1
<ESC>Z
OUTPUT
NOTES
4-92
PN: 9001096E
SERIAL PORT
FUNCTION
FORMAT
<ESC>CRaaaaa,b,c,d
EXAMPLE
aaaaa
Baud rate
9600 : 9600bps
19200 : 19200bps
38400 : 38400bps
Parity
N : Non parity
O : Odd number
E : Even number
Data bit
7 : 7Bit
8 : 8Bit
Stop bit
1 : 1Bit
2 : 2Bit
<ESC>A
<ESC>CR9600,N,8,1
<ESC>Z
OUTPUT
NOTES
4-93
PN: 9001096E
RIBBON
FUNCTION
FORMAT
<ESC>CPa
a
= Ribbon type
0 : Direct thermal (Ribbon is not required)
1 : Thermal transfer (Ribbon is required)
EXAMPLE
<ESC>A
<ESC>CP1
<ESC>Z
OUTPUT
NOTES
4-94
PN: 9001096E
FORMAT
<ESC>CTaaaa
EXAMPLE
<ESC>A
<ESC>V100<ESC>H200<ESC>P2<ESC>L0202<ESC>X22,ABC
<ESC>CT2
<ESC>Q7
<ESC>Z
OUTPUT
(1) Normal (complete) cut mode
Left on printer
Complete
cut
ABC
ABC
ABC
ABC
ABC
ABC
2 pcs
Complete
cut
Complete
cut
Complete
cut
ABC
CT
7 pcs
Q
Feed direction
NOTES
4-95
PN: 9001096E
INTERFACE
FUNCTION
FORMAT
<ESC>DI
a
= Interface
0: USB
1: RS-232C / LAN / IEEE1284
2: Keypad
3: Scanner / Smart keyboard
EXAMPLE
<ESC>A
<ESC>DI0
<ESC>Z
OUTPUT
NOTES
1. Set this command between start code <ESC>A and stop code <ESC>Z.
2. This command will be valid after rebooting.
3. Set <ESC>DI2 to use Keypad. Only in this case, connection with Keypad will be checked and
supplied with power. While powering to Keypad, connection check will be executed at fixed intervals
and the printer stops supplying power when disconnected. Connection check will not be done after
that.
4-96
PN: 9001096E
MEDIA EJECTION
FUNCTION
Enables forward and backfeed motion for cutting and printing. Applicable to the XL4e printer
series, and to the TG308e/TG312e.
FORMAT
<ESC>EJ
Place in a separate data stream sent to the printer.
EXAMPLE
<ESC>A
<ESC>EJ
<ESC>Z
OUTPUT
(4-59)
NOTES
4-97
PN: 9001096E
FORMAT
<ESC>EXa
a
EXAMPLE
<ESC>A
<ESC>EX0
<ESC>ESCZ
OUTPUT
Model
CL408e
M-8400RVe
CL608e
M-5900RVe
CL412e
CL612e
M-10e
XL400e
XL410e
M-8485Se
M-8460Se
M-8459Se
M-8490Se
M-84Pro-2
M-84Pro-3
M-84Pro-6
Print Resolution
(Head Density)
Standard
Standard Enlargement
<EX>0
203dpi
8dot/mm
1424dot
(178mm)
1424dot
(178mm)
2848dot
(356mm)
9999dot
(1249mm)
305dpi
12dot/mm
305dpi
12dot/mm
203dpi
8dot/mm
305dpi
12dot/mm
2136dot
(178mm)
3600dot
(300mm)
2400dot
300mm
2880dot
(240mm)
2136dot
(178mm)
3600dot
(300mm)
4272dot
(356mm)
4188dot
(349mm)
9999dot
(833mm)
5040dot
(420mm)
9999dot
(1249mm)
9999dot
(833mm)
203dpi
(8dot/mm)
1424dot
(178mm)
1424dot
(178mm)
2848dot
(356mm)
9999dot
(1249mm)
305dpi
12dot/mm
203dpi
(8dot/mm)
305dpi
12dot/mm
609dpi
(24dot/mm)
2136dot
(178mm)
1424dot
(178mm)
2136dot
(178mm)
4272dot
(178mm)
2136dot
(178mm)
1424dot
(178mm)
2136dot
(178mm)
4272dot
(178mm)
4272dot
(356mm)
2848dot
(356mm)
4272dot
(356mm)
8544dot
(356mm)
9999dot
(833mm)
9999dot
(1249mm)
9999dot
(833mm)
The data inside parentheses ( ) is the value converted from dots to mm. The value was rounded off to the whole number (in order to
avoid the use of the decimal point).
NOTES
1. It cannot be used together with Internal Memory Register Data (Form Overlay Register,
Foreign Character Register)
2. When you specify slot at Memory Area Enlarge Specification <ESC>EX, specify it first
after printer power is switched On.
3. Standard Print Area Specification <ESC>AR and Enlargement Print Area <ESC>AX
become invalid.
4. If the number 1 is specified as parameter, print area will be enlarged at the internal
memory.
4-98
PN: 9001096E
FORMAT
<ESC>FM
a
= User ID =
Up to 8 bytes in alphanumeric and symbols
Place this command between <ESC>A start code and <ESC>Z stop code.
EXAMPLE
<ESC>A>
<ESC>CC1
<ESC>FMSATO
<ESC>Z
OUTPUT
NOTES
1. Make sure to specify the card slot number to be used for the <ESC>CC command before the
<ESC>FM command.
2. The <ESC>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 data loss.
4-99
PN: 9001096E
FORMAT
<ESC>FP
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>FP
<ESC>Z
OUTPUT
NOTES
1. This command is used to print the memory card status and cannot be used in combination with other
commands.
2. The status can be checked with the media of width 56 mm and height 90 mm.
4-100
PN: 9001096E
OFFLINE/PAUSE
FUNCTION
Specifies when, and under what circumstances, the printer goes into an off-line state. When
used within a print job, the printer goes off-line after finishing the print job.
FORMAT
<ESC>@,nn . . . n
nn...n
EXAMPLE
<ESC>A
<ESC>@, LOAD BLUE LABELS AND PLACE PRINTER ON-LINE
...Job...
<ESC>Z
OUTPUT
This command does not result in printer output. The printer is placed in the Off-Line mode as
soon as the current print job is finished.
NOTES
When using this command and the print job specifies <ESC>Q10, all ten labels will print before the
printer goes off-line. Press the LINE key to return the printer to an on-line status.
4-101
PN: 9001096E
ONLINE
FUNCTION
FORMAT
<ESC>OL
EXAMPLE
<ESC>A
<ESC>OL
<ESC>Z
OUTPUT
NOTES
4-102
PN: 9001096E
AUTO ONLINE
FUNCTION
To allow the printer to power up in the Online mode ready to receive data.
FORMAT
<ESC>AOa
a
Place in a separate command stream before label data is transmitted to the printer.
EXAMPLE
<ESC>A
<ESC>AO1
<ESC>Z
OUTPUT
NOTES
This command can also be set using the LCD panel. The last setting received, whether it is via this
command or manually input via the LCD panel will be active.
The printer default setting can be set by user download.
4-103
PN: 9001096E
REPEAT LABEL
FUNCTION
FORMAT
<ESC>C
Place immediately after <ESC>A and immediately before <ESC>Z in a separate data
stream.
EXAMPLE
<ESC>A
<ESC>C
<ESC>Z
OUTPUT
NOTES
This command will not have an effect if the printers power is cycled off and back on since printing the
previous label.
4-104
PN: 9001096E
EEPROM SETUP
FUNCTION
FORMAT
<ESC>PG
Place immediately after <ESC>A.
EXAMPLE
<ESC>A
<ESC>PG
<ESC>Z
OUTPUT
NOTES
This command is not necessary with normal label printing. The operational settings specified are still in
effect after powering off the printer.
Refer to Appendix: Reference Tables 40, 41, 42, and 43 for additional information.
FORMAT
<ESC>PC
Place immediately after <ESC>A.
EXAMPLE
<ESC>A
<ESC>PC26,1
<ESC>Z
OUTPUT
NOTES
Go to the Advanced Mode or Service Mode for configuration. These command setting will remain in
effect after powering off the printer.
The entire or partial parameter entries is omissible by using commas for total settings. Any commas
that are omitted will result in those settings remaining as default.
Refer to Appendix: Reference Tables 44, 45, 46, and 47 for additional information.
4-105
PN: 9001096E
SENSOR TYPE
FUNCTION
FORMAT
<ESC>IGa
a
EXAMPLE
<ESC>A
<ESC>IG1
<ESC>Z
OUTPUT
NOTES
When the power is cycled, the value set by this command is lost and replaced by the default value
stored in the EEPROM.
To change the value stored in the EEPROM, use the Printer Setting (<ESC>PC) command.
The sensor type may also be set by the use of DSW2-2. The setting priority is determined by the
priority setting in the LCD,
4-106
PN: 9001096E
IEEE1284
FUNCTION
FORMAT
<ESC>I1abbb
a
EXAMPLE
<ESC>A
<ESC>I10010
<ESC>Z
OUTPUT
NOTES
1. It is not necessary to use this IEEE1284 <ESC>I1 command under normal conditions.
2. The set parameter by this command will become valid after rebooting.
4-107
PN: 9001096E
SERIAL INTERFACE
FUNCTION
FORMAT
<ESC>I2abcde
a
= BAUD rate:
0 = 9600bps
1 = 19200bps
2 = 38400bps
3 = 57600bps
= Data bit
0 = 8bit
1 = 7bit
= Parity
0 = No parity
1 = Odd
2 = Even
= Stop bit
0 = 1bit
1 = 2bit
= Control
0 = READY/BUSY control (Single item buffer)
1 = READY/BUSY control (Multi item buffer)
2 = XON/XOFF
3 = Driver protocol
4 = Status 3
Place this command between <ESC>A start code and <Z> stop code..
EXAMPLE
<ESC>A
<ESC>I210003
<ESC>Z
OUTPUT
NOTES
4-108
PN: 9001096E
LAN INTERFACE
FUNCTION
FORMAT
<ESC>I3
a
= LAN mode
0 : 2 port connection/unsolicited (for driver protocol)
1 : 2 port connection /solicited by ENQ (for driver protocol)
2 : 1 port connection /solicited by ENQ (STATUS3)
EXAMPLE
<ESC>A
<ESC>I30
<ESC>Z
OUTPUT
NOTES
4-109
PN: 9001096E
FORMAT
<ESC>NC (EJ)
EXAMPLE
<ESC>A
<ESC>NC (EJ)
<ESC>Z
OUTPUT
(1)
(2)
(3)
(4)
(5)
Feed direction
NOTES
4-110
PN: 9001096E
FORMAT
<ESC>PHa
a
EXAMPLE
<ESC>A
<ESC>PH1
<ESC>Z
OUTPUT
NOTES
When the power is cycled, the value set by this command is lost and replaced by the default value
stored in the EEPROM.
To change the value stored in the EEPROM, use the Printer Setting (<ESC>PC) command or use the
Printer Setting Utility program contained on the CD-ROM shipped with the printer.
4-111
PN: 9001096E
FORMAT
<ESC>PMa
a
= 0:
1:
7:
8:
Continuous
Tear-Off
Dispense, backfeed after print
Dispense, backfeed before print
EXAMPLE
<ESC>A
<ESC>PM1
<ESC>Z
OUTPUT
NOTES
When the power is cycled, the value set by this command is lost and replaced by the default value
stored in the EEPROM.
To change the value stored in the EEPROM, use the Printer Setting (<ESC>PC) command or use the
Printer Setting Utility program contained on the CD-ROM shipped with the printer.
4-112
PN: 9001096E
LINE FEED
FUNCTION
To print multiple lines of the same character size without specifying a new print position for
each line.
FORMAT
<ESC>Eaaa
aaa
Place preceding the text that will use the line feed function.
EXAMPLE
<ESC>A
<ESC>E010<ESC>H0050<ESC>V0050<ESC>L0202<ESC>S
THIS IS THE 1ST LINE<CR>
THIS IS THE 2ND LINE<CR>
THIS IS THE 3RD LINE<CR>
<ESC>Q1<ESC>Z
OUTPUT
(4-60)
NOTES
With the Line Feed (<ESC>E) command, specify the number of dots you want between each line.
Then, send an ASCII <ESC>CR at the end of each line of text. The printer automatically identifies the
size of the last character, moves down the number of dots specified, and begins printing the next line.
It is effective only for the current data stream.
When printing lines or boxes in the same data stream with the Line Feed command, the Lines and
Boxes command should be specified last, preceding Quantity (<ESC>Q) command.
This command is invalid only if the value specified is zero.
Following this command with a <ESC>CR character will allow printing with auto line feed. The print
position will be determined from the value specified and the H value set in the printer. If several H
values are specified after this command, the print position will be determined by the H value last
specified. The font to be used must be redefined after each H command.
4-113
PN: 9001096E
USER DOWNLOAD
FUNCTION
FORMAT
<ESC>LDa,
a
EXAMPLE
<ESC>A
<ESC>LD,{,},%,#,&,*,~,0,0,D5
<ESC>Z
OUTPUT
A Protocol Command code status label will be printed as a result of the successful download
of a custom set of Protocol Command codes.
(4-61)
NOTES
Commas must be used to separate the parameters. If a parameter is omitted between two commas,
the default Non-Standard Protocol Command codes for that parameter will be used. If more or less
than 10 commas is included in the command, the entire command sequence will be ignored. If a
combination of characters are outside the hexadecimal range, the entire command sequence will be
ignored.
Downloading Auto Online and Zero Slash settings will overwrite the values selected using the LCD
panel. If these settings are changed using the LCD panel, they will overwrite any previously
downloaded settings.
Refer to Appendix: Reference Table 48 for additional information.
4-114
PN: 9001096E
REPRINT CONFIGURATION
FUNCTION
FORMAT
<ESC>RPa
a
EXAMPLE
<ESC>A
<ESC>RP0
<ESC>Z
OUTPUT
NOTES
This function may also be set through the LCD and is not disclosed to users.
4-115
PN: 9001096E
LANGUAGE
FUNCTION
FORMAT
<ESC>LAa
a
EXAMPLE
<ESC>A
<ESC>LA0
<ESC>Z
OUTPUT
NOTES
4-116
PN: 9001096E
CR/LF DELETION
FUNCTION
FORMAT
<ESC>CLa
a
EXAMPLE
<ESC>A
<ESC>CL1
<ESC>Z
OUTPUT
NOTES
This function may be set through the LCD and is not disclosed to users.
4-117
PN: 9001096E
ZERO SLASH
FUNCTION
FORMAT
<ESC>LHa
a
EXAMPLE
<ESC>A
<ESC>LH0
<ESC>Z
OUTPUT
NOTES
This command can also be set using the LCD panel. The last setting received, whether it is via this
command or manually input via the LCD panel will be active.
4-118
PN: 9001096E
ONLINE FEED
FUNCTION
FORMAT
<ESC>LFa
a
Place in a separate command stream before label data is transmitted to the printer.
EXAMPLE
<ESC>A
<ESC>LF0
<ESC>Z
OUTPUT
NOTES
This command can also be set using the LCD panel. The last setting received, whether it is via this
command or manually input via the LCD panel will be active.
The printer default setting can be set by user download.
4-119
PN: 9001096E
FORMAT
<ESC>TWaaa
aaa
EXAMPLE
OUTPUT
NOTES
This command specifies, in Tear-off mode, the waiting time between print completion and
Tear-off motion.
The set parameter becomes valid soon after receiving the command and will be retained
after power off.
4-120
PN: 9001096E
FORMAT
<ESC>TK
EXAMPLE
<ESC>A
<ESC>TK
<ESC>Z
OUTPUT
NOTES
4-121
PN: 9001096E
TEST PRINTING
FUNCTION
FORMAT
<ESC>TPa
a
0:
1:
2:
3:
EXAMPLE
<ESC>A
<ESC>TP2
<ESC>Z
OUTPUT
NOTES
4-122
PN: 9001096E
To increase the maximum print length (in feed direction) for a label.
FORMAT
<ESC>EX0
<ESC>AR
Must follow the Start Code command within it is own separate data stream.
EXAMPLE
<ESC>A
<ESC>EX0
<ESC>Z
<ESC>A
<ESC>H0050<ESC>V0100<ESC>WB1EXPAND TO:
<ESC>H0050<ESC>V2700<ESC>WB1MAX INCHES
<ESC>Q1
<ESC>Z
<ESC>A
<ESC>AR
<ESC>Z
OUTPUT
(4-62)
NOTES
EX0 is effective until AR is sent to reset the printer to its standard print length, or until the printer is
re-powered.
When this command is used with the Store Form Overlay (<ESC>&) command the form length cannot
exceed the maximum specified.
If a job contains elements out of the memory range, it is ignored.
If the Forms Overlay (<ESC>&) command is used with Expanded Memory to expand the print area, the
Form Overlay length is still limited to the maximum.
Refer to Appendix: Reference Tables 49 and 50 for additional information.
4-123
PN: 9001096E
Specifies the sheet cut quantity for small labels. Only applicable to the M10e printer.
FORMAT
<ESC>RCaa
a
EXAMPLE
<ESC>A
<ESC>RI3200,1200,00,00,1600,0600,02,02
<ESC>A112003200
<ESC>RC01
<ESC>Z
OUTPUT
(4-63)
NOTES
Sheet is a certain range specified under <ESC>A1 when it is divided into small labels under <ESC>R1.
The command <ESC>RC specifies the sheet cut quantity of small labels at the printer driver and
cannot be combined with other standard commands.
4-124
PN: 9001096E
Specifies the quantity of copies of each sheet of small labels. Only applicable to the M10e
printer.
FORMAT
<ESC>RWaa
a
EXAMPLE
<ESC>A
<ESC>RI3200,1200,00,00,1600,0600,02,02
<ESC>A112003200
<ESC>RW01
<ESC>Z
OUTPUT
(4-64)
NOTES
Sheet is a certain range specified under <ESC>R1 when it is divided into small labels under <ESC>A1.
The command <ESC>RW specifies the sheet copy quantity of small labels at the printer driver and
cannot be combined with other standard commands.
4-125
PN: 9001096E
IP ADDRESS SETUP
FUNCTION
FORMAT
<ESC>WIa
a
= IP Address setup
0: Manual setup
1: DHCP
Place this command between <ESC>A start code and <ESC>Z stop code.
EXAMPLE
<ESC>A
<ESC>WI1
<ESC>Z
OUTPUT
NOTES
4-126
PN: 9001096E
RARP
FUNCTION
Specifies if RARP is disabled or enabled. When enabled, RARP will automatically obtain IP
address in start up.
FORMAT
<ESC>WM
a
= RARP
0: Disabled
1: Enabled
Place this command between <ESC>A start code and <ESC>Z stop code.
EXAMPLE
<ESC>A
<ESC>WM1
<ESC>Z
OUTPUT
NOTES
WIRELESS LAN
FUNCTION
FORMAT
<ESC>WZ
Format 1
Item number:
F: All items
D: Default settings
b...z
Format 2
4-127
PN: 9001096E
WIRELESS LAN
FORMAT
Setting items
4-128
PN: 9001096E
WIRELESS LAN
FORMAT
Default settings
Notes:
1. Use the valid subnet address (=consistent with the IP address currently used) for the
default gateway.
2. WPA, WPA2 or Dynamic WEP cannot be used on Ad-hoc mode.
4-129
PN: 9001096E
WIRELESS LAN
EXAMPLE
OUTPUT
4-130
PN: 9001096E
IP ADDRESS SETTING
FUNCTION
Specifies IP address.
FORMAT
<ESC>W1
a~a
Place this command between <ESC>A start code and <ESC>Z stop code..
EXAMPLE
<ESC>A
<ESC>W1123220000040
<ESC>Z
OUTPUT
NOTES
4-131
PN: 9001096E
SUBNET MASK
FUNCTION
FORMAT
<ESC>W2a~a
a~a
Place this command between <ESC>A start code and <ESC>Z stop code.
EXAMPLE
<ESC>A
<ESC>W2255255255000
<ESC>Z
OUTPUT
NOTES
4-132
PN: 9001096E
DEFAULT GATEWAY
FUNCTION
FORMAT
<ESC>W3
a~a
Place this command between <ESC>A start code and <ESC>Z stop code..
EXAMPLE
<ESC>A
<ESC>W3128220001001
<ESC>Z
OUTPUT
NOTES
4-133
PN: 9001096E
Specifies the printing of work shift information (shift name, start time, etc.). Only applicable to
the M8459/60/85/90Se printers.
FORMAT
<ESC>WSa
a
= Print content
1: Shift code
2: Printer use start time
3: Shift name
EXAMPLE
<ESC>A
<ESC>S
<ESC>V050<ESC>H050<ESC>L0101<ESC>MSHIFT CODE:
<ESC>V050<ESC>H300<ESC>L0202<ESC>WS1
<ESC>V100<ESC>H050<ESC>L0101<ESC>MSTART TIME:
<ESC>V100<ESC>H300<ESC>L0202<ESC>WS2
<ESC>WB0
<ESC>V150<ESC>H050<ESC>L0101<ESC>MSHIFT NAME:
<ESC>V150<ESC>H300<ESC>L0101<ESC>WS3
<ESC>Q1
<ESC>Z
OUTPUT
(4-65)
SHIFT CODE: 1
START TIME: 12:02
SHIFT NAME: MORNING
NOTES
If work shift information is set invalid at the printers LCD hidden settings mode, it will become a
command error.
Before the command <ESC>WS, character type to print the work shift information can be specified by
font command without any print data. If font specification command is not conducted, print it by using U
character.
The U, S, M, WB, WL, XU, XS, XM, XB, and XL are valid font types for specification.
The font specification command specifies the character type of <ESC>WS and becomes the default
value at the next item <ESC>A. The font specification comand for print data will not influence on the
print content of <ESC>WS.
4-134
PN: 9001096E
LABEL SPECIFICATION
FUNCTION
FORMAT
<ESC>YEa
a
= Label type
0: Adhesive label
1: Tag
EXAMPLE
<ESC>A
<ESC>YE0
<ESC>Z
OUTPUT
NOTES
To change the setting value that is recorded in the printer, specify <ESC>PG or <ESC>PC commands.
4-135
PN: 9001096E
INTELLIGENT COMMANDS
BATCH SEPARATOR
FUNCTION
To issue a tag with a special marking so that it can easily be divided on the stacker. Only
applicable to the XL400/410e printers.
FORMAT
<ESC>Ia
a
EXAMPLE
<ESC>A
<ESC>I1
<ESC>V100<ESC>H200<ESC>P2<ESC>L0202<ESC>XMABCD
<ESC>Q5
<ESC>Z
OUTPUT
(4-66)
NOTES
When using the divided mark method and <ESC>Q is more than two pieces, place a black divided
mark on the edge of the first piece of label.
When using the separator method and the cut motion is available at the tag (center hold, horizontal
hole, angle R, eye-mark), the tag will be 12mm longer than normal length of the first piece of label and
the second tag wil be 12mm shorter than the first.
This command was formerly called the Divided Motion Specification in this document, prior to Version
E.
4-136
PN: 9001096E
GRAPHIC COMMANDS
GRAPHICS, CUSTOM
FUNCTION
FORMAT
<ESC>Gabbbccc(data)
a
bbb
ccc
(data)
Place anywhere within the data stream after the necessary position commands.
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>GH006006
FFFFFFFFFFFFFFFFFFFFFFFFC00000000003
C00000000003C000FFFFFFF3C00080000013
C00080000013C0009FFFFF13C00080000013
C00080000013C0009FFFFF13C00080000013
C00080000013C000FFFFFFF3C00000000003
C00000000003C00000000003C00000000003
C00000000003C00000000003C00003C00003
C00007E00003C0000FF00003C0000FF00003
C0000FF00003C0000FF00003C00007E00003
C00003C00003C00003C00003C00003C00003
C00003C00003C00003C00003C00003C00003
C00003C00003C00003C00003C00003C00003
C00003C00003C00001800003C00000000003
C00000000003FFFFFFFFFFFFFFFFFFFFFFFF
<ESC>H0300<ESC>V0100<ESC>XSPLEASE PLACE YOUR DISK
<ESC>H0300<ESC>V0150<ESC>XSIN A SAFE PLACE
<ESC>Q1<ESC>Z
OUTPUT
(4-67)
NOTES
Graphic images may be printed along with other data to enhance label appearance or eliminate the
need for preprinted label stock. Using a dot-addressable matrix, design the graphic image in 8 x 8 dot
blocks, then send it in a binary format to the printer.
Do not use <ESC>CR or <ESC>LF characters as line delimiters within graphic data or the actual image
will not be printed as specified. A custom graphic cannot be enlarged by the Character Expansion
<ESC>L command and is not affected by either of the Rotation commands. Always design the graphic
image in the appropriate orientation.
Refer to Appendix: Reference Table 51 for additional information.
4-137
PN: 9001096E
To allow the creation and printing of graphic images using a BMP file format.
FORMAT
<ESC>GMaaaaa,(data)
aaaaa
EXAMPLE
<ESC>A
<ESC>V0100<ESC>H0100<ESC>GM03800,(...Data...)
<ESC>Q1
<ESC>Z
OUTPUT
(4-68)
NOTES
The maximum number of bytes that can be downloaded is 32K (compressed) and includes the BMP
header information. The maximum size of the uncompressed BMP file is 64K. If the uncompressed file
exceeds 64K, the graphic will not print.
Only black and white BMP files can be downloaded.
The file size specified by this command is the DOS file size in bytes.
4-138
PN: 9001096E
To allow the creation and printing of graphic images using a PCX file format.
FORMAT
<ESC>GPaaaaa,(data)
aaaaa
EXAMPLE
<ESC>A
<ESC>V0150<ESC>H0100<ESC>GP03800,(...Data...)
<ESC>Q1
<ESC>Z
OUTPUT
(4-69)
NOTES
The maximum number of bytes that can be downloaded is 32K (compressed). The number specified by
this command includes the PCX header information. The maximum size of the uncompressed PCX file
is 64K. If the uncompressed file exceeds 64K, the graphic will not print.
Only black and white PCX files can be downloaded.
The file size specified by this command is the DOS file size in bytes.
4-139
PN: 9001096E
4-140
PN: 9001096E
OPTIONAL
COMMAND CODES
Calendar Commands
Memory Card Commands
5-1
PN: 9001096E
CALENDAR COMMANDS
CALENDAR PRINTING
FUNCTION
Prints the date and/or time field from the printers internal clock.
FORMAT
<ESC>WA(elements)
Elements
= YYYY:
YY:
MM:
HH:
hh:
mm:
ss:
TT:
JJJ:
WW:
ww:
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>XB1The current date is:
<ESC>XB1<ESC>WAMM/DD/YY
<ESC>H0100<ESC>V0200<ESC>XB1The current time is:
<ESC>XB1<ESC>WAhh:mm
<ESC>Q1<ESC>Z
OUTPUT
NOTES
The date and time elements may be placed in any order for printing. Use slash (/) to separate date
elements and colon (:) to separate time elements. Up to 16 characters are allowed. The font must be
specified prior.
The printers internal clock may be set through the Calendar Set command. This command may be
used up to six times per job.
The Copy (<ESC>WD), Mirror Image (<ESC>RM) or Reverse Image (<ESC>/) commands cannot be
used with this command.
Century ranges are: for year = YY, any year equal to or greater than 80 and less than or equal to 99,
then the century equals 19 for year specified as YYYY=1999, and printed as <ESC>WAYY, will be
equal to 99.
The Julian date is the accumulated day from January 1st to the current date. The first day of the year is
January 1st (001) and the last day of the year is December 31st (365 or 366 for leap years).
The TT command should not be specified for printing in numeric only barcodes.
5-2
PN: 9001096E
CALENDAR INCREMENT
FUNCTION
Prints the date and/or time field from the printers internal clock.
FORMAT
<ESC>WPabbb
a
bbb
= Y: Years
M: Months
W: Week number
D: Days
h: Hours
= Numeric data
Years (0 to 9)
Months (01 to 99)
Weeks (00 to 99)
Days (001 to 999)
Hours (000 to 999)
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>XB1Current Date:
<ESC>WAMM/DD/YY
<ESC>WPM06
<ESC>H0100<ESC>V0200<ESC>XB1Expiration Date:
<ESC>WAMM/DD/YY
<ESC>Q1<ESC>Z
OUTPUT
(5-1)
NOTES
Once the year increments past 99 it will wrap back to 00. This command can only be used once per
data stream.
The printers internal clock may be set through the Calendar Set command.
If a print quantity of more than one label per job is used, the same time and date will be on each label of
the entire print job.
Calendar Increment Example: 1998 January 15 (ww=03) plus 48 weeks = week 51.
The Week Calendar specification follows ISO8601. Days of the week are numbered 1 through 7,
beginning with Monday. The first week of the year is the week containing the first Thursday. If January
1st falls on Friday, it belongs to the last week of the previous year. If December 31st falls on a
Wednesday, it belongs to the first week of the following year. If Calendar Increment calculation extends
over the year, the result belongs to the week number of the following year.
5-3
PN: 9001096E
CALENDAR CONFIGURATION
FUNCTION
FORMAT
<ESC>WTaabbccddee
aa
bb
cc
dd
ee
EXAMPLE
<ESC>A
<ESC>WT9312251300
<ESC>Z
OUTPUT
NOTES
Once the year increments past 99 it will wrap back to 00. This command can only be used once per
data stream.
The printers internal clock may be set through the Calendar Set command.
If a print quantity of more than one label per job is used, the same time and date will be on each label
of the entire print job.
Calendar Increment Example: 1998 January 15 (ww=03) plus 48 weeks = week 51.
The Week Calendar specification follows ISO8601. Days of the week are numbered 1 through 7,
beginning with Monday. The first week of the year is the week containing the first Thursday. If January
1st falls on Friday, it belongs to the last week of the previous year. If December 31st falls on a
Wednesday, it belongs to the first week of the following year. If Calendar Increment calculation extends
over the year, the result belongs to the week number of the following year.
5-4
PN: 9001096E
FORMAT
<ESC>CCa
a
0: Internal (1 fixed)
1: Memory Area 1
2: Memory Area 2
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>Z
OUTPUT
NOTES
Specify this command for memory card function. When the card is not inserted, a card error will occur.
5-5
PN: 9001096E
CARD FORMAT
FUNCTION
FORMAT
<ESC>BJFa
a
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>BJFsatocard
<ESC>Z
OUTPUT
NOTES
5-6
PN: 9001096E
FORMAT
<ESC>*a,
a
Item to be cleared
G: SATO Graphic
P: PCX File
M: BMP File
F: Format
O: True Type Font
R: Form Overlay
Registration number
000 to 999 True Type Font
001 to 999 Except True Type Font
EXAMPLE
<ESC>A
<ESC>*0,09
<ESC>Z
OUTPUT
NOTES
Specify the Card Slot for Use <CC> prior to using this command.
To clear all data of the memory card, use Card Format <BJF>.
5-7
PN: 9001096E
SYSTEM CLEAR
FUNCTION
FORMAT
<ESC>*a
a
Item to be cleared
None: 1 item reception buffer, edit buffer (cannot reprint)
T: Foreign character register area
&: Form overlay
X: All clear
EXAMPLE
<ESC>A
<ESC>*T
<ESC>Z
OUTPUT
NOTES
All data sent prior to <ESC>*X will be cleared, but end data will not be cleared during printing.
If this comand is used, send the next data after 100 milliseconds has transpired.
Print motion will not stop if it is specified during print motion.
If just * is set, all jobs will be cleared.
5-8
PN: 9001096E
FORMAT
<ESC>BJS
Place immediately following <ESC>CC#.
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>BJS
<ESC>Z
OUTPUT
(5-2)
NOTES
This command is for printing the memory card status and cannot be used in combination with other
commands. The status can be chaecked with the label of W68mm and H90mm.
5-9
PN: 9001096E
FORMAT
<ESC>BJRabbccddeeffffgg...g
<ESC>BJT,aa,bb,cc,dd,ee,ffff,gg...g
a
Font ID (0 to 9)
Data
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>BJR1010101000010SATO
<ESC>Q1
<ESC>Z
OUTPUT
(5-3)
NOTES
This command is not valid without an optional memory card. Specify the Card Slot for Use <CC> prior
to using this command.
5-10
PN: 9001096E
FORMAT
Begin download
<ESC>BJ(aa...abb..b
Download
<ESC>BJDcccccddddee...e
End download
<ESC>BJ
a
OUTPUT
NOTES
This command is not valid without an optional memory card. Specify the Card Slot for Use <CC> prior
to using this command.
5-11
PN: 9001096E
FORMAT/FIELD, RECALL
FUNCTION
To recall a field from a stored format and place new data in the field.
FORMAT
<ESC>YR,aa<ESC>/D,bb,cc....c
aa
bb
cc...c
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>YR,02<ESC>/D,01,TWO FIELDS OF <ESC>/D,02,VARIABLE DATA
<ESC>Q1<ESC>Z
OUTPUT
(5-4)
NOTES
5-12
PN: 9001096E
FORMAT/FIELD, STORE
FUNCTION
FORMAT
<ESC>YS,aa<ESC>/N,bb,cc....c
aa
bb
cc...c
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>YS,02<ESC>/N,01,13<ESC>V0100<ESC>H0100<ESC>XB1
<ESC>/N,02,13<ESC>V0200<ESC>H0200<ESC>XB1
<ESC>Z
OUTPUT
There is no printer output as a result of this command. See <ESC>YR Format/Field Recall command.
NOTES
5-13
PN: 9001096E
FORMAT
<ESC>&R,aa
aa
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>&R,01
<ESC>Q1<ESC>Z
OUTPUT
NOTES
5-14
PN: 9001096E
FORMAT
<ESC>&S,aa,bbbb,cccc
aa
bbbb
cccc
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>&S,01
<ESC>Z
OUTPUT
NOTES
The Memory Area Select (<ESC>CC) command must be sent prior to this command.
The label image must be divided from other label images by the <ESC>A and <ESC>Z bounding
commands.
The parameters of bbbb and cccc may be omitted. By specifying them, the label image can be
moved by using the <ESC>V and <ESC>H position commands when recalling the label image. If the
repositioned label image exceeds beyond the printable area, the image wil be truncated. If an
<ESC>A1 Media Size command has been sent to the printer, the maximum size that can be stored is
the size of the label defined in the command.
A label image cannot be stored in a location that already contains data. Graphics, PCX and BMP files
can be stored but their combined size cannot exceed memory.
The forms stored by this command are cleared by the <ESC>*R command.
Refer to Appendix: Table 53 for additional information.
5-15
PN: 9001096E
5-16
PN: 9001096E
FORMAT
<ESC>GCaaa
aaa
EXAMPLE
<ESC>A
<ESC>CC1<ESC>V100<ESC>H100
<ESC>GC001
<ESC>Q1<ESC>Z
OUTPUT
(5-6)
NOTES
The <ESC>CC Memory Area Select command must be sent before this command.
The printed image can be expanded or rotated.
5-17
PN: 9001096E
To store for printing a graphic file in a BMP format in the optional Expanded Memory.
FORMAT
<ESC>GTaaa,bbbbb,nn...n
aaa
bbbbb
nn..n+
Data
Place within its own data stream specifying the placement of the graphic.
EXAMPLE
<ESC>A
<ESC>CC1<ESC>GT001, 12345, nn...n
<ESC>Q1<ESC>Z
OUTPUT
NOTES
This command requires the Expanded Memory Option. See your SATO representative for details.
Data must be sent in binary format.
The Memory Area Select Command <ESC>CCa must be sent before this command.
The first 62 bytes of the stored file is used for the header and the remainder is the BMP image data.
The graphic will not be printed correctly if the specified size does not match the actual graphic size.
Only black and white non-compressed BMP files can be stored. Color BMP files will cause an error.
If you try to store an image in a memory area that already contains data, an error will occur.
5-18
PN: 9001096E
To recall for printing a graphic file previously stored in a PCX format in the Memory Card.
FORMAT
<ESC>PYaaa
aaa
This command must be placed within its own data stream specifying the placement of the graphic.
EXAMPLE
Normal Rotation
<ESC>A<ESC>CC1
<ESC>V0100<ESC>H0050<ESC>PY001
<ESC>Q1<ESC>Z
Rotate Base Reference Point
<ESC>A<ESC>CC1<ESC>%1
<ESC>V0330<ESC>H0160<ESC>PY001
<ESC>Q1<ESC>Z
2nd Rotation, Base Reference Point
<ESC>A<ESC>CC1<ESC>%2
<ESC>V0330<ESC>H0600<ESC>PY001
<ESC>Q1<ESC>Z
3rd Rotation, Base Reference Point
<ESC>A<ESC>CC1<ESC>%3
<ESC>V0100<ESC>H0800<ESC>PY001
<ESC>Q1<ESC>Z
OUTPUT
(5-7)
NOTES
This command requires Expanded Memory option. See your SATO representative for details. See the
<ESC>PI Store PCX Graphics command.
5-19
PN: 9001096E
To store for later printing a PCX graphic file in the Expanded Memory.
FORMAT
<ESC>PIaaa,bbbbb,{data}
aaa
bbbbb
{data}
Data
EXAMPLE
BASIC Program to download a PCX file to Expanded Memory Area 1, Storage Area 1
OPEN .C:\WIZARD\GRAPHICS\LION.PCX. FOR INPUT AS #2
DA$ = INPUT$(3800,#2)
C$ = CHR$(27)
WIDTH .LPT1:.,255
LPRINT C$;"A";C$;"CC1";
LPRINT C$; .PI001,03800,.;DA$
LPRINT C$;"Z";
CLOSE #2
OUTPUT
There is no printer output as a result of this command. See <ESC>PY PCX Graphics Recall command.
NOTES
This command requires Expanded Memory option. See your SATO representative for details.
Graphics cannot be stored as part of a format.
Only black and white PCX files can be stored.
The file size specified by this command is the DOS file size in bytes.
5-20
PN: 9001096E
Use the Recall command any time you want to print a graphic image on a label along with other printed
data.
FORMAT
<ESC>GRaaa
aaa
The Recall command is sent in a secondary data stream to print the graphic, and follows any
necessary position or size commands.
EXAMPLE
OUTPUT
(5-8)
NOTES
The graphic image to be stored cannot be rotated before it is stored. It can be rotated when it is
recalled.
Graphic images cannot be stored as part of a label format.
See the <ESC>GI Custom Graphic Store command.
5-21
PN: 9001096E
To provide similar functionality to the <ESC>G Custom Graphic command, but allows for the graphic
image to be stored in Expanded Memory. Use the Store command to send the graphic data to the
printers optional Expanded Memory.
FORMAT
<ESC>GIabbbcccddd{data}
aaa
bbb
ccc
ddd
{data}
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>GIH0020020010100038007C00FE01FF03FF87FFCFFFE07C007C007C007C007C007C007C
007C0
<ESC>Z
OUTPUT
There is no printer output as a result of this command. See <ESC>GR Recall Custom Graphics
command.
NOTES
Expanded Memory is required to use this command. Its maximum storage capacity is 999 graphics or
up to the capacity of the memory card used.
If a data transmission error occurs, the printer will beep, the ERROR LED will illuminate, and the image
must be transmitted again.
Each graphic to be stored must be sent in its own data stream.
Example of correct data stream:
<ESC>A
<ESC>GIHaaabbb001(DATA)
<ESC>Z
<ESC>A
<ESC>GIHaaabbb002(DATA)
<ESC>Z
Example of incorrect data stream:
<ESC>A
<ESC>GIHaaabbb001(DATA)
<ESC>GIHaaabbb002(DATA)
<ESC>Z
Do not use ASCII <CR> or <LF> characters (carriage return or line feed) as line delimiters within the
graphic data or the actual image will not be printed as specified.
Refer to Appendix: Reference Table 54 for additional information.
5-22
PN: 9001096E
To allow for the creation, storage, and printing of custom characters, such as special fonts or logos. Up
to 50 individual characters may be stored in the custom character volatile memory.
FORMAT
Store Command:
<ESC>Tabcc
Recall Command:
<ESC>Kab90cc
1 16x16 matrix
2 24x24 matrix
cc
(data)
The Store command is typically sent in its own data stream to the printer, between the Start/Stop
commands. The Recall command is sent in a secondary data stream to print the character, and follows
any necessary position or size commands.
EXAMPLE
<ESC>A
<ESC>T1H3F0100038007C00FE01FF03FF87FFCFFFE07C007C007C007C007C00<ESC>Z
<ESC>A <ESC>H150<ESC>V100<ESC>L0505<ESC>K1H903F
<ESC>H350<ESC>V100<ESC>L1010<E SC>K1H903F <ESC>Q1
<ESC>Z
OUTPUT
(5-9)
NOTES
When printing the custom character using the Recall command, the character is affected by the
following commands: Character Expansion Character Pitch Line Feed Rotate, Fixed Base Reference
Point
The characters are stored in volatile memory and must be reloaded if the printer power is lost.
Do not use ASCII <CR> or <LF> characters (carriage return or line feed) as line delimiters within the
graphic data or the actual image will not be printed as specified.
5-23
PN: 9001096E
To cal out items which are registered at the Field Register Specification <ESC>/N and then specify the
data.
FORMAT
<ESC>/D,aa,n...n
a
Data
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>YR,02<ESC>/D,01,TWO FIELDS OF<ESC>/D,02,VARIABLE DATA
<ESC>Q1
<ESC>Z
OUTPUT
(5-10)
NOTES
5-24
PN: 9001096E
To register the item inside of the field at the Format Register Specification <ESC>/N.
FORMAT
<ESC>/N,aa,n...n
a
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>YS,01
<ESC>/N,1,3
<ESC>%0<ESC>V100<ESC>H200<ESC>P2<ESC>L0101<ESC>XMABC
<ESC>/N,2,5
<ESC>%0<ESC>V300<ESC>H40<ESC>B40208049123456
<ESC>Z
OUTPUT
This command does not result in output. Refer to <ESC>YR Format/Field Recall command.
NOTES
Specify the field number with the order start from the small value.
Print Vertical Position Specification <ESC>V and Print Horizontal Position Specification <ESC>H shall
be specified at every field. It will become default value if none of the specification is made.
When specifying foreign characters using foreign character code <ESC>H, a foreign character needs
four digits (three foreign characters equals twelve digits).
When specifying foreign characters using foreign character code <ESC>B, a foreign character needs
two digits (three foreign characters equals six digits).
Specify the register digit numbers of fixed field out of value 00.
Use this command as a pair with Format Register Specification <ESC>YS.
Due to memory limitations, it may not be able to 99 items.
5-25
PN: 9001096E
5-26
PN: 9001096E
BI-DIRECTIONAL
COMMUNICATIONS
Introduction
Enquire & Response
6-1
PN: 9001096E
INTRODUCTION
Bi-Directional communications is a two-way communications protocol between the host and the printer enabling
the host to monitor and control the printers operational status. The Bi-Com 5 protocol only works in the Multi-Job
Buffer mode.
GENERAL CONFIGURATION
Refer to Appendix: Reference Table 40 for printer configuration commands.
SERIAL INTERFACE
For this protocol to function properly with an RS232C Interface, pin 6 (DTR) and pin 5 (CTS) must be held high by
the host. To ensure these pins are always in the correct state is to tie pin 20 (DTR) to pin 6 (DSR) and pin 4 (RTS)
to pin 5 (CTS) at the printer end on the cable.
RECEIVE BUFFER
This protocol controls information such as reception, print, and cancelation for every item. When the buffer is near
full, an error will occur informing the host that either there is not enough memory remaining or that the item quantity
has been exhausted.
To release the receive buffer one of those conditions must be remedied.
DATA TRANSMISSION
Data transmissions must be preceded with STX (HEX 02H) and be followed by ETX (HEX 03H) to function.The
string must also include the item number or an error will occur. An error will also occur if an incorrect item number
is identiifed. BCC must follow <ESC>Z if the BCC function is enabled.
Print Data
<STX><ESC>A<ESC>{ID 00000}{Print Data}<ESC>Z<ESC>BCC<ETX>
Status Request
<STX>SOH{ENQ}00000<ETX>
6-2
PN: 9001096E
Identifies the current print job ID. Is defined using the Job ID (<ESC>ID)
command transmitted with the print job. (2 bytes)
Status
Label Remaining
Defines the quantity of labels remaining in the current print job. 6 bytes)
Job Name
ASCII characters identify the assigned job name by the Job Name
(<ESC>WK) command. If the name is less than the required characters, the
field will be padded with zeroes. (16 bytes)
If an ENQ is received after the print job specified in the ID bytes has been completed, or the buffer is empty of data,
the printer will respond with space characters for the ID number (Remaining Labels & Job Name bytes).
The host computer transmits an ENQ to the printer which responds within five milliseconds unless actively printing.
If printing, it will respond upon finishing and then resume printing.
Refer to Appendix: Reference Tables 41 and 42 for additional information.
RETURN STATUS BYTES & FORMAT
1
STX
Item Number
Item Status
Item Number in
Process
Item Status in
Process
Issues of Item in
Process
ETX
CANCEL (CAN)
If a CAN command is received, it will stop the print job and clear all data from the buffers. A delay of five
milliseconds is required before any new data may be downloaded. The CAN command is effective upon receipt,
even if the printer is offline or in an error condition. The printer will return an ACK if the printer is not in an error
condition and a NAK if an error condition exists.
PRINT JOB
Upon receipt of a valid print job (<ESC>A....<ESC>Z), an ACK will be returned by the printer if an error condition
does not exist and a NAK if an error condition exists. (Only for RS232 Interface)
6-3
PN: 9001096E
DESRCIPTION
BYTES
Management Flag
Item Number
Status
00:
01:
02:
03:
04:
05:
06:
07:
08:
Received
Issued
Cancel
Item Number Error
BCC Error
Designation of Print after Occurance
Cancel after Error Occurance
Analyzing Unprinted Items
Unprocessed Error due to Power Removal
STX
Item Number
Item Status
CR/LF
Item Number
Item status
ETX
VALUE
DESCRIPTION
Printer Type
00: 203
01: 305
6-4
PN: 9001096E
PARAMETERS
BYTE
VALUE
DESCRIPTION
00:
01:
02:
03:
04:
05:
06:
07:
08:
09:
2
3
4
5
6
7
8
9
10
12
Mode
00:
01:
02:
03:
04:
Not Supported
Not Supported
Not Supported
Label Dispense Print Mode
Reserved
Not Supported
00: Reserved
01: Reserved
02: Reserved
Dispense Position
Not Supported
00: Reserved
Not Supported
41: Reserved
42: Reserved
43: Reserved
Print Density
00:
01:
02:
03:
04:
10
Sensor Type
11
Zero Slash
00: Disabled
01: Enabled
12
Not Supported
00: Reserved
13
Not Supported
00: Reserved
01: Reserved
14
Online Feed
00: Disabled
01: Enabled
15
Pitch
00: Fixed
01: Proportional
Level 1
Level 2
Level 3
Level 4
Level 5
16-17
HEX: 00 to C80
HEX: 00 to 12C
Not Supported
18-19
HEX: 00 to 340
HEX: 00 to 4E0
Not Supported
6-5
PN: 9001096E
PARAMETERS
BYTE
VALUE
DESCRIPTION
20-21
HEX: 00 to 3E7
HEX: FFFF to FC19
22-23
HEX: 00 to 320
HEX: 00 to FCE0
24
HEX: 00 to 63
HEX: FF to 9D
Not Supported
25
HEX: 00 to 63
HEX: FF to 9D
Not Supported
26
HEX: 00 to 63
HEX: FF to 9D
Not Supported
27
HEX: 00 to 63
HEX: FF to 9D
28
Compatibility Mode
00: Enabled
01: Disabled
29
08 to 40
Not Supported
30
Buzzer
00: Enabled
01: Disabled
VALUE
DESCRIPTION
1-8
HEX
9-12
HEX
13-16
HEX
17-20
HEX
21-24
HEX
Not Supported
25-28
HEX
Not Supported
VALUE
HEX
HEX
DESCRIPTION
6-6
PN: 9001096E
PARAMETERS
BYTE
VALUE
DESCRIPTION
00H
01H
Out of Paper
Paper Present
00H
01H
Head Open
Head Closed
VALUE
00 HEX
01 HEX
DESCRIPTION
Print Head OK
Electrical Fault in Print Head
VALUE
1-50
ASCII
DESCRIPTION
Firmware Version Information
VALUE
1-4
HEX
5-8
HEX
9-12
HEX
13-16
HEX
17-20
HEX
21-24
HEX
DESCRIPTION
6-7
PN: 9001096E
VALUE
1-2
01 to 99
3-18
ASCII
DESCRIPTION
Form Registration Number
Form Name
VALUE
1-2
ASCII Font
3-4
00H 01H
5-36
DESCRIPTION
BYTE
VALUE
DESCRIPTION
ID Number
76
HEX
Family Attribute
Font Graphic
77
HEX
Character set
ASCII
Font Name
78
HEX
Italic Attribute
37-48
ASCII
Font Style
79-80
HEX
Weight Attribute
49-52
ASCII
81-82
HEX
Spread
53-54
HEX
83-84
HEX
Assent in Dots
54-60
HEX
85-86
HEX
57-60
HEX
Font size
86-87
HEX
58-64
HEX
88-95
HEX
Reserved
65-68
HEX
96-98
HEX
Code
69-72
HEX
Total size
99-100
HEX
73-74
HEX
101-102
HEX
75
HEX
Interface Type
0:
1:
2:
3:
IEEE1284 Parallel
RS232 Serial
Local Area Network (LAN)
Universal Serial Bus (USB)
6-8
PN: 9001096E
0:
1:
2:
3:
Parity
0: None
1: Odd
2: Even
Stop Bits
0: 1
1: 2
Communication
0:
1:
2:
3:
4:
9600
19200
38400
57600
HEX
DEFINITION
ONLINE
0
30
No Errors
31
32
33
4(1)
34
41
No Errors
42
6-9
PN: 9001096E
ASCII
HEX
DEFINITION
43
44
E(1)
45
ONLINE PRINTING
G
47
No Errors
48
49
4A
K(1)
4B
4D
No Errors
4E
4F
50
Q(1)
51
53
No Errors
54
55
V(1)
56
W(1)
57
62
Head Open
63
Paper End
64
Ribbon End
65
Media Error
66
Sensor Error
67
Head Error
6A
Cutter Error
6B
Other Errors
6-10
PN: 9001096E
Unit 7: Appendix
APPENDIX
Custom Characters/Graphics
Custom Protocol Codes
Reference Tables
Glossary
7-1
PN: 9001096E
Unit 7: Appendix
CUSTOM CHARACTERS/GRAPHICS
CUSTOM DESIGNED CHARACTER EXAMPLE
The following example is presented to help understand the use of the Custom Designed Characters command. It
demonstrates the design and printing of an arrow in a 16 x 16 matrix.
1.
16 dot x 16 dots
24 dots by 24 dots
2.
(7a)
3. Transfer the image into two bit map representations and then into hexadecimal or binary format.
ROW
BIT MAP
HEX
0000
0001
0000
0000
01
00
0000
0011
1000
0000
03
80
0000
0111
1100
0000
07
C0
0000
1111
1110
0000
0F
E0
0001
1111
1111
0000
1F
F0
0011
1111
1111
1000
3F
F8
0111
1111
1111
1100
7F
FC
1111
1111
1111
1110
FF
FE
0000
0111
1100
0000
07
C0
10
0000
0111
1100
0000
07
C0
11
0000
0111
1100
0000
07
C0
12
0000
0111
1100
0000
07
C0
13
0000
0111
1100
0000
07
C0
14
0000
0111
1100
0000
07
C0
15
0000
0111
1100
0000
07
C0
16
0000
0111
1100
0000
07
C0
7-2
PN: 9001096E
Unit 7: Appendix
4.
To store the custom designed character in memory using a hexadecimal data stream:
<ESC>A
<ESC>T1H3F0100038007C00FE01FF03FF87FFCFFFE07C007C007C007C007C007C007C007C0
<ESC>Z
5.
To recall a custom character from memory, send the following code to the printer. Note the character size was
expanded using the <ESC>L command. Other data can also be printed.
<ESC>A
<ESC>L0505<ESC>H0150<ESC>V100<ESC>K1H903F
<ESC>L0505<ESC>H0600<ESC>V100<ESC>K1H903F
<ESC>L0303<ESC>H0125<ESC>V0250<ESC>MTHIS SIDE UP !
<ESC>Q1
<ESC>Z
6.
To store the custom designed character in memory using a binary data stream:
<ESC>A
<ESC>T1B3F 01H 00H 03H 80H 07H C0H 0FH E0H 1FH F0H 3FH F8H 7FH FCH FFH FEH 07H
C0H 07H
C0H 07H C0H 07H C0H 07H C0H 07H C0H 07H C0H 07H C0H
<ESC>Z
NOTE: The data stream is only half as long as the hexadecimal format because
sending the binary equivalent of 11111111 (represented above in its hexidecimal
value of FFH), for example, using one eight bit word while it takes two eight bit words
to transmit the hexadecimal equivalent F and F. To send binary characters using
BASIC, the expression CHR (&HFF) will send the binary equivalent of FF (i.e.,
11111111).
7.
To recall the custom character from memory, send the following code to the printer:
<ESC>A
<ESC>L505<ESC>H0150<ESC>V100<ESC>K1B903F
<ESC>L505<ESC>H0600<ESC>V100<ESC>K1B903F
<ESC>L0303<ESC>H0125<ESC>V0250<ESC>XMTHISSIDE UP !
<ESC>Q1
<ESC>Z
The printer output for both the hexadecimal and binary format examples is.
(7b)
7-3
PN: 9001096E
Unit 7: Appendix
Determine the matrix size for the graphic. It must be in 8 dot by 8 dot blocks. The example here has six blocks
horizontally and six blocks vertically (48 x 48).
2.
(7c)
3.
Transfer the image into a bit map representation and then into hexadecimal format:
1
11111111
11111111
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11111111
11111111
2
11111111
11111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
11111111
11111111
BIT MAP
3
11111111
11111111
00000000
00000000
11111111
10000000
10000000
10011111
10000000
10000000
10011111
10000000
10000000
11111111
00000000
00000000
00000000
00000000
00000000
00000000
00000011
00000111
00001111
00001111
00001111
00001111
00000111
00000011
00000000
00000000
00000000
00000000
00000001
00000011
00000011
00000011
00000011
00000011
00000011
00000011
00000011
00000011
00000011
00000001
00000000
00000000
11111111
11111111
4
11111111
11111111
00000000
00000000
11111111
00000000
00000000
11111111
00000000
00000000
11111111
00000000
00000000
11111111
00000000
00000000
00000000
00000000
00000000
00000000
11000000
11100000
11110000
11110000
11110000
11110000
11100000
11000000
00000000
00000000
00000000
00000000
10000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000
10000000
00000000
00000000
11111111
11111111
5
11111111
11111111
00000000
00000000
11111111
00000000
00000000
11111111
00000000
00000000
11111111
00000000
00000000
11111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
11111111
11111111
6
11111111FF
11111111FF
00000011C0
00000011C0
11110011C0
00010011C0
00010011C0
00010011C0
00010011C0
00010011C0
00010011C0
00010011C0
00010011C0
11110011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
11111111FF
11111111FF
7-4
1
FF
FF
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
FF
FF
HEXADECIMAL FORMAT
2
FF
FF
00
00
FF
80
80
9F
80
80
9F
80
80
FF
00
00
00
00
00
00
03
07
0F
0F
0F
0F
07
03
00
00
00
00
01
03
03
03
03
03
03
03
03
03
03
01
03
03
FF
FF
3
FF
FF
00
00
FF
00
00
FF
00
00
FF
00
00
FF
00
00
00
00
00
00
C0
E0
F0
F0
F0
F0
E0
C0
00
00
00
00
80
C0
C0
C0
C0
C0
C0
C0
C0
C0
C0
80
C0
C0
FF
FF
4
FF
FF
00
00
FF
00
00
FF
00
00
FF
00
00
FF
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
FF
FF
5
FF
FF
03
03
03
13
13
13
13
03
13
13
13
F3
03
03
13
13
13
13
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
FF
FF
6
FF
FF
03
03
03
13
13
13
13
03
13
13
13
F3
03
03
13
13
13
13
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
FF
FF
PN: 9001096E
Unit 7: Appendix
4.
Using the hexadecimal data, send the following code to print the graphic image as designed.
<ESC>A<ESC>H0100<ESC>V0100<ESC>GH006006
FFFFFF FFFFFF FFFFFF FFFFFF C00000 000003
C00000 000003 C000FF FFFFF3 C00080 000013
C00080 000013 C0009F FFFF13 C00080 000013
C00080 000013 C0009F FFFF13 C00080 000013
C00080 000013 C000FF FFFFF3 C00000 000003
C00000 000003 C00000 000003 C00000 000003
C00000 000003 C00000 000003 C00003 C00003
C00007 E00003 C0000F F00003 C0000F F00003
C0000F F00003 C0000F F00003 C00007 E00003
C00003 C00003 C00000 000003 C00000 000003
C00000 000003 C00000 000003 C00001 800003
C00003 C00003 C00003 C00003 C00003 C00003
C00003 C00003 C00003 C00003 C00003 C00003
C00003 C00003 C00003 C00003 C00003 C00003
C00003 C00003 C00001 800003 C00000 000003
C00000 000003 FFFFFF FFFFFF FFFFFF FFFFFF
<ESC>Q1<ESC>Z
5.
To send the data in binary format, the software must convert the data into binary format before transmitting it to
the printer. Using the BASIC programming language for example, this is done by notation CHR$ (&HC0)
which sends the hexidecimal value of C0 as binary data (11000000). The BASIC program listing for sending
this graphic to the printer (using the RS232 port) in binary format is:
CLS
OPEN .COM2:9600,N,8,1,CS,DS. FOR OUTPUT AS #1E$ = CHR$(27)
PRINT #1,CHR$(2); E$; .A.; E$; .V0100"; E$; .H0100"; E$; .GB006006";
PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);
PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);
PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HC0);CHR$(&H00);CHR$(&H00);
PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);
PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03);CHR$(&HC0);
PRINT #1,CHR$(&H00);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HF3);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);CHR$(&H00);
PRINT #1,CHR$(&H13);CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);
PRINT #1,CHR$(&H00);CHR$(&H13);CHR$(&HC0);CHR$(&H00);CHR$(&H9F);
PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&H13);CHR$(&HC0);CHR$(&H00);
PRINT #1,CHR$(&H80);CHR$(&H00);CHR$(&H00);CHR$(&H13);CHR$(&HC0);
PRINT #1,CHR$(&H00);CHR$(&H80);CHR$(&H00);CHR$(&H00);CHR$(&H13);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H9F);CHR$(&HFF);CHR$(&HFF);
PRINT #1,CHR$(&H13);CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);
PRINT #1,CHR$(&H00);CHR$(&H13);CHR$(&HC0);CHR$(&H00);CHR$(&H80);
PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H13);CHR$(&HC0);CHR$(&H00);
PRI NT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HF3);CHR$(&HC0);
PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);
PRINT #1,CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H00);CHR$(&H00);
PRINT #1,CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H00);
PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);
PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03);CHR$(&HC0);
PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);
PRINT #1,CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H07);CHR$(&H00);
PRINT #1,CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H0F);
PRINT #1,CHR$(&HF0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);
PRINT #1,CHR$(&H0F);CHR$(&HF0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);
7-5
PN: 9001096E
Unit 7: Appendix
PRINT #1,CHR$(&H00);CHR$(&H0F);CHR$(&HF0);CHR$(&H00);CHR$(&H03);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H0F);CHR$(&HF0);CHR$(&H00);
PRINT #1,CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H07);CHR$(&HE0);
PRINT #1,CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);
PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03);CHR$(&HC0);
PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);
PRINT #1,CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H00);CHR$(&H00);
PRINT #1,CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H01);
PRINT #1,CHR$(&H80);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);
PRINT #1,CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);
PRINT #1,CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);
PRINT #1,CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);
PRINT #1,CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);
PRINT #1,CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);
PRINT #1,CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);
PRINT #1,CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);
PRINT #1,CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);
PRINT #1,CHR$(&H01);CHR$(&H80);CHR$(&H00);CHR$(&H03);CHR$(&HC0);
PRI NT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03);
PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);
PRINT #1,CHR$(&H03);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);
PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);
PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);
PRINT #1,E$; .Q1"; E$; .Z"; CHR$(3)
CLOSE #1
The printer output for both the hexadecimal and binary format example is:
(7d)
7-6
PN: 9001096E
Unit 7: Appendix
The uncompressed size (PCX is a compressed file) of the file must not be greater than 64K bytes. Generally this is
not a problem unless the graphic image is surrounded by large amount of white space which the PCX algorithm
can compress very efficiently. If this is the case, the file should be recaptured to eliminate the surrounding white
space as much as possible. The following basic program will send and print this file:
OPEN .WIZ.PCX. FOR INPUT AS #2
DA$ = INPUT$(15706, #2)
C$ = CHR$(27)
WIDTH .LPT1:., 255
LPRINT C$; .A.;
LPRINT C$; .V150"; C$; .H100"; C$; .GP15706,.; DA$
LPRINT C$; .Q1"; C$; .Z";
CLOSE #2
The printer output for this program is:
(7f)
7-7
PN: 9001096E
Unit 7: Appendix
STANDARD SETTING
ALTERNATE SETTING
STX
ETX
ESC
ENQ
CAN
OFFLINE
h (Auto Online)
No
0=Yes, 1=No
i (Zero Slash)
No
0=Yes, 1=No
j j (Eurocharacter)
D5
User defined
7-8
PN: 9001096E
Unit 7: Appendix
REFERENCE TABLES
TABLE 1: CHARACTER FONT SET (<ESC>XU)
W5 X H9 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, THREE-FOLD HEIGHT/WIDTH
7-9
PN: 9001096E
Unit 7: Appendix
7-10
PN: 9001096E
Unit 7: Appendix
7-11
PN: 9001096E
Unit 7: Appendix
CHARACTER SET
Latin 1
Latin 2
Latin 5
Grk
Cyr
Arb
PC-850
FONT
PARAMETER A
CG Univers
CG Times
V
t
CG Times
Futura
CG Palcio
CG Century Schoolbook
CG Triumvirate
CG Univers
CG Times
F
P
S
G
V
t
7-12
PN: 9001096E
Unit 7: Appendix
7-13
PN: 9001096E
Unit 7: Appendix
BARCODE
NW-7 (Codabar)
DESCRIPTION
Set print data including the Start/Stop characters.
A, B, C, D, E, N, T, a, b, c, d, e, n, t. When the
[A123A].
Barcode character pitch is enabled.
For print data, refer to the NW-7 code table.
RATIO
barcode print data is [123], specify
1:3
Set print data to include the Start/Stop Character [*]. When the barcode print data is
[12345], specify [*12345*].
CODE39
Interleaved 2 of 5
Specify the print data in even-numbered digits. If specifying an odd-numbered digit, 0 will
be added to the head of the print data.
For print data, refer to the Interleaved 2 of 5 code table.
JAN/EAN13
The barcode will not have a guard bar and human readable information.
For print data, refer to the JAN/EAN13 code table.
Fixed
JAN/EAN8
The barcode will not have a guard bar and human readable information.
For print data, refer to the JAN/EAN13 code table.
Fixed
Industrial 2 of 5
1:3
Matrix 2 of 5
1:3
MSI
CODE93
Fixed
UPC-E
Fixed
BOOKLAND
Fixed
CODE128
Fixed
UPC-A
The barcode will not have a guard bar and human readable information.
For print data, refer to the UPC-A code table.
Fixed
1:3
1:3
Fixed
UCC/EAN128
Fixed
POSTNET
Specify in 5, 6, 9, or 11 digits.
Fixed
BARCODE
NW-7 (Codabar)
DESCRIPTION
Set print data including the Start/Stop characters.
A, B, C, D, E, N, T, a, b, c, d, e, n, t. When the
[A123A].
Barcode character pitch is enabled.
For print data, refer to the NW-7 code table.
RATIO
barcode print data is [123], specify
Set print data to include the Start/Stop Character [*]. When the barcode print data is
[12345], specify [*12345*].
2:5
CODE39
Interleaved 2 of 5
Specify the print data in even-numbered digits. If specifying an odd-numbered digit, 0 will
be added to the head of the print data.
For print data, refer to the Interleaved 2 of 5 code table.
JAN/EAN13
The barcode will not have a guard bar and human readable information.
For print data, refer to the JAN/EAN13 code table.
Fixed
JAN/EAN8
The barcode will not have a guard bar and human readable information.
For print data, refer to the JAN/EAN13 code table.
Fixed
Industrial 2 of 5
2:5
Matrix 2 of 5
2:5
UPC-A
The barcode will not have a guard bar and human readable information.
For print data, refer to the UPC-A code table.
2:5
2:5
Fixed
NOTE: The model composition ratio may not be available for some barcode types.
7-14
PN: 9001096E
Unit 7: Appendix
BARCODE
NW-7 (Codabar)
DESCRIPTION
Set print data including the Start/Stop characters.
A, B, C, D, E, N, T, a, b, c, d, e, n, t. When the
[A123A].
Barcode character pitch is enabled.
For print data, refer to the NW-7 code table.
RATIO
barcode print data is [123], specify
Set print data to include the Start/Stop Character [*]. When the barcode print data is
[12345], specify [*12345*].
1:2
CODE39
Interleaved 2 of 5
Specify the print data in even-numbered digits. If specifying an odd-numbered digit, 0 will
be added to the head of the print data.
For print data, refer to the Interleaved 2 of 5 code table.
JAN/EAN13
The barcode will not have a guard bar and human readable information.
For print data, refer to the JAN/EAN13 code table.
Fixed
JAN/EAN8
The barcode will not have a guard bar and human readable information.
For print data, refer to the JAN/EAN13 code table.
Fixed
Industrial 2 of 5
1:2
Matrix 2 of 5
1:2
UPC-A
The barcode will not have a guard bar and human readable information.
For print data, refer to the UPC-A code table.
1:2
1:2
Fixed
NOTE: The model composition ratio may not be available for some barcode types.
7-15
PN: 9001096E
Unit 7: Appendix
SUBSET A
SUBSET B
SUBSET C
VALUE
SUBSET A
SUBSET B
SUBSET C
SP
SP
00
36
36
01
37
37
02
38
38
03
39
39
40
04
40
05
41
41
&
&
06
42
42
07
43
43
02
38
38
09
45
45
10
10
46
46
11
11
47
47
48
12
12
48
13
13
49
49
14
14
50
50
15
15
51
51
16
16
52
52
17
17
53
53
18
18
54
54
19
19
55
55
20
20
56
56
21
21
57
57
22
22
58
58
23
23
59
59
24
24
60
60
25
25
61
61
7-16
PN: 9001096E
Unit 7: Appendix
SUBSET A
SUBSET B
SUBSET C
VALUE
SUBSET A
SUBSET B
SUBSET C
26
26
62
27
27
63
62
__
__
63
28
<
<
28
64
NUL>(space)
. >(space)
64
29
29
65
SOH >!
a or >!
65
30
>J
>J
30
66
STX >"
b or >"
66
31
31
67
ETX >#
c or >#
67
32
32
68
EOT >$
d or >$
68
33
33
69
ENQ >%
e or >%
69
34
34
70
ACK >&
f or >&
70
35
35
71
BEL >.
g or >.
71
72
BS >(
h >(
72
89
EM >9
y >9
89
73
HT >)
i >)
73
90
SUB >:
z >:
90
74
LF >*
j >*
74
91
ESC >;
{ >;
91
75
VT >+
k >+
75
92
FS ><
| ><
92
76
FF >,
l >,
76
93
GS >=
} >=
93
77
CR >-
m >-
77
94
RS >>
~ >>
94
78
SO >.
n >.
78
95
US >?
DEL >?
95
79
SI >/
o >/
79
96
FNC3 >@
FNC3 >@
96
97
80
DLE >0
p >0
80
97
FNC2 >A
FNC2 >A
81
DC1 >1
q >1
81
98
SHIFT >B
SHIFT >B
98
82
DC2 >2
r >2
82
99
Subset C >C
Subset C >C
99
83
DC3 >3
s >3
83
100
Subset B >D
FNC4 >D
Subset B >D
84
DC4 >4
t >4
84
101
FNC4 >E
Subset A >E
Subset A >E
85
NAK >5
u >5
85
102
FNC1 >F
FNC1 >F
FNC1 >F
86
SYN >6
v >6
86
103
87
ETB >7
w >7
87
104
88
CAN >8
x >8
88
105
7-17
PN: 9001096E
Unit 7: Appendix
7-18
PN: 9001096E
Unit 7: Appendix
7-19
PN: 9001096E
Unit 7: Appendix
7-20
PN: 9001096E
Unit 7: Appendix
7-21
PN: 9001096E
Unit 7: Appendix
7-22
PN: 9001096E
Unit 7: Appendix
7-23
PN: 9001096E
Unit 7: Appendix
FORMAT ID
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
20 (ECC200)
Numeric
3116
Alphanumeric
2335
1556
7-24
PN: 9001096E
Unit 7: Appendix
7-25
PN: 9001096E
Unit 7: Appendix
7-26
PN: 9001096E
Unit 7: Appendix
7-27
PN: 9001096E
Unit 7: Appendix
7-28
PN: 9001096E
Unit 7: Appendix
7-29
PN: 9001096E
Unit 7: Appendix
7-30
PN: 9001096E
Unit 7: Appendix
7-31
PN: 9001096E
Unit 7: Appendix
7-32
PN: 9001096E
Unit 7: Appendix
7-33
PN: 9001096E
Unit 7: Appendix
7-34
PN: 9001096E
Unit 7: Appendix
7-35
PN: 9001096E
Unit 7: Appendix
7-36
PN: 9001096E
Unit 7: Appendix
7-37
PN: 9001096E
Unit 7: Appendix
7-38
PN: 9001096E
Unit 7: Appendix
7-39
PN: 9001096E
Unit 7: Appendix
7-40
PN: 9001096E
Unit 7: Appendix
7-41
PN: 9001096E
Unit 7: Appendix
7-42
PN: 9001096E
Unit 7: Appendix
7-43
PN: 9001096E
Unit 7: Appendix
7-44
PN: 9001096E
Unit 7: Appendix
7-45
PN: 9001096E
Unit 7: Appendix
7-46
PN: 9001096E
Unit 7: Appendix
PARAMETER
CONTENT
STANDARD DEFAULT
NON-STANDARD DEFAULT
a (Hex)
STX
02H
{ (7BH)
b (Hex)
ETX
03H
} (7DH)
c (Hex)
ESC
1BH
^ (5EH)
d (Hex)
ENQ
05H
@ (5EH)
e (Hex)
CAN
18H
! (21H)
f (Hex)
NULL
00H
- (7EH)
g (Hex)
Offline
40H
] (5DH)
Auto Online
h (ASCII)
0: Yes,
1: No
0 (30H)
0 (30H)
Zero Slash
i (ASCII)
0: Yes,
1: No
0 (30H)
0 (30H)
Euro Code
j (Hex)
D5H
D5H
D5H
7-47
PN: 9001096E
Unit 7: Appendix
7-48
PN: 9001096E
Unit 7: Appendix
7-49
PN: 9001096E
Unit 7: Appendix
7-50
PN: 9001096E
Unit 7: Appendix
GLOSSARY
GLOSSARY
AC
(Alternating Current) Electrical current that reverses its direction regularly and continually.
Accessory
Active Tags
RFID tags which use batteries as partial or complete source of power which are further
differentiated by separating them into those with replaceable batteries and those which have
the batteries inside a sealed unit. Also referred to as Utilized Active Tags.
Addressability
The ability to address bits, fields, files, or other portions of the storage in an RFID tag.
Advance
Allen Screw
Aluminum
Anti-Static
Arc
The band of sparks between to closely placed electrodes when current leaps the gap from one
to the other.
ASCII
(American Standard Code for Information Interchange) The most common format for text files
in computers and on the internet. In a ASCII file, each alphabetic, numeric, or special
character is represented with a 7-bit binary number (a string of seven 0s or 1s). 128 possible
characters are defined.
Assembly
Asynchronous
A type of two-way communication that occurs with a time delay, allowing participants to
respond at their own convenience. This communication allows characters to be sent at
irregular intervals by preceding each character with a start bit and following it with a stop bit.
The timing of the transmission is not determined by the timing of the previous character.
Audible
Batch
A grouping of anything.
The number of signaling elements that occur each second; or stated differently, the number of
changes to the transmission media per second in a modulated signal.
At slow speeds, one bit of information (signaling element) is encoded in each electrical
change. The baud therefore, indicates the number of bits per second (bps) that are
transmitted.
Baud
Assuming asynchronous communication, which requires 10 bits per character, this translates
to 30 characters per second (cps). For slow rates, (below 1200 baud), the baud can be divided
by 10 to see how many characters per second are sent.
At higher speeds, it is possible to encode more than 1 bit in each electrical change. Thusly,
4800 baud may allow 9600 bits to be sent each second.
At high data transfer speeds, data transmission rates are usually expressed in bits per second
(bps) rather than baud.
Bi-Directional
Capable of operating in two directions along the same plane or medium. In the case a
communication cable or an RFID tag, one that transmits as well as receives, read and written.
Binary
A numeral system that represents numeric values using two symbols, typically 0 and 1. A
binary number can be represented by any sequence of bits (binary digits), which in turn may
be represented by any mechanism capable of being in two mutually exclusive states.
Bits
Refers to a single digit in the binary numeral system. A bit can either be on or off - a 1 or 0. A
byte is a collection of eight bits.
Block Diagram
Bolt
A threaded metal rod with a flanged head that is used with a nut to hold parts together.
Bore
7-51
PN: 9001096E
Unit 7: Appendix
GLOSSARY
Bytes
Capacity
As it relates to RFID, the number of bits or bytes that can be programmed into a tag. This may
represent the bits accessible to the user or the total number - including those reserved to the
manufacturer (e.g., parity or control bits).
Capture Window/Field
Cavity
A recessed area in something. In the case of a die set, the core is one of two part with the core
being its mating half.
Chamfer
Character
Chassis Assembly
Circumference
The periphery of a circle or other rounded object - also the measurement of this distance.
Circuit
A network of wires, resistors, and other electronic devices over which electrical impulses
travel.
Clockwise
Closed Systems
As it relates to RFID, a system in which relevant data regarding the attributes of the object is
stored in a common database accessible via data link by referencing the individual ID code.
Collar
Component
Composite
An object that is comprised of, or layered with, two or more materials to achieve a desired
outcome.
Concave
Concentric
Multiple items that share a common center - example: a circle centered within a circle.
Configuration
Connector
Devices for joining electrical and electronic circuits through coupling. Typically, one mating half
is a plug (male) and the other is a socket (female).
Convex
Core
The protruding portion of a die set. The core is one of two parts and the cavity being its mating
half. The core is convexed and the cavity is concaved.
CPU
(Central Processing Unit) A programmable device that performs all the instruction, logic, and
mathematical processing in a computer - is the brains of the computer. The CPU is a microchip
that is installed on a motherboard (primary board) that coordinates hardware components.
Also referred to as processor.
Counter-Clockwise
Couple
Cubic
The X, Y, and Z axis all being equal in size - a three-dimensional object that is equally
proportioned.
Current
Cycle
A single revolution of a potentially reoccurring activity - in the case of printer, one label being
printed.
DC
Density
Deviation
Diameter
A straight line from the outer edge of a circle, through the center, and onward to the opposite
edge. Also the measurement of that distance (dimension).
Dimension
7-52
PN: 9001096E
Unit 7: Appendix
GLOSSARY
Diode
Allows current to flow in one direction but not the other to protect sensitive electronics. A diode
functions by compositing two conductive materials with one possessing low resistance to
electrical current on one side and high resistance on the other.
Dipswitch Complex
A group of tiny switches directly attached to a circuit board to enable configuration for a
particular type of application. These switches are two-position: On/Off.
Direct Thermal
The printing method that uses a chemically coated heat sensitive media. Once the heat from
the thermal printhead is applied to the media, the media darkens with the image.
Direct thermal printing does not require ribbon and is typically used in applications where the
label needs to endure for a year or less.
Disable
Divergent
DPI
(Dots Per Inch) The quantity of printed dots within a square inch area - the print density.
DRAM
(Dynamic Random Access Memory) DRAM is the most common kind of RAM and is a network
of electrically-charged points in which a computer stores quickly accessible data in the form of
0s and 1s. Each storage or memory cell can be directly accessed if the intersecting row or
column is known. Each cell consists of a capacitor and a transistor.
Drive Train
The components and sub-assemblies that comprise the mechanical apparatus of motion or
kinetic energy.
Eccentric
Multiple items that do not share the same center - example: a circle whose center axis is not
the same as that of another to whom it is connected. The opposite of concentric.
E-Clip
EEPROM
(Electrically Erasable Programmable Read-Only Memory) Are ROM chips that do not have to
be removed to be rewritten. Nor does the entire chip have to be completely erased to change
a specific portion. Changing the contents does not require additional dedicated equipment.
The localized application of an electric field to each cell erases the targeted cells which can be
rewritten. Since only 1 byte can be changed at a time, EEPROMs are versatile but slow.
Electronic Label
Electromagnetic Coupling
In RFID, a system that uses a magnetic field as means of transferring data or power.
Electrostatic Coupling
In RFID, a system which uses the induction of voltage on a plate as a means of transferring
data or power.
Ellipse
An oval shape that is symmetrical on either side of its center when divided into quadrants.
Embossed
Enable
Encompass
(ECC) In RFID, supplemental bits in a data transfer used in conjunction with a polynominal
algorithm in order to compute the value of missing or erroneous data bits. Example: for a 32-bit
data transmission, seven additional bits are required.
Relative to RFID, a mode of data communication in which missing or erroneous bits are
automatically corrected.
Error Management
In RFID, the techniques used to ensure that only correct information is presented to the
systems user.
Error Rate
Exciter
In RFID, the electronics which drive an antenna. When coupled with antenna, they are
collectively referred to as a scanner. Also referred to as a transmitter.
Expansion Port
Eye-Mark Media
Print media with a mark on the paper backing between each label for the label sensor to read.
This mark is used by the printer to identify the end of the printed label so that the next up can
be properly positioned for printing.
7-53
PN: 9001096E
Unit 7: Appendix
GLOSSARY
Factory Programming
Relative to RFID, the programming of information into a tag occurring as part of the
manufacturing process resulting in a read-only tag.
Field Programming
In RFID, programming that usually occurs before the tag is installed on the object to be
identified enabling the introduction of data relevant to the specifics of the application. However,
the tag would typically have to be removed from its object.
Field Protection
In RFID, the ability to limit the operations that can be performed on portions of data fields
stored in a tag.
Fillet
Flange
The projecting rim of an object used to keep another object or objects in place.
Flash Memory
A form of rewritable memory chip that allows multiple memory locations to be erased or written
in one programming operation. Flash Memory is very high-speed and non-volatile - does not
need power to maintain the stored information. Its information is stored in an array of floating
gate transistors called cells.
Font
Frequency
The number of times a signal executes a complete excursion through its maximum and
minimum values and returns to the same value. The number of vibration cycles.
Gap Media
Print media with a space between each label where only the paper backing exists. The
printers sensor uses this gap to identify when the printed label ends and to properly position
the next label for printing.
Gauge
A unit of measurement used to describe the nominal thickness of wire. The higher the gauge
number, the smaller the diameter.
Gear
A system of toothed wheels meshed together so that the motion of one is passed on to the
others.
Gigabytes
Groove
Hertz
Hexidecimal
A numbering system composed of six letters (A-F) and ten numbers (0-9) used to condense
binary numbers.
Hex Screw
A threaded rod having a flanged head that is comprised of six sides - a type of hardware used
to attach two or more objects.
Hole
In engineering: a recess that does not penetrate completely through as a bore or orifice. Term
may be casually used in lieu of a bore or orifice.
Horizontal
Hz
(Hertz) Radio waves or other electromagnetic radiation resulting from oscillations of electricity
in a conductor. Also the measurement of those oscillations.
Icon
I.D. Filter
In RFID, software that compares a newly read ID with those in a database or set.
Idle Gear
A toothed wheel that is not directly driven, but instead receives motion from another.
Idle Roller
A non-toothed wheel that is not driven - in the case of printers, it is typically used to provide
tension on a timing belt. Also referred to as tension roller.
Illuminate
Inductive Coupling
In RFID, systems that use the inducing of a current in a coil as a means of transferring data or
power.
Intermittent
In-Use Programming
The ability to read from, and write to, an RFID tag while attached to its object.
Junction
Kinetic
The science dealing with the motion of masses in relation to the forces acting on them.
7-54
PN: 9001096E
Unit 7: Appendix
GLOSSARY
Key
The button on a panel that may be pressed to send an electrical signal to influence a
predetermined activity.
Keyed
Kg
Kilo-Bytes
Used to describe data transfer rates or storage capacity of approximately 1000 bytes.
Knob
A rounded handle to facilitate the manual opening, closing, securing, or otherwise movement
of the object to which it is attached.
Knurled
An item that has recessed grooves or elevated areas on its surface to increase manual grip.
Label
Print media that has been used or printed upon that has adhesive on one side.
LAN Interface
(Local Area Network) A computer network limited to the immediate area, consequently
capable of transmitting data at a very fast rate. Usually the computer is limited to the same
building, or floor of a building, as the periphery device.
Latch
An object that is designed to be moved from one position to another for the purpose of
preventing or allowing the opening of another object.
Lateral
LCD
(Liquid Crystal Display) A display technology involving optical glass panels whose opacity can
be controlled by electrical signals. A liquid crystal surface is sandwiched between two
polarizing panels and when voltage is applied to certain areas, the crystal darkens. A light
source behind the panel transmits through the transparent crystals and is mostly blocked by
the darkened ones.
LED
(Light Emitting Diode) A semiconductor light source that emits visible light or invisible infrared
radiation. The color of the emitted light depends on the chemical composition of the
semiconducting material used.
Lever
Laminate
A film or sheet placed onto and adhered flatly over another material.
Life
Relative to RFID, the functional period within which maintenance, adjustment, and repair is not
reasonably expected.
Linear
Linerless Media
Print media that does not have a space between each label as does the eye-mark and gap
type media. This media is continuous and is divided based on printer programming.
Link
MB
MM
(Millimeter) A unit of measure in the metric system equal to 0.03937 (1/25) inches.
Media
Megabytes
Used to describe data transfer rates or storage capacity of approximately 1 million bytes
depending on the manner of compression.
Menu
Meter
Millimeter
Module
Multimeter
Memory Card
Memory Modules
In RFID, a vehicle equipped with a system for locating tagged vehicles, containers, and other
objects for the purpose of inventory control.
7-55
PN: 9001096E
Unit 7: Appendix
GLOSSARY
Modulation
In RFID, the methods of altering carriers in order to transmit the encoded information.
Nest
A set of similarly shaped objects with one smaller and resting within the other.
Nominal
The point between a positive and negative deviation which is considered to be optimum.
Nut
A small metal block with a threaded hole through its center for screwing onto a bolt.
Nylon Material
Offset
In label printing, it is the repositioning distance that the printer must make after advancing the
printed label for cutting or dispensing. The offset is the distance that the media must be
retracted following one of those activities so that printing may again take place.
Omni-Directional
Orientation
Orientation Sensitivity
Orifice
O-Ring
A typically circular object made of round, elastic material to provide a seal between two
objects.
Oscillate
A threaded rod with a rounded, flanged head used to attach multiple object together.
Paper
In printing applications, the temporary backing for print media. The paper is removed following
printing so the label may be applied.
Parallel
Objects extending in the same direction maintaining the same distance part.
Parallel Interface
An interface between computer and printer where the computer sends multiple bits of
information to the printer simultaneously by sending each bit over a separate wire.
Parameter
Parity
A simple form of error checking that is used in serial communication. A parity bit is a binary
digit that is added to a group of bits to detect the presence of an error. The parity bit take on
the value of an 0 or a 1 to satisfy a constraint on the overall parity of a binary number. The
parity scheme in use must be specified as even or odd. Parity is even if there are an even
number of 1 bits, and odd otherwise. None may also be chosen.
Passive Tags
Passive RFID tags that do not contain an internal power source. They are externally powered
and typically derive their power from the carrier signal radiated from the scanner.
PC
Perforation
Perpendicular
At right angles to a given line or plane - a vertical line is perpendicular to a horizontal one and
vise-versa.
Phenolic Material
A black, synthetic material used in manufacturing that is purchased in blocks and machined to
the desired shape - resembles plastic.
Pinion Gear
Pitch
Physical top of form of media placed under the print head elements in the feed direction.
Plastic
A synthetic material typically rigid in nature that is molded to its useful shape. Plastic is
typically injection molded along with its color additive and may be of any color chosen.
Post
Potentiometer
A variable resistor used to adjust voltage to affect various mechanical activities. This electronic
component is comprised of two terminals connected to either end of an resistive element and
a conductor that can be moved between the two ends, thus allowing the creation of a resistor
or voltage divider.
Primary
Print Assembly
7-56
PN: 9001096E
Unit 7: Appendix
GLOSSARY
Print Head
The device on a direct thermal or thermal transfer printer containing the heating elements that
causes an image to be transferred to print media.
Processor
A programmable device that performs all the instruction, logic, and mathematical processing in
a computer - is the brains of the computer. The processor is a microchip that is installed on a
motherboard (primary board) that coordinates hardware components. Also referred to as
CPU.
Profile
Program
To enter or send to the processor, the control parameters for electronic equipment to operate.
Proportional
To be equal.
Proximity Sensor
A device that detects and signals the presence of a selected object at, or near, the sensors
location.
Pulley
Quadrant
Radial
Radius
A straight line from the center of a circle or sphere to its periphery - also the measurement of
its distance.
RAM
Ratio
Reader
Relative to RFID, a device containing the digital electronics which extract and separate the
information from the format definition and error management bits.
Read/Write
Relative to RFID, many applications require that new data or revisions to data already in the
tag, be entered while it remains on the object. Some items with this capability of being reprogrammable are read/write tags, memory cards, or memory modules.
Receive Buffer
An area of temporary data storage to help compensate for differences in the transfer rate and
the processing ability of the printer.
Receptacle
A female connector to which a male connector may be inserted - typically for electrical current.
Relay
Retain
Retract
Resistor
A two-terminal electrical or electronic component that resists the flow of current producing a
voltage drop between its terminals in accordance with Ohms law. This electrical resistance is
equal to the voltage drop across the resistor, divided by the current that is flowing through it.
RF/AIS
RF/DC
Systems that communicate over a radio link between a host computer and a data source. RF/
DC enhances the capabilities of automatic ID Systems by providing the capabilities of harewire data communications without the physical restrictions interconnecting wires.
RFID
(Radio Frequency Identification) A method of identifying unique items using radio waves.
Typically, a reader communicates with a tag, which holds digital information in a microchip. But
there are chipless forms of RFID tags that use material to reflect back a portion of the radio
waves beamed at them.
7-57
PN: 9001096E
Unit 7: Appendix
GLOSSARY
A system of finding the position or location of assets.
RFID Tags
Ribbon
A thin, flexible strip with layers of material; one of which contains ink used to produce an image
on print media.
Ribbon Core
Rigid
ROM
Each type has unique characteristics, but they all are types of memory that have two things in
common: the stored data is non-volatile (not lost when power is removed) and the stored data
is unchangeable or requires a special operation to do so.
ROM chips contain a grid of columns and rows. A diode is used to connect the lines and gain
access to the data if the value is 1. If the value is 0, the lines are not connected and access is
denied.
RPM
(Revolutions Per Minute) The number of cycles within the time span of one minute.
Route
The path or course taken to get from one location to another - example: the routing of a cable
within a machine.
SAM
(Serial Access Memory) Stores data as a series of memory cell that can only be accessed
sequentially. Works very well for memory buffers where data is normally stored in the order in
which they will be used.
SBPL
Scale
Scanner
Screen
An electronic display.
Seat
Secondary
SEMBL
A SATO specific mode of printer operation that can execute the program of BASIC format in
the printer. This allows the printer to be configured and operated without interfacing with an
external computer or software.
Sensitivity
The degree of ease or difficult to gain a response - example: a sensor transmitter signal may
require increase to penetrate the thickness of print media in order to be receipted by its
receiver.
Sensor
A device that responds to a physical stimulus and produces and electronic signal.
Separation
Sequential
Serial Interface
A general-purpose interface that can be used for almost any type of device in which only 1 bit
of communication is transmitted at a time.
Set Screw
Attachment hardware specifically used to secure an object may be moved in a specific position
or location.
Shaft
7-58
PN: 9001096E
Unit 7: Appendix
GLOSSARY
Simultaneous
Sleeve
A thin hollow material that is inserted onto another to provide proportionate spacing.
Snap Ring
A circular clip that may be applied to a shaft, etc. to prevent another object from moving - used
to retain objects in position.
Solid
Spacer
Any object of purpose to maintain a specific distance from two other objects - example: a
sleeve or washer.
Spindle
A shaft or rod that is fixed on one or both ends and spins on its axis while maintaining its
projection.
SRAM
(Static Random Access Memory) A type of memory that is faster and more reliable than the
more common DRAM. The term static is derived from the fact that it doesnt need to be
refreshed like DRAM.
Stainless Steel
Steel
Metal that contains a specific percentage of carbon. The percentage of carbon determines its
strength, in addition to how prone it is to rust.
Stepper Motor
An electrical motor designed to rotate in both directions and to move in incremented distances.
Sub-Assembly
A group of components assembled to form a complete unit that is a part of a larger unit.
Switch
Tag
The transmitter/receiver pair of transceiver plus the information storage mechanism attached
to the object. It is referred to as the tag, transponder, electronic label, code plate, and various
other terms. Although transponder is technically the most accurate, the most common term,
and the one preferred by the Automatic Identification Manufacturers, is tag.
The printing method that creates an image by transferring ink from a heat activated ribbon
onto the media using the heat from a thermal printhead.
Thermal Transfer
Thermodynamics
The science that deals with the relationship of heat and mechanical energy - also the
conversion of one into the other.
Threads
Three-Dimensional
The three projectories of an object: X axis is the distance left and right, the Y axis is the
distance up and down, and the Z axis is the distance inward and outward.
Torsion Spring
A piece of wire bent into a spiral and connected on each end by different objects to allow them
to be pulled apart and then automatically return to their original position once released.
Transformer
A device used to increase or decrease electricitys voltage and current. The device consists of
one or more windings (typically copper) which, the ratio of the number of turns inversely
determines the voltage change. The windings are wrapped around a magnetic core affecting
magnetic induction.
Transistor
Translucent
Transparent
Transponder
The part of a tag that includes the antenna and that is used to emit a response to a signal.
Tread
The act of an object making repetitive contact upon another that is in motion.
7-59
PN: 9001096E
Unit 7: Appendix
GLOSSARY
Troubleshoot
Two-Dimensional
Two of the projectories of an object: X axis is the distance left and right and the Y axis is the
distance up and down. In a two-dimensional perspective, the Z axis is not recognized.
Uniform
Units
USB Interface
(Universal Serial Bus) An external peripheral interface standard for communication between a
computer and external peripherals over a cable using bi-serial transmission.
Value
Vertical
Voltage
The units of electrical force - the ampere current that flows through a conductor.
Volume
Washer
A flat disk of metal, rubber, etc., used to make a seat for the head of a bolt, screw, or nut.
Wattage
Wear
Wireless
Wiring Harness
X-ON/X-Off
For example, a computer typically sends data to a printer faster than the printer can print. The
printer contains a buffer where data is stored until it catches up, a small microprocessor in the
printer sends back an Xoff signal to stop sending data. When enough data is printed and the
buffer storage becomes free, the printer sends an Xon signal to resume sending data.
7-60
PN: 9001096E
Page 8-1
European Region
SATO SHANGHAI CO., LTD.
307 Haining Road, ACE Bldg,
10th Floor, Hongkou Area,
Shanghai 200080, China
Tel: +86-21-6306-8899
Fax: +86-21-6309-1318
Email: [email protected]
www.satochina.com
SATO UK LTD.
Valley Road, Harwich,
Essex CO12 4RR, United Kingdom
Tel: +44-1255-240000
Fax: +44-1255-240111
Email: [email protected]
www.satouk.com
American Region
SATO AMERICA, INC.
10350-A Nations Ford Road, Charlotte,
NC 28273, U.S.A.
Tel: +1-704-644-1650
Fax: +1-704-644-1662
www.satoamerica.com