Page 3 - SATO CX Series Printer; Warning
SATO CX Series Printer Warning It is essential that the safety and operating procedures contained withinthis manual be brought to the attention of, and are used by, all personnellikely to operate this printer/product. This printer/product must only be used for the purpose for which it was designed. ...
Page 4 - Warranty and Copyright
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...
Page 5 - Contents
SATO CX Series Printer i Contents Contents Contents Contents CX SERIES PROGRAMMING GUIDE ................................... 1 INTRODUCTION .............................................................. 1 THE SATO PROGRAMMING LANGUAGE ........................... 1 SELECTING PROTOCOL CONTROL CODES .....
Page 6 - ii
ii SATO CX Series Printer Line Feed ......................................................................... 50 Off-Line/Pause ................................................................. 52 Postnet ............................................................................. 53 Print Darkness...
Page 7 - iii; Two-Dimensional Bar Codes
SATO CX Series Printer iii Two-Dimensional Bar Codes Maxicode ......................................................................... 89 Two-Dimensional Bar Codes PDF417 ............................................................................ 91 CONFIGURATION COMMANDS ............................
Page 8 - iv
iv SATO CX Series Printer This page is intentionally left blank.
Page 9 - CX SERIES PROGRAMMING GUIDE; INTRODUCTION; THE SATO PROGRAMMING LANGUAGE
SATO CX Series Printer 1 CX SERIES PROGRAMMING GUIDE CX SERIES PROGRAMMING GUIDE CX SERIES PROGRAMMING GUIDE CX SERIES PROGRAMMING GUIDE INTRODUCTION This section presents the commands that are used with the SATO CX printersto produce labels with logos, bar codes and alphanumeric data.The following ...
Page 11 - CTS; Printing with the Parallel Port
SATO CX Series Printer 3 1. Set the WIDTH of the output device to 255 characters to avoid au- tomatically sending <CR> and <LF> characters after every line. The command string should be continuous and uninterrupted by <CR> and/or <LF> commands. The examples given in this ma- ...
Page 12 - Printing with the RS232 Port
4 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. Printing with the RS232 Port Printing with the RS232 Port Printing with the RS232 Port...
Page 14 - PRINTER CONFIGURATION
6 SATO CX Series Printer NOTES:(1) The settings for these commands will revert to the default value when the printer receives an <ESC>Z or an <ESC>* . (2) These values transmitted with these commands will remain in effect until a new command is received. PRINTER CONFIGURATION PRINTER CON...
Page 15 - COMMAND CODE PAGE REFERENCE
SATO CX Series Printer 7 COMMAND CODE PAGE REFERENCE COMMAND CODE PAGE REFERENCE COMMAND CODE PAGE REFERENCE COMMAND CODE PAGE REFERENCE This section contains all the printer Command Codes. The commands mustbe sent to the printer in an organized fashion in order for the label(s) to print.The purpose...
Page 16 - Bar Codes; Command Structure; Command Function
8 SATO CX Series Printer Bar Codes Bar Codes Bar Codes 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 Symbol0 Codabar1 Code 392 Interleaved 2 of 5 (I 2/5)3 UPC-A / EAN-...
Page 17 - Input to Printer
SATO CX Series Printer 9 Input to Printer <ESC>A<ESC>H0025<ESC>V0025<ESC>B103100*CODE 39*<ESC>H0155<ESC>V0130<ESC>XS*CODE 39*<ESC>H0025<ESC>V0200<ESC>BD20210045676567<ESC>H0075<ESC>V0310<ESC>XM45676567<ESC>H0025<E...
Page 18 - Printer Output
Page 19 - Without Incrementing
SATO CX Series Printer 11 UCC-128 Without Incrementing <ESC>A<ESC>H0100<ESC>V0100<ESC> BI071501012345670000 00001 <ESC>Q2<ESC>Z With Incrementing <ESC>A<ESC>H0100<ESC>V0100<ESC >F001+001 <ESC >BI07150101234567000000001 <ESC>Q2&l...
Page 20 - Special Notes
12 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 <ESC>D command adds descender bars to these codes where needed to meet UPC specifications. The <ESC>BD com-mand puts descender bars and human re...
Page 23 - Bar Codes, Variable Ratio; BTabbccddee; BT
SATO CX Series Printer 15 Bar Codes, Variable Ratio Bar Codes, Variable Ratio Bar Codes, Variable Ratio Bar Codes, Variable Ratio Command Structure <ESC> BTabbccddee a = Bar Code Symbol:0 Codabar1 Code 392 Interleaved 2 of 5 bb = Narrow space in dots (01-99) cc = Wide space in dots (01-99) dd ...
Page 25 - Base Reference Point
SATO CX Series Printer 17 Base Reference Point Base Reference Point Base Reference Point Base Reference Point Command Structure <ESC> A3H-aaaaVbbbb - = This character is optional. When present, it specifies that the horizontal offset is in the ne-gative direction. If it is left out the offset ...
Page 27 - Tabcc
SATO CX Series Printer 19 Characters, Custom-Designed Characters, Custom-Designed Characters, Custom-Designed Characters, Custom-Designed Command Structure Store Command:<ESC> Tabcc Recall Command:<ESC> Kab90cc a = 1 16x16 matrix2 24x24 matrix b = Specifies the character encoding method ...
Page 29 - Character Expansion
SATO CX Series Printer 21 Character Expansion Character Expansion Character Expansion Character Expansion Command Structure <ESC>Laabbaa = Multiple to expand horizontally (01- 04) bb = Multiple to expand vertically (01- 04) Example: <ESC> L 0304 Placement: Preceding the data to be expand...
Page 31 - Character, Fixed Spacing; PR
SATO CX Series Printer 23 Character, Fixed Spacing Character, Fixed Spacing Character, Fixed Spacing Character, Fixed Spacing Command Structure <ESC> PR Example: See Above Placement: Preceding the data Default: The default is Proportional Spacing. Command Function To reset proportional spacing...
Page 32 - Character Pitch; Paa
24 SATO CX Series Printer Character Pitch Character Pitch Character Pitch Character Pitch Command Structure <ESC> Paa aa = Number of dots between characters (00-99) Example: <ESC>P03 Placement: Preceding the text to be printed Default: <ESC> P02 Command Function To designate the am...
Page 34 - Character, Proportional Spacing; PS
26 SATO CX Series Printer Character, Proportional Spacing Character, Proportional Spacing Character, Proportional Spacing Character, Proportional Spacing Command Structure <ESC> PS Set to proportional spacing <ESC> PR Reset to fixed spacing Example: See above Placement: Preceding the dat...
Page 36 - Continuous Forms Printing
28 SATO CX Series Printer Continuous Forms Printing Continuous Forms Printing Continuous Forms Printing Continuous Forms Printing Command Structure NoneThe printer locates the end of an adhesive label by sensing the backing between labels or through the use of an Eye-Mark (black rectangle on the rev...
Page 37 - Copy Image Area; WDHaaaaVbbbbXccccYdddd
SATO CX Series Printer 29 Copy Image Area Copy Image Area Copy Image Area Copy Image Area Command Structure <ESC> WDHaaaaVbbbbXccccYdddd aaaa = Horizontal position of the top left corner of the area to be copied 0001 to 832 bbbb = Vertical position of the top left corner of the area to be copi...
Page 39 - Cutter Command
SATO CX Series Printer 31 Cutter Command Cutter Command Cutter Command Cutter Command Command Structure <ESC> ~aaaa or <ESC> <NUL>aaaa aaaa = Number of labels to print between each cut (0001 to 9999) Example: <ES>~0002 Placement: Following the <ESC>Q Print Quantity com-...
Page 41 - XU
SATO CX Series Printer 33 Fonts U, S, M, OA, OB, XU, XS & XM Fonts U, S, M, OA, OB, XU, XS & XM Fonts U, S, M, OA, OB, XU, XS & XM Fonts U, S, M, OA, OB, XU, XS & XM Command Structure Font XU: <ESC> XU Font U: <ESC> U Font XS: <ESC> XS Font S: <ESC> S Font XM:...
Page 43 - WBa
SATO CX Series Printer 35 Fonts WB, WL, XB & XL Fonts WB, WL, XB & XL Fonts WB, WL, XB & XL Fonts WB, WL, XB & XL Command Structure Font WB: <ESC> WBa Font XB: <ESC> XBa Font WL: <ESC> WLa Font XL: <ESC> XLa a = Provided for compatibility with CL Printers.Can ...
Page 45 - Form Feed
SATO CX Series Printer 37 Form Feed Form Feed Form Feed Form Feed Command Structure <ESC>A (space) <ESC>Z Example: See above Placement: Separate data stream sent to printer Default: None Command Function To feed a blank tag or label, which is the equivalent of a “form feed” Input to Prin...
Page 53 - Journal Print
SATO CX Series Printer 45 Journal Print Journal Print Journal Print Journal Print Command Structure <ESC> J Example: See above Placement: Immediately following <ESC>A Default: None Command Function To print text in a line by line format on a label. By specifying this command, you automat...
Page 55 - Label Size & Start Position; A1aaaabbbb
SATO CX Series Printer 47 Label Size & Start Position Label Size & Start Position Label Size & Start Position Label Size & Start Position Command Structure Line <ESC> A1aaaabbbb aaaa = Vertical Label Size, 1-V Max (dot) bbbb = Horizontal Label Size, 1-H Max (dot) Example: <E...
Page 56 - Lines and Boxes; FWaabcccc
48 SATO CX Series Printer Lines and Boxes Lines and Boxes Lines and Boxes Lines and Boxes Command Structure Line <ESC> FWaabcccc aa = Width of horizontal line in dots (01-99) b = Line orientationH Horizontal lineV Vertical Line cccc = Length of line in dots (see Note 2 for max length) Box: <...
Page 58 - Line Feed; Eaaa
50 SATO CX Series Printer Line Feed Line Feed Line Feed Line Feed Command Structure <ESC> Eaaa aaa = Number of dots (001-999) between the bot-tom of the characters on one line to the top of the characters on the next line Example: <ESC> E010 Placement: Preceding the text that will use th...
Page 61 - Postnet; Printer Input
SATO CX Series Printer 53 Postnet Postnet Postnet Postnet Command Structure <ESC> BPn...n n...n = 5 digits (Postnet-32 format6 digits (Postnet-37 format)9 digits (Postnet-52 format)11 digits (Postnet-62, Delivery Point format) Example: <ESC> BP123456789 Placement: Immediately preceding t...
Page 62 - Print Darkness
54 SATO CX Series Printer Print Darkness Print Darkness Print Darkness Print Darkness Command Structure <ESC> #Ea a = Print darkness valuea = 1, 2, 3, 4 or 5 Example: <ESC> #E2 Placement: Must be placed immediately after <ESC>A and immediately before <ESC>Z in its own separat...
Page 63 - Print Length, Expanded; AX
SATO CX Series Printer 55 Print Length, Expanded Print Length, Expanded Print Length, Expanded Print Length, Expanded Command Structure <ESC>AX Sets the print length to 356 mm (14") <ESC> AR Resets the maximum print length to 178 mm (7") Example: See above Placement: Must follow ...
Page 65 - Print Position; Haaaa
SATO CX Series Printer 57 Print Position Print Position Print Position Print Position Command Structure Horizontal Position:<ESC> Haaaa Vertical Position:<ESC> Vbbbb aaaa = Number of dots horizontally from the base re-ference point0001 to 0832. bbbb = Number of dots vertically from the b...
Page 67 - Print Quantity; Qaaaaaa
SATO CX Series Printer 59 Print Quantity Print Quantity Print Quantity Print Quantity Command Structure <ESC> Qaaaaaa aaaaaa = Total number of labels to print (1 to 65535) Example: <ESC>Q500 Placement: Just preceding <ESC>Z, unless <ESC>~ Cut-ter command exists, then precedin...
Page 68 - Print Speed; CSa
60 SATO CX Series Printer Print Speed Print Speed Print Speed Print Speed Command Structure <ESC> CSa a = Designates the speed selection2 =50 mm/s (2"/ps)3 =75 mm/s (3"/ps) Example: <ESC> CS3 Placement: Must be placed immediately after <ESC>A and immediately before <ESC&...
Page 69 - Repeat Label
SATO CX Series Printer 61 Repeat Label Repeat Label Repeat Label Repeat Label Command Structure <ESC> C Example: See above Placement: Must be placed immediately after <ESC>A and immediately before <ESC>Z in its own separate data stream Default: None Command Function To print duplic...
Page 72 - Reverse Image
64 SATO CX Series Printer Reverse Image Reverse Image Reverse Image Reverse Image Command Structure <ESC> (aaaa,bbbb a = Horizontal length in dots of reverse image area0000 to 0832 b = Vertical height in dots of reverse image area.0000 to 1424 Example: <ESC> (100,50) Placement: This comm...
Page 74 - Rotate, Fixed Base Reference Point
66 SATO CX Series Printer Rotate, Fixed Base Reference Point Rotate, Fixed Base Reference Point Rotate, Fixed Base Reference Point Rotate, Fixed Base Reference Point Command Structure <ESC> %a a = 0 Sets print to normal direction1 Sets print to 90°CCW2 Sets print to 180° rotated (upside down)3...
Page 76 - Rotate, Moving Base Reference Point
68 SATO CX Series Printer Rotate, Moving Base Reference Point Rotate, Moving Base Reference Point Rotate, Moving Base Reference Point Rotate, Moving Base Reference Point Command Structure Normal Direction:<ESC> N Rotated Direction:<ESC> R Example: See above Placement: Preceding any print...
Page 78 - Sequential Numbering
70 SATO CX Series Printer Sequential Numbering Sequential Numbering Sequential Numbering Sequential Numbering Command Structure <ESC> Faaaabcccc,dd,ee aaaa = Number of times to repeat the same data (0001-9999) b = Plus or minus symbol (+ for increments; - for decrements) cccc = Value of step f...
Page 82 - Expanded Memory Option Commands; Expanded Memory
74 SATO CX Series Printer Expanded Memory Option Commands Expanded Memory Option Commands Expanded Memory Option Commands Expanded Memory Option Commands These commands require the Expanded Memory Option.The first 2MB of Expanded Memory installed is designated as memory areaCC1.If 4MB of Expanded Me...
Page 84 - SATO
76 SATO CX Series Printer Printer Output Special Notes 1. This command requires the Expanded Memory option. See your SATO representative for details. SATO
Page 90 - Expanded Memory Function; PY
82 SATO CX Series Printer Expanded Memory Function Expanded Memory Function Expanded Memory Function Expanded Memory Function Graphics, PCX Recall Graphics, PCX Recall Graphics, PCX Recall Graphics, PCX Recall Command Structure <ESC> PY aaa aa = Storage area number (001thru 099) Example: <E...
Page 93 - BJFaaaaaaaa; BJFsato
SATO CX Series Printer 85 Expanded Memory Function Expanded Memory Function Expanded Memory Function Expanded Memory Function Initialise Initialise Initialise Initialise Command Structure <ESC> BJFaaaaaaaa aaaaaaa= Eight character alphanumeric user ID Example: <ESC>BJFsato Placement: Imm...
Page 94 - CCa
86 SATO CX Series Printer Expanded Memory Function Expanded Memory Function Expanded Memory Function Expanded Memory Function Area Select Area Select Area Select Area Select Command Structure <ESC> CCa a = Section Select1 Section1, first section of Expanded Memory2 Section 2, second section of...
Page 95 - BJS
SATO CX Series Printer 87 Expanded Memory Function Expanded Memory Function Expanded Memory Function Expanded Memory Function Status Status Status Status Command Structure <ESC> BJS Example: <ESC> BJS Placement: After the <ESC>CC Memory Area Select com-mand. Default: None Command F...
Page 96 - Two-Dimensional Symbols
88 SATO CX Series Printer Two-Dimensional Symbols Two-Dimensional Symbols Two-Dimensional Symbols Two-Dimensional Symbols The following commands are used to create the two-dimensional symbolo-gies supported by the printers.Currently, PDF 417 and Maxicode are installed.
Page 99 - BK
SATO CX Series Printer 91 Two-Dimensional Bar Codes Two-Dimensional Bar Codes Two-Dimensional Bar Codes Two-Dimensional Bar Codes PDF417 PDF417 PDF417 PDF417 Command Structure <ESC> BK aabbcddeeffffnn...n aa = Minimum module dimension (03-09 dots). Will not print if values of 01, 02 or greater...
Page 102 - CONFIGURATION COMMANDS
94 SATO CX Series Printer CONFIGURATION COMMANDS CONFIGURATION COMMANDS CONFIGURATION COMMANDS CONFIGURATION COMMANDS The following commands are used to set the operating parameters of the CXSeries printers. The settings currently active in the printer can be determinedby printing a Test Label, eith...
Page 103 - Calibrate Sensor
SATO CX Series Printer 95 Calibrate Sensor Calibrate Sensor Calibrate Sensor Calibrate Sensor Command Structure <ESC> CA Example: <ESC> CA Placement: This command should be sent after the sensor type has been selected with the <ESC>CI command. It should not be included with print j...
Page 104 - Auto Calibration; CFa
96 SATO CX Series Printer Auto Calibration Auto Calibration Auto Calibration Auto Calibration Command Structure <ESC> CFa a: 0 = Disabled1 = Enabled Example: <ESC> CF1 Placement: This command needs to be in its own data st-ream. Default: There is no default for this command. Command Func...
Page 107 - CBabb
SATO CX Series Printer 99 Label Tear-Off Label Tear-Off Label Tear-Off Label Tear-Off Command Structure <ESC> CBabb Example: <ESC> CB+03 a = + to move the print line down from the top edge of the label bb = Distance moved in millimetres Placement: This command should be sent in a separat...
Page 108 - Print Darkness Fine Adjustment
100 SATO CX Series Printer Print Darkness Fine Adjustment Print Darkness Fine Adjustment Print Darkness Fine Adjustment Print Darkness Fine Adjustment Command Structure <ESC> CDaaa,bbbb aaa = Print Darkness Adjust (0 to 400) bbb = Media Adjustment (0 to 6000) Example: <ESC> CD250,3000 Pl...
Page 110 - Print Test Label; CT
102 SATO CX Series Printer Print Test Label Print Test Label Print Test Label Print Test Label Command Structure <ESC> CT Example: <ESC> CT Placement: This command should be sent in a separate data stream Default: There is no default for this command. Command Function To print a test lab...
Page 111 - Set Print Mode; CPa
SATO CX Series Printer 103 Set Print Mode Set Print Mode Set Print Mode Set Print Mode Command Structure <ESC> CPa a = 0 for Direct Thermal Printing (without ribbon)1 for Thermal Transfer Printing (with ribbon) Example: <ESC> CP0 Placement: Must precede all other commands in the data str...
Page 113 - Set Sensor Type; CIa
SATO CX Series Printer 105 Set Sensor Type Set Sensor Type Set Sensor Type Set Sensor Type Command Structure <ESC> CIa a = 0 Disable Sensor1 Reflective (Eye-Mark) Sensing2 Transmissive (Label Gap or Notch) Sensing Example: <ESC> CI1 Placement: This command should be sent in a separate da...
Page 114 - Back Feed Enable; CEa
106 SATO CX Series Printer Back Feed Enable Back Feed Enable Back Feed Enable Back Feed Enable Command Structure <ESC> CEa a = 0 Disable Back feed1 Enable Back feed Example: <ESC> CE1 Placement: This command should be sent in a separate data stream. Default: Last setting Command Function...