Résumé du contenu de la page N° 1
CX Series
Programming Manual
Issued April 2001
Résumé du contenu de la page N° 2
SATO Group of Companies BARCODE SATO INTERNATIONAL PTE SATO EUROPE NV LTD Leuvensesteenweg 369, 438A Alexandra Road #05-01/ 02, 1932 Sint-Stevens-Woluwe, Brussels, Belgium Alexandra Technopark, Tel: +32 (0)-2-788-80-00 Singapore 119967 Fax: +32 (0)-2-788-80-80 Tel: +65-6271-2122 Website: www.sato-europe.com Fax: +65-6271-2151 Email: info@sato-europe.com Website: www.barcodesato.com Email: sales@sato-int.com SATO UK LTD SATO DEUTSCHLAND GMBH Valley Road, Harwich, Essex England Schaberweg 28, 6134
Résumé du contenu de la page N° 3
SATO CX Series Printer Warning It is essential that the safety and operating procedures contained within this manual be brought to the attention of, and are used by, all personnel likely to operate this printer/product. This printer/product must only be used for the purpose for which it was designed. In the case of fire, water must not be used on the product to extinguish the fire, and the appropriate type of fire extinguisher should be readily available. No modifications, either mechanical or
Résumé du contenu de la page N° 4
SATO CX Series Printer Warranty and Copyright SATO Europe GmbH makes no guarantee of any kind with regard to this mate- rial, including, but not limited to, the implied guaranties of merchantability and fitness for a particular purpose. SATO Europe GmbH shall not be liable for errors contained herein or for any incidental consequential damages in connection with the furnishing, perfor- mance, or use of this material. This document contains proprietary information which is protected by copy- ri
Résumé du contenu de la page N° 5
SATO CX Series Printer Cont Content ents s Cont Content ents s CX SERIES PROGRAMMING GUIDE ...................................1 INTRODUCTION ..............................................................1 THE SATO PROGRAMMING LANGUAGE ...........................1 SELECTING PROTOCOL CONTROL CODES ......................2 USING BASIC ...................................................................2 Printing with the Parallel Port ............................................3 Printing with the RS
Résumé du contenu de la page N° 6
SATO CX Series Printer Line Feed .........................................................................50 Off-Line/Pause .................................................................52 Postnet .............................................................................53 Print Darkness ..................................................................54 Print Length, Expanded .....................................................55 Print Position ..........................................
Résumé du contenu de la page N° 7
SATO CX Series Printer Two-Dimensional Bar Codes Maxicode .........................................................................89 Two-Dimensional Bar Codes PDF417 ............................................................................91 CONFIGURATION COMMANDS .......................................94 Calibrate Sensor ..............................................................95 Auto Calibration ...............................................................96 Custom Protocol Command
Résumé du contenu de la page N° 8
SATO CX Series Printer This page is intentionally left blank. iv
Résumé du contenu de la page N° 9
SATO CX Series Printer C CX X S SE ERI RIES ES PRO PROG GR RA AMMIN MMING G GUIDE GUIDE C CX X S SE ERI RIES ES PRO PROG GR RA AMMIN MMING G GUIDE GUIDE INTRODUCTION This section presents the commands that are used with the SATO CX printers to produce labels with logos, bar codes and alphanumeric data. The following information is presented in this section: ❒ The SATO Programming Language ❒ Selecting Protocol Control Codes ❒ Using Basic ❒ The Print Area ❒ Printer Configuration ❒ Command Codes TH
Résumé du contenu de la page N° 10
SATO CX Series Printer {Command} {Parameter} {Data} Some commands can contain both Parameter and Data elements, such as “print a Code 39 symbol containing the data.” SELE SELE SELE SELECT CT CT CTING P ING P ING P ING PR R R RO O O OT T T TO O O OC C C CO O O OL L L L C C C CO O O ONT NT NT NTROL ROL ROL ROL CO CO CO CODES DES DES DES Protocol codes are the special control characters that prepare the printer to receive instructions. For example, the character tells the printer that a
Résumé du contenu de la page N° 11
SATO CX Series Printer 1. Set the WIDTH of the output device to 255 characters to avoid au- tomatically sending and characters after every line. The command string should be continuous and uninterrupted by and/or commands. The examples given in this ma- nual are printed on separate lines because they will not fit on one line and do not contain any and/or characters. If these characters are needed, they are explicitly noted by the inclusion of and nota
Résumé du contenu de la page N° 12
SATO CX Series Printer 50 LPRINT E$;"Q1"; Instructs the printer to print one label. 60 LPRINT E$; “Z”; Tells the printer that the last command has been sent. The printer can now create and print the job. P P P Pr r r rinti inti inti inting wi ng wi ng wi ng with the R th the R th the R th the RS S S S2 2 2 23 3 3 32 2 2 2 P P P Po o o ort rt rt rt 5 REM RS232 Example Identifies the program as a RS232 port print label. The “REM” prevents this data from being sent to the printer and dis
Résumé du contenu de la page N° 13
SATO CX Series Printer RO RO RO ROT T T TA A A AT T T TE E E ED FIEL D FIEL D FIEL D FIELDS DS DS DS The printers can rotate each print field in 90° increments using the Rotate command. There are two variations of this command. •% - The field rotates, but the base reference point for the field remains the same. •R - The field and the base reference point rotate. The following data stream will rotate the print field but will not change the base reference point of the field: A
Résumé du contenu de la page N° 14
SATO CX Series Printer Comman Command d Def Default ault No Not te e Comman Command d Def Defa ault ult No Notte e Vertical Reference Point 0 (1) Horizontal Reference Point 0 (1) Character Pitch 2 (1) Base Reference Point H=0, V=0 (2) Character Expansion 1 (1) Print Darkness 3 (1) Print Speed 75 mm/second (2) NOTES: (1) The settings for these commands will revert to the default value when the printer receives an Z or an *. (2) These values transmitted with these commands will remain i
Résumé du contenu de la page N° 15
SATO CX Series Printer CO CO CO COM M M MM M M MAN AN AN AND CO D CO D CO D CODE DE DE DE P P P PA A A AG G G GE E E E RE RE RE REF F F FE E E ERE RE RE RENC NC NC NCE E E E This section contains all the printer Command Codes. The commands must be sent to the printer in an organized fashion in order for the label(s) to print. The purpose of this section is to: Explain the different commands and provide examples of their usage. To provide a detailed reference for programming. Each command beg
Résumé du contenu de la page N° 16
SATO CX Series Printer Bar Codes Bar Codes Bar Codes Bar Codes Command Structure 1:3 narrow/wide bar ratio: Babbcccd 2:5 narrow/wide ratio: BDabbcccd 1:2 narrow/wide bar ratio: Dabbcccd a= Bar Code Symbol 0 Codabar 1Code 39 2 Interleaved 2 of 5 (I 2/5) 3 UPC-A / EAN-13 4EAN-8 AMSI CCode 93 EUPC-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 ty- pes 0 No
Résumé du contenu de la page N° 17
SATO CX Series Printer Input to Printer A H0025V0025B103100*CODE 39* H0155V0130XS*CODE 39* H0025V0200BD20210045676567 H0075V0310XM45676567 H0025V0375BD30215001234567890 H0025V0950BA03100123455 H0095V1060XS12345 H0025V1125BC03100081234ABCD H0080V1240XS1234ABCD H0525V0025B002100A12345B H0565V0135XS12345 H0475V0200BD
Résumé du contenu de la page N° 18
SATO CX Series Printer Printer Output 10
Résumé du contenu de la page N° 19
SATO CX Series Printer UCC-128 Without Incrementing A H0100V0100BI071501012345670000 00001 Q2Z With Incrementing A H0100V0100F001+001 BI07150101234567000000001 Q2Z 11
Résumé du contenu de la page N° 20
SATO CX Series Printer Special Notes 1. UPC and EAN bar codes are not affected by the different types of narrow to wide ratios. Instead, the D command adds descender bars to these codes where needed to meet UPC specifications. The BD com- mand puts descender bars and human readable text below the symbol. 2. The Code 128, UCC 128, MSI, and Code 93 bar codes are not affected by the narrow to wide ratios. 3. The Codabar and Code 39 bar codes are affected by the Character Pitch comma