SATO CX208/212 manual Bar Codes, Msi

Page 15

CX208/212 Programming Guide

Bar Codes

Command Structure 1:3 narrow/wide bar ratio: <ESC>Babbcccd

2:5 narrow/wide ratio: <ESC>BDabbcccd

1:2 narrow/wide bar ratio: <ESC>Dabbcccd

a= Bar Code Symbol

0 Codabar

1 Code 39

2 Interleaved 2 of 5 (I 2/5)

3 UPC-A / EAN-13

4 EAN-8

5 Industrial 2 of 5

A MSI

C Code 93

E UPC-E F Bookland G Code 128 I UCC 128

bb

=

Number of dots (01-12) for narrow bar and narrow space

ccc

=

Bar height in dots (001-600)

d= UCC 128 only. Not used for other bar code types 0 No human readable text

1 Human readable at top

2 Human readable at bottom

Example: <ESC>BD103200

Placement: Immediately preceding data to be encoded

Default: None

Command Function To print bar code images on a label. With this command, there are 13 standard bar code symbologies available to be printed and three two dimensional symbols.

Page 11

PN 9001092 Rev. A

SATO CX208/212 Printers

Image 15
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