SATO CX208/212 manual Table of Contents

Page 3

TABLE OF CONTENTS

CX200 PROGRAMMING GUIDE

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 The SATO Programming Language. . . . . . . . . . . . . . . . . . . 1 Selecting Protocol Control Codes. . . . . . . . . . . . . . . . . . . . 2 Using Basic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 The Print Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Rotated Fields

6

Command Default Settings . . . . . . . . . . . . . . . . . . . . . . . 7

Printer Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Label Sensing

9

Command Code Page Reference

. . . . . . . . . . . . . . . . . . . . 10

Bar Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Bar Codes, Expansion

16

Bar Codes, Variable Ratio

17

Base Reference Point . . . . . . . . . . . . . . . . . . . . . . . . 19

Characters, Custom Designed

21

Character Expansion . . . . . . . . . . . . . . . . . . . . . . . . 23

Character, Fixed Spacing . . . . . . . . . . . . . . . . . . . . . . 25

Character Pitch . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

Character, Proportional Spacing . . . . . . . . . . . . . . . . . . 28

Clear Print Jobs & Memory . . . . . . . . . . . . . . . . . . . . . 29

Continuous Forms Printing . . . . . . . . . . . . . . . . . . . . . 30 Copy Image Area . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Cutter Command . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Fonts, U, S, M, OA, OB, XU, XS and XM . . . . . . . . . . . . . . 34 Fonts, WB,WL, XB and XL . . . . . . . . . . . . . . . . . . . . . 36 Form Feed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Form Overlay Recall . . . . . . . . . . . . . . . . . . . . . . . . 39 Form Overlay Store. . . . . . . . . . . . . . . . . . . . . . . . . 40 Graphics, Custom. . . . . . . . . . . . . . . . . . . . . . . . . . 41

Graphics, PCX .

. . . . . . . . . . . . . . . . . . . . . . . . .

. 43

Journal Print . .

. . . . . . . . . . . . . . . . . . . . . . . . .

. 44

Lines and Boxes

. . . .

. . . . . . .

. . . . . . . . . . . .

.

. .

45

Line Feed

. . . . . . .

. . . . . . . . . . . .

.

. .

47

Media Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Off-Line. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Postnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Print Darkness . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

Print Length, Expanded

52

Print Position .

. .

. .

. . . . . . . . . . . . . . . . . . . . . . . 53

Print Quantity

. .

. .

. . . . . . . . . . . . . . . . . . . . . . .

56

Print Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Repeat Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Replace Data (Partial Edit) . . . . . . . . . . . . . . . . . . . . . 59 Reverse Image . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Rotate, Fixed Base Reference Point. . . . . . . . . . . . . . . . . 63

Rotate, Moving Base Reference Point

. . . . . . . . . . . .

.

. .

65

Sequential Numbering

. . . . . . . . . . . .

.

. .

67

SATO CX208/212 Printers

PN 9001092 Rev. A

Page - i

Image 3
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 Command Structure ESCBWaabbb Bar Codes, ExpansionPrinter Output Special Notes 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 Printer Input Command Structure Store Command ESCTabccCharacters, Custom-Designed ESCK1H903FWhen 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 EscpsCommand Structure Clear Print Jobs & MemorySpecial Note Continuous Forms Printing Command Structure NoneCommand Structure ESCWDHaaaaVbbbbXccccYdddd Copy Image AreaExample ESCWDH0100V0050X0600Y0400 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 EscjCommand Structure Line ESCFWaabcccc Lines and BoxesESCFWaabbVccccHdddd 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 Command Structure ESCaaaa,bbbb Reverse ImageESC100,50 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 Command Structure ESCFaaaabcccc,dd,ee Sequential NumberingESCF001-001,04,03 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,bbCommand Structure ESCBJT,aa,bb,cc,dd,ee,ffff,gg..g Expanded Memory Function Fonts, TrueType RecallExample ESCBJT,11,02,02,01,00,0004,SATO 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 Two-Dimensional Bar Codes Command Structure Command Function Printer InputBK0304400000021 Values 00Hthru 1FHcan be specified as print data Configuration Commands Auto-Calibrate Command Structure ESCCFaCommand Structure ESCCEa Backfeed EnableCalibrate Sensor ESCLD,,,%,#,&,*,~,0,0 Custom Protocol Command Codes DownloadCommand Structure ESCLD,a,b,c,d,e,f,g,h,i Command Function Printer Input Printer OutputResulting 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,dCommand Structure ESCCIa Set Sensor TypeESC AZCI2 ESC CL1 Enable OptionsMode