Contents
CX208/212
Page
Table of Contents
Sato CX208/212 Printers PN 9001092 Rev. a
Sato Programming Language
Introduction
Selecting Protocol Control Codes
Using Basic
Printing with the RS232 Port
Printing with the Parallel Port
CX208/212 Programming Guide
Print Area
Page
Rotated Fields
Printer Configuration
Command Default Settings
Label Sensing
ESCAESCCP1ESCCI2ESCCAESCZ
Command Code page Reference
MSI
Bar Codes
Input to Printer
A01597
Printer Output
CX208/212 Programming Guide
Special Notes
Printer Output Special Notes
Command Structure ESCBWaabbb
Bar Codes, Expansion
Bar Codes, Variable Ratio
Command Structure ESCBTabbccddee
This command must be immediately followed by the Escbw
Base Reference Point
Command Structure ESCA3H-aaaaVbbbb
Printer configuration until a new Base Reference Point
Printer Input
Command Structure Store Command ESCTabcc
Characters, Custom-Designed
ESCK1H903F
When printing the custom character using the Esck Recall
Character Expansion
This command will expand the following fonts
Character, Fixed Spacing
Command Structure Escpr
Character Pitch
Command Structure ESCPaa
This command is affected by the Escl Character Expansion
Character, Proportional Spacing
Command Structure Escps
Special Note
Command Structure
Clear Print Jobs & Memory
Continuous Forms Printing
Command Structure None
Example ESCWDH0100V0050X0600Y0400
Command Structure ESCWDHaaaaVbbbbXccccYdddd
Copy Image Area
Horizontal 0001 Aaaa
Command Structure ESC~aaaa or ESCNULaaaa
Cutter Command
Escoa
Fonts U, S, M, OA, OB, XU, XS & XM
Characters may be enlarged through the use of the Character
ESCWB1123456
Fonts WB, WL, XB & XL
Characters may be enlarged through the use of the Escl
Form Feed
Form Overlay, Recall
Command Structure ESC
Form Overlay, Store
Graphics, Custom
Command Structure ESCGabbbcccdata
Custom graphic cannot be enlarged by the Escl Character
Graphics, PCX
Command Structure ESCGPaaaaa,data
Journal Print
Command Structure Escj
ESCFWaabbVccccHdddd
Command Structure Line ESCFWaabcccc
Lines and Boxes
CX208/212 Programming Guide Field ranges are
Line Feed
Media Size
Command Structure ESCA1aaaabbbb
Off-Line/Pause
Postnet
Command Structure ESCBPn...n
Print Darkness
Command Structure ESC#Ea
Maximum
Print Length, Expanded
Print length, or until the printer is repowered
ESCQ2ESCZAH0025100 0150ESCL0303ESCMSATO
Print Position
Print position of a field is affected by both the Rotate
Print Quantity
Command Structure ESCQaaaaaa
Print Speed
Command Structure ESCCSa
Escc
Repeat Label
Replace Data Partial Edit
Command Structure ESC0 ESCzero
Fewer characters than the old data, then the characters not
ESC100,50
Command Structure ESCaaaa,bbbb
Reverse Image
CX208 CX212
Rotate, Fixed Base Reference Point
Command Structure ESC%a
Same data stream
Rotate, Moving Base Reference Point
ESCAQ1ESCZNR
This command is provided for compatibility with other Sato
ESCF001-001,04,03
Command Structure ESCFaaaabcccc,dd,ee
Sequential Numbering
Value specified for Print Quantity should be equal to
Start/Stop Label
Expanded Memory Option Commands
Expanded Memory Function Clear Expanded Memory
Command Structure ESC*a,bb
Example ESCBJT,11,02,02,01,00,0004,SATO
Command Structure ESCBJT,aa,bb,cc,dd,ee,ffff,gg..g
Expanded Memory Function Fonts, TrueType Recall
Expanded Memory Function Fonts, TrueType Store
Expanded Memory Function Graphics, Custom Recall
Command Structure Command Function Printer Input ESCGRaaa
Expanded Memory Function Graphics, Custom Store
Command Structure ESCGIabbbcccddddata
ESCGIHaaabbb002DATA Escz
Expanded Memory Function Graphics, PCX Recall
Command Structure ESCPYaaa
ESCPI001,32000,data
Expanded Memory Function Graphics, PCX Store
Expanded Memory Function Initialize
ESCZCC2ESCA
Expanded Memory Function Area Select
ESCZACC1
Expanded Memory Function Status
BJS
Two-Dimensional Symbols
Example ESCBV1,2,3,123456789,222,333,MESSAGEESC
Two-Dimensional Bar Codes Maxicode
Please refer to UPS Publication Guide to Bar Coding with UPS
BK0304400000021
Two-Dimensional Bar Codes
Command Structure Command Function Printer Input
Values 00Hthru 1FHcan be specified as print data
Configuration Commands
Auto-Calibrate
Command Structure ESCCFa
Command Structure ESCCEa
Backfeed Enable
Calibrate Sensor
ESCLD,,,%,#,&,*,~,0,0
Custom Protocol Command Codes Download
Command Structure ESCLD,a,b,c,d,e,f,g,h,i
Command Function Printer Input Printer Output
Resulting Command Code
Label Tear-Off
Command Structure ESCCBabb
Print Darkness Range Adjustment
ESC Azct
Print Test Label
Command Structure ESCCPa
Set Print Mode
Set RS232 Parameters
Command Structure ESCCRaaaaa,b,c,d
ESC AZCI2
Command Structure ESCCIa
Set Sensor Type
ESC CL1
Enable Options
Mode