Page 2
Website: www.sato-europe.com Website: www.satoamerica.com Email: info@sato-europe.com Email: satosales@satoamerica.com SATO SHANGHAI CO, LTD BAR CODE SATO ELECTRONICS (S) PTE LTD 11 Floor, D, Pudong South Road 1111, 438A Alexandra Road #05-01/02, Pudong New Area, Shanghai, Alexandra Technopark, Singapore 119967 China 200120...
SATO Europe NV shall not be liable for errors contained herein or for any incidental con- sequential damages in connection with the furnishing, performance, or use of this mate- rial.
TABLE OF CONTENTS SECTION 1. PROGRAMMING CONCEPTS The SATO Programming Language................1-1 Selecting Protocol Control Codes .................. 1-2 Using Basic ........................1-2 The Print Area ........................ 1-4 Rotated Fields ........................ 1-8 Command Default Settings .................... 1-9 Opposite Hand “Se” Printers ..................1-10 SECTION 2.
Page 5
Print ..........................3-4 Set ..........................3-6 SECTION 4. EXPANDED MEMORY Clear Expanded Memory ....................4-2 Fonts, TrueType Recall....................4-3 Fonts, TrueType Store ....................4-4 Format/Field Recall ......................4-5 Format/Field Store ......................4-6 Form Overlay Recall ..................... 4-7 SATO Programming Reference...
Page 6
Print Type ........................6-9 Sensor Type ........................ 6-10 Serial Interface Parameters ..................6-11 CR/LF Delete ....................... 6-12 Zero Slash........................6-13 Auto Online ........................6-14 Online Feed........................6-15 Test Print........................6-16 SECTION 7. BI-DIRECTIONAL COMMUNICATIONS ENQUIRE/ACK/NAK ...................... 7-2 Status Response......................7-2 SATO Programming Reference...
Page 7
Code 93 ........................B-12 UPC-E..........................B-13 Bookland (UPC/EAN Supplements)................B-14 UCC-128 ........................B-15 Postnet.........................B-17 Data Matrix........................B-18 Maxicode........................B-20 PDF417........................B-22 Code 128 Character Table...................B-23 APPENDIX C. CUSTOM CHARACTERS AND GRAPHICS Custom Designed Character Example................C-1 Custom Designed Graphics Example ................C-4 PCX Graphics Example ....................C-8 viii SATO Programming Reference...
Page 8
Table of Contents APPENDIX D. CUSTOM PROTOCOL COMMAND CODES Description ........................D-1 Download Command Structure ..................D-2 Reset..........................D-2 Download Procedure..................... D-3 SATO Programming Reference...
PROGRAMMING CONCEPTS INTRODUCTION This section presents the commands that are used with the SATO Series “e” and PRO printers to produce labels with logos, bar codes and alphanumeric data. All of the SATO Programming Language commands use the same syntax. Some commands reference a physical point on the label using horizontal and vertical dot reference numbers.
<CR> and/or <LF> characters. If these characters are needed, they are explicitly noted by the inclusion of <CR> and<LF> notations. Page 1-2 SATO Programming Reference...
Page 11
30 LPRINT E$;"A"; Sends an “<ESC>A” command code tothe LPT1 parallel port 40 LPRINT E$;"H400";E$;"V100";E$;"XL1SATO"; Sends the data “SATO” to be to be placed 400 dots horizontally and 100dots vertically on the label and printed in the “XL” font.
Sends an “<ESC>A” command code to Print Port #1 opened by statement 20 above. 60 PRINT #1, Sends the data “SATO” to be placed E$;"H400";E$;"V100";E$;"XL1SATO"; 400 dots horizontally and 100 dots vertically on the label and printed in the“XL” autosmoothed font.
Page 13
16.5 32.8 16.4 49.2 49.2 49.2 49.2 (Vmax Expanded) 1249 1249 1249 1249 dots/inches/mm There are three methods available to make sure your printed output will appear correctly on your label. They are as follows: SATO Programming Reference Page 1-5...
Page 14
Base Reference Point command to the data stream in order for the images to print on your labels. You must be careful not to print off the label surface as the label provides a heat sink Page 1-6 SATO Programming Reference...
Page 15
<ESC>Q1 <ESC>Z The image is moved horizontally to the right 2 inches (406 dots) so that itcan be printed on a 2 inch wide label. For more information, see the Base Reference Point command description. SATO Programming Reference Page 1-7...
• <ESC>% - The field rotates, but the base reference point for the field remains the same. The following data stream will rotate the print field but will not change the base reference point of the field: <ESC>A<ESC>%1<ESC>V800<ESC>H200<ESC>L0202<ESC>XB1E<ESC>Q1<ESC>Z Page 1-8 SATO Programming Reference...
The same command stream sent to both printers should print an identical label except the image may be shifted because of the relative positioning of the label under the print head. Page 1-10 SATO Programming Reference...
SECTION 2. COMMAND CODES This section contains the basic Command Codes for the SATO “e” and PRO Series printers. Commands for the oprions and specialized functions are provided in the following sections. Commands must be sent to the printer in an organized fashion in order for the label(s) to print.
(see Section 5. Two Dimensional Symbols). Each of the bar code symbologies are unique, and it is important to know the differences. See Appendix B for specific information on using each individual bar code symbol. SATO Programming Reference PN 9001096 Rev. A Page 2-3...
Page 21
<ESC>H0680<ESC>V0730<ESC>OB21826 <ESC>H0425<ESC>V1125<ESC>D30315000633895260 <ESC>L0101<ESC>H0395<ESC>V1200<ESC>OB0 <ESC>H0440<ESC>V1278<ESC>OB06338 <ESC>H0580<ESC>V1278<ESC>OB95260 <ESC>H0730<ESC>V1155<ESC>BF0314024 <ESC>H0745<ESC>V1125<ESC>OB24 <ESC>H0325<ESC>V0950<ESC>BG03100>GAB>B789>C123456 <ESC>H0435<ESC>V1055<ESC>XSAB789123456 <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. Page 2-4 SATO Programming Reference...
Page 22
Section 2: Command Codes Printer Output SATO Programming Reference PN 9001096 Rev. A Page 2-5...
Page 23
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 Page 2-6 SATO Programming Reference...
Page 24
MSI bar code, the check digit is not automatically calculated. 6. The <ESC>D and <ESC>BD commands are not valid for the MSI, Code 128, Code 93, UPC-E, Bookland, UCC128 and Postnet sym- bologies. SATO Programming Reference PN 9001096 Rev. A Page 2-7...
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 com- mand: Codabar, Code 39, Interleaved 2 of 5, Matrix 2 of 5. Page 2-8 SATO Programming Reference...
(bars, spaces) as shown above. Remember that this command only applies to the five bar code types shown. Input to Printer <ESC>A <ESC>H0050<ESC>V0050<ESC>BT101030103 <ESC>BW03100*1234* <ESC>Q1<ESC>Z Printer Output SATO Programming Reference PN 9001096 Rev. A Page 2-9...
Page 27
2. You may use only one variable ratio bar code per label. 3. If the data specified in this command is incorrect, the command is ignored and the ratio used will be based on the previous setting. Page 2-10 SATO Programming Reference...
It may also be used to move images past preprinted fields on a label. Input to Printer <ESC>A<ESC>L0202 <ESC>H0025<ESC>V0025<ESC>WB0MNORMAL REFERENCE POINT <ESC>A3H0300V0075 <ESC>H0100<ESC>V0050<ESC>WB0MNEW REFERENCE POINT <ESC>Q1<ESC>Z Printer Output SATO Programming Reference PN 9001096 Rev. A Page 2-11...
Page 29
7. See Table 1 in Section 1. Programming Concepts for values of Hmax and Vmax. Page 2-12 SATO Programming Reference...
Up to 50 individual characters may be stored in the custom character volatile memory. Printer Input See Appendix C for a detailed explanation. <ESC>A <ESC>T1H3F0100038007C00FE01FF03FF87FFCFFFE 07C007C007C007C007C007C007C007C0 <ESC>Z <ESC>A <ESC>H150<ESC>V100<ESC>L0505<ESC>K1H903F <ESC>H350<ESC>V100<ESC>L1010<E SC>K1H903F <ESC>Q1 <ESC>Z SATO Programming Reference PN 9001096 Rev. A Page 2-13...
Page 31
3. 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. Page 2-14 SATO Programming Reference...
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. SATO Programming Reference PN 9001096 Rev. A Page 2-15...
To reset proportional spacing and place the printer back to fixed spacing. Printer Input <ESC>A <ESC>H0100<ESC>V0050<ESC>PS <ESC>L0404<ESC>XMPROPORTIONAL SPACING <ESC>H0100<ESC>V0180<ESC>PR <ESC>L0404<ESC>XMFIXED SPACING <ESC>Q1<ESC>Z Printer Output Special Notes 1. This command only works with the proportionally spaced fonts XU, XM, XS, XL and XB. Page 2-16 SATO Programming Reference...
To designate the amount of spacing (in dots) between characters. This command provides a means of altering character spacing for label constraints or to enhance readability. 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 SATO Programming Reference PN 9001096 Rev. A Page 2-17...
Page 35
4. Character Pitch will always revert to the default value unless it is spec- ified before each new font command in the data stream. 5. This command also affects Codabar, Code 39 and Industrial 2 of 5 bar codes. Page 2-18 SATO Programming Reference...
Printer Output Special Notes 1. Once this command is sent in the data stream, it is in effect until the end of the print job unless a reset command is sent. SATO Programming Reference PN 9001096 Rev. A Page 2-19...
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. Page 2-20 SATO Programming Reference...
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 Programming Reference PN 9001096 Rev. A Page 2-21...
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 to Printer <ESC>A <ESC>H0050<ESC>V0050<ESC>E010<ESC>XM SATOSATOSATOSATOSATOSATOSATO SATOSATOSATOSATOSATOSATOSATO SATOSATOSATOSATOSATOSATOSATO SATOSATOSATOSATOSATOSATOSATO <ESC>H0180<ESC>V0250<ESC>WDH0130V0050X0400Y0200 <ESC>Q1<ESC>Z Printer Output Page 2-22 SATO Programming Reference...
Page 40
4. If the reference area of the target image exceeds the print area, it will not be printed. 5. See Table 1 in Section 1.Programming Concepts for values of Hmax and Vmax. SATO Programming Reference PN 9001096 Rev. A Page 2-23...
<ESC>~A1 (if cutter enabled) 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.
<ESC>~1 (if cutter enabled) 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.
None 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.
OCR-B font (see note 7 for matrix) (1) These fonts will be printed with proportional spacing only if preceded by an <ESC>PS command. Input to Printer <ESC>A<ESC>PS <ESC>H0001<ESC>V0100<ESC>L0202<ESC>XUSATO <ESC>H0001<ESC>V0175<ESC>L0202<ESC>XSSATO <ESC>H0001<ESC>V0250<ESC>L0202<ESC>XMSATO <ESC>H0001<ESC>V0325<ESC>L0101<ESC>OASATO <ESC>H0001<ESC>V0400<ESC>L0101<ESC>OBSATO <ESC>H0300<ESC>V0100<ESC>L0202<ESC>USATO <ESC>H0300<ESC>V0175<ESC>L0202<ESC>SSATO <ESC>H0300<ESC>V0250<ESC>L0202<ESC>MSATO <ESC>Q1<ESC>Z SATO Programming Reference PN 9001096 Rev. A Page 2-27...
Page 45
5. Fonts U, S, M, OA and OB are identical to fonts U, S, M, OA and OB on the SATO M-8400 printer. (Note: These fonts, except the OA and OB fonts which are fixed in size, will be 33% smaller on a 300 dpi printer and 67% smaller on a 600 dpi printer) 6.
1. The “cccc” Horizontal Size and “dddd” Horizontal Size parameters can be entered either in dots or points, but both parameters must use the same value types. If point size is used, the point size is preceded by a “P”. SATO Programming Reference PN 9001096 Rev. A Page 2-29...
None 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 48
50 is used. 3. The font width and height values include ascenders, descenders, and other space. 4. A font must be defined for each field to be printed. There is no default font. SATO Programming Reference PN 9001096 Rev. A Page 2-31...
28W x 52H dot matrix 48W x 48H dot matrix (1) These fonts will be printed with proportional spacing only if preceded by an <ESC>PS command. Input to Printer <ESC>A<ESC>PS <ESC>H0001<ESC>V0100<ESC>WB0SATO <ESC>H0001<ESC>V0185<ESC>WB1SATO <ESC>H0001<ESC>V0270<ESC>WL0SATO <ESC>H0001<ESC>V0355<ESC>WL1SATO <ESC>H0300<ESC>V0100<ESC>XB0SATO <ESC>H0300<ESC>V0185<ESC>XB1SATO <ESC>H0300<ESC>V0270<ESC>XL0SATO <ESC>H0300<ESC>V0355<ESC>XL1SATO <ESC>Q1<ESC>Z Page 2-32 SATO Programming Reference...
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>PS Proportional Space command. SATO Programming Reference PN 9001096 Rev. A Page 2-33...
Separate data stream sent to printer Default: None Command Function To feed a blank tag or label, which is the equivalent of a “form feed.” Input to Printer <ESC>Z <ESC>A(space) Printer Output Blank label or tag Page 2-34 SATO Programming Reference...
1. The overlay is stored using the <ESC>& Form Overlay Store com- mand. 2. If the this command is used with the <ESC>EX0 Expanded Print Length command the Form Overlay length cannot exceed 9999 dots. SATO Programming Reference PN 9001096 Rev. A Page 2-35...
2. The overlay is recalled using the <ESC>/ Form Overlay Recall com- mand. 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. Page 2-36 SATO Programming Reference...
C00080000013C0009FFFFF13C00080000013 C00080000013C0009FFFFF13C00080000013 C00080000013C000FFFFFFF3C00000000003 C00000000003C00000000003C00000000003 C00000000003C00000000003C00003C00003 C00007E00003C0000FF00003C0000FF00003 C0000FF00003C0000FF00003C00007E00003 C00003C00003C00003C00003C00003C00003 C00003C00003C00003C00003C00003C00003 C00003C00003C00003C00003C00003C00003 C00003C00003C00001800003C00000000003 C00000000003FFFFFFFFFFFFFFFFFFFFFFFF <ESC>H0300<ESC>V0100<ESC>XSPLEASE PLACE YOUR DISK <ESC>H0300<ESC>V0150<ESC>XSIN A SAFE PLACE <ESC>Q1<ESC>Z See Appendix C for a details on the data format. SATO Programming Reference PN 9001096 Rev. A Page 2-37...
Page 55
5. The binary format reduces the transmission time by 50%. 6. See Table 1 in Section 1. Programming Concepts for values of Hmax and Vmax. 7. Use the <ESC>E0 Expanded Print Length command to get the max- imum label length. Page 2-38 SATO Programming Reference...
BMP file is 64K. If the uncompressed file exceeds 64K, the graphic will not print. 2. Only black and white BMP files can be downloaded. 3. The file size specified by this command is the DOS file size in bytes. SATO Programming Reference PN 9001096 Rev. A Page 2-39...
64K. If the uncompressed file exceeds 64K, the graphic will not print. 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. Page 2-40 SATO Programming Reference...
2. If more than one ID number is sent in a single job, i.e. <ESC>A <ESC>ID01 ..<ESC>ID02 ..the last number transmitted will be used. SATO Programming Reference PN 9001096 Rev. A Page 2-41...
2. If more than one Job Name is sent in a single job, i.e. <ESC>A <ESC>WKSATO ..<ESC>WKSATO AMERICA ..the last name transmitted will be used. Page 2-42 SATO Programming Reference...
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 Programming Reference PN 9001096 Rev. A Page 2-43...
Example: <ESC>FW02H0200 Placement: Following the necessary positioning commands Default: None Command Function To print horizontal lines, vertical lines, and boxes as images on the label. 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 Page 2-44 SATO Programming Reference...
Page 62
1. It is recommended that all lines and boxes be specified in the normal print direction. 2. See Table 1 in Section 1. Programming Concepts for values of Hmax and Vmax. 3. Use the <ESC>E0 Expanded Print Length command for maximum label length. SATO Programming Reference PN 9001096 Rev. A Page 2-45...
H value set in the printer. If you specify sev- eral H values after this command, the print position will be deter- mined by the H value last specified. You must redefine the font to be used after each H command. Page 2-46 SATO Programming Reference...
3. All eight variables “aaaa” and “bbbb” must be included in this com- mand. 4. See Table 1 in Section 1. Programming Concepts for max length for val- ues of Hmax and Vmax. SATO Programming Reference PN 9001096 Rev. A Page 2-47...
5. Any data outside the area defined by the <ESC>A1 Media Size com- mand is not mirrored the command is treated as a command error. Any print job containing the <ESC>RM command and without any print data will be treated as a command error. Page 2-48 SATO Programming Reference...
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 the print job specifies <ESC>Q10, all ten labels will print before the printer goes off-line SATO Programming Reference PN 9001096 Rev. A Page 2-49...
Printer Input <ESC>A <ESC>H0100<ESC>V0120<ESC>BP94089 <ESC>H0100<ESC>V0160<ESC>BP123456 <ESC>H0100<ESC>V0200<ESC>BP123456789 <ESC>H0100<ESC>V0240<ESC>BP12345678901 <ESC>Q1<ESC>Z Printer Output Special Notes 1. If the number of data digits does not match those listed, the com- mand is ignored. 2. Only numeric data will be accepted. Page 2-50 SATO Programming Reference...
2. See the specific printer Operator Manual for the valid head ranges. 3. The lighest setting is the smallest value and the darkest setting is the largest value. SATO Programming Reference PN 9001096 Rev. A Page 2-51...
Command Function To increase the maximum print length (in feed direction) for a label. Input to Printer <ESC>A <ESC>EX0 <ESC>Z <ESC>A <ESC>H0050<ESC>V0100<ESC>WB1EXPAND TO: <ESC>H0050<ESC>V2700<ESC>WB1MAX INCHES <ESC>Q1<ESC>Z <ESC>A <ESC>AR <ESC>Z Printer Output EXPAND TO: MAX INCHES Page 2-52 SATO Programming Reference...
Page 70
4. If a job contains elements out of the memory range, it is ignored. 5. If the Forms Overlay command <ESC>& is used with Expanded Memory to expand the print area, the Form Overlay length is still lim- ited to the maximum. SATO Programming Reference PN 9001096 Rev. A Page 2-53...
They also establish a reference point for subsequent fields until the next horizontal and/or vertical print position command is issued. 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 Page 2-54 SATO Programming Reference...
Page 72
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 Programming Reference PN 9001096 Rev. A Page 2-55...
4. 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”. Page 2-56 SATO Programming Reference...
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 cycled off and back on since printing the previous label. Page 2-58 SATO Programming Reference...
Input to Printer <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 Printer Output SATO Programming Reference PN 9001096 Rev. A Page 2-59...
Page 77
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. Page 2-60 SATO Programming Reference...
To reverse an image area from black to white and vice versa. Use the Print Position commands (<ESC>H and <ESC>V) to locate the top left corner of the reverse image area. Input to Printer <ESC>A <ESC>H0050<ESC>V0120<ESC>L0202<ESC>WB1REVERSE <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 Printer Output SATO Programming Reference PN 9001096 Rev. A Page 2-61...
Page 79
4. If the values specified exceed the maximum ranges, the reverse image is not created. 5. See Table 1 in Section 1. Programming Concepts for values of Hmax and Vmax. Page 2-62 SATO Programming Reference...
<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 to Printer <ESC>A <ESC>%0<ESC>L202<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 Printer Output SATO Programming Reference PN 9001096 Rev. A Page 2-63...
Page 81
Section 2: Command Codes Special Notes 1. The specified values are valid until another Rotate (<ESC>%) com- mand is received. 2. Receipt of a Stop Print (<ESC>Z) command will reset the setting to the default value. Page 2-64 SATO Programming Reference...
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 to Printer <ESC>A<ESC>H0100<ESC>V0100<ESC>MSERIAL NUMBER: <ESC>H0100<ESC>V0200 <ESC>F001+005 <ESC>L0202<ESC>M1000<ESC>Q2<ESC>Z1 SATO Programming Reference PN 9001096 Rev. A Page 2-65...
Page 83
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 Page 2-66 SATO Programming Reference...
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 Programming Reference PN 9001096 Rev. A Page 2-67...
SECTION 3. CALENDAR COMMANDS The following commands in this section are used to control the Calendar Functions.The Calendar Functions require the Calendar Option (except for the “Se” print engines which include it in the standard configuration). SATO Programming Reference Page 3-1...
To add a value to the printer’s current date and/or time, which may then be printed on the label. This command does not change the printer’s internal clock setting. Input to Printer <ESC>A <ESC>H0100<ESC>V100<ESC>XB1Current Date: <ESC>WAMM/DD/YY <ESC>WPM06 <ESC>H0100<ESC>V0200<ESC>XB1Expiration Date: <ESC>WAMM/DD/YY <ESC>Q1<ESC>Z Printer Output Page 3-2 SATO Programming Reference...
Page 87
If December 31st falls on a Wednesday, it belongs to the first week of the following year. If Calendar Increment calculation extends over the year, the result belongs to the week number of the following year. SATO Programming Refernece Page 3-3...
To specify the printing of a date and/or time field from the printer’s internal clock. This may be used to date/time stamp your labels. Input to Printer <ESC>A <ESC>H0100<ESC>V0100<ESC>XB1The current date is: <ESC>XB1<ESC>WAMM/DD/YY <ESC>H0100<ESC>V0200<ESC>XB1The current time is: <ESC>XB1<ESC>WAhh:mm <ESC>Q1<ESC>Z Printer Output Page 3-4 SATO Programming Reference...
The first day of the year is January 1st (001) and the last day of the year is December 31st (365 or 366 for leap years). 10. The TT command should not be specified for printing in numeric only bar codes. SATO Programming Refernece Page 3-5...
<ESC>A <ESC>WT9312251300 <ESC>Z Printer Output 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. Special Notes None Page 3-6 SATO Programming Reference...
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. SATO Programming Reference Page 4-1...
Clear Expanded Memory Command Structure <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...
This command recalls previously stored bit mapped TrueType fonts from Expanded Memory. Printer Input <ESC>A <ESC>V0100<ESC>H0100<ESC>CC1<ESC>BJT,1,02,02,01,00,0004,SATO <ESC>Q1<ESC>Z Printer Output Special Notes 1. TrueType fonts are stored in a fixed size bit mapped format by this command. SATO Programming Reference Page 4-3...
1. This command requires the Expanded Memory option. See your SATO representative for details. 2. The SATO True Type Download utility program can be used to auto- mate the download process from a computer running Windows 3.1 or above. For a copy of this utility program contact your SATO represen- tative.
Printer Output Special Notes 1. This command requires the Expanded Memory option. See your SATO representative for details. 2. Only one format can be recalled at a time. However, multiple feilds can be recalled from the same format. 3. The number of data characters contained in the “cc...c” field cannot exceed the value designated in the <ESC>/N Field Store command.
There is no printer output as a result of this command. See <ESC>YR Format/Field Recall command. Special Notes 1. This command requires the Expanded Memory 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.
To be added Special Notes 1. The Expanded Memory option is required for this command. See your SATO representative for details. 2. The <ESC>CC Memory Area Select Command must be sent prior to this command. 3. Several label images stored under different Storage Numbers can be printed with this command.
5. Graphics, PCX and BMP files can be stored with this command. 6. As many as 99 Form Overlays can be stored, however their combined storage area cannot exceed the available memory. 7. The forms stored by this command are cleared by the <ESC>*R com- mand. Page 4-8 SATO Programming Reference...
To recall a previously stored BMP file stored in Expanded Memory Printer Input <ESC>A <ESC>CC1<ESC>V100<ESC>H100 <ESC>GC001 <ESC>Q1<ESC>Z Printer Output Special Notes 1. The <ESC>CC Memory Area Select command must be sent before this command. 2. The printed image can be expanded or rotated. SATO Programming Reference Page 4-9...
There is no printer output as a result of this command. Special Notes 1. This command requires the Expanded Memory Option. See your SATO representative for details. 2. Data must be sent in binary format. 3. The Memory Area Select Command <ESC>CCa must be sent before this command.
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 Programming Reference Page 4-11...
Page 102
<ESC>Z Note: See Appendix C for detailed explanation on how to format a graphics data stream. Printer Output There is no printer output as a result of this command. See <ESC>GR Recall Custom Graphics command. Page 4-12 SATO Programming Reference...
Page 103
Section 4: Expanded Memory Commands Special Notes 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.
3rd Rotation, Base Reference Point <ESC>A<ESC>CC1<ESC>%2 <ESC>A<ESC>CC1<ESC>%3 <ESC>V0330<ESC>H0600<ESC>PY001 <ESC>V0100<ESC>H0800<ESC>PY001 <ESC>Q1<ESC>Z <ESC>Q1<ESC>Z Printer Output Special Notes 1. This command requires Expanded Memory option. See your SATO representative for details. 2. See the <ESC>PI Store PCX Graphics command. Page 4-14 SATO Programming Reference...
Page 105
<ESC>PY PCX Graphics Recall command. Special Notes: 1. This command requires Expanded Memory option. See your SATO representative for details. 2. Graphics cannot be stored as part of a format. 3. Only black and white PCX files can be stored.
There is no printer output as a result of this command. Special Notes 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.
There is no printer output as a result of this command. Special Notes 1. This command requires the Expanded Memory option. See your SATO representative for more information. 2. The Memory Areas specified by this command may be reversed using the LCD menu/configuration panel.
Printer Output Special Notes 1. This command requires the Expanded Memory option. See your SATO representative for more information 2. The following information is provided on the status label: Line 1: Memory size in Kbytes Line 2: The ID number assigned with the <ESC>BJF command...
SECTION 5. TWO-DIMENSIONAL SYMBOLS The following commands are used to create the two-dimensional symbologies supported by the SATO “e” and PRO printers. SATO Programming Reference Page 5-1...
3. The Reference Point for the Data Matrix symbol is the upper-left cor- ner. 4. The Format ID specified for “aa” is defined by the following table. The printer only supports the Format ID’s defined in the table. Page 5-2 SATO Programming Reference...
Page 111
Numeric, Space Base 11 Upper Case Alpha, Space Base 27 Upper Case Alpha, Space,Comma, Base 41 Period, Slash, Minus Upper Case Alphanumeric, Space Base37 ASCII 7-bit, Full Keyboard (20 ACSCII ISO 8-bit, International (20 8-Bit SATO Programming Reference Page 5-3...
Page 112
Section 5: Two-Dimensional Symbols 6. The ECC200 symbol data capacity is: SYMBOL SIZE MAXIMUM DATA CAPACITY Column Numeric Alphanumeric Full ASCII 1152 1392 1042 1632 1222 2100 1573 1048 2608 1954 1302 3116 2335 1556 Page 5-4 SATO Programming Reference...
<ESC>DCDATA MATRIX DATA MATRIX <ESC>Q1<ESC>Z Printer Output Special Notes 1. 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 Programming Reference Page 5-5...
Page 114
Immediately following the <ESC>BX Data Format designation command and preceding the <ESC>DC Print Data Command. Default: None Command Function To print sequential numbered Data Matrix symbols. Printer Input <ESC>A <ESC>V0100<ESC>H0100 <ESC>BX03081010000000001 <ESC>FX002+001005003<ESC>DC000060000 <ESC>Q4<E SC>Z Label Set #1 Printer Output Page 5-6 SATO Programming Reference...
Page 115
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 Programming Reference Page 5-7...
To print a Maxicode two-dimensional bar code image on a label. See Appendix B for specific information on using each individual bar code symbol. Command Function To print a UPS Maxicode symbol. <ESC>A<ESC>V0100<ESC>H0100 <ESC>BV1,1,2,123456789,840,001,[)><RS>01<GS>961Z01547089<GS>PSN <GS>056872<GS>349<GS>99999999<GS>001/005<GS>029<GS>N<GS> <GS>LENEXA<GS>KS<RS><EOT> <ESC>Q001<ESC>Z Page 5-8 SATO Programming Reference...
M Micro PDF417 Example: <ESC>BK0304400000021 Placement: Immediately preceding data to be encoded. Default: None Command Function To print a PDF417 two-dimensional bar code image on a label. Printer Input <ESC>A <ESC>V0100<ESC>H0100<ESC>BK0607400000021PDF417 PDF417 PDF417 <ESC>Q1<ESC>Z Printer Output Page 5-10 SATO Programming Reference...
Page 119
9. This command can be stored in a format. 10. The print height of the symbol will vary depending upon the data speci- fied; numeric only, alpha only or alphanumeric. 11. For module dimensions less than “4”, symbol quality may be degraded. SATO Programming Reference Page 5-11...
Connection Mode Parity Data (00 - FF Input Data Type 1 Numeric 2 Alphanumeric 3 Kanji (shift JIS Code) nn...n Data xx...x Data Size. Used in Automatic or Manual mode with binary data (0001 - 2953 bytes) Page 5-12 SATO Programming Reference...
Page 121
Section 5: Two-Dimensional Symbols Special Notes 1. Contact SATO Technical Support for specific usage information. 2. Parameters “c”, “d”, “ee”, “f f” and “gg” are not used for Micro QR Code. 3. Parameter “xx...x” is limited to 0001 to 0486 bytes for Model 1 and Micro QR Code.
Page 122
Section 5: Two-Dimensional Symbols This page left intentionally blank. Page 5-14 SATO Programming Reference...
Allows the user to defines custom Protocol Command codes. PRINTER INPUT <ESC>A <ESC>LD,{,},%,#,&,*,~,0,0,D5 <ESC>Z PRINTER 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. Page 6-2 SATO Programming Reference...
Page 125
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 Programming Reference Page 6-3...
Print Darkness Range A Print Darkness Range B Print Darkness Range C Print Darkness Range D Print Darkness Range E Print Darkness Range F Print Darkness Level 1 Print Darkness Level 2 Print Darkness Level 3 Page 6-4 SATO Programming Reference...
Page 127
Tear Off Offset (-1 to -99 dots) Not Used 00 to 99 Dispense Offset (0 to 99 dots) -01 to -99 Dispense Offset (-1 to -99 dots) Reserved 0 to 64 Gap Size (0 to 64 dots) Buzzer Enabled Buzzer Disabled SATO Programming Reference Page 6-5...
Page 128
<ESC>PC, , , , , , , , ,0, , , , , , , , , , , , , , , , , . 4. If only one setting is to be changed, the “aa” parameter must be an “F”. Page 6-6 SATO Programming Reference...
EEPROM. 2. To change the value stored in the EEPROM, use the <ESC>PC Printer Setting command or use the Printer Setting Utility program contained on the CDROM shipped with the printer. SATO Programming Reference Page 6-7...
CDROM shipped with the printer. 3. The Print Mode can also be set using DSW3-1, 3-2 and 3-4. The set- ting priority is determined by the Priority Setting in the LCD Panel Ser- vice Mode. Page 6-8 SATO Programming Reference...
CDROM shipped with the printer. 3. The Print Type can also be set using DSW2-1. The setting prior- ity is determined by the Priority Setting in the LCD Panel Service Mode. SATO Programming Reference Page 6-9...
CD-ROM shipped with the printer. 3. The Sensor Type can also be set using DSW3-2 and DSW3-3. The setting priority is determined by the Priority Setting in the LCD Panel Service Mode. Page 6-10 SATO Programming Reference...
Utility program contained on the CDROM shipped with the printer. 3. All command parameters must be present in the data stream sent to the printer. 4. Selecting X-On/X-Off, Bi-Com3 or Bi-Com4 will automatically place the printer in the Multi Buffer mode. SATO Programming Reference Page 6-11...
There is no printed output as a result of this command. Special Notes 1. This command can also be set using the LCD panel. The last setting received, whether it is via this command or manually input via the LCD panel will be active. Page 6-12 SATO Programming Reference...
There is no printed output as a result of this command. Special Notes 1. This command can also be set using the LCD panel. The last setting received, whether it is via this command or manually input via the LCD panel will be active. SATO Programming Reference Page 6-13...
1. TThis command can also be set using the LCD panel. The last setting received, whether it is via this command or manually input via the LCD panel will be active. 2. The printer default setting can be set by user download. Page 6-14 SATO Programming Reference...
There is no printed output as a result of this command. Special Notes 1. This command can also be set using the LCD panel. The last setting received, whether it is via this command or manually input via the LCD panel will be active. SATO Programming Reference Page 6-15...
To allow test labels to be printed via software control. PRINTER INPUT <ESC>A <ESC>TP2 <ESC>Z PRINTER OUTPUT Small Factory test print Special Notes 1. A test print can also be initiated via the LCD panel. Page 6-16 SATO Programming Reference...
If a CAN (18 hexadecimal) command is received , it will stop the print job and clear all data from the receive and print buffers. A delay of five milliseconds or more is required before any new data can be downloaded. The CAN command is effective immediately SATO Programming Reference Page 7-1...
ACK (06 hexadecimal) is returned if there are no errors and a NAK (16 hexadecimal) if a printer error exists. (1) To provide compatibility with older SATO printers, the RS232C interface can be configured to use an earlier Bi-Com 3 ENQ/ACK/NAK protocol selected via DSW2-8 and DSW1-7/8 (on the RS232C Interface module).The...
Page 141
Print Density Level 3 Print Density Level 4 Print Density Level 5 Reflective (Eye-Mark) Sensor Gap (See-Thru) Sensor No Sensor Zero Slash Disabled Zero Slash Enabled Reserved Not Supported Not Supported Online FeedDisabled Online Feed Enabled SATO Programming Reference Page 7-3...
Page 142
Current Life Counter in dots 9 - 12 1st (Current) Head Counter in dots 13 - 16 2nd (Previous) Head Counter in dots 17 - 20 3rd Head Counter in dots 21 - 24 Not Supported Page 7-4 SATO Programming Reference...
Page 143
Upon Receipt of an SOH (hexadecimal 01) followed immediately by a ASCII SB causes the printer to return a 50 byte Printer Status Word bounded by an STX-ETX pair that reports the system version of the printer. BYTE VALUE DESCRIPTION NUMBER 1-50 ASCII Firmware Version Information SATO Programming Reference Page 7-5...
Page 144
18 byte Form Overlay Status Word bounded by an STX- ETX pair that reports the Forms downloaded into the printer. BYTE VALUE DESCRIPTION NUMBER 01 to 99 Form Registration Number (ASCII value) 3-18 ASCII Form Name Page 7-6 SATO Programming Reference...
Page 145
Family Attribute Character Set Italic Attribute 79-80 Weight Attribute 81-82 Spread 83-84 Assent in dots 85-86 Registration Start Code 86-8 Registration End Code 88-95 Reserved 96-98 Code 99-100 Horizontal Valid Size 101-102 Left Gap Size SATO Programming Reference Page 7-7...
Page 146
Multi-Item Buffer with Ready/Busy Flow Control X-ON/X-OFF Flow Control Status 4 Bi-Comm Status 3 Bi-Comm STATUS BYTE DEFINITION, BI-COM PROTOCOL ASCII DEFINITION OFF-LINE No Errors Ribbon Near End Buffer Near Full Ribbon Near End and Buffer Near Full Page 7-8 SATO Programming Reference...
Page 147
ON-LINE, COMPILING PRINT JOB No Errors 4 Ribbon Near End Buffer Near Full (¹) Ribbon Near End and Buffer Near Full (¹) Print Stop (without error) OFF-LINE, ERROR CONDITION Head Open Paper End Ribbon End Media Error SATO Programming Reference Page 7-9...
Page 148
Section 7: Bi-Directional Communications ASCII DEFINITION Sensor Error Head Error Cutter Error Other Error Condition (¹) Not supported by legacy Bi-Com protocols Page 7-10 SATO Programming Reference...
Bar Codes. Prints a 1:3 ratio bar code. Codabar Code 39 Interleaved 2 of 5 (I 2/5) UPC-A/EAN-13 EAN-8 Industrial 2 of 5 Matrix 2 of 5 reserved reserved reserved reserved Code 93 reserved UPC-E Bookland Code 128 UCC 128 SATO Programming Reference Page A-1...
Page 150
BTabbccddee Bar Codes. Variable Ratio. provides the ability to print a bar code with a ratio other than those specified through the standard bar code commands (B, BD, and D). Bar code option: Codabar Page A-2 SATO Programming Reference...
Page 151
Vertical cell size (03-12 dots per cell) Cells per line. Use 000 for optimized symbol. Cell lines. Use 000 to optimize. Mirror image 0 Normal Print 1 Reverse Print Guide cell thickness (01-15) 01 indicates normal type. SATO Programming Reference Page A-3...
Page 152
Box. Prints a box. For values aa, bbbb, cc, and dddd, see instructions 2-43 Hdddd for horizontal and vertical lines. Units of measurement are dots. Width of horizontal side Width of vertical side cccc Length of vertical side dddd Length of horizontal side Page A-4 SATO Programming Reference...
Page 153
Journal Print. Provides the ability to print text line by line. Fixed 2-42 spacing between lines and characters. Kab90cc Recall Custom Designed Characters. Recalls for printing a custom 2-13 character stored by the Tabcc(data) command. 1 16 x 16 matrix 2 24 x 24 matrix SATO Programming Reference Page A-5...
Page 154
Font type. Specifies the 8W x 15H dot matrix font (including 2-26 descenders). Tabcc(data) Store Custom Designed Characters. To create and store custom 2-12 characters or images in the printerís volatile memory. See Kab90cc to recall the character for printing. 1 16 x 16 matrix Page A-6 SATO Programming Reference...
Page 155
Font type. Specifies the 17W x 17H dot matrix font (including 2-26 descenders). Font type. Specifies the 5W x 9L dot matrix font (including 2-26 descenders). Font type. Specifies the 48W x 48L dot matrix font (including 2-31 descenders). 0 Disables auto-smoothing of font SATO Programming Reference Page A-7...
Page 156
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. 2-29 A Helvetica Bold (proportional spacing) B Helvetica Bold (fixed spacing)
Page 157
Cut. Specifies the number of labels to print between each cut. It is 2-23 independent of the Quantity command. aaaa Number of labels between each cut Cut Last. Cuts any printed labels that remain in the printer 2-25 INSTRUCTION DESCRIPTION PAGE SATO Programming Reference Page A-9...
Numeric data, Week (00-99), Years (1-9), Months (01-99), Days (001-999), Hours (001-999). WTaabbccddee Calendar Set. To set the time and date of the printerís internal clock. Year (00-99) Month (01-12) Day (01-31) Hour (00-23) Minute (00-59) Page A-10 SATO Programming Reference...
Page 159
TrueType Font Recall. Recalls a previously stored bit mapped dd,ee,fff,gg..g TrueType font for use. Font ID (01-99 Horizontal Expansion (01-12) Vertical Expansion (01-12) Reserved, always 00 Character pitch (01-99) f f f f Number of characters gg...g Data to be printed using font SATO Programming Reference Page A-11...
Data to be placed in field. YS,aaa Store Format/Field. To store a field in a format in the memory card. /Nbb,cc Format number (001 -999) Field number (01-99) Number of characters in the field Page A-12 SATO Programming Reference...
Page 161
Vertical size of window to be stored (50 to Vmax) *a,bbb Clear Expanded Memory. Clears individual memory and buffer areas. Memory section to be cleared SATO graphic files (001-999) PCX graphic file (001-999) Stored formats (001-999) TrueType fonts, memory card (001-009) BMP graphic file (001-999)
Section 2: Command Codes of this manual for details. Print Type. Selects the thermal printing method. Thermal transfer printing Direct thermal printing Print Mode. Selects desired backfeed operation. No backfeed, continuous operation Tear-Off Cut, backfeed after print Page A-14 SATO Programming Reference...
Page 163
00 to 99, offset value in dots. Test Print. Allows test labels to be printed via host command. 6-16 Small user test print. Large user test print. Small factory test print. Large factory test print. SATO Programming Reference Page A-15...
LEGACY COMMANDS These commands are provided for legacy applications that use command streams created for older SATO printers. It is not recommended that these commands be used for new applications. Expanded Print Length. This command sets the printer to the Expanded print length (14 inches).
Page 166
10.0 200 dpi 10.0 10.2 EXAMPLE <ESC>H0400<ESC>V0025<ESC>B002100A12345B <ESC>H0440<ESC>V0135<ESC>XS12345 NOTES 1. You must add the appropriate (A, B, C or D) Start and Stop characters to the data string. The printer does not automatically add them Page B-2 SATO Programming Reference...
Page 167
18.8 300 dpi 10.3 23.1 11.5 12.7 10.0 200dpi 10.0 15.6 10.0 EXAMPLE <ESC>H0100<ESC>V0025<ESC>B103100*CODE 39* <ESC>H0230<ESC>V0130<ESC>XS*CODE 39* NOTES You must add the”*” Start/Stop characters to the data stream. The printer does not add them automatically. SATO Programming Reference Page B-3...
14.3 22.6 10.0 11.3 200 dpi 10.0 12.7 14.5 10.0 EXAMPLE <ESC>H0100<ESC>V0100<ESC>B20310045676567 <ESC>H0140<ESC>V0210<ESC>XM4567 6567 NOTES To add horizontal guard bars to the top and bottom of the bar code, use the Line and Box command. Page B-4 SATO Programming Reference...
200 dpi 15.0 112% 20.0 150% NOTES D3 provides guide bars that extend longer than the rest of the bar code. BD3 provides guide bars and the human readable text below the symbol. EXAMPLE <ESC>H0100<ESC>V0375<ESC>BD30215001234567890 SATO Programming Reference Page B-5...
Page 170
5. Subtract the result of Step 4 from the next highest increment of 10. i.e., 90 - 85 = 5 6. The correct Modulo 10 check digit for the 11 digit string “01234567890” is 5. Page B-6 SATO Programming Reference...
Page 171
NOTES 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. EXAMPLE <ESC>H0400<ESC>V0375<ESC>BD4031001234567 SATO Programming Reference Page B-7...
CHARACTER SET 0-9 (numeric only) NOTES To add horizontal guard bars to the top and bottom of the bar code, use the Line and Box command. EXAMPLE <ESC>H0100<ESC>V0600<ESC>BD50310012345 <ESC>H0300<ESC>V0710<ESC>XS12345 Page B-8 SATO Programming Reference...
CHARACTER SET 0-9 (numeric only) NOTES To add horizontal guard bars to the top and bottom of the bar code, use the Line and Box command. EXAMPLE <ESC>H0100<ESC>V0775<ESC>BD60310012345 <ESC>H0230<ESC>V0885<ESC>XS12345 SATO Programming Reference Page B-9...
36.5 200 dpi 10.0 18.3 15.0 13.8 12.2 EXAMPLE The following will start in Subset A for the characters “AB”, shift to Subset 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 Page B-10 SATO Programming Reference...
<ESC>DAbbccc (data) d Width of narrow element in dots (01-12) Bar height in dots (001-999) (data) Bar code data (numeric); maximum of 15 digits Required check digit CHARACTER SET 0-9 (numeric only) EXAMPLE <ESC>H0100<ESC>V0950<ESC>BA03100123455 <ESC>H0170<ESC>V1060<ESC>XS12345 SATO Programming Reference Page B-11...
Page 176
0-9, A-Z, -, ., Space, $, /, +, % DENSITY TABLE Narrow/ “X” Printer Value Density Wide Dimension Resolution of “bb” (char/inch) Ratio (mils) 33.6 600 dpi 22.5 16.7 33.3 300 dpi 16.7 11.1 22.5 200 dpi 10.0 11.3 EXAMPLE <ESC>H0100<ESC>V1125<ESC>BC0310008123 <ESC>H0155<ESC>V1240<ESC>XS1 234ABCD Page B-12 SATO Programming Reference...
100% Below Minimum 300 dpi 10.0 13.3 100% 10.0 200 dpi 15.0 112% 20.0 150% NOTES Command DE provides guide bars that extend longer than the rest of the bar code. EXAMPLE <ESC>H0400<ESC>V0550<ESC>DE03100123456 <ESC>H0375<ESC>V0600<ESC>OB0 <ESC>H0408<ESC>V0655<ESC>OB123456 SATO Programming Reference Page B-13...
Page 179
• If any part of the human readable text extends outside the printable area, none of it will be printed. Care should be exercised when placing the bar code to allow for any automatically created human readable text. SATO Programming Reference Page B-15...
Page 180
Appendic B. Bar Code Specifications EXAMPLE Without incrementing <ESC>A <ESC>H0100<ESC>V0100<ESC>BI04150101234567000000001 <ESC>Q2<ESC>Z With incrementing <ESC>A <ESC>H0100<ESC>V0100<ESC>F001+001 <ESC>BI04150101234567000000001 <ESC>Q2<ESC>Z Page B-16 SATO Programming Reference...
(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. EXAMPLE <ESC>H0100<ESC>V0120<ESC>BP94089 <ESC>H0100<ESC>V0160<ESC>BP123456 <ESC>H0100<ESC>V0200<ESC>BP123456789 <ESC>H0100<ESC>V0240<ESC>BP12345678901 SATO Programming Reference Page B-17...
+ = Increment - = Decrement Increment/Decrement Steps (001 - 999) Sequential numbering start position (001 - 999) Referenced to left side. Incremented data length measured from start position (001 - 999) PRINT DATA <ESC>DCxxx...x xx..x Data Page B-18 SATO Programming Reference...
Page 183
- 7F ASCII ASCII ISO 8-bit, International (20 - FF 8-Bit 8-Bit NOTES See AIM USA Technical Specification Data Matrix for information on the structure of this symbology. EXAMPLE <ESC>V0100<ESC>H0100 <ESC>BX05051010000000001 <ESC>DCDATA MATRIX DATA MATRIX SATO Programming Reference Page B-19...
“000000” “000” “000” 91 characters fixed data fixed data fixed data alphanumeric CHARACTER SET NOTES See AIM I.S.S specification for information on the structure of this symbology. EXAMPLE <ESC>A<ESC>V0100<ESC>H0100 <ESC>BV1,1,2,123456789,840,001,[)><RS>01<GS>961Z01547089 <GS>UPSN<GS>056872<GS>349<GS>99999999<GS>001/005 <GS>029<GS>N<GS><GS>LENEXA<GS>KS<RS><EOT> <ESC>Q001<ESC>Z Page B-20 SATO Programming Reference...
Data to be printed. CHARACTER SET ASCII 128 character set plus PC437 Extended Character set. NOTES See AIM USA Uniform Symbology Specification PDF417 for information on the structure of this symbology. EXAMPLE <ESC>V0100<ESC>H0100<ESC>BK0607400000021PDF417 PDF417 PDF417 SATO Programming Reference Page B-21...
FNC4 >E Subset A >E Subset A >E FNC1 >F FNC1 >F FNC1 >F • Note: When Subset C is chosen, you must specify an even number of data positions because of the interleaved encodation method. Page B-22 SATO Programming Reference...
Page 187
SUBSET SUBSET SUBSET SUBSET SUBSET VALUE VALUE “ “ & & ‘ ‘ < < NUL>(space) . >(space) SOH >! a or >! >J >J STX >" b or >" ETX ># c or ># SATO Programming Reference Page B-23...
Page 188
>5 FNC1 >F FNC1 >F FNC1 >F SYN >6 v >6 SUBSET A START CODE >G ETB >7 w >7 SUBSET B START CODE .H CAN >8 x >8 SUBSET C START CODE >I Page B-24 SATO Programming Reference...
• 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 Programming Reference Page C - 1...
Page 190
6. To store the custom designed character in memory using a binary data stream, thecommand would be: <ESC>A <ESC>T1B3F 01 <ESC>Z NOTE: Spaces are shown between hexidecimal values in the above example for clarity only and are not included in the data string. Page C - 2 SATO Programming Reference...
Page 191
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>XMTHISSIDE UP ! <ESC>Q1 <ESC>Z The printer output for both the hexadecimal and binary format examples is: SATO Programming Reference Page C - 3...
(48 x 48). 2. 2. Lay out a grid and draw the image on the grid. • Each square represents one dot • Blacken squares for each printed dot Page C - 4 SATO Programming Reference...
Page 195
PRINT #1,CHR$(&H01);CHR$(&H80);CHR$(&H00);CHR$(&H03);CHR$(&HC0); PRI NT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00); PRINT #1,CHR$(&H03);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF); PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF); PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF); PRINT #1,E$; .Q1"; E$; .Z"; CHR$(3) CLOSE #1 The printer output for both the hexadecimal and binary format example is: SATO Programming Reference Page C - 7...
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 Programming Reference Page D-1...
4. 4 When the message “ALT PROTOCOL DEFAULT COMPLETED” appears on the display, turn the printer off. 5. When the printer is powered up again, the Alternate Protocol Command Code set will be active. All previous custom settings will be lost. Page D-2 SATO Programming Reference...
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 Programming Reference Page D--3...