Programming Guide
CX208/212
Desktop Printer
Reorient or relocate the receiving antenna
TABLE OF CONTENTS
CX200 PROGRAMMING GUIDE
Start/Stop Label
THE SATO PROGRAMMING LANGUAGE
CX208/212 PROGRAMMING GUIDE
INTRODUCTION
USING BASIC
SELECTING PROTOCOL CONTROL CODES
Printing with the Parallel Port
Printing with the RS232 Port
THE PRINT AREA
Table 1, Print Area
CX208
CX212
The diagram below illustrates the maximum print area and a sample 2 inch wide by 3 inch long label placed within this area. As can be seen, your label will be oriented in the middle of the print head as viewed from the front of the printer. The normal reference point is located at the H1, V1 position of the print area in the normal print orientation no rotation
ROTATED FIELDS
COMMAND DEFAULT SETTINGS
PRINTER CONFIGURATION
COMMAND
DEFAULT
LABEL SENSING
CX208/212 Programming Guide
COMMAND CODE PAGE REFERENCE
Bar Codes
123456
21826
2500
0760
Printer Output
CX208/212 Programming Guide
Page
Special Notes
Command Structure ESCBWaabbb
Bar Codes, Expansion
Input to Printer ESCAH0050ESCV0050ESCBW04100*1234*Q1ESCZ BT101030103
Printer Output
Command Structure ESCBTabbccddee
Bar Codes, Variable Ratio
Input to Printer ESCQ1ESCZBW03100*1234*H0050ESCV0050ESCA BT101030103
Printer Output
If the data specified in this command is incorrect, the command is
Special Notes
Printer Output
Command Structure ESCA3H-aaaaVbbbb
Base Reference Point
Special Notes
Command Structure Store Command ESCTabcc
Characters, Custom-Designed
ESCK1H903F
Printer Input
Special Notes
command, the character is affected by the following commands
Printer Output
ESCLaabb
Command Structure Command Function Input to Printer Printer Output
Character Expansion
Special Notes
Command Structure ESCPR
Character, Fixed Spacing
Printer Input
Printer Output
Command Structure ESCPaa
Character Pitch
Input to Printer ESCESCH0025ESCV0025ESCL0202ESCXB1SATOQ1ESCZ P4
Printer Output
Special Notes
Command Structure ESCPS
Character, Proportional Spacing
Printer Input
Printer Output
Command Structure
Command Function
Clear Print Jobs & Memory
Special Note
Command Structure None
Continuous Forms Printing
Command Structure ESCWDHaaaaVbbbbXccccYdddd
Copy Image Area
Example ESCWDH0100V0050X0600Y0400
Printer Output Special Notes
cccc
Cutter Command
Command Structure ESC~aaaa or ESCNULaaaa
Input to Printer
Printer Output
Fonts U, S, M, OA, OB, XU, XS & XM
H0300ESCV0125140322517500ESCL0202ESC11UXMSATOUB\
Command Structure
Command Function
Special Notes
You may also create custom characters or fonts. See the ESCT
Fonts WB, WL, XB & XL
ESCWB1123456
Command Structure
Command Function
Special Notes
Form Feed
Command Structure
Command Function
Input to Printer
Command Structure ESC
Form Overlay, Recall
Input to Printer
Printer Output
Form Overlay, Store
Command Structure ESC
Input to Printer
Printer Output
Command Structure ESCGabbbcccdata
Graphics, Custom
Printer Output
Special Notes
Command Structure ESCGPaaaaa,data
Graphics, PCX
Printer Input
Printer Output
Command Structure ESCJ
Journal Print
Journal mode assumes a maximum label width. Otherwise, you
Printer Output
Command Structure Line
Lines and Boxes
ESCFWaabcccc
ESCFWaabbVccccHdddd
LINE/BOX
CX208
CX212
LENGTH
Line Feed
Command Structure
Command Function
Input to Printer
Command Structure ESCA1aaaabbbb
Media Size
Command Function
Input to Printer
Off-Line/Pause
Command Structure
Command Function
Input to Printer
Command Structure ESCBPn...n
Postnet
Printer Input
Printer Output
Command Structure ESC#Ea
Print Darkness
Command Function
Input to Printer
Printer Output
Print Length, Expanded
Maximum
Special Notes
Command Structure Command Function Input to Printer Printer Output
Print Position
ESCQ2ESCZAH0025100 0150ESCL0303ESCMSATO
Special Notes
aaaa
Command Structure ESCQaaaaaa
Print Quantity
Input to Printer
Printer Output
Command Structure ESCCSa
Print Speed
ESCAZCS3
Command Function
Repeat Label
ESCAZC
Command Structure
Command Function
Command Structure ESC0 ESCzero
Replace Data Partial Edit
Input to Printer
Printer Output
Special Notes
Command Structure ESCaaaa,bbbb
Reverse Image
ESC100,50
Input to Printer
Special Notes
CX208
CX212
Printer Output
Command Structure ESC%a
Rotate, Fixed Base Reference Point
Do not combine this command and the ESCR Rotate command
Special Notes
Rotate, Moving Base Reference Point
ESCAQ1ESCZNR
Input to Printer
Printer Output
Do not combine this command and the ESC% rotate command
Special Notes
Command Structure ESCFaaaabcccc,dd,ee
Sequential Numbering
ESCF001-001,04,03
Command Function
followsESCAH0100ESCV0100ESCQ50Z
Printer Output
Special Notes
Start/Stop Label
Input to Printer
Printer Output
ESCH01Q1ESCA0017300ESCV0Z
CX208/212 Programming Guide
Expanded Memory Option Commands
These commands require the Expanded Memory Option
Command Structure ESC*a,bb
Expanded Memory Function Clear Expanded Memory
Printer Input
Printer Output
Command Structure ESCBJT,aa,bb,cc,dd,ee,ffff,gg..g
This command recalls previously stored rueType fonts from
Expanded Memory Function Fonts, TrueType Recall
Example
Expanded Memory Function Fonts, TrueType Store
Command Structure Command Function Printer Input
Expanded Memory Function Graphics, Custom Recall
ESCGRaaa
Printer Output
Command Structure ESCGIabbbcccddddata
Expanded Memory Function Graphics, Custom Store
Printer Input
Printer Output
ESCGIHaaabbb002DATA ESCZ
Command Structure ESCPYaaa
Expanded Memory Function Graphics, PCX Recall
Printer Input
Printer Output
Expanded Memory Function Graphics, PCX Store
ESCPI001,32000,data
Command Structure
Command Function
Expanded Memory Function Initialize
ESCBJFaaaaaaaa
Command Structure Command Function Input to Printer Printer Output
ESCZCC2ESCA
Command Structure Command Function Printer Input Printer Output
Expanded Memory Function Area Select
ESCZACC1
Special Notes
Expanded Memory Function Status
Command Structure
Command Function
Printer Input
Two-Dimensional Symbols
CX208/212 Programming Guide
Two-Dimensional Bar Codes Maxicode
Command Structure Command Function Command Function Input to Printer
ESCBVa,b,c,ddddddddd,eee,fff,gggg.....ESC
Example ESCBV1,2,3,123456789,222,333,MESSAGEESC
Printer Output
Special Notes
Two-Dimensional Bar Codes PDF417
BK0304400000021
Command Structure Command Function Printer Input
Printer Output
CX208/212 Programming Guide
CONFIGURATION COMMANDS
Command Structure ESCCFa
Auto-Calibrate
ESC AZCF1
Command Function
Backfeed Enable
Command Structure ESCCEa
ESC AZCE1
Command Function
Calibrate Sensor
Command Structure
Command Function
Input to Printer
Custom Protocol Command Codes Download
Command Structure ESCLD,a,b,c,d,e,f,g,h,i
Command Function Printer Input Printer Output
ESCLD,,,%,#,&,*,~,0,0
Resulting Command Code
Command Structure ESCCBabb
Label Tear-Off
Command Function
CB+03
Print Darkness Range Adjustment
Command Structure
Command Function
Input to Printer
Print Test Label
Command Structure
Command Function
ESC AZCT
Set Print Mode
Command Structure ESCCPa
Command Function
Input to Printer
Command Structure ESCCRaaaaa,b,c,d
Set RS232 Parameters
Command Function
ESCAZCR9600,N,8,1
Command Structure ESCCIa
Set Sensor Type
ESC AZCI2
Command Function
Enable Options
Command Structure
Command Function
Input to Printer
MODE
Dispenser
Cutter
Backfeed