Reproduction in any manner of all or part of this document is prohibited.
The content of this document may be changed without prior notice.
Great care has been taken in the preparation of this document. If any problems, mistakes, or omissions are found,
please contact your SATO reseller or technical support center.
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 cau se unacceptable interference to radio and TV reception. If the interference
is unacceptable, you can reposition the equipment, which may improve reception.
PRINTER REFERENCE TABLE
Each printer model (product) applicable to this document has been assigned a reference letter character and is
listed below. The Table Of Contents identifies specific commands and the products to which they apply.
•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)
E/Pro Programming Reference PN: 9001096E
E/Pro Programming Reference PN: 9001096E
TABLE OF CONTENTS
INTRODUCTION
About This Manual1-2
Print Area Calculation1-3
PROGRAMMING CONCEPTS
Programming Language2-2
Selecting Protocol Codes2-3
Using Basic2-4
Print Position Commands2-6
COMMAND CODE QUICK REFERENCE
A:<ESC>AStart Label (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-2
<ESC>~ACut, Label (Applicable Product: A, B, C, D, E, F, G, H, I, K, L, M)3-2
<ESC>~a Cut, Job (Applicable Product: A, B, C, D, E, F, G, H, I)3-2
<ESC>~(NULL)Multiple Cuts (Applicable Product: A, B, C, D, E, F, G, H, I, K, M)3-2
<ESC>~BCut, Last (Applicable Product: A, B, C, D, E, F, G, H)3-2
<ESC>AOAuto Online (Applicable Product: A, B, C, D, E, F, G, H, J)3-2
<ESC>A1Media Size (dots) (Applicable Product: A, B, C, D, E, F, G, H, J, K, L, M)3-2
<ESC>A1Media Size (mm) (Applicable Product: I, M)3-2
<ESC>&Form Overlay, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-2
<ESC>ARStandard Print Area (Applicable Product: A, B, C, D, E, G, H, J)3-2
<ESC>&RForm Overlay, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-2
<ESC>&SForm Overlay, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-3
<ESC>*Clear (Memory Card) (Applicable Product: A, B, C, D, E, F, G, H, I, K, L, M)3-3
<ESC>*System Clear (Applicable Product: A, B, C, D, E, F, G, H, I)3-3
<ESC>@Offline/Pause (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-3
<ESC>A3Start Point Correction (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)3-3
<ESC>AXPrint Area Enlargement (Applicable Product: A, B, C, D, E, G, H, J)3-3
B:<ESC>BBarcode, Ratio 1:3 (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-4
<ESC>BCCODE 93 Barcode (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)3-4
<ESC>BDBarcode, Ratio 2:5 (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-4
<ESC>BFBookland (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-4
<ESC>BGCODE 128 Barcode (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)3-4
<ESC>BIUCC/EAN 128 (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-5
<ESC>BJ/BJDTrue Type Font, Store (Applicable Product: A, B, C, D, E, F, G, H, I, M)3-5
<ESC>BJFCard, Format (Applicable Product: A, B, C, D, E, F, G, H, I, M)3-5
<ESC>BJSPrint Memory Card Status (Applicable Product: A, B, C, D, E, F, G, H, I, M)3-5
<ESC>BJTTrue Type Font, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, M)3-5
<ESC>BKPDF 417 (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-6
<ESC>BLUPC-A Barcode (No HRI) (Applicable Product: I, K, L, M)3-6
<ESC>BL~dUPC-A Barcode (with HRI) (Applicable Product: I, L, M)3-6
<ESC>BMUPC-A Barcode (with HRI) (Applicable Product: I, K, L, M)3-7
<ESC>BPPostnet (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-7
<ESC>BQQR Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-7
<ESC>BTVariable Ratio Barcodes (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-8
<ESC>BVMaxi Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-8
<ESC>BWBarcode Expansion (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-8
<ESC>BXData Matrix Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-8
C:<ESC>CRepeat Label (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-9
<ESC>CBTearoff Correction (Applicable Product: L)3-9
<ESC>CISensor Selection (Applicable Product: L)3-9
<ESC>CCCard, Slot Specification (Applicable Product: A, B, C, D, E, F, G, H, I, K, L, M)3-9
<ESC>CLCR/LF Deletion (Applicable Product: A, B, C, D, E, F , G, H, I, J, M)3-9
<ESC>CRSerial Port (Applicable Product: L)3-9
<ESC>CPRibbon (Applicable Product: L)3-9
<ESC>CSPrint Speed (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-10
<ESC>CTCut Number Unit (Applicable Product: I, K, L, M)3-10
D:<ESC>DBarcode, Ratio 1:2 (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-10
<ESC>d/D~Barcode, Human Readable Information (HRI) (Applicable Product: A, B, C, D, E, F, G, H, I, J, M) 3-10
<ESC>DCData Matrix Code, Data (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-10
<ESC>DIInterface (Applicable Product: K, L)3-10
<ESC>$Font, Vector (Applicable Product: A, B, C, D, E, F, G, H, I, K, L, M)3-11
E/Pro Programming ReferencePN: 9001096E
<ESC>$=Outline Font Print (Applicable Product: A, B, C, D, E, F, G, H, I, K, L, M)3-11
E:<ESC>ELine Feed (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-11
<ESC>EJMedia Ejection (Applicable Product: I, M)3-11
<ESC>EPPrint End Position (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-11
<ESC>EUEAN/UCC Composite Symbol (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-11
<ESC>EXMemory Area Enlarge Specification (Applicable Product: A, B, C, D, E, F, G, H, I, J)3-11
<ESC>EX0Print Length Expansion (Applicable Product: A, B, C, D, E, F, G, H, I, L)3-11
F:<ESC>FSequential Numbering (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-12
<ESC>FC Print Circles (Applicable Product: M) 3-12
<ESC>FTPrint Triangles (Applicable Product: M)3-12
<ESC>FMFormat Memory Card (Applicable Product: K, L)3-12
<ESC>FPPrint Memory Card Status (Applicable Product: K, L)3-12
<ESC>FWPrinting, Lines & Boxes (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-13
<ESC>FXData Matrix Code, Sequential Number (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M) 3-13
G:<ESC>GGraphics, Custom (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-13
<ESC>GCBMP File, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-13
<ESC>GIGraphic, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-13
<ESC>GMGraphics, BMP File (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-13
<ESC>GPGraphics, PCX File (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-13
<ESC>GRGraphic, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-14
<ESC>GTBMP File, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-14
H:<ESC>HHorizontal Print Position (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-14
I:<ESC>IBatch Separator (Applicable Product: I, M)3-14
<ESC>I2Serial Interface (Applicable Product: K, L)3-14
<ESC>I3LAN Interface (Applicable Product: K, L)3-14
<ESC>IDJob Store ID (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-14
<ESC>IGSensor Type Selection (Applicable Product: F, K, L)3-15
<ESC>I1IEEE1284 (Applicable Product: L)3-15
J:<ESC>JJournal Printing (Applicable Product: A, B, C, D, E, F, G, H, J, K, L)3-15
K:<ESC>KExternal Character Recall Text Flow (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-15
L:<ESC>LCharacter, Expansion (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-15
<ESC>LALanguage (Applicable Product: A, B, C, D, E, F, G, H, I, J)3-15
<ESC>LDUser Download (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-15
<ESC>LFOnline Feed (Applicable Product: A, B, C, D, E, F, G, H, J)3-15
<ESC>LHZero Slash (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)3-15
M:<ESC>MM Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)3-15
N:<ESC>NC (EJ)Eject and Cut (Applicable Product: I, K, M)3-15
O:<ESC>OAOA Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-16
<ESC>OBOB Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-16
<ESC>OFOffset Data (Applicable Product: I, M)3-16
<ESC>OLOnline (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)3-16
P:<ESC>PCharacter, Pitch (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-16
<ESC>(Reverse Image (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-16
<ESC>PCPrinter Motion Register Specification (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-16
<ESC>PDSmall Label Size Specification (Applicable Product: H)3-16
<ESC>%Rotate, Fixed Base Reference Point (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-16
<ESC>PGEEPROM Setup (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)3-16
<ESC>PHPrint Method, Thermal/Themal Transfer (Applicable Product: F, I, K, L, M)3-16
<ESC>PIPCX File, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, L, M)3-17
<ESC>PMPrint Mode Selection (Applicable Product: F, K, L)3-17
<ESC>POOffset Specification (Applicable Product: F, K, L)3-17
<ESC>#Start Position Specification (Applicable Product: I, K, M)3-17
<ESC>#EPrint Darkness (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-17
<ESC>PRCharacter, Fixed Spacing (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-17
<ESC>PSCharacter, Proportional Spacing (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-17
<ESC>PYPCX File, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, L, M)3-17
Q:<ESC>QPrint Quantity (Applicable Product: A, B, C, D, E, F, G, I, J, K, L, M)3-17
R:<ESC>RCSheet Unit Cut Quantity (Applicable Product: H)3-18
<ESC>RDFont, Raster (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-18
<ESC>RETelegraphic Message End Specification (Applicable Product: H)3-18
<ESC>RFRecall and Print of Font & Logo (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-18
<ESC>RILabel Size (Applicable Product: H)3-18
<ESC>RMMirror Image (Applicable Product: A, B, C, D, E, G, H, J, M)3-19
<ESC>RPReprint Configuration (Applicable Product: A, B, C, D, E, F, G, H, J)3-19
<ESC>RSSheet Sending Specification (Applicable Product: H)3-19
<ESC>RTLabel Size (Applicable Product: H)3-19
<ESC>RWSheet Unit Copy Quanitity (Applicable Product: H)3-19
S:<ESC>SS Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-19
E/Pro Programming Reference PN: 9001096E
<ESC>/Form Overlay, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-19
<ESC>/DField, Recall (Applicable Product: A, B, C, D, E, G, H, I, J, K, L, M)3-19
<ESC>/NField, Store (Applicable Product: A, B, C, D, E, G, H, I, J, K, L, M)3-20
T:<ESC>2D10PDF417 of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)3-20
<ESC>2D12Micro PDF417 of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-20
<ESC>2D20Maxi Code of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-21
<ESC>2D30QR Code (Mode 2) of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-21
<ESC>2D31QR Code (Mode 1) of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-21
<ESC>2D32Micro QR Code of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-22
<ESC>2D50Data Matrix (ECC200) of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-22
<ESC>T1Store 16x16 External Character (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-22
<ESC>T2Store 24x24 External Character (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-22
<ESC>TCustom Designed Characters (Applicable Product: A, B, C, D, E, F, G, H, I)3-23
<ESC>TK Forced Tear off (Applicable Product: K, L)3-23
<ESC>TPTest Printing (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-23
<ESC>TWOption Waiting Time (Applicable Product: K, L)3-23
<ESC>2STwo-Color Print Range Specification (Applicable Product: F)3-23
U:<ESC>UU Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-23
V:<ESC>VVertical Print Position (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, M)3-24
W:<ESC>WACalendar Printing (Applicable Product: A, B, C, D, E, G, H, I, J, L, M)3-24
<ESC>WBWB Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-24
<ESC>WDCopy Image Area (Partial Copy) (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-24
<ESC>WIIP Address Setup (Applicable Product: K, L)3-24
<ESC>WKJob Name (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-24
<ESC>WLWL Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-25
<ESC>WMRARP (Applicable Product: F, J, K, L)3-25
<ESC>WPCalendar Increment (Applicable Product: A, B, C, D, E, F, G, H, I, J, L, M)3-25
<ESC>WSWork-Shift Print Information Specification (Applicable Product: E)3-25
<ESC>WTCalendar Configuration (Applicable Product: A, B, C, D, E, F , G, H, I, J, L, M)3-25
<ESC>WZWireless LAN (Applicable Product: K)3-25
<ESC>W1IP Address Setting (Applicable Product: K, L)3-27
<ESC>W2Subnet Mask (Applicable Product: K, L)3-27
<ESC>W3Default Gateway (Applicable Product: K, L)3-27
X:<ESC>XBXB Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-27
<ESC>XCLXCL Font (Applicable Font: I, M)3-28
<ESC>XCSXCS Font (Applicable Font: I, M)3-28
<ESC>XLXL Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-28
<ESC>XMXM Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-28
<ESC>XSXS Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-28
<ESC>XUXU Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-28
<ESC>YRFormat, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-28
<ESC>YSFormat, Store (Applicable Product: A, B, C, D, E, G, H, I, J, K, L, M)3-28
Z:<ESC>ZStop Label (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-28
<ESC>0Replace Data (Partial Edit) (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)3-28
STANDARD COMMAND CODES
Control Commands4-2
<ESC>AStart Label (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-2
<ESC>ZStop Label (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-2
<ESC>QPrint Quantity (Applicable Product: A, B, C, D, E, F, G, I, J, K, L, M)4-3
<ESC>IDJob ID Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-4
<ESC>WKJob Name (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-5
Modification Commands4-6
<ESC>LCharacter, Expansion (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-6
<ESC>PCharacter, Pitch (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-7
<ESC>PRCharacter, Fixed Spacing (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-8
<ESC>PSCharacter, Proportional Spacing (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-8
<ESC>%Rotate, Fixed Base Reference Point (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-9
<ESC>FSequential Numbering (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-10
<ESC>FCPrint Circles (Applicable Product: M)4-11
<ESC>FTPrint Triangles (Applicable Product: M)4-13
<ESC>FWPrint, Lines & Boxes (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-14
E/Pro Programming ReferencePN: 9001096E
<ESC>(Reverse Image (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-15
<ESC>&Form Overlay, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-16
<ESC>/Form Overlay, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-17
<ESC>0Replace Data (Partial Edit) (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-18
<ESC>WDCopy Image Area (Partial Copy) (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-19
<ESC>JJournal Printing (Applicable Product: A, B, C, D, E, F, G, H, J, K, L)4-20
<ESC>RFRecall and Print of Font & Logo (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-21
<ESC>RMMirror Image (Applicable Product: A, B, C, D, E, G, H, J, M)4-22
<ESC>_DVariable Data Specification (Applicable Product: H, K, L)4-23
<ESC>_FSmall Label Start (Applicable Product: H)4-24
<ESC>_NFormat Specification (Applicable Product: H)4-25
<ESC>_QPrint Quantity (Applicable Product: H, K, L)4-26
<ESC>PDSmall Label Size Specification (Applicable Product: H)4-27
<ESC>RETelegraphic Message End Specification (Applicable Product: H)4-28
<ESC>RSSheet Sending Specification (Applicable Product: H)4-29
<ESC>2STwo-Color Print Range Specification (Applicable Product: F)4-30
Print Position Commands4-31
<ESC>A1Media Size (dots) (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-31
<ESC>A1Media Size (mm) (Applicable Product: I, M)4-32
<ESC>HHorizontal Print Position (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-33
<ESC>VVertical Print Position (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-33
<ESC>POOffset Specification (Applicable Product: F, K, L)4-34
<ESC>#Start Position Specification (Applicable Product: I, K, M)4-35
<ESC>RILabel Size (Applicable Product: H)4-36
<ESC>RTLabel Size (Applicable Product: H)4-37
Font Commands4-38
<ESC>XMXM Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-38
<ESC>XSXS Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-38
<ESC>XUXU Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-38
<ESC>SS Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-38
<ESC>MM Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-38
<ESC>UU Font (Applicable Product: A, B, C, D, E, F, G, H , I, J, K, L, M)4-38
<ESC>OAOA Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-38
<ESC>OBOB Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-38
<ESC>XBXB Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-39
<ESC>XLXL Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-39
<ESC>WBWB Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-39
<ESC>WLWL Font (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-39
<ESC>RDFont, Raster (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-40
<ESC>$Font, Vector (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-41
<ESC>$=Outline Font Print (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-41
<ESC>XCLXCL Font (Applicable Product: I, M)4-42
<ESC>XCSXCS Font (Applicable Product: I, M)4-42
<ESC>KExternal Character Recall Text Flow (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)4-43
<ESC>T1Store 16x16 External Character (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-44
<ESC>T2Store 24x24 External Character (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-45
Barcode Commands4-46
<ESC>BBarcode, Ratio 1:3 (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-46
<ESC>BDBarcode, Ratio 2:5 (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-46
<ESC>DBarcode, Ratio 1:2 (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-46
<ESC>d/D~Barcode, Human Readable Information (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)4-50
<ESC>BCCODE 93 Barcode (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-52
<ESC>BFBookland (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-53
<ESC>BGCODE 128 Barcode (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-54
<ESC>BIUCC/EAN 128 (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-55
<ESC>BLUPC-A Barcode (No HRI) (Applicable Product: K, L, M)4-57
<ESC>BL~dUPC-A Barcode (with HRI) (Applicable Product: I, K, L, M)4-58
<ESC>BMUPC-A Barcode (with HRI) (Applicable Product: I, K, L, M)4-60
<ESC>BPPostnet (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-62
<ESC>BTVariable Ratio Barcodes (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-63
<ESC>BWBarcode Expansion (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-64
<ESC>EUEAN/UCC Composite Symbol (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-65
2D Code Commands4-67
<ESC>BKPDF417 (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-67
<ESC>BQQR Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-68
<ESC>BVMaxi Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-69
<ESC>BXData Matrix Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-70
<ESC>DCData Matrix Code, Data (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-71
E/Pro Programming Reference PN: 9001096E
<ESC>FXData Matrix Code, Sequential Number (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M) 4-72
<ESC>2D10PDF417 of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-73
<ESC>2D12Micro PDF417 of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-74
<ESC>2D20Maxi Code of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-69
<ESC>2D30QR Code (Mode 2) of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-75
<ESC>2D31QR Code (Mode 1) of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-76
<ESC>2D32Micro QR Code of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-78
<ESC>2D50Data Matrix (ECC200) of 2D Code (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-80
System Commands4-81
<ESC>CSPrint Speed (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-81
<ESC>#EPrint Darkness (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-82
<ESC>A3Base Reference Point (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-83
<ESC>ARPrint Area, Standard (Applicable Product: A, B, C, D, E, G, H, J)4-85
<ESC>AXPrint Area Enlargement (Applicable Product: A, B, C, D, E, G, H, J)4-85
<ESC>EPPrint End Position (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-86
<ESC>~aCut, Job (Applicable Product: A, B, C, D, E, F, G, H, I)4-87
<ESC>~(NULL)Multiple Cuts (Applicable Product: A, B, C, D, E, F, G, H, I, K, M)4-88
<ESC>~ACut, Label (Applicable Product: A, B, C, D, E, F, G, H, I, K, L, M)4-89
<ESC>~BCut, Last (Applicable Product: A, B, C, D, E, F, G, H)4-90
<ESC>CBTear-off Correction (Applicable Product: L)4-91
<ESC>CISensor Selection (Applicable Product: L)4-92
<ESC>CRSerial Port (Applicable Product: L)4-93
<ESC>CPRibbon (Applicable Product: L)4-94
<ESC>CTCut Number Unit (Applicable Product: I, K, L, M)4-95
<ESC>DIInterface (Applicable Product: K, L)4-96
<ESC>EJMedia Ejection (Applicable Product: I, M)4-97
<ESC>EXMemory Area Enlarge Specification (Applicable Product: A, B, C, D, E, F, G, H, I, J)4-98
<ESC>FMFormat Memory Card (Applicable Product: K, L)4-99
<ESC>FPPrint Memory Card Status (Applicable Product: K, L)4-100
<ESC>@Offline/Pause (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-101
<ESC>OLOnline (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)4-102
<ESC>AOAuto Online (Applicable Product: A, B, C, D, E, F, G, H, J)4-103
<ESC>CRepeat Label (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-104
<ESC>PGEEPROM Setup (Applicable Product: A, B, C, D, E, F, G, H, I, J, M)4-105
<ESC>PCPrinter Motion Register Specification (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-105
<ESC>IGSensor Type Selection (Applicable Product: F, K, L)4-106
<ESC>I1IEEE1284 (Applicable Product: L)4-107
<ESC>I2Serial Interface (Applicable Product: K, L)4-108
<ESC>I3LAN Interface (Applicable Product: K, L)4-109
<ESC>NC (EJ)Eject and Cut (Applicable Product: K)4-110
<ESC>PHPrint Method, Thermal/Themal Transfer (Applicable Product: F, I, K, L, M)4-111
<ESC>PMPrint Mode Selection (Applicable Product: F, K, L)4-112
<ESC>ELine Feed (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)
>L
<ESC
<ESC>RPReprint Configuration (Applicable Product: A, B, C, D, E, F, G, H, J)4-115
<ESC>LALanguage (Applicable Product: A, B, C, D, E, F, G, H, I, J)4-116
<ESC>CLCR/LF Deletion (Applicable Product: A, B, C, D, E, G, H, J)4-117
<ESC>LHZero Slash (Applicable Product: A, B, C, D, E, F, G, H, I, J)4-118
<ESC>LFOnline Feed(Applicable Product: A, B, C, D, E, F, G, H, J)4-119
<ESC>TWOption Waiting Time (Applicable Product: K, L)4-120
<ESC>TKForced Tear Off (Applicable Product: K, L)4-121
<ESC>TPTest Printing (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-122
<ESC>EX0Print Length Expansion (Applicable Product: A, B, C, D, E, G, H, I, J, L)4-123
<ESC>RCSheet Unit Cut Quantity (Applicable Product: H)4-124
<ESC>RWSheet Unit Copy Quantity (Applicable Product: H)4-125
<ESC>WIIP Address Setup (Applicable Product: K, l)4-126
<ESC>WMRARP (Applicable Product: F, J, K, L)4-127
<ESC>WZWireless LAN (Applica ble Product: K)4-127
<ESC>W1IP Address Setting (Applicable Product: K, L)4-131
<ESC>W2Subnet Mask (Applicable Product: K, L)4-132
<ESC>W3Default Gateway (Applicable Product: K, L)4-133
<ESC>WSWork-Shift Information Print Specification (Applicable Product: E)4-134
<ESC>YELabel Specification (Applicable Product: F)4-135
DUser Download (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-114
4-113
Intelligent Commands4-136
<ESC>IBatch Separator (Applicable Product: I, M)4-136
Graphic Commands4-137
E/Pro Programming ReferencePN: 9001096E
<ESC>GGraphics, Custom
<ESC>GMGraphics, BMP File (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-138
<ESC>GPGraphics, PCX File (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-139
(Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)4-137
OPTIONAL COMMAND CODES
Calendar Commands5-2
<ESC>WACalendar Printing (Applicable Product: A, B, C, D, E, G, H, I, J, L, M)5-2
<ESC>WPCalendar Increment (Applicable Product: A, B, C, D, E, G, H, I, J, L, M)5-3
<ESC>WTCalendar Configuration (Applicable Product: A, B, C, D, E, F , G, H, I, J, L, M)5-4
Memory Card Commands5-5
<ESC>CCCard, Slot for Use (Applicable Product: A, B, C, D, E, F, G, H, I, K, L, M)5-5
<ESC>BJFCard, Format (Applicable Product: A, B, C, D, E, G, H, I, M)5-6
<ESC>*Memory Card Clear (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)5-7
<ESC>*System Clear (Applicable Product: A, B, C, D, E, F, G, H, I, J)5-8
<ESC>BJSPrint Memory Card Status (Applicable Product: A, B, C, D, E, F, G, H, I, M)5-9
<ESC>BJTTrue Type Font, Recall (Applicable Product: A, B, C, D, E, G, H, I, M)5-10
<ESC>BJ/BJDTrue Type Font, Store (Applicable Product: A, B, C, D, E, F, G, H, I, M)5-11
<ESC>YRFormat/Field, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)5-12
<ESC>YSFormat/Field, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)5-13
<ESC>&RForm Overlay, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)5-14
<ESC>&SForm Overlay, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)5-15
<ESC>GCBMP File, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)5-17
<ESC>GTBMP File, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)5-18
<ESC>PYPCX File, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, L, M)5-19
<ESC>PIPCX File, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, L, M)5-20
<ESC>GRCustom Graphic, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)5-21
<ESC>GICustom Graphic, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)5-22
<ESC>TCharacter, Custom Designed (Applicable Product: A, B, C, D, E, F, G, H, I, J)5-23
<ESC>/DField, Recall (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)5-24
<ESC>/NField, Store (Applicable Product: A, B, C, D, E, F, G, H, I, J, K, L, M)5-25
BI-DIRECTIONAL COMMUNICATIONS
Introduction6-2
General Configuration6-2
Serial Interface6-2
Receive Buffer6-2
Data Transmission6-2
Enquire & Response6-3
Enquire (ENQ)6-3
Cancel (CAN)6-3
Print Job6-3
Print Stop (DLE)6-3
Print Start (DC1)6-3
Obtain History Data (LW)6-4
Release Return Error (SUB)6-4
Printer Status (MG)6-4
Counter Status (ME)6-6
Sensor Status (SG)6-6
Head Status (HC)6-7
System Version Information (SB)6-7
Memory Status (EB)6-7
Format Overlay Status (FO)6-8
Font Configuration (FG)6-8
Interface Status (IG)6-8
Interface Settings (H2)6-9
Item Number Check6-9
APPENDIX
Custom Characters & Graphics7-2
Custom Designed Character Example7-2
Custom Graphics Example7-4
PCX Graphics Example7-7
Custom Protocol Codes7-8
Reference Tables7-9
E/Pro Programming Reference PN: 9001096E
Table 1:Character Font Set (<ESC>XU)7-9
Table 2:Character Font Set (<ESC>XS)7-9
Table 3:Character Font Set (<ESC>XM)7-10
Table 4:Character Font Set (<ESC>XB)7-10
Table 5:Character Font Set (<ESC>XL)7-11
Table 6:Character Font Set (<ESC>OA)7-11
Table 7:Character Font Set (<ESC>OB)7-12
Table 8:Parameter A & B Comparison (<ESC>RD)7-12
Table 9:Character Font Set (<ESC>XCL/XCS)7-13
Table 10:Character Font Set (<ESC>X70-77)7-13
Table 11:Barcode Type (<ESC>B)7-14
Table 12:Barcode Type (<ESC>BD)7-14
Table 13:Barcode Type (<ESC>D)7-15
Table 14:Code Table (<ESC>BC)7-15
Table 15:Code Table (<ESC>BF)7-16
Table 16:Code128 Data Values (<ESC>BG)7-16
Table 17:Code Table (<ESC>BI)7-17
Table 18:Code Table (<ESC>BP)7-18
Table 19:Code Table (<ESC>BW)7-18
Table 20:Code Table (<ESC>BW)7-19
Table 21:Code Table (<ESC>BK)7-19
Table 22:Character Size (<ESC>BK)7-20
Table 23:Data Size (<ESC>BQ)7-21
Table 24:Code Table (<ESC>BQ)7-22
Table 25:Code Table (<ESC>BQ)7-22
Table 26:Code Table (<ESC>BQ)7-23
Table 27:Code Table (<ESC>BV)7-24
Table 28:Format ID List (<ESC>BX)7-24
Table 29:Code Table (<ESC>FX)7-25
Table 30:Symbol & Data Quantity (<ESC>2D12)7-26
Table 31:Code Table (<ESC>2D12)7-27
Table 32:Code Table (<ESC>2D20)7-28
Table 33:Data Size (<ESC>2D30)7-29
Table 34:Data Size (<ESC>2D31)7-30
Table 35:Code Table (<ESC>2D32)7-31
Table 36:Code Table (<ESC>2D32)7-32
Table 37:Code Table (<ESC>2D32)7-33
Table 38:Code Table (<ESC>2D50)7-34
Table 39:Parameters (<ESC>AR/AX)7-35
Table 40:Parameters (<ESC>PG)7-36
Table 41:Parameters (<ESC>PG)7-38
Table 42:Parameters (<ESC>PG)7-39
Table 43:Parameters (<ESC>PG)7-40
Table 44:Parameters (<ESC>PC)7-42
Table 45:Parameters (<ESC>PC)7-44
Table 46:Parameters (<ESC>PC)7-45
Table 47:Parameters (<ESC>PC)7-46
Table 48:Parameters (<ESC>LD)7-47
Table 49:Parameters (<ESC>EX)7-47
Table 50:Parameters (<ESC>AR)7-48
Table 51:Parameters (<ESC>G)7-48
Table 52:Reference (<ESC>YS)7-49
Table 53:Parameters (<ESC>&S)7-50
Table 54:Parameters (<ESC>GI)7-50
Glossary7-51
E/Pro Programming ReferencePN: 9001096E
E/Pro Programming Reference PN: 9001096E
Unit 1: Introduction
INTRODUCTION
•About This Manual
•Print Area Calculation
E/Pro Programming Reference
1-1PN: 9001096E
Unit 1: Introduction
ABOUT THIS MANUAL
This manual is laid out consistent with the product discussed and provides all of the information required for printer
programming.
This manual also incorporates the use of special information boxes. Examples of these boxe s and the type of
information provided in each, are below.
WARNING: PROVIDES INFORMATION THAT, IF UNHEEDED, MAY RESULT IN
PRESONAL INJURY.
CAUTION: PROVIDES INFORMATION THAT, IF UNHEEDED, MAY
RESULT IN EQUIPMENT DAMAGE.
ATTENTION: Provides information that is deemed of sp ecial importance but
will not result in personal injusry or product damage if unheeded.
NOTE: Provides helpful hints to assist in performing the tasks at hand.
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 manual’s part number to the right side of the page.
Page enumeration is two-part with each separated by a hyph en. The first char acter set refe ren ces th e Unit a nd the
second identifies the page number . Pa ge n umb er s be g in with the numeral (1) one at the commencement of a new
unit and ascend sequentially.
E/Pro Programming Reference
1-2PN: 9001096E
Unit 1: Introduction
PRINT AREA CALCULATION
Many print applications may not require labels that fill the entire printable area of the printer. Therefore it is
important to understand how to calculate print size so that the printed image does not exceed the label size.
There are two axis to consider when calculating for print position; horizontal and vertical. The horizontal axis is
lateral positioning parallel with the print head and is measured from the right side of the media to the left. The
vertical axis is the label length from the front to its rear.
This juncture point of the horizontal and vertical axis is referred to as the Base Reference Point (or zero point) and
all measurement is incremental along those axis’ from there. The allowable ranges for these references is
dependent on the particular printer to accommodate different print widths and resolutions.
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 m ay be found in the product
manuals.
A3 COMMAND
Before beginning to send code, one must pe rform 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 printer’s maximum printable width to the label width. That formula would be as follows using the above
examples:
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 label’s width.
Note that with each additional horizontal or vertical adjustment, the New Base Reference Point will always be
positioned relative to the last base ref erence point - not the Initial Bas e Reference Point. In othe r 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-3PN: 9001096E
Unit 1: Introduction
POWER
ON LINE
STATUS LABEL RIBBON
LINE
FEED
Print Head
LABEL
LABEL
Label Width
Label Length
Maximum Printable Width
Initial Base Reference Point
Print Offset
New Base Reference Point
delete all positioning commands to return the printer to its default state.
Figure 1-1, Print Area Calculation
E/Pro Programming Reference
1-4PN: 9001096E
Unit 2: Programming Concepts
PROGRAMMING
CONCEPTS
•Programming Language
•Selecting Protocol Codes
•Using Basic
•Print Position Commands
E/Pro Programming Reference
2-1PN: 9001096E
Unit 2: Programming Concepts
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 cod e to be sen t 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.”
<ESC>{Command} {Parameter} {Data}
Some commands can contain both Parameter and Data elements, such as “print a Code 39 symbol containing the
data.”
E/Pro Programming Reference
2-2PN: 9001096E
Unit 2: Programming Concepts
SELECTING PROTOCOL CODES
Protocol codes are the special control characters that prepare the printer to receive instructions. For example, the
<ESC> character tells the printer that a command code will follow and the <ENQ> character asks for the printer
status.
There are two pre-defined different sets of Protocol Control codes to choose from. Each set is made up of six
special characters. The Standard Protocol Control codes are non-printable characters, and the Non-Standard
Protocol Control codes are printable characters. The Non-Standard set may be useful on host computers using
protocol converters or in an application where non-printable ASCII characters cannot be sent from the host.
This manual uses the Standard Protocol Control codes for all of the
examples. Alternately, the user may define and download a set of custom
Protocol Control Codes (see Appendix D).
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 printer’s RS232C inter face, 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,DS”AS #1
This sets the host computer’s 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.
PRINTING WITH THE PARALLEL PORT
5 REM CL612 Parallel ExampleIdentifies the program as a CL612 parallel port print label.
The “REM” prevents this data from being sent to the
printer and is only displayed on the screen.
10 E$=CHR$(27)Sets the “E$” string as an <ESC> character
20 WIDTH “LPT1”,255Sets the width of the output to 255 characters
30 LPRINT E$;"A";Sends an “<ESC>A” command code to the LPT1 parallel
port
40 LPRINT E$;"H400";E$;"V100";E$;"XL1SATO";Sends the data “SATO” to be to be placed 400 dots
horizontally and 100 dots ver tically on the labe l and printed
in the “XL” font.
50 LPRINT E$;"Q1"; Instructs the printer to print one label.
60 LPRINT E$; “Z”;Tells the printer that the last commandhas been sent. The
printer can nowcreate and print the job.
E/Pro Programming Reference
2-4PN: 9001096E
Unit 2: Programming Concepts
PRINTING WITH THE RS232C PORT
5 REM CL612 Parallel ExampleIdentifies the program as a CL612e RS232C port print
label. The “REM” prevents this data from being s ent to the
printer and displays it only on the screen.
10 E$=CHR$(27)Sets the“E$”string as an <ESC>character.
OPEN “COM1:9600,N,8,1,CS,DS”AS #1Opens 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.
30 PRINT #1,CHR$ (2);Sends an <STX> (ASCII Code a decimal “2”) to the printer
instructing it to prepare to receive a message.
50 PRINT #1,E$;"A";Sends an “<ESC>A” command code to Print Port #1
opened by statement 20 above.
60 PRINT#1, E$; "H400"; E$; "V100"; E$;
"XL1SATO"
Sends the data “SATO” to be placed 400 dots horizontally
and 100 dots vertically on the label and printed in the“XL”
autosmoothed font.
50 PRINT #1, E$;"Q1";Instructs the printer to print a quantity of one label.
60 PRINT #1, E$; “Z”;Informs the printer that the last command has been sent
and printing can occur.
70 PRINT #1,CHR$ (3);Sends an <ETX> (ASCII Code decimal “3”) informs the
printer of message end.
Identifies the program as a CL612e RS232C port print
label. The “REM” prevents this data from being s ent to the
printer and displays it only on the screen.
E/Pro Programming Reference
2-5PN: 9001096E
Unit 2: Programming Concepts
LABEL
Label Width
Label Length
PRINT POSITION COMMANDS
There are three methods using command codes to properly orient print images on a label. They are as follows:
MEDIA SIZE COMMAND
The Media Size Command (<ESC>A1) allows specification of the label width and length so the printer may
autmatically adjust itself relative to the command entry. However, the label size specified and the actual label size
must match.
EXAMPLE:<ESC>A1aaaaabbbb
a = Label Length
b = Label Width
Figure 2-1, Media Measurement
BASE REFERENCE POINT COMMAND
The Base Reference Point Command (<ESC>A3) establishes the zero point of the Horizontal and Vertical axis so
the distance may be calculated in dots from that point to the label’s edge. This command immediately follows the
Data Start Command.
EXAMPLE: Label Width = total dots - = 406 dots
New Base Ref Point = Max Print Width - Label Width
= (dot quantity) - (406 dots) = 426 dots
Issue Base Reference Point command <ESC>A3 after the data Start command.
<ESC>A<ESC>A3H0426V0001. . . . . .
E/Pro Programming Reference
2-6PN: 9001096E
Unit 2: Programming Concepts
HORIZONTAL OFFSET COMMAND
Allows print image orientation by combining a part of both methods above by establishing the media size and then
orienting it through base reference point adjustment.
EXAMPLE:A Printer with 8-dpmm:
Label Width = 2" x 25.4 mm/in x 8 dpmm = 406 dots
New Base Reference Point = Maximum Print Width - Label Width
= (832 dots) - (406 dots) = 426 dots
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 out side 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.
If using a 2 inch wide label, the entire image may not app ear on the lab el. By addi ng the follo win g Bas e Re fer e nce
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:M8400RVe data stream results in a 2 inch wide label:
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 Poin t com m a nd des c rip tion.
E/Pro Programming Reference
2-7PN: 9001096E
Unit 2: Programming Concepts
E/Pro Programming Reference
2-8PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK
REFERENCE
•A through Z (all commands)
E/Pro Programming Reference
3-1PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
AStart Code. Begins all print jobs
~AaaaaCut, Label. Specifies the quantity of labels to print between each cut. It is independent of the
Quantity command.
aaaa=Quantity of labels between each cut
~aaaaCut, 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=Quantity of labels between each cut (0001 to 9999)
~(NULL)Multiple Cut Specification. Cuts a specified quantity of times for a spe cified q uantity of
labels resulting in one or more labels between each cut sequence.
a=Print quantity until cut (0 to 9999)
~BCut, Last. Cuts any printed labels that remain in the printer.
AOaAu to Online. Allows the automatic online on power up setting to be enabled or disabled.
a=0: Powers up in the online mode
1: Powers up in the offline mode
A1aaaabbbbMedia Size (dots). Specifies the label size in dots.
aaaa=Label height in dots (0 to Vmax)
bbbb=Label width in dots (0 to Hmax)
A1aabbbcccMedia Size (mm). Specifies the label size in millimeters for XL400/410e and TG308e a nd
TG312e printers.
a=Label Type
0T: Tag Label
0T: Adhesive Label
b=Vertical Dimension in millimeters
025 to 300 Tag (XL400e)
019 to 300 Label (XL400e)
025 to 240 Tag (XL410e)
019 to 240 Label (XL410e)
c=Horizontal Dimension in millimeters
032 to 100 Tag (XL400/410e)
029 to 100 Label (XL400/410e)
&Store Form Overlay. Stores a specified label image in the printer’s volatile form overlay
memory.
ARNormal Print Length. This command resets the printer to the Standard print length (7
inches).
&RaaForm Overlay, Recall. Recalls a label image previously stored in Expanded Memory.
E/Pro Programming Reference
aa=Storage number (00 to 99)
3-2PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
&S,aa,bbbb,ccccForm Overlay, Store. Stores a label image in Expanded Memory.
aa=Storage number (00 to 99)
bbbb=Horizontal size of window to be stored (50 to Hmax)
cccc=Vertical size of window to be stored (50 to Vmax)
A(space)ZForm Feed. Feeds a blank tag or label.
*a,bbbClear Memory Card. Stores a label image in Expanded Memory.
a=Memory section to be cleared.
G: SATO graphics file (001 to 999)
P: PCX graphics file (001 to 999)
F: Stored formats (001 to 999)
O: TrueT y pe fo nts, memory card (001 to 009)
R: BMP graphic file (001 to 999)
bbb=BMP graphic file (001 to 999)
*aSystem Clear. Stores a label image in Expanded Memory for the CT400/410 printers.
a=Clear Item
(blank): Single item receive, edit buffer
T: Foreign character registration area
&: Form overlay
X: All clear
@,nn...nOffline/Pause. Signals the printer to go offline after upon job completion.
nn...n=Optional message to be displayed on the LCD (max 32 characters).
A3H-aaaa-VbbbbBase Reference Point. Establishes a new base reference point position for the current
label. Units of measurement are dots.
-=Optional character. If included, will shift reference point in negative
direction.
aaaa=Horizontal reference point
bbbb=Vertical reference point
AXPrint Area Enlargement. This command sets the printer to the Expanded print length (14
1: 7% high density
2: 15% standard
3: 30% high reliability
4: 25%
b=Concatenation mode
0: Normal Mode
1: Concatenation mode
c=Size of one side of cell (01 to 32)
d=Quantity of partitions by concatenation mode (01 to 16)
e=Sequential number partitioned by concatenation (01 to 16)
f=Concaten a ti o n mo de parity data (00 to FF)
g=Character mode
1: Number Mode
2: Alphanumeric Mode
3: Binary Mode
h=Quantity of data (0001 to 7366)
n= Print data.
E/Pro Programming Reference
3-7PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
BTabbccddeeBarCodes. Variable Ratio. provides the ab ility to print a bar code with a ratio other than
those specified through the standard bar code commands (B, BD, and D).
a=Bar code option:
0: Codabar
1: Code 39
2: Interleaved 2 of 5
5: Industrial 2 of 5
6: Matrix 2 of 5
bb=Narrow space in dots (01-99)
cc=Wide space in dots (01-99)
dd=Narrow bar in dots (01-99)
ee=Wide bar in dots (01-99)
BVa,b,c, ddddddddd,eee,
f f f,gg..g
BWaabbbBarCodes. Expansion. Works together with the BT command to specify an expansion factor
BXaabbccddeeefffghhData Matrix. Data Format. Specifies the format of the Data Matrix 2-D symbology.
Maxicode. Prints 2-D Maxicode symbols per AIM I.S.S. specification.
a=Position of symbo l within the set
b=Total number of symbols in the set
c=Mode
dd..d=9 digit numeric Postal Code
eee=3 digit numeric Country Code
f f f=3 digit numeric Service Class
gg..g=Data, terminated by <ESC>
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=Bar height by dot (004 to 999 dots)
aa=Format ID (01 to 06, If ECC200 is selected (bb=20) this field is ignored
bb=Error correction level (00, 05, 08,10,14, 20 or 200. All other values
processed as 00
E/Pro Programming Reference
cc=Horizontal cell size (03 to 12 dots/cell)
dd=Vertical cell size (03 to 12 dots per cell)
eee=Cells per line. Use 000 for optimized symbol
fff=Cell lines. Use 000 to optimize
g=Mirror image
0: Normal Print
1: Reverse Print
hh=Guide cell thickness (01 to 15) 01 indicates normal type
3-8PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
CRepeatLabel. Prints a duplicate of the last label printed.
CBabbTear-off correction. Corrects tear-off value.a=Increment or decrement:
+: Increment
-: Decrement
bb=Distance to move (mm): -5 to 98
CIaSensor 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
CCaCard, Slot for Use. Selects the memory area for all following expanded memory commands.
a=Memory Area 1
b=Memory Area 2
CLaCR/LF Deletion. Deletes the occurrence of CR/LF characters in the data stream.
a=0: Do not delete CR/LF
1: Delete CR/LF
CRaaaaabcdSerial port. Sets serial port.
aaaaa=BAUD rate:
9600: 9600 bps
19200: 19200 bps
38400: 38400 bps
b= Parity:
N: Non parity
O: Odd number
E: Even number
c=Data bit:
7: 7 bit
8: 8 bit
d= Stop bit
1: 1 bit
2: 2 bit
CPaRibbon. Sele cts the use or disuse of ribbo n.
E/Pro Programming Reference
a=Ribbon type:
0: Direct thermal (ribbon is not required)
1: Thermal transfer (ribbon is required)
3-9PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
CSaPrintSpeedSelection. Specifies a unique print speed in in./sec. through software for a
particular label.
a=Speed Range
CTaCut number unit. Cuts label at a specified interval in a print job.
a=Number of labels between each cut: Quantity range: 0 to 9999.
DabbcccnBarcode, Ratio 1:2. Prints a 1:3 ratio barcode.
a=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)
b=Narrow bar width (01 to 12 dots)
c=Barcode height (001 to 999 dots)
n=Barcode print data
dn...nBarcode, Human Readable Information (HRI). Specifies the character type of human
readable information of barcode. Used in conjunction with the preceding <ESC>D.
d=Character type specification
XU
XS
XM
XB
XL
OA
OB
HRI data
n=HRI print data
DCxx...xDataMatrix. Print Data. Prints data using Data Matrix format specified in BX Data Format
command.
xx...x=Data to be printed. Cannot exceed 500 characters.
DIaInterface. Specifies the interface used to connect with a host.
a=Interface
0: USB/Wireless LAN
1: RS-232C or LAN
2: Keypad
E/Pro Programming Reference
3-10PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
$a,bbb,ccc,dFont, Vector. Specifies printing of the unique SATO vector font.
a=A: Helvetica Bold (proportional spacing)
B: Helvetica Bold (fixed spacing)
b=Font width (50 to 999 dots)
c=Font height (50 to 999 dots)
d=Font variation (0 to 9) as follows:
0: Standard
1: Standard open (outlined)
2: Gray (mesh) pattern 1
3: Gray (mesh) pattern 2
4: Gray (mesh) pattern 3
5: Standard, shadow 1
6: Standard, shadow 2
7: Standard mirror image
8: Italic
9: Italic open (outlined)
$=nOutline Font Print. Specifies the print of outl in e font.
n= Print data
EaaaLineFeed. Provides the ability to print multiple lines of the same character size without
specifying a new print position for each line.
aaa=Number of dots (1 to 999) between the bottom of the characters on one
line to the top of the characters on the next line.
EJMedia Ejection. Enables forward and backward motion for cutting and printing.
EPPrint End Position. Specifies the label stop position in the sensor valid mode.
EU
EAN/UCC Composite. Specifies the composite symbol of EAN/UCC.
a=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)
b=Minimum bar width (01 to 12 dots)
EXMemory Area Enlarge Specification. Specifies the enlargement of the print area in the
vertical direction.
EX0ExpandedPrintLength. Expands the print length to 9999 dots.
E/Pro Programming Reference
n=Data (Sum of 1D and 2D codes up to 120 digits)
a
=0: Internal memory slot number specification
3-11PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
Faaaabcccc ddeeSequential Numbering. Allows the printing of sequencing fields (text, bar codes) where all
incrementing is done within the printer.
aaaa=Number of times to repeat the same data (0001 to 9999)
b=Plus or minus symbol (+ for increments; - for decrements)
cccc=Value of step for sequence (001 to 9999)
dd=Quantity of digits for sequential numbering (01 to 99)
ee=Quantity of digits free for sequential numbering (01 to 99)
FCaaabbbcdPrint circles. Specifies the printing of circles.
a
b
c
d
FTaaaabbbbccccdPrint triangles. Specifies the printing of triangles.
a
b
c
d
Radius (5 to 999 dots)
=
Line width (1 to 999 dots)
=
Section number (0 to 8: Omissible)
=
Pattern (0 to 3: Omissible)
=
0: Solid black line
1: Gray 1
2: Gray 2
3: Gray 3
Side length (10 to 2000 dots)
=
Line width (1 to 1000 dots)
=
Base length (10 to 2000 dots) Omissible.
=
Pattern (0 to 3) Omissible.
=
0: Solid black line
FMaFormat memory card. Specifies the format (initialization) of memory card.
FPPrint memory card status. Prints the status of memory card.
E/Pro Programming Reference
1: Gray 1
2: Gray 2
3: Gray 3
a=User ID: Up to 8 bytes in alphanumeric and symbols.
3-12PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
FWaabccccLine. Prints a line. Units of measurement are dots.
aa=Line width
b=V: Vertical line
H: Horizontal line
cccc=Vertical line length
dddd=Horizontal line length
FXaaabcccdddeeeDataMatrix. Sequential Numbering. Prints sequential numbered Data Matrix 2-D symbols.
aaa=Number of duplicate labels (001 to 999)
b=Increment or decrement
+: Increment
-: Decrement
ccc=Increment/decrement steps (001 to 999)
ddd=Sequential numbering start position (001 to 999) from left side
eee=Incremented data length (001 to 999). Measured from start position
Gabbbccc(data)CustomGraphics. Allows the creation and printing of graphic images using a dot-
addressable matrix.
a=Specifies format of data stream to follow
B: Binary
H: Hexadecimal
bbb=Number of horizontal 8 x 8 blocks
ccc=Number of vertical 8 x 8 blocks
data=Data to describe the graphic image
GCaaaBMP File, Recall. Recalls BMP graphic files stored in Expanded Memory.
GIabbbcccdddee...eGraphic, Store. Stores a graphic image in the memory card to be called later for printing on
a label.
a=Specifies format of data stream to follow
B: Binary
H: Hexadecimal
bbb=Number of horizontal 8 x 8 blocks
ccc=Number of vertical 8 x 8 blocks
ddd=Graphics storage number (001 to 999)
GMaaaaaBMPFile. Downloads BMP file to the internal graphics image memory.
GPaaaaaPCXFile. Downloads PCX file to the internal graphics image memory.
E/Pro Programming Reference
ee...e=Data to describe the graphic image
aaaaa=Quantity of bytes to download (max DOS file size is 32K)
aaaaa=Quantity of bytes to download (max DOS file size is 32K)
3-13PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
GRcccGraphic, Recall. Recalls for printing the graphic image stored by the GI command.
ccc=Storage number (001 to 999)
GTaaa,bbbbb, nn. . . nBMP File, Store. Stores BMP files in Expanded Memory.
aaa=Storage area number (001 to 999)
bbbbb=Size of BMP file in bytes
nn....n=Data
HaaaaHorizontalPosition. Specifies a field’s horizontal location across the width of the label from
the current base reference point. The units of measurement are dots.
IBatch 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
=Batch separator type
1: Divided mark method
2: Separator method
I2abcdeSerial interface. Specifies serial interface.
a Baud rate=0: 9600 BPS
=1: 19200 BPS
=2: 38400 BPS
=3: 57600 BPS
b Data bit= 0: 8 bit
=1: 7 bit
c Parity=
d Stop bit=
e Control=
I3aLAN Interface. Specifies LAN interface.
0 = No parity
1 = Odd
2 = Even
0 = 1bit
1 = 2bit
0 = READY/BUSY control (Single item buffer)
a=0: 2 port connection, or unsolicited (for driver protocol)
IDaaJobID Store. Stores the Job ID number.
E/Pro Programming Reference
=1: 2 port connection or solicited by ENQ (for driver protocol)
=2: 1 port connection or solicited by ENQ (STATUS3)
aa=Job ID number assigned (01 to 99)
3-14PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
IGaSensor Type Selection. Selects the sensor type.
a=0: Reflective (Eye-Mark) sensor
1: Transmissive (See-Thru) sensor
2: Sensor not used
I1abbbIEEE1284. Specifies the receive mode and ACK width of IEEE1284.
a=Receive mode (Default: 0):
0: Multi item buffer
1: Single item buffer
b=ACK width: Valid range: 010 to 200 (1-50ns)
JJournalPrint. Provides the ability to print text l ine by line. Fi xed spacing between lines and
characters.
Kab90ccCustom Designed Characters, Recall. Recalls for printing a custom character stored by
the Tabcc(data) command.
a=1: 16 x 16 matrix
2: 24 x 24 matrix
b=Indicates the format that data stream was stored
B: Binary
H: Hexadecimal
cc=Memory location where the character was stored. Valid locations are 21
to 52 or “!” to “R” in hex values.
LaabbCharacter, Expansion. Expands characters in both directions.
aa=Multiple to expand horizontally (01 to 12)
bb=Multiple to expand vertically (01 to 12)
LAaLanguage. Specifies the display language for the LCD.
a=0: English
1: French
2: German
3: Spanish
4: Italian
5: Portuguese
LDa,b,c,d,e,f,g,i,jjUser Download. Downloads a user defined set of Alternate Protocol Command Codes.
LFaOnline Feed. To enable or disable online label feed.
a=0: Enables label feed when online
1: Disables label feed when online
LHaZero Slash. Allows printing zeroes with or without a slash.
MFont type. Specifies the 13W x 20H dot matrix font (includes descenders).
NC (EJ)Eject and Cut. Cut s any printed labels that remain in the printer.
OAFont type. Specifies the OCR-A font.
E/Pro Programming Reference
a=0: Prints zeroes without a slash
1: Prints zeroes with a slash
3-15PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
OBFont type. Specifies the OCR-B font dot matrix.
OLOnline. Changes the printer status from offline to online.
PaaCharacter Pitch. Designates the number of dots between characters.
aa=Number of dots between characters (01 to 99)
(aaaa,bbbbReverse Image. Reverse image from black to white and vice versa. The un its of measure
are dots.
aaaa=Horizontal length in dots of area to be reversed.
bbbb=Vertical height in dots of area to be reversed.
PCaa,bbPCF,a,........zFlash ROM Setup. Sets the default prin ter configuration in Flash ROM.
a
=Item number setting (F = setting of all items)
b-z
=Sets content
Appendix Reference Table XXXX for CT400/410 printer
Appendix Reference Table XXXX for all other printers
PDSmall Label Size Specification. Specifies parameters relative to small label size. Only
applicable to the M10e printer.
a
=Vertical dimension (480 to 3600 dots)
b
=Horizontal dimension (480 to 1600 dots)
c
=Label size (00 to 99 dots)
d
=Multiple cut labels (01 to 99)
%aRotate, Fixed Base Reference Point.
a=0: Sets print to normal direction
1: Sets print to 90 degrees counter-clockwise
2: Sets print to 180 degrees rotated (upside down)
3: Sets print to 270 degrees counter-clockwise (90x CW)
PGEEPROM Setup. Sets the default printer configuration in EEPROM.
a-z
=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
PHaPrint Method, Thermal/Thermal Transfer. Selects the thermal printing method.
a=0: Thermal transfer printing
1: Direct thermal printing
PIaaa,bbbbb,cc...cPCX File, Store. Stores a PCX graphic file.
#St art Positio n Specific ation. S pecifies the vertical print start position. Only applicable to the
XL400/410e printers.
a=Shift direction
+: Forward
-: Backward
b=Shift distance
XL400e: 000 to 400 dots
XL410e: 000 to 600 dots
#EaPrint Darkness. Specifies a new print darkness setting.
PRFixed Font Spacing. Returns the printer to fixed character spacing mode.
PSProportional Font Spacing. Places the printer in the proportional character spacing mode.
Will not work with U Font.
PYaaaPCX File, Recall. Recalls a PCX graphics file.
aaa=The storage number assigned to the file (001 to 999)
QaaaaaaPrint Quantity. Specifies the total number of labels to print.
aaaaaa=Total quantity of labels to print for the job (000001-999999)
RCSheet Unit Cut Quantity Specification. Specifies the sheet cut quantity for small labels.
Only applicable to the M10e printer.
E/Pro Programming Reference
a=Number (01 to 99)
3-17PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
RDabb,ccc,ddd,nn...nFont Type. Specifies the internal AGFA raster fonts.
a=F: Specifies Futura font
P: Specifies CG Palcio font
S: CG Century Schoolbook font
G: CG Triumvirate Condensed font
V: CG Univers font
t: CG Times font
bb=0: No character set
1: ISO 8859/1 Latin1
2: ISO 8859/2 Latin2
3: ISO 8859/9 Latin5
4: CP-737 DOSGreek
5: CP-885 DOS Cyrillic
6: CP-864 DOSArabic
8: PC-850 Multilingual
ccc=Horizontal Size (16 to 999 dots or P08 to P72 point size)
ddd=Vertical Size (16 to 999 dots or P08 to P72 point size)
nn..n=Data to be printed
REaTelegraphic Message End Specification. Specifies the telegraphic message end relative to
small labels. Only applicable to the M10e printer.
a=Operates when ending
0: Discharge motion
1: Discharge motion + Cut motion
RFabn...nRecall and Print of Font & Logo. Calls and prints font and logo downloaded with Label
Gallery’s “GalleryMemMaster”.
a=Font ID number (01 to 99)
b=Print digit (1 to 9999)
n= Print data
RILabel Size Specification. Specifies label dimensions. Only applicable to the M10e printer.
a
=Sheet width (1500 to 3200 dots)
b
=Sheet length (480 to 3600 dots)
c
=Label width (0 to 60 dots)
d
=Label length (00 to 60 dots)
E/Pro Programming Reference
e
=Small label width (480 to 3200 dots)
f
=Small label length (480 to 3600 dots)
g
=Label width quantity (01 to 06)
h
=Label length quantity (01 to 07)
3-18PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
RMhvabMirror Rotate. Prints mirror image of print data.
h
=Horizontal position start
1 to 0832 dots (CL408e / M8400RVe / M84Pro-2)
1 to 1248 dots (CL412e / M84Pro-3)
1 to 1216 dots (CL608e / M8460Se)
1 to 1984 dots (CL612e)
1 to 0896 dots (M5900RVe / M8459Se)
1 to 3200 dots (M10e)
1 to 1024 dots (M8485Se)
1 to 1344 dots (M8490Se)
1 to 2496 dots (M84Pro-6)
v
=Vertical position start
1 to 1424 dots (CL408e / M8400RVe / M84Pro-2)
1 to 2136 dots (CL412e / M84Pro-3)
1 to 1424 dots (CL608e / M8460Se)
1 to 2136 dots (CL612e)
1 to 1424 dots (M5900RVe / M8459Se)
1 to 3600 dots (M10e)
1 to 1424 dots (M8485Se)
1 to 2136 dots (M8490Se)
1 to 4272 dots (M84Pro-6)
a
=Horizontal range (8 to 9999)
b
=Vertical range (8 to 9999)
RPaReprint Configuration. Specifies the setting of reprint.
a=Reprint setting
0: Normal (no reprint setting)
1: Reprint setting
RSSend Sheet Specification. Specifies paper delivery (feed operation) of marked unit (Eye-
mark, Gap) for small label. Only applicable to the M10e printer.
RT aPrint Order Specification. Specifies the order or arrangement of small labels. Only
applicable to the M10e printer.
a=Print direction
0: Horizontal
1: Vertical
RWaSheet Copy Quantity Specification. Specifies the quantity of copies of ea ch sh eet of small
labels. Only applicable to the M10e printer.
a=Quantity (01 to 99)
SFont type. Specifies the 8W x 15H dot matrix font (includes descenders).
/Form Overlay, Recall. Recalls the label image from the printer’s form overlay memory for
printing.
/Dbbc...cField, Recall. To recall a field previously stored in the memory card.
E/Pro Programming Reference
bb=Quantity of fields to be recalled (01 to 99)
cc...c=Data to be placed in field
3-19PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
/Nbb,ccField, Store. To store a field in the memory card.
bb=Field number (01 to 99)
cc=Quantity of characters in the field
2D102D Code. Specifies PDF417 of 2D code.
a
=Minimum module width (01 to 09 dots)
b
=Minimum module height (01 to 24 dots)
c
=Security level (0 to 8)
d
=Quantity of data code words per line (01 to 30)
00: Automatic (width varies on data quantity specified)
e
=Quantity of lines per symbol (03 to 90)
00: Automatic (width varies on data quantity specified)
f
=Code type
0: Normal (if digit is omitted, the default is zero)
1: Truncated scale
m
=Data size (1 to 2681 bytes)
n
=Print data
2D122D Code. Specifies Micro PDF417 of 2D code.
a
=Minimum module width (01 to 09 dots)
b
=Minimum module height (01 to 24 dots)
c
=Quantity of data code words per line (1 to 4 columns)
d
=Quantity of lines per symbol (4 to 44 lines)
e
=Binary mode
0: Normal (if digit is omitted, the default is zero)
1: Binary
m
=Data size (0001 to 0366 bytes)
n
=Print data
E/Pro Programming Reference
3-20PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
2D202D Code. Specifies Maxi Code of 2D code.
a
=Mode
2: Delivery only (numeric)
3: Delivery only (Alphanumeric)
4: Standard symbol
6: Reader only
b
=Service class (001 to 999 numeric)
c
=Country code (001 to 999 nu m er i c)
d
=Postal code
Mode 2 (0 to 999999999)
Mode 3 (000000 to 999999)
m
=Data size (1 to 138 bytes)
n
=Print data
2D30/2D312D Code. Specifies QR Code (Model 1 or Model 2) of 2D code.
a
=Error correction level
L: 7%
M: 15%
Q: 25%
H: 30%
b
=Cell size (01 to 32 dots)
c
=Data setting mode
0: Manual
1: Automatic
d
=Concentration mode
0: Normal
1: Concentration
e
=Quantity of partitions by concentration mode (01 to 16)
f
=Sequential number partitioned by concentration mode (01 to 16)
g
=Concentration mode parity data (00 to FF)
k
=Character mode
1: Numeric mode
2: Alphanumeric mode
3: Kanji mode
m
=Data size
2D30: Model 2 (1 to 2953 bytes)
2D31: Model 1 (1 to 486 bytes)
E/Pro Programming Reference
n
=Print data
3-21PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
2D322D Code. Specifies QR Code (Micro QR Code) of 2D code.
a
=Error correction level
L: 7%
M: 15%
Q: 25%
b
=Cell size (01 to 32 dots)
c
=Data setting mode
0: Manual
1: Automatic
k
=Character mode
1: Numeric mode
2: Alphanumeric mode
3: Kanji mode
m
=Data size (1 to 15 bytes, set when selecting binary)
n
=Print data
2D502D Code. Specifies Data Matrix (ECC200) of 2D code.
a
=Cell width (01 to 16 dots)
b
=Cell height (01 to 16 dots)
c
=Quantity of cells per line (000 fixed)
d
=Quantity of lines (000 fixed)
m
=Data size (1 to 3116 bytes, set when selecting binary)
n
=Print data
Specify 7EH, 00H when printing 00H
Specify 7EH, 7EH when printing 7EH
T1Register external character of 16x16 dots in memory card.
a=[Data type] =
H: Hex character
B: Binary code
b=[Registration font code address] =
<JIS>
H: “21” to “7F” Up to 95 registries
B: 21H to 7FH Up to 95 registries
<Shift JIS>
H: “40” to “9E” Up to 95 registries
B: 40H to 9EH Up to 95 registries
T2Register external character of 24x24 dots in memory card.
E/Pro Programming Reference
n=[External character data]
a=[Data type] =
H: Hex character
B: Binary code
3-22PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
b=[Registration font code address] =
<JIS>
H: “21” to “7F” Up to 95 registries
B: 21H to 7FH Up to 95 registries
<Shift JIS>
H: “40” to “9E” Up to 95 registries
B: 40H to 9EH Up to 95 registries
n=[External character data]
Tabcc(data)Store Custom Designed Characters. To create and store custom characters or images in
the printer’s volatile memory. See Kab90cc to recall the character for printing.
a=1: 16 x 16 matrix
2: 24 x 24 matrix
b=Specifies data stream format to follow
B: Binary
H: Hexadecimal
cc=Memory location to store the character. Valid locations are 21 to 52 or “!”
to “R” in hex values
(data)=Data to describe the character
TKForced tear off. Executes Tear off compulsory.
TPaTest Print. Allows test labels to be printed via host command.
a=0: Small user test print
1: Large user test print
2: Small factory test print
3: Large factory test print
TWaaaOption waiting time. Specifies waiting time for options.
aaa=W aiting time:
Valid range: 005 to 200 (unit: 100ms)
2STwo-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
b=Start vertical position (specify label vertical size in dots
c=End vertical position (specify label vertical size in dots
UFont type. Specifies a 5W x 9L dot matrix font (includes descenders).
_Daan...nVariable Data Specification. Specifies variable data for small labels. Only applicable to the
M10e printer.
E/Pro Programming Reference
a
=Field number (01 to 99)
n
=Variable data
3-23PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
_FSmart Label Start Specification. To show the start of small label print specification. Only
applicable to the M10e printer.
_NabFormat Specification. Specifies small label format. Only applicable to the M10e printer.
a
=Field number (01 to 99)
b
=Data digit (01 to 99)
_QabLabel Print Number Specification. Specifies the print number for small labels. Only
applicable to the M10e printer.
a
=Print number (0001 to 9999)
b
=0: Auto new line
1-9: Quantity of blank labels
VbbbbVertical Position. Specifies a field’s 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 printer ’s
internal clock. Use slash to separate date elements and colon to separate time elements.
The calendar feature is a purchase option and will on ly be applicable to those printers so
ordered.
Elements=YY:2 digit Year (00 to 99)
YYYY: 4 digit Year (1981 to 2080)
MM:Month (01 to 12)
DD:Day (01 to 31)
HH:12 Hour (00 to 11)
hh:24 Hour Clock (00 to 23)
mm:Minutes (00 to 59)
ss:Seconds (00 to 59)
TT:AM or PM
JJJ:Julian Date (000 to 366)
WW:Week (00 to 53)
ww:Week (01 to 54)
WBaFont Type. Specifies the 18W x 30L dot matrix font (includes descenders).
a=0: Disables auto-smoothing of font
1: Enables auto-smoothing if expansion is greater than 3
WDHaaaaVbbbbXccccYddddCopy Image Area (Partial Copy). To copy an image to another location of the label.
aaaa=Horizontal position of the top left corner of image area
bbbb=Vertical position of the top left corner of image area
cccc=Horizontal length of image area
dddd=Vertical length of image area
WIaIP Address setup. Specifies IP address setup method.
a=0: Manual setup
WKnn...nJob Name. Stores the job name.
E/Pro Programming Reference
1: DHCP
nn..n=Job name, up to 16 ASCII characters
3-24PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
WLaFont type. Specifies the 28W x 52L dot matrix font (including descenders).
a=0: Disables auto-smoothing of font
1: Enables auto-smoothing if expansion is greater than 3
WMaRARP. Specifies if RARP is disabled or enabled. When enabled, RARP will auto matically
obtain IP address in start up.
a=0: Disabled
1: Enabled
WPabbbCalendar Increment. To add a value to the printer’s current date and/or time. Does not
change the printer’s internal time setting. The calendar featu re is a purchase option and wi ll
only be applicable to those printers so ordered.
a= Y:Years
M: Months
D: Days
h: Hours
bbb=Numeric data: Week (00-99), Years (1-9), Months (01-99), Days (001-
999), Hours (001-999).
WSaPrint Work Shift Information. Specifies the printing of work shift information (shift name,
start time, etc). Only applicable to the M8459/60/85/90Se printers.
a=Print content
1: Shift code
2: Printer use start time
3: Shift name
WTaabbccddeeCalendar Set. To set the time and date of the printer’s internal clock.
XBaFont Type. Specifies 48W x 48L dot matrix font (includes descenders).
a=0: Disables auto-smoothing of font
1: Enables auto-smoothing if expansion is greater than 3
n= Print data
E/Pro Programming Reference
3-27PN: 9001096E
Unit 3: Code Quick Reference
COMMAND QUICK REFERENCE
INSTRUCTIONDESCRIPTION
XCLFont Type. Specifies 48W x 36L dot matrix font (includes de scenders). Only applicable to
the XL400/410e printers.
XCSFont Type. Specifies 32W x 24L dot matrix font (includes descenders). Only applicabl e to
the XL400/410e printers.
XLan...nFont Type. Specifies the 48W x 48H dot matrix font (includes descenders).
a=Smoothing specification
0: Smoothing disabled
1: Smoothing enabled
n= Print data
XMFont type. Specifies the 24W x 24H dot matrix font (includes descenders).
XSFont type. S pecifies the 17W x 17H dot matrix font (includes descenders). Only applicable to
the XL400/410e printers.
XUFont type. Specifies the 5W x 9L dot matrix font (includes descenders).
YEaLabel Specification. Temporarily specifies label specification. Only applicable to the CT400/
410 printers.
a=Label type
0: Adhesive label
1: Tag
YR,aaa/D,bb,cc...cRecall Format/Field. To recall a field from a format previously stored in the memory card.
aaa=Number of format to be recalled (001 to 999)
bb=Number of field to be recalled (01-99)
cc...c=Data to be placed in field
YS,aaa/Nbb,ccStore Format/Field. To store a field in a format in the memory card.
aaa=Format number (001 -999)
bb=Field number (01-99)
cc=Number of characters in the field
ZStop Code. Ends all print jobs.
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’
E/Pro Programming Reference
3-28PN: 9001096E
Unit 4: Standard Command Codes
STANDARD
COMMAND CODES
•Control Commands
•Modification Commands
•Print Position Commands
•Font Commands
•Barcode Commands
•2D Code Commands
•System Commands
•Memory Card Commands
•Intelligent Command
E/Pro Programming Reference
•Graphic Commands
4-1PN: 9001096E
CONTROL COMMANDS
START/STOP LABEL
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
For all print jobs, the Start command must precede the data and th e Stop command must
follow. The print job will not run properly if these are not in place.
Start Command: <ESC>A
Stop Comma nd:<ESC>Z
<ESC>A must precede data <ESC>Z must follow data.
<ESC>A
There is no output for these commands they are not accompanied by other label printin g commands.
However, these commands must precede and follow each print job sent to the printer.
E/Pro Programming Reference
4-2PN: 9001096E
PRINT QUANTITY
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
To specify the total quantity of labels to print for a given print job.
<ESC>Qaaaaaa
aaaaaa= Total number of labels to print (1 to 999999)
Place just preceding <ESC>Z, unless <ESC>~ exists, then preceding that command. This
command must be present in every print job.
Three labels containing the data “SATO” will be printed.
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 Quan tity 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 en tered. The command “Q1” is equivalent to
“Q000001”.
E/Pro Programming Reference
4-3PN: 9001096E
JOB ID, STORE
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
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.
<ESC>IDaa
aa= Job ID assigned (00 to 99)
Place immediately following the <ESC>A in the job data stream.
<ESC>A
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 prot oco l ,
E/Pro Programming Reference
4-4PN: 9001096E
JOB NAME
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
This command is to identify a particular job using a descriptive name.
<ESC>WKnnn. . . n
nn..n= Job Name assigned, up to 16 ASCII characters
Place immediately following the <ESC>A in the job data stream.
<ESC>A
<ESC>WKSATO
. . . Job . . .
<ESC>Z
This command does not result in printer output. The information is returned to the host upon
receipt of a Bi-Com status request.
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.
E/Pro Programming Reference
4-5PN: 9001096E
Unit 4: Standard Command Codes
MODIFICATION COMMANDS
CHARACTER, EXPANSION
FUNCTION
FORMAT
EXAMPLE
OUTPUT
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.
<ESC>Laabb
aa= Multiple to expand horizontally (01 to 12)
bb= Multiple to expand vertically (01 to 12)
Place preceding the data to be expanded.
<ESC>A<ESC>H0100<ESC>V0100<ESC>XMSATO
Expanded characters are typically used with this command for added emphasis or for lon g 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-6PN: 9001096E
CHARACTER, PITCH
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
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.
<ESC>Paa
aa= Number of dots between characte rs (0 0 to 99)
Place preceding the text to be printed.
<ESC>A
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 i nclude 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.
E/Pro Programming Reference
4-7PN: 9001096E
Unit 4: Standard Command Codes
CHARACTER, FIXED SPACING
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
To reset proportional spacing and place the printer back to fixe d spacing.
<ESC>PR
Place preceding the fixed space data.
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.
E/Pro Programming Reference
4-8PN: 9001096E
Unit 4: Standard Command Codes
ROTATE, FIXED BASE REFERENCE POINT
FUNCTION
FORMAT
EXAMPLE
OUTPUT
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.
<ESC>%a
a= 0: Sets print to normal direction
1: Sets print to 90°CCW
2: Sets print to 180° rotated (upside down)
3: Sets print to 270° CCW
Place preceding any printed data to be rotated.
<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
(4-5a)
NOTES
E/Pro Programming Reference
The specified values are valid until another Rotate (<ESC>%) command is received. Receip t of a Stop
Print (<ESC>Z) command will reset the setting to the default value.
(4-5b)
4-9PN: 9001096E
Unit 4: Standard Command Codes
SEQUENTIAL NUMBERING
FUNCTION
FORMAT
EXAMPLE
OUTPUT
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.
<ESC>Faaaabcccc,dd,ee,g
aaaa= Number of times to repeat the same data (0001 to 9999)
b= Plus or minus symbol (+ for increments; - for decrements)
cccc= Value of step for sequence (000 1 to 9999)
dd= Sequential numbering digit quantity (01 to 99). The first character
starts after those exempted in ee. If digits are omitted, 8 is default
ee= Number of digits free from sequential numbering (0 to 99) starting with
the right most position. If digits are left out, the default is 0.
g= Count base 1 Decimal Count 2 Hexadecimal Base
Place preceding the starting value to be incremented or decremente d.
<ESC>A<ESC>H0100<ESC>V0100<ESC>MSERIAL NUMBER:
The value specified for Print Quantity should be equal to the number of different sequential val ues
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-10PN: 9001096E
PRINT CIRCLES
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
Specifies the printing of circles.
<ESC>FCaaabbbcd
a =5 to 999 dots (radius)
b =1 to 999 dots (line width)
c = 0 to 8 (section number) (Omissible. If digit is left out, the default is 0.
For more details, see the section number below.
d =0 to 3 (pattern) (Omissible. If digit is left out, the default is 0.)
0: Solid black line
1: Gray 1
2: Gray 2
3: Gray 3
Solid line circle of 100 dots in radius, 8 dots in line width.
<A>
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.
E/Pro Programming Reference
4-14PN: 9001096E
REVERSE IMAGE
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
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.
<ESC>(aaaa,bbbb
a= Horizontal length in dots of reverse image area
b= Vertical height in dots of reverse image area.
Must be preceded by all other data and be placed just before <ESC>Q.
<ESC>A
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-15PN: 9001096E
Unit 4: Standard Command Codes
FORM OVERLAY, STORE
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
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.
<ESC>&
Must be preceded by all other data and placed just before Stop (<ESC>Z) command.
<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
This command does not result in printer output. It stores the label im age in the overlay buf fer.
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.
E/Pro Programming Reference
4-16PN: 9001096E
Unit 4: Standard Command Codes
FORM OVERLAY, RECALL
FUNCTION
FORMAT
EXAMPLE
OUTPUT
To recall the label image from the form overlay memory for printing. Additional or different
data can be printed with the recalled image.
<ESC>/
Must be preceded by all other data and placed just before Print Quantity (<ESC>Q)
command.
<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
(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.
E/Pro Programming Reference
4-17PN: 9001096E
Unit 4: Standard Command Codes
REPLACE DATA (PARTIAL EDIT)
FUNCTION
FORMAT
EXAMPLE
OUTPUT
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.
<ESC>0 (<ESC>zero)
Must follow <ESC>A and precede all other print data
<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
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-18PN: 9001096E
Unit 4: Standard Command Codes
COPY IMAGE AREA (PARTIAL COPY)
FUNCTION
FORMAT
EXAMPLE
OUTPUT
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.
<ESC>WDHaaaaVbbbbXccccYdddd
aaaa= Horizontal position of the top left corner of the area
bbbb= Vertical position of the top left corner of the area
cccc= Horizontal length of the image area to be copied
dddd= Vertical length of the image area to be copied
Place anywhere within the data stream after specifying the location of the duplicate image.
<ESC>A
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 insi de 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-19PN: 9001096E
JOURNAL PRINTING
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
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 b ase referen ce 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.
<ESC>J
Place immediately following <ESC>A.
<ESC>A
<ESC>J WITH THE JOURNAL FEATURE YOU CAN PRINT TEXT WITHOUT USING ANY
FONT COMMANDS OR POSITION COMMANDS
<ESC>Q1
<ESC>Z
(4-12)
NOTES
Journal mode assumes a maximum label width. Othe rwise, you may prin t where the re is no l abel and
damage your print head.
It is effective only for the current print job.
E/Pro Programming Reference
4-20PN: 9001096E
Unit 4: Standard Command Codes
RECALL AND PRINT OF FONT & LOGO
FUNCTION
FORMAT
EXAMPLE
OUTPUT
Prints the downloaded font or logo specified.
<ESC>RF
a= Font ID number (01 to 99)
b= Print digit (1 to 9999)
n=Print data
Place after <ESC>H but before <ESC>Q1.
<ESC>A
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.
E/Pro Programming Reference
4-21PN: 9001096E
MIRROR IMAGE
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
To allow mirror image printi ng of da ta, such as on transparent labels to be applied to a g la s s
or other transparent surface.
The <ESC>A1 Media defines the area to be mirrored.
This command can be used with the Rotate Fixed Base Reference Point (<ESC>%) command. Note
that the reference point rotation is dependent upon the location of the <ESC>% command in the data
stream.
This command should not be specified more than once in any single job.
This command cannot be used with commands requiring re-editing of the print area, such as
Sequential Numbering, Real time clock or Copy Image Area.
Any data outside the area defined by the Media Size (<ESC>A1) command is not mirrored the
command is treated as a command error. Any print job containing the <ESC>RM command and
without any print data will be treated as a command error.
E/Pro Programming Reference
4-22PN: 9001096E
Unit 4: Standard Command Codes
VARIABLE DATA SPECIFICATION
FUNCTION
FORMAT
EXAMPLE
OUTPUT
Specifies variable data for small labels. Only applicable to the M10e printer.
<ESC>_Daa,nn...n
a= Field number (01 to 99)
n=Variable data
Place after <ESC>H and <ESC>V but before <ESC>Q.
<ESC>A
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-23PN: 9001096E
SMALL LABEL START
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
To show the start of small label print specification. Only applicable to the M10e printer.
<ESC>_F
Place after <ESC>H and <ESC>V but before <ESC>Q.
If there is a sequential number specification after <ESC>_F, the sequential nu mbers 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-24PN: 9001096E
Unit 4: Standard Command Codes
FORMAT SPECIFICATION
FUNCTION
FORMAT
EXAMPLE
OUTPUT
Specifies small label format. Only applicable to the M10e printer.
<ESC>_N
a= Field number (01 to 99)
b= Data digit (01 to 99)
Place before <ESC>H and <ESC>V.
<ESC>A
Only 1-D barcode characters can be specified under <ESC>_N.
Specify the small label print number with <ESC>_Q.
Do not specify command for registration after <ESC>_N. If specified, accurate print motion might not
be conducted.
4-25PN: 9001096E
Unit 4: Standard Command Codes
LABEL PRINT QUANTITY
FUNCTION
FORMAT
EXAMPLE
OUTPUT
Specifies the print number for small labels. Only applicable to the M10e printer.
<ESC>_Q
a= Print quantity (0001 to 9999)
b= Blank label (omittable)
0: Auto new line
1-9: Blank label quantity
Place before <ESC>Z.
<ESC>A
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-27PN: 9001096E
Unit 4: Standard Command Codes
TELEGRAPHIC MESSAGE END SPECIFICATION
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
Specifies the telegraphic message end relative to small labels. Only applicable to the M10e
printer.
<ESC>RE
a= Operates when ending
0: Discharge motion
1: Discharge motion + Cut motion
Place after <ESC>A but before <ESC>Z.
<ESC>A
<ESC>RE0
<ESC>Z
This command does not result in printer output.
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 ho rizontal ro w l abel 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.
E/Pro Programming Reference
4-28PN: 9001096E
Unit 4: Standard Command Codes
SHEET SENDING SPECIFICATION
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
Specifies paper delivery (feed op eration) of marked u nit (eye-mark, gap) for small label. Only
applicable to the M10e printer.
<ESC>RS
Place after <ESC>A but before <ESC>Z.
<ESC>A
<ESC>RS
<ESC>Z
This command does not result in printer output.
Only used for single items.
The <ESC>RS command specifies the small label sheet sending of eye-mark unit at the printer driver
and cannot be combined with other standard commands.
E/Pro Programming Reference
4-29PN: 9001096E
Unit 4: Standard Command Codes
TWO-COLOR PRINT RANGE SPECIFICATION
FUNCTION
FORMAT
EXAMPLE
OUTPUT
Specifies a two-color print range. Only applicable to the CT400/410 printers.
<ESC>2S
a= Head lock specification
0: Left side
1: Right side
2: Both sides
b= Start vertical position (specify label vertical size in dots)
c= End vertical position (specify label vertical size in dots)
When <ESC>2S is used, also use the <ESC>A1 command.
Two-color print range can register to 10.
Print quantity will be influenced by print speed and print darkness.
Barcodes printed in two-color may not be clearly read by the scanner.
Use parameter “D” for print darkness <ESC>#E during two-color printing.
Black color printing cannot be performed inside of the block specified under <ESC>2S.
Two-color printing may not be clearly seen on the inner side of 2mm.
For CT400, the center position becomes closer to the left side from 4mm (32 dots) to the print head
center.
4-30PN: 9001096E
Unit 4: Standard Command Codes
PRINT POSITION COMMANDS
MEDIA SIZE (DOTS)
FUNCTION
FORMAT
INPUT
OUTPUT
To set the size of the media.
<ESC>A1aaaabbbb
aaaa= Label Height in dots (0 to Hmax)
bbbb= Label Width in dots (0 to Vmax)
Place in a separate data stream to the printer.
<ESC>A
<ESC>A108000640
<ESC>Z
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
E/Pro Programming Reference
The Base Reference point is always the on the right (looking at the front of the printer) sid e of th e 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 p rint image on the
label.
All eight variables “aaaa” and “bbbb” must be included in this command.
4-31PN: 9001096E
MEDIA SIZE (MM)
TG308
Tag
Standard 025 to 300 032 to 080
Expansion 025 to 300 032 to 100
Label
Standard 019 to 300 025 to 080
Expansion 019 to 300 025 to 100
TG312
Tag
Standard 025 to 240 032 to 080
Expansion 025 to 240 032 to 100
Label
Standard 019 to 240 025 to 080
Expansion 019 to 240 025 to 100
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
Specifies the media size in millimeters.
<ESC>A1aabbbccc
a = Media type: OT: Tag (Center hole tag, Side hole tag, Notched tag, I-
mark tag, Not sensor)
Media type: OL: Label (I-mark label, Gap label, Not sensor)
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 occu r.
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
E/Pro Programming Reference
Media type Print area
compatibility
4-32PN: 9001096E
Height of media in mm Width of media in mm
PRINT POSITION
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
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.
aaaa= Number of horizontal dots from base reference point (1 to Hmax)
bbbb= Number of vertical dots from base reference point (1 to Vmax)
Place preceding any print field description of lines/boxes, fonts, bar codes, or graphics.
<ESC>A
To expand the print length to the maximum limit, the Expanded Print L ength (<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”.
E/Pro Programming Reference
4-33PN: 9001096E
Unit 4: Standard Command Codes
OFFSET SPECIFICATION
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
Specifies label stop position. Only applicable to the CT400/410 printers.
<ESC>PO
c= Offset distance (00 to 99 dots)
Place after <ESC>A but before <ESC>Z.
<ESC>A
<ESC>PO3+08
<ESC>Z
This command does not result in printer output.
It’s not necessary to specify <ESC>PO for normal label print.
Specify this command when a proper gap is located.
E/Pro Programming Reference
4-34PN: 9001096E
Unit 4: Standard Command Codes
START POSITION SPECIFICATION
FUNCTION
FORMAT
EXAMPLE
OUTPUT
Specifies the vertical print start position. Only applicable to the XL400/410e printers.
<ESC>#
a= Shift direction
+: Forward
-: Backward
b= Shift distance
XL400e: 000 to 400 dots
XL410e: 000 to 600 dots
Place after <ESC>A but before <ESC>Z.
<ESC>A
<ESC>#+040
<ESC>Z
(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.
E/Pro Programming Reference
4-35PN: 9001096E
Unit 4: Standard Command Codes
LABEL SIZE SPECIFICATION
FUNCTION
FORMAT
EXAMPLE
OUTPUT
Specifies label dimensions. Only applicable to the M10e printer.
<ESC>RI
a= Sheet width (1500 to 3200 dots)
b= Sheet length (480 to 3600 dots)
c= Label width (0 to 60 dots)
d= Label length (00 to 60 dots)
e= Small label width (480 to 3200 dots)
f= Small label length (480 to 3600 dots)
g= Label width quantity (01 to 06)
h= Label length quantity (01 to 07)
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-36PN: 9001096E
Unit 4: Standard Command Codes
LABEL SIZE SPECIFICATION
FUNCTION
FORMAT
EXAMPLE
OUTPUT
Specifies the order or arrangement of small labels. Only applicable to the M10e printer.
<ESC>RT
a= Print direction
0: Horizontal
1: Vertical
Place immediately following <ESC>A.
<ESC>A
Command <ESC>RT specifies label print order of small labels by the printer driver and cannot be
combined with other standard commands.
E/Pro Programming Reference
4-37PN: 9001096E
Unit 4: Standard Command Codes
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 XU: <ESC>XU Font U: <ESC>U
Font XS: <ESC>XSFont S: <ESC>S
Font XM: <ESC>XMFont M: <ESC>M
Font OA: <ESC>OAFont OB: <ESC>OB
Place preceding the data to be printed.
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 a nd 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-38PN: 9001096E
Unit 4: Standard Command Codes
SMOOTHING FONTS: WB, WL, XB, XL
FUNCTION
FORMAT
EXAMPLE
OUTPUT
To print text images on a label. These are the four auto-smoothing fonts available on the
printer.
Font WB: <ESC>WBaFont XB: <ESC>XBa
Font WL: <ESC>WLaFont XL: <ESC>XLa
a= 0: Disables auto-smoothing of font
1: Enables auto-smoothing of font (see notes below)
Place preceding the data to be printed.
<ESC>A
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-39PN: 9001096E
FONT, RASTER
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
To print point size characters created using font definitions.
<ESC>A<ESC>RDabb,ccc,ddd,nn. . .n
a=A:Times
B: CG Triumvirate
bb= 00: Always
ccc= Horizontal size (4 - 999 dots or P02 - P99)
ddd= Vertical size (4 - 999 dots or P02 - P99)
nn..n= Data to be printed.
Place within the normal command stream.
<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
(4-28)
NOTES
E/Pro Programming Reference
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-40PN: 9001096E
FONT, VECTOR
Unit 4: Standard Command Codes
FUNCTION
FORMAT
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.
Specify Vector Font: <ESC>$a,b,c,d
Data for Vector Font: <ESC>$=(data)
a= A: Helvetica Bold (proportional spacing)
B: Helvetica Bold (fixed spacing)
b= Font width (50-999)
c= Font height (50-999 dots)
d= Font variation (0-9) as follows:
0: Standard
1: Standard open (outlined)
2: Gray (mesh) pattern 1
3: Gray (mesh) pattern 2
4: Gray (mesh) pattern 3
5: Standard open, shadow 1
6: Standard open, shadow 2
7: Standard mirror image
8: Italic 9 Italic open, shadow
Place immediately preceding the data to be printed.
EXAMPLE
OUTPUT
NOTES
<ESC>A
<ESC>H0100<ESC>V0100<ESC>$A,100,100,0
<ESC>$=SA TO AMERICA
<ESC>H0100<ESC>V0200<ESC>$=VECTOR FONT
<ESC>H0100<ESC>V0350<ESC>$A,200,300,8<ESC>$=SATO
<ESC>Q1<ESC>Z
(4-29)
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 o ther space. A font must be
defined for each field to be printed. There is not a default font.
E/Pro Programming Reference
4-41PN: 9001096E
FONT: XCL, XCS
Unit 4: Standard Command Codes
FUNCTION
FORMAT
EXAMPLE
OUTPUT
NOTES
To print text on a label. Specifies dot matrix font including descenders. Only applicable to the
XL400/410e printers.
<ESC>XCL
<ESC>XCS
nn...n= Print data
XCL: 48 x 36 dots
XCS: 32 x 24 dots
Place immediately following the enlargement command <ESC>L.
<ESC>A
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.
E/Pro Programming Reference
4-42PN: 9001096E
Unit 4: Standard Command Codes
EXTERNAL CHARACTER RECALL TEXT FLOW
FUNCTION
FORMAT
EXAMPLE
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.
<ESC>K1, K2, k1, or k2
a= External specification mode
H: HEX character specification
B: Binary code specification
I: With smoothing function (HEX code)
C: With smoothing function (binary code)
J: With highlighting function (HEX code)
D: With highlighting function (binary code)
K: With smoothing & highlighting function (HEX code)
E: With smoothing & highlighting function (binary code)
b= JIS registration code
H, I, J, K: 9021 to 907F
B, C, D, E: 9021H to 907FH
Shift JIS registration code
H, I, J, K: F040 to F09E
B, C, D, E: F to F09EH
Place after <ESC>V and <ESC>H but before <ESC>Z.
Example with 24 x 24 external callout specification, HEX code data of JIS
These commands do not result in visual printer output.
Re-register if normal printing is not conducted.
E/Pro Programming Reference
4-43PN: 9001096E
Unit 4: Standard Command Codes
External file 16 x 16
D1 D2
D3 D4
D5 D6
D31 D32
STORE 16X16 DOTS EXTERNAL CHARACTER
FUNCTION
FORMAT
EXAMPLE
OUTPUT
Register external character of 16x16 dots in memory card.
<ESC>T1abbn~n
a=
b=
n=
Data type =
H: Hex character
B: Binary code
Registration font code address
<ESC>JIS
H: “21” to “7F” Up to 95 registries
B: 21H to 7FH Up to 95 registries
<ESC>Shift JIS
H: “40” to “9E” Up to 95 registries
B: 40H to 9EH Up to 95 registries
External character data
<ESC>A
<ESC>CC1
<ESC>T1H2100FF00FF 〜 3C0000FF
<ESC>Z
NOTES
E/Pro Programming Reference
1. Existing data can be overwritten.
2. The Card Slot <ESC>CC command must be sent prior to this
command.
3. An error may occur due to capacity shortage when this command
and other commands related to registration are used at the same time.
In such a case, you need to store the data on an other card or replace
the card with a card of larger capacity.
4. Data will be out in the order as shown in the output illustration
above.
4-44PN: 9001096E
Unit 4: Standard Command Codes
External file 24 x 24
D1 D2 D3
D4 D5 D6
D7 D8 D9
D70 D71 D72
STORE 24X24 DOTS EXTERNAL CHARACTER
FUNCTION
FORMAT
EXAMPLE
OUTPUT
Register external character of 24x24 do ts in memor y car d.
<ESC>T2abbn~n
a=
b=
n=
Data type =
H: Hex character
B: Binary code
Registration font code address
<ESC>JIS
H: “21” to “7F” Up to 95 registries
B: 21H to 7FH Up to 95 registries
<ESC>Shift JIS
H: “40” to “9E” Up to 95 registries
B: 40H to 9EH Up to 95 registries
External character data
<ESC>A
<ESC>CC1
<ESC>T2H2100FF00FF 〜 3C0000FF
<ESC>Q2
<ESC>Z
NOTES
E/Pro Programming Reference
1. Existing data can be overwritten.
2. The Card Slot <ESC>CC command must be sent prior to this command.
3. An error may occur due to capacity shortage when this command and other
commands related to registration are used at the same time. In such a case,
you need to store the data on another card or replace the card with a card of
larger capacity.
4. Data will be out in the order as shown in the Output illustration above.
4-45PN: 9001096E
BARCODE COMMANDS
BAR CODES
Unit 4: Standard Command Codes
FUNCTION
FORMAT
To print bar code images on a label.
2:5 narrow/wide ratio: <ESC>BDabbcccn...n
1:3 narrow/wide bar ratio: <ESC>Babbcccdn...n