CX Series Programming Manual Issued April 2001
SATO Group of Companies BARCODE SATO INTERNATIONAL PTE LTD 438A Alexandra Road #05-01/ 02, Alexandra Technopark, Singapore 119967 Tel: +65-6271-2122 Fax: +65-6271-2151 Website: www.barcodesato.com Email: sales@sato-int.com SATO EUROPE NV Leuvensesteenweg 369, 1932 Sint-Stevens-Woluwe, Brussels, Belgium Tel: +32 (0)-2-788-80-00 Fax: +32 (0)-2-788-80-80 Website: www.sato-europe.com Email: info@sato-europe.
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.
SATO CX Series Printer Warranty and Copyright SATO Europe GmbH makes no guarantee of any kind with regard to this material, 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, performance, or use of this material. This document contains proprietary information which is protected by copyright.
SATO CX Series Printer Contents 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 RS232 Port ...........................
SATO CX Series Printer Line Feed ......................................................................... 50 Off-Line/Pause ................................................................. 52 Postnet ............................................................................. 53 Print Darkness .................................................................. 54 Print Length, Expanded ..................................................... 55 Print Position .................................................
SATO CX Series Printer Two-Dimensional Bar Codes Maxicode ......................................................................... 89 Two-Dimensional Bar Codes PDF417 ............................................................................ 91 CONFIGURATION COMMANDS ....................................... 94 Calibrate Sensor .............................................................. 95 Auto Calibration ...............................................................
SATO CX Series Printer This page is intentionally left blank.
SATO CX Series Printer CX SERIES PROGRAMMING 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.
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.” SELECTING PROTOCOL CONTROL CODES Protocol codes are the special control characters that prepare the printer to receive instructions. For example, the character tells the printer that a command code will follow. The Protocol Control Code set is made up of six special characters.
SATO CX Series Printer 1. Set the WIDTH of the output device to 255 characters to avoid automatically sending and characters after every line. The command string should be continuous and uninterrupted by and/or commands. The examples given in this manual 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 notations. 2.
SATO CX Series Printer 50 LPRINT E$;"Q1"; 60 LPRINT E$; “Z”; Instructs the printer to print one label. Tells the printer that the last command has been sent. The printer can now create and print the job. Printing with the RS232 Port 5 10 20 30 40 50 60 70 80 4 REM RS232 Example Identifies the program as a RS232 port print label. The “REM” prevents this data from being sent to the printer and displays it only on the screen. E$=CHR$(27) Sets the “E$” string as an character.
SATO CX Series Printer ROTATED FIELDS 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.
SATO CX Series Printer Command Default Note 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) 75 mm/second (2) Print Speed 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 in effect until a new command is received.
SATO CX Series Printer COMMAND CODE PAGE REFERENCE 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 begins on a separate page with its own heading. A uniform layout is used to help you find key information about each command.
SATO CX Series Printer 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 1 Code 39 2 Interleaved 2 of 5 (I 2/5) 3 UPC-A / EAN-13 4 EAN-8 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.
SATO CX Series Printer Input to Printer A H0025V0025B103100*CODE 39* H0155V0130XS*CODE 39* H0025V0200BD20210045676567 H0075V0310XM45676567 H0025V0375BD30215001234567890 H0025V0950BA03100123455 H0095V1060XS12345 H0025V1125BC03100081234ABCD H0080V1240XS1234ABCD H0525V0025B002100A12345B H0565V0135XS12345 H0475V0200BD303100123456
SATO CX Series Printer Printer Output 10
SATO CX Series Printer UCC-128 Without Incrementing A H0100V0100BI071501012345670000 00001 Q2Z With Incrementing A H0100V0100F001+001 BI07150101234567000000001 Q2Z 11
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 command 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 command.
SATO CX Series Printer Bar Codes, Expansion Command Structure BWaabbb aa = Expansion factor by which the width of all bars and spaces will be increased (01-12) bbb = Bar height by dot (004-600 dots) Example: BW02100 Placement: Immediately follows the BT command and precedes data to be encoded. Default: None Command Function This command works together with the BT command to specify an expansion factor and the bar code height for the particular symbol being printed.
SATO CX Series Printer Special Notes 1. This command must be preceded by the Variable Ratio Bar Codes BT command(See page 15)). 2. The following bar codes will be affected by the Character Pitch command: Codabar, Code 39 and Interleaved 2 of 5.
SATO CX Series Printer Bar Codes, Variable Ratio Command Structure BTabbccddee a = Bar Code Symbol: 0 Codabar 1 Code 39 2 Interleaved 2 of 5 bb = Narrow space in dots (01-99) cc = Wide space in dots (01-99) dd = Narrow bar in dots (01-99) ee = Wide bar in dots (01-99) Example: BT101030103 Placement: Following print position commands and preceding the BW command.
SATO CX Series Printer Printer Output: Special Notes 1. This command must be immediately followed by the BW Bar Code Expansion command (See page 13). 2. You may use only one variable ratio bar code per label. 3. If the data specified in this command is incorrect, the command is ignored and the ratio used will be based on the previous setting.
SATO CX Series Printer Base Reference Point Command Structure A3H-aaaaVbbbb = This character is optional. When present, it specifies that the horizontal offset is in the negative direction. If it is left out the offset direction is positive. aaaa = Horizontal Print Offset (-0832 to +0832) bbbb = Vertical Print Offset (0001 to 1424) Example: A3H100V0050 Placement: Preceding all images that are based on the new base reference point.
SATO CX Series Printer Printer Output: Special Notes 1. Use of this command will set the Vertical/Horizontal Offset setting of the printer configuration until a new Base Reference Point command is issued. 2. This command may be used more than once in a print job. 3. An alternative to using this command is to make changes to your current Horizontal and Vertical Print Position commands (See page 57).
SATO CX Series Printer Characters, Custom-Designed Command Structure Store Command:Tabcc Recall Command:Kab90cc a = 1 16x16 matrix 2 24x24 matrix b = Specifies the character encoding method for the data stream H Hexadecimal characters B Binary characters cc = Memory location to store/recall the character.
SATO CX Series Printer V100 L0505 K1H903F H350 V100 L1010 K1H903F Q1 Z Printer Output: Special Notes 1. When printing the custom character using the K Recall command, the character is affected by the following commands: Character Expansion, (See page 21) Character Pitch, (See page 24) Line Feed, (See page 50) Rotate, Fixed Base Reference Point, (See page 66)) Rotate, Moving Base Reference Point, (See page 68) 2.
SATO CX Series Printer Character Expansion Command Structure Laabb aa = Multiple to expand horizontally (01- 04) bb = Multiple to expand vertically (01- 04) Example: L0304 Placement: Preceding the data to be expanded Default: L0101 Command Function To expand characters independently in both the horizontal and vertical directions. The command allows you to enlarge the base size of each font up to 4 times in either direction.
SATO CX Series Printer Special Notes 1. This command will expand the following fonts: 2. Fonts U, S, M, XU, XS, XM, OA & OB (See page 33), and fonts WB, WL, XB and XL, (See page 35). 3. This command will also affect the following commands: Character Pitch, (See page 24). Characters, Custom-Designed, (See page 19). 4. The Character Expansion value is in effect for the current print job until a new expansion command is specified. 5.
SATO CX Series Printer Character, Fixed Spacing Command Structure PR Example: Placement: Default: See Above Preceding the data The default is Proportional Spacing. Command Function To reset proportional spacing and place the printer back to fixed spacing. Printer Input A H0100V0050PS L0404XMPROPORTIONAL SPACING H0100V0180PR L0404XMFIXED SPACING Q1Z Printer Output: Special Notes 1.
SATO CX Series Printer Character Pitch Command Structure Paa aa = Example: Placement: Default: Number of dots between characters (00-99) P03 Preceding the text to be printed P02 Command Function To designate the amount of spacing (in dots) between characters. This command provides a means of altering character spacing for label constraints or to enhance readability.
SATO CX Series Printer Special Notes 1. This command is affected by the L Character Expansion command, (See page 21). The character pitch is actually the product of the current horizontal expansion multiple and the designated pitch value. 2. Example:L0304P03 Pitch = (03) x (03) = 9 dots 3. To avoid confusion, you may want to include the L Character Expansion command and this command together in your program. 4.
SATO CX Series Printer Character, Proportional Spacing Command Structure PS PR Example: Placement: Default: Set to proportional spacing Reset to fixed spacing See above Preceding the data to be proportional spaced PS Command Function To specify the printing of proportional or fixed spacing for proportionally spaced fonts.
SATO CX Series Printer Clear Print Job(s) & Memory Command Structure *a a = Example: Placement: Default: Specifies the internal memory section to be cleared. T To clear the custom character memory & To clear the form overlay memory X To clear all internal memory * *& This command should be sent to the printer as an independent data stream. None Command Function To clear individual memory or buffer areas of the printer.
SATO CX Series Printer Continuous Forms Printing Command Structure None The printer locates the end of an adhesive label by sensing the backing between labels or through the use of an EyeMark (black rectangle on the reverse side of the backing). It locates the end of a tag from a notch, eye-mark, or a hole between tags. Both sensors should be disabled when printing continuous forms by sending the CI0 command to disable the sensor, (See page 105).
SATO CX Series Printer Copy Image Area Command Structure 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 copied 0001 to 1424 cccc = Horizontal length of the image area to be copied0001 to 0832 dddd = Vertical length of the image area to be copied 0001 to 1424 Example: WDH0100V0050X0600Y0400 Placement: Anywhere within the data stream, after specifying the location of the
SATO CX Series Printer Printer Output: Special Notes 1. Use the Print Position commands (V and H) to locate the new area for the duplicate image, (See page 57). 2. Position of the new target area must not be inside the original image. 3. If you use the Rotate command, V, H, X and Y axis will be reversed. 4. If the reference area of the target image exceeds the print area, it will not be printed.
SATO CX Series Printer Cutter Command Command Structure ~aaaa or aaaa aaaa = Number of labels to print between each cut (0001 to 9999) Example: ~0002 Placement: Following the Q Print Quantity command Default: Cut after each label if cutter installed Command Function To control the cutting of labels when using a SATO cutter unit with the printer. This command allows the cutting of multipart tags or labels at a specified interval within a print job.
SATO CX Series Printer print quantity is 20, then 40 (20 sets of 2) labels will be printed. 5. Sending a Cutter command to a printer without a cutter installed will enable the Back-feed operation.
SATO CX Series Printer Fonts U, S, M, OA, OB, XU, XS & XM Command Structure Font XU: Font XS: Font XM: Font OA: Example: Placement: Default: XU Font U: XS Font S: XM Font M: OA Font OB: See above Preceding the data to be None U S M OB printed Command Function To print text images on a label. These are eight of the builtin fonts available on the printer. All matrices include descenders.
SATO CX Series Printer Printer Output Special Notes 1. Characters may be enlarged through the use of the Character Expansion command, (See page 21). 2. Character spacing may be altered through the use of the Character Pitch command, (See page 24). The default is 2 dots between characters. It is recommended to use a spacing of 5 dots for OCR-A and 1 dot for OCR-B. 3. You may also create custom characters or fonts. See the T Custom-Designed Characters command, (See page 19). 4.
SATO CX Series Printer Fonts WB, WL, XB & XL Command Structure Font WB: Font WL: a WBa Font XB: XBa WLa Font XL: XLa = Provided for compatibility with CL Printers. Can be either a 0 or a 1 Example: WB1123456 Placement: Preceding the data to be printed Default: None Command Function To print text images on a label. These are the four autosmoothing fonts available on the printer.
SATO CX Series Printer Printer Output: Special Notes 1. Characters may be enlarged through the use of the L Character Expansion command, (See page 21). 2. Character spacing may be altered through the use of the A Character Pitch command, (See page 24). 3. A font must be defined for each field to be printed. There is no default font. 4. The proportionally spaced fonts XU, XS, XM, XL and XB can be printed with fixed spacing using the PS Proportional Space command.
SATO CX Series Printer Form Feed Command Structure A(space)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 Printer A(space) Z Printer Output Blank label or tag 37
SATO CX Series Printer Form Overlay, Recall Command Structure / Example: Placement: Default: See above Must be preceded by all other data and placed just before the Print Quantity command, Q. None Command Function To recall the label image from the form overlay memory for printing. This command recalls a stored image from the overlay memory. Additional or different data can be printed with the recalled image.
SATO CX Series Printer Printer Output: Special Notes 1. The overlay is stored using the & Form Overlay Store command, (See page 40). 2. The AX Expanded Print Length command, (See page 55), cannot be used with Forms Overlay.
SATO CX Series Printer Form Overlay, Store Command Structure & Example: Placement: Default: See above Must be preceded by all other data and placed just before the Stop command (Z) None Command Function To store a label image in the volatile form overlay memory. Only one label image may be stored in this memory area at a time.
SATO CX Series Printer Graphics, Custom Command Structure Gabbbccc(data) a = Specifies format of data stream to follow B Binary format H Hexadecimal format bbb = Number of horizontal 8 x 8 blocks 001 to 104 ccc = Number of vertical 8 x 8 blocks 001 to 178 (001 to 356 for Expanded Length) (data) = Hex data to describe the graphic image Example: GH006006 . . . . Placement: May be placed anywhere within the data stream after the necessary position commands.
SATO CX Series Printer C00003C00003C00001800003C00000000003 C00000000003FFFFFFFFFFFFFFFFFFFFFFFF H0300V0100XSPLEASE PLACE YOUR DISK H0300V0150XSIN A SAFE PLACE Q1Z Printer Output Special Notes 1. Do not use ASCII or characters (carriage return or line feed) as line delimiters within the graphic data or the actual image will not be printed as specified. 2. A custom graphic cannot be enlarged by the L Character Expansion command, (See page 21). 3.
SATO CX Series Printer Graphics, PCX Command Structure GPaaaaa,(data) aaaaa = Number of bytes to be downloaded Example: GP32000, ... data... Placement: Anywhere within the job data stream Default: None Command Function To allow the creation and printing of graphic images using a PCX file format. Printer Input A V0150H0100GP03800,(...Data...) Q1 Z Printer Output Special Notes 1. The maximum number of bytes that can be downloaded is 32K (compressed).
SATO CX Series Printer 2. Only black and white PCX files can be downloaded. 3. The image created by this command cannot be rotated. 4. The file size specified by this command is the DOS file size in bytes.
SATO CX Series Printer Journal Print Command Structure J Example: Placement: Default: See above Immediately following A None Command Function To print text in a line by line format on a label. By specifying this command, you automatically select Font S with a Character Expansion of 2x2. You also establish a base reference point of H2,V2. The character pitch is 2 dots and the line gap is 16 dots. Simply issue an ASCII at the end of each text line.
SATO CX Series Printer 1. Journal mode assumes a maximum label width. Otherwise, you may print where there is no label and damage your print head. 2. It is effective only for the current print job.
SATO CX Series Printer Label Size & Start Position Command Structure Line aaaa = bbbb = Example: Placement: A1aaaabbbb Vertical Label Size, 1-V Max (dot) Horizontal Label Size, 1-H Max (dot) A108000400 Preceding the data to be printed Command Function By using this command you can adjust the label size and the start position of the label.
SATO CX Series Printer Lines and Boxes Command Structure Line aa b FWaabcccc Width of horizontal line in dots (01-99) Line orientation H Horizontal line V Vertical Line cccc = Length of line in dots (see Note 2 for max length) Box: FWaabbVccccHdddd aa = Width of horizontal side in dots (01-99) bb = Width of vertical side in dots (01-99) cccc = Length of vertical side in dots (0001 to 1424) dddd = Length of horizontal side in dots (0001 to 0832) Example: FW02H0200 Placement: Following the ne
SATO CX Series Printer Printer Output: Special Notes It is recommended that all lines and boxes be specified in the normal print direction.
SATO CX Series Printer Line Feed Command Structure Eaaa aaa = Number of dots (001-999) between the bottom of the characters on one line to the top of the characters on the next line Example: E010 Placement: Preceding the text that will use the line feed function Default: None Command Function To print multiple lines of the same character size without specifying a new print position for each line. With the Line Feed command, specify the number of dots you want between each line.
SATO CX Series Printer Printer Output: Special Notes 1. It is effective only for the current data stream. 2. When printing lines or boxes in the same data stream with the Line Feed command, the Lines and Boxes command should be specified last, preceding Q Quantity command. 3. This command is invalid only if the value specified is zero. 4. Following this command with a character will allow you to print with auto line feed.
SATO CX Series Printer Off-Line/Pause Command Structure @ Example: Placement: Default: See above Anywhere in the print job between the A and Z None Command Function To specify the printer to come to an off-line state. When used within a print job, the printer goes off-line after finishing the print job. Input to Printer A @...Job... Z Printer Output There is no printer output for this command.
SATO CX Series Printer Postnet Command Structure BPn...n n...
SATO CX Series Printer Print Darkness Command Structure #Ea a = Example: Placement: Default: Print darkness value a = 1, 2, 3, 4 or 5 #E2 Must be placed immediately after A and immediately before Z in its own separate data stream 2 Command Function To specify a new print darkness setting. This command allows software control of the darkness setting for unique media and ribbon combinations.
SATO CX Series Printer Print Length, Expanded Command Structure AX AR Example: Placement: Default: Sets the print length to 356 mm (14") Resets the maximum print length to 178 mm (7") See above Must follow the Start Code command, (See page 73), and be in it’s own separate data stream. AR Command Function To double the maximum print length (in feed direction) for a label.
SATO CX Series Printer Printer Output: Special Notes 1. AX is effective until AR is sent to reset the printer to its standard print length, or until the printer is re-powered. 2. It may be included in an independent data stream to specify the size of the maximum print area. 3. This command is cannot be used with the & Store Form Overlay command, (See page 40).
SATO CX Series Printer Print Position Command Structure Horizontal Position:Haaaa Vertical Position:Vbbbb aaaa = Number of dots horizontally from the base reference point 0001 to 0832. bbbb = Number of dots vertically from the base reference point 0001 to 1424 (0001 to 2848 with Expanded Print Length). Example: H0020V0150 Placement: Preceding any printed field description of lines/ boxes, fonts, bar codes or graphics.
SATO CX Series Printer Printer Output Special Notes 1. The print position of a field is affected by both the Rotate (R and A3) commands. 2. If any part of an image is placed past the maximum number of dots for standard length. 3. If any part of an image is placed past maximum allowable dots across the label, that part of the image will be lost. 4. If you attempt to print where there is no paper, you may damage the print head. 5. For these commands, the leading zeroes do not have to be entered.
SATO CX Series Printer Print Quantity Command Structure Qaaaaaa aaaaaa = Total number of labels to print (1 to 65535) Example: Q500 Placement: Just preceding Z, unless ~ Cutter command exists, then preceding that. This command must be present in every print job. Default: None Command Function To specify the total number of labels to print for a given print job.
SATO CX Series Printer Print Speed Command Structure CSa a = Example: Placement: Default: Designates the speed selection 2 =50 mm/s (2"/ps) 3 =75 mm/s (3"/ps) CS3 Must be placed immediately after A and immediately before Z in its own separate data stream As previously set in the printer configuration Command Function To specify a unique print speed through software for a particular label.
SATO CX Series Printer Repeat Label Command Structure C Example: Placement: Default: See above Must be placed immediately after A and immediately before Z in its own separate data stream None Command Function To print duplicate of the last label printed Input to Printer A C Z Printer Output A duplicate of the previous label will be printed. Special Notes 1.
SATO CX Series Printer Replace Data (Partial Edit) Command Structure 0 (zero) Example: See above Placement: Must follow A and precede all other print data Default: None Command Function To replace a specified area of the previous label with new data. This command will cause the previous label to print along with any changes specified within the current data stream.
SATO CX Series Printer Printer Output: Special Notes 1. Specify the exact same parameters for the image to be replaced as were specified in the original data stream, including rotation, expansion, pitch, etc. This will ensure that the new data will exactly replace the old image. If the replacement data contains fewer characters than the old data, then the characters not replaced will still be printed. 2.
SATO CX Series Printer Reverse Image Command Structure (aaaa,bbbb a = Horizontal length in dots of reverse image area 0000 to 0832 b = Vertical height in dots of reverse image area. 0000 to 1424 Example: (100,50) Placement: This command must be preceded by all other data and be placed just before Q Default: None Command Function To reverse an image area from black to white and vice versa.
SATO CX Series Printer Printer Output: Special Notes 1. A reverse image area is affected by the rotate commands. Therefore, always assume the printer is in the normal print orientation when designing and sending the Reverse Image command. 2. If using reverse images with the form overlay, place this command before the Form Overlay command in the data stream. 3. If the Rotate commands are used with this command, the V and H parameters are reversed. 4.
SATO CX Series Printer Rotate, Fixed Base Reference Point Command Structure %a a = Example: Placement: Default: 0 Sets print to normal direction 1 Sets print to 90°CCW 2 Sets print to 180° rotated (upside down) 3 Sets print to 270° CCW %3 Preceding any printed data to be rotated %0 Command Function To rotate the print direction in 90° increments without changing the location of the base reference point. The diagram below illustrates the use of the % Rotate command.
SATO CX Series Printer Printer Output: Special Notes 1. Do not combine this command and the R Rotate command, (See page 68), in the same data stream. 2. The specified values are valid until another Rotate (%) command is received. 3. Receipt of a Stop Print (Z) command will reset the setting to the default value.
SATO CX Series Printer Rotate, Moving Base Reference Point Command Structure Normal Direction:N Rotated Direction:R Example: See above Placement: Preceding any printed data to be rotated Default: N Command Function The R command rotates the printing of all subsequent images in a print job by 90° counter-clockwise each time it is used. It also moves the base reference point to a different corner of the print area.
SATO CX Series Printer Printer Output: Special Notes 1. This command is provided for compatibility with other SATO printers. It is not recommended for new label designs and the % rotate command should be used. 2. Do not combine this command and the % Rotate command, (See page 66), in the same data stream. 3. A custom graphic is not affected by this command. Therefore, always design and locate your graphic image to print in the appropriate orientation. 4.
SATO CX Series Printer Sequential Numbering Command Structure 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 for sequence (0001-9999) ,dd = Number of digits for sequential numbering (01-99). The first incrementing character position starts after the positions exempted from sequential numbering as specified in ee. If these digits are left out, the default is 8.
SATO CX Series Printer Input to Printer AH0100V0100MSERIAL NUMBER: H0100V0200F0001+0005 L0202M1000 Q2Z Printer Output: Special Notes 1. The value specified for Print Quantity, (See page 59), should be equal to the number of different sequential values desired multiplied by the number of repeats specified. Example: To print 2 sets each of the numbers 1001-1025 on separate labels, we need 50 total labels.
SATO CX Series Printer 2. 3. 4. 5. 72 A H0100V0100F0002+0001 XM1001 Q50 Z It is necessary to specify the print position for each sequential field on a label. Up to eight different sequential fields can be specified per label. This command ignores alpha characters in the sequential number field. This command can not be used with the following commands: Copy Image, (See page 29). Reverse Image, (See page 64). Line Feed, (See page 50).
SATO CX Series Printer Start/Stop Label Command Structure Start Command:A Stop Command:Z Example: See above Placement: A must precede data Z must follow data Default: None Command Function For all print jobs, the Start command must precede the data, and the Stop command must follow. The print job will not run properly if these are not in place.
SATO CX Series Printer Expanded Memory Option Commands These commands require the Expanded Memory Option. The first 2MB of Expanded Memory installed is designated as memory area CC1.If 4MB of Expanded Memory is installed, second 2MB (i.e. the area above the first 2 MB) is designated as memory area CC2. IMPORTANT:Please note that the Expanded Memory Option Commands are not yet implemented. Please contact SATO Europe Technical Department for the latest information.
SATO CX Series Printer Expanded Memory Function Fonts, TrueType Recall Command Structure BJRabbccddeeeeff...f a = Font ID (0 thru 9) bb = Horizontal Expansion (01 thru 12) cc = Vertical Expansion (01 thru 12) dd = Character Pitch (01 thru 99) eeee = Number of characters to be printed using the font ffff = Data to be printed Example: BJR1020201000004SATO Placement: Immediately following the CC Memory Area Select command.
SATO CX Series Printer Printer Output SATO Special Notes 1. This command requires the Expanded Memory option. See your SATO representative for details.
SATO CX Series Printer Expanded Memory Function Fonts, TrueType Store The conversion from a TrueType font to a format that can be downloaded to the printer is very complex and requires the use of a TrueType Down-loaded utility program. See your SATO representative for details. This process requires the Expanded Memory option.
SATO CX Series Printer Expanded Memory Function Graphics, Custom Recall Command Structure GRaaa aaa = Graphics storage number (001-999) Example: GR111 Placement: The Recall command is sent in a secondary data stream to print the graphic, and follows any necessary position or size commands. Default: None Command Function Use the Recall command any time you want to print a graphic image on a label along with other printed data.
SATO CX Series Printer Printer Output: Special Notes 1. The graphic image to be stored cannot be rotated before it is stored. It can be rotated when it is recalled. 2. Graphic images cannot be stored as part of a label format. 3. See the GI Custom Graphic Store command.
SATO CX Series Printer Expanded Memory Function Graphics, Custom Store Command Structure GIabbbcccddd{data} a = Specifies character format of the data H Hex data B Binary data bbb = Number of horizontal 8 x 8 blocks (001 to104 ccc = Number of vertical 8 x 8 blocks (001 to178) ddd = Graphics storage number (001 to 099) {data}= Hex or binary data to describe the graphic im Placement: Immediately following the CC Memory Area Select command.
SATO CX Series Printer Printer Output There is no printer output as a result of this command. See GR Recall Custom Graphics command, (See page 78). Special Notes 1. You must have the optional Expanded Memory to use this command. Call your SATO representative for details. 2. The maximum storage capacity is 999 graphics, up to the capacity of the memory expansion. 3. Each graphic to be stored must be sent in its own data stream.
SATO CX Series Printer Expanded Memory Function Graphics, PCX Recall Command Structure PYaaa aa = Storage area number (001thru 099) Example: PY001 Placement: This command must be placed within its own data stream specifying the placement of the graphic. Default: None Command Function To recall for printing a graphic file previously stored in a PCX format in the Memory Card.
SATO CX Series Printer Expanded Memory Function Graphics, PCX Store Command Structure PIaaa,bbbbb,{data} aaa = Storage area number (001 thru 999) bbbbb = Size of PCX file in bytes {data} = Data Example: PI001,32000,{data} Placement: This command must be placed within its own data stream Default: None Command Function To store for later printing a PCX graphic file in Expanded Memory. Printer Input BASIC Program to down-load a PCX file to Expanded Memory Section #1 (first 2MB installed).
SATO CX Series Printer 3. Only black and white PCX files can be stored. 4. The file size specified by this command is the DOS file size in bytes.
SATO CX Series Printer Expanded Memory Function Initialise Command Structure BJFaaaaaaaa aaaaaaa= Eight character alphanumeric user ID Example: BJFsato Placement: Immediately following the CC Memory Area Select command. Default: None Command Function This clears all of the data from the specified Memory Area and prepares the area to accept data. Input to Printer A CC2 BJFsato Z Printer Output There is no printer output as a result of this command. Special Notes 1.
SATO CX Series Printer Expanded Memory Function Area Select Command Structure CCa a = Example: Placement: Default: Section Select 1 Section1, first section of Expanded Memory 2 Section 2, second section of Expanded Memory CC1 Immediately following the A Start Code. Last selected Memory Area. Command Function Selects the section of Expanded Memory to be used for following commands.
SATO CX Series Printer Expanded Memory Function Status Command Structure BJS Example: Placement: Default: BJS After the CC Memory Area Select command. None Command Function Causes the printer to print the Memory Area status. Printer Input A CC1 BJS Z Printer Output: - Special Notes 1. This command requires the Expanded Memory option.
SATO CX Series Printer Two-Dimensional Symbols The following commands are used to create the two-dimensional symbologies supported by the printers. Currently, PDF 417 and Maxicode are installed.
SATO CX Series Printer Two-Dimensional Bar Codes Maxicode Command Structure BUaaa,bbb,cccccc,dddd,ee...e aaa = Service class, numeric only (001-999) bbb = Country code, numeric only (001-999) cccccc = ZIP code, alphanumeric (000000-999999) dddd = Extended ZIP code, numeric only (0001-9999) ee...e = Low priority message, alphanumeric, 84 digits.
SATO CX Series Printer Printer Output Special Notes 1. The Secondary Message field (ee...e) must contain exactly 84 characters. If a smaller message is specified, the field must be padded with “exclamation point” character(s). 2. represents Hex 1E, represents Hex 1D, represents Hex 04, represents Hex 1B and represents Hex 20.
SATO CX Series Printer Two-Dimensional Bar Codes PDF417 Command Structure BKaabbcddeeffffnn...n aa = Minimum module dimension (03-09 dots). Will not print if values of 01, 02 or greater than 10 are specified. bb = Minimum module pitch dimension (04-24 dots). Will not print if values of 01, 02, 03 or greater than 25 are specified. c = Security (error detection) Level (1-8). dd = Code words per line (01-30).
SATO CX Series Printer Printer Output Special Notes 1. When the code words per line and the number of rows per symbol (“dd” and ‘ee”) are set to all zeroes, the printer will calculate the optimum configuration. 2. If the product of the values entered for “dd” and “ee” are not equal to or less than the value of “fff” (i.e.,“ffff” is greater that “dd” x “ee”), an error will occur and the symbol will not be printed.
SATO CX Series Printer 12. The print height of the symbol will vary depending upon the data specified; numeric only, alpha only or alphanumeric.
SATO CX Series Printer CONFIGURATION COMMANDS The following commands are used to set the operating parameters of the CX Series printers. The settings currently active in the printer can be determined by printing a Test Label, either by using the CT Print Test Label command or by pressing the READY Indicator and FEED buttons on the front panel (see the CX Series User’s Guide).
SATO CX Series Printer Calibrate Sensor Command Structure CA Example: Placement: Default: CA This command should be sent after the sensor type has been selected with the CI command. It should not be included with print job commands. There is no default for this command. Command Function To adjust the label sensor for unique media and ribbon combinations. Input to Printer A CI2 CA Z Printer Output There is no printer output for this command.
SATO CX Series Printer Auto Calibration Command Structure CFa a: Example: Placement: Default: 0 = Disabled 1 = Enabled CF1 This command needs to be in its own data stream. There is no default for this command. Command Function To adjust the label sensor for unique media and ribbon combinations. Input to Printer A CF1 Z Printer Output There is no printer output for this command.
SATO CX Series Printer Custom Protocol Command Codes Download Command Structure LD,a,b,c,d,e,f,g,h,i a = Replacement character for STX in ASCII or hex format b = Replacement character for ETX in ASCII or hex format c = Replacement character for ESC in ASCII or hex format d = Replacement character for ENQ in ASCII or hex format e = Replacement character for CAN in ASCII or hex format f = Replacement character for NULL or ~ in ASCII or hex format g = Replacement character for OFFLINE in ASCII or hex for
SATO CX Series Printer A Protocol Command code status label will be printed as a result of the a successful download of a custom set of Protocol Command codes. STX=7B ETX=7D ESC=25 ENQ=23 CAN=26 NULL=2A OFFLINE=7E Press the "FEED" key to activate the User Defaults, or Power OFF to ignore them. Special Notes: 1. Commas must be used to separate the parameters. If a parameter is omitted between two commas, the default Non-Standard Protocol Command codes for that parameter will be used. 2.
SATO CX Series Printer Label Tear-Off Command Structure CBabb Example: 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 separate data stream. Default: Last valid setting. Command Function To adjust the location of the first print line on the label. Input to Printer A CB+03 Z Printer Output There is no printer output for this command.
SATO CX Series Printer Print Darkness Fine Adjustment Command Structure CDaaa,bbbb aaa = Print Darkness Adjust (0 to 400) bbb = Media Adjustment (0 to 6000) Example: CD250,3000 Placement: This command should be sent in a separate data stream Default: Print Darkness = 200, Media = 3300 Command Function To make fine adjustments for best print quality for unique media and ribbon combinations.
SATO CX Series Printer 4. It is recommended that a bar code verifier be used when making adjustments with this command.
SATO CX Series Printer Print Test Label Command Structure CT Example: Placement: Default: CT This command should be sent in a separate data stream There is no default for this command. Command Function To print a test label Input to Printer A CT Z Printer Output Special Notes 1. When the printer finishes printing the Test Label, it is in the hexadecimal print mode. This mode is used for diagnostic troubleshooting. To switch back to normal mode, disconnect power source.
SATO CX Series Printer Set Print Mode Command Structure CPa a = Example: Placement: Default: 0 for Direct Thermal Printing (without ribbon) 1 for Thermal Transfer Printing (with ribbon) CP0 Must precede all other commands in the data stream. 0 for CT200DT Models 1 for CT200TT Models Command Function To optimize the print head heat management algorithms. Input to Printer A CP0 Z Printer Output There is no printer output as a result of this command. Special Notes 1.
SATO CX Series Printer Set RS232 Parameters Command Structure CRaaaaa,b,c,d aaaaa = Baud Rate (2400, 4800, 9600 or 19200) 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: CR9600,N,8,1 Placement: Must be sent in a separate data stream.
SATO CX Series Printer Set Sensor Type Command Structure CIa a = Example: Placement: Default: 0 Disable Sensor 1 Reflective (Eye-Mark) Sensing 2 Transmissive (Label Gap or Notch) Sensing CI1 This command should be sent in a separate data stream. CI2 (Transmissive Sensing) Command Function To select the top-of-label sensing method. Input to Printer A CI2 Z Printer Output There’s is no printer output as a result of this command. Special Notes 1.
SATO CX Series Printer Back Feed Enable Command Structure CEa a = Example: Placement: Default: 0 Disable Back feed 1 Enable Back feed CE1 This command should be sent in a separate data stream. Last setting Command Function To select the top-of-label sensing method. Input to Printer A CE1 Z Printer Output There is no printer output as a result of this command. Special Notes 1. The CBabb command should be used to adjust the amount of back-feed.
SATO CX Series Printer This page is intentionally left blank.
SATO CX Series Printer This page is intentionally left blank.