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