ページ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
ページ2に含まれる内容の要旨
© Copyright 1999 SATO Europe GmbH
ページ3に含まれる内容の要旨
Contents 1. Introduction .................................................................................... 7 1.1 The SATO RISC Programming Language .......................... 8 1.3 Selecting Protocol Control Codes ....................................... 8 1.4 Using Basic ......................................................................... 9 1.5 Printing with the Parallel Port ........................................... 10 1.6 Printing with the RS232 Port .................................
ページ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 ..
ページ5に含まれる内容の要旨
Custom Protocol Command Codes Download ...........................117 3. Command Code Quick Reference ..............................................119 3.1 Instruction ........................................................................119 3.2 Calendar Option Commands .......................................... 129 3.3 Memory Card Option Commands ................................... 130 4. Bar Code Specifications ............................................................ 133 Codabar ........
ページ6に含まれる内容の要旨
6.2 Initial Checklist ................................................................ 188 6.3 Troubleshooting the Centronics (Parallel) Interface ....... 188 6.4 Troubleshooting the RS232C (Serial) Interface .............. 190 6.5 Error Signals M8400RV and M84S Series Printers (Some procedures are not NA for M-8459S) .................. 191 6.6 Error Signals CL408/412 ................................................ 192 6.7 Error Signals CL608/612 (VA) ........................................ 19
ページ7に含まれる内容の要旨
Programming Manual 1. Introduction 1. 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. The allowable range for these references is dependent upon the particular printer to accomodate different print widths and reso- lutions. These differenc
ページ8に含まれる内容の要旨
1. Introduction Programming Manual 1.1 The SATO RISC Programming Language A programming language for a printer is a familiar concept to most pro- grammers. It is a group of commands that are designed to use the internal intelligence of the printer. The commands, which are referred to as RISC Command Codes, contain non-printable ASCII characters (such as , , ) and printable characters. These commands must be assembled into an organized block of code to be sent as one data stream to
ページ9に含まれる内容の要旨
Programming Manual 1. Introduction The Protocol Control codes are selected by a DIP switch DSW2-7 (Refer to the Operation Manual,). Control Standard Non- Description Character DSW2-7 Standard OFF DSW2-7 ON STX 02 Hex 7B Hex = { Start of Data ETX 03 Hex 7D Hex = } End of Data ESC 1B Hex 5E Hex = ^ Command Code to follow NULL 7E Hex 7E Hex = ~ Cutter Command ENQ 05 Hex 40 Hex = @ Get printer status, Bi-Com mode CAN 18 Hex 21 Hex = ! Cancel print job, Bi-Com mode 1.4 Using Basic It may be useful to
ページ10に含まれる内容の要旨
1. Introduction Programming Manual 4. You may want to minimize keystrokes and program size by assigning the character to a string variable since this character is used quite often. The following two examples in BASIC show a typical example using these hints. Both of these examples use the Standard Protocol codes. 1.5 Printing with the Parallel Port 10 E$=CHR$(27) Sets the “E$” string as an character 20 WIDTH “LPT1:”,255 Sets the width of the output to 255 characters 30 LPRINT E$;"A";
ページ11に含まれる内容の要旨
Programming Manual 1. Introduction 1.6 Printing with the RS232 Port 10 E$=CHR$(27) Sets the “E$” string as an character. 20 OPEN “COM1:9600,N,8,1,CS,DS” AS #1; Opens the COM1 port for out- put and sets the parameters as 9600 baud, No parity, 8 Data bits, 1 Stop bit and instructs the port to ignore the CTS and DSR control signals. 30 PRINT #1,CHR$ (2); Sends an (ASCII Code a decimal “2”) to the printer instructing it to prepare to receive a message. 50 PRINT #1,E$;"A"; Sends an “
ページ12に含まれる内容の要旨
1. Introduction Programming Manual 1.7 The Print Area The maximum print area for the various RISC printers are listed in the table on the next pages. Most of your label applications will not require tags/labels that fill the entire print area, therefore it is important to under- stand how to work with labels that do not use the entire print area. The goal is to help you avoid printing where no label exists, which may lead to print head damage, not to mention frustration when you cannot see the p
ページ13に含まれる内容の要旨
Programming Manual 1. Introduction Print Area for CL Printers. CL 408 CL 412 CL 608 (VA) CL 612 (VA) Resolution 203 dpi 305 dpi 203 dpi 305 dpi 8 dot/mm 12 dot/mm 8 dot/mm 12 dot/mm Max print 832 dots 1248 dots 1216 dots 1984 dots width 4.1 in. 4.1 in. 6.0 in. 6.5 in. 104 mm 104 mm 152 mm 165 mm Max label 5.0 in. 5.0 in. 7.0 in. 7.0 in. width 128 mm 128 mm 178 mm 178 mm Standard 1424 dots 2136 dots 1424 dots 2136 dots print length 7.0 in. 7.0 in. 7.0 in. 7.0 in. 178 mm 178 mm 178 mm 178 mm Expan
ページ14に含まれる内容の要旨
1. Introduction Programming Manual Print Area for S-Type Printers M8485S M4890S M8460S M8459S Resolution 203 dpi 305 dpi 203 dpi 203 dpi 8 dot/mm 12 dot/mm 8 dot/mm 8 dot/mm Max print 1024 dots 1344 dots 1216 dots 896 dots width 5.0 in. 4.4 in. 6.0 in. 4.4 in. 128 mm 112 mm 152 mm 112 mm Max label 5.2 in. 5.2 in. 6.4 in. 5.2 in. width 134 mm 134 mm 165 mm 134 mm Standard 1424 dots 2136 dots 1424 dots 1424 dots print length 7.0 in. 7.0 in. 7.0 in. 7.0 in. 178 mm 178 mm 178 mm 178 mm Expanded 2848
ページ15に含まれる内容の要旨
Programming Manual 1. Introduction PrintAreaforXL andRVprinters XL 400 XL410 M8400RV Resolution 203 dpi 305 dpi 203 dpi 8 dot/mm 12 dot/mm 8 dot/mm Max print 800 dots 1200 dots 832 dots width 3.9 in. 3.9 in. 4.1 in. 100 mm 100 mm 104 mm Max label 4.0 in. 4.0 in. 5.0 in. width 102 mm 102 mm 128 mm Standard 1920 dots 1920 dots 1424 dots print length 9.4 in. 9.4 in. 7.0 in. 240 mm 240 mm 178 mm Expanded 2848 dots print length 14.0 in. using 356 mm AX 1 Expanded print length with memory card 12
ページ16に含まれる内容の要旨
1. Introduction Programming Manual There are two methods available to make sure your printed output will appear correctly on your label. They are as follows: 1.8 First Method: Using Base Reference Point Send the Base Reference Point command as part of your data to the printer to set a new base reference point for your label. Calculate the dis- tance (in dots) from the normal base reference point to the closest edge of the label. Issue the Base Reference Point command A3 after the Start comm
ページ17に含まれる内容の要旨
Programming Manual 1. Introduction On the following 2 pages, the methods above are described with a sample tag/label output. These samples reflect how the printed information would appear on a 128mm wide label. If you want to test any of the sample tag/ label outputs and are using tags/labels less than 128mm in width, we sug- gest that you add the Base Reference Point command to the data stream in order for the images to print on your tags/labels. Warning You must be careful not to print off the
ページ18に含まれる内容の要旨
1. Introduction Programming Manual Example for first Method, using base reference point Calculation: nnnn = (165mm - 70mm) x 12 dot/mm = 1140 A A3H1140V0001 H0070V0100L0202XL0SATO H0050V0200B103100*SATO* H0170V0310L0101XSSATO Z Example for second Method, horizontal position offset A H1210V0100L0202XL0SATO H1190V0200B103100*SATO* H1310V0310L0101XSSATO
ページ19に含まれる内容の要旨
Programming Manual 1. Introduction 95mm 70mm 165mm The image is moved horizontally to the right 95mm (1140 dots) so that it canbeprintedona70mm widelabel. For more information, see the Base Reference Point command descrip- tion. SATO RISC Printers 19 Label feed direction
ページ20に含まれる内容の要旨
1. Introduction Programming Manual This page is intentionally left blank. 20 SATO RISC Printers