SATO CX208/212 manual Set RS232 Parameters, Command Structure ESCCRaaaaa,b,c,d

Page 101

CX208/212 Programming Guide

Set RS232 Parameters

Command Structure <ESC>CRaaaaa,b,c,d

aaaaa = Baud Rate (2400, 4800, 9600,19200 or 38400)

b= Parity (N for None, O for Odd, E for Even)

c= Number of data bits (7 or 8)

d= Number of stop bits (1 or 2)

Example: ESC>CR9600,N,8,1

 

Placement:

Must be sent in a separate data stream.

 

Default:

9600,N,8,1

Command Function

To select the desired RS232 communications settings

Input to Printer

<ESC>AZCR9600,N,8,1

Printer Output

There is no printer output as a result of this command.

Special Notes

1. Any commands sent to the printer over the RS232 port within two

 

seconds of receiving this command may be lost.

2. The RS232 settings must match those of the host system. If the RS232 settings are unknown, printing a Self Test label will list the current printer settings.

Page 97

PN 9001092 Rev. A

SATO CX208/212 Printers

Image 101
Contents CX208/212 Page Table of Contents Sato CX208/212 Printers PN 9001092 Rev. a Sato Programming Language IntroductionSelecting Protocol Control Codes Using BasicPrinting with the RS232 Port Printing with the Parallel PortCX208/212 Programming Guide Print AreaPage Rotated Fields Printer Configuration Command Default SettingsLabel Sensing ESCAESCCP1ESCCI2ESCCAESCZ Command Code page Reference MSI Bar CodesInput to Printer A01597Printer Output CX208/212 Programming Guide Special Notes Printer Output Special Notes Command Structure ESCBWaabbbBar Codes, Expansion Bar Codes, Variable Ratio Command Structure ESCBTabbccddeeThis command must be immediately followed by the Escbw Base Reference Point Command Structure ESCA3H-aaaaVbbbbPrinter configuration until a new Base Reference Point Characters, Custom-Designed Command Structure Store Command ESCTabccESCK1H903F Printer InputWhen printing the custom character using the Esck Recall Character Expansion This command will expand the following fonts Character, Fixed Spacing Command Structure EscprCharacter Pitch Command Structure ESCPaaThis command is affected by the Escl Character Expansion Character, Proportional Spacing Command Structure EscpsSpecial Note Command StructureClear Print Jobs & Memory Continuous Forms Printing Command Structure NoneExample ESCWDH0100V0050X0600Y0400 Command Structure ESCWDHaaaaVbbbbXccccYddddCopy Image Area Horizontal 0001 Aaaa Command Structure ESC~aaaa or ESCNULaaaa Cutter CommandEscoa Fonts U, S, M, OA, OB, XU, XS & XMCharacters may be enlarged through the use of the Character ESCWB1123456 Fonts WB, WL, XB & XLCharacters may be enlarged through the use of the Escl Form Feed Form Overlay, Recall Command Structure ESCForm Overlay, Store Graphics, Custom Command Structure ESCGabbbcccdataCustom graphic cannot be enlarged by the Escl Character Graphics, PCX Command Structure ESCGPaaaaa,dataJournal Print Command Structure EscjESCFWaabbVccccHdddd Command Structure Line ESCFWaabccccLines and Boxes CX208/212 Programming Guide Field ranges are Line Feed Media Size Command Structure ESCA1aaaabbbbOff-Line/Pause Postnet Command Structure ESCBPn...nPrint Darkness Command Structure ESC#EaMaximum Print Length, ExpandedPrint length, or until the printer is repowered ESCQ2ESCZAH0025100 0150ESCL0303ESCMSATO Print PositionPrint position of a field is affected by both the Rotate Print Quantity Command Structure ESCQaaaaaaPrint Speed Command Structure ESCCSaEscc Repeat LabelReplace Data Partial Edit Command Structure ESC0 ESCzeroFewer characters than the old data, then the characters not ESC100,50 Command Structure ESCaaaa,bbbbReverse Image CX208 CX212 Rotate, Fixed Base Reference Point Command Structure ESC%aSame data stream Rotate, Moving Base Reference Point ESCAQ1ESCZNRThis command is provided for compatibility with other Sato ESCF001-001,04,03 Command Structure ESCFaaaabcccc,dd,eeSequential 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,bbExample ESCBJT,11,02,02,01,00,0004,SATO Command Structure ESCBJT,aa,bb,cc,dd,ee,ffff,gg..gExpanded Memory Function Fonts, TrueType Recall Expanded Memory Function Fonts, TrueType Store Expanded Memory Function Graphics, Custom Recall Command Structure Command Function Printer Input ESCGRaaaExpanded Memory Function Graphics, Custom Store Command Structure ESCGIabbbcccddddataESCGIHaaabbb002DATA Escz Expanded Memory Function Graphics, PCX Recall Command Structure ESCPYaaaESCPI001,32000,data Expanded Memory Function Graphics, PCX StoreExpanded Memory Function Initialize ESCZCC2ESCAExpanded Memory Function Area Select ESCZACC1Expanded Memory Function Status BJSTwo-Dimensional Symbols Example ESCBV1,2,3,123456789,222,333,MESSAGEESC Two-Dimensional Bar Codes MaxicodePlease refer to UPS Publication Guide to Bar Coding with UPS BK0304400000021 Two-Dimensional Bar CodesCommand Structure Command Function Printer Input Values 00Hthru 1FHcan be specified as print data Configuration Commands Auto-Calibrate Command Structure ESCCFaCommand Structure ESCCEa Backfeed EnableCalibrate Sensor Command Structure ESCLD,a,b,c,d,e,f,g,h,i Custom Protocol Command Codes DownloadCommand Function Printer Input Printer Output ESCLD,,,%,#,&,*,~,0,0Resulting Command Code Label Tear-Off Command Structure ESCCBabbPrint Darkness Range Adjustment ESC Azct Print Test LabelCommand Structure ESCCPa Set Print ModeSet RS232 Parameters Command Structure ESCCRaaaaa,b,c,dESC AZCI2 Command Structure ESCCIaSet Sensor Type ESC CL1 Enable OptionsMode