SATO CX400 Programming Reference Manual
SATO CX400 Programming Reference Manual

SATO CX400 Programming Reference Manual

Desktop printer
Hide thumbs Also See for CX400:
Table of Contents

Advertisement

CX400
DESKTOP PRINTER
PROGRAMMING
REFERENCE
PN 9001106 Rev. A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX400 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for SATO CX400

  • Page 1 CX400 DESKTOP PRINTER PROGRAMMING REFERENCE PN 9001106 Rev. A...
  • Page 2 All rights reserved. No part of this document may be reproduced or issued to third parties in any form whatsoever without the express permission of SATO America, Inc. The materials in this document is provided for general information and is subject to change without notice. SATO America, Inc.
  • Page 3: Table Of Contents

    TABLE OF CONTENTS SECTION 1. PROGRAMMING CONCEPTS Introduction... 1-1 The SATO Programming Language ... 1-1 Selecting Protocol Control Codes ... 1-2 Using Basic ... 1-2 The Print Area... 1-4 Rotated Fields ... 1-7 Command Default Settings ... 1-8 Printer Configuration ... 1-9 Label Sensing...
  • Page 4 Clear Expanded Memory ... 3-2 Graphics, Custom Recall... 3-3 Graphics, Custom Store ... 3-4 Graphics, PCX Recall ... 3-6 Graphics, PCX Store ... 3-7 Initialize ... 3-8 Memory Area Select ... 3-9 Status ... 3-10 Page iv PN 9001106 Rev. A SATO CX400...
  • Page 5 Calibrate Sensor ... 5-3 Custom Protocol Command Codes Download ... 5-4 Label Tear-Off ... 5-6 Print Darkness Range... 5-7 Sensor Select ... 5-8 Serial Interface Parameters ... 5-9 Test Label... 5-10 SATO CX400 PN 9001106 Rev. A Table of Contents Page v...
  • Page 6 Table of Contents Page vi PN 9001106 Rev. A SATO CX400...
  • Page 7: Section 1. Programming Concepts

    PROGRAMMING CONCEPTS INTRODUCTION This section presents the commands that are used with the SATO CX400 printers to produce labels with logos, bar codes and alphanumeric data. All of the SATO Programming Language commands use the same syntax. All of the CX400 commands are compatible with its larger SATO industrial printer cousins.
  • Page 8: Selecting Protocol Control Codes

    Off-Line USING BASIC It may be useful to test your printer using a BASIC program on a PC. You may also write your actual production programs in BASIC. Whatever the reason, if you will be working in BASIC, some of the following hints may help you get started: Set the WIDTH of the output device to 255 characters to avoid automatically sending <CR>...
  • Page 9: Printing With The Parallel Port

    PRINTING WITH THE PARALLEL PORT 5 REM Parallel Example 10 E$=CHR$(27) 20 WIDTH “LPT1”255 30 LPRINT E$;"A"; 40 LPRINT E$;"H400";E$;"V100";E$;"WL1SATO"; Sends the data “SATO” to be to be placed 50 LPRINT E$;"Q1"; 60 LPRINT E$; “Z”; PRINTING WITH THE RS232C PORT REM RS232 Example...
  • Page 10: The Print Area

    70 PRINT #1,CHR$ (3); THE PRINT AREA The maximum print area for the CX400 is 45 inches long. Many of your label applications may not require labels that fill the entire print area, therefore it is important to understand how to work with labels that do not use the entire print area.
  • Page 11 The base reference point is always to the right edge of the print head as you face the front (label exit) of the printer. If you are using a label narrower than the maximum print width, you may have to adjust the base reference point to correctly position the label in the print area.
  • Page 12 See the following two examples or refer to the Base Reference Point command description. For example, the following illustrates a sample data stream for a CX400 printer and the resulting label assuming a 4 inch wide label: <ESC>A...
  • Page 13: Rotated Fields

    For more information, see the Base Reference Point command description. ROTATED FIELDS The CX400e printer can rotate each print field in 90° increments using the Rotate command. • <ESC>% - The field rotates, but the base reference point for the field remains the same.
  • Page 14: Command Default Settings

    Character Pitch Base Reference Point Character Expansion Print Darkness Print Speed NOTES: 1. The settings for these commands will revert to the default value when the printer receives an <ESC>Z or an <ESC>*. Page 1-8 DEFAULT 0° H=0, V=0 3 ips PN 9001106 Rev.
  • Page 15: Printer Configuration

    2. The values transmitted with these commands will remain in effect until a new command is received. PRINTER CONFIGURATION The CX400 printers are different from other SATO printers in that they do not use DIP switches for printer configuration. Instead, all printer configuration isdone via software commands. The parameters that can be configured are: •...
  • Page 16: Label Sensing

    Section1. Programming Concepts LABEL SENSING The CX400 printers can use an eye-mark (black bar) label gap or label notch sensing. The gap and notch sensor is a transmissive or see-thru type with an infrared light source directed through the label from above and detected by a separate receiving sensor underneath the label liner or tag.
  • Page 17: Section 2. Command Codes

    NOTE: These examples assume the use of the Standard Protocol Command Codes, a parallel interface and a 4 inch wide label in a CX400 printer. An alphabetical listing of the command codes is contained in Appendix A:Command Code Quick Reference.
  • Page 18: Bar Codes

    = UCC 128 only. Not used for other bar code types No human readable text Human readable at top Human readable at bottom <ESC>BD103200 Immediately preceding data to be encoded None PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 19 <ESC>H0440<ESC>V0828<ESC>OB06338 <ESC>H0580<ESC>V0828<ESC>OB95260 <ESC>H0730<ESC>V0705<ESC>BF0314024 <ESC>H0745<ESC>V0675<ESC>OB24 <ESC>H0025<ESC>V1130<ESC>BG03100>GAB>B789>C123456 <ESC>H0265<ESC>V1235<ESC>XSAB789123456<ESC>Q1 <ESC>Q1<ESC>Z Note: Carriage Returns and Line Feeds have been added to the command listing for clarity and should not be included in the actual data stream. SATO CX400 PN 9001106 Rev. A Page 2-3...
  • Page 20 Section 2: Command Codes Printer Output Page 2-4 PN 9001106 Rev. A SATO CX400...
  • Page 21 Section 2: Command Codes UCC-128 Without Incrementing <EXC>A<EXC>H0100<EXC>V0100 <EXC>B107150101234567000000001 <ESC>Q2<ESC>Z With Incrementing <ESC>A<ESC>H0100<ESC>V0100 <ESC>F001+001<ESC>B107150101234567000000001 <ESC>Q2<ESC>Z SATO CX400 PN 9001106 Rev. A Page 2-5...
  • Page 22 5. For UCC128, the FNC1 code is automatically inserted and the Mod 6. The <ESC>D and <ESC>BD commands are not valid for the MSI, 7. To select UPC-A, 11 digits of data are sent. The printer adds a “0” 8. See SATO Programming Reference: Appendix A PN 9001096 for Page 2-6 narrow to wide ratios.
  • Page 23: Bar Codes, Expansion

    1. This command must be preceded by the Variable Ratio Bar Codes 2. The following bar codes will be affected by the Character Pitch com- SATO CX400 Expansion factor by which the width of all bars and spaces will be increased (01-12) Bar height by dot (004-999 dots) <ESC>BW02100...
  • Page 24: Bar Codes, Variable Ratio

    Matrix 2 of 5 Narrow space in dots (01-99) Wide space in dots (01-99) Narrow bar in dots (01-99) Wide bar in dots (01-99) <ESC>BT101030103 Following print position commands and preceding <ESC>BW Current setting PN 9001106 Rev. A SATO CX400...
  • Page 25 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 SATO CX400 Code Expansion command. ignored and the ratio used will be based on the previous setting.
  • Page 26: Base Reference Point

    Vertical Print Offset (-9999 to 9999) <ESC>A3H100V0050 Preceding all images that are based on the new base reference point Current V and H offset setting in the printer configuration PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 27 4. For a more detailed example of the Base Reference Point command, 5. The CX400 print engines can print as close as 2 mm to the inside 6. The printers will not “wrap” (i.e. if any part of a character or image...
  • Page 28: Characters,Custom-Designed

    The Recall command is sent in a secondary data stream to print the character, and follows any necessary position or size commands. None PN 9001106 Rev. A Section 2: Command Codes to 52 or “!” or “R” in Binary. SATO CX400...
  • Page 29 2. The characters are stored in volatile memory and must be reloaded if 3. Do not use ASCII <CR> or <LF> characters (carriage return or line SATO CX400 character is affected by the following commands: Character Expansion Character Pitch Line Feed, Rotate, Fixed Base Reference Point the printer power is lost.
  • Page 30: Character Expansion

    1 x 1. There- fore, either send the Character Expansion command before all printed data, or send Line and Box commands last, preceding the <ESC>Q Quantity command. PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 31: Character, Fixed Spacing

    SATO CX400 <ESC>PR Example: See Above Placement: Preceding the data Default: The default is Proportional Spacing. To reset proportional spacing and place the printer back to fixed spacing. <ESC>A <ESC>H0050<ESC>V0050<ESC>PS <ESC>L0202<ESC>XMPROPORTIONAL SPACING <ESC>H0050<ESC>V0180<ESC>PR <ESC>L0202<ESC>XMFIXED SPACING <ESC>Q1<ESC>Z 1. This command only works with the proportionally spaced fonts XU, XM, XS, XL and XB.
  • Page 32: Character Pitch

    Input to Printer ESC>A <ESC>H0025<ESC>V0025<ESC>L0202<ESC>XB1SATO <ESC>H0025<ESC>V0125<ESC>L0202<ESC>P20<ESC>XB1SATO <ESC>H0025<ESC>V0225<ESC>L0202<ESC>P40<ESC>XB1SATO <ESC>Q1<ESC>Z Printer Output Page 2-16 Character Pitch Number of dots between characters (00-99) <ESC>P03 Preceding the text to be printed <ESC>P02 PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 33 4. Character Pitch will always revert to the default value unless it is spec- 5. This command also affects Codabar, Code 39 and Industrial 2 of 5 bar SATO CX400 mand. The character pitch is actually the product of the current hori- zontal expansion multiple and the designated pitch value.
  • Page 34: Character, Proportional Spacing

    1. Once this command is sent in the data stream, it is in effect until the Page 2-18 Set to proportional spacing See above Preceding the data to be proportional spaced <ESC>PS end of the print job unless an <ESC>PR Fixed Spacing command is sent. PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 35: Clear Print Job(S) & Memory

    <ESC>A <ESC>* <ESC>Z Printer Output: There is no printer output as a result of this command. The current print job in the buffer will be terminated and all other print jobs in the buffer cleared. Special Note 1. See Expanded Memory Functions for variations of this command 2.
  • Page 36: Continuous Forms Printing

    <ESC>Q3<ESC>Z Printer Output Special Notes 1. If you will be using continuous labels or tags, the printer must be told Page 2-20 to stop feeding in another manner. The length is determined by the position of the last printed image on the label or tag. The printer will stop feeding when this last field is finished printing.
  • Page 37: Copy Image Area

    SATOSATOSATOSATOSATOSATOSATO SATOSATOSATOSATOSATOSATOSATO SATOSATOSATOSATOSATOSATOSATO SATOSATOSATOSATOSATOSATOSATO <ESC>H0180<ESC>V0250<ESC>WDH0130V0050X0400Y0200 <ESC>Q1<ESC>Z Printer Output SATO CX400 aaaa Horizontal position of the top left corner of the area. (0001 to 0832) bbbb Vertical position of the top left corner of the area. (0001 to 1424) ??????????????? cccc Horizontal length of the image area to be copied.
  • Page 38 3. If you use the <ESC>R Rotate command, V, H, X and Y axis will be 4. If the reference area of the target image exceeds the print area, it will Page 2-22 the duplicate image. reversed. not be printed. PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 39: Cut

    Default: Command Function To control the cutting of labels when using a SATO cutter unit with the printer printer. This command allows the cutting of a multi-part tag or label at a specified interval within a print job. It differs from the <ESC>~ Cut Job command in that it does not interact with the quantity command.
  • Page 40: Cut Job

    Placement: Default: Command Function To control the cutting of labels when using a SATO cutter unit with the printer. This command allows the cutting of a multi-part tag or label at a specified interval within a print job. Input to Printer <ESC>A...
  • Page 41: Cut Last

    Default: Command Function To control the cutting of labels when using a SATO cutter unit with the printer. This command allows the cutting of a printed multi-part tag or label that is left in the printer after a job is cut.
  • Page 42: Fonts U, S, M, Oa, Ob, Xu, Xs & Xm

    Command Function To print text images on a label. These are eight of the built-in fonts available on the printer. All matrices include descenders. (1) These fonts will be printed with proportional spacing only if preceded by an <ESC>PS command.
  • Page 43 5 dots for OCR-A and 1 dot for OCR-B. Custom-Designed Characters command. font. on the SATO M-8400 printer. The proportionally spaced fonts XU, XS, XM, XL and XA can be printed with fixed spacing using the <ESC>PS Proportional Space command.
  • Page 44: Font, Vector

    Default: Command Function To specify printing of the unique SATO vector font. The vector font allows large characters to be printed with smooth, round edges. Each character is made of a number of vectors (or lines), and will require slightly more printer compiling time.
  • Page 45 2. If the font size designation is out of the specified range, a default value 3. The font width and height values include ascenders, descenders, and 4. A font must be defined for each field to be printed. There is no default SATO CX400 of 50 is used. other space.
  • Page 46: Fonts Wb, Wl, Xb & Xl

    <ESC>WB1123456 Preceding the data to be printed None Non-Proportional 18W x 30H dot matrix 28W x 52H dot matrix PN 9001106 Rev. A Section 2: Command Codes Proportional 48W x 48H dot matrix 48W x 48H dot matrix SATO CX400...
  • Page 47 2. Character spacing may be altered through the use of the <ESC>A Char- 3. A font must be defined for each field to be printed. There is no default 4. The proportionally spaced fonts XU, XS, XM, XL and XB can be printed SATO CX400 Expansion command. acter Pitch command.
  • Page 48: Form Feed

    To feed a blank tag or label, which is the equivalent of a “form feed.” Input to Printer <ESC>A(space) Printer Output Blank label or tag Page 2-32 Form Feed See above Separate data stream sent to printer None <ESC>Z PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 49: Form Overlay, Recall

    Section 2: Command Codes Form Overlay, Recall Command Structure Command Function Input to Printer Printer Output Special Notes SATO CX400 <ESC>/ Example: See above Placement: Must be preceded by all other data and placed just before the Print Quantity command (<ESC>Q)
  • Page 50: Form Overlay, Store

    Special Notes 1. Remember that this storage is volatile. Therefore, if the printer loses 2. The overlay is recalled using the <ESC>/ Form Overlay Recall com- 3. Form overlays do not have to be recompiled each time they are called...
  • Page 51: Graphics, Custom

    The graphic image may be printed along with other printed data to enhance label appearance or eliminate the need for preprinted label stock. Using a dot-addressable matrix, design the graphic image in 8 dot by 8 dot blocks, then send it in a binary format to the printer. Printer Input <ESC>A <ESC>H0100<ESC>V0100<ESC>GH006006...
  • Page 52 Expansion command. mands. Therefore, always design and locate your graphic image to print in the appropriate orientation. Expanded Memory Functions section. PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 53: Graphics, Pcx

    1. The maximum number of bytes that can be downloaded is 32K (com- 2. Only black and white PCX files can be downloaded. 3. The file size specified by this command is the DOS file size in bytes. SATO CX400 Graphics, PCX aaaaa Number of bytes to be downloaded <ESC>GP32000, ...
  • Page 54: Journal Print

    2. It is effective only for the current print job. 1. The <ESC>A3 Base Reference Point command cannot be used to change the margins. PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 55: Lines And Boxes

    Input to Printer <ESC>A <ESC>H0100<ESC>V0100<ESC>FW20H0200 <ESC>H0320<ESC>V0100<ESC>FW20V0200 <ESC>H0350<ESC>V0100<ESC>FW1010H0200V0200 <ESC>Q1<ESC>Z Printer Output SATO CX400 <ESC>FWaabcccc Width of horizontal line in dots (01-99) Line orientation H Horizontal line V Vertical Line cccc Length of line in dots (see Section 1 Table 1 for max length) <ESC>FWaabbVccccHdddd...
  • Page 56 1. It is recommended that all lines and boxes be specified in the normal 2. Use the <ESC>E0 Expanded Print Length command for maximum Page 2-40 print direction. label length. PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 57: Line Feed

    With the Line Feed command, specify the number of dots you want between each line. Then, send an ASCII <CR> at the end of each line of text. The printer automatically identifies the size of the last character, moves down the number of dots specified, and...
  • Page 58: Media Size

    <ESC>Z PRINTER OUTPUT There is no printer output resulting from this command. It is used to automatically adjust the offset values for the size of label being used. The sample command stream specifies a label 832 dots wide by 1424 dots long.
  • Page 59: Off-Line/Pause

    Section 2: Command Codes Command Structure <ESC>@ Example: Default: 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 <ESC>A <ESC>@ ...Job...
  • Page 60: Postnet

    5 digits (Postnet-32 format) 6 digits (Postnet-37 format) 9 digits (Postnet-52 format) 11 digits (Postnet-62, Delivery Point format) BP12345678 <ESC> Immediately preceding the data to be encoded None mand is ignored. PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 61: Print Darkness

    PRINTER OUTPUT There is no printer output for this command. SPECIAL NOTES 1. This becomes the new setting in the printer configuration for all sub- 2. The lighest setting is the smallest value and the darkest setting is the SATO CX400...
  • Page 62: Print Length, Expanded

    <ESC>A <ESC>AR <ESC>Z 1. EX0 is effective until AR is sent to reset the printer to its standard print length, or until the printer is re-powered. 2. When this command is used with the <ESC>& Store Form Overlay command the Form length cannot exceed the maximum specified.
  • Page 63: Print Position

    INPUT TO PRINTER <ESC>A <ESC>H0025<ESC>V0050<ESC>L0303<ESC>MSATO <ESC>H0100<ESC>V0150<ESC>MSATO <ESC>Q2<ESC>Z Printer Output SATO CX400 Print Position <ESC>Haaaa <ESC>Vbbbb aaaa Number of dots horizontally from the base reference point (1 to 832 bbbb...
  • Page 64 Page 2-48 Expanded Print Length command must be used. <ESC>A3 Base Reference Point commands. that part of the image will be lost. print head. The command “V1” is equivalent to “V0001”. PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 65: Print Quantity

    <ESC>H0100<ESC>V0100<ESC>WBSATO <ESC>Q3 <ESC>Z Printer Output Three labels containing the data “SATO” will be printed. Special Notes 1. To cancel a print job, you must turn off the printer. 2. When used with the <ESC>F Sequential Numbering command, the 3. If you do not specify a Print Quantity, one copy iwill be printed.
  • Page 66: Print Speed

    Operator Panel. Input to Printer <ESC>A <ESC>CS3 <ESC>Z Printer Output There is no printer output for this command. It sets the print speed of the printer. Special Notes This becomes the new setting for all subsequent print jobs, unless changed.
  • Page 67: Repeat Label

    <ESC>Z Printer Output A duplicate of the previous label will be printed. Special Notes 1. This command will have no effect if the power to the printer was SATO CX400 Repeat Label See above Must be placed immediately after <ESC>A and immediately before <ESC>Z in a separate data stream...
  • Page 68: Replace Data (Partial Edit)

    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. <ESC>A <ESC>H0025<ESC>V0020<ESC>WB0Company Name <ESC>H0025<ESC>V0085<ESC>WB1SATO <ESC>H0025<ESC>V0150<ESC>WL0SATO <ESC>H0025<ESC>V0215<ESC>WL1SATO <ESC>Q1<ESC>Z <ESC>A<ESC>0<ESC>H0025<ESC>V0020<ESC>WB0SATO <ESC>Q1<ESC>Z PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 69 Section 2: Command Codes Special Notes SATO CX400 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.
  • Page 70: Reverse Image

    1 to 832 Vertical height in dots of reverse image area. 1 to 1424 <ESC>(100,50 This command must be preceded by all other data and be placed just before <ESC>Q None PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 71 4. If the height and width to be reversed contain other than alphanu- 5. If the values specified exceed the maximum ranges, the reverse SATO CX400 always assume the printer is in the normal print orientation when designing and sending the Reverse Image command. parameters are reversed.
  • Page 72: Rotate, Fixed Base Reference Point

    1 Sets print to 90 CCW 2 Sets print to 180 rotated (upside down) 3 Sets print to 270 CCW <ESC>%3 Preceding any printed data to be rotated <ESC>%0 mand is received. the default value. PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 73: Sequential Numbering

    None To allow the ability to print sequential fields (text, bar codes) where all incrementing is done within the printer. Up to eight different sequential fields can be specified per label. Sequencing is effective for up to 99-digit numeric data within each field.
  • Page 74 3. Up to eight different sequential fields can be specified per label. 4. This command ignores alpha characters in the sequential num- ber field. 5. This command can not be used with the following commands: Copy Image Reverse Image Line Feed PN 9001106 Rev. A Section 2: Command Codes SATO CX400...
  • Page 75: Start/Stop Label

    <ESC>H0170<ESC>V0360<ESC>L0202<ESC>S*SATO* <ESC>Q1<ESC>Z Printer Output There is no output for these commands they are not accompanied by other label printing commands. However, these commands must precede and follow each print job sent to the printer. SATO CX400 <ESC>A <ESC>Z See above <ESC>A must precede data <ESC>Z must follow...
  • Page 76 Section 2: Command Codes Page 2-60 PN 9001106 Rev. A SATO CX400...
  • Page 77: Section 3. Expanded Memory Option Commands

    Note: Before Expanded Memory can be used for the first time, it must be initialized using the <ESC>BJF command. If it is not initialized, the printer will not recognize the memory and respond as if no expanded memory was installed.
  • Page 78: Section 3. Expanded Memory

    Special Notes Page 3-2 <ESC>*a,bbb Memory card section to be cleared G To clear SATO graphic files from memory card To clear PCX graphic files To clear formats from the memory card O To clear TrueType fonts To clear BMP graphic files...
  • Page 79: Graphics, Custom Recall

    1. The graphic image to be stored cannot be rotated before it is stored. 2. Graphic images cannot be stored as part of a label format. 3. See the <ESC>GI Custom Graphic Store command. SATO CX400 Section 3: Expanded Memory Commands Graphics storage number (001-999) <ESC>GR111...
  • Page 80: Graphics, Custom Store

    <ESC>CC1<ESC>GIH002002001 0100038007C00FE01FF03FF87FFCFFFE07C007 C007C007C007C007C007C007C0 <ESC>Z Note: See SATO Programming Reference:Appendix C, PN 9001096 for detailed explanation on how to format a graphics data stream. There is no printer output as a result of this command. See <ESC>GR Recall Custom Graphics command.
  • Page 81 Section 3: Expanded Memory Commands 1. You must have the optional Expanded Memory to use this com- mand. Call your SATO representative for details. 2. The maximum storage capacity is 999 graphics, up to the capacity of the memory card used.
  • Page 82: Graphics, Pcx Recall

    <ESC>A<ESC>CC1<ESC>%2 <ESC>V0330<ESC>H0600<ESC>PY001 <ESC>Q1<ESC>Z Printer Output Special Notes 1. This command requires Expanded Memory option. See your SATO 2. See the <ESC>PI Store PCX Graphics command. Page 3-6 Storage area number (001 thru 999) <ESC>PY001 This command must be placed within its own data stream specifying the placement of the graphic.
  • Page 83: Graphics, Pcx Store

    LPRINT C$;"A";C$;"CC1"; LPRINT C$; .PI001,03800,.;DA$ LPRINT C$;"Z"; CLOSE #2 There is no printer output as a result of this command. See <ESC>PY PCX Graphics Recall command. 1. This command requires Expanded Memory option. See your SATO representative for details. 2. Graphics cannot be stored as part of a format.
  • Page 84: Initialize

    There is no printer output as a result of this command. 1. You must have the optional Expanded Memory to use this com- mand. Call your local SATO representative for information. 2. All Expanded Memory must be initialized before it can be used for the first time.
  • Page 85: Memory Area Select

    <ESC>A <ESC>CC1 {commands} <ESC>Z There is no printer output as a result of this command. 1. To use this command with CC2 requires the Expanded Memory option. See your SATO representative for more information. PN 9001106 Rev. A Page 3-9...
  • Page 86: Status

    After the <ESC>CC Memory Area Select command. Default: None Casues the printer to print the card status. <ESC>A <ESC>CC1<ESC>BJS <ESC>Z 1. This command requires the Expanded Memory option. See your SATO representative for more information. PN 9001106 Rev. A SATO CX400...
  • Page 87: Section 4. Two-Dimensional Symbols

    TWO-DIMENSIONAL SYMBOLS The following commands are used to create the two-dimensional symbologies supported by the CX400. • Maxicode • PDF417 SATO CX400 SECTION 4. PN 9001106 Rev. A Page 4-1...
  • Page 88: Maxicode

    Not currently supported Reader programming ddd..dd 9 digit numeric Postal Code 3 digit numeric Country Code 3 digit numeric Service Class gg..g Data, terminated by <ESC> <ESC>BV1,2,3,123456789,222,333,MESSAGE<ESC> Immediately preceding data to be encoded None BV1,2,3,123456789,222,333,MESSAGE<ESC> Q001<ESC>Z PN 9001106 Rev. A SATO CX400...
  • Page 89 1. Please refer to UPS Publication “Guide to Bar Coding with UPS Online- 2. This command implements Maxicode AIM I.S.S (UPS Version 3.1) sym- 3. The following modes are supported: MODE SATO CX400 Section 4: Two-Dimensional Symbols Version 5” for the secondary message data format requirements and the latest format requirements.
  • Page 90: Pdf417

    Rows per symbol (00 or 03-40). If 00 is specified for both dd and ee, the printer automatically optimizes the number of rows per symbol. ffff Number of characters to be encoded (0001-2700).
  • Page 91 SATO CX400 Section 4: Two-Dimensional Symbols and “ee”) are set to all zeroes, the printer will calculate the optimum configuration. less than the value of “f f f f”(i.e. “f f f f” is greater than “dd“ x “ee”, an error will occur and the symbol will not be printed.
  • Page 92 Section 4: Two-Dimensional Symbols Page 4-6 PN 9001106 Rev. A SATO CX400...
  • Page 93: Section 5. Configuration Commands

    These commands are used to change to operating configuration of the printer. The settings currently active in the printer can be determined by printing a Test Label, either by sending the <ESC>CT Print Test Label command or by pressing the FEED button while turning the printer on.
  • Page 94: Backfeed Enable

    <ESC>Z There is no output as a result of this command. 1. When Backfeed is enabled, the printer will feed the last label of a print job forward to the dispense/cut position. Upon receipt of the next print job, it will retract the label to the first print line position before printing.
  • Page 95: Calibrate Sensor

    <ESC>A <ESC>CA <ESC>Z There is no output as a result of this command. It causes the printer to feed approximately 6 inches of media while the characteristics of the label backing or eye-mark are measured. 1. The sensor is calibrated for the currently selected sensor type.
  • Page 96: Custom Protocol Command Codes Download

    Replacement character for ENQ Replacement character for CAN Replacement character for NUL Replacement character for OFFLINE Hexadecimal code for Eurocharacter <ESC>LD,{,},%,#,&,*,~ Immediately following the <ESC>A Start command and in an independent data stream. Standard Protocol command Codes PN 9001106 Rev. A SATO CX400...
  • Page 97 4. If two characters are specified for a parameter, it will be interpreted as 5. The current protocol command codes may be verified by printing a SATO CX400 Section 5. Configuration Commands omitted between two commas, the default Non-Standard Protocol Command codes for that parameter will be used.
  • Page 98: Label Tear-Off

    <ESC>CB-02, the resulting position is - 02 mm. 2. The maximum range for the value stored in the printer is 98 mm. Any commands received that causes the value to exceed 00 or 98 mm will result in a setting of 00 or 98 mm respectively.
  • Page 99: Print Darkness Range

    <ESC>CD200,3300 <ESC>Z PRINTER OUTPUT There is no printer output as a result of this command. SPECIAL NOTES 1. This setting is stored in non-volatile memory and will not change until a 2. The current Print Mode can be verified by printing a Test Label.
  • Page 100: Sensor Select

    2. The reflective Eye-Mark, label gap or notch must be at leas 2 mm wide and extend 10 mm from the left edge (facing the printer) of the label backing. PN 9001106 Rev. A...
  • Page 101: Serial Interface Parameters

    To set the operating parameters of the RS232 Inferface. <ESC>A <ESC>CR9600,N,8,1 <ESC>Z There is no printer output as a result of this command. 1. The settings must match those of the host system. The RS232 settings of the printer may be verified by printing a Test Label.
  • Page 102: Test Label

    To allow test labels to be printed via software control. PRINTER INPUT <ESC>A <ESC>CT <ESC>Z PRINTER OUTPUT Special Notes 1. This mode is used for diagnostic troubleshooting to verify current Page 5-10 Test Label <ESC>CT In a separate data stream. None printer settings. PN 9001106 Rev. A SATO CX400...

Table of Contents