SATO CL408 Programming Manual

SATO CL408 Programming Manual

Risc printers
Table of Contents

Advertisement

SATO Europe GmbH
PROGRAMMING MANUAL
SATO RISC PRINTERS
CL408/412, CL608/612 (VA), XL400/410,
M8400RV, M8459S, M8460S, M8485S, M8490S
SATO Europe GmbH
Im Hülsenfeld 13
40721 Hilden
Germany
Tel.:+49 (0)2103 9592-0
Fax.:+49 (0)2103 55322
Issued June 1999

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for SATO CL408

  • Page 1 SATO Europe GmbH PROGRAMMING MANUAL SATO RISC PRINTERS CL408/412, CL608/612 (VA), XL400/410, M8400RV, M8459S, M8460S, M8485S, M8490S SATO Europe GmbH Im Hülsenfeld 13 40721 Hilden Germany Tel.:+49 (0)2103 9592-0 Fax.:+49 (0)2103 55322 Issued June 1999...
  • Page 2 © Copyright 1999 SATO Europe GmbH...
  • Page 3: Table Of Contents

    Contents 1. Introduction ..................7 The SATO RISC Programming Language ......8 Selecting Protocol Control Codes ........8 Using Basic ................. 9 Printing with the Parallel Port ........... 10 Printing with the RS232 Port ..........11 The Print Area ..............12 First Method: Using Base Reference Point ......
  • Page 4 Line Feed ..................61 Mirror Image (From Firmware Version1E2050, 1E3002 for 6xxVA) ....63 Off-Line/Pause ................72 Postnet ..................73 Print Darkness ................74 Print Length, Expanded ............... 75 Print Position ................76 Print Quantity ................78 Print Speed .................. 79 Repeat Label ................
  • Page 5 Custom Protocol Command Codes Download ......117 3. Command Code Quick Reference ..........119 Instruction ................119 Calendar Option Commands .......... 129 Memory Card Option Commands ........130 4. Bar Code Specifications ............133 Codabar ..................134 Code 39 ..................135 Interleaved Two of Five (I 2/5) ........... 136 UPC-A/EAN-13 ................
  • Page 6 Troubleshooting the RS232C (Serial) Interface ....190 Error Signals M8400RV and M84S Series Printers (Some procedures are not NA for M-8459S) ....191 Error Signals CL408/412 ..........192 Error Signals CL608/612 (VA) ........193 Error Signals XL400/410 ..........194 7. Custom Protocol Command Codes ........... 197 Description ..............
  • Page 7: Introduction

    Programming Manual 1. Introduction Introduction This manual presents the commands that are used with the SATO RISC Printers to produce labels with logos, bar codes and alphanumeric data. All of the RISC commands use the same syntax. Some commands refer- ence a physical point on the label using horizontal and vertical dot refer- ence numbers.
  • Page 8: The Sato Risc Programming Language

    The programmer is free to use any programming language available to send the desired data to the SATO RISC printer. The command codes used by the SATO RISC Printers are based upon “Escape” (1B hexadecimal) sequences. Typically there are four types of command sequences: <ESC>{Command}...
  • Page 9: Using Basic

    3. This sets the RS232 communication parameters of the host PC’s COM1 port for 9600 baud, Even parity, 8 Data bits, 1 Stop bit and di- recting the port to ignore the CTS and DSR control signals. SATO RISC Printers...
  • Page 10: Printing With The Parallel Port

    255 characters LPRINT E$;"A"; Sends an “<ESC>A” command code to the LPT1 parallel port LPRINT E$;"H400";E$;"V100";E$;"XL1SATO"; Sends the data “SATO” to be to be placed 400 dots horizontally and 100 dots vertically on the label and printed in the “XL” font.
  • Page 11: Printing With The Rs232 Port

    PRINT #1,E$;"A"; Sends an “<ESC>A” command code to Print Port #1 opened by statement 20 above. PRINT #1, E$;"H400",E$;"V100";E$;"XL1SATO"; Sends the data “SATO” to be placed 400 dots horizontally and 100 dots vertically on the label and printed in the “XL”...
  • Page 12: The Print Area

    The base reference point is located at the H1, V1 position of the print area in the normal print orientation (no rota- tion) SATO RISC Printers...
  • Page 13 833 mm 1249 mm 1.) When a memory card is used to expand the print length, the card capacity is used instead, not in addition to, the internal memory. 2.) Limited by the digits in the command field. SATO RISC Printers...
  • Page 14 1249 mm 1249 mm 1.) When a memory card is used to expand the print length, the card capacity is used instead, not in addition to, the internal memory. 2.) Limited by the digits in the command field. SATO RISC Printers...
  • Page 15 833 mm 1249 mm 1.) When a memory card is used to expand the print length, the card capacity is used instead, not in addition to, the internal memory. 2.) Limited by the digits in the command field. SATO RISC Printers...
  • Page 16: First Method: Using Base Reference Point

    Each <ESC>H command would have the value “nnnn" (see above exam- ple) added to it to correctly position each field. >ESC>H position + nnnn For CL612: <ESC>H position +1380 Note: This calculation is not necessary for OEM left-hand printers. SATO RISC Printers...
  • Page 17 SATO RISC Printers...
  • Page 18 Example for first Method, using base reference point Calculation: nnnn = (165mm - 70mm) x 12 dot/mm = 1140 <ESC>A <ESC>A3H1140V0001 <ESC>H0070<ESC>V0100<ESC>L0202<ESC>XL0SATO <ESC>H0050<ESC>V0200<ESC>B103100*SATO* <ESC>H0170<ESC>V0310<ESC>L0101<ESC>XSSATO <ESC Q1 <ESC>Z Example for second Method, horizontal position offset <ESC>A <ESC>H1210<ESC>V0100<ESC>L0202<ESC>XL0SATO <ESC>H1190<ESC>V0200<ESC>B103100*SATO* <ESC>H1310<ESC>V0310<ESC>L0101<ESC>XSSATO <ESC Q1 <ESC>Z 70mm SATO RISC Printers...
  • Page 19 1. Introduction 95mm 70mm 165mm The image is moved horizontally to the right 95mm (1140 dots) so that it can be printed on a 70mm wide label. For more information, see the Base Reference Point command descrip- tion. SATO RISC Printers...
  • Page 20 1. Introduction Programming Manual This page is intentionally left blank. SATO RISC Printers...
  • Page 21: Command Codes

    These examples assume the use of the Standard Protocol Command Codes and a parallel interface. The labels for all printers will be similar, but, because of different resolu- tions and print widths may be larger or scaled differently. SATO RISC Printers...
  • Page 22: Bar Codes

    Bar height in dots (001-600) UCC 128 only. Not used for other bar code types 0 No human readable text 1 Human readable at top 2 Human readable at bottom Example: <ESC>BD103200 Placement: Immediately preceding data to be encoded Default: None SATO RISC Printers...
  • Page 23 Input: <ESC>A <ESC>H0050<ESC>V0025<ESC>B103100*CODE 39* <ESC>H0230<ESC>V0130<ESC>XS*CODE 39* <ESC>H0050<ESC>V0175<ESC>BD20310045676567 <ESC>H0215<ESC>V0285<ESC>XM45676567 <ESC>H050<ESC>V0325<ESC>BD30215001234567890 <ESC>H050<ESC>V0525<ESC>BD50310012345 <ESC>H0250<ESC>V0635<ESC>XS12345 <ESC>H050<ESC>V0675<ESC>BD60310012345 <ESC>H0230<ESC>V0785<ESC>XS12345 <ESC>H050<ESC>V0825<ESC>BA03100123455 <ESC>H0170<ESC>V935<ESC>XS12345 <ESC>H050<ESC>V980<ESC>BC03100081234ABCD <ESC>H0155<ESC>V1095<ESC>XS1234ABCD <ESC>H050<ESC>V1130<ESC>B002100A12345B <ESC>H090<ESC>V1240<ESC>XS12345 <ESC>H0530<ESC>V0025<ESC>BD303100123456789012 <ESC>H0590<ESC>V0525<ESC>BD4031001234567 <ESC>H0575<ESC>V175<ESC>DE03100123456 <ESC>H0550<ESC>V0225<ESC>OB0 <ESC>H0583<ESC>V0280<ESC>OB123456 <ESC>H0325<ESC>V0325<ESC>D30315009827721123 <ESC>L0101<ESC>H0295<ESC>V0400<ESC>OB0 <ESC>H0340<ESC>V0478<ESC>OB98277 <ESC>H0480<ESC>V0478<ESC>OB21123 <ESC>H630<ESC>V0365<ESC>BF0313021826 <ESC>H645<ESC>V0335<ESC>OB21826 <ESC>H0450<ESC>V0675<ESC>D30315000633895260 <ESC>L0101<ESC>H0415<ESC>V0750<ESC>OB0 <ESC>H0465<ESC>V0828<ESC>OB06338 SATO RISC Printers...
  • Page 24 2. Command Codes Programming Manual <ESC>H0605<ESC>V0828<ESC>OB95260 <ESC>H0755<ESC>V0705<ESC>BF0314024 <ESC>H0770<ESC>V0675<ESC>OB24 <ESC>H0450<ESC>V0980<ESC>BG03100>GAB>B789>C123456 <ESC>H0560<ESC>V1085<ESC>XS AB789123456 <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 Output: SATO RISC Printers...
  • Page 25 Programming Manual 2. Command Codes UCC-128 without Incrementing Input: <ESC>A <ESC>H0100<ESC>V0100<ESC>BI07150101234567000000001 <ESC>Q2<ESC>Z Output: UCC-128 with Incrementing Input: <ESC>A <ESC>H0100<ESC>V0100<ESC>F001+001<ESC>BI0715010123456 7000000001 <ESC>Q2<ESC>Z Output: SATO RISC Printers...
  • Page 26 5. For UCC128, the FNC1 code is automatically inserted and the Mod 10 and Mod 103 check digits are automatically calculated. 6. For the MSI bar code, the check digit is not automatically calcu- lated. SATO RISC Printers...
  • Page 27: Bar Codes, Expansion

    1. This command must be preceded by the Variable Ratio Bar Codes <ESC>BT command. 2. The following bar codes will be affected by the Character Pitch command: Codabar, Code 39, Interleaved 2 of 5, Matrix 2 of 5. SATO RISC Printers...
  • Page 28: Bar Codes, Variable Ratio

    (B,BD, and D). This is done through in- dividual control of each of the bar code elements (bars, spaces) as shown above. Remember that this command only applies to the five bar code types shown. Input: <ESC>A <ESC>H0050<ESC>V0200<ESC>BD104100*M8400RV* <ESC>H0050<ESC>V0050<ESC>BT001030103<ESC>BW03100123456 <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 29 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 set- ting. SATO RISC Printers...
  • Page 30: Base Reference Point

    This command may be very helpful when using labels less than four inches wide to place images on the printable label surface. It may also be used to move images past preprinted fields on a label. Input: <ESC>A<ESC>L0202 <ESC>H0100<ESC>V0025<ESC>XMNORMAL REFERENCE POINT <ESC>A3H0300V0075 <ESC>H0100<ESC>V0050<ESC>XMNEW REFERENCE POINT <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 31 0001 to 1424 0001 to 2136 0001 to 1424 0001 to 2136 bbbb XL 400 XL 410 M8400RV Horizontal -0800 to 0800 -1200 to 1200 -0832 to 0832 aaaa Vertical 0001 to 1920 0001 to 1920 0001 to 1920 bbbb SATO RISC Printers...
  • Page 32: Characters, Custom-Designed

    Default: None Function: To allow for the creation, storage, and printing of custom characters, such as special fonts or logos. Up to 50 individual characters may be stored in the custom character volatile memory. SATO RISC Printers...
  • Page 33 8. Do not use ASCII <CR> or <LF> characters (carriage return or line feed) as line delimiters within the graphic data or the actual image will not be printed as specified. SATO RISC Printers...
  • Page 34: Character Expansion

    The command allows you to enlarge the base size of each font (except the vector font) up to 12 times in either direction. Expan- ded characters are typically used for added emphasis or for long di- stance readability. Input: <ESC>A <ESC>A<ESC>H0100<ESC>V0100<ESC>XMM-8400RV <ESC>H0100<ESC>V0200<ESC>L0402<ESC>XMM-8400RV <ESC>H0100<ESC> V0300<ESC>L0204<ESC>XMM-8400RV <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 35 4. The Line and Box command, if used within the data stream, may return all subsequentext to the default expansion of 1x1. 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. SATO RISC Printers...
  • Page 36: Character, Fixed Spacing

    1. This command only works with the proportionally spaced fonts XU, XM, XS, XL and XB. 2. Once this command is sent in the data stream, it is in effect until the end of the print job or a reset command is sent. SATO RISC Printers...
  • Page 37: Character Pitch

    To designate the amount of spacing (in dots) between characters. This command provides a means of altering character spacing for la- bel constraints or to enhance readability. Input: <ESC>A <ESC>H0025<ESC>V0025<ESC>L0202<ESC>XB1M-8400RV <ESC>H0025<ESC>V0125<ESC>L0 202<ESC>P20<ESC>XB1M- 8400RV <ESC>H0025<ESC>V0225<ESC>L0202<ESC>P40<ESC>XB1M- 8400RV <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 38 4. Character Pitch will always revert to the default value unless it is specified before each new font command in the data stream. 5. This command also affects Codabar, Code 39 and Industrial 2 of 5 bar codes. SATO RISC Printers...
  • Page 39: Character, Proportional Spacing

    See above Placement: Preceding the data to be proportional spaced Default: <ESC>PS Function: To specify the printing of proportional or fixed spacing for proportional- ly spaced fonts. Input: <ESC>A <ESC>H0025<ESC>V0050<ESC>PS <ESC>L0202<ESC>XMPROPORTIONAL SPACING <ESC>H0025<ESC>V0130<ESC>PR <ESC>L0202<ESC>XMFIXED SPACING <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 40: Clear Print Job(S) & Memory

    The “a” parameter can be used in either the multi-buffer or single job mode to clear specific parts of the memory. 4. When the “a” parameter is used, the section of memory specified will not be cleared until the label is printed. SATO RISC Printers...
  • Page 41: Continuous Forms Printing

    The printer will stop feeding when this last field is finished printing. The length may be increased with printed spaces (20 hexadecimal) if necessary. There is no command code to control label length. SATO RISC Printers...
  • Page 42: Copy Image Area

    To copy an image from one location to another on the same label. This may be useful for duplicating individual fields or entire sections of the label with only one command. Input: <ESC>A <ESC>H0050<ESC>V0050<ESC>E010<ESC>XM M-8400RVM-8400RVM-8400RV M-8400RVM-8400RVM-8400RV M-8400RVM-8400RVM-8400RV M-8400RVM-8400RVM-8400RV <ESC>H0180<ESC>V0250<ESC>WDH0165V0050X0400Y0200 <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 43 0001 to 1424 0001 to 2136 0001 to 1424 0001 to 2136 bbbb XL 400 XL 410 M8400RV Horizontal 0 to 0800 0 to 1200 0 to 0832 aaaa Vertical 0001 to 1920 0001 to 1920 0001 to 1920 bbbb SATO RISC Printers...
  • Page 44: Cutter Command

    <ESC><NUL>0001 (if cutter enabled) 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.
  • Page 45: Fonts U, S, M, Oa, Ob, Xu, Xs & Xm

    8W x 15H dot matrix 13W x 20H dot matrix 15W x 22H dot matrix 20W x 24H dot matrix Dot Matrix for Proportional Fonts 5W x 9H dot matrix 17W x 17H dot matrix 24W x 24H dot matrix SATO RISC Printers...
  • Page 46 5. Fonts U, S, M, OA and OB are identical to fonts U, S, M, OA and OB on the SATO M-8400 printer. 6. The proportionally spaced fonts XU, XS, XM, XL and XA can be printed with fixed spacing using the <ESC>PS Proportional Space command.
  • Page 47: Font, Vector

    Default: None Function: To specify printing of the unique SATO vector font. The vector font al- lows 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 48 2. The Pitch command can be used with Vector fonts. 3. The font width and height values include asenders, desenders and other space. ascenders Äg 64 % descenders 4. A font must be defined for each field to be printed. There is no default font. SATO RISC Printers...
  • Page 49: Fonts Wb, Wl, Xb & Xl

    To print text images on a label. These are the four auto-smoothing fonts available on the printer. Dot Matrix for Non-Proportional Fonts 18W x 30H dot matrix 28W x 52H dot matrix Dot Matrix for Proportional Fonts 48W x 48H dot matrix 48W x 48H dot matrix SATO RISC Printers...
  • Page 50 4. A font must be defined for each field to be printed. There is no default font. 5. The proportionally spaced fonts XU, XS, XM, XL and XB can be printed with fixed spacing using the <ESC>PR Proportional Space command. SATO RISC Printers...
  • Page 51: Form Feed

    <ESC>Z Example: See above Placement: Separate data stream sent to printer Default: None Function: To feed a blank tag or label, which is the equivalent of a “form feed” Input: <ESC>A(space) <ESC>Z Output: Blank label or tag SATO RISC Printers...
  • Page 52: Form Overlay, Recall

    <ESC>A <ESC>H0001<ESC>V0125 <ESC>STHIS IS THE STORED IMAGE WITH A BARCODE <ESC>H0001<ESC>V0165<ESC>B103100*12345* <ESC>&<E SC>Z <ESC>A<ESC>H0001<ESC>V0050 <ESC>STHIS IS RECALLING AND ADDING TO THE STORED IMAGE<ESC>/ <ESC>Q1<ESC>Z Output: Note: The overlay is stored using the <ESC>& Form Overlay Store command. SATO RISC Printers...
  • Page 53: Form Overlay, Store

    2. The overlay is recalled using the <ESC>/ Form Overlay Recall command. 3. Form overlays do not have to be recompiled each time they are called to be printed and therefore may result in much faster print output. SATO RISC Printers...
  • Page 54: Graphics, Custom

    FFFFFFFFFFFF FFFFFFFFFFFF C00000000003 C00000000003 C000FFFFFFF3 C00080000013 C00080000013 C0009FFFFF13 C00080000013 C00080000013 C0009FFFFF13 C00080000013 C00080000013 CO0O9FFFFFF3 C00000000003 C00000000003 C00000000003 C00000000003 C00000000003 C00000000003 C00003C00003 C00007E00003 C0000FF00003 C0000FF00003 C0000FF00003 C0000FF00003 C00007E00003 C00003C00003 C00000000003 C00000000003 C00000000003 C00000000003 C00001800003 C00003C00003 C00003C00003 C00003C00003 C00003C00003 C00003C00003 C00003C00003 SATO RISC Printers...
  • Page 55 3. Use an optional Memory Card to expand the print length. 4. To store graphic images in an optional memory card, see the Memory Card Functions section. 5. The binary format reduces the transmission time by 50%. SATO RISC Printers...
  • Page 56: Graphics, Pcx

    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 RISC Printers...
  • Page 57: Job Id Store

    2. If more than one ID number is sent in a single job, the last number transmitted will be used, i.e. <ESC>A <ESC>ID01 ..<ESC>ID02 ..SATO RISC Printers...
  • Page 58: Journal Print

    OR POSITION COMMANDS <ESC>Q1<ESC>Z Output: Note: 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 RISC Printers...
  • Page 59: Lines And Boxes

    Length of horizontal side in dots (see Note 2 for max length) Example: <ESC>FW02H0200 Placement: Following the necessary positioning commands Default: None Function: To print horizontal lines, vertical lines, and boxes as images on the la- bel. Input: <ESC>A <ESC>H0100<ESC>V0100<ESC>FW20H0200 <ESC>H0320<ESC>V0100<ESC>FW20V0200 <ESC>H0350<ESC>V0100<ESC>FW1010H0200V0200 <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 60 0001 to 1424 0001 to 2136 0001 to 1424 0001 to 2136 bbbb XL 400 XL 410 M8400RV Horizontal 0 to 0800 0 to 1200 0 to 0832 aaaa Vertical 0001 to 1920 0001 to 1920 0001 to 1920 bbbb SATO RISC Printers...
  • Page 61: Line Feed

    Input: <ESC>A <ESC>E010<ESC>H0050<ESC>V0050<ESC>L0202<ESC>S THIS IS THE 1ST LINE THIS IS THE 2ND LINE THIS IS THE 3RD LINE <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 62 However, if you specify several H values after this command, the print position will be determined by the H value last specified. You must redefine the font to be used after each H command. SATO RISC Printers...
  • Page 63: Mirror Image

    2. This command should not be used with bar codes to avoid the scanning problem caused by refractive index through the glass or the window. 3. Do not specify this command multiple times in a job. SATO RISC Printers...
  • Page 64 2. Command Codes Programming Manual Input: <ESC>A <ESC>V100<ESC>H100<ESC>XM12345 <ESC>V200<ESC>H100<ESC>XMABCDE <ESC>V300<ESC>H100<ESC>XMabcde <ESC>V100<ESC>H100<ESC>RM0200, 0080 <ESC>Q1<ESC>Z Output: H Max Print Direction SATO RISC Printers...
  • Page 65 Programming Manual 2. Command Codes Input: <ESC>A <ESC>V100<ESC>H100<ESC>XM12345 <ESC>V200<ESC>H100<ESC>XMABCDE <ESC>V300<ESC>H100<ESC>XMabcde <ESC>RM <ESC>Q1<ESC>Z Output: H Max Print Direction SATO RISC Printers...
  • Page 66 2. Command Codes Programming Manual 1. Normal Direction Input: <ESC>A <ESC>V100<ESC>H100<ESC>XM12345 <ESC>V300<ESC>H100<ESC>XMabcdefgh <ESC>RM <ESC>V200<ESC>H100<ESC>XMABCDEF <ESC>Q1<ESC>Z Output: Base reference point w <RM> Base reference point w/o <RM> Mirror position as normal direction SATO RISC Printers...
  • Page 67 Programming Manual 2. Command Codes 2. Mirror Image with Rotation Mirror position is changed if <RM> is specified with <%> command. Input: <ESC>A <ESC>V100<ESC>H100<ESC>XM12345 <ESC>V200<ESC>H100<ESC>XMABCDEF <ESC>V300<ESC>H100<ESC>XMabcdefgh <ESC>%1<ESC>RM <ESC>Q1<ESC>Z Output: Mirror Position SATO RISC Printers...
  • Page 68 2. Command Codes Programming Manual 3. Mirror Image with specifying area Input: <ESC>A <ESC>V100<ESC>H100<ESC>XM12345 <ESC>V100<ESC>H100<ESC>RM0150, 0050 <ESC>V200<ESC>H100<ESC>XMABCDEF <ESC>V300<ESC>H100<ESC>XMabcdefgh <ESC>Q1<ESC>Z Output: 4. Specifying of a mirror command between print fields Input: <ESC>A <ESC>V100<ESC>H100<ESC>XM12345 <ESC>RM <ESC>V200<ESC>H100<ESC>XMABCDEF <ESC>V300<ESC>H100<ESC>XMabcdefgh <ESC>Q1<ESC>Z SATO RISC Printers...
  • Page 69 Programming Manual 2. Command Codes Output: 5. In case of specifying mirror command after the last print field. Input: <ESC>A <ESC>V100<ESC>H100<ESC>XM12345 <ESC>V200<ESC>H100<ESC>XMABCDEF <ESC>V300<ESC>H100<ESC>XMabcdefgh <ESC>RM <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 70 6. <%> specifying effects on <RM> command only In this case a base mirror position is only changed Input: <ESC>A <ESC>V100<ESC>H100<ESC>XM12345 <ESC>V200<ESC>H100<ESC>XMABCDEF <ESC>V300<ESC>H100<ESC>XMabcdefgh <ESC>%1<ESC>RM <ESC>Q1<ESC>Z Output: 7. <%> specifying effects on <RM> command and print fields Input: <ESC>A <ESC>%1 <ESC>V800<ESC>H100<ESC>XM12345 <ESC>V800<ESC>H100<ESC>XMABCDEF <ESC>V800<ESC>H100<ESC>XMabcdefgh <ESC>RM <ESC>Q1<ESC>Z SATO RISC Printers...
  • Page 71 Programming Manual 2. Command Codes Input: <ESC>A <ESC>%1 <ESC>V800<ESC>H100<ESC>XM12345 <ESC>V800<ESC>H100<ESC>XMABCDEF <ESC>V800<ESC>H100<ESC>XMabcdefgh <ESC>RM <ESC>Q1<ESC>Z Output: Mirror position SATO RISC Printers...
  • Page 72: Off-Line/Pause

    1. You must press the LINE key on the front panel to return the printer to an On-Line status. 2. Remember, when using this command, that if the print job spec- ifies <ESC>Q10, all ten labels will print before the printer will go off-line. SATO RISC Printers...
  • Page 73: Postnet

    To print Postnet bar codes Input: <ESC>A <ESC>H0100<ESC>V0120<ESC>BP94089 <ESC>H0100<ESC>V0160<ESC>BP123456 <ESC>H0100<ESC>V0200<ESC>BP1 23456789 <ESC>H0100<ESC>V0240<ESC>BP12345678901 <ESC> Q1<ESC>Z Output: Note: 1. If the number of data digits does not match those listed, the com- mand is ignored. 2. Only numeric data will be accepted. SATO RISC Printers...
  • Page 74: Print Darkness

    M8485S, M8490S, M8460S, M8400RV CL 608/612 (VA), XL400/410 Darkness 1, 2, 3, 4 or 5 1, 2 or 3 Settings Default = 3 Default = 2 Minimum = 1 Minimum = 1 Maximum = 5 Maximum = 3 SATO RISC Printers...
  • Page 75: Print Length, Expanded

    1. AX is effective until AR is sent to reset the printer to its standard print length, or until the printer is repowered. 2. It may be included in an independent data stream to specify the size of the maximum print area. SATO RISC Printers...
  • Page 76: Print Position

    They also establish a reference point for subsequent fields until the next ho- rizontal and/or vertical print position command is issued. Input: <ESC>A <ESC>H0025<ESC>V0050<ESC>L0303<ESC>MM-8400RV <ESC>H0100<ESC>V0150<ESC>MM-8400RV <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 77 5. If you attempt to print where there is no paper, you may damage the print head. 6. For these commands, the leading zeroes do not have to be entered. The command V1 is equivalent to V0001. SATO RISC Printers...
  • Page 78: Print Quantity

    4. If you do not specify a Print Quantity, the printer will not print a label. 5. For this command, leading zeroes do not have to be entered. The command Q1 is equivalent to Q000001. SATO RISC Printers...
  • Page 79: Print Speed

    CL 412 3 ips, 75 mm/s 4 ips, 100 mm/*s 5 ips, 125 mm/s 6 ips, 150 mm/s CL 608 (VA) 4 ips, 100 mm/s CL 612 (VA) 6 ips, 150 mm/s* M8490S 8 ips, 200 mm/s M8460S SATO RISC Printers...
  • Page 80 10 ips, 250 mm/s XL 410 4 ips, 100 mm/s 5 ips, 125 mm/s* 6 ips, 150 mm/s XL 400 5 ips, 125 mm/s 6 ips, 150 mm/s* 7 ips, 175 mm/s 8 ips, 200 mm/s * = default SATO RISC Printers...
  • Page 81: Repeat Label

    <ESC>C <ESC>Z Output: A duplicate of the previous label will be printed. Note: This command will have no effect if the power to the printer was cycled off and back on since printing the pre- vious label. SATO RISC Printers...
  • Page 82: Replace Data (Partial Edit)

    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 SATO RISC Printers...
  • Page 83 2. This command will not function if the power has been cycled off and back on since the last label was printed. 3. Proportional Pitch text cannot be used with this command. SATO RISC Printers...
  • Page 84: Reverse Image

    <ESC>H0250<ESC>V0300<ES C>L0202<ESC>WB1HALF <ESC>H0040<ESC>V0110<ESC>(370,100 <ESC>H0240<ESC>V0290<ESC>(220,47 <ESC>Q1<ESC>Z Output: Note: 1. A reverse image area is affected by the rotate commands. There- fore, always assume the printer is in the normal print orientation when designing and sending the Reverse Image command... SATO RISC Printers...
  • Page 85 XL 410 M8400RV Horizontal -0800 to 0800 -1200 to 1200 -0832 to 0832 aaaa Vertical 0001 to 1920 0001 to 1920 0001 to 1920 bbbb 7. The Reverse Image is not working in combination with Sequential Numbering. SATO RISC Printers...
  • Page 86: Rotate, Fixed Base Reference Point

    <ESC>% Rotate command. Note that the entire print area is shown, but your label will probably not be as large as the entire area. Input: <ESC>A <ESC>%0<ESC>H0200<ESC>V0100<ESC>MNORMAL DIRECTION <ESC>%1<ESC>H0200<ESC>V0300<ESC>MONE <ESC>%2<ESC>H0200<ESC>V0400<ESC>MTWO <ESC>%3<ESC H0200<ESC>V0500<ESC>MTHREE <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 87 1. Do not combine this command and the <ESC>R Rotate command in the same data stream. 2. The specified values are valid until another Rotate (<ESC>%) command is received. 3. Receipt of a Stop Print (<ESC>Z) command will reset the setting to the default value. SATO RISC Printers...
  • Page 88: Rotate, Moving Base Reference Point

    The <ESC>N command returns to the original base reference point and returns printing to the normal orientation. Input: <ESC>A <ESC>N<ESC>H0100<ESC>V0010<ESC>MNORMAL DIRECTION <ESC>R<ESC>H0100<ESC>V0100<ESC>MONE <ESC>R<ESC>H0100<ESC>V0100<ESC>MTWO <ESC>R<ESC>H0100<ESC>V0100<ESC>MTHREE <ESC>R<ESC>H0100<ESC>V0100<ESC>MFOUR <ESC>Q1<ESC>Z SATO RISC Printers...
  • Page 89 3. The specified values are valid until another Rotate (<ESC>R) command is received. 4. Receipt of a Stop Print (<ESC>Z) command will reset the setting to the default value. SATO RISC Printers...
  • Page 90: Sequential Numbering

    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. Input: <ESC>A<ESC>H0100<ESC>V0050<ESC>MSERIAL NUMBER <ESC>H0100<ESC>V0100<ESC>F001+001,04,03 <ESC>L0202<ESC>MABC0001B25 <ESC>Q2<ESC>Z SATO RISC Printers...
  • Page 91 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. SATO RISC Printers...
  • Page 92: Start/Stop Label

    <ESC>A <ESC>H0001<ESC>V0100<ESC>WB1SATO <ESC>H0130<ESC>V0200<ESC>B103150*M-8400RV* <ESC>H0170<ESC>V0360<ESC>L0202<ESC>S*M-8400RV* <ESC>Q1<ESC>Z Output: There is not output for these commands they are not accompanied by other label printing commands. However, these commands must pre- cede and follow each print job sent to the printer. SATO RISC Printers...
  • Page 93: Calendar Option Commands

    Programming Manual 2. Command Codes Calendar Option Commands The following commands in this section require the Calendar option. (SEG No. 4449 Real Time Clock) SATO RISC Printers...
  • Page 94: Calendar Increment

    This command does not change the prin- ter’s internal clock setting. Input: <ESC>A <ESC>H0010<ESC>V0100<ESC>XB1Current Date is: <ESC>XB1<ESC>WADD/MM/YYY*Y*/JJJ*/ww* <ESC>WPM06 <ESC>H0010<ESC>V0200<ESC>XB1Expiration Date is: <ESC>XB1<ESC>WA/DD/MM/YYY*Y*/ww* <ESC>Q1<ESC>Z Output: *Note: From Firmware 1E2050, 1E3002 for CL6xxVA SATO RISC Printers...
  • Page 95 Programming Manual 2. Command Codes Note: 1. This command requires the Calendar Option. See your SATO rep- resentative for more details 2. Once the year increments past “99” it will wrap back to “00”. 3. This command can only be used once per data stream.
  • Page 96: Calendar Print

    This may be used to date/time stamp your labels. Input: <ESC>A <ESC>H0010<ESC>V0100<ESC>XB1The current date is: <ESC>XB1<ESC>WADD/MM/YYY*Y*/WW* <ESC>H0010<ESC>V0200<ESC>XB1The current time is: <ESC>XB1<ESC>WAhh:mm:ss* <ESC>H0010<ESC>V0300<ESC>XB1The current time is: <ESC>XB1<ESC>WAHH*:mm:ss*:TT* <ESC>Q1<ESC>Z * = from firmware version 1E2050, 1E3002 for CL6xxVA SATO RISC Printers...
  • Page 97 Programming Manual 2. Command Codes Output: Note: 1. This function requires the Calendar Option. See your SATO rep- resentative for details. 2. The date and time elements may be placed in any order for print- ing. 3. Use a slash (/) to separate date elements and a colon (:) to sepa- rate time elements.
  • Page 98: Calendar Set

    There is no printer output for this command. It sets the current date to December 25, 1993 and the current time to 1:00 PM in the printer. Note: This command requires the Calendar Option. See your SATO representative for details. SATO RISC Printers...
  • Page 99: Memory Card Option Commands

    Before a Memory Card 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 card and respond as if no card was installed. SATO RISC Printers...
  • Page 100: Memory Card Function

    Clear Card Memory Command Structure: <ESC>*a,bb Memory card section to be cleared G To clear SATO graphic files from memory card P To clear PCX graphic files F To clear formats from the memory card O To clear TrueType fonts...
  • Page 101: Expand Memory Area

    Output: There is no printer output as a result of this command. Note: 1. You must have the optional Memory Card to use this command. Call your local SATO representative for details. 2. When the printer is turned off, the the Memory Card is reset to normal operation.
  • Page 102: Fonts, Truetype Recall

    Immediately following the <ESC>CC Slot Select com- mand. Default: None Function: This command recalls previously stored TrueType fonts from a Memo- ry Card. Input: <ESC>A <ESC>V0100<ESC>H0100<ESC>CC1<ESC>BJR1020201000004SATO <ESC>Q1<ESC>Z Note: This command requires the Memory Card option. See your SATO representative for details. SATO RISC Printers...
  • Page 103: Fonts, Truetype Store

    There is no printer output as a result of this command. See <ESC>BJR TrueType Font Recall command. Note: 1. This command requires the Memory Card option. See your SATO representative for details. 2. The SATO TrueType Download utility program can be used to automate the download process from a computer running Win- dows 3.1 or above.
  • Page 104: Format/Field Recall

    <ESC>YR,02<ESC>/D,01,TWO FIELDS OF<ESC>/D,02,VARIABLE DATA <ESC>Q1<ESC>Z Note: 1. This command requires the Memory Card option. See your SATO representative for details. 2. Only one format can be recalled at a time. However, multiple fields may be recalled from the same format.
  • Page 105: Format/Field Store

    There is no printer output as a result of this command. See <ESC>YR Format/Field Recall command. Note: 1. This command requires the Memory Card option. See your SATO representative for details. 2. Each job should be sent individually. If more than one job is sent in a data stream, only the first one will be accepted and the remainder ignored.
  • Page 106 2. Command Codes Programming Manual SATO RISC Printers...
  • Page 107: Graphics, Custom Recall

    Input: Non Rotated Graphic <ESC>A<ESC>CC1 <ESC>V0100<ESC>H0080<ESC>L0505 <ESC>GR001 <ESC>Q1<ESC>Z Graphic Rotated 90° <ESC>A<ESC>CC1<ESC>%1 <ESC>V0180<ESC>H0250<ESC>L0505 <ESC>GR001 <ESC>Q1<ESC>Z Graphic Rotated 180° <ESC>A<ESC>CC1<ESC>%2 <ESC>V0180<ESC>H0500<ESC>L0505 <ESC>GR001 <ESC>Q1<ESC>Z Graphic Rotated 270° <ESC>A<ESC>CC1<ESC>%3 <ESC>V0100<ESC>H0700<ESC>L0505 <ESC>GR001 <ESC>Q1<ESC>Z SATO RISC Printers...
  • Page 108 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 <ESC>GI Custom Graphic Store command. SATO RISC Printers...
  • Page 109: Graphics, Custom Store

    Recall Custom Graphics command. Note: 1. You must have the optional Memory Card to use this command. Call your SATO representative for details. 2. The maximum storage capacity is 999 graphics, up to the capac- ity of the memory card used.
  • Page 110 5. Do not use ASCII <CR> or <LF> characters (carriage return or line feed) as line delimiters within the graphic data or the actual image will not be printed as specified. 6. The graphics storage number (ddd) must be specified with this command. SATO RISC Printers...
  • Page 111: Graphics, Pcx Recall

    2nd Rotation, Base Reference Point <ESC>A<ESC>CC1<ESC>%2 <ESC>V0330<ESC>H0600<ESC>PY001 <ESC>Q1<ESC>Z 3rd Rotation, Base ReferencePoint <ESC>A<ESC>CC1<ESC>%3 <ESC>V0100<ESC>H0800<ESC>PY001 <ESC>Q1<ESC>Z Note: 1. This command requires Memory Card option. See your SATO rep- resentative for details. 2. See the <ESC>PI Store PCX Graphics command. SATO RISC Printers...
  • Page 112: Graphics, Pcx Store

    There is no printer output as a result of this command. See <ESC>PY PCX Graphics Recall command. Note: 1. This command requires Memory Card option. See your SATO rep- resentative for details. 2. Graphics cannot be stored as part of a format.
  • Page 113: Initialize

    There is no printer output as a result of this command. Note: 1. You must have the optional memory card to use this command. Call your local SATO representative for information. 2. All Memory Cards must be initialized before they can be used for the first time.
  • Page 114: Slot Select

    Selects the card slot to be used for following Memory Card com- mands. Input: <ESC>A <ESC>CC1 {commands} <ESC>Z Output: There is no printer output as a result of this command. Note: This command requires the Memory Card option. See your SATO representative for more information. SATO RISC Printers...
  • Page 115: Status

    <ESC>A <ESC>CC1<ESC>BJS <ESC>Z Output: Note: 1. This command requires the Memory Card option. See your SATO representative for more information 2. The following information is provided on the status label: Line 1: Memory size of the card in Kbytes Line 2: The ID number assigned with the <ESC>BJF command...
  • Page 116 Line 5: Number of PCX files and bytes used Line 6: Number of TT fonts stored and bytes used Line 7: Remaining free memory Line 8: Max expandable print length using the card Line 9: Battery check results SATO RISC Printers...
  • Page 117: Custom Protocol Command Codes Download

    Allows the user to defines custom Protocol Command codes. Input: <ESC>A <ESC>LD,{,},%,#,&,*,~,0,0 <ESC>Z Output: 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. SATO RISC Printers...
  • Page 118 5. Downloading Auto Online and Zero Slash settings will overwrite the values selected using the LCD panel. If these settings are changed using the LCD panel, they will overwrite any previously downloaded settings. SATO RISC Printers...
  • Page 119: Command Code Quick Reference

    = Number of dots (01-12) for narrow bar and nar- row space ccc= Bar height in dots (001-600) d = UCC 128 only 0 No human readable text 1 Human readable at top 2 Human readable at bottom SATO RISC Printers...
  • Page 120 (B, BD, and a = Bar code option: 0 Codabar 1 Code 39 2 Interleaved 2 of 5 5 Industrial 2 of 5 6 Matrix 2 of 5 SATO RISC Printers...
  • Page 121 = Cells per line. Must use 000 for optimized sym- bol. = Cell lines. Must use 000 to optimize. = Mirror image 0 Normal Print 1 Reverse Print = Guide cell thickness (01-15) 01 indicates nor- mal type. SATO RISC Printers...
  • Page 122 Hdddd Box. Prints a box. For values aa, bbbb, cc, and dddd, see instructions for horizontal and vertical lines. Units of measurement are dots. FWccVddd Vertical Line. Prints a vertical line. Units of measure- ment are dots. SATO RISC Printers...
  • Page 123 Journal Print. Provides the ability to print text line by line. Fixed spacing between lines and characters. Kab90cc Recall Custom Designed Characters. Recalls for printing a custom character stored by the Tabcc(data) command. a = 1 16 x 16 matrix SATO RISC Printers...
  • Page 124 Proportional Font Spacing. Places the printer in the proportional character spacing mode. Will not work with U Font. Qaaaaaa Print Quantity. Specifies the total number of labels to print. aaaaaa =Total number of labels to print for the job (000001-999999) SATO RISC Printers...
  • Page 125 Horizontal position of the top left corner of image area bbbb= Vertical position of the top left corner of image area cccc = Horizontal length of image area dddd= Vertical length of image area SATO RISC Printers...
  • Page 126 1 Sets print to 90° CCW 2 Sets print to 180° rotated (upside down) 3 Sets print to 270° CCW (90° CW) $a,b,c,d Vector font. Specifies printing of the unique SATO vector font. a = A Helvetica Bold (proportional spacing) Helvetica Bold (fixed spacing)
  • Page 127 X Clears all memory all memory and buffers @, nn...n Off-Line/Pause. Signals the printer to go off-line after the completion of a print job. nn..n = Optional 32 character message to be dis- played on the LCD. SATO RISC Printers...
  • Page 128 3. Command Code Quick Reference Programming Manual ~aaaa Cutter Command. Controls the cutting of labels when using the optional SATO cutter unit. (A <NULL> can be used in place of the “~”.) aaaa = Number of labels to print between each cut (0000-9999)
  • Page 129: Calendar Option Commands

    Days (001-999), Hours (001-999). WTaabbccddee Calendar Set. To set the time and date of the printer’s internal clock. aa = Year (00-99) bb = Month (01-12) cc = Day (01-31) dd = Hour (00-23) ee = Minute (00-59) SATO RISC Printers...
  • Page 130: Memory Card Option Commands

    Expand Memory Area. Expands the memory area used by the printer to image the label. a = 0 Return to using internal printer RAM 1 Use Memory Card in Slot 1 2 Use Memory Card in Slot 2 SATO RISC Printers...
  • Page 131 = Format number bb = Field number (01-99) cc = Number of characters in the field *abb Clear Card Memory. Clears individual memory and buffer areas. a = Memory section to be cleared G SATO graphic files (01-99) SATO RISC Printers...
  • Page 132 3. Command Code Quick Reference Programming Manual P PCX graphic file (01-99) F Stored formats (01-99) O TrueType fonts, memory card (01-09) bb = Storage number SATO RISC Printers...
  • Page 133: Bar Code Specifications

    Programming Manual 4. Bar Code Specifications Bar Code Specifications This section contains detailed information on the printing of bar codes on the SATO RISC printers. Information on printing the following bar code symbologies is provided: Codabar Code 39 Interleaved 2 of 5...
  • Page 134: Codabar

    1 : 2 10.2 Input: <ESC>H0400<ESC>V0025<ESC>B002100A12345B <ESC>H0440<ESC>V0135<ESC>XS12345 Output: Note: You must add the appropriate (A, B, C or D) Start and Stop characters to the data string. The printer does not auto- matically add them when printing. SATO RISC Printers...
  • Page 135: Code 39

    2 : 5 10.0 1 : 2 15.6 1 : 2 10.0 Input: <ESC>H0100<ESC>V0025<ESC>B103100*CODE 39* <ESC>H0230<ESC>V0130<ESC>XS*CODE 39* Output. Note: You must add the “*” Start/Stop characters to the data stream. The printer does not add them automatically. SATO RISC Printers...
  • Page 136: Interleaved Two Of Five (I 2/5)

    2 : 5 10.0 12.7 1 : 2 14.5 1 : 2 10.0 Input: <ESC>H0100<ESC>V0100<ESC>B20310045676567 <ESC>H0140<ESC>V0210<ESC>XM45676567 Output: Note: To add horizontal guard bars to the top and bottom of the bar code, use the Line and Box command. SATO RISC Printers...
  • Page 137: Upc-A/Ean-13

    Character Set: 0-9 (numeric only) Density table and Output: Printer Value of Narrow Narrow Magnification Example Resolution “bb” Factor output Width Width (scaled 70%) (mils) (mm) 12 dot/mm 13.0 0.333 100% 8 dot/mm 10.0 0.25 SATO RISC Printers...
  • Page 138 60 + 25 = 85 Subtract the result of Step 4 from the next highest increment of 10. i.e., 90 - 85 = 5 The correct Modulo 10 check digit for the 11 digit string “01234567890” is 5. SATO RISC Printers...
  • Page 139: 139

    150% Input: <ESC>H0400<ESC>V0375<ESC>BD4031001234567 Output: Note: 1. D4 provides guide bars that extend longer than the rest of the bar code and the human readable text below the symbol. 2. The check digit is automatically calculated for EAN-8. SATO RISC Printers...
  • Page 140: Industrial Two Of Five

    Character Set: 0-9 (numeric only) Input: <ESC>H0100<ESC>V0600<ESC>BD50310012345 <ESC>H0300<ESC>V0710<ESC>XS12345 Output. Note: To add horizontal guard bars to the top and bottom of the bar code, use the Line and Box command. SATO RISC Printers...
  • Page 141: Matrix Two Of Five

    Character Set: 0-9 (numeric only) Input: <ESC>H0100<ESC>V0775<ESC>BD60310012345 <ESC>H0230<ESC>V0885<ESC>XS12345 Output: Note: To add horizontal guard bars to the top and bottom of the bar code, use the Line and Box command. SATO RISC Printers...
  • Page 142: Code 128

    36.5 8 dot/mm 10.0 18.3 15.0 13.8 12.2 Input: The following will start in Subset A for the characters “AB”, shift to Sub- set B for “789”, then shift to Subset C for “123456”. <ESC>H0200<ESC>V0550<ESC>BG03100>GAB>B789>C123456 <ESC>H0310<ESC>V655<ESC>XSAB789123456 Output: SATO RISC Printers...
  • Page 143 Programming Manual 4. Bar Code Specifications Character Set: SATO RISC Printers...
  • Page 144 4. Bar Code Specifications Programming Manual Character Set: SATO RISC Printers...
  • Page 145: Msi

    <ESC>DAbbccc (data) d Width of narrow element in dots (01-12) ccc: Bar height in dots (001-600) (data): Bar code data (numeric); maximum of 15 digits Required check digit Character Set: 0-9 (numeric only) Input: <ESC>H0100<ESC>V0950<ESC>BA03100123455 <ESC>H0170<ESC>V1060<ESC>XS12345 Output: SATO RISC Printers...
  • Page 146: Code 93

    Dimension (char/inch) (mils) 12 dot/mm 1 : 3 33.3 1 : 3 16.7 1 : 3 10.0 11.1 8 dot/mm 1 : 3 22.5 1 : 3 10.0 11.3 1 : 3 15.0 Input: <ESC>H0100<ESC>V1125<ESC>BC03100081234ABCD <ESC>H0155<ESC>V1240<ESC>XS1234ABCD Output: SATO RISC Printers...
  • Page 147: Upc-E

    Factor (mils) Below Minimum 12 dot/mm 10.0 13.0 100% 10.0 8 dot/mm 15.0 112% 20.0 150% Input: <ESC>H0400<ESC>V0550<ESC>DE03100123456 <ESC>H0375<ESC>V0600<ESC>OB0 <ESC>H0408<ESC>V0655<ESC>OB123456 Output: Note: Command DE provides guide bars that extend longer than the rest of the bar code. SATO RISC Printers...
  • Page 148: Bookland (Upc/Ean Supplements)

    0-9 (numeric only) Density table: Printer Value of “bb” Narrow Bar Magnification Resolution Width Factor (mils) Below Minimum 12 dot/mm 10.0 13.0 100% 10.0 8 dot/mm 15.0 112% 20.0 150% Input: <ESC>H0325<ESC>V0725<ESC>D30315009827721123 <ESC>L0101<ESC>H0295<ESC>V0800<ESC>OB0 <ESC>H0340<ESC>V0878<ESC>OB98277 <ESC>H0480<ESC>V0878<ESC>OB21123 <ESC>H640<ESC>V0760<ESC>BF0313021826 <ESC>H655<ESC>V0730<ESC>OB21826 Output: SATO RISC Printers...
  • Page 149: 149

    2-8, Shipper identification digits 9-17, Container Sequential number Note: The Container Sequential number is not automa- tically sequenced by the printer. Density Table and Character Set: See Code 128 Input: Without incrementing <ESC>A <ESC>H0100<ESC>V0100<ESC>BI04150101234567000000001 <ESC>Q2<ESC>Z Output: SATO RISC Printers...
  • Page 150 If any part of the human readable text extends outside the printable area, none of it will be printed. Care should be exer- cised when placing the bar code to allow for any automatically created human readable text. SATO RISC Printers...
  • Page 151: Postnet

    3. If the number of digits sent to the printer as data does not match one of the formats specified above (i.e. 5, 6, 9 or 11), the command is ignored and nothing will be printed. 4. If a “–” is included in the data stream (i.e. 84093-1565), it is ignored. SATO RISC Printers...
  • Page 152: Two-Dimensional Bar Codes

    Guide Cell Thickness. 01-15. 01 indicates normal type. Example: <ESC>BX03080505000000001 Placement: Immediately preceding data to be encoded Default: None Function: To designate the format for a Data Matrix two-dimensional bar code image on a label. Input: <ESC>A <ESC>%0<ESC>V0100<ESC>H0100<ESC>BX05051010000000001 <ESC>DCDATA MATRIX DATA MATRIX <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 153 Upper Case Alphanumeric, Space Base 37 ASCII 7-bit, Full Keyboard (20H -7FH) ASCII ISO 8-bit, International (20H -FFH) 8-Bit 5. The maximum number of data characters that can be specified for either the 16-Bit or 32-Bit CRC modes is 500. SATO RISC Printers...
  • Page 154: Data Matrix, Print Data

    1. The maximum amount of data that can be printed with this com- mand is 500 characters. 2. If an <ESC>BX Data Format designation command contains any parameters out of the valid range, no symbol will be printed when this command is sent. SATO RISC Printers...
  • Page 155: Data Matrix, Sequential Numbering

    Placement: Immediately following the <ESC>BX Data Format de- signation command and preceding the <ESC>DC Print Data Command. Default: Function: To print sequential numbered Data Matrix symbols. Input: <ESC>A <ESC>V0100<ESC>H0100 <ESC>BX03081010000000001 <ESC>FX002+001005003<ESC>DC000060000 <ESC>Q4<E SC>Z Output: Label Set #1 SATO RISC Printers...
  • Page 156 In the above example, the value for the <ESC>Q command should be 2 sets x 2 labels/set = 4. If, in the above example, it was set to a value of “1”, only the first label would be printed. SATO RISC Printers...
  • Page 157: Maxicode Vers. 3

    If a smaller message is specified, the field must be padded with “exclamation point” character(s). 2. <Rs> represents Hex 1E, <Gs> represents Hex 1D, <Eot> repre- sents Hex 04, <ESC> represents Hex 1B and <Sp> represents Hex SATO RISC Printers...
  • Page 158: Pdf417

    Number of characters to be encoded (0001-2700). nn...n: Data to be printed. Example: <ESC>BK0304400000021 Placement: Immediately preceding data to be encoded Default: None Function: To print a PDF417 two-dimensional bar code image on a label. Input: <ESC>A <ESC>V0100<ESC>H0100<ESC>BK0607400000021PDF417 PDF417 PDF417 <ESC>Q1<ESC>Z Output: SATO RISC Printers...
  • Page 159 9. The values 00H thru 1FH can be specified as print data. 10.This command can be stored in a format. 11.The <ESC>R Rotate command can be used. 12.The print height of the symbol will vary depending upon the data specified; numeric only, alpha only or alphanumeric. SATO RISC Printers...
  • Page 160: Qr Code (Optional Special Firmware)

    1 = Numeric, 2 = Alphanumeric, 3 = Kanji (Shift JIS co- nn...n: Data <ESC>DN IIII, nn...n IIII: Data Size 0001 - 7089 bytes This should be specified with either automatic code or manual mode with binary. nn...n: Data SATO RISC Printers...
  • Page 161: Character Set

    Programming Manual 4. Bar Code Specifications Character Set: Binary b4 b3 b2 b1 ´ " & ’ < > SATO RISC Printers...
  • Page 162 4. Bar Code Specifications Programming Manual Alphanumeric b4 b3 b2 b1 ° " & ’ < > SATO RISC Printers...
  • Page 163: Print Data

    WIDTH "LPT1:", 255 OPEN "lpt1:" FOR OUTPUT AS #1 Print Data DATA1$ = "0123456789" DATA2$ = " $%*+-./0123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZ" DATA3$ = "" FOR i = 0 TO 31 DATA3$ = DATA3$ + CHR$(i) NEXT i PRINT #1, E$; "A"; SATO RISC Printers...
  • Page 164 PRINT #1, E$; "H050"; E$; "V650"; E$; "2D30,L,06,0,0"; E$; "DN0033,"; DATA3$; PRINT #1, E$; "H350"; E$; "V650"; E$; "2D30,M,06,0,0"; E$; "DN0033,"; DATA3$; PRINT #1, E$; "H650"; E$; "V650"; E$; "2D30,Q,06,0,0"; E$; "DN0033,"; DATA3$; PRINT #1, E$; "H950"; E$; "V650"; E$; "2D30,H,06,0,0"; E$; "DN0033,"; DATA3$; SATO RISC Printers...
  • Page 165: Manual Mode

    XORDATA$; PRINT #1, E$; "DN0010,"; DATA1$; PRINT #1, E$; "H500"; E$; "V1750"; E$; "2D30,Q,06,1,1,03,02,"; XORDATA$; PRINT #1, E$; "DN0045,"; DATA2$; PRINT #1, E$; "H800"; E$; "V2000"; E$; "XSf:BASIC\QBA- SIC\CL412\QR_CODE.BAS"; PRINT #1, E$; "Q1"; PRINT #1, E$; "Z"; SATO RISC Printers...
  • Page 166 4. Bar Code Specifications Programming Manual Output: SATO RISC Printers...
  • Page 167 Kanji data, not Binary data. 3. With manual mode, the multiple data fields for Numeric, Alphanu- meric, Kanji and Binary can be specified in one job. Also, the maximum data size should be less than 7000 bytes. SATO RISC Printers...
  • Page 168 4. Bar Code Specifications Programming Manual This page is intentionally left blank. SATO RISC Printers...
  • Page 169: Interface Specifications

    5. Interface Specifications Interface Specifications 5.1 Overview This section explains the interface specifications for the SATO RISC print- ers. These specifications include detailed information on how to properly interface your printer with your host system and includes data about the following: •...
  • Page 170: The Receive Buffer

    Programming Manual 5.3 The Receive Buffer The SATO RISC printers have the ability to receive a data stream from the host in one of two ways. The receive buffer may be configured to accept one print job at a time or multiple print jobs. The single job print...
  • Page 171: Rs232C Serial Interface

    X-On/X-Off Software Flow Control. Bi-Directional communication (ENQ/Response) 2400, 4800, 9600 and 19200 bps Data Transmission Rate 1 Start Bit (fixed) Character Format 7 or 8 data bits (selectable) Odd, Even or No Parity (selectable) 1 or 2 Stop bits (selectable) SATO RISC Printers...
  • Page 172 (in this case, RTS would return to the high state after the print head is closed and the printer is placed back on-line) or an error condition occurs during printing (e.g., ribbon out, label out). SATO RISC Printers...
  • Page 173 It goes low when the printer is off-line, either manually or due to an error condition, and while printing in the Single Job Buffer mode. It will also go low when the data in the buffer reaches the Buffer Near Full level. SATO RISC Printers...
  • Page 174 X-On/X-Off operates in a manner similar to the function of pin 20 (DTR) as previously explained. When the printer is first switched on and goes SATO RISC Printers...
  • Page 175 (NOTE: All characters, including STX, ESC and ETX are in ASCII). <STX><ESC>A . . Job#1 . . <ESC>Z<ESC>A . . Job#n . . <ESC>Z<ETX> Example: <STX>A . . Job#1 . . <ESC>Z<ETX>XXXXX SATO RISC Printers...
  • Page 176 ID is defined using the <ESC>ID Job ID command transmitted with the print job (see Job ID Store in the command listing for more information on how to use this command). The range is from 00 to 99. SATO RISC Printers...
  • Page 177 Upon receipt of a valid print job (<ESC>A . . . <ESC>Z), and ACK (06 hexadecimal) will be returned by the printer if there are no errors and a NAK (16 hexadecimal) if a printer error exists. SATO RISC Printers...
  • Page 178 Ribbon Near End Buffer Near Full Ribbon Near End and Buffer Near Full OFF-LINE, ERROR CONDITION Receive Buffer Full Head Open Paper End Ribbon End Media Error Sensor Error Head Error Memory Card Error Cutter Error Other Error Condition SATO RISC Printers...
  • Page 179: Centronics Parallel Interface

    Reference DATA 8 To Printer DATA 8 Return Reference To Printer ACK Return Reference BUSY To Host BUSY Return Reference PTR ERROR To Host PE Return Reference SELECT To Host FAULT To Host Frame Ground (Z=24K ohm) SATO RISC Printers...
  • Page 180: I/F Connector

    0V. To achieve a signal level of +5V, you must add a 1K ohm, ¼ W pull-up resistor between the open collector output pin and Vcc (pin 1) as illustrated. This will provide a signal level of +5V for a true con- SATO RISC Printers...
  • Page 181: Standard Operation

    Pin 2, 3, 6, 7 or 8 External Output Signal Types (Pin #6) STANDARD OPERATION Start Print End Print PRINT START INPUT PRINT REPEAT PRINT END TYPE 1 20 milliseconds PRINT END TYPE 2 PRINT END TYPE 3 PRINT END TYPE 4 SATO RISC Printers...
  • Page 182: Repeat Print

    5. Interface Specifications Programming Manual REPEAT PRINT Start Print End Print PRINT START INPUT PRINT REPEAT PRINT END TYPE 1 20 milliseconds PRINT END TYPE 2 PRINT END TYPE 3 PRINT END TYPE 4 SATO RISC Printers...
  • Page 183 ERROR SIGNALS Head Head Paper or Ribbon End Open Closed Paper/Ribbon PRINT MOTION Replenished MOVING STOPPED PAPER END RIBBON END MACHINE ERROR PRINT END TYPE 1 PRINT END TYPE 2 PRINT END TYPE 3 PRINT END TYPE 4 SATO RISC Printers...
  • Page 184 ¼ W pull-up resistor between the open collector out- put pin and Vcc (pin 13) as illustrated. This will pro- vide a signal level of +5V for a true condition and 0V when a false condition exists. The maximum voltage SATO RISC Printers...
  • Page 185 Pin 13 Vcc = +5V 1 K ohm, ¼W Signal Out Pin 1, 3 4 or 6 TYPE 1 20 milliseconds TYPE 2 TYPE 3 TYPE 4 Start Print End Print (Label Feed (Label Feed Stop) Stop) SATO RISC Printers...
  • Page 186 Full switch - Stops the printer when the stacker or rewinder is full To Stacker Enables the stacker No Connection No Connection To Host +24V - Used to power accessory items. To Host Vcc - +5V Reference Frame Ground SATO RISC Printers...
  • Page 187: Troubleshooting

    6. Troubleshooting Troubleshooting 6.1 Overview The design of SATO RISC printers is based upon proven technology and reliable components. When a problem occurs, the solution can be easily traced using the troubleshooting tables in this section. This table list symptoms, probable causes, and suggested corrective actions. Both print quality and general operational problems are listed in the troubleshooting table.
  • Page 188: Initial Checklist

    The printer is ON-LINE. c) The cable is not defective. There are other things that can cause this error message on your computer, but at this stage, a defective cable may be one of the reasons. SATO RISC Printers...
  • Page 189 We want the data stream to be one complete line going to the printer. SATO RISC Printers...
  • Page 190: Troubleshooting The Rs232C (Serial) Interface

    Rate, Parity, Data Bits, or Stop Bits in relation to your host computer. If you are confused as to what the printer’s current RS232 settings are, you may choose the SATO defaults (all DIP switches in the OFF posi- tion) to achieve 9600 baud, no parity, 8 data-bits, and 1 stop bit).
  • Page 191: Error Signals M8400Rv And M84S Series Printers (Some Procedures Are Not Na For M-8459S)

    Label Hold down Error Blinks Media Error 3 Short Media Error Open/Close Head Label Blinks Lever Ribbon None Ribbon Near Replace ribbon with full Blinks roll Line Blinks None Buffer Near Full Slow down transmis- sion rate SATO RISC Printers...
  • Page 192: Error Signals Cl408/412

    6. Troubleshooting Programming Manual 6.6 Error Signals CL408/412 AUDIBLE ERROR TO CLEAR MESSAGE BEEP CONDITION Machine 1 Long Machine Error Switch power ON/OFF Error EEPROM 1 Long EEPROM Switch power ON/OFF Error Read/Write Head Error 1 Long Head Switch power ON/OFF...
  • Page 193: Error Signals Cl608/612 (Va)

    Head Lever or Label Holddown Error Blinks Media Error 3 Short Media Error Open/Close Label Blinks Head Lever Ribbon Blinks None Ribbon Near Replace Ribbon with full roll Line Blinks None Buffer Near Slow down trans- Full mission rate SATO RISC Printers...
  • Page 194: Error Signals Xl400/410

    3 Short Ribbon End Replace Ribbon Blinks Ribbon Broken Open/close Head Lever Open/close Media Hold down Error Media 3 Short Media pitch is diffe- Install proper media Blinks Error rent than specified by Open/close Head Lever command SATO RISC Printers...
  • Page 195 Cutter 3 Short Cutter is jammed Clear Cutter Blinks Error Cycle power ON/Off Error Cutter 3 Short Media in cutter sensor Remove media from cut- Blinks Sensor Wrong cutter sensor ter sensor Select correct Error position sensor SATO RISC Printers...
  • Page 196 6. Troubleshooting Programming Manual This page is intentionally left blank. SATO RISC Printers...
  • Page 197: Custom Protocol Command Codes

    After these are downloaded, they replace the Alternate Command Code set when DIP switch DS2-7 is in the ON position. When DIP switch DS2-7 is in the OFF position, the Standard Protocol Command Codes are used. SATO RISC Printers...
  • Page 198: Download Command Structure

    Protocol Default is signified by a single “beep”. Once this beep is heard, then turn the printer off. 5. When the printer is powered up again, the Alternate Protocol Com- mand Code set will be active. All previous custom settings will be lost. SATO RISC Printers...
  • Page 199: Download Procedure

    8. If the custom codes are correct, press the FEED key to accept them and terminate the download process. If they are incorrect, turn the unit off without pressing the FEED key and begin the download process again at step 1. SATO RISC Printers...
  • Page 200 7. Custom Protocol Command Codes Programming Manual Custom Protocol Command Download for Sample command Stream: WIDTH "LPT1:", 255 E$ = CHR$(27) LPRINT E$; "A"; LPRINT E$; "LD,{,},^,@,!,~,),0,0"; LPRINT E$; "Z"; SATO RISC Printers...
  • Page 201: Custom Characters And Graphics

    • 16 dot x 16 dots • 24 dots by 24 dots 2. Lay out a grid and draw the image on the grid. • Each square represents one dot • Blacken squares for each printed dot SATO RISC Printers...
  • Page 202 5. To recall the custom character from memory, send the following code to the printer. Note that you can print other data as well. Also note how the character size was expanded using the <ESC>L command. <ESC>A <ESC>L0505<ESC>H0150<ESC>V100<ESC>K1H903F <ESC>L0505<ESC>H0600<ESC>V100<ESC>K1H903F <ESC>L0303<ESC>H0125<ESC>V0250<ESC>MTHIS SIDE UP ! <ESC>Q1 <ESC>Z SATO RISC Printers...
  • Page 203 FF (i.e., 11111111). 7. To recall the custom character from memory, send the following code to the printer: <ESC>A <ESC>L505<ESC>H0150<ESC>V100<ESC>K1B903F <ESC>L505<ESC>H0600<ESC>V100<ESC>K1B903F <ESC>L0303<ESC>H0125<ESC>V0250<ESC>XMTHIS SIDE UP ! <ESC>Q1 <ESC>Z The printer output for both the hexadecimal and binary format examples SATO RISC Printers...
  • Page 204 The example here has six blocks horizontally and six blocks vertically (48 x 48 dots). 2. Lay out a grid and draw the image on the grid. • Each square represents one dot • Blacken squares for each printed dot SATO RISC Printers...
  • Page 205 00000011 01100000 00000110 00000011 11111111 11100000 00000011 00110000 00000110 00000011 11111111 11100000 00000011 00011000 00000110 00000011 11111111 11100000 00000011 00001100 00000110 00000011 11111111 11100000 00000111 00000110 11111111 11111111 11111111 11111111 11111110 00000011 11111111 11111111 11111111 11111111 11111100 SATO RISC Printers...
  • Page 206 8. Custom Characters And Graphics Programming Manual Hex: SATO RISC Printers...
  • Page 207 Note: Spaces shown in the hexidecimal listing above are for empha- sis only. Spaces must not be encoded within the graphic portion of the data stream to the printer. Also, CR and LF characters to sepa- rate the lines must not be encoded in the data stream. SATO RISC Printers...
  • Page 208 PRINT #1, CHR$(&HC0); CHR$(&H60); CHR$(&H0); CHR$(&H0); CHR$(&H6); CHR$(&H3); PRINT #1, CHR$(&HC0); CHR$(&H60); CHR$(&H0); CHR$(&H0); CHR$(&H6); CHR$(&H3); PRINT #1, CHR$(&HC0); CHR$(&H60); CHR$(&H0); CHR$(&H0); CHR$(&H6); CHR$(&H3); PRINT #1, CHR$(&HC0); CHR$(&H60); CHR$(&H0); CHR$(&H0); CHR$(&H6); CHR$(&H3); PRINT #1, CHR$(&HC0); CHR$(&H60); CHR$(&H0); CHR$(&H0); CHR$(&H6); CHR$(&H3); SATO RISC Printers...
  • Page 209 PRINT #1, CHR$(&HC0); CHR$(&H6); CHR$(&H3); CHR$(&HFF); CHR$(&HE0); CHR$(&H3); PRINT #1, CHR$(&HC0); CHR$(&H6); CHR$(&H3); CHR$(&HFF); CHR$(&HE0); CHR$(&H3); PRINT #1, CHR$(&HC0); CHR$(&H6); CHR$(&H3); CHR$(&HFF); CHR$(&HE0); CHR$(&H3); PRINT #1, CHR$(&HC0); CHR$(&H6); CHR$(&H3); CHR$(&HFF); CHR$(&HE0); CHR$(&H3); PRINT #1, CHR$(&HC0); CHR$(&H6); CHR$(&H3); CHR$(&HFF); CHR$(&HE0); CHR$(&H3); SATO RISC Printers...
  • Page 210 PRINT #1, E$; "H0200"; E$; "V0100"; E$; "XMSATO Printer Driver" PRINT #1, E$; "H0200"; E$; "V0150"; E$; "XMDisk1" PRINT #1, E$; "Q1"; PRINT #1, E$; "Z"; The printer output for both the hexadecimal and binary format examples SATO RISC Printers...
  • Page 211: Pcx Graphics Example

    If this is the case, the file should be recaptured to eliminate the surrounding white space as much as possible. The following basic program will send and print this file: OPEN "c:\dynamic\graphics\lion.pcx "FOR INPUT AS #1 WIDTH"LPT1:",255 DA$=INPUT$(3800,#1) E$=CHR$(27) LPRINT E$;"A"; LPRINT E$;"V150";E$;"H100";E$;"GP3800,";DA$; LPRINT E$;"Q1";E$;"Z"; SATO RISC Printers...
  • Page 212 8. Custom Characters And Graphics Programming Manual This page is intentionally left blank. SATO RISC Printers...

Table of Contents