SATO M8490S manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation SATO M8490S. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel SATO M8490S ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation SATO M8490S décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation SATO M8490S devrait contenir:
- informations sur les caractéristiques techniques du dispositif SATO M8490S
- nom du fabricant et année de fabrication SATO M8490S
- instructions d'utilisation, de réglage et d’entretien de l'équipement SATO M8490S
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage SATO M8490S ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles SATO M8490S et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service SATO en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées SATO M8490S, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif SATO M8490S, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation SATO M8490S. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    SATO Europe GmbH SATO Europe GmbH Im Hülsenfel d 13 40721 Hil den Germany Tel.:+ 49 (0)2103 9592-0 Fax.:+4 9 (0)210 3 55322 PROGRA MMING MANUAL SATO RISC PRINTERS CL40 8/412, CL60 8/612 ( VA), XL400/ 410, M8400R V, M84 59S, M 8460 S, M8485 S, M8 490S Issued June 19 99[...]

  • Page 2

    © Cop yright 1999 SA T O Europe GmbH[...]

  • Page 3

    i Contents 1. Introducti on ................. ............. ............. ............. ............. ............. .. 7 1.1 The SA TO RISC Programming La nguage ........... ............. .. 8 1.3 Selecting Protocol Control Codes ........................ ............. .. 8 1.4 Using Basic ................... ............. ............. ............[...]

  • Page 4

    ii Line Feed ............. ............ ............. .................... ............. ............. . 61 Mirror Imag e (From Firmware V ersio n1E2050, 1E30 02 for 6xxV A) .................. 63 Off-Line/Pause ..... ............ ............. ............. ............. .................... . 72 Postnet .... ............. ............ ............[...]

  • Page 5

    iii Custom P rotocol Com mand Cod es Downlo ad ............... ............ 1 17 3. Command Co de Quic k Reference .. ............. ............. .................. 1 19 3.1 Instruction .. ............. ............. ............. ............. ............. ..... 1 19 3.2 Calendar Option C ommand s .................. ............. ........... 129 [...]

  • Page 6

    iv 6.2 Initial C hecklis t ................... .................... ............. ............ 188 6.3 T roubleshootin g the Cen tronics (P arallel) Interface ....... 188 6.4 T roubleshoo ting th e RS232 C (Seri al) Interfa ce ........ ...... 190 6.5 Error S ignals M 8400RV a nd M84S Series P rint ers (Some pro cedures are not NA f or M-8459S ) ...[...]

  • Page 7

    Programming Manual 1. Introductio n SATO RISC Printers 7 1. Introduction This manual p resents the c omman ds that are used wi th the SA T O RISC Pr inters to pr oduce l abels with logos, bar code s and alph anumer ic data. All of the RISC c ommand s use the same syn tax. Som e commands re f er- ence a p hysical point o n the l abel u sing h ori zo[...]

  • Page 8

    8 SATO RISC Printers 1. Introduction P rogramming Manual 1.1 The SA T O RISC Programming Language A programming langu age f or a printer is a familiar concept to most pro - grammers. It is a group of commands th at are des igned to us e the i nter nal intelli gence of the pr inter. The commands, which ar e referred to as RISC Comma nd Codes, c onta[...]

  • Page 9

    Programming Manual 1. Introductio n SATO RISC Printers 9 The Protocol Con trol codes are sel ected by a DIP s witch DSW2-7 (Refer to the Operation Manual,). 1.4 Using Basic It may be useful to test your printe r using a BASIC program on a PC. Y ou may also write your actu al produc tion programs in B ASIC. Whatev er the reason , if you will be wo r[...]

  • Page 10

    10 SATO RISC Printers 1. Introduction P rogramming Manual 4. You may wan t to minim ize keystrok es and p rogram siz e by assi gning the <ESC> charac ter to a string variab le sinc e this character i s used quite often. The following two e x ampl es in BASIC show a typ ical example using the se hints. Both o f these examples us e the St andar[...]

  • Page 11

    Programming Manual 1. Introductio n SATO RISC Printers 11 1.6 Printing with the RS232 P ort 10 E$=CHR$(27) Sets the “E$” string as a n <ESC > c har act er. 20 OPEN “CO M1:9600, N,8,1,C S,DS” AS #1; Opens the COM1 port for out- put a nd se ts t he par ame te rs as 9600 baud, No pa rity, 8 Data bits, 1 Stop bit and in str uct s th e por[...]

  • Page 12

    12 SATO RISC Printers 1. Introduction P rogramming Manual 1.7 The Print Area The maximum pr int area for the v a rio us RISC pri nters are listed in the table on the next pages. Mos t of your lab el appli cation s wil l not req uire tags/lab els that fil l the ent ire pr int area , therefore it is impor tant to under- stand how to work with label s[...]

  • Page 13

    Programming Manual 1. Introductio n SATO RISC Printers 13 Print Area for CL Printers . 1.) When a memo ry car d is us ed to expa nd the p rint len gth, the c ard capa city is used ins tead, n ot in addi tion to , the inter nal memo ry. 2.) Li mited by the digits in the comm and field . CL 408 CL 412 CL 608 (V A) CL 612 (V A) Resolution 203 dpi 8 do[...]

  • Page 14

    14 SATO RISC Printers 1. Introduction P rogramming Manual Print Area for S-Type Printers 1.) When a memo ry car d is us ed to expa nd the p rint len gth, the c ard capa city is used ins tead, n ot in addi tion to , the inter nal memo ry. 2.) Li mited by the digits in the comm and field . M8485S M4890S M84 60S M8459S Resolution 203 dpi 8 dot/mm 305 [...]

  • Page 15

    Programming Manual 1. Introductio n SATO RISC Printers 15 P r i n tA r e af o rX La n dR Vp r i n t e r s 1.) When a memo ry car d is us ed to expa nd the p rint len gth, the c ard capa city is used ins tead, n ot in addi tion to , the inter nal memo ry. 2.) Li mited by the digits in the comm and field . XL 400 XL410 M84 00R V Resolution 203 dpi 8 [...]

  • Page 16

    16 SATO RISC Printers 1. Introduction P rogramming Manual There are two m ethods av ailable to make sure your pr inted output wi ll appe ar co rre ctly on y our l abel . The y are as f ollo ws: 1.8 First Method: Using Base Reference P oint Send the Base R eference P oi nt com mand as pa r t of your data t o the pri nter to set a n ew base reference[...]

  • Page 17

    Programming Manual 1. Introductio n SATO RISC Printers 17 On the following 2 pa ges, the meth ods above are desc rib ed wit h a samp le tag/label ou tput. These sam ples reflect how the prin ted informatio n would appear o n a 128m m wide lab el. If you want to tes t any of the sample tag/ label outputs an d are using tags/labe ls less than 128mm i[...]

  • Page 18

    18 SATO RISC Printers 1. Introduction P rogramming Manual Example for fir st Method, using bas e reference point Calcula tion: n nnn = ( 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<[...]

  • Page 19

    Programming Manual 1. Introductio n SATO RISC Printers 19 The image is moved horizontall y to the ri ght 95mm (1140 d ots) so that it c a nb ep r i n t e do na7 0 m m w i d el a b e l . F or more informatio n, see the Base Reference P oint command descr ip- tion. Label fee d direction 70mm 95mm 165m m[...]

  • Page 20

    20 SATO RISC Printers 1. Introduction P rogramming Manual This pag e is inten tional ly left b lank.[...]

  • Page 21

    Programming Manual 2. Command Codes SATO RISC Printers 21 2. Command Cod es This secti on contai ns all th e RISC p r inter Com mand Co des. The com - mands must be sen t to the pr inte r in an organ ized fashion in orde r for the label( s) to pr int. The object ive of this chapter is t o explain the different command s and pro- vide examples of th[...]

  • Page 22

    22 SATO RISC Printers 2. Command Codes Programming Manual Bar Codes Command S truc ture: 1:3 nar ro w/w ide b ar rati o <ESC > Babbcccd 2:5 n arr ow/w ide r at io <E SC> BDabbcccd 1:2 nar ro w/w ide b ar rati o <ESC > Dabbcccd a: Bar Co de Symbo l 0: Codabar 1: Code 39 2: Interleaved 2 of 5 ( I 2/5) 3: UPC-A / EAN-13 4: EAN- 8 5: [...]

  • Page 23

    Programming Manual 2. Command Codes SATO RISC Printers 23 Function: To print bar cod e images on a labe l. With this c omman d, there are 13 standar d bar code sy mbolog ies availa ble to be pr inted and t hree two dimens ional symbols . Eac h of the bar cod es are u nique, and it is im- portant to know the differ ences. Input: <ESC>A <ESC[...]

  • Page 24

    24 SATO RISC Printers 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 <E[...]

  • Page 25

    Programming Manual 2. Command Codes SATO RISC Printers 25 UCC-128 withou t Incrementing Input: <ESC>A <ESC>H0100<ESC>V0100<ESC>BI07150101234567000000001 <ESC>Q2<ESC>Z Outp ut: UCC-128 with In crementing Input: <ESC>A <ESC>H0100<ESC>V0100<ESC>F001+001<ESC>BI0715010123456 7000000001 &l[...]

  • Page 26

    26 SATO RISC Printers 2. Command Codes Programming Manual Note: 1. UPC and EAN ba r codes are not affected by the different types of narro w to wide ratios. Instead, the <ESC>D command adds descender bars to these codes w here needed to meet UPC spec- ifications. The <ESC>BD command puts dece nder bars and human readable text below the [...]

  • Page 27

    Programming Manual 2. Command Codes SATO RISC Printers 27 Bar Codes, Expansion Command S truc ture: <ESC> BWaabbb aa: Ex pansion fac tor by whic h the width of all bars and spa- ces will be increa sed (01-12 ) bbb: Bar h eight b y dot (00 4-600 dots) Exampl e: <ESC> BW02100 Placem ent: Immedia tely follows th e <ESC> BT com mand a[...]

  • Page 28

    28 SATO RISC Printers 2. Command Codes Programming Manual Bar Codes, V ariable Ratio Command S truc ture <ESC> BTabbccddee a: Bar Co de Symbo l 0: Codabar 1: Code 39 2: Interleaved 2 of 5 5: Industri al 2 of 5 6: Matrix 2 of 5 bb: Narro w space i n dots ( 01-99) cc: Wi de space in dots (01-9 9) dd: Narro w bar i n dots (01-99 ) ee: Wi de bar [...]

  • Page 29

    Programming Manual 2. Command Codes SATO RISC Printers 29 Note: 1. This command must be immediately f ollowed b y the <ESC>BW Bar Code Expansion command. 2. Y ou may use only one va riable ratio bar c ode per label . 3. If the data specified i n this command is incorrect, the command is ignored and the ratio use d will be based on the previou[...]

  • Page 30

    30 SATO RISC Printers 2. Command Codes Programming Manual Base Reference P oint Command S truc ture: <ESC> A3H-aaaaVbbbb -: This c haracter i s optiona l. Whe n prese nt, it spec ifies that the horiz ontal offset is in the neg ative directi on. If it is left out the offset directi on is positiv e. aaaa: H orizontal P rint O ffset (s ee Note 5[...]

  • Page 31

    Programming Manual 2. Command Codes SATO RISC Printers 31 Note: 1. Use of this command will set the V er tical/Hori zontal Offset setting of the printer configur ation until a ne w Base Reference P oint command is issued or the setting is changed from the operator panel. 2. This command may be used more than once in a print job. 3. An alternative t[...]

  • Page 32

    32 SATO RISC Printers 2. Command Codes Programming Manual Characters, Custom-Designed Command S truc ture: Store Co mmand <ESC > Tabcc Reca ll comma nd <ESC > Kab90cc a: Matrix si ze 1: 16x16 matrix 2: 24x24 matrix b: Speci fies the c haract er encod ing me thod for th e data stream H: Hexade cimal char acters B: Binary ch aract ers cc:[...]

  • Page 33

    Programming Manual 2. Command Codes SATO RISC Printers 33 Input: <ESC>T1H3F 0100038007C00FE01FF03FF87FFCFFFE07C007C007C007C007C00 7C007C007C0 <ESC>Z <ESC>A <ESC>H150<ESC>V100<ESC>L0505<ESC>K1H903F W2434SH Outp ut: Note: 1. When pri nting the custom character using the Recal l command, the character is affec[...]

  • Page 34

    34 SATO RISC Printers 2. Command Codes Programming Manual Character Expansion Command S truc ture: <ESC> Laabb aa: Mu ltiple to expa nd hor izontal ly (01- 12) bb: Mult iple to ex pand v ertica lly (0 1-12) Exampl e: <ESC> L0305 Placem ent: Precedi ng the d ata to b e expande d Default: < ESC>L0 101 Function: To expand charac ters[...]

  • Page 35

    Programming Manual 2. Command Codes SATO RISC Printers 35 Note: 1. This command wil l expand the follo wing f onts: Fonts U, S, M, XU , XS, XM, O A & OB and fonts WB, WL, XB and XL. 2. This command will also a ffect the f ollowing commands: Characte r Pitch Characters, Custom-Designed 3. The Character E xpansion value is in effect f or the curr[...]

  • Page 36

    36 SATO RISC Printers 2. Command Codes Programming Manual Character, Fixed Spacing Command S truc ture: <ESC> PR Exampl e: See Abov e Placem ent: Precedi ng the d ata Default: The de fault i s Propor tional Sp acing. Function: To reset proportion al sp acing and place th e printer to fixe d spacin g. Input: <ESC>A <ESC>H0025<ES[...]

  • Page 37

    Programming Manual 2. Command Codes SATO RISC Printers 37 Character Pitch Command S truc ture: <ESC> Paa aa: N umber of dots be tween charac ters (00-99 ) Exampl e: <ESC> P03 Placem ent: Precedi ng the t ext to be printe d Default: < ESC>P02 Funktion: To designate the amo unt of spa cing (in do ts) betwe en charact ers. This co mm[...]

  • Page 38

    38 SATO RISC Printers 2. Command Codes Programming Manual Note: 1. This command is affected by the <ESC>L Character Expansion command . The character pitch is actually the product of the cur- rent horizontal expansion m ultiple and the designated pitch val ue . Example: <ESC> L0304 <ESC>P0 3 P i t c h=( 0 3 )x( 0 3 )=9d o t s 2. T[...]

  • Page 39

    Programming Manual 2. Command Codes SATO RISC Printers 39 Character, Propo rtional Spacing Command S truc ture: Rese t to pro portiona l spa cing <ESC > PS (defau lt) Set to fix ed spaci ng <ESC> PR Exampl e: See abo ve Placem ent: Precedi ng the d ata to b e propor tional s paced Defau lt: <ESC>PS Function: To specify the pr inti[...]

  • Page 40

    40 SATO RISC Printers 2. Command Codes Programming Manual Clear Print Job(s) & Memory Command S truc ture: <ESC> *a a: speci fies whi ch part of the memory has to be clear ed. If the “a” pa rameter is not i ncluded wi th this comma nd and the printer is in th e multi- buffer mod e, this com- mand clea rs all print jobs in the pr inter[...]

  • Page 41

    Programming Manual 2. Command Codes SATO RISC Printers 41 Continu ous Forms P rinting No Comm and Str uctu re The prin ter lo cates the end of an adhe sive label by sensin g th e back ing bet we en labe ls or t hrou gh th e use of an ey e- mark ( black r ec- tangle on the rever se side of the backing) . It locates the end of a tag from a notc h, ey[...]

  • Page 42

    42 SATO RISC Printers 2. Command Codes Programming Manual Copy Imag e Area Command S truc ture: <ESC> WDHaaaaVbbbbXcccc Ydddd aaaa: H orizontal p osition of the to p left cor ner of th e are a to be copi ed bbbb: Verti cal position o f the top left c orner of the a rea to be copie d cccc: H orizontal l ength of the imag e area to be cop ied d[...]

  • Page 43

    Programming Manual 2. Command Codes SATO RISC Printers 43 Note: 1. Use the Print P osition commands (V and H) to locate the new area for t he duplicate ima ge . 2. P osition of the new target area must not be i nside the original image . 3. If you use the Rot ate command, V , H, X and Y axis will be rever sed. 4. If t he reference area of t he targ[...]

  • Page 44

    44 SATO RISC Printers 2. Command Codes Programming Manual Cutter Command Command S truc ture: <ESC><NUL> aaaa aa: N umber of l abels to print bet ween eac h cut ( 01-9999) Example: < ESC>< NUL>0002 Placem ent: Foll owing th e Print Quant ity comm and <E SC>Q Default: <E SC><NUL> 0001 (if cutter enabled ) Fu[...]

  • Page 45

    Programming Manual 2. Command Codes SATO RISC Printers 45 F o n t sU ,S ,M ,O A ,O B ,X U ,X S&X M Command S truc ture: Font XU <ESC> XU Font U <ES C> U Font XS < ESC> XS Font S <ESC> S Font XM < ESC> XM Font M <ESC> M Font OA <ESC> OA Font OB <ESC> OB Exampl e: See abo ve Placem ent: Precedi ng t[...]

  • Page 46

    46 SATO RISC Printers 2. Command Codes Programming Manual Input: <ESC>A<ESC>PS <ESC>H0001<ESC>V0100<ESC>L0202<ESC>XUM-8400RV <ESC>H0001<ESC>V0175<ESC>L0202<ESC>XSM-8400RV <ESC>H0001<ESC>V0250<ESC>L0202<ESC>XMM-8400RV <ESC>H0001<ESC>V0325<ESC>L0101&[...]

  • Page 47

    Programming Manual 2. Command Codes SATO RISC Printers 47 Font, Vector Command S truc ture: Specif y Vector Font < ESC> $a,b,c ,d Data fo r Vecto r Font < ESC> $=(dat a) a: Font spacing A Helvet ica B old (pr oport ional sp acing ) B Helv etic a Bol d (fixed spac ing) b: Font width (50-999) c: Font he ight ( 50- 999 do ts) d: Font var i[...]

  • Page 48

    48 SATO RISC Printers 2. Command Codes Programming Manual Outp ut: Note: 1. If the font size designation is out of the specified range , a default v a l u eo f5 0i su s e d . 2. The Pitch command can be used with V ector f onts. 3. The font width and height v alues inc lude asenders, desenders and other spac e . 4. A font mu st be defined for each [...]

  • Page 49

    Programming Manual 2. Command Codes SATO RISC Printers 49 Fonts WB, WL , XB & XL Command S truc ture: Font WB <ESC> WB a Font XB < ESC> XBa Font WL <ES C> WL a Font XL <E SC> XLa a: 0 Disabl es auto- smoothin g of f ont 1 Enables auto -smooth ing of font (see Note below) Exampl e: <ESC> WB11234 56 Placem ent: Prece[...]

  • Page 50

    50 SATO RISC Printers 2. Command Codes Programming Manual Input: <ESC>A<ESC>PS <ESC>H0001<ESC>V0100<ESC>WB0M-8400RV <ESC>H0001<ESC>V0185<ESC>WB1M-8400RV <ESC>H0001<ESC >V0270<ESC>WL0M-8400RV <ESC>H0001<ESC>V0355<ESC>WL1 M-8400RV <ESC>H0300<ESC>V0100<E[...]

  • Page 51

    Programming Manual 2. Command Codes SATO RISC Printers 51 Form Feed Command S truc ture: <ESC> A(space) <ESC> Z Exampl e: See abo ve Placem ent: Separ ate data stream sen t to printer Default: N one Function: To feed a bl ank t ag or lab el, whi ch is th e equiv alent of a “form f eed” Input: <ESC>A(space) <ESC>Z Outp ut[...]

  • Page 52

    52 SATO RISC Printers 2. Command Codes Programming Manual Form Overlay, Recall Command S truc ture: <ESC> / Exampl e: See abo ve Placem ent: Mus t be prec eded by all other d ata and p lace d just be- fore th e Print Q uantity command (<ESC> Q) Default: N one Function: To recall the lab el image from the fo rm ov erlay memory for printi[...]

  • Page 53

    Programming Manual 2. Command Codes SATO RISC Printers 53 Form Overlay, Store Command S truc ture: <ESC> & Exampl e: See abo ve Placem ent: Mus t be prec eded by all other d ata and p lace d just be- fore the Stop comma nd (<ESC> Z) Default: N one Function: To stor e a label im age in the vo latil e form ov erla y memo ry. Only on e[...]

  • Page 54

    54 SATO RISC Printers 2. Command Codes Programming Manual Graphics, Custom Command S truc ture: <ESC> Gabbbccc(data) a: Spec ifies form at of data s tre am t o foll ow B Binary for mat H Hexadeci mal format bbb: Numb er of hor izontal 8 x 8 bloc ks (001- 248) ccc: N umber of verti cal 8 x 8 blocks (00 1-267) ( data ) : Hex data to descr ibe t[...]

  • Page 55

    Programming Manual 2. Command Codes SATO RISC Printers 55 C00003C00003 C00003C00003 C00003C00003 C00003C00003 C00001800003 C00000000003 C00000000003 FFFFFFFFFFFF FFFFFFFFFFFF <ESC>H0300<ESC>V0100<ESC>XSPLEASE PLACE YOUR DISK <ESC>H0300<ESC>V0150<ESC>XSIN A SAFE PLACE <ESC>Q1<ESC>Z Outp ut: Note: 1. Do[...]

  • Page 56

    56 SATO RISC Printers 2. Command Codes Programming Manual Graphics, PCX Command S truc ture: <ESC> GPaaaaa ,(data ) aaaaa: N umber of bytes to be do wnloade d Exampl e: <ESC> GP3200 0, ... dat a... Placem ent: Anywhe re within the job data str eam Default: N one Function: To allow the c reation a nd printi ng of graphi c images using a [...]

  • Page 57

    Programming Manual 2. Command Codes SATO RISC Printers 57 Job ID Store Command S truc ture: <ESC> IDaa aa: J o bI Da s s i g n e d( 0 1t o9 9 ) Example: < ESC>ID0 9 Placem ent: Immedia tely foll owing the <ESC >A in the job data stream . Default: N one Function: To add an identific ation nu mber to a job. The status of the job can[...]

  • Page 58

    58 SATO RISC Printers 2. Command Codes Programming Manual Jour na l Pr int Command S truc ture: <ESC> J Exampl e: See abo ve Placem ent: Imme diatel y followi ng <ESC >A Default: N one Function: To print text in a line by line forma t on a label. By specify ing this com- mand, yo u autom atica lly selec t Font XS with a Cha racte r Expa[...]

  • Page 59

    Programming Manual 2. Command Codes SATO RISC Printers 59 Lines and Bo xes Command S truc ture: Line: <E SC> FW aabcccc aa: Wi dth of ho rizonta l line in do ts (01- 99) b: Line o rien tat ion H Horizont al line VV e r t i c a l L i n e cccc: Leng th of li ne in dots (see N ote for max len gth) Box: <ESC> FWaabbVccccHdddd aa: Wi dth of [...]

  • Page 60

    60 SATO RISC Printers 2. Command Codes Programming Manual Note: 1. It is re commended that all lines and boxes be specified in the nor- mal print direction. 2. The maximum allowable lengths are as follows: CL 408 CL 412 CL 608 (V A) CL 612 (V A) Hor izontal aaaa 0 to 0832 0 to 1248 0 to 121 6 0 to 1984 Ve r t i c a l bbbb 0001 to 1424 0001 to 21 36[...]

  • Page 61

    Programming Manual 2. Command Codes SATO RISC Printers 61 Line Feed Command S truc ture: <ESC> Eaaa aaa: N umber of d ots (001 -999) b etween th e bottom of the chara cters on on e lin e to the top of th e character s on the next l ine Exampl e: <ESC> E010 Placem ent: Precedi ng the t ext tha t will us e the line feed fu nction Default:[...]

  • Page 62

    62 SATO RISC Printers 2. Command Codes Programming Manual Note: 1. This command ca n be used for te xt as well as for bar codes. 2. It is effective only f or the current data s tream. 3. When printing lines or box es in the same data stream with the Line Feed command, the Lines and Boxes command should be specified last, preceding <ESC>Q Quan[...]

  • Page 63

    Programming Manual 2. Command Codes SATO RISC Printers 63 Mirror Image (From Firmware Vers ion1E2050 , 1E3002 for 6xxVA) Command S truc ture: <ESC> RMaaaa, bbbb aaaa: H orizontal p osition of the to p left cor ner of th e imag e area to be mirror ed 000 8 ~ 9999 d ot. bbbb: Verti cal posi tion of the t op left corner of th e image ar ea to be[...]

  • Page 64

    64 SATO RISC Printers 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 Outp ut: H Max V M a x Print Direc tion[...]

  • Page 65

    Programming Manual 2. Command Codes SATO RISC Printers 65 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 Outp ut: H Max M a x Print Direction V[...]

  • Page 66

    66 SATO RISC Printers 2. Command Codes Programming Manual 1. Normal D irection 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 Outp ut: Base re ferenc e poin t w/o <RM > Base refere[...]

  • Page 67

    Programming Manual 2. Command Codes SATO RISC Printers 67 2. Mirror Image with Rotation Mirror p osition is chang ed if <RM> is spe cified wi th <%> c ommand . Input: <ESC>A <ESC>V100<ESC>H100<ESC>XM12345 <ESC>V200<ESC>H100<ESC>XMABCDEF <ESC>V300<ESC>H100<ESC>XMabcdefgh <ESC[...]

  • Page 68

    68 SATO RISC Printers 2. Command Codes Programming Manual 3. Mirror Ima ge with specifying a rea 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 Ou[...]

  • Page 69

    Programming Manual 2. Command Codes SATO RISC Printers 69 Outp ut: 5. In case of specifying mirror command after the las t 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 Out[...]

  • Page 70

    70 SATO RISC Printers 2. Command Codes Programming Manual 6. <%> specifying effects on <RM> command only In this c ase a base mir ror po sitio n is onl y change d Input: <ESC>A <ESC>V100<ESC>H100<ESC>XM12345 <ESC>V200<ESC>H100<ESC>XMABCDEF <ESC>V300<ESC>H100<ESC>XMabcdefgh <[...]

  • Page 71

    Programming Manual 2. Command Codes SATO RISC Printers 71 #2 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 Outp ut: Mirror positi on[...]

  • Page 72

    72 SATO RISC Printers 2. Command Codes Programming Manual Off-Line/Pause Command S truc ture: <ESC> @,nn...n nn...n: Option al mess age to b e displa yed o n the LCD. Maxim um of 32 character s Exampl e: See abo ve Placem ent: Anywhe re in the print job between <ES C>A and <ESC>Z Default: N one Function: To specify t he printer to[...]

  • Page 73

    Programming Manual 2. Command Codes SATO RISC Printers 73 Postnet Command S truc ture: <ESC> BPn...n n...n: 5 digits (Po stne t-32 for mat ) 6 digits (Po stne t-37 for mat ) 9 digits (Po stne t-52 for mat ) 11 digits ( Postnet- 62, Deliver y Point format ) Exampl e: <ESC> BP12345 6789 Placem ent: Immedia tely preceding t he data to be e[...]

  • Page 74

    74 SATO RISC Printers 2. Command Codes Programming Manual Print Darkness Command S truc ture: <ESC> #Ea a: Prin t darknes s valu e (see Note for allo wable setting ) Exampl e: <ESC> #E2 Placem ent: Must be p laced imm ediate ly after <ES C>A an d im me- diate ly bef ore < ESC>Z i n its own se par ate da ta str eam Default: S[...]

  • Page 75

    Programming Manual 2. Command Codes SATO RISC Printers 75 Print Length, Expanded Command S truc ture: Normal len gth <ESC> AR Expand ed leng th <ESC> AX AX: Sets th e pri nt length t o 14" (35 6 mm) AR: Resets the maxi mum prin t lengt h to 7" (178 mm) Exampl e: See abo ve Placem ent: Mus t follo w the Sta rt Code c omma nd an[...]

  • Page 76

    76 SATO RISC Printers 2. Command Codes Programming Manual Print P ositio n Command S truc ture: Horiz ont al Posit ion <ESC> Haaa Verti cal Pos itio n <ESC> Vbbb aaaa: N umber of d ots ho rizonta lly from th e base reference point ( 1 to maxim um) bbbb: Numb er of dots verticall y from the base r eference po int (1 to m aximum) Exampl e[...]

  • Page 77

    Programming Manual 2. Command Codes SATO RISC Printers 77 Note: 1. The print position of a field is affected by both the Rotate (<ESC>R and <ESC>A3) commands. 2. For print lengths greater than 14 inches an optional Memory Ca r d must be used. 3. If any part o f an image is placed past the ma ximum number of dots for standar d length and[...]

  • Page 78

    78 SATO RISC Printers 2. Command Codes Programming Manual Print Quantity Command S truc ture: <ESC> Qaaaaaa aaaaaa: To tal num ber of la bels to p rint (1-99 9999) Exampl e: <ESC> Q500 Placem ent: Just p recedin g <ESC >Z, un less <ES C>NUL ex ists, then pre ceding tha t. This com mand mus t be pres ent in every p rint job. [...]

  • Page 79

    Programming Manual 2. Command Codes SATO RISC Printers 79 Print Speed Command S truc ture: <ESC> CSa a: Design ates th e speed s electio n See Note for allo wable settin gs Exampl e: <ESC> CS6 Placem ent: Must be placed i mmedi ately afte r <ESC >A and imme- diate ly bef ore < ESC>Z i n its own se par ate da ta str eam Defau[...]

  • Page 80

    80 SATO RISC Printers 2. Command Codes Programming Manual *=d e f a u l t M8459S 2 3 4 5 2i p s , 5 0m m / s 3i p s , 7 5m m / s 4 ips , 100 mm /s* 5 ips, 125 mm/s M8485S 4 6 8 10 4 ips, 100 mm/s 6 ips , 150 mm /s* 8 ips, 200 mm/s 10 ips, 250 mm/s M8400R V 1 2 3 4 5 2i p s , 5 0m m / s 4 ips, 100 mm/s 6 ips , 150 mm /s* 8 ips, 200 mm/s 10 ips, 250 [...]

  • Page 81

    Programming Manual 2. Command Codes SATO RISC Printers 81 Repeat Label Command S truc ture: <ESC> C Exampl e: See abo ve Placem ent: Must be plac ed immediate ly after <ESC>A and im me- diate ly bef ore < ESC>Z i n its own se par ate da ta str eam Default: N one Function: To print duplicat e of the last lab el printe d Input: <[...]

  • Page 82

    82 SATO RISC Printers 2. Command Codes Programming Manual Replace Data (Part ial Edit) Command S truc ture: <ESC> 0 (<ESC> ze ro ) Exampl e: See abo ve Placem ent: Must fo llow <ES C>A and p recede all oth er print da ta Default: N one Function: To repla ce a speci fied ar ea of t he previous label wi th new data. Thi s command w [...]

  • Page 83

    Programming Manual 2. Command Codes SATO RISC Printers 83 fe wer characters than the old data, then the character s not replaced w ill still be pr inted. 2. This command will not function if the po wer has been cycled off and back on since t he last label was printed. 3. Proportional Pitch te xt cannot be used with this command.[...]

  • Page 84

    84 SATO RISC Printers 2. Command Codes Programming Manual Reverse Image Command S truc ture: <ESC> (aaaa,bbbb a: Horiz ontal len gth in d ots of re verse image ar ea b: Verti cal he ight in d ots of r evers e imag e area. See Note 6 for fie ld ranges Exampl e: <ESC> (100,50 Placem ent: Th is command mus t be preced ed b y all other da t[...]

  • Page 85

    Programming Manual 2. Command Codes SATO RISC Printers 85 2. If us in g rev er se ima g es wit h the f o rm o ver la y , pla ce thi s com- mand before the Form Overlay command in the data stream. 3. If the Rotate commands are used with this command, the V and H parame ters are reversed. 4. If the hei ght and width t o be reversed contain other t ha[...]

  • Page 86

    86 SATO RISC Printers 2. Command Codes Programming Manual Rotate, Fixed Base Reference Point Command S truc ture: <ESC> %a a: 0 Sets pri nt to no rmal direction 1 Sets print to 90°CC W 2 Sets print to 180° rotated ( upside d own) 3 Sets print to 270° CCW Exampl e: <ESC> %3 Placem ent: Precedi ng any printed dat a to be rotated Defaul[...]

  • Page 87

    Programming Manual 2. Command Codes SATO RISC Printers 87 Note: 1. Do not combine this command and the <ESC>R Rotate command i nt h es a m ed a t as t r e a m . 2. The sp ecified values are valid until another R otate (<E SC>%) command is r eceived. 3. Receipt of a Stop Print (<ESC>Z) command will reset the setting to the default [...]

  • Page 88

    88 SATO RISC Printers 2. Command Codes Programming Manual Rotate, Moving Base Reference Point Command S truc ture: Normal Direc tion: <E SC> N Rotated Directi on: < ESC> R Exampl e: See abo ve Placem ent: Precedi ng any printed dat a to be rotated Default : <ESC>N Function: The <ESC>R command ro tates the printing of all sub[...]

  • Page 89

    Programming Manual 2. Command Codes SATO RISC Printers 89 Outp ut: Note: 1. Do not combine this command and the <ESC>% rotate command i nt h es a m ed a t as t r e a m . 2. A custom graphic is not affected by this command. Therefore, alwa ys design and locate your graphic ima ge to print in the appropriate orien tation. 3. The sp ecified valu[...]

  • Page 90

    90 SATO RISC Printers 2. Command Codes Programming Manual Sequential Numbering Command S truc ture: <ESC> Faaaabcccc,dd,ee aaaa: N umber of t imes to r epeat t he same da ta (00 01-9999) b: Plus or mi nus symbol ( + for increm ents; - f or decre- ment s) cccc. Val ue of step for sequence (00 01-9999) ,dd: Numb er of digi ts for sequ ential n [...]

  • Page 91

    Programming Manual 2. Command Codes SATO RISC Printers 91 Outp ut: Note: 1. The value specified for Print Quantity should be equa l to the num- ber of different sequential values desired multiplied b y the num- ber of repe ats specified. Example: T o pr int 2 sets each of the numbers 1001-102 5 on separa te labels, we need 50 total labels. The c om[...]

  • Page 92

    92 SATO RISC Printers 2. Command Codes Programming Manual Start /St op La bel Command S truc ture: Start Co mmand: <ESC> A Stop Command :<ES C> Z Exampl e: See abo ve Placem ent: <ESC>A must p recede d ata <ESC> Z must fol low data Default: N one Function: For all pr int jobs , the St art comm and must p recede t he data, an[...]

  • Page 93

    Programming Manual 2. Command Codes SATO RISC Printers 93 Calendar Option Co mmands The follo wing commands in this se ction require the Calendar option. (SEG No . 4449 R eal Ti me Cloc k)[...]

  • Page 94

    94 SATO RISC Printers 2. Command Codes Programming Manual Calendar Increment Command S truc ture: <ESC> WPabbb a: YY e a r s M Months DD a y s h Hours bbb: Nume ric data: Years (0 -9), Months ( 00-99) , Days ( 000-999 ), Hours (000-9 99), Exampl e: <ESC> WPM03 Placem ent: Anywhe re within the data str eam Default: N one Function: To add[...]

  • Page 95

    Programming Manual 2. Command Codes SATO RISC Printers 95 Note: 1. This command requires the C alendar Option. See your SA TO rep- resentativ e for more deta ils 2. Once the year increments past “ 99” it will wrap ba c k to “00”. 3. This command can only be used once per data strea m. 4. The printer’ s internal cloc k may be set thr ough [...]

  • Page 96

    96 SATO RISC Printers 2. Command Codes Programming Manual Calendar Print Command S truc ture: <ESC> WA aaa...a *YYYY 4 digit Yea r: 1981 ~ 2080 YY last 2 digit Y ear: 00 ~ 99 MM Month: 01 ~ 12 DD Day: 01 ~ 31 hh 12 Hour: 0 0 ~ 23 mm Minute: 00 ~ 59 *ss Second: 00 ~ 59 *TT AM/ PM: AM, PM ( Do not use f or numeric b arcode) *HH 24 Hour : 00 ~ 1[...]

  • Page 97

    Programming Manual 2. Command Codes SATO RISC Printers 97 Outp ut: Note: 1. This function r equires the Calendar Option. See your SA TO rep- resentativ e for details. 2. The date and time elements may be placed in any or der f or pr int- ing. 3. Use a slas h (/) to separate dat e elements and a colon (:) to sepa- rate time elements . 4. The font fo[...]

  • Page 98

    98 SATO RISC Printers 2. Command Codes Programming Manual Calendar Set Command S truc ture: <ESC> WTaabbccddee aa Year ( 01-99) bb Month ( 01-12) cc Day (01- 31) dd Hour (00- 23) ee Minute (0 0-59) Exampl e: <ESC> WT9101 311200 Placem ent: This c ommand must be s ent in an indepen dent da ta stream . Default: N one Function: To set the [...]

  • Page 99

    Programming Manual 2. Command Codes SATO RISC Printers 99 Memory Card O ption Co mmands These commands require the Me mory Card Option. Note: Before a Memory Card can be used for the fir st time, it must be initialized using the <ESC>BJF command. If it is not initialized, the printer will not recognize the car d and respond as if no car d was[...]

  • Page 100

    100 SATO RISC Printers 2. Command Codes Programming Manual Memory Ca rd Func tion Clear Card Memo ry Command S truc ture: <ESC> *a,bb a: Memory card s ectio n to be cle ared G To clear SATO gr aphic files f rom memor y card P To clea r PCX gr aphic fi les F To clear formats f rom the me mory c ard O To cl ear Tr ueTy pe fon ts bb: Memory Ca r[...]

  • Page 101

    Programming Manual 2. Command Codes SATO RISC Printers 101 Memory Ca rd Func tion Expa nd Me mory Ar ea Command S truc ture: <ESC> EXa a: Memor y Desig nat ion 0 Use Pri nter Memo ry 1 Use Mem ory Car d Slo t 1 2 Use Mem ory Car d Slo t 2 Exampl e: <ESC> EX1 Placem ent: In its own data stream ime diatel y after p owering o n. Default: N[...]

  • Page 102

    102 SATO RISC Printers 2. Command Codes Programming Manual Memory Ca rd Func tion Fonts, TrueType Recall Command S truc ture: <ESC> BJRabbccddeeeeff...f a: Font ID (0 thru 9) bb: Horiz ontal Expan sion (01 thru 12) cc: Ver tical E xpansi on (01 thru 1 2) dd: Charac ter Pitch (01 thru 99) eeee: N umber of chara cters to be prin ted using the f[...]

  • Page 103

    Programming Manual 2. Command Codes SATO RISC Printers 103 Memory Ca rd Func tion Fonts, T rueType Store Command S truc ture: Begin Do wnload <ESC> BJ( aa.. .abb..b Download <ES C> BJDcccccddddee ...e End Downl oad < ESC> BJ) aa..a: 40 byte font d escri pt ion bb..b: 10 byte date i nformatio n ccccc: Memory off set (h exad eci mal[...]

  • Page 104

    104 SATO RISC Printers 2. Command Codes Programming Manual Memory Ca rd Func tion Format/Field Recal l Command S truc ture: <ESC> YR,aa <ESC> /D,bb,cc...c aa: Form at number to be recal led (01-99 ) bb: Field nu mber to b e recall ed (01- 99) cc...c: D ata to be placed in r ecalle d field. Example: < ESC>Y R,01<ESC>/D,0 1,99[...]

  • Page 105

    Programming Manual 2. Command Codes SATO RISC Printers 105 Memory Ca rd Func tion Format/Field Store Command S truc ture: <ESC> YS,aa <E SC> /N,bb,c c{....... } aa: Form at number to be stored (01-99 ) bb: Field nu mber to b e stored (0 1-99) cc: Leng th of fi eld to b e stored (01-99 ) {.....}: C ommand stream d escri bing th e field t[...]

  • Page 106

    106 SATO RISC Printers 2. Command Codes Programming Manual[...]

  • Page 107

    Programming Manual 2. Command Codes SATO RISC Printers 107 Memory Ca rd Func tion Graphics, Custom Recall Command S truc ture: <ESC> GRaaa aaa: Gr aphics st orage number (0 01-999 ) Exampl e: <ESC> GR111 Placem ent: The Re call comma nd is se nt in a seco ndary da ta st- ream to print th e grap hic, and follows a ny neces sary positi on[...]

  • Page 108

    108 SATO RISC Printers 2. Command Codes Programming Manual Note: 1. The graphic i mage to be stored cannot be rotated bef ore it is s t o r e d .I tc a nb er o t a t e dw h e ni ti sr e c a l l e d . 2. Graphic images cannot be stored as par t of a label format. 3. See the <ESC>GI Custom Graphic Store command.[...]

  • Page 109

    Programming Manual 2. Command Codes SATO RISC Printers 109 Memory Ca rd Func tion Grap hics, Custom Store Command S truc ture: <ESC> GIabbbcccddd{data} a: Speci fies charact er forma t of the data H Hex data B Binary dat a bbb: Numb er of hor izontal 8 x 8 bloc ks (001- 248) ccc: N umber of verti cal 8 x 8 blocks (00 1-267) ddd: Grap hics st [...]

  • Page 110

    110 SATO RISC Printers 2. Command Codes Programming Manual <ESC>GIHaaa bbb001(DA T A) <ESC>Z <ESC>A <ESC>GIHaaa bbb002(DA T A) <ESC>Z Example of incorrect data stream: <ESC>A <ESC>GIHaaa bbb001(DA T A) <ESC>GIHaaa bbb002(DA T A) <ESC>Z 5. Do not use ASCII <CR> or <LF> characters (car[...]

  • Page 111

    Programming Manual 2. Command Codes SATO RISC Printers 111 Memory Ca rd Func tion Graphics, PCX Recall Command S truc ture: <ESC> PYaaa aa: S t o r a g ea r e an u m b e r( 0 0 1t h r u0 9 9 ) Exampl e: <ESC>P Y001 Placem ent: This c ommand must be pl aced w ithin its own da ta st- ream spe cifying the pl acemen t of the graphic . Defau[...]

  • Page 112

    112 SATO RISC Printers 2. Command Codes Programming Manual Memory Ca rd Func tion Graphics, PCX Store Command S truc ture: <ESC> PIaaa,bbbbb,{data} aaa: Stor age a rea numbe r (001 t hru 999) bbbbb: Size of PCX fi le in bytes {dat a}: Da t a Example: < ESC>P I001,32000,{d ata} Placem ent : Th is comm and mus t be pl aced with in its ow [...]

  • Page 113

    Programming Manual 2. Command Codes SATO RISC Printers 113 Memory Ca rd Func tion Initiali ze Command S truc ture: <ESC> BJFaaaaaaaa aaaaaaa: E ight cha ract er alphan umeric u ser ID Examp le: <ESC >BJFsa toca rd Placem ent: Immedia tely foll owing the <ESC >CC Slot Selec t com- mand. Default: N one Function: This clears a ll of [...]

  • Page 114

    114 SATO RISC Printers 2. Command Codes Programming Manual Memory Ca rd Func tion Slot Select Command S truc ture: <ESC> CCa a: Memor y Card Slo t 1S l o t 1 2S l o t 2 Example: < ESC>CC1 Placem ent: Immedia tely foll owing the <ESC>A St art Code. Default: L ast sele cted M emory Ca rd Slot. Function: Select s the car d slot to be[...]

  • Page 115

    Programming Manual 2. Command Codes SATO RISC Printers 115 Memory Ca rd Func tion Status Command S truc ture: <ESC> BJS Exampl e: <ESC> BJS Placem ent: After the <ESC> CC Slo t Sele ct comma nd. Default: N one Function: Casues the print er to print the card status . Input: <ESC>A <ESC>CC1<ESC>BJS <ESC>Z Out[...]

  • Page 116

    116 SATO RISC Printers 2. Command Codes Programming Manual Line 5: Number of P CX files and b ytes used Line 6: Number of TT fonts stored and bytes used Line 7: Remaining free memor y Line 8: Max expandable print length using the ca r d Line 9: Battery check results[...]

  • Page 117

    Programming Manual 2. Command Codes SATO RISC Printers 117 Custom Protoco l Command Codes Down load Command S truc ture: <ESC> LD,a,b,c,d,e,f,g,h,i a: Replac ement char acter for STX in AS CII or hex format b: Replac ement char acter for ETX in AS CII or hex format c: Replac ement ch aracter for ESC in A SCII or hex for mat d: Replac ement ch[...]

  • Page 118

    118 SATO RISC Printers 2. Command Codes Programming Manual Note 1. Commas must be used to separate the parameters. If a parameter is omitted between two commas, the defau lt Non-Standard P ro- tocol Command codes for that parameter will be us ed. 2. This command must be sent as an independent data stream immediately fo llowing the <ESC>A Star[...]

  • Page 119

    Programming Manual 3. Command C ode Quick Ref erence SATO RISC Printers 119 3. Command Code Quick Referen ce 3.1 Instruction A Start Code . Begins all print jobs. A(space)Z Form Feed . F eeds a bl ank tag or label. AR Normal Print Length . This com mand resets t he prin- ter to the Standard prin t length (7 inches) . AX Expanded Print Length . This[...]

  • Page 120

    120 SATO RISC Printers 3. Command Code Quic k Reference Programming M anual Dabbcccd Bar Codes . Prints a 2:5 ratio bar code, exc ept for UPC, EAN, Cod e 93, Cod e 128 an d UCC128 s ymbols , which are fixed w idth ba r codes . For val ues a, bb, c cc and d see ins truction s for Ba bbcc cd. For UPC/EA N bar codes, th is comm and puts des cen- der b[...]

  • Page 121

    Programming Manual 3. Command C ode Quick Ref erence SATO RISC Printers 121 bb = Narr ow space in dot s (01-99) cc = Wide sp ace i n dots (0 1-99) dd = Narrow b ar in dots (01 -99) ee = Wide bar in dots (01-99) BVaaa,bbb, cccccc,dddd, ee...e Maxicode . Prin ts Vers ion 0 2-D Maxi code sy mbols . aaa = Servi ce clas s, numer ic only (001 -999). bbb [...]

  • Page 122

    122 SATO RISC Printers 3. Command Code Quic k Reference Programming M anual C Repeat Label . Prin ts a du plicate of the l ast la bel prin - ted. CSa Prin t Spee d Sel ecti on . Specifie s a unique prin t speed in in./s ec. thr ough s oftware fo r a pa rticul ar label . Dabbcccd Bar Codes . Prints 1:2 ratio bar c ode. For UPC a nd EAN bar codes, th[...]

  • Page 123

    Programming Manual 3. Command C ode Quick Ref erence SATO RISC Printers 123 FXaaabccc dddeee Data Matrix . Sequ ential N umberin g. Pri nts sequen tial numbered Data Ma trix 2-D s ymbol s. aaa = Number of dupli cate l abels ( 001-999) b = Incr ement o r dec rement + Increme nt - Decreme nt ccc = Increme nt/decre ment steps (001- 999) ddd = Sequenti[...]

  • Page 124

    124 SATO RISC Printers 3. Command Code Quic k Reference Programming M anual 2 24 x 24 matrix b = Indica te s the format that da ta str eam was stor ed in B Binary H Hexad ecimal bb = Memory lo cation where the ch aracter was stored. Valid l ocations are 21 to 52 or “ !” to “R” in hex valu es. Laabb Character Expansion . E xpand s cha ract e[...]

  • Page 125

    Programming Manual 3. Command C ode Quick Ref erence SATO RISC Printers 125 R Rotate, Moving Base Referenc e Point . Rotat es the printin g of all sub sequent im ages by 90 degrees coun- terclock wise each ti me it is used. A lso moves the bas e reference poi nt. S Font type . Specifies the 8W x 15H dot matri x font (inclu ding des cende rs). Tabcc[...]

  • Page 126

    126 SATO RISC Printers 3. Command Code Quic k Reference Programming M anual WLa Font type . Spe cif ies t he 28W x 52H d ot mat rix f ont (inclu ding dec ender s). a = 0 D isable s a uto-smoo thing of fo nt 1 Enables auto-sm oothin g if ex pansi on is greater tha n 3 XBa Font type . Speci fie s the 4 8W x 4 8L dot matri x fo nt (inclu ding des cend[...]

  • Page 127

    Programming Manual 3. Command C ode Quick Ref erence SATO RISC Printers 127 b = Font width ( 50-999 d ots*) c = Font hei ght (50-999 dot s*) d = Font variati on (0-9 ) as follow s: 0 Standar d 1 Standar d open (ou tlined ) 2 Gray (m esh) pat tern 1 3 Gray (m esh) pat tern 2 4 Gray (m esh) pat tern 3 5 Standar d, shadow 1 6 Standar d, shadow 2 7 Sta[...]

  • Page 128

    128 SATO RISC Printers 3. Command Code Quic k Reference Programming M anual ~aaaa Cutter Command . Contr ols the cutti ng of lab els when using the op tional S ATO cutter uni t. (A <N ULL> can be use d in plac e of the “ ~”.) aaaa = Num ber of labels t o print b etween e ach cut (0000-9999 )[...]

  • Page 129

    Programming Manual 3. Command C ode Quick Ref erence SATO RISC Printers 129 3.2 Calendar Option Comm ands WA(elements) Calendar Print . Prints the date and /or time f ield ( up to 16 charac ters) from the prin ter’s inte rnal cloc k. Use slash to s eparate date e lement s and colon to s eparate time e lements. elements = YYYY 4 digit Yea r: 1981 [...]

  • Page 130

    130 SATO RISC Printers 3. Command Code Quic k Reference Programming M anual 3.3 Memory Card Option Commands BJ(aa..abb..b Star t TrueType Font Storage . Prep ares the Mem ory Card to ac cept Tru eType fo nt data. aa...a = 40 byte fo nt descr iptio n b b . . . b = 1 0b y t ed a t ef i e l d BJDcccccdddd ee...e Download TrueType Font Data . Down load[...]

  • Page 131

    Programming Manual 3. Command C ode Quick Ref erence SATO RISC Printers 131 GIabbbcccdd ee...e Store Custom Graphics . Stores a gr aphic im age in the memory card to be called la ter for printing on a label. a = Sp ecifi es format of data stream to follow B Binary H Hexad ecimal bbb = Number of hor izontal 8 x 8 block s (001-2 48) ccc = Num ber of [...]

  • Page 132

    132 SATO RISC Printers 3. Command Code Quic k Reference Programming M anual P PCX g raphic f ile ( 01-99) F St ored fo rmats (01 -99) O TrueType fonts , memory c ard (01-0 9) bb = Storage num ber[...]

  • Page 133

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 133 4. Bar Code S pecificat ions This sectio n conta ins detail ed informa tion on th e pri nting of b ar codes on the SA TO RISC pr inter s. Inf or matio n on pr inti ng the following bar code symbologi es is provided: Codabar Code 39 Interlea ved 2 o f 5 UPC- A/ EAN- 13 EAN-8 Indu[...]

  • Page 134

    134 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Codabar Command S truc ture: 1:3 rati o <ESC> B0bbcccd (data) d 2:5 rati o <ESC> BD0bbc ccd (data) d 1:2 rati o <ESC> D0bbcccd (data) d bb : Width of na rrow el ement i n dots (0 1-12) ccc : Bar heig ht in do ts (001-60 0) d : Required S tart and Stop charac ter[...]

  • Page 135

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 135 Code 39 Command S truc ture: 1:3 ratio: <ESC> Blbbccc* (data) * 2:5 ratio: <ESC> BD1b bccc * (d ata) * 1:2 ratio: <ESC> D1bb ccc* ( dat a) * bb: Width o f narro w eleme nt in dots (01-12) ccc: Bar height i n dots (001-600) *: Requ ired Start and Sto p character[...]

  • Page 136

    136 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Interleave d Two o f Five (I 2/5) Command S truc ture: :3 ratio: <ESC> B2bbcc c (data) 2:5 ratio: <ESC> BD2bbccc (data) 1:2 ratio: <ESC> D2bbccc ( data) bb: Width o f narrow eleme nt in dots (01-12) ccc: Bar heigh t in dot s (00 1-6 00) (data): B ar code data ( [...]

  • Page 137

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 137 UPC-A/EAN-13 Command S truc ture: <ESC> B3bbccc (data) <ESC> D3bbccc (data) <ESC> BD3bbccc (data) bb: Width o f narro w eleme nt in dots (01-03) ccc: Bar height i n dots (001-600) (data): B ar code d ata (numer ic); must be ex actly 13 dig its. For U P C - A ,t[...]

  • Page 138

    138 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Input: <ESC>H0100<ESC>V0375<ESC>BD30215001234567890 Note: D3 pr o vides guide bars th at ex tend longer than the rest of the bar code. BD3 pr ovides guide bar s and the human readable text below the symbol. Calculat ing the Mod 10 Check Digit : If you w ish to e[...]

  • Page 139

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 139 EAN-8 Command S truc ture: <ESC> B4bbccc (data) <ESC> D4bbccc (data) bb: Width o f narro w eleme nt in dots (01-03) ccc: Bar height i n dots (001-600) (data): B ar code data ( numeric ); m ust be exactly 8 digits . Char acter Set : 0-9 (numeric only) Density table: I[...]

  • Page 140

    140 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Industrial Tw o of Five Command S truc ture: 1:3 rati o: B5bbc cc ( dat a) 2:5 rati o: BD 5bbccc (data) 1:2 rati o: D5bbc cc ( dat a) bb: Width o f narrow eleme nt in dots (01-12) ccc: Bar heigh t in dot s (00 1-6 00) (data): B ar code data ( numeric ); m ust be an even nu mber o[...]

  • Page 141

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 141 Matrix Two of Five Command S truc ture: 1:3 ratio: <ESC> B6bbccc (d ata) 2:5 ratio: <ESC> BD6bbccc (data) 1:2 ratio: <ESC> D6bbccc (d ata) bb: Width o f narro w eleme nt in dots (01-12) ccc: Bar height i n dots (001-600) (data): B ar code data (nume ric only); [...]

  • Page 142

    142 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Code 128 Command S truc ture: <ESC> BGbbcccdd (data) bb: Width o f narrow eleme nt in dots (01-12) ccc: Bar heigh t in dot s (00 1-6 00) dd: Start c ode to sp ecify i nitial s ubset of bar co de data >G Subs et A Star t code >H Subset B Start code >I Subs et C Sta [...]

  • Page 143

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 143 Char acter Set :[...]

  • Page 144

    144 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Char acter Set :[...]

  • Page 145

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 145 MSI Command S truc ture: 1:3 ratio: <ESC> BAbbccc (d ata) d 2:5 rati o <ESC> BDAbbccc (d ata) d 1:2 rati o <ESC> DAbbccc (d ata) d bb: Width o f narro w eleme nt in dots (01-12) ccc: Bar height i n dots (001-600) (data): B ar code data ( numeric ); m aximu m of[...]

  • Page 146

    146 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Code 93 Command S truc ture: 1:3 rati o:<ESC> BCbbcccdd (data) bb: Width o f narrow eleme nt in dots (01-12) ccc: Bar heigh t in dot s (00 1-6 00) dd: Length o f data ( numbe r of digi ts, 00-99 ) (data): B ar code data (al phanum eric); le ngth mu st matc h va- lue of pa r[...]

  • Page 147

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 147 UPC- E Command S truc ture: <ESC> BEbbccc (data) <ESC> DEbbccc (data) bb: Width o f narro w eleme nt in dots (01-03) ccc: Bar height i n dots (001-600) (data): B ar code data ( numeric ); m ust be exactly 6 digits Char acter Set : 0-9 (numeric only) Density table: In[...]

  • Page 148

    148 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Bookland (UPC/EA N Supplemen ts) Command S truc ture: <ESC> BFbbccc (data) bb: Width o f narrow eleme nt in dots (01-03) ccc: Bar heigh t in dot s (00 1-6 00) (data): B ar code data ( numeric ); m ust be exactly 2 or 5 di gits Char acter Set : 0-9 (numeric only) Density tab[...]

  • Page 149

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 149 UCC-128 Command S truc ture: <ESC> BIbbcccd (data) bb: Width o f the na rrow el ements in dots (01 to 12) ccc: Bar heigh t in dot s (00 1 to 600) d: Place ment of human rea dable text 0 None 1 Text at top of bar co de 2 Text at bottom of bar code (data): 1 7 digi ts made u[...]

  • Page 150

    150 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual With incr ementi ng <ESC>A <ESC>H0100<ESC>V0100<ESC>F001+001 <ESC>BI04150101234567000000001 <ESC>Q2<ESC>Z Output: Note: 1. The Star t, Function, Stop and Ex tension codes will be created by the printer and added automatica lly . 2. The in[...]

  • Page 151

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 151 Postnet Command S truc ture: <ESC> BP (data) data: 5 digits ZIP 6 digits for Pos tne t 37 9 digits for ZIP+4 11 dig its for D lelive ry Poin t Bar C ode Char acter Set : 1-9 (numeric only) Input: <ESC>H0100<ESC>V0120<ESC>BP94089 <ESC>H0100<ESC>[...]

  • Page 152

    152 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Two- Di mens io na l Bar C ode s Data Matrix, Data Format Command S truc ture: <ESC> BXaabbccddeeefffghh aa: Form at ID. 01 -06 or 11- 16. The val ues 07 an d 17 will no t be acc epted b y the prin te r. bb: Error co rrection lev el. 00 ,01 , or 04-14. Th e values 02 , 03 o[...]

  • Page 153

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 153 Note: 1. If any of the par ameters entered are outside the valid range , a symbol will not be printed when the <ESC>DC Print Data com- mand is sent to the pr inter . 2. The number of cells per line (eee ) and the number of cell lines (fff) should be specified as a ll zeroe[...]

  • Page 154

    154 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Two- Di mens io na l Bar C ode s Data Matrix, Print Data Command S truc ture: <ESC> DCxx...x xx...x: D ata, maximum of 5 00 charact ers Example: < ESC>DC0 0006000 Placem ent: Immedia tely foll owing the <ESC>B C Data Format de- signat ion command or the <ES C[...]

  • Page 155

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 155 Two- Di mens io na l Bar C ode s Data Matr ix, Sequential Num bering Command S truc ture: <ESC> FXaaabcccdddeee aaa: N umber of duplicate la bels to be printed (001 -9 99) b: Incre ment or De crement + = Incr emen t - =Decrem ent ccc: Inc rement/Dec rement Steps ( 001 - 99[...]

  • Page 156

    156 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Label Se t #2 Note: 1. The maximum number of <ESC>FX Sequential Numbering com- mands that can be used in one job is eight. 2. In the example abo ve f our total lab els will be printed (<ESC>FX 002+0 05003<ES C>DC00006 000), the sequential num- bering will star t[...]

  • Page 157

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 157 Two- Di mens io na l Bar C ode s Maxicode Vers. 3 Command S truc ture: <ESC> BVa,b,c,ddddddddd,eee,fff,DDD a: Symbo l Number 1 - 8 b: Numb er Symbol 1 - 8 c: Mode 2: St ructured Carrie r Messa ge 3: Struc tured Carrier M essage 4: Standar d Symbo l 6: Reade r Progra mming [...]

  • Page 158

    158 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Two- Di mens io na l Bar C ode s PDF417 Command S truc ture: <ESC> BKaabbcddeeffffnn...n aa: Min imum mod ule dimens ion (03-09 do ts). Will not pr int if val ues of 01, 02 or gr eater than 10 are s pecifie d. bb: Minimu m module pit ch dimens ion (04-24 dots) . Will not pr[...]

  • Page 159

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 159 Note: 1. When the code w ords per line and the numb er of r ows per symbol (“dd” and“ee”) are set to all zeroes, the printer will calculate the optimum co nfiguration. 2. If the product of the v alues entered f or “dd” and “ee” are not equal to or less than the v[...]

  • Page 160

    160 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Two- Di mens io na l Bar C ode s QR C ode (Optio nal Special Firmw are) A v ailable f or CL 4 12 only ( other pr inters on dem and) Limited factor wit hout Max icode an d Dat amatr ix Command S truc ture: <ESC> 2D30, a,bb,c,d (ee, ff, gg) a: Error Correc tion Level L: 7%, M[...]

  • Page 161

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 161 Char acter Set : Binary S1 S0 b 8 000000001111 1111 b 7 000011110000 1111 b 6 001100110011 0011 b 5 010101010101 0101 b 4 b 3 b 2 b 1 0123456789 A B C D E F 00000 S P 0 @ P ´ p 00011 ! 1 A Q aq 00102 " 2 B R b r 00113 #3 C Sc s 01004 $4 D Td t 01015 % 5 E U eu 01106 & [...]

  • Page 162

    162 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Alphanu meric S1 S0 b 8 00000000111 1111 1 b 7 00001111000 0111 1 b 6 00110011001 1001 1 b 5 01010101010 1010 1 b 4 b 3 b 2 b 1 0123 4567 89 A B C D E F 00000 SP 0 @P ° p 00011 !1 A Q a q 00102 "2 B R b r 00113 #3 C S c s 01004 $4 D T d t 01015 %5 EU e u 01106 &6F V f v[...]

  • Page 163

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 163 Numeric Input (Quick Bas ic Exampl e): QR barcode tes t for CL412 1Y0200A/2 E2000 CLS E$ = CHR$(27) WIDTH "LPT1:", 255 OPEN "lpt1:" FOR OUTPUT AS #1 Print D ata DATA1$ = "0123456789" DATA2$ = " $%*+-./0123456789:ABCDEFGH IJKLMNOPQRSTUVWXYZ"[...]

  • Page 164

    164 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Manual Mo de with NUMERIC PRINT #1, E$; "H050"; E$; "V010"; E$; "XSMANUAL MODE WITH NUMERIC" PRINT #1, E$; "H050"; E$; "V050"; E$; "2D30,L,06,0,0"; E$; "DS1,"; DATA1$; PRINT #1, E$; "H350"; E$; "[...]

  • Page 165

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 165 Multiple Data PRINT #1, E$; "H050"; E$; "V910"; E$; "XSMULTIPLE DATA"; PRINT #1, E$; "H050"; E$; "V950"; E$; "2D30,H,06,0,0"; PRINT #1, E$; "DS1,"; DATA1$; PRINT #1, E$; "DS2,"; DATA2$; PRINT #1, E$;[...]

  • Page 166

    166 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual Outp ut:[...]

  • Page 167

    Programming Manual 4. Bar Code Spec ification s SATO RISC Printers 167 Note: 1. The data command should be u sed according to the input mode or data type. Please refer to the attached pr ogramm sample and print sample. 2. With automatic mode, the data for 80 - 9F hex or E0 - FF hex will be handled for Kanji data, not Binary data. 3. With manual mod[...]

  • Page 168

    168 SATO RISC Printers 4. Bar Code Specifications Prog ramming Manual This pag e is inten tional ly left b lank.[...]

  • Page 169

    Programming Manual 5. Interf ace Specif ications SATO RISC Printers 169 5. In terfac e Sp ecificat ions 5.1 Overview This sectio n e xplains the int erface specifica tions for the S A T O RISC pri nt- ers. These spec ificatio ns inclu de detailed infor mation on h ow to proper ly interface your prin ter with your hos t syste m and i ncludes da ta a[...]

  • Page 170

    170 SATO RISC Printers 5. Int erface Spec ificatio ns Programming Manual 5.3 The Receive Buffer The SA TO RISC pr inters hav e the abi lity to rec eive a data stream from the host i n one of two wa ys. The rece ive b uff er may be configu red to accept one pr int jo b at a t ime or multiple p r int jo bs. The sin gle jo b pri nt buff er is genera l[...]

  • Page 171

    Programming Manual 5. Interf ace Specif ications SATO RISC Printers 171 from being full). At this time, DTR will go “ high” or an X- On is s ent to t ell the host that it can aga in receive data. All pr inter e rror con dition s (i.e., la bel out, r ibbon o ut) wi ll cause t he pr int er to go busy ( DTR “low” o r X-Off ) until the problem [...]

  • Page 172

    172 SATO RISC Printers 5. Int erface Spec ificatio ns Programming Manual Electr ical Specif ications Pin Assignments RS232C Interface Signals Connecto r DB-25S (Female) Cable DB-25P ( Male), 50 ft. maximum length . F or cable configu - ration, refer to cable requ irements appropr iate to the RS232C protoco l cho sen. Signal Levels High = +5V to +12[...]

  • Page 173

    Programming Manual 5. Interf ace Specif ications SATO RISC Printers 173 5 T o P rin ter CTS (C lear to S end) - W hen this line is high, the pr inter assume s that data is re ady to be transm itted. The p rint er will no t recei v e data wh en this li ne is lo w . If this line is not being used, it shoul d be tie d high (t o pin 4). 6 T o Pr inter [...]

  • Page 174

    174 SATO RISC Printers 5. Int erface Spec ificatio ns Programming Manual Ready/Busy Flo w Contr ol Ready/Bu sy i s the h ardware flow con trol f or the ser i al inter f ace on the pri nter . By raising/lowering the voltage lev el on Pin 20 of the RS232 por t, the pr inter n otifie s the hos t when i t is rea dy to recei ve data. Pin 4 ( RT S) and P[...]

  • Page 175

    Programming Manual 5. Interf ace Specif ications SATO RISC Printers 175 on-lin e, an X-On is sent out . In t he Singl e Job Buffer mode, when the pri nter receives a pr int job , it transmi ts an X-Off and b egins pr inting. When it is done prin ting, it t ran smi ts an X-O n . In the Multi Job B uffer mode, the pri nter sends a n X- Off when the ?[...]

  • Page 176

    176 SATO RISC Printers 5. Int erface Spec ificatio ns Programming Manual Bi-Directi onal Communicat ions This is a two-wa y communications p rotocol between the host com puter and the p r inter , thus en abling the hos t to c heck pri nter sta tus. When thi s protoco l is select ed, there is no busy sig nal from the p rint er (pin 20, DTR , is alwa[...]

  • Page 177

    Programming Manual 5. Interf ace Specif ications SATO RISC Printers 177 Stat us - A si ngle by te d efi nin g the c ur rent status of th e print er . Label Remaining - Six bytes defining the numbe r of label s remaining in the cur rent pr int job. The range is from 000 000 to 9 99999 lab els. If an ENQ is r eceived after the pr in t job sp ecified [...]

  • Page 178

    178 SATO RISC Printers 5. Int erface Spec ificatio ns Programming Manual Status Byte Defini tion, Bi-Com Pr otocol ASCII HEX DEFINITION OFF-LINE 03 0 N o E r r o r s 1 31 Ribbon Near End 2 32 Buff e r Near Full 3 33 Ribbon Near En d and B uffer Near Full ON-L IN E, W AITIN G FO R D A T A A4 1 N o E r r o r s B 42 Ribbon Near End C 43 Buff er Near F[...]

  • Page 179

    Programming Manual 5. Interf ace Specif ications SATO RISC Printers 179 5.5 Centronics P aral lel Interface Electr ical Specif ications Centr onics P arall el Interface Pin Assignments Printer Connector AMP 57-403 60 (DDK) or eq uivalent Cable Connector AMP 57-303 60 (DDK) or eq uivalent Ca ble Le ngt h 10 ft. or l ess Signal Level High = + 2.4 V t[...]

  • Page 180

    180 SATO RISC Printers 5. Int erface Spec ificatio ns Programming Manual D A T A STREAMS Single Job Buffer: The Single Job Buffer mode is not av ailable when using the Centronics interface . Multi Job Buffer:<STX><E SC>A . . Job#1 . . <ESC>Z<ETX> <STX><E SC>A . . Job#n . . <ESC>Z<ETX> Note: For parall[...]

  • Page 181

    Programming Manual 5. Interf ace Specif ications SATO RISC Printers 181 dition and 0V when a false condition e xists. The maxim um v olta ge that can be applied to t hese pins is +50V and the maxim um current they can sink is 500 mi lliamps. ST AND A RD OPERA TION 1Ko h m ,¼ W Pin 1 Vcc = +5V Signal Out P i n2 ,3 ,6 ,7o r8 Extern al Output Sign al[...]

  • Page 182

    182 SATO RISC Printers 5. Int erface Spec ificatio ns Programming Manual REPEA T PRINT End Prin t Start Pri nt +5V 0V +5V 0V PRINT S TART INPUT PRIN T REPEAT +5V 0V PRINT EN D TYPE 4 +5V 0V PRINT EN D TYPE 3 20 millisec onds +5V 0V PRIN T END TYPE 2 +5V 0V PRINT EN D TYPE 1[...]

  • Page 183

    Programming Manual 5. Interf ace Specif ications SATO RISC Printers 183 ERR OR SIGNALS +5V 0V +5V 0V PAPE R END MOVING STOPPE D PRINT MOTI ON +5V 0V PRINT END TYPE 4 +5V 0V PRIN T END TYPE 3 +5V 0V PRIN T END TYPE 2 +5V 0V PRIN T END TYPE 1 +5V 0V RIBBON END MACHINE ERROR Head Clos ed Paper or Ribbon End Pa per/R ibbon Repl enishe d Head Open[...]

  • Page 184

    184 SATO RISC Printers 5. Int erface Spec ificatio ns Programming Manual PIN Assignments CL 408/412 and CL608/612 (V A) NO TE: The signals on pins 1, 3 4 and 6 each have an open collector out put. Thes e pins normally me asure +.07V maxim um when a true condition e xists. If a false condition occur s, the vol tage will drop to 0V . T o ac hie ve a [...]

  • Page 185

    Programming Manual 5. Interf ace Specif ications SATO RISC Printers 185 that can be applied to these pins is +50V and the maximum current they can sink is 500 milliamps. 1 K ohm , ¼W Pin 13 Vcc = +5V Signal Out P i n1 ,3 4o r6 End Print (Label Feed Stop) Start P rint (Label Feed Stop) 20 milliseconds +5V TYPE 1 0V +5V TYPE 2 0V +5V TYPE 3 0V +5V T[...]

  • Page 186

    186 SATO RISC Printers 5. Int erface Spec ificatio ns Programming Manual PIN Assignments XL400/410 PIN DIRECTION SIGNAL DESCRIPTION 1 No Con nection 2 Ref erence Signa l Ground 3 T o Rewinder Ena bles the rewinder 4 No Con nection 5 T o Pri nter Fu ll switch - Stops the pr inter wh en the stacker or rew inde r is full 6 T o S ta cke r E na bl e s t[...]

  • Page 187

    Programming Manual 6. Troubleshootin g SATO RISC Printers 187 6. T roubleshooting 6.1 Overview The design of S A T O RISC pr inters is b ased upo n prov en techno logy and reliable comp onents. When a problem occu rs, the solution can be eas ily traced using the troubleshoot ing tables in this section. This table list symptom s, probable causes, an[...]

  • Page 188

    188 SATO RISC Printers 6. Troubleshooting Programming Manual 6.2 Initial Checklist If you are una ble to produce output on your pri nter , check the follo wing before deciding you are unable to proceed any furth er . 1. Is the pr inte r switched up and ON-LINE ? 2. Do any of the F ront Panel LEDs indicate a n error con dition ? If this lig ht is ON[...]

  • Page 189

    Programming Manual 6. Troubleshootin g SATO RISC Printers 189 4. When you send the prin t job to the printe r and it does not respo nd, and t h e r ei sn oe r r o r m e s s a g eo nt h e P C : a) Check your data stream for some of t he basic s. Is your job framed as fol lo w s ? <ESC>A—D A T A---<ESC>Z b) V er ify t hat you’ve inclu[...]

  • Page 190

    190 SATO RISC Printers 6. Troubleshooting Programming Manual 6.4 T roubleshooting the RS232C (S erial) Interface 1. Is the RS 232C Ser ial c able connected se cure ly to your seri al por t on the PC ( DB-25S M ale) and to the R S232C c onnector on the pri nter? W arning: Ne ver connect or discon nect interface cable s (or use a switc h bo x) with p[...]

  • Page 191

    Programming Manual 6. Troubleshootin g SATO RISC Printers 191 6.5 Error Signals M8400R V and M84S Series Printers (Some of the foll owing pr ocedures are not NA f or M-8459S ) LED LCD MESS A GE A U DIBLE BEEP ERR OR CONDITION TO C L E A R Error O n Machi ne Error 1 Long M achine E rror Switch power ON/OFF Error O n EEPR OM Error 1 Long EEP ROM Read[...]

  • Page 192

    192 SATO RISC Printers 6. Troubleshooting Programming Manual 6.6 Error Signals CL408/412 LED LCD MESS A GE A U DIBLE BEEP ERR OR CONDITION TO C L E A R Red M achi ne Error 1 Long M achine E rror Switch power ON/OFF Red EEPROM Error 1 Long EEP ROM Read/Wr ite Switch po w er ON/ OFF Red Head Error 1 Lon g Head Switch power ON/OFF Red Sensor Error 3 S[...]

  • Page 193

    Programming Manual 6. Troubleshootin g SATO RISC Printers 193 6.7 Error Signals CL608/612 (V A) LED LCD ME SSA GE A UDIBLE BEEP ERROR CONDITION TO C L E A R E r r o ro n M a s c h i n eE r r o r 1L o n g M a s c h i n eE r r o C y c l ep o w e ro n / off Error on EEPR OM Err or 1 Long E EPR OM Read /Wri te Cycle power on/ off Erro r on Head Err or [...]

  • Page 194

    194 SATO RISC Printers 6. Troubleshooting Programming Manual 6.8 Error Signals XL400/410 LED LCD Beep Err or Condition T o Clear Error On Machine Error 1 Long M achi ne Error Cycle power ON/OFF Error On EEPR OM Error 1 Lon g EEPR OM Rea d/Write Cycle pow e r ON/OFF Error On Head E rror 3 Shor t Pr int Hea d is d ama- ged Replace Pr int H ead Cycle [...]

  • Page 195

    Programming Manual 6. Troubleshootin g SATO RISC Printers 195 Error Blin ks S ta cker Full 3 S hor t Stacker is full of c ut media E m pt y St acker Error Blin ks Rewinder Full 3 S hor t R ewinder is full Remove roll from rewin- der Error Blin ks Cutter Error 3 Shor t Cu tter is j ammed Clear Cutter Cycle power ON/Off Error Blin ks Cutter Sensor Er[...]

  • Page 196

    196 SATO RISC Printers 6. Troubleshooting Programming Manual This pag e is inten tional ly left b lank.[...]

  • Page 197

    Programming Manual 7. Custom Protocol Command Code s SATO RISC Printers 197 7. Custom Pr otoco l Command Codes 7.1 Description This sectio n conta ins informati on on c reating cus tom Proto col Com mand Codes for operating the RIS C pri nter . The Protoco l Comma nd cod es are used to tell the pri nter that a specifi c type of inf or mation is be [...]

  • Page 198

    198 SATO RISC Printers 7. Custom Protocol Command Codes Programming Manual 7.2 Download Command Structure The comma nd for downloading a n ew set of Pr otocol Co mmand C odes takes the form of <E SC>LD ,a,b ,c,d,e,f,g,h,i. The param eters sp ecified for “a” through “i” can be tran smitted i n either ASC II character s or hex nota - ti[...]

  • Page 199

    Programming Manual 7. Custom Protocol Command Code s SATO RISC Printers 199 7.3 Download Pr ocedure The procedu re f or downloading a custom Prot ocol Comm and Code set is: 1. Reset the pr in ter to the d efault settings u sing the R eset pr ocedur e. 2. Place DIP switch DS2- 7 in t he ON pos ition. 3. T ur n the POWER switch ON whil e simultan eou[...]

  • Page 200

    200 SATO RISC Printers 7. Custom Protocol Command Codes Programming Manual Custom P rotocol Command D ownload for Sample comma nd Stream : WIDTH "LPT1:", 255 E$ = CHR$(27) LPRINT E$; "A"; LPRINT E$; "LD,{,},^,@,!,~ ,),0,0"; LPRINT E$; "Z";[...]

  • Page 201

    Programming Manual 8. Custo m Characters And Graphics SATO RISC Printers 201 8. Cust om Char acte rs And Graph ics 8.1 Custom-designed Chara cter Example The following e xample i s present ed to he lp unde rstand t he use of the Custom- Designed Cha racters comm and. It demon strates the des ign and pri nting of an “arrow” in a 16 x 16 m atri x[...]

  • Page 202

    202 SATO RISC Printers 8. Custom Characters And Graphics Programming Manual 3. T ransf er the image into two bit map represe ntation s and then into hexadecimal or binar y f orm at. RO W BIT M AP HEX 1 0000 0001 0 000 0000 01 00 2 0000 0011 1 000 0000 03 80 3 0000 0111 1 100 0000 07 C0 4 0000 1111 1 110 0000 0F E0 5 0001 1111 1 111 0000 1F F0 6 001[...]

  • Page 203

    Programming Manual 8. Custo m Characters And Graphics SATO RISC Printers 203 6. T o store the cus tom desi gned character in mem or y using a binar y data stream, the comma nd would b e: <ESC>A <ESC> T1B3F 01H 00H 03H 80H 07H C0H 0FH E0H 1FH F0H 3FH F8H 7FH FCH FFH FEH 07H C0H 07H C0H 07H C0H 07H C0H 07H C0H 07H C0H 07H C0H 07H C0H <[...]

  • Page 204

    204 SATO RISC Printers 8. Custom Characters And Graphics Programming Manual The follo wing example is presente d to help you unders tand the use of the Custom G raphics co mmand. It d emonstrates t he design an d pri nting of a “diskette” in a 48 x 48 mat rix . 1. Deter mine the ma tr ix size f or the graphic . It must be in 8 dot by 8 dot bloc[...]

  • Page 205

    Programming Manual 8. Custo m Characters And Graphics SATO RISC Printers 205 3. T ransf er the im age int o a bit map repr esentati on and t hen int o hexa- decimal format : Binary: 1 00 111111 11111111 11111111 11111111 1111111 1 1111110 0 2 0 1111111 11111111 1111 1111 11111111 11111111 1111 1110 3 11 100000 01 1000 00 000 0000 0 0 00000 00 000 0[...]

  • Page 206

    206 SATO RISC Printers 8. Custom Characters And Graphics Programming Manual Hex: 13 F F F F F F F F F F C 27 F F F F F F F F F F E 3 E 0 6 00 00 00 60 7 4 C 0 6 00 00 00 60 3 5 C 0 6 00 00 00 60 3 6 C 0 6 00 00 00 60 3 7 C 0 6 00 00 00 60 3 8 C 0 6 00 00 00 60 3 1 C 0 6 00 00 00 60 3 2 C 0 6 00 00 00 60 3 3 C 0 6 00 00 00 60 3 4 C 0 6 00 00 00 60 3[...]

  • Page 207

    Programming Manual 8. Custo m Characters And Graphics SATO RISC Printers 207 4. Using the hexadecimal data, sen d the following cod e to pr int th e graphic image as des igned. E$ = CHR$(27) WIDTH " lpt1: ", 255 LPRINT E$; "A "; LPRINT E $; "V 0100 "; E$ ; "H01 00"; E $; "G H006 006"; LPRIN T "[...]

  • Page 208

    208 SATO RISC Printers 8. Custom Characters And Graphics Programming Manual 5. T o send t he data in b inar y format, th e soft ware must conver t the d ata into binar y f or mat be f ore transmit ting it to the p rint er . Using the BASIC programming language for e xample, this is done by notation “CHR$ (&HC0)” wh ich sen ds the hexidecima[...]

  • Page 209

    Programming Manual 8. Custo m Characters And Graphics SATO RISC Printers 209 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$(&[...]

  • Page 210

    210 SATO RISC Printers 8. Custom Characters And Graphics Programming Manual PRINT #1, CHR$(&HC0); CHR$(&H6); CHR$(&H 3); CHR$(&HFF); CHR$(&HE0); CHR$(&H3); PRINT #1, CHR$(&HC0); CHR$(&H6); CHR$(&H 3); CHR$(&HFF); CHR$(&HE0); CHR$(&H3); PRINT #1, CHR$(&H60); CHR$(&H6); CHR$(&H 3); CHR$(&[...]

  • Page 211

    Programming Manual 8. Custo m Characters And Graphics SATO RISC Printers 211 8.2 PCX Graphics Examp le Ag r a p h i c sf i l ei naP C X f o r m a tm a ya l s ob et r a n s m i t t e d t ot h ep r i n t e r .T h e file must n ot be l arger th an 32K bytes (DOS file size r epor ted in a DIR listin g). For e xample, the Li on.PCX image sh own below ha[...]

  • Page 212

    212 SATO RISC Printers 8. Custom Characters And Graphics Programming Manual This pag e is inten tional ly left b lank.[...]