Printronix LQH-HWTM manual

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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Printronix LQH-HWTM. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoPrintronix LQH-HWTM vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Printronix LQH-HWTM você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Printronix LQH-HWTM, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Printronix LQH-HWTM deve conte:
- dados técnicos do dispositivo Printronix LQH-HWTM
- nome do fabricante e ano de fabricação do dispositivo Printronix LQH-HWTM
- instruções de utilização, regulação e manutenção do dispositivo Printronix LQH-HWTM
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Printronix LQH-HWTM não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Printronix LQH-HWTM e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Printronix na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Printronix LQH-HWTM, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Printronix LQH-HWTM, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Printronix LQH-HWTM. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    IGP ® /PGL ® T echnical Reference Manual /LQH-HW ™ Printers[...]

  • Página 2

    [...]

  • Página 3

    LineJet™ Printers IGP ® /PGL ® T echnical Reference Manua l[...]

  • Página 4

    Hewlett-Pac kard ma kes no repr esentati ons or war ranties of a ny kind regarding this mate rial, incl uding, bu t not limi ted to, imp lied warra nties of merchan tability an d fitness fo r a part icular pu rpose. Hewle tt-Pack ard sha ll not be held r esponsibl e for erro rs contain ed herei n or any omi ssions from this material or for any dama[...]

  • Página 5

    T radema rk Ackno wledge ments IBM is a register ed trademar k of the Int ernationa l Busines s Machines Corp. IGP, Lin ePrinter Plus, PGL and Pri ntronix ar e register ed trademar ks of Printronix, Inc . Code V is a tradem ark of Qua lity Mic ro Syste ms, Inc. Hewlett-Pac kard and HP are registered trademark s, and LineJ et is a trademark of Hewle[...]

  • Página 6

    [...]

  • Página 7

    Table of Contents 1 Introduction ....... . ......... ........ ....... .. ......... ...... .. ........ 13 About this Manual ............... ...... ............. ...... ....... ...... ....... ...... ....... ...... .... 1 3 Warnings and Spec ial Information ............... ............. ................... .... 13 The IGP/PG L Emulation ..............[...]

  • Página 8

    Table of Contents Corners ........... ................... ................... ............. .................... .......... 4 9 Create ................... ............. ................... .................... ............. .......... 51 Delete Form ....................... ............. ................... .................... .......... 5 2 Delete[...]

  • Página 9

    Table of Contents 3 B ar Cod es . ....... ........ ....... ....... ....... ....... ........ .... ..... 87 Overview ... ............. ................... ................... ............. .................... .......... 87 User-Defined Variable B ar Code Ratio s............. .................... .......... 89 PDF Character S izes [PDF [; LOC] [;FONT[...]

  • Página 10

    Table of Contents Page Lay out Considerati ons ........... ............. ................... ............... 239 Plannin g the Form Lay out .. ............. ................... .................... ........ 23 9 Creating a Form and Addin g Form Compone nts ............ ............... 243 Directory Co mmand ............ ............. ..............[...]

  • Página 11

    Table of Contents C Vertical Paper Motion ................ ............ .. .. . .. .. ... . 283 Introductio n ............ ................... ................... .................... ............. ........ 283 Paper M otion Using L ine Feeds and Form Feeds ........... ................... .. 283 Paper Moti on Using t he PI Line (Relativ e Line S le[...]

  • Página 12

    Table of Contents[...]

  • Página 13

    13 1 Intr oduction About this Manual This manu al expla ins how to us e the IGP  /PGL  (Inte lligent Gr aphics Printi ng/Print ronix  Graphic s Langua ge) on line matrix printers. Use this manual an d your p rinter User’ s Guide f or complete printer -IGP co mpatibi lity. W arnings and Special Informati on Informati on requi ring sp ecia[...]

  • Página 14

    14 Chapter 1 The IGP/PGL Emulation Graphic capabili ties incl ude boxes , vertica l and horiz ontal lin es with user - sele ctable thi ckness , logos, and spec ial a lphanumeric print f eatures. Forms and grap hic desi gns can be dupl icated h orizont ally and ve rtical ly. Alphanum eric da ta can app ear as pre position ed “fixed” i nformatio [...]

  • Página 15

    Modes of Operation 15 When a Cr eate Form command i s issued, the print er moves from the Normal Mode to the Create Form M ode. When in t he Cre ate Form Mo de, the us er sends te xt, images , and bar code data to the IGP. All of this data is stor ed in mem ory. An End state ment terminates the IGP data string. The p rinter returns to N ormal Mode.[...]

  • Página 16

    16 Chapter 1 The IGP/PGL Emulation Norm al Mode Normal M ode comm ands print d ata in a l ine prin ter format u ntil a Spe cial Function Control Cod e (SFCC) is det ected. Commands access ible in the Normal Mode are s ummarized in Table 1 and fully de scribed o n the refere nced page . Some Normal Mode commands can also be u sed in ot her modes: C [...]

  • Página 17

    Modes of Operation 17 T able 1. Normal Mode Comma nds Command Mnemonic Description Page # Compress ed Print DENSITY Defines the horizo ntal print densi ty in characters per inch (cpi). 45 Config uration CONFIG Reco nfigures I GP/PGL param eters 46 Create CREA TE Places the IGP in the Crea te Form Mo de where al l the Create Form Mo de commands are [...]

  • Página 18

    18 Chapter 1 The IGP/PGL Emulation Create Form Mode Create Form M ode co mmands d esign forms , all form compo nents, and bar codes. The forms are n ot printe d in the Create Form Mode; forms are p rinted in the Ex ecute For m Mode afte r all form design i s completed . To begin fo rm design, a ccess the Create Form Mode using th e Create comm and.[...]

  • Página 19

    Modes of Operation 19 T able 2. Create Form Mode Commands Command Mnemonic Description Page # Alphanum eri cs ALPHA De fin es size, lo cat ion , an d c on t en t of alp han um eri c cha rac ters and dy namic al phanumeri c data fields. 29 Alph a, Inc remen tal ALP HA Defi nes start i ng da ta an d incr emen t amou nt fo r fixed aut o- incr ement fi[...]

  • Página 20

    20 Chapter 1 The IGP/PGL Emulation Execute Form Mode The Exec ute Form Mo de prints fo rms crea ted in the C reate Form Mode. Execute Form Mode commands a re summ arized in Ta ble 3 a nd fully described on the referen ced pages. Ca rriage Retu rn, Form Feed, and Line Feed comma nds als o operate in the Ex ecute Form M ode. The EX ECUTE Form comman [...]

  • Página 21

    Modes of Operation 21 T abl e 3. Execute Form Mode Commands Command Mnemonic Description Page # Compress ed Print DENSITY Defines the horizo ntal print density in cha racters pe r inch (cp i ). 45 Dynamic Alphanum eri c Data AF n Execute s the dyn amic alpha numeric data provi ded after th e (cc) EXECUTE com mand. 62 Dynamic Bar Code Data BF n Exec[...]

  • Página 22

    22 Chapter 1 The IGP/PGL Emulation Alphan umeri c Data Base d on the requi rements of a specific applica tion, you ca n use one of three methods t o print al phanumer ic data o n a form: Fi xed data, Overlay dat a, and Dynamic data. These methods a re desc ribed in m ore detail i n Chapter 2. • Fixed data prints on each fo rm in the same “pre p[...]

  • Página 23

    23 2 Commands IGP Com mand Standa rds IGP c ommands have ma ny opti ons and a specifi c format that you must f ollow to obtain t he desir ed results . Certain elements are standar d for all I GP commands . These c ommand st andards are describ ed in the fo llowing section s. Famili arize you rself with th e meaning and use o f these st andards befo[...]

  • Página 24

    24 Chapter 2 IGP Command Standards All IG P comm ands beg in with t he Sp ecial Func tion Contr ol Code (SFCC) and must end with a lin e termina tor. Line T erminator Each command line mus t be termi nated b y a line feed (or a c arria ge return with a lin e feed), o r a paper motion com mand. The command line will n ot be accepted if not properly [...]

  • Página 25

    Prompt 25 Prompt The promp t is the s ymbol (e.g ., a dollar s ign, period , or greater than sy mbol) used to ind icate that the host computer is ready for data input. In this manual , the promp t is show n as a peri od (.). Numeri c V al ues In this m anual, a l owercase n in the c ommand r epresents a numeric value. If a comman d paramete r inclu[...]

  • Página 26

    26 Chapter 2 IGP Command Standards Charact er Position.Dot Posit ion (CP .DP) Form at The CP.DP fo rmat is a special p arameter av ailabl e with the IGP commands . CP.DP f ormat allows two eleme nts plotte d at near ly the sa me charac ter loca tion to be o ffset to el imina te overlapp ing. S pecifyi ng starting and end ing rows and columns i s it[...]

  • Página 27

    Data Fields fo r Alphanumeric a nd Incremental Data 27 Command Codes Data Fie lds for Alpha numeric and Increme ntal Data Based on the requi rements of a specif ic appli cation, th ree metho ds are use d to print alphanume ric data on the form: f ixed (or p repositio ned) data, overlay data, and d ynamic data. Fixed Data Fixed data is enter ed duri[...]

  • Página 28

    28 Chapter 2 Command Codes Dark Printing A DARK pa rameter , available in the Al pha, Rever se, and Bar Code commands , is a do uble-strik e feature which produ ces bold er, darker text, denser black ba ckgrounds for revers e print, and extra- dark, more readable bar co des. A DARK pa rameter used with alphanume ric text in th e ALPH A command wi l[...]

  • Página 29

    Al pha nume ric s 29 Alphanumerics Pur pose Defi nes and p ositions a lphanumer ic data on a form as a “preprin ted” stat ic data fiel d or as a dy namic da ta field. Mode CREATE Format ALPHA [R;] [E;] [C n ;] [AF n;L; ] [ DIR ;] [UC;] [DAR K;] [POINT;] [HS n; or HSD n; ] SR; SC ; VE; H E; (D) t ex t(D) STOP ALPHA The Al phanumeric command; ent[...]

  • Página 30

    30 Chapter 2 Command Codes locatio n on the form. The SR and SC paramete rs specif y the exact locat ion of the alphanum eric field identifi ed by n . c. Replace L with a num ber equal to the num ber of chara cters in the dyn amic alp hanume ric string ranging fro m 1 throu gh 512. d. Dynamic ally enter the alphan umeric st ring itself i n the Ex e[...]

  • Página 31

    Al pha nume ric s 31 POINT Optional pa rameter tha t changes the units for the vertic al and h orizont al expan sion va lues. W hen the point par ameter is present the VE value defi nes the font heigh t in 1/7 2 of an inc h (i.e. poi nts). If the HE value i s non-zero, i t defin es the ch aracter width in 1/72 of an i nch, other wise the cha racter[...]

  • Página 32

    32 Chapter 2 Command Codes Comments As dyna mic data , the lo cation of the alp hanumeric field is establi shed in the Cr eate Form mode and th e actual alphanum eric da ta is conti nuously redefined before p lacement on the form in t he Execute Fo rm mode. You can a lso rotate and reverse print the alphan umeric st ring us ing this command. Exampl[...]

  • Página 33

    Al pha nume ric s 33 Figure 4 . Alphanumeric Example ROW 39.2 ROW 36 COLUMN 37 COLUMN 49 COLUMN 48 ROW 45 COLUMN 26 ROW 58 COLUMN 58 ROW 54.5 COLUMN 60[...]

  • Página 34

    34 Chapter 2 Command Codes Alphanumerics, Increme ntal Fields Pur pose The i ncremental fields feature up dates alp hanumeric (and bar code) d ata fields in a num eric or alpha betical manner automatic ally usin g just on e set of da ta sent fr om the hos t computer . Incre mental alpha numeric data fiel ds can be a pplied to fixed ( static) da ta [...]

  • Página 35

    Alphanumerics, Incremental Fields 35 Linked a nd unlink ed mask ing of su bfields w ithin t he STAR TDATA is defined by the L value in the STEPMAS K field. L indicat es linked but non-i ncremen tal data in the corresp onding pos ition of the STARTDATA field; an y alpha charac ter other th an L in th e STEPMA SK field indicat es a n on-increm ental,[...]

  • Página 36

    36 Chapter 2 Command Codes V alue Description ST ARTDA T A: STEPMASK : ABC123 000001 Linked s ubfields : ABC and 123 RPT = 1 RST = 0 Printed Results: ABC123 ABC124 ...... ...... ...... ABC999 ABD000 ...... ...... ...... ZZZ999 AAA000 V alue Description ST ARTDA T A: STEPMASK : 1ABC123 0LLL001 T wo s eparate b ut linke d numeric subfield s: 1 an d 1[...]

  • Página 37

    Alphanumerics, Incremental Fields 37 V alue Description ST ARTDA T A: STEPMASK : ___1 0001 Single n umeric fie ld with le ading spaces (_) RPT = 1 RPT = 0 Printed Results: ___1 ___2 .... .... .... __10 V alue Description ST ARTDA T A: STEPMASK : _AA98 0LL01 T wo s eparate b ut linke d numeric subfield s: AA and 98, wi th lead ing space ( _); fix ed[...]

  • Página 38

    38 Chapter 2 Command Codes Alphanumerics, Increme ntal: F ixed Data F ields Pur pose To au tomatica lly inc rement/decr ement fix ed alpha numeric da ta fi elds . Mode CREATE Format ALPHA [R;] [E;] [Cn; ] I ; [DIR;] [U C;] [DARK;] [P OINT;] [HSn or HSDn;] SR; SC ; VE; HE; [ idir ] STEP MASK ; [RPT n ;] [RST n ;] (D)STARTDATA(D) STOP I Identifie s t[...]

  • Página 39

    Alphanumerics, I ncremental: Fixed Data Fie lds 39 RST n The optiona l increme ntal res et count pa rameter to specify the numb er of tim es an in crement ed fiel d is printed (o n one or more fo rms) before it is reset to the startin g value. A reset cou nt is useful when pri nting a hi er archy of f iel ds whe re a low-l evel f iel d generate s a[...]

  • Página 40

    40 Chapter 2 Command Codes Alphanumerics, Increme ntal: Dy namic Da ta Fields Pur pose Au tomatical ly incremen ts/decr ements dyna mic alph anumeric data fiel ds. Sp ecifies the loca tion and s ize of the increm ental dynamic data fiel d during the Create Form m ode. STE PMASK and STARTDA TA par ameters are s upplied i n the Ex ecute command durin[...]

  • Página 41

    Alphanumerics, Incr emental: Dynamic Data Fie lds 41 Comments The Increme ntal Alphanum eric Dynami c Data Fields c ommand is a variatio n of the standard IG P Alph anumeric c ommand, b ut does not repl ace the stand ard alph anumeric c ommand. As with st andard dy namic da ta fields, in crement al dynami c data fields a llow the star ting data to [...]

  • Página 42

    42 Chapter 2 Command Codes ~CREATE;TEST HDUP;3;6 VDUP;3;1 ALPHA I;1;1;0;0;001;RPT3;RST 9;*A01* STOP VDUP;OFF HDUP;OFF ALPHA I;1;18;0;0;001;RPT1;*B 01* STOP END ~EXECUTE;TEST;2 ~NORMAL where: I;1;1;0;0;00 1;RPT3;RST9;* A01* I ncremental alphanum eric com mand; SR of 1 ; SC of 1 ; VE and HE are 0 ; 001 stepm ask inc rements by 1 ; RPT3 repeats each f[...]

  • Página 43

    Boxes 43 Boxes Pur pose Pr oduces any varie ty of rec tangular boxes. Mode CREATE Format BOX LT; SR; SC; E R; EC STOP BOX The Box comman d; enter BOX . Boxes expand down an d to the righ t from the given row an d column. LT Defines t he lin e thickn ess, mea sured in dots. Line thickness is based o n dot dime nsions of 1/72 inc h both ho rizontall [...]

  • Página 44

    44 Chapter 2 Command Codes Example The foll owing progr am and ex ample in Figure 5 defines two boxes. To illustrate positio ning, the s tarting row and colu mn are indicat ed on the ex ample bu t do not necessari ly reflect a ctual locatio n on the page. (Not e the posi tion of the ending row and colu mn.) BOX 3;24;16;51;63 (One box three dot row [...]

  • Página 45

    Compressed Print (Density) 45 Comp ressed Prin t (Dens ity) Pur pose Defi nes the h orizont al print den sity in character s per inc h (cpi). Mode NORMAL, EXECUTE Format (cc) DENSITY ;n (cc) The Special Func tion Co ntrol Code. DENSITY The Dens ity com mand; enter DENS ITY . n Selec t s t he de n si ty i n c p i, OC R- A , or OC R -B ; en t e r a v[...]

  • Página 46

    46 Chapter 2 Command Codes Configuration Pur pose Pl aces the IG P/PGL i n the Confi guration mod e, where c hanges to any or all of th e IGP/PGL configur ation param eters v ia softwa re control can b e made ins tead of from the p rinter co ntrol panel. Mode NORMAL Format (cc)CONFIG paramete r;value END (cc) The SFCC. CONFIG The Configuratio n com[...]

  • Página 47

    Configuration 47 T able 6 . Configuration Parameters Configuration Parameter V alue AI 00 SP ACE S 0 = Disa bled; Non- Zero = Enab led AUTO WRAP 0 = Disa bled; Non- Zero = Enab led CARRIAGE RETURN DE F 0 = Disabled; Non-Zero = Enab led CR EDIT 0 = Disa bled; Non-Zero = Enabled ERROR REPORT 0 = Off; 1 = On; 2 = Debug EXT EXECUTE COPY 0 = Disabled; N[...]

  • Página 48

    48 Chapter 2 Command Codes Comments The IGP/P GL configu ration pa rameters a vailable ar e define d in your User’ s Guide . Any o r all para meters c an be us ed with in one CON FIG comm and, and the y can be listed i n any order. Lis t each paramete r;value on a sepa rate line, te rminatin g with the E ND comm and. Default configur ation values[...]

  • Página 49

    Corners 49 Corner s Pur pose D efines c orner sets. Mode CREATE Format CORNER LT; SR; SC; E R; EC; VL; HL STOP CORNER The Cor ner comman d; enter CORNE R . Corners expand d own and to th e right from the give n row and colu mn. LT Defines t he lin e thickn ess, mea sured in dots. Line thickness is based o n dot dime nsions of 1/72 inc h both ho riz[...]

  • Página 50

    50 Chapter 2 Command Codes STOP Stop indi cates th e end of the CORNER co mmand; enter ST OP , an d the IGP wil l wait for a n ew command. If not e ntered, the IGP will wa it for another s et of Corner command paramete rs. Example The foll owing progr am specifi es a corn er set as shown in Figure 6. To illu strate po sitioni ng, the sta rting row [...]

  • Página 51

    Create 51 Creat e Pur pose Pl aces the IG P in the C reate Fo rm mode, where forms and form elements can be de fined using the app ropriate c ommands. Mode NORMAL Format (cc)CREATE; [/] formnam e [ ;FL ] [;DISK] (cc) The Special Func tion Co ntrol Code. CREATE The Create Form mode command; enter CREATE. / The opt ional debug ch aracter t o che ck t[...]

  • Página 52

    52 Chapter 2 Command Codes c. To specify the defa ult forms l ength of 792 dot rows (11 i nches at 6 lpi), do n ot enter a value in the for m length parameter. DISK Optional pa rameter to store the form o n the printer’s flash m emory. Ente r DISK . Example The foll owing co mmand creat es a form named OR DER with the default for ms len gth: (cc)[...]

  • Página 53

    Delete Logo 53 Delete Logo Pur pose Del etes the l ogo identi fied by t he logo na me from th e director y and the IG P memor y. Mode NORMAL Format (cc)DELE TE LOGO; logon ame [;DISK] (cc) The Special Func tion Co ntrol Code. DELETE LOG O The Delete Form com mand; enter DELETE LOGO . logon ame Identifie s the logo to be dele ted. En ter the name o [...]

  • Página 54

    54 Chapter 2 Command Codes Duplication, Horizontal Pur pose Defi nes both the number of times form ele ments are du plicated horizontal ly and th e spacing b etween eac h duplic ation. Mode CREATE Format HDUP; dup#; offs et# elements to be dupl icated HDUP;OFF HDUP The Horizontal Duplication comma nd; ente r HDUP . dup# Specifi es numbe r of times [...]

  • Página 55

    Duplication, Horizontal 55 Example The followi ng examp le is a h orizontal duplicat ion of a series of vertic al lines. To illustrate positio ning, star ting ro w and column are ind icated on the example but do not necess arily ref lect actual loca tion on the page. HDUP;14;4 (14 dupes with 4-character column spacing) VERT (Command to be duplicat [...]

  • Página 56

    56 Chapter 2 Command Codes Duplicatio n, V ertical Pur pose Defi nes both the number of times elements are duplic ated vertic ally an d the spac ing betwee n each duplica tion. Mode CREATE Format VDUP; dup#; offse t# elements to be dupl icated VDUP;OF F VDUP The Vertical Du plicati on comman d; enter VDUP . dup# Specifi es numbe r of times th e ent[...]

  • Página 57

    Emulation Switching 57 Emulation Switching Pur pose To s witch the active e mulation from PGL to the emulat ion sele cted. Mode NORMAL Format (cc)EMUL ATION; emula tion EMULAT ION The Emu lation S witch com mand. emula tion Specifi es the em ulation to activate . Currently, th e only se lection is VGL (Code V) . Enter VGL . If VGL is not th e sele [...]

  • Página 58

    58 Chapter 2 Command Codes Execute Form Mode How to Use th e Execute Co m mand Forms are p rinted in the E xecute Form mode. In ad dition to p rinting the form in the Ex ecute For m mode, var iable data can also b e entered onto the for m “dynami cally” d uring the E xecute Form mode. This dynamic data inp ut during the Exec ute Form m ode incl[...]

  • Página 59

    Execute Form: General Format 59 Execute Form: General Format Pur pose Pr ints forms cr eated in th e CREATE mode. Mode NORMAL Format (cc)EX ECUTE ; formnam e [;PAG E n ] [; FC ] [;ICNT n ] [;IRST n ] [;DISK] [ EVFU Data ] [(cc)AF n ; (D)ASCII text(D) ] [(cc)BF n ; (D)data(D) ] [(cc)GF n ; (D)logona me(D) ] [(cc)IAF n ; [ idir ] STEP MASK ; [RPT n ;[...]

  • Página 60

    60 Chapter 2 Command Codes DISK Optiona l parameter tha t specif ies to reca ll the form from the flash mem ory. En ter DISK . EVFU Data Optiona l parame ter to use the EVFU to ov erlay data onto th e form. ( “EVFU Dat a” is not pa rt of the Execute command . It is shown in the com mand sequenc e to indi cate that a ctual EV FU data ca n be ent[...]

  • Página 61

    Execute Form: Ele ctronic Ver tical For mat Unit 61 (cc)NORMA L The Normal mode com mand. If the form co unt paramete r was not us ed in the E xecute com mand, enter the SFCC and NORMAL t o return the IGP to the Norma l mode. The Normal mode comma nd is input fol lowing al l other Exe cute com mands to enter va riable data. (Refe r to the foll owin[...]

  • Página 62

    62 Chapter 2 Command Codes Execute Form: Dyn amic Alpha numeric Data Pur pose Inc orporates the dynam ic alphanum eric da ta into a p reviousl y identifi ed location o n a form. Mode EXECUT E Format (cc)AF n ; (D)ASC II text(D) (cc) The Special Func tion Control Code. AF n Indicate s a dyn amic al phanumeric field (A F) and i ts data ( n ). Enter A[...]

  • Página 63

    Execute Form: Dynamic Ba r Code Data 63 Execut e Form: Dyn amic Ba r Code Da ta Pur pose Inc orporates the dynam ic bar co de data into a previ ously identifi ed location o n a form. Mode EXECUTE Format (cc)BF n ; (D)data field(D) (cc) The Special Func tion Co ntrol Code. BF n Indicate s a dynam ic bar code field (BF) a nd its dat a ( n ). Enter BF[...]

  • Página 64

    64 Chapter 2 Command Codes Execute Form: Dynamic Logo Pur pose Inc orporates the dyna mic graph ic logo into a pr eviously identifi ed loca tion of a fo rm. Mode EXECUT E Format (cc)G F n ; (D)logonam e(D) (cc) The Special Func tion Control Code. GF n Indicate s the dyn amic log o field. Enter GF and replace n with the number of the field corresp o[...]

  • Página 65

    Execute Form: In cremental Dynamic D ata 65 Execute Form : Incremen tal Dynamic D ata Pur pose Inc orporates increm ental/dec remental c apability to dynamic alphanum eric or ba r code d ata suppl ied as a p art of the Execute Form mode . Mode NORMAL Format (cc)EXECU TE; formnam e [;PAG E n] [;FC] [;ICNT n ] [;IRST n ] ICNT n Identifie s the inc re[...]

  • Página 66

    66 Chapter 2 Command Codes Supplying Dy namic Data for Increm ental Fields Increme ntal dynami c data fie lds are created in the Create Form mo de using the incr emental a lphanumeri c or bar c ode comm ands. The i ncremental dynamic data itsel f is suppli ed during the Execute Fo rm mode at th e top of the form prior to any o verlay da ta. The inc[...]

  • Página 67

    Execute Form: Ov erlay Dat a 67 RST n The optiona l increme ntal res et count pa rameter to specify the numb er of tim es an in crement ed fiel d is printed (o n one or more fo rms) before it is reset to the startin g value. A reset cou nt is useful when pri nting a hi er archy of f iel ds whe re a low-l evel f iel d generate s a seque nce of num b[...]

  • Página 68

    68 Chapter 2 Command Codes Expanded Print Pur pose Se lects fo nt sizes ot her than th e default f ont. Mode NORMAL, EXECUTE Format (cc)EXPA ND; VE; HE (cc) The Special Func tion Control Code. EXPAND The Expan ded Pri nt command ; enter EXPAND . VE Specifi es the ve rtical expansi on factor ; enter a value r anging fr om 0 through 113. HE Specifi e[...]

  • Página 69

    Font 69 Font Pur pose Se lects ty pefaces oth er than the default Goth ic font. Mode NORMAL, C REATE, EXECUTE Format (cc)FONT [;FACE #] [;BOLD #] [;SLANT #] [;S YMSET #] [;POINT #] [ ;SPAC E #] (cc) The Special Func tion Co ntrol Code. (If you are using th e Font com mand in th e CREATE m ode, do not enter the SFCC.) FONT The Font comman d; enter F[...]

  • Página 70

    70 Chapter 2 Command Codes You can use any o r all Fon t parameters , listed in any o rder, in a single Fo nt comman d. (Do not li st font param eters on separat e lines.) Parame ters and sy mbol se ts not specifi ed retain the previo usly se lected value. Paramete rs inco rrectl y speci fied retai n the prev iously selecte d value. All Fo nt comma[...]

  • Página 71

    Ignore Sequence 71 Ignore Sequence Pur pose En ables the IG P to igno re all chara cters after the Ign ore Seque nce On (IG ON) co mmand is entered. All cha racters a re ignored until the Ignore Se quence Off ( IGOFF) com mand is entered. Mode NORMAL, C REATE, or EXEC UTE Format (cc)IGON or (cc )IGOFF (cc) The Special Func tion Co ntrol Code. IGON [...]

  • Página 72

    72 Chapter 2 Command Codes Lines, Horizontal Pur pose Defi nes hor izontal lines. Mode CREATE Format HORZ LT; R; SC; EC STOP HORZ The Horizont al Line c ommand; en ter HORZ . LT Defines t he lin e thickn ess, mea sured in 1/72-in ch dots. Ent er a val ue of 1 or greater. Hor izontal li ne thickness ex pands do wnward from the given ro w. R Defines [...]

  • Página 73

    Lines, Vertical 73 Lines, V ertica l Pur pose Defines ve rtical lines. Mode CREATE Format VERT LT; C; SR; ER STOP VERT The Verti cal Line c ommand; en ter VE RT . LT Defines t he lin e thickn ess, mea sured in 1/60-in ch dots. Ent er a val ue of 1 or greater. V ertical li ne thickness expands to the righ t from the starting column. C Defines t he c[...]

  • Página 74

    74 Chapter 2 Command Codes VERT 2;36;53;61 2;50;53;61 2;60;53;61 2;70;53;61 STOP Listen Pur pose Dis ables the IG P from the quiet stat e and en ables the IGP for standar d operati on. (The Qui et comman d is explai ned on pag e 81.) Mode NORMAL Format (cc)LI STEN (cc) The Special Func tion Control Code. LISTEN The Listen command ; enter LISTEN . L[...]

  • Página 75

    Logo Call 75 SR Defines t he starti ng row of the l ogo. The SR (and SC ) parameter specifie s the loc ation for the logo based on the upper left corner of the gr id in whi ch the lo go was defi ned. Enter a valu e ranging from row 1 throug h one les s than the length of t he form. Characte r row or dot r ow is sp ecified bas ed on the Scale com ma[...]

  • Página 76

    76 Chapter 2 Command Codes Logo Mode, Create Pur pose Pl aces the IG P in the C reate Logo mode, where logos can be defined us ing the a ppropriate dot pla cements. Mode NORMAL Format (cc)LOG O; logoname; VL ; HL [;DI SK] row#; dot; dot1-dot2; do t END (cc) The Special Func tion Control Code. LOGO The Logo command ; enter LOGO . logon ame Enter a m[...]

  • Página 77

    Logo Mode, Create 77 Comments The logo is defined by specifyi ng the over all size an d the rows of data used . The actual number of logos you can cr eate and s tore depend s on the m emory requ ired for each logo. The maxim um logo s ize allowed is 252 r ows high ( 3.5 inche s) and 240 c olumns wi de (4 in ches). Val ues excee ding eithe r of thes[...]

  • Página 78

    78 Chapter 2 Command Codes Normal Mode Pur pose Pl aces the IG P in the N ormal mo de of op eration, wher e the data stream is not ch anged but m onitored for a Spe cial Functi on Control C ode followed b y an IGP c ommand. Mode NORMAL, EXECUTE Format (cc)NORMAL (cc) The Special Func tion Control Code. NORMAL The Normal mode com mand; ente r NORMAL[...]

  • Página 79

    Paper 79 Paper Pur pose Con trols pri nter pape r options. Mode NORMAL, EXECUTE Format (cc)PAPE R [; opti on ] (cc) The Special Func tion Co ntrol Code. PAPER The PA PER command ; enter PAPER . EJECT Prints al l pages tha t are in the bu ffer. Ente r EJECT . This is cu rrently th e only P APER comma nd availab le for line matrix pr inters. Paper In[...]

  • Página 80

    80 Chapter 2 Command Codes Paper Instruction (PI ) Enable/Disabl e Pur pose En ables or di sables us e of the PI line u sing a para llel I/O de vice. (This c ommand doe s not enable/di sable PI line sen sing; it enables or disable s use of the “sensed ” PI li ne.) Mode NORMAL Format (cc)EN -PI o r (cc)DIS-PI (cc) The Special Func tion Control C[...]

  • Página 81

    Quiet 81 Qui et Pur pose Pl aces the IG P in the Q uiet mod e, where a ll data pa ssed to th e ASCII emu lation is unaffecte d by IGP command s except for the LISTEN, SFO N/SFOFF, and IG ON/IGOFF. Mode NORMAL Format (cc)QUIET (cc) The Special Func tion Co ntrol Code. QUIET The Qu iet comma nd; ente r QU IET . The IGP remains in the quiet state unti[...]

  • Página 82

    82 Chapter 2 Command Codes Reset Pur pose Del etes all forms and l ogos fro m IGP memor y. The Res et performs the foll owing tasks : • Prints any obje cts in th e curr ent page • Deletes a ll forms and logo s resi dent in me mory • Sets the font to th e default Go thic 12 po int/10C PI • Releases al l user defined c haracter m appings • [...]

  • Página 83

    Scale 83 If the endi ng row is less than the starti ng row, the rows are au tomatical ly swit ched. The sa me is don e with the en ding a nd starting column. EC Defines t he endi ng colum n of the reverse print fie ld. Enter a value rangi ng from c olumn 2 t hrough th e last co lumn o f the form. The endi ng colum n must be greate r than the starti[...]

  • Página 84

    84 Chapter 2 Command Codes If the dot s cale is s elected, t he parame ters are s pecifie d in dot row and c olumn. For ex ample, ba sed on a 6 0 dpi hor izontal and 72 dpi v ertical do t scale, a fo rm of 8- 1/2 x 11 i nches has 792 rows (72 dpi x 11 in ches) and 510 c olumns (60 dpi x 8-1/2 inche s), and a form of 8 x 11 inc hes has 79 2 rows an [...]

  • Página 85

    Setup 85 Setup Pur pose Au tomatical ly execut es and lo ads IGP/PG L comma nds suc h as forms, l ogos, cu stomi zed pri nt environm ents, e tc., from flash memory to the printer whenever pr inter powe r is applie d or when the RESE T comma nd (page 82) is sent . Mode NORMAL Format (cc)SETUP HOST DATA (cc)SE TUPEND (cc) The Special Func tion Co ntr[...]

  • Página 86

    86 Chapter 2 Command Codes Special Function Control Code Change Pur pose Cha nges the c urrent Spe cial Functi on C ontrol Code (S FCC). Mode NORMAL or EXECUTE Format (cc)SFCC; n or (cc)SFCC; ‘ n ’ (cc) The curren t Special Function Control Co de. SFCC; Specifies the Spec ial Function Control Co de change c ommand. E nter S F CC; (the se mic ol[...]

  • Página 87

    87 3 Bar Codes Overview A bar code is a graphic repr esentation of alphanumer ic character s. Bar code s are produc ed by enter ing bar cod e command s in the Create Form mode. Th e IGP bar c odes are listed in Table 7, with deta iled bar c ode infor mation provid ed on the refe renced p ages. Al l parame ters must b e separated by a semico lon (;)[...]

  • Página 88

    88 Chapter 3 Overview T able 7. A v ailable Ba r Codes Bar Code Mnemonic Symbol Length Cod e Set Page No Codabar CODABAR V ariable Alphanumer ic 91 Code 39 C3/9 V ariable Alphanum eric 96 Code 93 CODE9 3 V ariable Alphanum eric 102 Code 128 - A, B a nd C C128A C128B C128C V ariabl e Al phanumeric and Control C odes 108 EAN8 EAN8 7 digits Numeric 1 [...]

  • Página 89

    User -Defin ed Vari able Bar C ode Rati os 89 User- Defined V a riabl e Bar Code Ratios The user-d efined va riable rat io for bar c odes is an option al param eter. The default r atios shown in Table 8 are overr idden by the variab le ratio feature. Four- and ei ght-digi t ratios c an be use d, dependin g upon the bar code selecte d. Ratio data mu[...]

  • Página 90

    90 Chapter 3 Overview PDF Ch aracte r Sizes [PD F [; LOC ] [; FONT ]] UPC and EAN For UPC and E AN bar codes , a smaller Letter Go thic font w ill be substi tuted for OCR-A or OCR-B w hen the bar code symb ol is no t large e nough to accommo date a 10 CP I font. Othe r Bar C odes For all o ther bar co des, OCR-A and OCR-B w ill print a t 10 CPI . I[...]

  • Página 91

    Codabar 91 Bar Codes The rest o f this c hapter desc ribes eac h of the bar codes available wi th the IGP/PGL e mulation. Codabar The Coda bar structur e is sho wn in Figure 7 and desc ribed o n the follow ing pages. Figure 7. Codabar Structure DATA FIELD QUIET QUIET START STOP LOWER GUARD BAND CODE CODE ZONE ZONE OPTIONAL READABLE DATA FIELD CHECK[...]

  • Página 92

    92 Chapter 3 Bar Codes Quiet Z one Both ends of the bar code st ructure r equire blan k quiet z ones. The q uiet zones m ust be at l east 0.25 inches w ide and comp letely bl ank to en sure accura te reading o f the star t/stop co des and to prevent adj acent bar c odes from overl apping. Be s ure to provid e sufficient s pace on the for m for the [...]

  • Página 93

    Codabar 93 MAG Optiona l parame ter to magnify (horiz ontally expand) the bar cod e symbol. The magnific ation default v alue is X1 . As required for scanni ng, enter a magnifi cation v alue from Tab le 8 to increase the magnific ation. Inc reasing th e magnifi cation ad justs printed charac ter density . You can also use XR or XRD, de fined on pa [...]

  • Página 94

    94 Chapter 3 Bar Codes SR Defines t he starti ng row for th e bar co de. Enter a value r anging fr om row 1 to on e less t han the length of the form. Ch aracter r ow or dot row is specifi ed based on the Sc ale comm and (page 83) , or use t he CP.DP fo rmat (page 2 6). SC Defines the starting colu mn of the bar code . Enter a valu e rangin g from [...]

  • Página 95

    Codabar 95 Codaba r E xam ple ~CREATE;TEST;288 (Enter Create Form mode) SCALE;CHAR BARCODE (Bar code command) CODABAR;VSCAN;X1;H7;5; 20 *A2345B* PDF;B;N (Printable data field) STOP (Ends bar code command) END (Terminates Create Form mode) ~EXECUTE;TEST ~NORMAL T able 9 . Codabar Character Set Cha ract er Hex Ch ar acter H ex 03 0 - 2 D 13 1$2 4 23 [...]

  • Página 96

    96 Chapter 3 Bar Codes Code 39 The Code 39 structure is shown in Figure 8 and des cribed on t he followi ng pages. Figure 8 . Code 39 Structure DATA FIELD QUIET QUIET START STOP LOWER GUARD BAND CODE CODE ZONE ZONE OPTIONAL READABLE DATA FIELD CHECK DIGIT OPTIONAL DATA FIELD QUIET ZONE QUIET ZONE STOP CODE START CODE GUARD BAND OPTIONAL READABLE DA[...]

  • Página 97

    Code 39 97 Quiet Z one Both ends of the bar code st ructure r equire blan k quiet z ones. The q uiet zones m ust be at l east 0.25 inches w ide and comp letely bl ank to en sure accura te reading o f the star t/stop co des and to prevent adj acent bar c odes from overl apping. Be s ure to provid e suffici ent space on the for m for the quiet zones.[...]

  • Página 98

    98 Chapter 3 Bar Codes Code 39 Com ma nd Format Although commonl y refer red to as Cod e “39,” you must ente r the com mand as “C3/9 ” (includ ing the slas h) during IGP inp ut. BARCODE C3/9 [CD]; [ DIR ;] [ MAG; ] [H n [ .m ] ; ] [BF n;L; ] [DARK ; ] SR; SC [ (D)d ata fiel d(D) ] [PDF [ ;LOC ] [ ;FONT ]] STOP BARCODE The Bar Co de comma nd[...]

  • Página 99

    Code 39 99 b. Rep lace n with a n umber r anging from 1 through 5 12 to iden tify the ba r code f ield. The SR and SC param eters spec ify t he exact loca tion of the bar code field id entifie d by n . c. Rep lace L with a n umber equ aling the total number o f character s in the field. (T he actual data prov ided dynam ically during the E xecute F[...]

  • Página 100

    100 Chapter 3 Bar Codes To compens ate for p rinting the 0.1-inch hi gh data, the height of th e bar code bo dy is reduce d 0.1 inch. FONT Optiona l parame ter to selec t the f ont for the hu man readabl e data field. E nter O to selec t OCR-A font; enter X for OCR-B font; enter N for 10 c pi; enter P for 12 c pi; enter Q for 13 cpi; enter R for 15[...]

  • Página 101

    Code 39 101 Code 39 Example Figure 9 i llustrate s a horizo ntal and v ertical Co de 39 bar code gene rated by the f ollow in g progr am: ~CREATE;C39 (Enter Create Form mode) BARCODE (Bar Code Command) C3/9;DARK;40;15 (Dark Code 39 at SR 40, SC 15) *SAMPLE C3/9* (Data Field) PDF (Printable Data Field) STOP (Ends Bar Code Command) BARCODE (New Bar C[...]

  • Página 102

    102 Chapter 3 Bar Codes Code 93 The Code 93 structure is shown in Figure 10 and des cribed on the follow ing pages. Figure 10. C ode 93 Struc ture DATA FIELD QUIET QUIET START STOP LOWER GUARD BAND CODE CODE ZONE ZONE OPTIONAL READABLE DATA FIELD CHECK DIGIT OPTIONAL DATA FIELD QUIET ZONE QUIET ZONE STOP CODE START CODE GUARD BAND OPTIONAL READABLE[...]

  • Página 103

    Code 93 103 Quiet Z one Both ends of the bar code st ructure r equire blan k quiet z ones. The q uiet zones m ust be at l east 0.25 inches w ide and comp letely bl ank to en sure accura te reading o f the star t/stop co des and to prevent adj acent bar c odes from overl apping. Be s ure to provid e suffici ent space on the for m for the quiet zones[...]

  • Página 104

    104 Chapter 3 Bar Codes Code 93 Com ma nd Format BARCODE CODE93; [ DIR; ] [ MAG ;] [H n [ .m ];] [BF n;L; ][DARK;] SR;SC [ (D)d ata fiel d(D) ] [PDF [; LOC ] [; FONT ]] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . CODE93 Designat es bar co de type Cod e 93; enter CODE93 . DIR Optiona l parame ter that allo ws for rotat ing a barcode . Ente[...]

  • Página 105

    Code 93 105 c. Rep lace L with a num ber equal ing the to tal number o f character s in the field. (T he actual data prov ided dynam ically during the E xecute Form Mode can b e less th an L .) d. The informati on for the data fiel d is entered dynamic ally duri ng the Ex ecute Form M ode. (Refer to “Execute Form: Dynamic Bar Code Data” on p ag[...]

  • Página 106

    106 Chapter 3 Bar Codes FONT Optiona l parame ter to selec t the f ont for the hu man readabl e data field. E nter O to sel ect OCR-A font; enter X to select O CR-B font; ente r N to select 1 0 cpi; ente r P to sele ct 12 cpi; enter Q to se lect 1 3 cpi; ent er R to se lect 15 cpi; e nter T to select 17 cpi; enter V to select 2 0 cpi. STOP Ends the[...]

  • Página 107

    Code 93 107 Code 93 Example The illustr ation belo w shows a h orizontal Co de 93 bar c ode generat ed by the followin g program: ~CREATE;TEST;288 (Enters Create Form mod e) SCALE;CHAR BARCODE (Bar code command) CODE93;X1;H7;10;20 *ABCD5678* PDF;B;N (Printable data field) STOP (Ends bar code command) END (Terminates Create Form mode) ~EXECUTE;TEST [...]

  • Página 108

    108 Chapter 3 Bar Codes Code 128A , 128B and 128C The Code 128 str ucture is shown in Figure 11 an d described on the following pages. Figure 11 . Code 128 S tructure DATA FIELD QUIET QUIET START STOP LOWER GUARD BAND CODE CODE ZONE ZONE OPTIONAL READABLE DATA FIELD CHECK DIGIT OPTIONAL DATA FIELD QUIET ZONE QUIET ZONE STOP CODE START CODE GUARD BA[...]

  • Página 109

    Code 128A, 128B and 128C 109 Quiet Z one Both ends of the bar code st ructure r equire blan k quiet z ones. The q uiet zones m ust be at l east 0.25 inches w ide and comp letely bl ank to en sure accura te reading o f the star t/stop co des and to prevent adj acent bar c odes from overl apping. Be s ure to provid e suffici ent space on the for m fo[...]

  • Página 110

    110 Chapter 3 Bar Codes Code 128 Comm and Form at BARCODE C128A or C128B or C128C;[ DIR ;] [ MAG; ] [H n [ .m ] ; ] [BF n;L; ] [DARK ; ] SR;SC [ (D)d ata fiel d(D) ] [PDF [ ;LOC ] [ ;FONT ]] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . C128A, C12 8B or C128C) Designat es bar code type; ente r C128 A , C128B or C128C . DIR Optiona l parame [...]

  • Página 111

    Code 128A, 128B and 128C 111 b. Rep lace n with a num ber rangin g from 1 to 512 to ide ntify the bar code fie ld. The SR and SC paramete rs specif y the exa ct location of the bar c ode field identifi ed by n . c. Rep lace L with a num ber equal ing the to tal number o f character s in the field. (T he actual data prov ided dynam ically during the[...]

  • Página 112

    112 Chapter 3 Bar Codes PDF Opti onal paramet er to enabl e printing of the huma n readabl e data field. E nter PDF to print th e data field. If t he parameter i s not used, th e human readabl e data will no t print. Th is paramete r is not allow ed if a nul l data fie ld was sp ecified. LOC Optiona l parame ter to identi fy the loc ation of th e p[...]

  • Página 113

    Code 128A, 128B and 128C 113 T abl e 12. Code 128A Character Set The SO contr ol code can be c hanged to a ny decim al valu e from 0 thro ugh 255 usin g the pri nter's front panel. Se e the “Conf iguratio n Menus” chapter in your User’ s Guide. Character Hex Character Hex Character Hex Character Hex SP ! " # $ % & ’ ( ) * + , [...]

  • Página 114

    114 Chapter 3 Bar Codes T abl e 13. Code 128B Character Set The SO contr ol code can be c hanged to a ny decim al valu e from 0 thro ugh 255 usin g the pri nter's front panel. Se e the “Conf iguratio n Menus” chapter in your User’ s Guide. Character Hex Character Hex Character Hex Character Hex SP ! " # $ % & ’ ( ) * + , - . /[...]

  • Página 115

    Code 128A, 128B and 128C 115 T abl e 14. Code 128C Character Set The SO contr ol code can be c hanged to a ny decim al valu e from 0 thro ugh 255 usin g the pri nter's front panel. Se e the “Conf iguratio n Menus” chapter in your User’ s Guide. Character Hex Character Hex Character Hex Character Hex 00 30 30 27 32 37 54 81 FNC 1 START C [...]

  • Página 116

    116 Chapter 3 Bar Codes Code 128B Examp le Figure 12 illustrat es a hori zontal and v ertical C ode 128 B bar code g enerated by the fol lowing pr ogram: ~CREATE;128B (Enter Create Form mode) BARCODE (Bar Code command) C128B;DARK;40;15 (Dark Code 128B at SR 40, SC 15) *SAMPLE CODE 128B* (Data Field) PDF;A (Upper Printable Data Field) STOP (Ends Bar[...]

  • Página 117

    Code 128A, 128B and 128C 117 Code 128C Examp le Figure 13 illustrat es a hor izontal and v ertical C ode 128 C bar code ge nerated by the fol lowing pr ogram: ~CREATE;128C (Enter Create Form mode) BARCODE (Bar Code command) C128C;DARK;35;15 (Dark Code 128C at SR 3 5,SC 15) *1234567890* (Data Field) PDF (Printable Data Field) STOP (Ends Bar Code com[...]

  • Página 118

    118 Chapter 3 Bar Codes EAN 8 The EAN 8 b ar code structu re is shown in Figur e 14 and de scribed on the following pages. Figure 14 . EAN 8 Struc ture QUIET ZONE CHECK DIGIT CODE LEFT DATA FIELD CENTER CODE RIGHT DATA FIELD QUIET ZONE STOP CODE QUIET ZONE START CODE CENTER CODE STOP CODE LEFT DATA FIELD RIGHT DATA FIELD HEIGHT HEIGHT QUIET ZONE SR[...]

  • Página 119

    EAN 8 119 Quiet Z one Both ends of the bar code st ructure ha ve blank quiet zo nes. The qui et zones must be a t least 0.2 5 inches wide and completel y blank to ensure acc urate reading of the start/s top code s and to pr event ad jacent ba r codes fr om overla pping. The IGP automatic ally pro duces the left quiet zone; yo u must provid e suffic[...]

  • Página 120

    120 Chapter 3 Bar Codes EAN 8 Command Format BARCODE EAN8 [+ n ];[ DIR ;][SCB;][ MAG; ][H n [ .m ];][BF n ;][DARK;] SR ; SC [ (D)d ata fiel d(D) ] [PDF [; LOC ] [; FONT ]] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . EAN8 Des ignates bar code type EAN 8; enter EAN8 . + n Optiona l paramete r to provide a 2- or 5-d igit add-on code at th e [...]

  • Página 121

    EAN 8 121 b. Rep lace n with a num ber rangin g from 1 through 512 to identify th e bar co de field. Th e SR and SC param eters spec ify t he exact loca tion of the bar code field id entifie d by n . c. The length of the data f ield need not be specified since i t is fixed a t seven d igits, plus any add- on data. d. The informati on for the data f[...]

  • Página 122

    122 Chapter 3 Bar Codes LOC Optiona l parame ter to identi fy the loc ation of th e printabl e data fie ld. The defau lt value is B , locati ng the human readable data be low the bar code. A locates the prin table data field abov e the bar c ode. To compens ate for p rinting the 0.1-inch hi gh data, the height of th e bar code bo dy is reduce d 0.1[...]

  • Página 123

    EAN 13 123 EAN 13 The EAN 13 bar code structur e is show n in Figure 1 6 and desc ribed on th e followin g pages. Figure 16 . EAN 13 Struc ture QUIET ZONE CHECK DIGIT CODE LEFT DATA FIELD CENTER CODE RIGHT DATA FIELD QUIET ZONE STOP CODE QUIET ZONE START CODE CENTER CODE STOP CODE LEFT DATA FIELD RIGHT DATA FIELD HEIGHT QUIET ZONE SR, SC POSITION F[...]

  • Página 124

    124 Chapter 3 Bar Codes Quiet Z one Quiet z ones ext end on both ends of the bar cod e to permit th e scan to begin and end in a blank ar ea. The IGP au tomatical ly produc es an 11- module wid e left qu iet zone; you are r espons ible for pr oviding suffici ent space (minim um of seven m odules) on the form fo r the right quiet zon e. The nu mber [...]

  • Página 125

    EAN 13 125 EAN 13 Command Format BARCODE EAN13 [+ n ];[ DIR ;][SCB;][ MAG ;][H n [. m ];][BF n ;][DARK;] SR;SC [ (D)d ata fiel d(D) ] [PDF [; LOC ] [; FONT ]] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . EAN13 Designat es bar c ode type EA N 13; ent er EAN13 . + n Optiona l paramete r to provide a 2- or 5-d igit add-on code at th e end of [...]

  • Página 126

    126 Chapter 3 Bar Codes b. Rep lace n with a num ber rangin g from 1 through 512 to identify th e bar co de field. Th e SR and SC param eters spec ify the e xact loca tion of the bar code field id entified b y n . c. The length of the da ta field need not be specifi ed, si nce it is fix ed at 12 digits, plus any add-on d ata. d. The informati on fo[...]

  • Página 127

    EAN 13 127 always enc oded in fo rmat C. Table 1 5 defines the left sid e data fiel d format bas ed on the nu mber system charac ter. PDF Opti onal parame ter which affects p rinting of t he human re adable dat a field. The data fiel d will prin t automatic ally in the default O CR-B font unless the PDF-s uppress c omman d is speci fied in th e FON[...]

  • Página 128

    128 Chapter 3 Bar Codes EAN 13 Example Figure 17 illustrat es a hori zontal and v ertical E AN 13 bar code gen erated by the follow ing prog ram: ~CREATE;EAN13 BARCODE EAN13+5;D;28;15 *12345678987655555* PDF STOP / BARCODE EAN13+5;VSCAN;H12;D;27 ;49 *12345678987655555* PDF STOP END ~EXECUTE;EAN13;1 ~NORMAL Figure 17 . Sample EAN 13 Bar Codes SR 28 [...]

  • Página 129

    FIM 129 FIM The FIM (Faci ng Identifi cation Ma rk) bar code structu re is shown in Figure 1 8 and Figur e 19 and de scribed on the follo wing pa ges. The le ft boundary must begin 3 i nches from the righ t edge of the mail pie ce. The ri ght-most ba r must be 2 inches ± 1/ 8-inch fr om the right edg e of the mail pi ece. Bars mu st be 5/8- inch ?[...]

  • Página 130

    130 Chapter 3 Bar Codes Figure 19. FIM Structure (VSCAN or CC W) Note Addition al informati on regarding FIM bar co de requirem ents can be ob tained fr om the U.S. Postal S ervice’s Publica tion 25: A Gu ide to Bus iness Mail Prepa ration . R eturn A ddress A rea 5/8" 1-1/4" (O ptional Line) (T op Line) (O ptional Line) (Line A bove La[...]

  • Página 131

    FIM 131 Clear Zone The bar c ode structu re requ ires a com pletely blank, 1/4 -inch wide , 5/8-inch tall clear zone, res erved for o nly the a ppropriate FIM pattern . You must provid e sufficien t space fo r this zon e. Star t/S top Code The start/ stop code is a unique charac ter identify ing the l eading an d trailing end of the b ar code . The[...]

  • Página 132

    132 Chapter 3 Bar Codes a. Enter BF . b. Rep lace n with a num ber rangin g from 1 through 512 to identify th e bar co de field. Th e SR and SC param eters spec ify the e xact loca tion of the bar code field id entified b y n. c. The infor mation for the data fiel d is entered dynamic ally duri ng the Ex ecute Form M ode. (Refer t o “Execute Form[...]

  • Página 133

    FIM 133 D Used on O CR reada ble mail (usual ly courtesy reply window env elopes) wi thout a pre printed POSTNET b ar code. STOP Ends the Bar Code command while the I GP/PGL continue s in the Create Form M ode. E nter STOP . If STOP is no t entered, an erro r message results. FIM Example Figure 20 below ill ustrates a horizontal FIMB bar co de gene[...]

  • Página 134

    134 Chapter 3 Bar Codes Figure 21 illustrat es a hori zontal FIMC bar code g enerated by the following program an d bears the preprin ted POS TNET bar co de. ~CREATE;FIMC (Enter Create Form Mode ) ALPHA (Alpha command) 23;11;0;0;*PRINTRONIX, INC.* 25;11;0;0;*ATTN: CUSTO MER SERVICE* 27;11;0;0;*P.O. BOX 19 559* 29;11;0;0;*IRVINE, CA 92714-9559* STOP[...]

  • Página 135

    Inte rleave d 2/5 ( I-2 /5) , G erman I- 2/5 and ITF- 14 135 Interleaved 2/5 (I-2 /5), Germa n I-2/5 and ITF-1 4 The Interl eaved 2/5, German I- 2/5 and ITF-14 ba r code s tructure is shown in Figure 22 and desc ribed on the following pages. Figure 22 . Interleaved 2/ 5, German I-2/5 and ITF-14 Structur e DATA FIELD QUIET QUIET START STOP LOWER GUA[...]

  • Página 136

    136 Chapter 3 Bar Codes Quiet Z one Both ends of the bar code st ructure ha ve blank quiet zo nes. The qui et zones must be a t least 0.2 5 inches wi de and completely blank to ensure accur ate reading of the start/s top code s and to pr event ad jacent ba r codes fr om overla pping. Yo u must prov ide suffi cient sp ace on the form for the quiet z[...]

  • Página 137

    Inte rleave d 2/5 ( I-2 /5) , G erman I- 2/5 and ITF- 14 137 I-2/5 Command Fo rmat BARCODE I-2/5 [CD]; or I25GERMAN; or ITF14; [ DIR ;] [ MAG ;] [H n [. m ];] [BF n;L; ] [DARK; ] SR; SC [ (D)d ata fiel d(D) ] [PDF [; LOC ] [; FONT ]] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . I-2/5 CD Des ignates bar code type Interl eaved 2/5; enter I-2[...]

  • Página 138

    138 Chapter 3 Bar Codes BF n;L Optiona l parame ters for as signing a dyn amic bar code data field lo cation on a form and for designa ting the le ngth of the d ata fie ld. With these paramete rs, the a ctual data for the bar code data field is provided dynamic ally duri ng the Exec ute Form mode ; the data i s not spe cified dur ing the Create For[...]

  • Página 139

    Inte rleave d 2/5 ( I-2 /5) , G erman I- 2/5 and ITF- 14 139 data fiel d Interleave d 2/5: Enter the characters for the bar code data . A null d ata field (no charac ters) is permitte d. The lengt h of the data field is variable ; however , the ma ximum le ngth is u sually limited t o 32 char acters to m inimize potential r eading er rors. An even [...]

  • Página 140

    140 Chapter 3 Bar Codes I-2/5 Example Figure 23 illustrat es a hori zontal and v ertical I -2/5 bar code gene rated by the following program: ~CREATE;I25 (Enter Create Form mode) BARCODE (Bar Code command) I-2/5;DARK;49;27 (Dark Code I-2/5, at S R 49, SC 27) *24688642* (Data Field) PDF;A (Upper Printable Data Field) STOP (Ends Bar Code command ) BA[...]

  • Página 141

    Matrix 141 Matrix The structur e for the Matrix bar code is s hown in Fi gure 24 an d describ ed on the f ollow in g page s. Figure 24. Matrix Structure DATA FIELD QUIET QUIET START STOP LOWER GUARD BAND CODE CODE ZONE ZONE OPTIONAL READABLE DATA FIELD CHECK DIGIT OPTIONAL DATA FIELD QUIET ZONE QUIET ZONE STOP CODE START CODE GUARD BAND OPTIONAL RE[...]

  • Página 142

    142 Chapter 3 Bar Codes Quiet Z one Both ends of the bar code st ructure ha ve blank quiet zo nes. The qui et zones must be a t least 0.2 5 inches wi de and completely blank to ensure accur ate reading of the start/s top code s and to pr event ad jacent ba r codes fr om overla pping. Yo u must pr ovide s ufficient space on the form for quiet zones.[...]

  • Página 143

    Matrix 143 Matrix Co mma nd Form at BARCODE MATRIX [CD]; [ DIR ;] [ MAG ;] [H n [. m ];] [BF n;L; ] [DAR K;] SR; SC [ (D)d ata fiel d(D) ] [PDF [; LOC ] [; FONT ]] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . MATRIX CD Designat es bar code type Matri x; enter MATRIX . To calcul ate and plot the optional mod ulo-10 ch eck digit wit h the ba[...]

  • Página 144

    144 Chapter 3 Bar Codes b. Rep lace n with a num ber rangin g from 1 through 5 12 to iden tify the ba r code fiel d. The SR and SC param eters spec ify the e xact loca tion of the bar code field id entified b y n. c. Replace L with a num ber equal ing the to tal number o f character s in the field. (T he actual data prov ided dynam ically during th[...]

  • Página 145

    Matrix 145 PDF Opti onal paramet er to enabl e printing of the huma n readabl e data field. E nter PDF to print th e data field. If t he parameter i s not used, th e human readabl e data is not printed. Th is para meter is no t allow ed if a nul l data fie ld was sp ecified. LOC Optiona l parame ter to identi fy the loc ation of th e printabl e dat[...]

  • Página 146

    146 Chapter 3 Bar Codes Matrix Exam ple Figure 25 illus trates a horiz ontal and verti cal Matrix bar co de generated by the following program: ~CREATE;MATRIX (Enter Create Form Mode ) BARCODE (Bar Code command) MATRIX;DARK;27;49 (Dark Code Matrix, at SR 27, SC 49) *24688642* (Data Field) PDF (Printable Data Field) STOP (Ends Bar Code command) BARC[...]

  • Página 147

    MSI 147 MSI The MSI bar code st ructure i s shown in Fi gure 26 a nd describ ed on the followin g pages. Figure 26 . MSI S tructure DATA FIELD QUIET QUIET START STOP LOWER GUARD BAND CODE CODE ZONE ZONE OPTIONAL READABLE DATA FIELD CHECK DIGIT OPTIONAL DATA FIELD QUIET ZONE QUIET ZONE STOP CODE START CODE GUARD BAND OPTIONAL READABLE DATA FIELD CHE[...]

  • Página 148

    148 Chapter 3 Bar Codes Quiet Z one Both ends of the bar code st ructure r equire blan k quiet z ones. The q uiet zones m ust be at l east 0.25-i nches wi de and compl etely bla nk to ens ure accura te reading o f the star t/stop co des and to prevent adj acent bar c odes from ove rlappin g. You must p rovide sufficient s pace on the form fo r the [...]

  • Página 149

    MSI 149 MSI Co mman d For mat BARCODE MSI n ; [ DIR ;] [ MAG ;] [H n [. m ];] [BF n;L ;] [DAR K;] SR; SC [ (D)d ata fiel d(D) ] [PDF [; LOC ] [; FONT ]] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . MSI Designat es bar code type MSI ; enter MS I . n Designat es the t ype of c heck digit comb inatio ns for the b ar co de. R ep lace n with on[...]

  • Página 150

    150 Chapter 3 Bar Codes BF n;L Optiona l parame ters for as signing a dyn amic bar code data field lo cation on a form and for designa ting the le ngth of the d ata fie ld. With these paramete rs, the a ctual data for the bar code data field is dynamical ly provi ded during t he Exec ute Form mode ; the data i s not spe cified dur ing the Cre ate F[...]

  • Página 151

    MSI 151 data fiel d Enter the c haracters for the b ar code data . A null data field ( no characters ) is permitt ed. The length of the data fi eld is v ariable; ho wever, a maximum of 14 data c haracters are allowed if a one- character check digit field is specif ied; a maximum of 13 data character s are all owed if a two -charact er check digit f[...]

  • Página 152

    152 Chapter 3 Bar Codes MSI Examp le Figure 27 illustrat es a hori zontal and v ertical M SI bar code generate d by the following program: ~CREATE;MSI (Enter Create Form mode) BARCODE (Bar Code command) MSIA;DARK;32;27 (Dark Bar Code MSIA at SR 32, SC 27) *24688642* (Data Field) PDF;X (Printable Data Field, OCR-B) STOP (Ends Bar Code command ) BARC[...]

  • Página 153

    PDF417 153 PDF417 The PDF417 s tructure i s shown i n Figure 28 and d escribed on t he foll owing pages. Figure 28. PDF417 Structure SR, SC POSITION QUIET ZONE START CODE STOP CODE QUIET ZONE UPPER GUARD BAND LOWER GUARD BAND DATA FIELD QUIET ZONE QUIET START CODE ZONE STOP CODE LOWER GUARD BAND UPPER GUARD BAND SR, SC POSITION DATA FIELD QUIET ZON[...]

  • Página 154

    154 Chapter 3 Bar Codes Quiet Z one Both ends of the bar code st ructure r equire blan k quiet z ones. The q uiet zones m ust be at l east 0.25 inches w ide and comp letely bl ank to en sure accura te reading o f the star t/stop co des and to prevent adj acent bar c odes from overl apping. Be s ure to provid e sufficient s pace on the for m for the[...]

  • Página 155

    PDF417 155 PDF417 Comman d Form at BARCODE PDF417; [ DIR ;] [X[ D] n ;] [Y[D] n ;] [(H n )| (W n );] [ASP ECT h:w ;] [(R n )|(C n );] [S n ;] [BF n;L; ] [DARK;] SR; SC [ (D)d ata fiel d(D) ] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . PDF417 Designat es bar code type PDF41 7; enter PDF417 . DIR Optiona l parame ter that allo ws for rotat [...]

  • Página 156

    156 Chapter 3 Bar Codes S n Optiona l paramet er that sp ecifies the secur ity leve l. Enter S followed by the securi ty level in the rang e of 0 through 8 . The def ault is 2. BF n;L Optiona l parame ters for as signing a dyn amic bar code data field lo cation on a form and for designa ting the le ngth of the d ata fie ld. With these paramete rs, [...]

  • Página 157

    PDF417 157 data fiel d Enter th e data for the bar c ode. A nu ll dat a field (no character s) is not permitted. The data fi eld can contain any charac ter inclu ding carr iage return s and line feeds. The length o f the data fi eld is variab le; how ever, the maximum length is usuall y limited to 1024 by tes to min imize poten tial read ing errors[...]

  • Página 158

    158 Chapter 3 Bar Codes POSTN ET The POS TNET bar c ode struc ture is i llustrated in Figur e 30 and Figure 31 and descr ibed on th e foll owing pag es. T he PO STNET code ca n be a p art of th e address block and appear a nywhere with in a ver tical 4-i nch area across th e length of t he mai l piece. Figure 30 . POSTN ET Struct ure Return Address[...]

  • Página 159

    POSTNET 159 Figure 31. POSTNET Structure (VSCAN or CCW) R eturn A ddress A rea P ostage A rea 1/2" 1/2" START STOP CODE CODE SR, SC POSITION CHECK DIGIT NOTE: Illustration is not to scale QUIET ZONE QUIET ZONE A D D R E S S B LO C K B A R C O D E R E A D A R E A 4" BAR CODE DATA FIELD[...]

  • Página 160

    160 Chapter 3 Bar Codes Quiet Z one The bar code structure requi res a comple tely blank qui et zone whic h extends 4.75 inc hes from the rig ht edge of the ma il piec e. In ad dition, a minimu m quiet zone o f 0.040-i nch above and below t he bar co de data m ust also be provi ded. You must provid e sufficien t space fo r this zon e. Star t/S top [...]

  • Página 161

    POSTNET 161 POSTNET Command Fo rmat BARCODE POSTNET ; [ DIR ;] [BF n;L; ] [DARK;] SR; SC [ (D)d ata fiel d(D) ] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . POSTNET Designat es bar code type PO STNET; enter POSTNET . DIR Optiona l parame ter that allo ws for rotat ing a barcode . Enter CW fo r clockwi se rotation. E nter CCW or VSCAN for c[...]

  • Página 162

    162 Chapter 3 Bar Codes SC Defines the starting colu mn of the bar code . Enter a value wi thin the 1/ 2-inch left and righ t margin s of the m ail piec e. Char acte r col umn or do t colu mn is specifi ed based on the Sc ale comm and (page 83) , or use t he CP.DP fo rmat (page 2 6). (D) The print able charac ter (deli miter) ide ntifying the start[...]

  • Página 163

    Post Bar and Roya l Mail (K IX ) 163 PostBar and Royal Mail (KIX) PostBar and Roya l Mail b ar codes, l ike POSTNE T, are use d for maili ng applica tions . However, these bar codes can enco de full addresse s on l abels. These bar code s are simila r to POSTNET in terms of bar spac e and width, but have four different ty pes of ba rs (Full H eight[...]

  • Página 164

    164 Chapter 3 Bar Codes PostBar and Royal Mail Command Fo rmat BARCODE POSTBA R or ROYALBAR ; [KIX;][ MAG ;][BF n;L; ][DARK;] SR; SC [ (D)d ata fiel d(D) ] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . POSTB AR or RO YALBAR Designat es bar code type Pos tBar or Ro yal Mail ; enter POS TBAR or R OYALBAR . KIX Optiona l parame ter to speci fy[...]

  • Página 165

    Post Bar and Roya l Mail (K IX ) 165 SR Defines t he starti ng row for the bar code . Charac ter row or dot r ow is s pecified based on the Scale command (page 83), o r use the CP .DP format (page 26 ). SC Defines t he starti ng colum n of the bar code. Char acter co lumn or do t col umn is sp e cified based on the Sc ale comm and (page 83), or us [...]

  • Página 166

    166 Chapter 3 Bar Codes PostBar and Royal Mail Examples Figure 33 illustrat es a hori zontal Roya l Mail b ar code g enerated by the following program: ~CREATE;ROYALBAR (Enter Create Form Mod e) BARCODE (Bar Code command) ROYALBAR;X1A;10;40 (Royal Mail bar code a t SR 10, SC 40 with Mag 1A) *SN34RD1A* (Data Field) STOP (Ends Bar Code command ) END [...]

  • Página 167

    Telepen 167 Te l e p e n The Telepen structu re is shown in Figur e 35 and de scribed on the follo wing pages. Figure 35. Telepen Structure DATA FIELD QUIET QUIET START STOP LOWER GUARD BAND CODE CODE ZONE ZONE OPTIONAL READABLE DATA FIELD CHECK DIGIT OPTIONAL DATA FIELD QUIET ZONE QUIET ZONE STOP CODE START CODE GUARD BAND OPTIONAL READABLE DATA F[...]

  • Página 168

    168 Chapter 3 Bar Codes Quiet Z one Both ends of the bar code st ructure r equire blan k quiet z ones. The q uiet zones m ust be at l east 0.25 inches w ide and comp letely bl ank to en sure accura te reading o f the star t/stop co des and to prevent adj acent bar c odes from overl apping. Be s ure to provid e sufficient s pace on the for m for the[...]

  • Página 169

    Telepen 169 T elepen Co mm and Form at BARCODE TELEPEN; [ DIR; ] [ MAG ;] [H n [. m ];] [BF n ; L ;] [DAR K;] SR ; SC (D) [ data field ] (D) [PDF [; LOC ] [; FONT ]] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . TELEPEN Designat es bar c ode type Te lepen; ente r TELEPEN . DIR Optiona l parame ter that allo ws for rotat ing a barcode . Ente[...]

  • Página 170

    170 Chapter 3 Bar Codes c. Replac e L with a num ber equal ing the to tal number o f character s in the field. (T he actual data prov ided dynam ically during the E xecute Form Mode can b e less th an L .) d. The informati on for the data fiel d is entered dynamic ally duri ng the Ex ecute Form M ode. (Refer t o “Execute Form: Dynamic Bar Code Da[...]

  • Página 171

    Telepen 171 FONT Optiona l parame ter to selec t the font for the hu man readabl e data field. E nter O to sele ct OCR-A fon t; enter X to selec t OCR-B font; enter N to selec t 10 cpi; enter P to s elect 12 c pi; enter Q to selec t 13 cpi; enter R to sele ct 15 cpi; ent er T to select 1 7 cpi; enter V to select 2 0 cpi. STOP Ends the Bar Code comm[...]

  • Página 172

    172 Chapter 3 Bar Codes T ele pen Ex ampl e Figure 36 illustrat es a ver tical Telepe n bar co de genera ted by the following program: ~CREATE;TELEPEN (Enter Create Form Mode ) BARCODE (Bar Code Command) TELEPEN;VSCAN;10;5 (Vertical Telepen barcode at SR 10, SC 5) " AB12&%* " (Data Field) PDF;B (Printable Data Field) STOP (Ends Bar Co[...]

  • Página 173

    UCC/EAN-128 173 UCC/EAN-1 28 The UCC/EAN-12 8 structur e is shown i n Figure 37 a nd described on the followin g pages. Figure 37 . UCC/EAN-12 8 Structure DATA FIELD QUIET QUIET START STOP LOWER GUARD BAND CODE CODE ZONE ZONE OPTIONAL READABLE DATA FIELD CHECK DIGIT OPTIONAL DATA FIELD QUIET ZONE QUIET ZONE STOP CODE START CODE GUARD BAND OPTIONAL [...]

  • Página 174

    174 Chapter 3 Bar Codes UCC/EAN-128 u ses the same bar co de and character set as Co de 128. However, in UCC/E AN-128, the Function 1 character FNC1 imm ediately follows th e start co de. The FNC1 charac ter has b een reserved e xclusiv ely for UCC/EAN-128. The UCC/EAN-128 data structure requires an Appl ication Identi fier (AI) at the beginnin g o[...]

  • Página 175

    UCC/EAN-128 175 329 (***) Depth, Thickness, He ight, or 3rd Dimension, Y ards n4+n6 330 (***) Gross Weight-Kilograms n4+n6 331 (***) Length or 1st Dimension, Logistics n4+n6 332(***) Width, Diameter , or 2nd Dimension, Meters, Logistics n 4+6 333 (***) Depth, Thickness, He ight or 3rd Dimension, Meters, Logistics n4+n6 334 (***) Area, Square Meters[...]

  • Página 176

    176 Chapter 3 Bar Codes (*)To indicate only year and month, DD must be filled with “00” (**) Plus one digit for length indication (***) Plus one digit for dec imal point indication Data Value Representation: a - alphabetic characters n - numeric characters an - alpha-numeric characters n3 - 3 numer ic characters, fixed length an..3 - up t o 3 a[...]

  • Página 177

    UCC/EAN-128 177 Quiet Z one Both ends of the bar code st ructure r equire blan k quiet z ones. The q uiet zones m ust be at l east 0.25 inches w ide and comp letely bl ank to en sure accura te reading o f the star t/stop co des and to prevent adj acent bar c odes from ov erlapping. Y ou must p rovide su fficient s pace on the form for the quiet zon[...]

  • Página 178

    178 Chapter 3 Bar Codes Modulo-103 Check Digit A modulo -103 che ck digi t is autom aticall y calc ulated and inser ted in th e bar code sy mbol imme diatel y in front o f the stop co de, in the same manne r as the C128 bar code. The c heck digit verifi es accu rate scanning . The sta rt code is include d in the c heck digit algorith m. The modul o[...]

  • Página 179

    UCC/EAN-128 179 Code UCC-128 Comm and Format BARCODE UCC-128; [ DIR ;] [ MAG; ] [H n [ .m ];] [BF n ; L ;] [DARK;] SR; SC [( D)d ata f iel d(D ) ] [PDF [ ;LOC ] [ ;FONT ] ] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . UCC-128 Designat es bar code type C ode UCC/EAN-128; enter UCC-12 8 . DIR Optiona l parame ter that allo ws for rotat ing a[...]

  • Página 180

    180 Chapter 3 Bar Codes b. Rep lace n with a num ber rangin g from 1 through 512 to identify th e bar co de field. Th e SR and SC param eters spec ify the e xact loca tion of the bar code field id entified b y n . c. Replace L with the m aximum n umber of charac ters in the field. The a ctual dat a provid ed dynami cally du ring the E xecute Form m[...]

  • Página 181

    UCC/EAN-128 181 The start code and s ubset s witching is done automatic ally by IG P based on the data field contents so that th e bar cod e length is minimized. Subset C e ncodes e ach pair of numbers as a singl e bar cod e characte r, providing a high er character density . If the first four data digits are numb ers, the bar cod e starts in subse[...]

  • Página 182

    182 Chapter 3 Bar Codes Code UCC/EAN-128 Examples The followi ng example generates the SSCC-18 variant of an U CC/EAN-12 8 bar cod e in horizo ntal orient ation a t the defaul t ratio, and v erticall y at a user defined r atio of do uble norm al size. ~CREATE;UCCTEST / Horizontal bar code is dark, nominal width, start row 35, start column 15. / Hum[...]

  • Página 183

    UCC/EAN-128 183 The program bel ow illustrates incremental UCC/EAN-128 bar codes. Incremental UCC/EAN-128 bar code syn tax requires tha t the STARTMA SK field be one char acter wider than the d ata field. Put an ext ra “X” on the left side of t he STARTM ASK, si nce the da ta is righ t-justified in the STA RTMASK fi eld. ~CREATE;UCCINC;140 / Pu[...]

  • Página 184

    184 Chapter 3 Bar Codes The followi ng examp le shows the use of dynamic data. The s hip-to-pos tal code, AI 420, is used to enc ode 5 digi t ZIP Codes . ~CREATE;UCCDYN;140 BARCODE UCC-128;BF1;8;3;20 PDF;X STOP ALPHA DARK;1;20;0;0;"SHIP TO POSTAL" STOP END ~EXECUTE;UCCDYN ~BF1;"42092614" ~NORMAL ~EXECUTE;UCCDYN ~BF1;"420902[...]

  • Página 185

    UPC-A 185 UPC-A The UPC-A bar code s tructure i s shown i n Figure 38 a nd describ ed on the followin g pages. Figure 38 . UPC-A Structure QUIET ZONE CHECK DIGIT LEFT DATA FIELD CENTER CODE RIGHT DATA FIELD QUIET ZONE STOP CODE QUIET ZONE START CODE CENTER CODE CHECK DIGIT FIELD STOP CODE LEFT DATA FIELD RIGHT DATA FIELD HEIGHT HEIGHT QUIET ZONE SR[...]

  • Página 186

    186 Chapter 3 Bar Codes Quiet Z one Quiet z ones ext end on both ends of the bar cod e to permit th e scan to begin and end in a blank ar ea. The IGP au tomatical ly produc es an 11- module wid e left qu iet zone; you are r espons ible for pr oviding suffici ent space (minim um of seven m odules) on the form fo r the right quiet zon e. The nu mber [...]

  • Página 187

    UPC-A 187 UPC-A Command Format BARCODE UPC-A [+ n ];[ DIR ;] [SCB;] [ MAG ;] [H n [. m ];] [BF n ;] [DARK;] SR;SC [ (D)d ata fiel d(D) ] [PDF [; LOC ] [; FONT ] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . UPC-A Designat es bar c ode type U PC-A; ent er UPC-A . + n Optiona l paramete r to provide a 2- or 5-d igit add-on code at th e end of[...]

  • Página 188

    188 Chapter 3 Bar Codes b. Rep lace n with a num ber rangin g from 1 through 512 to identify th e bar co de field. Th e SR and SC param eters spec ify the e xact loca tion of the bar code field id entified b y n . c. The length of the da ta field need not be specifi ed, si nce it is fix ed at 11 digits, plus any add-on d ata. d. The informati on fo[...]

  • Página 189

    UPC-A 189 PDF Opti onal parame ter which affects p rinting of t he human re adable dat a field. The data fiel d will prin t automatic ally un less the PDF- suppress comman d is spec ified i n the FONT paramete r. UPC-A human readabl e fields ca n be prin ted abo ve or below the bar code s ymbol. If the PDF comman d is not entered i n the UPC-A comm[...]

  • Página 190

    190 Chapter 3 Bar Codes UPC-A Exampl e Figure 39 illustrat es a hori zontal and v ertical U PC-A bar code gener ated by the follow ing prog ram: ~CREATE;UPCA (Enter Create Form mode) BARCODE (Bar Code command) UPC-A+5;H9;DARK;39;15 (Dark Code UPC-A, 5-di git add-on, H 0.9, SR 39, SC 15) *1234567887655555* (Data Field plus 5-dig it add-on data field[...]

  • Página 191

    UPC-E and UPC-E0 191 UPC-E and UPC-E0 The UPC-E and UPC-E0 b ar code structu re is show n in Figur e 40 and describe d on the fol lowing pa ges. Figure 40 . UPC-E and UP C-E0 Structure QUIET ZONE QUIET ZONE DATA FIELD STAR T CODE STOP CODE NUMBER SYSTEM CHARACTER N OPTIONAL CHECK DIGIT HEIGHT SR, SC C CHECK DIGIT CHARACTER N START CODE NUMBER QUIET[...]

  • Página 192

    192 Chapter 3 Bar Codes Quiet Z one Quiet z ones ext end on both ends of the bar cod e to permit th e scan to begin and end in a blank ar ea. The IGP au tomatical ly produc es an 11- module wid e left qu iet zone. You mu st prov ide suffi cient sp ace (min imum of s even modules ) on the form for th e right quiet zo ne. The number system char acter[...]

  • Página 193

    UPC-E and UPC-E0 193 UPC-E Command F ormat BARCODE type [+ n ]; [ DIR ;] [ MAG ;] [H n [. m ];] [BF n ;] [DARK;] SR; SC [ (D)d ata fiel d(D) ] [PDF [; LOC ] [; FONT ]] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . type Designat es bar code type UPC- E or UPC-E0; ente r UPC-E or UPC-E0 . + n Optiona l paramete r to provide a 2- or 5-d igit a[...]

  • Página 194

    194 Chapter 3 Bar Codes c. The length of the da ta field need not be specifi ed, since it is fix ed at 6 or 1 1 digits , plus any add- on data. d. The informati on for the data fiel d is entered dynamic ally duri ng the Ex ecute Form m ode. (Refer t o “Execute Form: Dynami c Bar Co de Data” on p age 63.) D o not use t he data field paramete r t[...]

  • Página 195

    UPC-E and UPC-E0 195 PDF Opti onal parame ter which affects p rinting of t he human re adable dat a field. The data fiel d will prin t automatic ally un less the PDF- suppress comman d is spec ified in the FONT paramete r. UPC-E dat a fields can be print ed above o r below th e bar co de symbol. If t he PDF is n ot entered in the UPC-E command form[...]

  • Página 196

    196 Chapter 3 Bar Codes T able 1 8. Eleven-Digit Compression 1. Manufac turer ’s Number Product N umbers t hat can be used 0000 0-00999 X X X X X X 0 1 2 0 0 0 0 0 0 ( ) first two di gits of manufactu rer ’s number ( ) last th ree digits of the pro duct numb er ( ) third digi t of the manuf acturer ’s number , use 0 through 2 only 2. Manufac [...]

  • Página 197

    UPC-E and UPC-E0 197 UPC-E Exampl e Figure 41 illustrat es a hor izontal and v ertical U PC-E bar c ode gener ated by the f ollow in g progr am: ~CREATE;UPCE BARCODE UPC-E+2;H9;D;34;15 *0927400000522* PDF STOP END ~EXECUTE;UPCE;1 ~NORMAL Figure 41 . Sample UP C-E Bar Code T able 19. Six-Digit Zero Expansion if the 6 digit number ends with : then th[...]

  • Página 198

    198 Chapter 3 Bar Codes UPCSHIP The structur e for the UPCSHIP ba r code is sho wn in Figure 42 and describ ed on the foll owing pag es. Figure 42. UPCSHIP Structure DATA FIELD QUIET QUIET START STOP LOWER GUARD BAND CODE CODE ZONE ZONE OPTIONAL READABLE DATA FIELD CHECK DIGIT OPTIONAL DATA FIELD QUIET ZONE QUIET ZONE STOP CODE START CODE GUARD BAN[...]

  • Página 199

    UPCSHIP 199 Quiet Z one Both ends of the bar code st ructure ha ve blank quiet zo nes. The qui et zones must be a t least 0.2 5 inches wide and completel y blank to ensure acc urate reading of the start/s top code s and to pr event ad jacent ba r codes fr om overla pping. Yo u must prov ide suffi cient sp ace on the form for the quiet zones. Star t[...]

  • Página 200

    200 Chapter 3 Bar Codes UPCSHIP Comman d Format BARCODE UPCSHIP; [ DIR ;] [ MAG ;] [H n [. m ];] [BF n ;] [DARK;] SR ; SC (D) data fiel d(D) [PDF [; LOC ] [; FONT ]] STOP BARCODE The Bar Co de comma nd; enter B ARCODE . UPCSHIP Des ignates bar code type UPCS HIP; enter UPCSHIP . DIR Optiona l parame ter that allo ws for rotat ing a barcode . Enter [...]

  • Página 201

    UPCSHIP 201 d. The informati on for the data fiel d is entered dynamic ally duri ng the Ex ecute Form M ode. (Refer to “Execute Form: Dynamic Bar Code Data” on p age 63. ) Do not us e the data fie ld paramete r to enter da ta when the BF n paramete rs are us ed. However, refer to the data fiel d descr iption for availa ble char acters. DARK Opt[...]

  • Página 202

    202 Chapter 3 Bar Codes FONT Optiona l parame ter to selec t the f ont for the hu man readabl e data field. E nter O to selec t OCR-A font; enter X to select O CR-B font; ente r N to select 1 0 cpi; ente r P to sele ct 12 cpi; enter Q to se lect 1 3 cpi; ent er R to se lect 15 cpi; e nter T to select 17 cpi; enter V to select 2 0 cpi. STOP Ends the[...]

  • Página 203

    UPS 11 203 UPS 1 1 The UPS 11 structu re is show n in Fig ure 44 an d describe d on the fol lowing pages. Figure 44. UPS 11 Structure DATA FIELD QUIET QUIET START STOP LOWER GUARD BAND CODE CODE ZONE ZONE OPTIONAL READABLE DATA FIELD CHECK DIGIT OPTIONAL DATA FIELD QUIET ZONE QUIET ZONE STOP CODE START CODE GUARD BAND OPTIONAL READABLE DATA FIELD C[...]

  • Página 204

    204 Chapter 3 Bar Codes Quiet Z one Both ends of the bar code st ructure r equire blan k quiet z ones. The q uiet zones m ust be at l east 0.25 inches w ide and comp letely bl ank to en sure accura te reading o f the star t/stop co des and to prevent adj acent bar c odes from overl apping. Be s ure to provid e sufficient s pace on the for m for the[...]

  • Página 205

    UPS 11 205 H n [ .m ] Optiona l parame ter to adjus t the overal l height (vertical expansi on) of the bar code symbol (includi ng the uppe r and lowe r 0.1-inc h guard bands an d any huma n readabl e data). Height adjustme nts are made in 0.1-inch i ncrements ; enter H and a value fr om 3 thro ugh 99 to s elect hei ght adjustme nts from 0.3 throug[...]

  • Página 206

    206 Chapter 3 Bar Codes SC Defines the starting colu mn of the bar code . Enter a valu e rangin g from co lumn 1 to o ne less than the widt h of t he fo rm. Ch aracter colu mn or dot co lumn is spec ified ba sed on the Scal e comman d (page 83), or us e the CP.DP format (page 26 ). (D) The print able charac ter (deli miter) ide ntifying the start a[...]

  • Página 207

    UPS 11 207 UPS 1 1 Exampl e Figure 45 illustrat es a ver tical UPS 1 1 bar co de genera ted by the following program: ~CREATE;UPS11 BARCODE UPS11;VSCAN;H9;34;15 *01234567895* PDF STOP END ~EXECUTE;UPS11;1 ~NORMAL Figure 45 . Sam ple UPS 11 Ba r Code[...]

  • Página 208

    208 Chapter 3 Incremental Bar C ode Fields Incremental Bar Code Fields With the i ncremental bar co de fields fea ture, you can upda te bar co de (and alphanum eric) data fields i n a numeric or alph abetical ma nner auto maticall y with just one set of data sent from the h ost compu ter. You can print u p to 65,535 for ms with inc remental fields [...]

  • Página 209

    Incrementing Bar Code D ata 209 The increme nt amou nt is defined by the nu meric val ue of the S TEPMASK data. For e xample, a STEPMASK value of 1 increm ents th e STARTDATA by 1; a STEPM ASK va lue of 2 in crement s the ST ARTDATA by 2. The maxim um number of charac ters allowe d in the S TARTDATA i s define d by the num ber of c haracters in the[...]

  • Página 210

    210 Chapter 3 Incremental Bar C ode Fields V alue Description ST ARTDA T A: STEPMASK : ABC123 000001 Linked s ubfields : ABC and 123 RPT = 1 RST = 0 Printed Results: ABC123 ABC124 ...... ...... ...... ABC999 ABD000 ...... ...... ...... ZZZ999 AAA000 V alue Description ST ARTDA T A: STEPMASK : 1ABC123 0LLL001 T wo s eparate b ut linke d numeric subf[...]

  • Página 211

    Incremental Bar C ode Fixed Data Fie lds 211 Increme ntal Bar Code Fi xed Dat a Fiel ds The Incre mental Ba r Code Fixed Data Fields command is a vari ation of the standar d IGP bar c ode comm ands. Use this co mmand with the appro priate paramete rs from the standar d bar co de command wh en autom atic increm enting of f ixed bar c ode data fi eld[...]

  • Página 212

    212 Chapter 3 Incremental Bar C ode Fields STARTDATA Defines the sta rting v alue of the increm enting field. The maxim um amount o f STARTDA TA chara cters must be l ess than or equal to t he numb er of charac ters in the STEPMAS K field. Char acters allowed for in crementi ng fiel ds is b ased on the ty pe of bar c ode; refer to the indiv idual b[...]

  • Página 213

    Incremental Bar Code Dynamic Data Fie lds 213 The Incre mental Ba r Code Dynam ic Data Fie lds command is a va riation of the standa rd IGP bar code c ommands. U se this c ommand wi th the appropria te parame ters from t he standar d Bar Co de comma nd when automatic incre menting of dynamic bar code da ta fields is required . The Increme ntal Bar [...]

  • Página 214

    214 Chapter 3 Incremental Bar C ode Fields Duplicatin g Incremental Ba r Code Fie lds Fixed and dynamic increment al bar c ode data fi elds ar e duplicated horizontal ly and ver tically i n the sam e way that inc remental alphanum eric fixed and dynamic data fiel ds are dupl icated. R efer to pag e 40 for m ore informat ion on duplica ting in creme[...]

  • Página 215

    215 4 Form Examples and Exer cises Form Examples The followi ng examp le demons trates how to use Crea te comman ds in the Create Form m ode usin g the CP.DP for mat. The prin ted output fo r this program i s shown i n Figure 46 on page 2 17. The box surrou nding the form represent s the p aper si ze. IMPORT ANT The examples in this c hapter assume[...]

  • Página 216

    216 Chapter 4 Form Examples 21;1-34 22;1-34 23;1-34 24;1-60 25;1-60 26;1-60 27;1-60 28;1-59 29;1-59 30;1-35 31;1-36 32;1-39 33;1-58 34;1-58 35;1-58 36;1-58 37;1-58 38;1-57 39;4-24 40;7-23 41;8-23 42;9-23 43;11-24 44;12-25 45;14-27 46;15-30 47;17-32 48;18-33 49;22-34 50;25-35 51;26-36 52;28-37 53;30-37 54;32-37 55;33-37 56;35-36 END ~CREATE;LEFTHAND[...]

  • Página 217

    Example: Basic Cr eate Form 217 STOP VDUP;OFF LOGO;LEFTHAND 10;13;HAND STOP END ~EXECUTE;LEFTHAND ~AF1;*DYNAMIC ALPHA DA TA* OVERLAY DATA ~NORMAL Figu re 46 . Basic Crea te Form Exam ple[...]

  • Página 218

    218 Chapter 4 Form Examples Example: Dynamic Data The proce ss of exec uting dyn amic alphan umeric and bar cod e data fiel ds is explain ed in the fo llowing e xercise s. Each stage inclu des printi ng the program; ho wever, the total prog ram may b e entered as o ne unit. Eac h stage offers th e option o f choosing fe atures a pplicable to speci [...]

  • Página 219

    Example: Dynamic Data 219 Fig ure 47 . Sample Form[...]

  • Página 220

    220 Chapter 4 Form Examples Bar Code F ields Identify t he locati on of the da ta fields for each of the six bar codes ( one locatio n at each S .O., S/N, a nd P/N fie ld on the fo rm). The t ype of bar c ode and the h uman reada ble data in formation is also s pecifie d within the b ar code commands . (Refer to the “Bar Codes” ch apter for det[...]

  • Página 221

    Example: Dynamic Data 221 Dynamic Alphanum eric Fields Identify the locati on of the dy namic a lphanumeri c fields us ing the alphanum erics command. I nput the fol lowing al phanumer ic command lines after the HDUP;OFF command and before the Create Form mode END line. A separ ate alphan umerics com mand seq uence is used in order to as sign uniqu[...]

  • Página 222

    222 Chapter 4 Form Examples Dynamic Alp hanumeri c and Bar Code Data Enter the dynamic data following th e Execut e command . These dyna mic data commands will s upply the va riable data to the b ar code and alphan umeric fields pre viously ide ntified in the Create Form mode . After enterin g the data, exit the f ile (if nec essary wi th your syst[...]

  • Página 223

    Example: Dynamic Data 223 AF6;20;12.8;49;0;0 STOP END ~EXECUTE;SAMPLE ~AF1;*B AND C CO* ~AF2;*P.O. BOX 212* ~AF3;*LOS ANGELES, CA 90051* ~AF4;*M.H. INC.* ~AF5;*101 BEACH RD.* ~AF6;*MALIBU, CA 97772 * ~BF1;*S05995* ~BF2;*011233* ~BF3;*190204* ~BF4;*S05996* ~BF5;*000535* ~BF6;*104523* ~NORMAL ~EXECUTE;SAMPLE ~AF1;*ABC CORPORATION* ~AF2;*1234 ANYWHERE[...]

  • Página 224

    224 Chapter 4 Form Examples Figu re 48 . Dynamic Da ta Example[...]

  • Página 225

    Example: Dynamic Data 225 Example: A uto Incremen t Fields The followi ng program , designe d in acc ordance wi th current s pecificat ions for AIAG- B-3 shippi ng la bel standa rds, cre ates fo ur automa tically in crement ing/ decrem enting AIAG labels w ith alphan umeric and bar cod e data. The pr inted output of th is prog ram is sho wn on page[...]

  • Página 226

    226 Chapter 4 Form Examples 1;14.9;1;40 1;19.6;1;40 STOP VERT 1;26;8.4;14.9 1;40;14.9;25.2 STOP ALPHA C15;1.8;2;0;0;*PART NO * C15;2.6;2;0;0;*(P)* I;4.3;9;4;4;0000000000 2;*A0000000001* C15;8.9;2;0;0;*QUANTIT Y* C15;9.6;2;0;0;* (Q)* 10.5;8;4;4;*100* C15;11.9;28;0;0;*SPECI AL* C15;12.6;28;0;0;* (C)* I;13.9;34;4;4;-00002;* A2OUG* C15;15;2;0;0;*SUPPLI[...]

  • Página 227

    Example: Dynamic Data 227 Figur e 49 . Auto Increment Fields Example[...]

  • Página 228

    228 Chapter 4 Form Exercise Form Exercise In the followi ng exampl e, you will cre ate and execute a fo rm. Using char acter scalin g (discuss ed in detai l on page 83) on a 6 0 x 72 dot per inch (dp i) grid, your form will inc lude the f ollowing: • a box • a set of c orners • vertic al lines • alphanum eric dat a • horiz ontal lin es ?[...]

  • Página 229

    Creating a Box a nd Corners 229 3. The IGP is n ow ready for Cr eate Form mod e comman ds. Design a box with a line thic kness ( LT ) of 2 dots , a top lef t corner at startin g row ( SR ) 35, sta rting co lumn ( SC ) 16, and a bottom ri ght corner at ending row ( ER ) 53, end ing colu mn ( EC ) 61. The S TOP com mand mus t be entered to inform t h[...]

  • Página 230

    230 Chapter 4 Form Exercise Figu re 50 . Box and Corner Example Adding Horizontal and V ertical Lines 7. Now return to the file. When th e file reope ns, the ex isting p rogram (the conte nts of the f ile) is displa yed. Use y our sy stem com mands to reopen the file. Fo r example: Enter Format .PRACTC.FRM (System Format) 8. All Cre ate Form mode c[...]

  • Página 231

    Adding Fixed Alphanumeric Text 231 The last tw o command s have ad ded to the f orm defin ition. PRA CTICE now lo oks like Fi gure 51. Figu re 51 . Box/Corner Example with H orizontal and Vertical Lines Adding Fixed Alphanumeric T ext 10. Use the Cr eate Form mod e Alpha c ommand to add so me fixed alphanum eric text to the form. Specify some co mp[...]

  • Página 232

    232 Chapter 4 Form Exercise At this po int, the PRACTC.FRM fil e should cont ain the f ollowing fo rm program data: ~CREATE;PRACTICE BOX 2;35;16;53;61 STOP CORNER 3;30;13;57;64;5;7 STOP HORZ 1;40;16;61 1;45;16;61 1;49;16;61 STOP VERT 1;49;40;45 1;49;49;53 STOP ALPHA 31;22;0;0;*ACME MOTOR, INC* 32;22;0;0;*17500 CARTW RIGHT ROAD* 33;22;0;0;*IRVINE, C[...]

  • Página 233

    Adding a Bar Code 233 Figure 52 . Practice Form Example Adding a Bar Code 11. Change the form defi nition by adding ba r code t ype Code 39 (C3/9), one of the cod es avai lable on th e IGP. Firs t, reopen the file. Bar codes are defined i n the Crea te Form mod e; therefo re, the Bar Code comm and must be e ntered bef ore the E nd comman d line. In[...]

  • Página 234

    234 Chapter 4 Form Exercise 12. To dynami cally i nput alpha numeric da ta fields , first ide ntify the loc ations for the data i n the Create Fo rm mode as p art of the form d efinition. E nter the locat ions in the exis ting Alph a command sequence ( or use a ne w Alpha c ommand). In the Alp ha comman d sequence, enter the alphanum eric fiel d (A[...]

  • Página 235

    Adding a Bar Code 235 40.3;17;0;0;*PART NUMB ER* 40.3;50;0;0;*MFG. DATE * 45.3;17;0;0;*DESCRIPTI ON* 49.3;17;0;0;*INTERFACE * 49.3;50;0;0;*VERSION* C13;31;16;0;0;*FROM:* C15;54;26;0;0;*Call AC ME MOTOR for more information.* C15;55;34;0;0;*(714)86 3-1900* AF1;7;38.7;19.3;3;3 AF2;11;43;20;2;2 AF3;31;47.3;20;2;1 AF4;33;51.3;20;2;1 STOP BARCODE C3/9;H[...]

  • Página 236

    236 Chapter 4 Logo Exercise Logo Exercise In this ex ercise, you will gen erate a l ogo. The foll owing sa mple use s a hand logo. U sing dot sc aling (d iscuss ed in det ail on page 83) on an 8-1/ 2 x 11-inch form, a ha nd was dra wn on a gri d, with each dot tabula ted by row and c olumn positio n. If a grid c oordinat e occupies half or more of [...]

  • Página 237

    Creating a Logo 237 Creating a Logo 1. Use your s ystem comm ands to o pen a fi le for the lo go progr am with th e filename HNDLGO.FOM. For example: Enter Format HNDLGO.FOM (System Format) 2. Input the S pecial Fu nction Con trol Char acter and L ogo mode c ommand to put the IGP in the Create Lo go mode. Incl ude HAND as the logo name; specify a v[...]

  • Página 238

    238 Chapter 4 Logo Exercise 10;27-34;52-54 11;24-33;48-54 12;22-31;45-54 13;19-30;41-54 14;16-29;38-53 15;13-29;36-51 16;11-29;33-48 17;9-44 18;7-42 19;6-39 20;4-36 21;1-34 22;1-34 23;1-34 24;1-60 25;1-60 26;1-60 27;1-60 28;1-59 29;1-59 30;1-35 31;1-36 32;1-39 33;1-58 34;1-58 35;1-58 36;1-58 37;1-58 38;1-57 39;4-24 40;7-23 41;8-23 42;9-23 43;11-24 [...]

  • Página 239

    Page Layout Considerations 239 Form Design In this exer cise, you will pr oduce a compl ete form by ske tching it out on a grid in the sa me way the logo wa s designed. Again , this exer cise uses characte r scalin g on an 8- 1/2 x 11-in ch (60 x 72 dpi) pag e. Refer to page 83, wh ere charac ter scali ng is di scusse d in detai l. Page Layout Cons[...]

  • Página 240

    240 Chapter 4 Form Design 7;30-38 8;29-36 9;28-35 10;27-34 ;52-54 11;24-33 ;48-54 12;22-31 ;45-54 13;19-30 ;41-54 14;16-29 ;38-53 15;13-17 ;19-29;36-5 1 16;11-17 ;20-29;33-4 8 17;9-17;2 1-44 18;7-17;2 2-42 19;6-17;2 2-39 20;4-17;2 3-36 21;1-17;2 4-34 22;1-17;2 5-34 23;1-17;2 6-34 24;1-17;2 7-60 25;1-17;2 8-60 26;1-17;2 9-60 27;1-17;3 0-60 28;1-17;3[...]

  • Página 241

    Planning the Form Layout 241 Figur e 55 . Sample Form Design[...]

  • Página 242

    242 Chapter 4 Form Design Figu re 56 . Logo Design[...]

  • Página 243

    Creating a Form and Adding Form Components 243 Creating a Form and Adding Form Components 4. Create the form and start addin g the form compo nents from th e layout grid. (Refe r to Figure 5 5 on page 2 41.) Use the S pecial Functio n Control Character and C reate com mand to define a form name d HCBOATS. Use the Bo x comman d to define the out er [...]

  • Página 244

    244 Chapter 4 Form Design 8. All the t ext shown on the g rid is fixed into p osition on th e form wit h a single Alpha co mmand s equence . The sta rting row, s tarting column, a nd text can be taken ri ght from th e grid an d put into the program . Enter ALPHA 14;31;3; 2;*HandCr aft Boats* 18;14;0;0;* CUSTOMER:* 18;51;0;0;* PHONE: * 20;14;0;0;* H[...]

  • Página 245

    Creating a Form and Adding Form Components 245 10. Add the l ogo and end the Create Form mode . Use the Lo go Call comm and, spec ify the s tarting row ( SR ) at 12 a nd colum n ( SC ) at 18 as shown on the g rid and call the l ogo by name (HANDCRFT). The starting row and c olumn of t he logo refer to the up per left cor ner of th e grid used in th[...]

  • Página 246

    246 Chapter 4 Form Design Figure 57 . Completed Sample Form hcform.ex[...]

  • Página 247

    Example 247 Directory Command The Direc tory com mand li sts the contents of the I GP direc tory in IGP mem ory. The director y comm and provid es the fol lowing in formation : • All for m names a nd logo na mes curr ently define d • The associ ation of logos to for ms • The amount o f memory used for fo rm stor age • The amount o f dynamic[...]

  • Página 248

    248 Chapter 4 Delete Command Delete Command The Dele te comman d deletes any indivi dual for m or logo fr om the IGP memory accord ing to yo ur spec ificatio ns. The del etion of a form inc ludes it s directo ry entry and any al phanumer ic or vector info rmation ass ociated wit h it. The Dele te comman d is used on ly when th e IGP is i n the Norm[...]

  • Página 249

    Example 249 4. If the error persists o r you c annot locate i t in the pr ogram, us e the debug parameter [/] in the Create c ommand as described i n the “Error Codes ” chapter . Print the file with the IGP program. Th e debu g parameter lists the program, l ine by l ine (includi ng the error on the l ine where the error occurs) , followed by t[...]

  • Página 250

    250 Chapter 4 Solving Program Errors[...]

  • Página 251

    251 5 Multinational Character Sets Introduction The Multina tional Character Set ac cesses one of many internationa l character sets. Ea ch char acter set is 96 char acters lon g and can be access ed by configur ation se lecti on or IGP comma nd. Indivi dual cha racter s in the f ont can be acce ssed with the use of data bit 8. Supporte d Charac te[...]

  • Página 252

    252 Chapter 5 Introduction Charact er Addresse s Both the A SCII and mu ltinat ional ch aracter sets have hex values for each charac ter and sym bol. The prim ary ch aracter set ( ASCII ch aracters ) resides at hex add resses r anging from 00 to 7 F. The extende d chara cter set, whi ch conta ins the mu ltination al char acters, r esides a t hex a [...]

  • Página 253

    OCR Character Sets 253 Accessing Characters and Characte r Sets OCR Charac ter Sets Pur pose Accesses OCR-A an d OCR-B character sets. Mode CREATE, NORMAL a nd EXECUTE Format See Comme nts Comments In the C reate mode , you can ac cess OCR fonts using t he alphanum eric comm and. Use th e C n param eter in the A LPHA command. See pa ge 29 for more [...]

  • Página 254

    254 Chapter 5 Accessing Characters and Char acter Sets User- Defined Se t Command (USET) Pur pose Cr eates cu stom charac ter sets (ex cept OC R fonts) f rom exi sting charac ters st ored in memo ry. Mode NORMAL Format (cc)USET n ca;fa END (cc) Re present s the S p eci al Funct ion Co ntrol Char acter . USET The User Set comma nd; ente r USE T . n [...]

  • Página 255

    User-Defined Set Command (USET) 255 Example The followi ng examp le defines User Set 1 to contai n the Multination al font addresses B1 (±), A 1 (¡), and BF (¿) at the hex cell ad dresse s 23, 2 4, and 25, r especti vely. The refore, if ca = 23 and fa = B1, each time that cell addres s 23 is recei ved, it wi ll sele ct the cha racter lo cated a [...]

  • Página 256

    256 Chapter 5 Accessing Characters and Char acter Sets Charact er Set Selection C ommand (ISET) Pur pose Ac cesses o ne of the 32 multinati onal cha racter se ts from Table 21. Use thi s comma nd to acces s a differen t charac ter set fr om the confi gured pow er-up defaul t chara cter set. Mode NORMAL, C REATE, and EXECU TE Format In Normal an d E[...]

  • Página 257

    Multinat ional Character S ets 257 Mu ltina tiona l Ch aract er Sets IGP/PGL MULTINATIONAL Set ASCII Set GERMAN Set[...]

  • Página 258

    258 Chapter 5 Accessing Characters and Char acter Sets SWEDISH Set DANISH Set NORWEGIAN Set FINNISH Set[...]

  • Página 259

    Multinat ional Character S ets 259 ENGLISH Set DUTCH Set FRENCH Set SPANISH Set[...]

  • Página 260

    260 Chapter 5 Accessing Characters and Char acter Sets ITALIAN Set TURKISH Set OCR-A Set OCR-B Set[...]

  • Página 261

    261 6 Err or Codes IGP/PGL Emulation Error Codes The IGP pro vides code d error me ssages to assist i n “debug ging” prog rams. The printe r will print an error m essage n umber an d the progra m line whic h contains the error when an err or is detected . To help determine ex actly where the error occurred , use the f ollowing debug com mand se[...]

  • Página 262

    262 Chapter 6 IGP/PGL Emulation Error Codes Horizontal Line Errors 01 HORiZontal line starting row SR out of bounds The row sp ecified by the se cond parame ter in th e horizonta l line command pl aces the hori zontal line outs ide the bounda ries of the form. 02 HORiZontal line starting column SC out of bounds The left (sta rting) col umn of the h[...]

  • Página 263

    Vert ical Line Err ors 263 V ertical Line Errors 10 VERTical line starting column SC out of bounds The colum n spe cified b y the sec ond par ameter in the ver tical l ine command places the vertica l line ou tside the for m boundar ies. 11 VERTical line starting row SR out of bounds The upper (starting) r ow of the v ertical l ine specif ied by th[...]

  • Página 264

    264 Chapter 6 IGP/PGL Emulation Error Codes Box Errors 20 BOX starting column SC out of bounds The left (sta rting) col umn spec ified by the third pa rameter in the box com mand places the box o utside the form bou ndaries. 21 BOX starting row SR out of bounds The upper (starting) r ow of the b ox spec ified by the secon d paramete r in the b ox c[...]

  • Página 265

    Corner E rrors 265 Corner Er rors 30 CORNER starting column SC out of bounds The left ( starting ) column s pecified by the thir d paramet er in the corner command places the corn er outside the for m boundar ies. 31 CORNER starting row SR out of bounds The upper (starting) r ow of the c orner spe cified by t he secon d paramete r in the corne r co[...]

  • Página 266

    266 Chapter 6 IGP/PGL Emulation Error Codes Alpha Errors 40 ALPHA lea ding and trailing delimiter s mismatched The leading de limiter (pri ntable char acter) of the actua l text string was not ma tched with an end ing delim iter before the line terminator was fo und. 41 ALPHA starting row SR out of bounds The starting row para meter in the Alpha co[...]

  • Página 267

    Logo Errors 267 49 ALPHA com pression fac tor Cn error (10, 10 A, 10B, 12, 13, 15, 17 or 20) The optiona l compr ession param eter (C n ) whic h defines the horizontal pitch of the text wa s specifie d incor rectly. The pitches availab le are 10, 10 A, 10B, 12 , 13, 15 , 17 and 20. Logo Errors 50 LOGO horizontal width HL > 240 or dot col > HL[...]

  • Página 268

    268 Chapter 6 IGP/PGL Emulation Error Codes 56 Insufficient memory fo r another LOGO call IGP memory cannot s t ore anoth e r l ogo ca ll. T o cre ate sp ace in the IGP m emory, del ete forms with logo el ements ( including t he logos) no longer required . 57 LOGO call starting row SR out of bounds During form c reation, the par ameter sp ecifying [...]

  • Página 269

    Execute Erro rs 269 65 CREATE page starting row PAGE SR out of bounds When yo u specif y the pos ition of th e page par ameters wit h the Page com mand in th e Create Form mode, t he row posit ion specifi ed will p lace the page numbe r above or below the boundari es of the form. When th is error occurs, the I GP will automatic ally rev ert to the [...]

  • Página 270

    270 Chapter 6 IGP/PGL Emulation Error Codes 74 Missing deli miter - must be a single quotation mark When is suing an SFCC cha nge comm and, the new SFCC charac ter must be c ontained wi thin two si ngle quota tion marks. If the new SFCC charact er is be ing ident ified by the ASCII v alue, no quotati on marks a re requir ed. 75 Not defi ned 76 EXEC[...]

  • Página 271

    Bar Code E rrors 271 84 Missing or wrong delimiter - must be a semicolon ; The delimi ter is eit her wron g or missing . The delim iter exp ected is a semicol on. 85 Missing or wrong delimiter - must be a colon : The delimi ter is eit her wron g or missing . The delim iter exp ected is a colon. 86 DENSITY par am error - 10, 10A, 10B, 12, 13, 15, 1 [...]

  • Página 272

    272 Chapter 6 IGP/PGL Emulation Error Codes 93 BARCODE starting row SR out of bounds The starting row para meter in the bar code command will cause the bar c ode symbol to print either abov e or bel ow the limits of the form. 94 BARCODE starting column SC out of bounds The starting colu mn parameter in the ba r code com mand will cause th e bar co [...]

  • Página 273

    Reverse P rint Erro rs 273 104 Dynamic BARCODE da ta field BFn not previously defined Dynamic data fiel d designa ted in the Execute For m mode was not def ined in th e Create Form mode. 105 Dynamic ALPHA/BARCODE field number AFn/BFn error - must be 1-512 Dynamic alpha fie ld number ( AF n ) or bar c ode field nu mber (BF n ) must ra nge from 1 thr[...]

  • Página 274

    274 Chapter 6 IGP/PGL Emulation Error Codes 123 EXECUTE form too long for current page setting The form wa s defined in one or ientation while se nt to pri nt in another ori entatio n. Use the debug sl ash (/) w hen creating a form to show whi ch elem ent is out of bounds . 124-125 Not defined . 126 LFORMx form length parameter n error The number o[...]

  • Página 275

    Multinational Charac ter Set Errors 275 was expe cted. Erro r was caus ed possibl y by an i nvalid num eric value or an alpha character . 153 USET substituted character illegal - must be 1 of 16 During cha racter su bstitutio n in the US ET comman d, the hex value fo r the cha racter bei ng replace d must be one of th e specifi ed 16 h ex valu es. [...]

  • Página 276

    276 Chapter 6 IGP/PGL Emulation Error Codes[...]

  • Página 277

    277 A Standar d ASCII Character Set KEY ASCII CHARACTER ESC 33 27 1B OCTAL DECIMAL HEX B 7 0 0 00 11 1 1 B6 0 B5 0 0 1 1 0 1 1 0 0 0 1 1 0 1 1 COLUMN 0 1 2 3 45 67 BITS ROW B4 B2 B3 B1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 0 0 0 00 1 0 00 1 0 00 1 1 01 0 0 01 0 1 01 1 0 01 1 1 10 0 0 10 0 1 10 1 0 10 1 1 11 0 0 11 0 1 11 1 0 11 1 1 NUL SOH STX ET[...]

  • Página 278

    278 Appendix A[...]

  • Página 279

    279 B Grid Pr ograms and Samples The Standard Grid. The standard grid is us ed for fo rm design. Th e program for the stand ard grid is lis ted belo w, and a sample of the s tandard grid fol lows on the nex t page. Ph otocopy t he grid p rovided or enter the gr id prog ram and make yo ur own printout.[...]

  • Página 280

    [...]

  • Página 281

    281 The Logo Grid . The prog ram for a l ogo grid is listed b elow and th e sample grid follo ws. It is n ot the full size logo grid; the grid can m easure up to 240 colu mns wide b y 252 rows high fo r a logo 4 x 3.5 in ches. Ph otocopy the grid or enter the grid pr ogram to obt ain a p rintout.[...]

  • Página 282

    [...]

  • Página 283

    283 C V ertical Paper Motion Introduction There are th ree method s of adva ncing the print po sition wi th the IGP which are exp lained in thi s append ix: 1. Using li ne feed s or form f eeds; 2. Using the paper in struction (PI) line ; or 3. Using the Electroni c Verti cal Format U nit (EVFU ). Paper Moti on Using Line Feeds and Form Feeds The m[...]

  • Página 284

    284 Appendix C Paper M otion Using the PI Line (Relative Line Slewing) The binar y slew comm ands ca n skip from 1 throug h 15 or 1 through 16 li nes on the for m, dependi ng on how th e Slew Ran ge config uration o ption is configur ed. Refer to Table 24 which illustr ates how lines are s kipped f or each value. ( Note tha t the state of data bit [...]

  • Página 285

    General EVFU Programming 285 Paper Motion Using the EVFU The Elect ronic Vertical Format Unit (EVFU) i s an efficie nt method o f skipping to a spec ified prin t positio n during repetitive printing tas ks. The E VFU affects the vert ical pla cement of overlay d ata produced in the Execute For m mode. General EVFU Programming The genera l EVFU prog[...]

  • Página 286

    286 Appendix C Paper Motion Using the EVFU Start Load C ode - 1E or 6E Hex The Start Load code clears an d initial izes the E VFU memory fo r channe l assign ment stor age. Refer to Table 25 or Table 26 for the appr opriate st art load cod e. Channel Assignment The EVFU memory has the capa city for 92 -line fo rms. The f irst line identifi cation c[...]

  • Página 287

    Using the EVFU 287 3. Data bit 5 m ust be 0 (no t set). OR: 1. The PI lin e must be disabled or low; 2. Bits 7 a nd 6 must b e 0 (not s et); and 3. Data bit 5 m ust be 1 (s et). Given thes e conditi ons, the l ower four bi ts of a byt e specify th e EVFU chan nel number. Ta ble 25 li sts the E VFU channe ls and th eir equi valent da ta bytes when t[...]

  • Página 288

    288 Appendix C Paper Motion Using the EVFU T able 26. EVFU Codes — PI Line Di sabled or Not Use d Clearing the EVF U Memory The followi ng actio ns rese t (clear) th e EVFU memo ry: 1. Sending only the s tart loa d code. 2. Sending a start load code f ollowed i mmediately by an end load code . 3. A secon d start l oad code is rec eived, r esultin[...]

  • Página 289

    EVFU Examp l e 289 EVFU Example The followi ng EVFU ex ample is a 2-inch form at 6 l pi line spacing . Thus, 12 lines o n the form must be de fined. The fo rm is rep eated 3 times. Pa per instruc tions ar e disab led. Assign L ine Identification C odes Line ID Code Description Assigned Hex Code Start Lo ad Start EVFU 1E Line 1 Top of Form 10 Line 2[...]

  • Página 290

    290 Appendix C Paper Motion Using the EVFU The four l ines of E VFU overlay da ta (shown in boldface type) follow the two lines of dynamic data. This ove rlay da ta is positi oned on the form accor ding to the sp ecified ch annel c odes ca lled. The s upersc ript hexad ecima l numbers enclosed i n < > sy mbols rep resent c alls to the four un[...]

  • Página 291

    EVFU Examp l e 291 Figure 58. Sample EVFU Form Form Output Line No. 1 (TOF) 2 3 4 5 6 7 8 9 10 11 12 Start Load End Load EVFU Channel Code Sent 1 (TOF) 2 3 4 5 6 7 8 9 10 11 12 1 (TOF) 2 3 4 5 6 7 8 9 10 11 12 10 11 11 11 1B 13 17 11 12 11 15 11 DATA FOR LINE 6 DATA FOR LINE 9 1E 1F (top of form, Form #1) (top of form, Form #2) (top of form, Form #[...]

  • Página 292

    292 Appendix C Paper Motion Using the EVFU[...]

  • Página 293

    293 Index A Alphanum eric comma nd, 29 data, 27 duplica ting i ncremen tal fields, 41 dynamic data, 2 34 errors, 26 6 execute dynamic dat a, 62 execute overlay d ata, 67 increm ent fixed data, 38 increm ental com mands, 34 increm ental dyn amic data , 40, 66 Alphanum eric Da ta, 27 dynamic data, 2 7 fixed dat a, 27 increm ental da ta, 27 overla y d[...]

  • Página 294

    294 ASCII, 277 Char acter Sets access in g, 253 extended, 14 multinati ona l, 14 OCR, 253 user-defi ned, 254 Char acter Siz es Printab le Data in Barcodes, 90 Char acter s height/wid th, 14 printabl e, 24 rotated, 14 Special Function Control Char acter, 23 Clea ring EVF U mem ory, 288 Codabar, 91 command format, 92 example , 95 Code 128A, 108 Code [...]

  • Página 295

    295 ITF- 14, 137 line pr inter emu lation, 74 Line Spacing, 71 line terminato r, 24 Lis ten, 74 Logo Call , 74 Matrix, 143 MSI, 149 Normal Mode , 16, 17, 78 Page N umber, 78 Paper, 7 9 Paper In struction, data bit 8, 79 paramete rs, 24 PDF417, 153 PostB ar, 1 64 POSTNET , 1 61 Print Fi le, 80 printabl e characte r, 24 Quiet, 81 Reset, 82 Reverse P [...]

  • Página 296

    296 Dynamic Alphanum eric Data, 27, 29, 234 E EAN 13, 12 3 command format, 12 5 example , 128 stru cture, 12 3 EAN 8, 118 command format, 12 0 example , 122 stru cture, 11 8 Electroni c Verti cal Format Un it format, 285 Electroni c Vertica l Format Unit (EVFU), 61 Elongate d Charact ers, 29 Emulatio n Swit ching Command, 5 7 Enable IG P (liste n c[...]

  • Página 297

    297 ISET comm and, 25 6 F Fea tur es alphanum eric dat a, 14 graphic capabilit ies, 14 IGP/PGL e mulation, 13 increm ental da ta, 22 FIM, 129 command format, 13 1 example , 133 stru cture, 12 9 Fixed Al phanumer ic Data, 27 Font Command , 69 Form Count, 59 Form Desi gn, 239 Form Exampl es create bas ic form, 215 Form feed, paper mot ion usin g, 283[...]

  • Página 298

    298 M Matrix, 141 comma nds, 1 43 example , 146 stru cture, 14 1 Memory , 25 Miscel la neou s Er ror s, 270 Mode Create Logo, 2 36 Execute Form, 2 34 Modes Create Logo, 7 6 Execute Form, 5 8 Nor mal, 78 Modes of Operati on Create Form, 18 Create Logo, 1 8 Execute Form, 2 0 introduc tion, 15 Nor mal, 16 MSI, 147 command format, 14 9 example , 152 st[...]

  • Página 299

    299 example , 166 RPT Parameter, 38, 66, 211 RST Parameter, 39, 67, 211 S Scale Co mmand, 83 Scalin g capab ilities, 14 Select Fo rmat Command, 84 Semicol on, 23 SETUP Comm and, 81 Setup Fi les Fe ature, 85 SFCC, 23 SFON/SFOFF C ommand, 84 Slant (ital ic) Pri nt, 69 Special Function Cont rol Charac ter (SFCC), 23 Standard Command For mat UCC/EAN-12[...]

  • Página 300

    300[...]

  • Página 301

    [...]

  • Página 302

    Copyright © 20 00 Hewlett-Pac kard Company 171250- 001A Manual Part Number 171250 -001PX[...]