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
CX212
THE PRINT AREA
Table 1, Print Area
CX208
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
DEFAULT
COMMAND DEFAULT SETTINGS
PRINTER CONFIGURATION
COMMAND
LABEL SENSING
CX208/212 Programming Guide
COMMAND CODE PAGE REFERENCE
Bar Codes
0760
123456
21826
2500
CX208/212 Programming Guide
Printer Output
Page
Special Notes
Printer Output
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
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
Printer Input
Command Structure Store Command ESCTabcc
Characters, Custom-Designed
ESCK1H903F
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
Printer Output
Command Structure ESCPR
Character, Fixed Spacing
Printer Input
Printer Output
Command Structure ESCPaa
Character Pitch
Input to Printer ESCESCH0025ESCV0025ESCL0202ESCXB1SATOQ1ESCZ P4
Special Notes
Printer Output
Command Structure ESCPS
Character, Proportional Spacing
Printer Input
Special Note
Command Structure
Command Function
Clear Print Jobs & Memory
Continuous Forms Printing
Command Structure None
Printer Output Special Notes
Command Structure ESCWDHaaaaVbbbbXccccYdddd
Copy Image Area
Example ESCWDH0100V0050X0600Y0400
cccc
Printer Output
Cutter Command
Command Structure ESC~aaaa or ESCNULaaaa
Input to Printer
Command Function
Fonts U, S, M, OA, OB, XU, XS & XM
H0300ESCV0125140322517500ESCL0202ESC11UXMSATOUB\
Command Structure
You may also create custom characters or fonts. See the ESCT
Special Notes
Command Function
Fonts WB, WL, XB & XL
ESCWB1123456
Command Structure
Special Notes
Input to Printer
Form Feed
Command Structure
Command Function
Printer Output
Command Structure ESC
Form Overlay, Recall
Input to Printer
Printer Output
Form Overlay, Store
Command Structure ESC
Input to Printer
Graphics, Custom
Command Structure ESCGabbbcccdata
Special Notes
Printer Output
Printer Output
Command Structure ESCGPaaaaa,data
Graphics, PCX
Printer Input
Printer Output
Command Structure ESCJ
Journal Print
Journal mode assumes a maximum label width. Otherwise, you
ESCFWaabbVccccHdddd
Command Structure Line
Lines and Boxes
ESCFWaabcccc
LENGTH
LINE/BOX
CX208
CX212
Input to Printer
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
Printer Output
Command Structure ESCBPn...n
Postnet
Printer Input
Input to Printer
Command Structure ESC#Ea
Print Darkness
Command Function
Print Length, Expanded
Maximum
Printer Output
Special Notes
Print Position
ESCQ2ESCZAH0025100 0150ESCL0303ESCMSATO
Command Structure Command Function Input to Printer Printer Output
aaaa
Special Notes
Printer Output
Command Structure ESCQaaaaaa
Print Quantity
Input to Printer
Command Function
Command Structure ESCCSa
Print Speed
ESCAZCS3
Command Function
Repeat Label
ESCAZC
Command Structure
Printer Output
Command Structure ESC0 ESCzero
Replace Data Partial Edit
Input to Printer
Special Notes
Input to Printer
Command Structure ESCaaaa,bbbb
Reverse Image
ESC100,50
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
Printer Output
Rotate, Moving Base Reference Point
ESCAQ1ESCZNR
Input to Printer
Special Notes
Do not combine this command and the ESC% rotate command
Command Function
Command Structure ESCFaaaabcccc,dd,ee
Sequential Numbering
ESCF001-001,04,03
Printer Output
Special Notes
followsESCAH0100ESCV0100ESCQ50Z
ESCH01Q1ESCA0017300ESCV0Z
Start/Stop Label
Input to Printer
Printer Output
Expanded Memory Option Commands
These commands require the Expanded Memory Option
CX208/212 Programming Guide
Printer Output
Command Structure ESC*a,bb
Expanded Memory Function Clear Expanded Memory
Printer Input
Example
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
Expanded Memory Function Fonts, TrueType Store
Printer Output
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
ESCGIHaaabbb002DATA ESCZ
Printer Output
Command Structure ESCPYaaa
Expanded Memory Function Graphics, PCX Recall
Printer Input
Command Function
Expanded Memory Function Graphics, PCX Store
ESCPI001,32000,data
Command Structure
ESCZCC2ESCA
Expanded Memory Function Initialize
ESCBJFaaaaaaaa
Command Structure Command Function Input to Printer Printer Output
Special Notes
Command Structure Command Function Printer Input Printer Output
Expanded Memory Function Area Select
ESCZACC1
Printer Input
Expanded Memory Function Status
Command Structure
Command Function
CX208/212 Programming Guide
Two-Dimensional Symbols
Example ESCBV1,2,3,123456789,222,333,MESSAGEESC
Two-Dimensional Bar Codes Maxicode
Command Structure Command Function Command Function Input to Printer
ESCBVa,b,c,ddddddddd,eee,fff,gggg.....ESC
Special Notes
Printer Output
Printer Output
Two-Dimensional Bar Codes PDF417
BK0304400000021
Command Structure Command Function Printer Input
CX208/212 Programming Guide
CONFIGURATION COMMANDS
Command Function
Command Structure ESCCFa
Auto-Calibrate
ESC AZCF1
Command Function
Backfeed Enable
Command Structure ESCCEa
ESC AZCE1
Input to Printer
Calibrate Sensor
Command Structure
Command Function
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
CB+03
Command Structure ESCCBabb
Label Tear-Off
Command Function
Input to Printer
Print Darkness Range Adjustment
Command Structure
Command Function
ESC AZCT
Print Test Label
Command Structure
Command Function
Input to Printer
Set Print Mode
Command Structure ESCCPa
Command Function
ESCAZCR9600,N,8,1
Command Structure ESCCRaaaaa,b,c,d
Set RS232 Parameters
Command Function
Command Function
Command Structure ESCCIa
Set Sensor Type
ESC AZCI2
Input to Printer
Enable Options
Command Structure
Command Function
Backfeed
MODE
Dispenser
Cutter