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