HP (Hewlett-Packard) PCL инструкция обслуживания

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
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации HP (Hewlett-Packard) PCL. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции HP (Hewlett-Packard) PCL или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции HP (Hewlett-Packard) PCL можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций HP (Hewlett-Packard) PCL, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции HP (Hewlett-Packard) PCL должна находится:
- информация относительно технических данных устройства HP (Hewlett-Packard) PCL
- название производителя и год производства оборудования HP (Hewlett-Packard) PCL
- правила обслуживания, настройки и ухода за оборудованием HP (Hewlett-Packard) PCL
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск HP (Hewlett-Packard) PCL это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок HP (Hewlett-Packard) PCL и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта HP (Hewlett-Packard), в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания HP (Hewlett-Packard) PCL, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства HP (Hewlett-Packard) PCL, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции HP (Hewlett-Packard) PCL. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 1

    Part I Click here to access Part I I on hp.com.[...]

  • Страница 2

    [...]

  • Страница 3

    HP P ar t No . 5961-0509 Printed in USA First Editi on - O ctob er 1992 PCL 5 Printer Lang uageT echnical Ref erence Man ual[...]

  • Страница 4

    ii EN Notice This do cument co ntains propr ietar y informa tion which is protected by copyright. All righ ts are res erved. No p ar t of this doc ument may be photocopi ed, reproduc ed, or translated to another la nguage wit hout the p rior writ ten cons ent of Hew lett -P ac kard Comp any . The informati on contained in this doc ument is su bject[...]

  • Страница 5

    EN iii Printing Histor y This m anual was created using HP T ag/V ectra software on an HP V ectra P erson al Computer . The bo dy text is printe d in Helvetica f onts. The camera-rea dy cop y was p rinted o n an HP Laser Jet IIISi pri nter with Res olution Enha ncement tech nology (REt) and was th en reprod uced using sta ndard offset printin g. Fi[...]

  • Страница 6

    iv EN T rademark Credits Intellifont and Ga r th G raph ic are U.S . regis tered trademar ks of Agfa Divis ion, Mi les Inc . CG T riumvir ate and Sh annon are trademar ks of Agf a Division, Miles Inc. C G Bod oni , CG Ce ntur y Schoo lbook , CG Goudy O ld Styl e , C G Melliz a , Micr ostyle , CG Omega , CG P alacio , CG Times and CG T rum p Mediaev[...]

  • Страница 7

    EN v Inside This Manual What Y o u Can Learn From This Manual Hewlett-P ackard has de v e loped a stand ard set of pr inter features for use in al l HP pr inters. Prin ter f eatur es are acces sed through the correspo nding comma nds of Hewlett-Pac kard’ s P CL language. Thi s manual d escribes the PCL 5 printer l anguage. This i ncludes descr ip[...]

  • Страница 8

    vi EN Note Since a ctual imple mentation o f printer commands wi thin software applica tions varies fr om package to package, spec ific examples are not given. For e xample s of pri nter comma nd usage with m any popular software packages, refer to HP’ s Software A pplication Notes , provided with t he print er . The m ost current versions of sof[...]

  • Страница 9

    EN vii Chapter 5 - Page Control Commands This ch apter descr ibes the co mmands providing pa ge f or mat contro l. P age for mat control allows you to select t he page so urce, size, ori entation, m argins, and text spacing . Chapter 6 - Cursor Positioning This cha pter descri bes how to positi on the cursor wi thin the logi cal page. Chapter 7 - F[...]

  • Страница 10

    viii EN Chapter 13 - The PCL Print Model This cha pter desc ribes the PCL pr int model w hich all o ws for spec ial effects when pri nting. Chapter 14 - PCL Rectangular Area Fill Graphics This cha pter descr ibes how to d efine and f ill a rectangu lar area wi th one of the p redefine d PCL patter ns, or with a u ser-defin ed patter n. Chapter 15 -[...]

  • Страница 11

    EN ix Chapter 19 - The Configuration and Status Group This cha pter descr ibes the comm ands used to set def ault conditions and values for programmable HP-GL/2 features. It a lso e xplain s the commands used for scalin g, establishing a s oft-clip window , and rotating the HP-GL/2 co ordinate sy stem. Chapter 20 - The V ector Group This cha pter p[...]

  • Страница 12

    x EN Related Docum entation The following related manuals provide fur ther infor mation about HP LaserJ et printe rs, including the ir f eatures and function s . PCL 5 Comparis on Guide This d ocument cont ains supple mental infor mation f or programming PCL 5 LaserJe t printers. It iden tifies how different HP PCL 5 L aserJet pri nters implem ent [...]

  • Страница 13

    EN Contents -1 Contents Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii Pri nting Histor y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii T rademar k Credits . . . . . . . . . . . . . . . . . . . . . .[...]

  • Страница 14

    Contents -2 EN The Print En vironment F act ory Def ault Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 User Default Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 Modified Print Environment . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Страница 15

    EN Contents -3 Cursor P ositioning Absolut e vs. Relative Cursor P ositioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6- 2 Cursor P ositio ning Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6- 3 PCL Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Страница 16

    Contents -4 EN PCL Font Selection Pri mar y and Secon dar y F onts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5 F ont Re solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5 Symbol Set Command . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Страница 17

    EN Contents -5 User -Defined Symbol Sets Symbol Set ID Code C ommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2 Define Sy mbol Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-4 Header Size (UI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Страница 18

    Contents -6 EN Under line P os ition (Distan ce) (SB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-29 Under line Thickness (UB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-29 T e xt H eight (UI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Страница 19

    EN Contents -7 Macro Contr ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12- 7 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-8 Macro Contr ol Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Страница 20

    Contents -8 EN Raster Graphic s Presentati on Mode Comma nd . . . . . . . . . . . . . . . . . . . . . . . . . . .15-8 Raster Heigh t Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 -11 Raster Wid th Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-1 3[...]

  • Страница 21

    EN Contents -9 An Introduction to HP-G L/ 2 V ector Graphics Lear ning HP-GL /2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-2 HP-GL/2 Co mmands and S yntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17- 3 Understandi ng HP-GL/2 Sy ntax . . . . . . . . . . . . . [...]

  • Страница 22

    Contents -10 EN The Configuration and Stat us Gr oup Establishing De f a ult Condit ions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19-3 The Scaling P oints P 1 and P2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-4 Using the Scale Comma nd . . . . . . . . . . . . . . . . . [...]

  • Страница 23

    EN Contents -11 The P ol ygon Group Using the P olygon Buff er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 1-2 Dra wing Rectangles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21-3 Dra wing W edges . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Страница 24

    Contents -12 EN The Character Gr oup Pri nting Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23- 3 Moving to the Car riage R eturn P oint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-5 Control C odes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Страница 25

    EN Contents -13 SR, Relati v e Character Si z e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23-81 Example :Using the SR Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23-83 SS, Select Stand ard Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23-[...]

  • Страница 26

    Contents -14 EN[...]

  • Страница 27

    EN PCL PRINTER LA NGUAGE HISTORY 1-1 1 Introduction to HP PCL PCL PRINTER LANGU A GE HIST OR Y Hewlett-P ackard create d the PCL p rinter lan guage (sim ply ref er red to as “PCL ” elsewhere in this manual) to provide an economi cal and e fficient wa y for appli cation programs to control a range of pr inter features a cross a number of p rinti[...]

  • Страница 28

    1-2 Introd uction to HP PCL EN PCL Printer Language A r chitecture PCL pr inter languag e struc ture has be en useful to g uide languag e functiona lity growth and co mmand synta x definitio n. The PCL pr inter language has ev o lv ed th rough five major lev els o f functionali ty driven by the combin ation of pr inter tec hnolog y developments, ch[...]

  • Страница 29

    EN What are Printer Comma nds? 1-3 What are Printer Co mmands? PCL pr inter commands provide access to printer features. There ar e f our ge neral types of HP printer l anguage comm ands: z control codes z PCL comm ands z HP-GL/2 commands z PJL com mands Contr ol C odes A contr ol code is a character that initiates a printer function, for ex ampl e[...]

  • Страница 30

    1-4 Introd uction to HP PCL EN HP-GL/2 Commands HP-GL/2 , v ector g raphi c comma nds are two lett er mnemonic c odes designed to remind y ou of th e function na me (such a s IN f or Init ializ e). F oll owi ng the t wo l etter mnemon ic ma y be one or more par amete rs , which id entify detail s of how to proces s the comman d. For additional info[...]

  • Страница 31

    EN Syntax of Escape Sequence s 1-5 Syntax of Escape Sequences There ar e two f or ms of PCL escape seq uences: t wo-character escape s equence s and parameter ized escape sequenc es . T wo-Characte r Escape Sequences T wo-character escape sequ ences hav e the following form: ? X wher e “ X ” is a ch aracter that defi nes the operation t o be pe[...]

  • Страница 32

    1-6 Introd uction to HP PCL EN P aramet erized Esc ape Sequ ences P arameter ized escape s equences have the following f or m: ? X y z1 # z2 # z3 ... # Zn[da ta] wher e y, # , zi ( z1, z2, z3... ) an d [data] may be opt ional, depend ing on the co mmand. X P arame terized Char acter - A ch aracter from the ASCII table within the range 33 -47 decima[...]

  • Страница 33

    EN Syntax of Escape Sequence s 1-7 The following is an e xample o f an esca pe sequence with a ter mination c haracter and no p arameter characte r . This escape sequenc e performs a single functi on. Notes Some esc ape sequ ences shown in this manual conta in space s between characte rs f or clar ity . Do not i nclude these s paces when using es c[...]

  • Страница 34

    1-8 Introd uction to HP PCL EN Use these three r ules to comb ine and sho r ten prin ter command s: 1 The first two characters afte r “ ? ” (the p arameterized an d g rou p character) must be the sam e in all of t he commands to be combine d. In the example above , the se are “ & ” and “ l ”. 2 All alp habetic cha racters within t h[...]

  • Страница 35

    EN Introducti on 2-1 2 The P age Introduction This cha pter descr ibes the P CL coordina te system. It defines the logic al page and t he pr intable area; it intr oduces the HP-GL/2 (vector graphics) picture frame, and identi fies the b oundar ies of ea ch.[...]

  • Страница 36

    2-2 The P age EN Logical P age The PCL l ogical page (als o ref erred to as the PCL addressable area) define s the area in wh ich the P CL cursor ca n be posi tioned. Altho ugh the pr inter does not ac tually hav e a curs or (like the blinking under line character u sed on most c omputer ter mina ls), the cu rsor positi on ref e rs to the Curren tl[...]

  • Страница 37

    EN Printed Do ts 2-3 Printed Do ts The hig h quality ou tput achiev ed by HP LaserJ et print ers is due in par t to t he ability t o la y down a fine gri d of “dots” on the page. The density of t his grid is referred to as the printer’ s reso lution. Fr o m the firs t HP LaserJet (t he “LaserJe t Classic”) u ntil recent ly , al l HP Laser[...]

  • Страница 38

    2-4 The P age EN PCL Coordinate System The PCL coordinate system is defined a s shown in Fig ure 2-2. Figure 2-2 X,Y PCL Coordinate s The point (0,0) is at the inter section of the le ft edge of the logica l page and the cu rrent top ma rgin position . Note Since th e point (0,0) is alwa ys at th e intersec tion of the lef t edge of the logical pag[...]

  • Страница 39

    EN Units of th e PCL Coordin ate System 2-5 Units of th e PCL Coordinate System The uni ts of the X-axi s of the PCL c oordinate sy stem ma y b e PCL Units, decipoints , or columns . The u nits of the Y -ax is ma y be PCL Units, decipoin ts, or row s . PCL Units These a re user-defina b le un its of measu re which are used in PCL comm ands aff e ct[...]

  • Страница 40

    2-6 The P age EN HP-GL/2 Picture Frame In additio n to tex t and raster graphics, HP-GL/2 ve ctor graphics can be pl aced on th e PCL logical page. HP-GL/2 vector graphics are incor porate d using the c oncept of the HP-GL/2 pictu re frame (see Fig ure 2-3). Withi n this picture frame, HP-GL/2 uses i ts own coordi nate system and units of measure. [...]

  • Страница 41

    EN Printab le Area 2- 7 Printable Area The printable area is th e area of the p h ysical page in whic h the pri nter is able to place a dot. The physical page ref ers t o the size of the med ia (letter , legal , etc.) ins talled in the printer. The relati onship b etween physical page, logic al page, default pictu re frame, and pr intable area is d[...]

  • Страница 42

    2-8 The P age EN T able 2-2 Landscape Logical P age & Printable Area Boundaries DIMENSIONS (at 300 DPI - do uble for 600 DPI) P APER SIZE A B C D E F G H LETTER 3300 2550 318 0 2550 60 0 5 0 150 Legal Li st 1 4200 2550 4080 2550 60 0 5 0 150 LEDGER 5100 3300 4980 3 300 60 0 50 150 EXECUTIVE 3150 2175 3030 2 175 60 0 50 150 A4 3507 2480 3389 2 4[...]

  • Страница 43

    EN Printab le Area 2- 9 The HP L aserJet pr inters pe rf or m pixel-le vel clipping. When pr inting characters or graphics, if any por tion of the character ce ll or graphic is outside the print ab le area, only that por tion outs ide the pri ntable area is clippe d (see Figur e 2-4). Figure 2- 4 Printable Area Character Cell P o sitioning Notes Pi[...]

  • Страница 44

    2-10 The Page EN[...]

  • Страница 45

    EN Introduc tion 3-1 3 The Pr int En vironment Introduction The group of a ll of the p rinter’ s cu rrent feature settings, collec tiv ely , i s ref erred to as the pr int environm ent. The pr inter maintain s f our print environm ents: the Factory Default En vironment , the User Def ault En vironment , th e Mo dified Print Environment and t he O[...]

  • Страница 46

    3-2 The P rint Envi ronment EN F actor y Default En vironment A factor y default is a feature setting programmed into the prin ter at the factor y . The group of all of the pr inter’ s f eatur e settin gs set to the ir f act ory settings is referred to a s the F actor y Default Environmen t. These features are descri bed in this manual. Since the[...]

  • Страница 47

    EN Factory Default Envi ronment 3- 3 PAGE CONTROL FONT MANAGEMENT Pr int Direction Font ID Or ientation 2 Character Code P age S ize 2 Symbol Set ID P aper S ource RASTER GRAPHICS V er t ical Motion Index 2 Left Grap hics Margin Hor iz onta l Motion Index 2 Resolution T op Marg in Compres sion Mode T ext Length Raster Height Left Ma rgin Raster Wid[...]

  • Страница 48

    3-4 The P rint Envi ronment EN RECTANGULAR AREA FILL TROUBLESHOOTING Hor iz onta l Rectangle S ize End-of -Line Wrap V er t ical Rec tangle Size Display Functi ons P atter n (Area Fill) ID STATUS READBACK Curren t Location T ype Current Lo cation Unit 1. The font characteristics ar e determined b y the default f ont. T he def ault font can be the f[...]

  • Страница 49

    EN Factory Default Envi ronment 3- 5 T able 3- 2 F actor y Defaul t Print En vironment Features – HP-GL/2 Context CHARACTER GROUP POLYGON GROUP Symbol S et P ol ygon Buffer Font Spacing P ol ygon Mode Pitch LINE AND FILL ATTRIBUTE GROU P Heig ht Li ne T ype P osture Line T y pe Repeat Le ngth Stroke Weight Line Cap T ypeface Line Join Character D[...]

  • Страница 50

    3-6 The P rint Envi ronment EN User Default En vir onment There ar e se veral PCL features in the printer f or whic h user defaults may be selected from the printe r’ s c ontrol panel . User default settings are stored in the User Def ault Environme nt and are r etained ev en if the pr inter is tur ned O FF . Some of these features are li sted be[...]

  • Страница 51

    EN Modified P rint Envi ronment 3- 7 Modified Print En vironment The curr ent printer f eature s ettings con stitute the Mo dified Pr int Environment. W hene ver a feature settin g is altered us ing escape sequenc es, the new setting is recorded in t he Modifie d Prin t Environment . The Modi fied Prin t Environment is saved dur ing a macro cal l o[...]

  • Страница 52

    3-8 The P rint Envi ronment EN Resetting the Print En vir onment Resets are used to retu rn the printer to a known environment. Depending on the type of reset p erf or med, the printe r retur ns to eithe r the User Default Environme nt or the F actor y Default Environment. Print er Reset A Pr inter Reset res tores the User Default Environment a nd [...]

  • Страница 53

    EN Resetting the Print En vironment 3-9 Cold Reset A Cold Reset resto res the F actor y Default Environme nt which include s reset ting the contr ol panel it ems to thei r f act ory de f ault settings. A Col d Reset is perform ed b y power cycling the printer while holding [O N LIN E] until a 08 COLD R ESET is dis pla yed.[...]

  • Страница 54

    3-10 The Print Environm ent EN[...]

  • Страница 55

    EN Introduc tion 4-1 4 PCL Job Control Commands Introduction A job ty pically cons ists of three par ts: z Comman ds providing job control. z Commands providing page c ontrol. z Pri nt data. T able 4- 1 Structure of a T ypical Job ? %–12345X UEL Command (exit langua ge) ? E Pr inter Reset C ommand. Preamb le Job C ontrol Commands. Page 1 P age Co[...]

  • Страница 56

    4-2 PCL Job Control Commands EN This c hapter desc ribes the command s providin g job contr ol. Job control commands a re usually gro uped togeth er and sent at th e begin ning of a job. P a ge control commands an d data ar e associated with ea ch pri nted page of a j ob . Job co ntrol comm ands inclu de the f oll owing: z Pri nter Reset. z Univers[...]

  • Страница 57

    EN Univer sal Exit Languag e Command 4-3 Universal Exit Languag e Command The Universal Exit Lan guage ( UEL ) comman d causes th e PCL pri nter language to shut dow n and e xit. Contr ol is then retur ned to the Pri nter Job La nguage (PJ L). Both PCL 5 and HP-G L/2 recogn iz e th is comm and. ? % – 1 2 3 4 5 X Default = N/A Range = –12345 Thi[...]

  • Страница 58

    4-4 PCL Job Control Commands EN Number of Copies C ommand The Numb er of Copies command des ignates the num ber of pr inted copies of each page. ? & l # X # = Num ber of copies (1 to 32767 m aximum) Default = 1 (Conf igurable f rom contro l panel) Range = 1-32767 (Values 32767 exe cute as 327 67 values 1 are ignored . Maximum number of co pies=[...]

  • Страница 59

    EN Simple x/Duplex Pr int Command 4-5 Simplex/Duple x Print Co mmand This com mand desi gnates eithe r simplex or dup le x pr inting m ode f or duplex pri nters. Simplex mode pr ints an im age on only one side of a sheet (p age). Duplex mode pr ints imag es on both si des of a she et. ? & l # S # = 0 - Simplex 1 - Dupl e x, Long- Edge Bindin g [...]

  • Страница 60

    4-6 PCL Job Control Commands EN Figure 4-2 Long-Edge Binding Mode Figure 4-3 Short-Edge Bi n ding Mode[...]

  • Страница 61

    EN Left Offset Registratio n Command 4- 7 Left Offset Registration Com mand The Left (long-edge) Offset Registrati on command d esignates t he positio n of the logic al page acros s the width ( shor t side) of the physical page. This c ommand can b e used to a djust the text posit ion on the page to allow additio nal room for the page binding. ? &a[...]

  • Страница 62

    4-8 PCL Job Control Commands EN T op Offset Registration Comm and The T op ( shor t-edge) O ffset Regist ration comman d designates the positio n of the logic al page alo ng the length ( long side) of the physical page. ? & l # Z # = The number of deci points (1/720 i nch) Default = 0 Range = –32767 to 3276 7 The value ( # ) is a s igned numb[...]

  • Страница 63

    EN Top Offset Registration Co mmand 4-9 Figure 4-4 Short-Edge Bi n ding Mode Offsets Figure 4-5 Long-Edge Binding Mode Offsets[...]

  • Страница 64

    4-10 PCL Job Control Commands EN Duplex P age Side Select ion Command The Dupl e x P a ge Side Sele ction comma nd causes a F or m F eed an d designat es which side of the sheet to print. The abi lity to skip a page whil e duple xin g ma y b e required at c er tain loca tions in a do cument. For example, a chapter typicall y begins o n the front si[...]

  • Страница 65

    EN Job Separ ation Com mand 4-11 Job Separation Command Job sepa ration provides a means of i dentifying o ne prin t job from others i n the pr inter’ s output t r ay . It u sually doe s this by physically offsetting one pri nt job from t he ne xt. The Job Separation c ommand tog gles the p rinter ’ s se paration mechani sm. This c ommand must [...]

  • Страница 66

    4-12 PCL Job Control Commands EN Output Bin Selection Comman d The Output Bin Selection command s elects eithe r of the two output paper bi ns (upper or lower [rear ]) f or pa per output. ? & l # G # = 1 - Up per Output B in 2 - Lower (R ear) Outpu t Bin Default = Upper Ou tput Bin Range = 1, 2 Note If this c ommand is rec eiv ed by a pr inter [...]

  • Страница 67

    EN Unit of Meas ure C ommand 4-13 Unit of Measure Command The Unit of Measure c ommand e stab lis hes the u nit of measur e f or PCL Unit cursor mov ement s. ? & u # D # =Numb er of uni ts-per-inch Default = 300 Range = 96, 100, 120, 144, 150 , 160, 180, 200, 225, 240, 288, 300 , 360, 400, 450 , 480, 600 , 720, 80 0, 900, 1200 , 1440, 1 800, 24[...]

  • Страница 68

    4-14 PCL Job Control Commands EN The curr ent unit of me asure setting aff ects all PCL Unit m ov es, hori z ontal and ver tical rectan gle size, bitmap and s calable f ont metr ics (how the cur sor mov es afte r prin ting a character ). The Unit of Measure command doe s not affect the inter pretation o f binar y raster data (bi tmap fonts, r aster[...]

  • Страница 69

    EN Unit of Meas ure C ommand 4-15 Figure 4- 6 Cursor Moves at Differe nt Unit of Meas ure Settings The pr inter’ s physical dot size has no direct bearing on the si z e of PCL Un its used i n cursor m ov e ments. In addition, P CL Units ar e not affected by the c urrent control panel o r PJL resolut ion setting. Note If no other unit of measu re [...]

  • Страница 70

    4-16 PCL Job Control Commands EN[...]

  • Страница 71

    EN Introduc tion 5-1 5 P age Control Commands Introduction P age cont rol comman ds and dat a are associ ated with each pri nted page of a j ob . These c ommands deter mine such features as page s ource, size, orientati on, margins, an d te xt s pacing. This chapt er descr ibes the com mands providing page format c ontrol. Note If a number o f cons[...]

  • Страница 72

    5-2 Pag e Control Comman ds EN Pag e S i z e C o m m a n d The Page Size command d esignates t he size of the pa per which in tur n defines th e size of the log ical page. ? & l # A PA P E R : # = 1 - Ex ecutive (7¼ x 10 ½ in.) 2 - Lette r (8½ x 11 in .) 3 - Lega l (8½ x 14 in.) 6 - Ledg er (11 x 17 in .) 26 - A4 (2 10mm x 297mm ) 27 - A3 ([...]

  • Страница 73

    EN Page Si ze Comm and 5-3 If the P a ge Size command s election di ff ers fro m that of the installed paper tray size and the requested pa ge size is not currently av a ilable in another non-sec ure source, then a message is display ed on the control panel reque sting in stallation o f a paper tray of the spec ified size. Note The Page Size comman[...]

  • Страница 74

    5-4 Pag e Control Comman ds EN P APER SOURCE COMMAND The P aper Source com mand designat es the loca tion to feed paper , or it prin ts the current page. ? & l # H # = 0 - Print the current p age (paper s ource remai ns unchanged) . 1 - Feed paper from the a pr inter-spe cific tra y . 2 - Feed paper from manual input. 3 - Feed env elope from ma[...]

  • Страница 75

    EN Logical Page Orient ation Comma nd 5-5 Logical P age O rientation Comma nd Or ientation defi nes the posi tion of the lo gical page and the default direction of pr int with respec t to the physical page as shown in Figure 5- 1. ? & l # O # = 0 - P or trait 1 - Lan dscape 2 - Rev ers e P or trai t 3 - Rev erse L andscape Default = 0 Range = 0[...]

  • Страница 76

    5-6 Pag e Control Comman ds EN T able 5- 1 HP-GL/2 State V ar iables ? E or Control Panel Reset: z ex ecute s “IN” comman d z defaults picture f r a me z defaults picture f r a me anchor point z defaults HP-GL/2 p lot size Changing Orientation or Sending a Page Si ze Command: z Defaults picture frame a nchor point . z Defaults picture frame. z [...]

  • Страница 77

    EN Logical Page Orient ation Comma nd 5-7 Figure 5-1 P age Orientation With Default Print Direction The or ientation of the HP-G L/2 picture is also affected by the logi cal page or ientation. Figure 5-2 i llustrates t he eff ect of logical page ori entation on the HP-GL/2 pi cture or ientation. I t is possible to al ter the HP-G L/2 picture or ien[...]

  • Страница 78

    5-8 Pag e Control Comman ds EN Figure 5-2 HP-GL/2 Picture Orientation with Respect to Logical P age Orientation[...]

  • Страница 79

    EN Print Direc tion Command 5-9 Print Directio n Command The Pr int Direct ion comm and rotates t he logical page coordi nate syste m with respec t to the current orie ntation with out perform ing a page ejec t. This rotat ion is perform ed in 90° in crements in a counterclockwise direction. This allows pr inting in f our d irections o n the sa me[...]

  • Страница 80

    5-10 Page Control Commands EN Figure 5-3 Changing Print Direction on a P age[...]

  • Страница 81

    EN Text Area 5- 11 T ext Area T e xt p rintin g ma y be restr icted to a sp ecific ar ea within the l ogical page usi ng the Left Mar gin, Right Ma rgin, T op Mar gin, T ext Length, and P erforation Skip Mo de comma nds. This area is k nown as the text area. The left margin defines the distanc e between the left edge of the logical page and t he le[...]

  • Страница 82

    5-12 Page Control Commands EN Figure 5-4 T ext Area Within the P age[...]

  • Страница 83

    EN Left Mar gin Comman d 5- 13 Left Margin Command The Left Mar gin comman d sets the le ft margin to t he left edge of the specifi ed column. ? & a # L # = Col umn number Default = Column 0 (Left boun d of logical page) Range = 0 - Ri ght mar gin The first column withi n a line is column 0, wh ich is loc ated at the le ft edge of the logical p[...]

  • Страница 84

    5-14 Page Control Commands EN Right Margin Command The Righ t Margin co mmand set s the right margin to th e right e dge of the sp ecified col umn. ? & a # M # = Col umn number Default = Logica l Page righ t bound Range = Cu rrent l eft mar gin - Lo gical page r ight bo und The max imum right c olumn is lo cated at th e right edge of the log ic[...]

  • Страница 85

    EN Clear Horiz ontal Margins Comman d 5-15 Clear Horizontal Margins Command The Clea r Horizontal Margins comm and resets the left an d right margins. The left margin is set to the left edge o f the logi cal page (column 0) and the r ight margi n is set to the righ t edge of the lo gical page. ? 9[...]

  • Страница 86

    5-16 Page Control Commands EN T op Margin Command The T o p Margin co mmand desig nates the number of lines b etween the top of th e logical p age and the top of the text area. ? & l # E # = Num ber of lines Default = 1/2 inc h down from top of logi cal page 1 Range = 0 - Lengt h of logical page (Other v alues ignore d) 1 If logical page length[...]

  • Страница 87

    EN Top Marg in Command 5-17 Note The first line of th e logical p age is line 0. Figure 5-5 Margin Cur sor P ositioning[...]

  • Страница 88

    5-18 Page Control Commands EN T ext Length Command The T ext Length c ommand d esignates t he number of li nes (at a giv en VMI) wit hin the lo gical page available f or pr inting text, the text area . This effectively defin es the bottom margin. ? & l # F # = Num ber of lines Default = 1/2 inc h less th an maximum text length 1 Range = Logica [...]

  • Страница 89

    EN Perfor ation Skip Command 5-19 P e rf or ation Skip Command The perforation region is the dista nce from the b ottom of the text area of one page to the top o f the text area (top mar gin) of the next page. When per f oration sk ip is enabled, a L ine F eed or Half-Line Feed, which would move the curso r bey ond the bottom of the text area, caus[...]

  • Страница 90

    5-20 Page Control Commands EN Horizontal Motion In de x (HMI) Command The Hor izontal Motio n Index (HMI) co mmand desig nates the wi dth of the co lumns. ? & k # H # = Num ber of 1/120 i nch increments. Default = Determine d by the p itch value in the defaul t font head er. Range = 0 - 32767 (valid to fou r decima l places) The value fie ld is[...]

  • Страница 91

    EN Horizontal Moti on Index (HMI) Comman d 5- 21 Exam ple T o pri nt the pr inter’ s reside nt 16.66 pitc h Line Pr inter font at 17.75 cpi , send ? (s16.66H to select the Line Prin ter font, then send the comm and ? &k6.76H to change HMI. This value field is cal culated as follows: Each character then o ccupies 6 .76/120 inc h or 1/17.75 inc[...]

  • Страница 92

    5-22 Page Control Commands EN V er tical Motio n Inde x (VMI) Comm and The V er tical Motion In de x (VMI) command de signates the height of the rows. (The ver tical dist ance the cur sor mov es for a Line Feed operation.) ? & l # C # = numbe r of 1/48 inch i ncrements bet ween rows . Default = 8 Range = 0 - Current l ogical page length up to a[...]

  • Страница 93

    EN Vertica l Motion Index ( VMI) Command 5-23 Common VMI Settings T o pri nt 66 lines per page on l etter-size pape r , in p or trait orien tation (with one -half inch top and bot tom margins ) send: ? & l 7.27C 7.27 = (10/66) x 48 T o pri nt 66 lines per page on l etter or le gal-size paper , in lan dscape ori entation (wit h one-half i nch to[...]

  • Страница 94

    5-24 Page Control Commands EN Line Sp acing Command The Line Spacing co mmand sets the number of li nes pri nted per inch . Only th e v alues listed bel ow are v alid . ? & l # D # = 1 - 1 lpi 2 - 2 l pi 3 - 3 l pi 4 - 4 l pi 6 - 6 l pi 8 - 8 l pi 12 - 12 l pi 16 - 16 l pi 24 - 24 l pi 48 - 48 l pi Default = 6 Range = 0,1,2,3,4 ,6,8,12,16 ,24,4[...]

  • Страница 95

    EN Introduc tion 6-1 6 Cursor P ositioning Introduction This sec tion descr ibes the c ursor positi oning comm ands. Although the prin ter does not actually h a ve a cursor , th e PCL cursor pos ition refers to the Current Active Position (CAP) , l ik e the blinking underli ne character (cursor) us ed on most computer s . This “cursor” iden tif[...]

  • Страница 96

    6-2 Curso r Positio ning EN Absolute vs. Re lative Cursor P osit ioning Either absolute or re lative motion can be specifi ed. Absolute motion always specifies the distance t o mov e re f er enced from the t op margin at the left bo und of the logi cal page (0 ,0), regardles s of the curr ent active position (CA P) (see Figur e 6-1). An unsigned v [...]

  • Страница 97

    EN Cursor P ositioning Uni ts 6-3 Cursor P o sitioning Units Cursor pos itioning i s done in PCL coordinate system units. T he units of the X- axis of the P CL coordin ate sys tem ma y be PCL Un its , decipoints , or columns . The units of t he Y -ax is of the PC L coordi nate system ma y be PCL Units , decipoints , or rows . PCL Units The curr ent[...]

  • Страница 98

    6-4 Curso r Positio ning EN Decipoint s In PCL ter minol og y , a de cipoint is 1/7 20 inch or o ne-tenth of a PCL point (a PCL point is exa ct l y 1/72 inch as opposed to a typographic point which is appro ximate ly 1/72 inch) . Columns & Rows The widt h of a column is defined by the current ho rizontal mo tion index (HMI), as descr ibed under[...]

  • Страница 99

    EN Horiz ontal Curso r Positionin g (Column s) Command 6-5 Horizontal C ur sor P ositi oning (Colum ns) Command This Ho rizontal Cur sor P os itioning co mmand moves the cursor to a new column on t he current line. ? & a # C # = Num ber of Column s Default = NA Range = 0 - logic al page righ t bound (v alid to 4 dec imal place s) The widt h of [...]

  • Страница 100

    6-6 Curso r Positio ning EN Horizontal Cursor P ositioning (Decipoin ts) Command This Ho rizontal Cur sor P os itioning co mmand moves the cursor to a new position a long the ho rizontal axi s . ? & a # H # = Num ber of Decipoi nts (1/720 inch) Default = NA Range = 0 - logic al page righ t bound (rou nded to th e first decim al place) A value f[...]

  • Страница 101

    EN Horizo ntal Cursor Pos itioning (PCL Units) Command 6-7 Horizontal Cursor P osition ing (PCL Units) Command This Ho rizontal Cur sor P os itioning co mmand moves the cursor to a new position a long the ho rizontal axi s . ? * p # X # = Num ber of PCL Uni ts Default = NA Range = 0 - logic al page righ t bound A value field (# ) with a plus s ign [...]

  • Страница 102

    6-8 Curso r Positio ning EN Hori zontal Cur sor P ositio ning Cont r ol Code s F our control co des can be u sed to posit ion the cu rsor hor izontally on the cu rrent line. These c ontrol cod es are explained b elow . Note The distan ce which the cursor i s mov ed by the Sp ace (SP), Backspace (BS) , and Horizontal T ab ( HT) control codes is de f[...]

  • Страница 103

    EN Horiz ontal Cursor Posi tioning Control Codes 6-9 BS - Backspace Mov es the current a ctiv e pos ition (CAP ) left a dis tance eq ual to the width o f the last printed symbol or space. If the act iv e po sition is already at the left ma rgin, no act ion is taken. If the cursor is cu rrently bey ond the right m argin, BS p ositions the c ursor ju[...]

  • Страница 104

    6-10 Cursor Positi oning EN V er tical Cursor P ositioning (Ro ws) Command This V er tic al Cursor P osi tioning c ommand moves the curso r to a new line in the same col umn positio n. ? & a # R # = Num ber of Rows Default = NA Range = –32767 to 32767 (val id to 4 dec imal place s) A value field (# ) with a plus s ign (+) indic ates the new p[...]

  • Страница 105

    EN Vertical Cursor Posi tioning (De cipoints) Com mand 6-11 V er tical Cursor P ositioning (Decip oints) Command This V er tic al Cursor P osi tioning c ommand moves the curso r to a new positio n along the v er tical axis. ? & a # V # = Num ber of Decipoi nts (1/720 inch) Default = NA Range = –32767 to 32767 (roun ded to the first decima l p[...]

  • Страница 106

    6-12 Cursor Positi oning EN V er tical C ur sor P osi tioning (PCL Uni ts) Command This V er tic al Cursor P osi tioning c ommand moves the curso r to a new positio n along the v er tical axis. ? * p # Y # = Num ber of PCL Uni ts Default = NA Range = –32767 to 32767 A value field (# ) with a plus s ign (+) indic ates the new position i s downward[...]

  • Страница 107

    EN Half-Line Feed Comman d 6-13 Half-Line Fee d Command The Half -Line Feed command m ov e s the curs or to the same character p osition one half-line down. Th e distance m o ved f or a Half-Lin e F eed is one-half of the curren t line spac ing (define d by t he last VMI or line spacing s etting). ? = V er tical Cursor P ositioning Contr ol Codes T[...]

  • Страница 108

    6-14 Cursor Positi oning EN Line T erminat ion Command The Line T er m ination co mmand contro ls the wa y the pr inter inte rpr ets CR, LF , a nd FF contr ol characters. Al l CR, LF and FF control characters received after the L ine T er minatio n Command a re inter preted as shown below . ? & k # G # = 0- CR=CR; LF=LF; FF=FF 1 - CR=CR-LF; LF=[...]

  • Страница 109

    EN Push/P op Cursor Pos ition Comman d 6- 15 Push/P op Cu r sor P ositi on Command The Push/Pop Cursor P osition c ommand allows the current cursor positio n to be store d and recalled . ? & f # S # = 0 - Pus h (Store curs or position) 1 - P op ( Recall a cu rsor positi on) Default = 0 Range = 0, 1 (V alues outsi de range are ignored) A value f[...]

  • Страница 110

    6-16 Cursor Positi oning EN[...]

  • Страница 111

    EN Introduc tion 7-1 7 F onts Introduction A font is a group of symbols t hat hav e si milar characte ristics. A f ont is d escribed b y its symbol set , sp acing , height , pitch , style , stroke weight , typefa ce and orie ntat ion . A typic al document is pri nted using s e veral f onts. A l arge f ont may be used for the title and chapter hea d[...]

  • Страница 112

    7-2 Fonts EN A font must be selec ted for printing by the user . One font is select ed at a time. It is selected b y identif ying the speci fic character istics of the f ont. F ont sele ction comma nds identify font character istics to the pri nter (refer to Summar y o f F ont S election by Chara cteristic fo r detailed f ont sel ection informati o[...]

  • Страница 113

    EN Symbol S et 7-3 Symbol Set Symbol set identi fies the sp ecific colle ction of sy mbols provid ed by a f ont. Each symbo l set is de fined with a s pecific ap plication i n mind. F or example, the leg al and mat h symbol sets we re designed to suppo r t legal and s cientific applicatio ns. The follo wing figure s ho ws two commo n symbol sets, P[...]

  • Страница 114

    7-4 Fonts EN Spacing Anothe r character istic that diff erenti ates fonts is spac ing. Fonts hav e either fixed or prop or tional spa cing. Fixed-spaced fonts (Fi gure 7-3) are thos e in which th e inter-character spacing is constant. Propor ti onally-s paced f onts (Figure 7- 4) are those in which the inter- character spacin g v ar ies with the na[...]

  • Страница 115

    EN Pitch 7-5 Pitch Pitch des cribes the number of characters pr inted in a hor izontal inch. Pitch on ly applies to fix ed- spaced fonts, since th e number of characters per inch vari es f or pr opor tional fonts. Figure 7-5 Pitch Height The hei ght of a f ont i s the measur ement of the b ody of the typ e in PCL point s. A PCL poin t is 1/72 inc h[...]

  • Страница 116

    7-6 Fonts EN Style Style i s defined by three character istics: po sture (up right, i talic), width (conden sed, nor mal, expanded, etc .), and str ucture (sol id, outline, shadow etc. ). Examples of upri ght and ita lic styles a re shown. Figure 7-7 Style Str oke W eight Str oke w eight describe s the th ick ness of the str oke s that co mpose cha[...]

  • Страница 117

    EN Typeface Family 7-7 T yp eface F amily T ypeface ident ifies the desi gn of the s ymbols of th e f ont. Ea ch typeface f amil y has uniqu e and distin guishing design charact eristi cs. The following example shows type f aces f rom various ty pef ace fa m i l i e s. Figure 7 -9 T ypef ace[...]

  • Страница 118

    7-8 Fonts EN Orientation Or ientation define s the position of t he logical page wit h res pect to the physical page as shown in Figure 7-10. Figure 7-10 Orientation The HP L aserJet IID , IIP , 2000, and all PCL 5 LaserJet p rinters automa tically rotat e f onts to the curre nt orien tation (all f o nts are av ailable in al l f our or ientatio ns)[...]

  • Страница 119

    EN Bitmap Fon ts and Scalable Typefa ces 7-9 Bitmap Fonts an d Scalable T ypefaces There ar e two basic form ats of fonts used by HP PCL 5 prin ters: bitmap ( Figure 7-11 ) and scalable (Figur e 7-12). Ear lier HP La serJet pri nters suppor ted only bitmap f onts. Bitm ap f onts ha ve a fixed bit-patte rn for each ch aracter . T he size of the ch a[...]

  • Страница 120

    7-10 Fonts EN Figure 7- 11 Bit map Characte r Figure 7- 12 S calable Character[...]

  • Страница 121

    EN Internal Fonts 7- 11 Internal Fonts Inter nal f o nts are those fonts that are provided with the pri nter . Both inte rnal bitmap and scalable f o nt f or mats are p ro vi ded. Inter nal bitmap an d scalable fonts and symbo l sets for current mode ls of HP LaserJ et f amily p rinter s are listed in Chapter 2 o f the PCL 5 Comp a rison Guid e . F[...]

  • Страница 122

    7-12 Fonts EN[...]

  • Страница 123

    EN Introduc tion 8-1 8 PCL F ont Selection Introduction Sev eral characte ristic s identify a f ont (as descr ibed in Cha pter 7 , Fo n ts ). F ont cha racterist ic sele ction co mmands , desc ribed in this ch apter , a re used to spe cify the des ired font characteri stics f or pr intin g. Commands a re include d f or the f ollowing character isti[...]

  • Страница 124

    8-2 PCL Font Selec tion EN Font Selection Priori ty The pr inter s elects a font based o n a prio ritiza tion of its design character istic s , then its resol ution, then its ph ys ical loca tion in the pri nter , a nd finally , i ts orie ntation. Font selec tion pr iority consid erations are sh own in the following list: When sel ecting a font, th[...]

  • Страница 125

    EN Introducti on 8-3 There ar e f our loc ations where a font may be stor ed: prin ter R OM (Read O nly Memor y), SIM M module ROM, car tr idge ROM, an d pri nter RAM (random access m emor y; user memor y). T hese font locatio ns are shown below , l isted from the highest to lowest prior ity . The font that ma tches the c haracteris tics is sel ect[...]

  • Страница 126

    8-4 PCL Font Selec tion EN Font Select T a ble The init ial font specificati on in a jo b should be m ade usin g all of the f ont c haracter istics. T o selec t a Roman-8, fi x ed-spaced , 10 pitch, 12 point, upr ight, bo ld, Cour ier f ont , f or the cu rrent page o rientat ion, specify each of the character istic s using font selec tion escape se[...]

  • Страница 127

    EN Primar y and Seco ndary Fon ts 8-5 At a mini mum, only the c haracteristi cs of the new f ont t hat differ from those of th e previously desi gnated font must be se nt (the sh or t f ont sele ction method). Howe ver , H P recommends th at all of the character istics be s ent to ensure that the corr ect font is selected . Note PCL 5 pr inters can[...]

  • Страница 128

    8-6 PCL Font Selec tion EN Symbol Set Command The Symbo l Set comma nd identifi es the specif ic set of sy mbols in a f ont. “Symbols” a re the alpha numeric, punctua tion, or a n y other pri ntab le c haracters or sy mbols which may be incl uded. E C ( ID P rimar y Sym bol Set Comma nd ID = Symbol S et ID v alu e (see Appendix C in the PCL 5 C[...]

  • Страница 129

    EN Symbol S et Command 8- 7 A fe w symbol sets are lis ted below . F or a more complete list, refer to Appendix C in the P CL 5 Compar ison Gui de . Note User-defi ned symbol sets are s uppor ted in some HP Las erJet pri nters. T o specify a user-define d symbol s et, use the sy mbol set ID v alue as defin ed b y the Symbol Set ID Code Comma nd . S[...]

  • Страница 130

    8-8 PCL Font Selec tion EN 7-bit ISO Symbol Sets The HP L aserJet pr inters provid e se veral 7-bit ISO ( Intern ational Organi zation for Standar dization) or “ke yboa rd” symbol sets to suppo r t European l anguages. Ea ch ISO symbo l set is a unique orderi ng of symbo ls containe d within the Ro man-8 sym bol set (see Appen dix B in the PCL [...]

  • Страница 131

    EN Spacin g Command 8-9 Spacing Comm and Inter-chara cter spacing can be s pecified as either pro por tional or fixed. E C ( s # P - Primary spacin g E C ) s # P - Secon dar y spacing # = 0 - Fix ed spa cing 1 - Pr opor tional s pacing Default = 0 Range = 0, 1 (val ues outside the range are ignored) When pr opor tional spacing is specifie d and a p[...]

  • Страница 132

    8-10 PCL Font Se lection EN Pitch Command The Pi tch command designate s the hor izontal spac ing of a fixed- spaced ( bitmap or scal able) f ont in te rm s of the number of characters per inch. Th is character istic i s ignored when selecting a propor tio nally-sp aced (bitm ap or scalable) font, but is saved in the f ont sel ect table and av ail [...]

  • Страница 133

    EN Pitch Com mand 8-11 The following f or mula can be used to as a r ule of thu mb f or co mputing a maximum re commended pitch: The char acter (“conto ur”) width in t he abov e f or m ula is e xpressed as a per centage of an Em. F or example, the width of character s in Cour ier is very c lose to 60% o f an Em, and . (The width of characters i[...]

  • Страница 134

    8-12 PCL Font Se lection EN Height Com mand The Heig ht comman d specifies th e height o f the f ont i n points. This character istic is ignored wh en selec ting a fixed-spac ed scalable font; howe ver , the value is saved and av ailable when a bitmap font or a propor tio nally-sp aced scalable font is selec ted. E C ( s # V - Pr imar y Height E C [...]

  • Страница 135

    EN Height Com mand 8-13 Note If a propo r tional-spa ced scalable font is se lected us ing an ID numb er , send the Heigh t command to sp ecify the point s iz e other wise, the size is deter mined by t he height cha racteristi c v alue of the former f ont (as listed in the f ont s elect table) See “ F ont Sele ction by ID Command” later in this[...]

  • Страница 136

    8-14 PCL Font Se lection EN Style Command The Style command identifies t he posture o f a character , its width, and str ucture o f the f ont sy mbols. E C ( s # S - Pr imar y St yle E C ) s # S - Seconda r y Styl e Default = 0 Range = 0 - 32767 (values grea ter than 32767 are set to 32767) Style values for the most c ommon typefaces are l isted in[...]

  • Страница 137

    EN Style Com mand 8-15 Notes With the i ntroduction of the HP Las erJet IID pr inter , Hewlett-P ackard ex pande d the style values (in the Font Header styl e value field ) from a one-byte to a t wo-by te value fi eld, expanding the style range fr om 0-255 to 0-32767. Th is e xpans ion allows for additio nal styles. Style values c an be obtained b [...]

  • Страница 138

    8-16 PCL Font Se lection EN Str oke W eight Com mand The Stroke Weight comm and designates the thickness of the strokes that comp ose the character s of a font. E C ( s # B - Prima r y stro ke w eight E C ) s # B - Seco ndar y stroke weight Default = 0 Range = - 7 to 7 (l ess than -7 m aps to -7; gre ater than 7 ma ps to 7) The value fie ld (#) spe[...]

  • Страница 139

    EN Stroke We ight Command 8-17 If the spec ified stroke weight i s greater than or e qual to 0 a nd is not av ailable, the next thick er available stroke weight is s elected. If n o thicker stroke weight is availabl e, the closest av ail abl e thin ner stroke we ight is se lected. If the specif ied stroke weight is less than zero and is not av aila[...]

  • Страница 140

    8-18 PCL Font Se lection EN T yp eface F amily Comm and The T ype f ace F ami ly command designates the desig n of the font. E C ( s # T - Primar y typeface family E C ) s # T - Secondar y t ypef ace f amily # = T ypeface f amily v alue (see Appen dix C in the PC L 5 Comp a rison Guid e for t y p e fa c e va l u e s ) . Default = 1 4099, Body Te xt[...]

  • Страница 141

    EN Typeface Fa mily Command 8-19 Some typ ef ace ( two-b yte) f amily values are listed bel ow . For a complete listing of typeface f amily and base v alue s, ref e r to Appendix C in the P CL 5 Compar ison Guide . Example T o speci fy CG Time s as the typ ef ace family for the pr imar y font, send: E C ) s4101T T o speci fy Line Pr inter as the ty[...]

  • Страница 142

    8-20 PCL Font Se lection EN Orientation The Or ientatio n command ( E C &l#O ) designates th e positio n of the logical page with respect to the physical page. Ear lier pr inters co uld only pr int bitmap f o nts and raster gr aphic s in the o rientati on f or whic h they were designed . How ev er , the HP Laser Jet IID , IIP , 2000, an d all P[...]

  • Страница 143

    EN Font Se lection Ex amples 8-21 Font Selectio n Examples Bitmap, Fix ed-Spaced Font This example il lustrates how to s elect a p rimar y , bit map , Line P rinter, fixed-spaced font with the following charac teristic s (note that all of the f ont c haracter istics are specified): The following esca pe sequen ces can be sent to the prin ter to sel[...]

  • Страница 144

    8-22 PCL Font Se lection EN Scalable, Pr opor tional-Spaced Font This example illus trates how to select a pr imar y , scalable, CG Times, propor tio nal-spaced font with th e f ollowing cha racteristics (note that all of the f ont cha racterist ics are sp ecified except pitch which is no t required for a propo r tional font): The following esca pe[...]

  • Страница 145

    EN Summar y of Font S election by Characteris tic 8-23 Summary o f Font Selection b y Characteristic The following summ arizes the procedure the printer uses to se lect a f ont. Selection by ch aracteri stic is an eliminat ion process. T he nine steps ar e performed in the following orde r: Note When the p rin ter is in 300 d pi mode, any 600 dp i [...]

  • Страница 146

    8-24 PCL Font Se lection EN Note F or p ropor tionall y-space d scalable fonts, any specified he ight is av ailable to the neares t quar ter point. For fixed-spaced scal able f onts, the desig nated heig ht is reco rded, and the height is c alculated from the r equ ested pitch . 5S t y l e - if the specifi ed style is available in the rem aining fo[...]

  • Страница 147

    EN Summar y of Font S election by Characteris tic 8-25 9 Orientati on - f or bit map f onts the la st criteria consid ered f or the sele ction is its or ientatio n. If two fonts still re main and matc h in all the above character istics except or ientation, that f ont w hich matches the curren t page or ientation is select ed. If there i s a soft f[...]

  • Страница 148

    8-26 PCL Font Se lection EN Font Selectio nb y ID Command Soft fonts can be specified u sing their associate d ID numbers. (ID numbers are assigned to soft fonts using the F ont ID c ommand descr ibed in Chapte r 9, Font Management ). E C ( # X - D esignates soft f ont # as primar y E C ) # X - D esignates s oft f ont # as seconda ry # = font ID nu[...]

  • Страница 149

    EN Select De fault Font Com mand 8- 27 Example s T o speci fy the font associated wi th ID number 7 as th e prima ry f o nt, send: E C (7X T o speci fy the font associated wi th ID number 5 as the secondar y f ont, send: E C )5X Select Default F ont Command The Default F ont command set s all of the font character istics to th ose of the u ser (con[...]

  • Страница 150

    8-28 PCL Font Se lection EN T ransparent Print Data Command The T rans parent Pri nt Data com mand provides pr inting a ccess to those ch aracters which the pri nter nor mally defin es as unpr intable. These cha racters inclu de decimal character code s 0, 7-15 , and 27. E C & p # X [T ransparent P rint Data ] # =Numb er of bytes of transpare n[...]

  • Страница 151

    EN Underl ine Command 8-29 Underline Com mand The Unde rline c ommand contr ols automa tic text underl ining. E C & d # D - Enable underli ne # = 0 - Fix ed pos ition 3 - Floa ting position Default = 0 Range = 0, 3 (val ues outside range are ignored) E C & d @ - Disable under line Once un derlining is enabled, any pos itiv e hor izontal mov[...]

  • Страница 152

    8-30 PCL Font Se lection EN[...]

  • Страница 153

    EN Introduc tion 9-1 9 F ont Management Introduction F ont ma nagement p rovides mech anisms for manipu lating so ft f onts. It p rovides the means f or contr olling which soft fonts are sav ed in user memor y (RAM) or delet ed. This is accompl ished by assign ing a font as either t emporary or per manent, or deleting a soft font. In add ition, f o[...]

  • Страница 154

    9-2 Font M anagement EN Do wn loading Soft Fon ts The proce ss of transferrin g soft f on ts from a host computer to the pri nter’ s u ser memor y (R AM) is call ed downloadin g. Designate a unique id entification (ID) number pr ior to the downlo ad of a font. This number is then ass ociated wit h the so ft f ont. This number i s assigned using t[...]

  • Страница 155

    EN Tempor ary vs. Perm anent Font s 9-3 T em porary vs. P ermanent Fonts Once downloa ded, a f ont i s automatica lly designa ted as temporar y . A temporar y soft font is deleted fr om user memor y dur ing a printe r reset or when a T ypef ace List, a Font Pr intout or a self-test i s performed from the p rinter ’ s contr ol panel. A soft font c[...]

  • Страница 156

    9-4 Font M anagement EN Font ID Command The Font ID comman d is used to specify an ID numb er for use in subsequ ent f ont m anagement com mands. The ID numbe r of a font can be us ed to select th e f ont for pr inting (refer to “Font Selectio n by ID” in Cha pter 8). E C *c#D # = ID num ber Default = 0 Range = 0 - 32767 The font ID number is u[...]

  • Страница 157

    EN Font Control Comma nd 9-5 Font Con tr ol Comman d The Font Control c ommand provid es mechani sms f or m anipulating soft fonts. E C * c # F # = 0 - Delete all s oft fonts 1 - Dele te all temporar y s oft fonts 2 - Dele te soft font (last ID spe cified) 3 - Dele te Character Code (last ID and Chara cter Code spe cified) 4 - Make so ft f ont temp[...]

  • Страница 158

    9-6 Font M anagement EN T o dele te the characte r “p” (112 dec imal) in a bitmap or bo und scalable font with an I D of 1, send : E C *c1d112e3F (A spac e is printed i n place of the dele ted character . Also, the E C *c#E Character Code command us ed in the above sequence “ ...112e..., ” is descr ibed in Chapte r 11.) T o make the soft f [...]

  • Страница 159

    EN Font M anagement Ex ample 9-7 Font Manag ement Example This example il lustrates sever al ty pical font manage ment operations. It assum es a bitmap soft f o nt is store d and av ailable on an M S-DOS based har d disk. 1 Set the font ID numbe r to 2: E C *c2D 2 Download a soft f o nt file using the MS-DOS COPY command with the /B opti on: COPY /[...]

  • Страница 160

    9-8 Font M anagement EN Unbo und Sca lab le Fon ts Pri or to introduc tion of the HP LaserJet IIIP p rin ter , a download ed scalable font was restr icted to a single symbo l set. Now scalable fonts with no symbol se t affiliation can be downlo aded. These new f onts are calle d unbound fonts. T o download unbound fonts, the “PCL Font Header for [...]

  • Страница 161

    EN Unbound S calable F onts 9-9 Symbol Collections The symbo ls in an unbound font (typeface) ca n be divided into symbol collectio ns. These symbo l collecti ons identify the symbol s accord ing to so me language b asis or spec ial appl ication usage. Some sy mbol colle ctions inc lude: Basi c Latin, Eas t European, T ur kish, Math , Semi-Graphic,[...]

  • Страница 162

    9-10 Font Managemen t EN Charact er Complement Numbers The “Intel lif ont Un bound Scala b le Font Header” (header) inclu des a 64 bit fie ld (bytes 78-85) which conta ins the Character Com plement number . For T rueT ype f onts, in the “F or mat 15 Font Header f or Scalable Fonts” (unbou nd), the Character Complement num ber is include d i[...]

  • Страница 163

    EN Unbound S calable F onts 9-11 TrueType example: If a symbol set based o n Unicode numbers requires one or mor e characters from the standa rd ASCII co llection and some of the character s from the Latin 5 collection, then bits 31, 28 and 0 ar e set to one (refer to App endix D in the PCL 5 Com parison Guide f or informati on regarding the variou[...]

  • Страница 164

    9-12 Font Managemen t EN Since th e printe r identifie s symbols by thei r symbol inde x numb er (range from 0 to 6 5535), but receives character codes (range 0-255), a relation must be made between the ch aracter codes and the large r range of s ymbol inde x num bers. This rela tion is defined b y the symbol set mappi ng table. The pr inter conta [...]

  • Страница 165

    EN Unbound S calable F onts 9-13 Printing a Ch aracter When an unbou nd f ont is se lected for printin g and a character code is received, the printer accesses t he requested symbol set m apping table to identify t he MSL or Unic ode number . For e xample, if the Roman-8 s ymbol set is selecte d and the p rinter receives character code 254, the pr [...]

  • Страница 166

    9-14 Font Managemen t EN[...]

  • Страница 167

    EN Introduc tion 10-1 10 User-Defined Symbol Sets Introduction User-defi ned symbol sets ar e used with un bound scala b le fonts. Three new co mmands provid e f or the im plementat ion of user-defi ned symbol sets: Symbol Set ID Code - E C *c #R Define Sy mbol Set - E C (f #W [s ymb ol set data] Symbol Set Con trol - E C *c#S T o defin e a symbol [...]

  • Страница 168

    10-2 User-Defined Symb ol Sets EN Symbol Set ID Co de Command The Sy mbol Set I D Code co mmand as signs a s ymbol se t ID code to a user-defi ned symbol se t. This ID code is used by the S ymbol Set Control c ommand for symbol s et management. The ID code c orresponds to the symbol set ID sel ection value which is used to ide ntify the symbo l set[...]

  • Страница 169

    EN Symbol S et ID Code Com mand 10-3 When sel ecting an ID code, select on e which is n ot being used cur rentl y . (If an ID c ode is s electe d whic h is alre ady be ing us ed in the pr inter , that sy mbol set is rede fined.) The fi rst step in sele cting an ID code is to de termi ne an ID selec tion value. Since it may be difficult to deter min[...]

  • Страница 170

    10-4 User-Defined Symb ol Sets EN Define Symbol Set This com mand defin es the charac ters and character mapping f or a user-defi ned symbol set. E C ( f # W [symbol s et definition data] # = Num ber of bytes in s ymbol set definition Default = n/a Range = 0 - 32 767 If a user -defined symb ol set is a lready pr esent in the p rinter and a new , va[...]

  • Страница 171

    EN Define S ymbol Set 10-5 The following abbreviations are use d to define the data type of each field in the symb ol set hea der : Header Size (UI) Set the he ader size to th e size of the header data — the n umbe r of bytes from Head er Size (byte 0) to the l ast byte just before the begin ning of the Sy mbol Map data bytes. This value is 1 8 o[...]

  • Страница 172

    10-6 User-Defined Symb ol Sets EN Encoded Symbol Set Designator (UI) This field mus t match the ID c ode in the S ymbol Set ID cod e comm and. This fiel d contai ns the symb ol set ID code. The symbol set ID co de is calcul ated from a s ymbol set ID selecti on v alue using the following f or mula: Symbol Set ID Code = ( # * 32) + (ID - 64) where #[...]

  • Страница 173

    EN Define S ymbol Set 10-7 First Code (UI) Specifi es the first c haracter code in th e set. Last Code (UI) The Las t Code speci fies the las t character co de in the set. T ogether, the First Code t hrough the La st Code identi fy the range of character codes wh ich map to the symbol inde x num bers (character s) in t he Sym bol Ma p fiel d. Chara[...]

  • Страница 174

    10-8 User-Defined Symb ol Sets EN MSL Symbol Inde x Character Requireme nts Bit V alue Designated Use 63 1 Basic Lati n required (such as ISO 8859/1 Latin 1) 0 Basic La tin not requi red 62 1 East E uropean Lati n required ( such as ISO 8859/ 2 Latin 2). 0 East E uropean Lati n not required 61 1 T ur kish requir ed (such as I SO 8859/9 La tin 5) 0 [...]

  • Страница 175

    EN Define S ymbol Set 10-9 Unicode Symbol Index Char acter Requirements Bits (number s/values) Bit V alue Designated Use 31 1 ASCII r equir ed (suc h as ISO 6 ASCII ) 0 ASCI I not r equi red. 30 1 W est Eu rope ex t ensions requi red (such as ISO 69 F rench). 0 West Europe e xtension s not requi red. 29 1 Ea st Europ e e xtensi ons required (such a[...]

  • Страница 176

    10-10 Us er-Defined Sy mbol Sets EN Example s of values for the field inc lude: Bit Field Des ignat ed Us e V alue ( Hex) Meaning 00000000 00000000 Default requir ement (MSL); s ymbol set can be used w ith an y type f ace i nde x ed b u MSL . 80000000 00000000 Symbol set (MSL) r equires on ly the Basic La tin Symb ol Collecti on (such as Roma n-8) [...]

  • Страница 177

    EN Define Sy mbol Set 10 -11 Symb ol Map ( Arra y of UI) The symbo l map co ntains a lis t of symbol index numbers. This lis t identifi es symbols f or the s ymbol set. (R ef er to Appe ndix D in th e PCL 5 Compa rison Gu ide for a MSL and Uni code symbo l inde xes.) The symbol map pai rs (maps) a cha racter cod e to a sy mbol ind e x numbe r . The[...]

  • Страница 178

    10-12 Us er-Defined Sy mbol Sets EN Symbol Set Contr ol Command This com mand provides a means for making user-defined symbol sets per manen t or temporar y , and for deleting them. E C * c # S # = 0 -Del ete all tempo rary and per manent u ser-defined sym bol sets. 1 - Del ete all tempo r ar y us er-defined sym bol sets. 2 - Del ete current us er-[...]

  • Страница 179

    EN User-Def ined Symbol Set Exampl es 10-13 User -Defined Symbo l Set Examples The following two examples illu strate the concep t of user-d efined symbol se ts . Th e y create symbol sets f o r PC-8 in MSL and Unicode symbol index e s. The neces sar y escape s equence s are shown i n each e xam ple. Unicode Symbol Inde x Example Symbol Map Data: E[...]

  • Страница 180

    10-14 Us er-Defined Sy mbol Sets EN MSL Symbol Index Example Symbol Map Data: (continued) 00 41 (c haracter code 65) Uppercas e A MM 00 61 (c haracter code 97) Lowercase A MM 20 7f (c haracter co de 252) Sup erior Lowercas e N 00 b2 (c haracter code 253 ) Superior Numeral 2 25 a0 (character code 254) Small So lid Square Bo x E C *c341r5 S PCL Symb [...]

  • Страница 181

    EN User-Def ined Symbol Set Exampl es 10-15 Symbol Map Data: (contin ued) 00 cf ( character code 5) So lid Spad e , Card Suit MM 00 e7 (c haracter code 31) Down Solid Arrowhead 00 00 (c haracter code 32) Space Code 00 01 (c haracter code 33) Exclamation M ark MM 00 22 (c haracter code 65) Uppercase A MM 00 43 (c haracter code 97) Low ercas e A MM 0[...]

  • Страница 182

    10-16 Us er-Defined Sy mbol Sets EN[...]

  • Страница 183

    EN Introduc tion 11-1 11 Soft F ont Creation Introduction A font that is download ed (transf err ed) from a co mputer to a pr inter is call ed a soft font. A PCL s oft f ont cont ains a font header an d a set of character de finitions . The f ont he ader and character definition s contai n all the infor mation neede d to format a f o nt f or use in[...]

  • Страница 184

    11-2 Soft Font Creation EN The defi nition of a font with a q uantity n character s w ould app ear as shown be low . Font Classificati ons There are three basi c classi fication s of fonts accepted by the HP LaserJ et printe r: PCL bitmap , Intellifont scalable , and TrueType scalable . Sev eral diff e rent f ont he ader and cha racter descr iptor [...]

  • Страница 185

    EN Introduc tion 11-3 T r ueT ype scala b le fonts are des cribed in d etail in the doc ument, Tr u e Ty p e F o n t F i l e s . (Ref er t o Related D ocuments , loc ated in the fr ont of this manual, for infor mation on how to obt ain this docume nt.) Note The doc uments, Intellifont Scal able T ypeface F or mat and T r ue T ype Fo n t F i l e s d[...]

  • Страница 186

    11-4 Soft Font Creation EN Coor dina te S ystem Both bitmap and scalable charact ers are designed in an ar ea ref err ed to as a cell or window , an d each has i ts own coordina te system and set of units. Bitmap Fonts Characters o f a bitmap font are des igned within a rectangul ar area ref er red to as a cel l. The bitmap cha racter cell is illus[...]

  • Страница 187

    EN Coor dinat e Syst em 11-5 The mas ter f ont des ign size is 250 points (a CG p oint=.013 83 inch es). There a re 8782 units per Em at t he Master Font Size. Figure 11-2 Agfa Design Window T rueT ype Scalable Fonts T r ueT ype scal able f ont chara cter coordin ates are typically b ased on a sys tem of 204 8 units per Em. The basel ine is defin e[...]

  • Страница 188

    11-6 Soft Font Creation EN Font Header C ommand The Font Header comm and is used to download font header da ta to the pr inter . E C ) s # W [f ont hea der data] Default = 0 Range = 0 - 32767 The value field (#) identifies th e number of bytes in the f ont head er . The font header fi elds are describe d under Font Header Form at , later in this ch[...]

  • Страница 189

    EN Font Hea der Format 11-7 Note Use the Font ID co mmand to desi gnate a un ique ID number p rior to the downloa d of a font header . If an existing font is a lready asso ciated with th is ID , the e xisti ng f ont i s deleted upo n the download o f the font header . Unles s otherwis e specified, i nappropr iate values in a f ont header fi eld inv[...]

  • Страница 190

    11-8 Soft Font Creation EN 16 Pi tch ( Def ault HM I) 18 Heigh t 20 x-Hei ght 22 Width T ype Style LS B 24 Str ok e W eigh t T ype f ace LSB 26 T y pef ace MSB Serif Style 28 Qual ity Place ment 30 Under line P ositi on (Distance) Under line Thickness (He ight) 32 T ext H eight 34 T ext Wi dth 36 First C ode 38 Last Code 40 Pitch Extended Height Ex[...]

  • Страница 191

    EN Font Hea der Format 11-9 8 Cel l Width 10 Cell Height 12 Or ientatio n Spacin g 14 Symbol Se t 16 Pitch (Default HMI) 18 Height 20 x-Heig ht 22 W idth T ype Style L SB 24 Str oke W eight T ype fa ce LSB 26 T ype f ace MSB Serif Style 28 Qual ity Placem ent 30 Un derline P ositi on (Di stanc e) Unde rline Thi ckn ess (He ight) 32 T e xt Height 34[...]

  • Страница 192

    11-10 S oft Font Creatio n EN T able 11-4 Format 10 Font Header (for Intellif ont Bound Scalable) B yt e 15 ( M SB ) 8 7 (L SB ) 0 0 F ont De scrip tor Size (minimum 80) 2 Header F or mat (10) Font T ype 4 St yle M SB Res erved 6 Baseli ne P osition 8 Cell Wi dth 10 Cell Height 12 Or ientation Spacing 14 Symbol Set 16 Pitch ( def ault HMI) 18 Heigh[...]

  • Страница 193

    EN Font Head er Format 11 -11 48-63 Font Name M 64 Scale F ac tor 66 X Resolution 68 Y Resolution 70 Master Underli ne P osition 72 Master Under line Thickness (Height) 74 OR Threshold 76 Global Italic Angl e Desc. Siz e-2 Global Intellifont Data Size 80 Global Intellifont Data M n Cop yright (opt iona l) M Reser ved (0) Checksum T able 11-5 Format[...]

  • Страница 194

    11-12 S oft Font Creatio n EN 16 Pitch (de f ault HMI) 18 Height 20 x-Heig ht 22 Widt h T ype Style L SB 24 Stroke Weight T ypeface LSB 26 T y pef ace MSB Ser if Sty le 28 Qual ity P lacement 30 Un derline P ositi on (Di stanc e) Unde rline Th ic kness 32 T ext Height 34 T ext Width 36 Reser ved 38 Number of Contours (Characters) 40 Pitch E xtended[...]

  • Страница 195

    EN Font Head er Format 11 -13 Desc. Siz e-2 Global Intellifont Data Size Desc. Siz e Global Intellifont Data M n Cop yright (opt iona l) M Reser v ed (0) Checksum T able 11-6 Format 15 Font Header (for T rueT ype Scalable Fonts) B y te 1 5 (M SB ) 8 7 (L S B) 0 0 Font Descri ptor Size (minimum 72) 2 Header F orma t (15) Font T ype 4 Style MSB Reser[...]

  • Страница 196

    11-14 S oft Font Creatio n EN Data T ypes In the font header a nd character de scrip tor informati on that follows , the abbreviations s hown below are used to define the dat a type of each field: 32 T ext Height 34 T e xt Width 36 Fir st C ode 38 Last Code /Numb er of C hara cters 40 Pitc h Extended H eight Ex tended 42 Cap He ight 44-47 Font Numb[...]

  • Страница 197

    EN Font Head er Format 11 -15 Font Descriptor Siz e (UI) Specifi es the number o f bytes in the f on t descr iptor . See t he f ont header fi gure f or the appropr iate font descr iptor size. Header Format (UB) The Head er F or mat byte identifi es the font to f or mat (se e below). Font T ype (UB) F ont ty pe descr ibes the font’ s r elation to [...]

  • Страница 198

    11-16 S oft Font Creatio n EN Note Access t o those codes which are unprin tab le, yet hav e a ch aracter define d, requires th e use of the T ranspar ent Print Da ta comman d (ref er to Ch apter 8 fo r mo re inf ormation ). Style MSB (UI) The Sty le MSB (byte 4) i s combined with the St yle LSB ( b yte 2 3) to make the styl e word. The conte nts o[...]

  • Страница 199

    EN Font Head er Format 11 -17 T able 11 -11 Va l u e Appearan ce Width (multipl y b y 4 for StyleW ord partial sum) 0 Nor mal 1 Condensed 2 Comp ressed or Extra Condensed 3 Extra Compre ssed 4 Ultra Compressed 5 Reser ved 6 Ex tended or Ex panded 7 Ex tra Extended o r Extra Expand ed T able 11 -12 V alue Structure (m ultiply b y 32 for StyleW ord p[...]

  • Страница 200

    11-18 S oft Font Creatio n EN Note The reser ved bits (15 - 10) sh ould be set to z ero. If a v alue is requested , and a ma tch not made, the req uest is ignored and the current font sele ction proces s continues as if the pa r amet er was ne ver requeste d (but it is sav ed in the attri b ute t ab le). Exam ple Assumi ng a f ont sty le of “ital[...]

  • Страница 201

    EN Font Head er Format 11 -19 Bitmap Font - Speci fied in PC L coordin ate syst em dots. Scalable Font - S pecified i n design uni ts. Figure 11- 3 Ch aracter Cell - Bitmap Orienta tion (UB) Specifi es the ori entation of the font. All charac ters within the font must hav e the same or ientation as those sp ecified in the f ont he ader ; otherwis e[...]

  • Страница 202

    11-20 S oft Font Creatio n EN Bitmap Font - Unsupp or ted values inv ali date font creatio n. Scalable Font - set t o ze ro . Note Hewlett-P ackard recom mends that bi tmap soft fonts be des igned in por trait (0 °), using the paper mot ion and raster scan directio n of the HP Las erJet Plus a nd LaserJe t series I I printer s. The HP Laser[...]

  • Страница 203

    EN Font Head er Format 11 -21 Symbol set escape sequence term ination c haracters can be any upper c ase ASCII ch aracter “A” through “Z. ” “Q” is res erved for use with HP “ Specials” s ymbol sets and is not rec ommended for general use. Notes Symbol set ID’ s of “@” an d “X” do no t hav e a corr esponding Sy mbol Set sel[...]

  • Страница 204

    11-22 S oft Font Creatio n EN Height (UI) Bitmap Font - Speci fies the des ign height o f the f ont i n quar ter-d ots (radix dots). This value, con ver ted to poi nts , is used as the height character istic v alue of the f ont. A PCL poin t is (0.01389) inc h. It combin es with He ight Extende d to spec ify the desi gn height of the font in 1024 t[...]

  • Страница 205

    EN Font Head er Format 11 -23 Widt h T ype ( SB) Specifi es the propo r tionate width of characters in th e f ont. Style LSB ( UB) The least si gnificant byte (LSB) of the Style word. Refer to Style MS B f or a de scrip tion of the Style word . Str oke W eight (SB) Specifi es the thicknes s of the str ok es us ed in desig ning the font. The suppo r[...]

  • Страница 206

    11-24 S oft Font Creatio n EN T ype face ( UB) This fiel d specifie s the HP type f a ce number o f the font. The current v ersi on of this fie ld, suppor ted b y th e &pa yette; pri nter , i s describe d first. The n a previous field, supp or ted in ea rlier pr inters, is de scribed. Current U sage In the L aserJet 4 pr inter version o f this [...]

  • Страница 207

    EN Font Head er Format 11 -25 V endor Number - Bits 15 - 12. This value is a ssigned by HP a nd is between de cimal values 0 a nd 15. T ypeface F amily Number - Bits 11 - 0 This value is between 0 and 4095. See Appendix C i n the PCL 5 Compariso n Guide . T ypeface F amily V alues ar e calcul ated accord ing to the f o llowing f or mula: Exam ple T[...]

  • Страница 208

    11-26 S oft Font Creatio n EN Previous Usag e The previous treat ment of the T ypeface fie ld suppor ted t he LaserJe t IIP , IID and LaserJet II I f amily pr inters. It con sisted of the T ypeface Least Significant B yte (LSB; th e origi nal, one-byte typeface value used pr ior to th e LaserJet IID printe r) and the T y pef ace Most Signifi cant B[...]

  • Страница 209

    EN Font Head er Format 11 -27 T ype face B ase V alue The T ypeface Base Nu mber (bits 0 through 8) ranged from 0 to 511. Som e of these values re f err ed to the sty les that var y b y st ructure and appearance width (such a s Helvetica Condensed , Helvetica Outline, etc.). Do not use the se v alue s in new designs sin ce they are bein g deleted. [...]

  • Страница 210

    11-28 S oft Font Creatio n EN Qualit y (UB) This fiel d specifie s the qual ity of the font. Placement (SB) Placeme nt specifie s the positi on of character patter ns relative to th e baselin e. Bitmap Font - The pla cement values for bitmap fonts are lis ted in the f oll owing table. Scalable Font - S et the Place ment field to z ero. 11 S cript C[...]

  • Страница 211

    EN Font Head er Format 11 -29 Underline P osition (Distance) (SB) Bitmap Font - Specifie s the distanc e from the bas eline to the to p dot row of the unde rline i n f ont de sign dots. Zer o specifie s an under line positio n at the basel ine. A positive value specif ies an under line positio n abov e the baseline. A nega tiv e value sp ecifies an[...]

  • Страница 212

    11-30 S oft Font Creatio n EN First Code (UI) First Code spec ifies the characte r code of the first pr intable character in the font. This v alue i s between 0 an d 255 inclusi v e. The Spac e Character may be pr intable and wil l prin t an image if one is def ined, otherwis e a Space c ontrol code is e xecuted. Cur rently , P CL 5 LaserJet p rint[...]

  • Страница 213

    EN Font Head er Format 11 -31 Scalable Font - S et Pitch Ex tended field to zero . Height Extended (UB) Bitmap Font - This i s an additio n to the Height f ield which extends the height an e xtra eig ht bits. The value of this field is i n f ont desi gn units. For e xample, a 10 point font design ed at 300 dpi woul d hav e a Height fie ld of 166 (4[...]

  • Страница 214

    11-32 S oft Font Creatio n EN Font Number (ULI) The Font Number fiel d uses four bytes (b yte 4 4, 45, 46, and 4 7). The lower three bytes ( 45, 46, and 47) contain the f o nt number in hexadecimal. This i s the number the vendor ass igns to their typeface . The mos t signific ant byte (byte 44) co nsists of a flag in the mo st signifi cant bit ind[...]

  • Страница 215

    EN Font Head er Format 11 -33 Figure 11-4 This fiel d is ignored by the printer for bitmap fonts. Font Name (ASC16) This is a 16 character ASCII field to which you may assign a f ont name. The font name is used in the T ypeface List (or F ont Li st pri ntout), under Name or Typeface (if the pri nter does no t ha ve a name str ing ass igned to the t[...]

  • Страница 216

    11-34 S oft Font Creatio n EN Y Resolution (UI) The Y Reso lution field is the pi x el resol ution in the Y scan dir ection at which the f o nt was design ed. Note This fiel d is not prese nt in the Format 15 F ont Hea der and is not necessar y for T r ueT ype f o nts . Scal e Facto r (UI) The Scale F ac tor field in dicates the number of de sign u[...]

  • Страница 217

    EN Font Head er Format 11 -35 V ariety (UB) The inte rpreta tion of thi s field depe nds on the value of the preceding (Font Scaling T echnology) byte . For T rueT y pe f onts, this field must be set to zero . OR Threshol d (UI) F or mer ly calle d the “LRE Thr eshold, ” this is the pixel size in des ign units above which the missing pixel reco[...]

  • Страница 218

    11-36 S oft Font Creatio n EN Note In the Form at 15 Font Header for T r ueT ype Sca lab le Fonts, the d ata in this field i s contained in the “CC” (Charact er Complemen t) field in th e Segmented F ont Da ta section imm ediately following the de scrip tor data. See “Segmented Font Data ” later in thi s chapter . T able 11 -25 MSL Sy mbol [...]

  • Страница 219

    EN Font Head er Format 11 -37 Individ ually define d bits are shown i n the following two tables: T able 11 -27 MSL Symb ol Index Character Comple ment Bits Bit V alue 63 0 if font is comp atible with standard Latin character sets (e.g., R oman-8, ISO 88 59-1 Latin 1); 1 otherwi se . 62 0 if font is comp atible with East Eur opean Latin character s[...]

  • Страница 220

    11-38 S oft Font Creatio n EN There ar e no inv alid C haracter Comp lement fie ld v alue s. Examples o f v alue s f or t he field inclu de: 26 0 if font is c ompatible with charact er sets requi ring a wider sel ection of accent s (e.g., MC T ext, ISO 8859/1 Latin 1 ); 1 otherwise. 25 0 if font is c ompatible with tradition al PCL charac ter sets [...]

  • Страница 221

    EN Font Head er Format 11 -39 Check sum The Checksum fi eld is ov er bytes 64 through the e nd of the header. The che c ksum should contain a value wh ich, when add ed to the s um of byte 64 thro ugh the rese rved byte, equals a value wh ich, when divided b y 2 56 (modulo 2 56 arith metic), re sults in a remainder of 0 . F or example, if the s um =[...]

  • Страница 222

    11-40 S oft Font Creatio n EN T able 11-30 bel o w shows th e struct ure of the Segm ented Font Data sect ion. Segment Id entifier (UI) Each entr y in the Seg mented Font Data Sect ion has it s own unique identifi cation numbe r . The following values are de fined: T able 11-30 Segmented Font Data B yt e 15 (M S B) 8 7 ( LS B ) 0 x + 0 Fi rst segme[...]

  • Страница 223

    EN Font Head er Format 11 -41 Data segm ents with an un recognized id entifier are i gnored. Segm ent Siz e (UI) F or e ach entr y in the Se gmented Font Data sec tion, the Seg ment Size indicate s the number of bytes in the imme diately f o llowing Data Segment. Th e size f or the Nul l Segment is 0. Formats of Data Segments AP (Application Suppor[...]

  • Страница 224

    11-42 S oft Font Creatio n EN The option al cvt, fpgm and prep tables, as defined in T rue T yp e F ont Files , typically a ppear in the Global T r ueT ype Data S egments o f hinted T rueT ype so ft f onts, but should no t appear in u nhinted fonts. IF (Intellifont F ace Da ta) Reser v ed for future us e . P A (P ANOSE Description) This data segm e[...]

  • Страница 225

    EN Font Hea der Examples 11 -43 Font Header Exam ples T wo e xam ples for downloading a Font Header are provided bel o w; one for a bitmap font and on e f or an Intellifont scalable font. Bitmap Example T o download a bitmap font header for a por trait HP Ro man-8, 10 pitch, 12 point, upr ight, mediu m, Couri er f ont, with an ID number of one, sen[...]

  • Страница 226

    11-44 S oft Font Creatio n EN Intellif ont Scalab le Exam ple T o download an Intellifont scalable head er f o r an HP Roman -8, upri ght, medium, C G Times scal ab le font, with an ID n umber of one, send: E C *c1D (set F ont I D to 1) E C )s#W (# = 80 bytes of font descr iptor dat a + x by te s of Globa l Intellifont data + x bytes of o ptional d[...]

  • Страница 227

    EN Font Hea der Examples 11 -45 T able 11 -33 FIELD NAME V ALUE DES CRIPTION Descr iptor Size 80 Bytes Header For mat 10 Scalable F ont Form at Font T ype 1 Eight B it Styl e MSB 0 Reser v ed 0 Baseli ne Location 5380 Y reference in Design Windo w Cell Wi dth 0 ..not defi ned f or Inte llifont Cell Hei ght 0 ..not defi ned for Intellifont Or ientat[...]

  • Страница 228

    11-46 S oft Font Creatio n EN Placem ent 0 . .not defined f or scal ab le fon t s Under line Po s i t i o n 0 ..not defi ned for scalable fon t s Under line Thic kness 0 ..not defi ned for scalable fon t s T ext Height 0 ..not defi ned for Intellifont T ext Width 439 1 Width of E n Space First code 33 Last Code 273 Compound Pieces Pre sent (n255) P[...]

  • Страница 229

    EN Font Hea der Examples 11 -47 ....Glob al Intellifont Data .... }= 11 2 b ytes added to header data ....Copyrigh t Statemen t (option al) .... }= x b ytes a dded to hea der data ....Ap plication Suppor t (option al) .... }= x b ytes a dded to hea der data T able 11-33 (continued)[...]

  • Страница 230

    11-48 S oft Font Creatio n EN Character Def initions F ollowing the f ont head er , the individual characters must be defined. Every P CL character de finition con tains a characte r descr iptor and a body of characte r data. The character defin ition alwa ys consi sts of one or mor e character data blocks. Each cha racter data block begins with it[...]

  • Страница 231

    EN Character C ode Command 11-49 Character Co de Command The Characte r Code co mmand est ablishes the dec imal co de that is associ ated with the n e x t character downloaded. T his value is used to ref er ence the characte r f or pr inting. E C * c # E # =cha racter code Default = 0 Range = 0 - 65535 Notes F or un bound f onts, the ch aracter cod[...]

  • Страница 232

    11-50 S oft Font Creatio n EN Character Def inition Comman d The Characte r Descri ptor and Data c ommand is used to download character data b locks to the pr inter f o r both bitmap and sc alable f onts. E C ( s # W [character descr iptor and data ] Default = N/A Range = 0 - 32767 The value field (#) identifies the number of bytes in the immed iat[...]

  • Страница 233

    EN Character Descriptor Form ats 11-51 Character Descripto r Formats Char acter de finiti on f ormats f or PCL B itmap , Inte llif ont Scal ab le and T r ueT ype Scalable f onts are shown on the f ollowing pa ges. Note The follo w ing notation i s used to de fine the data ty pe of each fi eld in the ch aracter descr iptors. Character Descriptor and[...]

  • Страница 234

    11-52 S oft Font Creatio n EN Format (UB) This is the first byte of ev er y characte r data bloc k he ader . I t specifies the format of the character descripto r and data. T he f or mat number used for bitmap fonts is 4. This forma t must match that of the Font Header . If the format number is different from that expected by the device, the charac[...]

  • Страница 235

    EN Character Descriptor Form ats 11-53 Continuation (B) This is the second (an d last) byte of ev er y character d ata bloc k header . It sp ecifies whe ther the following data is th e first (0) d ata bloc k of a ne w cha racter defini tion, or a cont inuation (1) block f or a character d efinition whi ch has alread y been rec eiv ed b y the pr int[...]

  • Страница 236

    11-54 S oft Font Creatio n EN Class 1 - Bi tmap Data Class 1 or bitmap (raster ) character da ta is a str ing of bytes containi ng the dot-pe r-bit image of the character, no data compres sion. If a bit i s set to o ne , t he correspon ding dot is p rinted. The data i s gr o uped in dot rows. A row describes a one-dot-high strip of the character fr[...]

  • Страница 237

    EN Character Descriptor Form ats 11-55 Figure 11- 5 Clas s 2 Charact er Data[...]

  • Страница 238

    11-56 S oft Font Creatio n EN Orientation (UB) Or ientation byte speci fies the or ientat ion of the cha racter . T he ori entation of the character mus t match the or ientatio n of the font. If the or ientation i s not suppo r ted or is di ff erent fr om the or ientation specifi ed in the font heade r , the c haracter is d iscarded. Left Offset (S[...]

  • Страница 239

    EN Character Descriptor Form ats 11-57 Char acter Width (UI) The Characte r Width, used for bitm ap f onts only , iden tifies the wi dth of the cha r act er in dots on the physical coordina te system. Gen erally , this widt h is from the far thest le ft blac k dot to the f ar the st right black dot. Cha racter width is orienta tion depen dent. The [...]

  • Страница 240

    11-58 S oft Font Creatio n EN Figure 11-6 Portrait Characte r Example[...]

  • Страница 241

    EN Character Descriptor Form ats 11-59 Figure 11- 7 L andscape Charact er Example[...]

  • Страница 242

    11-60 S oft Font Creatio n EN Character Descriptor and Data Format f or Intellifont Scalab le Fonts The character hea der contains a b lock of bytes that identi fy character outline d ata. T able 11-40 and T able 11-41 sh ow the f or mat of th e Intellifont scal able character d escriptor and data . T able 11 -40 Intellifont Scalable Charac ter Des[...]

  • Страница 243

    EN Character Descriptor Form ats 11-61 Contour T ree Data M XY Coor dinate Data M T able 11 -42 Intellifont Scalable Charac ter Descriptors/Data Continuation Bloc k B yt e 15 (M S B) 8 7 ( LS B ) 0 0 Format (10) Continuation ( 1) 1 1. Continuation is suppor ted f or Intellif ont scalabl e fonts f or class 3 only . 2 Contou r Character Data, resumed[...]

  • Страница 244

    11-62 S oft Font Creatio n EN Format (UB) This is the first byte of ev er y characte r data bloc k he ader . I t specifies the format of the character descripto r and data. T he f or mat number f or Inte llif ont scal able f o nts is 10. If the format number is different from that expected by the device, the character i s discarded . Continuation ([...]

  • Страница 245

    EN Character Descriptor Form ats 11-63 Class 3 -Intellifont Scalab le Character Contour Data Class 3 is for Intellifont scalable co ntour character data. The c ontour character d ata is organ ized as descr ibed i n T able 11-41. B ytes 0-3 conta in the character descr iptor . Class 4 - Intellif ont Scalable Compound Character Data A clas s 4 charac[...]

  • Страница 246

    11-64 S oft Font Creatio n EN Character Intell ifont Data Offset (SI) The offset to the Character Inte llifont Data relative to th e address of the Contour Data Size field. Contour T r ee Offset (SI) The offset to the contour T ree Data rel ativ e to t he address of t he Contour Da ta Size field. XY Data Offset (SI) The offset to the XY da ta relat[...]

  • Страница 247

    EN Character Descriptor Form ats 11-65 Compound Character Es capement (SI) The escap ement in des ign units of a c ompound characte r . Number of Components (UB) The number of componen ts of a co mpound ch aracter . Component List This is a list of co mponent desc ription s . Th e list contain s Number of Components elements. Eac h component d escr[...]

  • Страница 248

    11-66 S oft Font Creatio n EN T able 11 -47 T ru eT ype Cha racter Descr iptor (no co ntinuation bloc k required) B yt e 15 (M S B) 8 7 ( L SB ) 0 0 Format (15) Con tinuation (0) 2 Des criptor Siz e Class (15) 4 [addi tional de scriptor data may be inser t ed here] 2 + Desc Siz e Character Da ta Size 4 + Desc Siz e Glyph ID 6 + Desc Siz e T rue T y[...]

  • Страница 249

    EN Character Descriptor Form ats 11-67 Format (UB) This is the first byte of ev er y characte r data bloc k he ader . I t specifies the format f or character downloa ding. The numb er 15 desig nates the T r ueT ype character forma t. 6 + Desc Siz e beginni ng of T rue T ype Glyph Data M T able 11 -49 T rueT ype Charac ter Descrip tor (multiple char[...]

  • Страница 250

    11-68 S oft Font Creatio n EN Continuation (B) This is the second (an d last) byte of ev er y character d ata bloc k header . It sp ecifies whe ther the following data is th e first (0) d ata bloc k of a ne w cha racter defini tion, or a cont inuation (1) block f or a character d efinition whi ch has alread y been rec eiv ed b y the pr inter . Beca[...]

  • Страница 251

    EN Character Descriptor Form ats 11-69 Char acter Dat a Size (UI) The value of the Ch aracter Data Size shou ld equal t he sum of the sizes of the Character Data Size , Glyp h ID , and T ru eT ype Glyp h Data fields. This value ale r ts the PCL inter pret er when a continuati on bl ock is neede d. The mini mum possible value is 4 . The value of Cha[...]

  • Страница 252

    11-70 S oft Font Creatio n EN Character Def inition Example s Bitma p P ortrait Charac ter Exampl e T o download a bitmap characte r descripto r and dat a f or a por trait, 10 Pitch , 12 point, upright medium, Cour ier lower-case “ p”, send: E C *c112E (1 12 is the dec imal character code for an ASCII lo wer-case “p”) E C (s140W [character [...]

  • Страница 253

    EN Char acte r Def initi on Exam ples 11-71 T able 11 -53 P or trait Cha racter Data E xample Dot Row Bit Map Decimal Equivalent 01 000000 00 0000111 1 11000000 00000000 0 15 192 0 02 111111 00 0111111 1 11111000 00000000 252 127 249 0 03 111111 00 1111111 1 11111100 00000000 252 255 252 0 04 111111 01 1111000 0 00111110 00000000 253 240 62 0 05 00[...]

  • Страница 254

    11-72 S oft Font Creatio n EN Bitmap Landsca pe Character Example T o download the character de scrip tor and data for a lands cape, 10 pitch, 12 point, u pright, med ium, Cour ier lower-case “p” , send: E C *c112E (1 12 is the dec imal character code for an ASCII lo wer-case “p”) E C (s120W [character des criptor and d ata] 25 000111 00 00[...]

  • Страница 255

    EN Char acte r Def initi on Exam ples 11-73 T able 11 -55 Landsca pe Character Data Example Dot Row Bit Map Decimal Equivalent 01 00000000 01111110 0000 0000 00000 000 0 126 0 0 02 00000011 11111111 1100 0000 00000 000 3 255 192 0 03 00001111 11111111 1111 0000 00000 000 15 255 240 0 04 00011111 10000001 1111 1000 00000 000 31 129 248 0 05 00111110[...]

  • Страница 256

    11-74 S oft Font Creatio n EN 25 01 110000 000 00000 00000000 00001110 112 0 0 14 26 01 110000 000 00000 00000000 00001110 112 0 0 14 T able 11 -55 Landsca pe Character Data Example ( continued)[...]

  • Страница 257

    EN Introduc tion 12-1 12 Macros Introduction A Macro is a group of PCL and H”P-GL/2 c ommands and /or data created b y the us er that is do wnloa ded and st ored in the p rinter . Once st ored in th e print er , a macro can be inv oked upon request (using the assigned macro ID number ), using a si ngle command . When pr intin g letters, for e xam[...]

  • Страница 258

    12-2 Macros EN Hewlett-P ackard provides a se rv ice to assist you by de veloping these cust om products. For informa tion contac t: Hewlett-P ackard Boise P rin ter Divisi on Attention : Produc t Specials 11311 C hinden Blv d. Boise, ID 837 14 (208) 323- 3684[...]

  • Страница 259

    EN Macro Crea tion 12-3 Macr o Creation Designate a unique ide ntification (ID) number pr ior to the definition of a macro using th e Macro ID com mand. This numb er is assigned to the macr o . If a macro is already assoc iated with thi s ID number , the previously existing macro is deleted from user m emor y during the definiti on of the new macro[...]

  • Страница 260

    12-4 Macros EN Macros oc cup y a p or tion of use r memor y . The numbe r of macros that can b e stored simu ltaneously in user me mory is limit ed only by the amount of available user me mor y . Macr o In v ocation There ar e three ways to inv oke a macro: execute, cal l, and overlay, using the Macro C ontrol command . When a macr o is executed, i[...]

  • Страница 261

    EN Temp orary / Perman ent Mac ros 12-5 The overlay en vi ronment consi sts of the cu rrent setting s f or th e f oll o win g f eatures with the rema inder of the environmental f eatures set to thei r user de f a ult values: Refer to Chapter 3 f o r descri ptions of environm ents. Note The curr ent active position (CAP , or c ursor posit ion) is no[...]

  • Страница 262

    12-6 Macros EN Deleting Macros There ar e se veral mechanis ms provided by PCL macro contro l f or explicit deleti on of macros f rom user memo ry . These include commands to delete all macros, all tem porar y macros, or an indivi dual macro b y reference to i ts macro ID number , u sing the Macro Co ntrol command describe d later in th is chapter [...]

  • Страница 263

    EN Macro Cont rol 12- 7 Macr o Contr ol The mac ro control comm and provides mechanisms for defin ition, in v ocati on, an d dele tion of macr os. E C & f # X Notes A macr o ma y call or e xecute anothe r macro , wh ich in tur n may call or ex ecute another m acro; two lev els of “nes ting” are all ow ed. Other th an call and ex ecute, no m[...]

  • Страница 264

    12-8 Macros EN ROM-Based Macros Macros can be supplie d in ROM (read only memor y), such as custom macro car tri dges or on SIMM modules. T he f oll owing considerat ions apply to all ROM-based macros. z ROM-based m acros include t he macro ID num bers f or their macros. Thes e numbers ca nnot be chang ed. It is pos sib le for a downloaded m acro t[...]

  • Страница 265

    EN Macro C ontrol Exa mple 12-9 T o enable the macro with a n ID of 7 f or automatic overlay , se nd: E C &f7y4X T o dele te the macro with an ID of 7, s end: E C &f7y8X Macr o Control Example The following illu strates the def inition of a l etterhea d macro . T able 12 -4 E C &f1Y Specify the Macro ID as one. E C &f0X Star t Ma cr[...]

  • Страница 266

    12-10 M acros EN This ma cro no w can b e exe cuted , called, or enabled f o r auto matic overlay . F red, T exas 83707 T ext E C &a540h960V P os ition first r ule at (540 , 960) decipoin ts . E C *c10v4680H Set rule height and wi dth. E C *c0P Pri nt the first r ule. E C &a540h980V P o sition se cond ru le at (540 , 980) decipoin t s. E C [...]

  • Страница 267

    EN Introduc tion 13-1 13 The PCL Pr int Model Introduction The Pr int Model feature al lo ws i mages and c haracters to be filled wi th any of the pr inter’ s pr edefined sha ding or cr oss-hatch patter ns, or with a user-defined patter n. Images in clude any raster graphic, such as one crea ted with P CL raster graphics comm ands (as desc ribed [...]

  • Страница 268

    13-2 The PCL Prin t Model EN Pa t t e r n The desig n which is “pa inted” through the blac k (“1 ” bits) area of the sour ce image ont o the desti nation im age . F or patter ns, the Pr int Model us es one of the p rinter ’ s in terna l predefined ei ght shadi ng patter ns (se e Figure 1 3-4) or one of the six cross-hatch p atter ns (see [...]

  • Страница 269

    EN Introduc tion 13-3 P atter n T rans parency Mode The transpar ency or o paqueness o f the white p ix e ls in the patter n. When set to 0 (transpa rent), these pi x els have no eff ect on the destination ; when set t o 1 (opaque), th e y are applied thro ugh the blac k pixels of th e source patter n to t he destinatio n. Figure 1 3-2 Opaque and T[...]

  • Страница 270

    13-4 The PCL Prin t Model EN Figure 1 3-3 Effect of T ranspa rency Modes on Images[...]

  • Страница 271

    EN Command S equence 13-5 Command Sequen ce The following illustration shows the Print Model Command Sequence f or se lecting a current patte rn and using it to fill a desti nation image. T able 13 -1 Operation Comments • • Download P age Da ta P rior raste r and character data downloaded to the page i s consider ed destinati on image. • • [...]

  • Страница 272

    13-6 The PCL Prin t Model EN Source T ransp arency Mode Command The Sel ect Source T ranspar ency Mode c ommand se ts the sour ce image’ s transpa rency mode to transparent or opaque. E C * v # N # =0 - T ransparent 1 - Opaque Default = 0 Range = 0, 1 (other v alues cause the comm and to be igno red) With a tran sparency mod e of “0” (trans p[...]

  • Страница 273

    EN Patter n Transpare ncy Mode Com mand 13- 7 P attern T ransparency Mode Comm and The Pattern T ranspare ncy Mode co mmand se ts the patter n’ s transparenc y mode to transpa rent or opaq ue. E C * v # O # =0 - T ransparent 1 - Opaque Default = 0 Range = 0, 1 (other v alues cause the comm and to be igno red) A transparen cy mode of “0” (tran[...]

  • Страница 274

    13-8 The PCL Prin t Model EN P attern ID (Area Fill ID) Command The Pattern ID c ommand (for merly called Area F ill ID) iden tifies the specifi c shading, cross -hatch, or user-d efined patter n. (This command is also us ed f or rec tangular are a fill. Refer to Chapter 14, PCL Recta ngular Are a Fill Graphics. ) E C * c # G # =ID numbe r of user-[...]

  • Страница 275

    EN Pattern ID ( Area Fill ID) Com mand 13-9 Notes This com mand is u sed f or bo th the Select P atter n and Ar ea Fill graphics (it is also des cribed i n Chapter 14, PCL Rectangul ar Area Fill G raphics ). It i s duplicat ed here for conv enie nce. F or us er-d efined patt er ns , t his co mmand, sent prior to do wnlo ading a user- defined patte [...]

  • Страница 276

    13-10 The PCL Print M odel EN Figure 13-4 Shading Patt erns[...]

  • Страница 277

    EN Pattern ID ( Area Fill ID) Comm and 13-11 Figure 13-5 Cross-Hatch P atterns[...]

  • Страница 278

    13-12 The PCL Print M odel EN Select Current Pattern Comma nd The Selec t Current P att ern com mand identifi es the type o f patter n to be applie d onto the d estination. E C * v # T # =0 - Solid bl ack (def ault) 1 - Sol id white 2 - Shad ing patter n 3 - Cross-h atch patter n 4 - User-def ined patter n Default = 0 Range = 0 - 4 (values o utside[...]

  • Страница 279

    EN User-Defi ned Pattern Graphics 13 -13 User -Defined P attern Graphics In additio n to the eig ht shadin g patter ns and si x cross-ha tch patter ns, users can design their own patte rns (area fill). These us er-defined patterns are downloade d to the pr inter an d controlled u sing three new commands: z User-Defin ed P atte rn E C *c#W [data] z [...]

  • Страница 280

    13-14 The PCL Print M odel EN Figure 13-7 Pattern La y out Across the Printabl e Area P attern Reference P oint The patte rn r ef erence p oint is a po sition on the logical pa ge at which the base p atter n is positione d f or ti ling. The upper left cor ner of t he base patte rn i s positioned at this point (s ee ). The default pat tern ref er en[...]

  • Страница 281

    EN User-Defi ned Pattern Graphics 13 -15 Figure 13-8 Moving P attern R eference P oint for P attern Filling[...]

  • Страница 282

    13-16 The PCL Print M odel EN User -Defined P attern Com mand The Use r-Defined Pattern command p rovides the me ans f or downloading th e binar y patter n data t hat defines th e user patter n. E C * c # W [patter n data] # =Numb er of patter n data bytes Default = 0 Range = 0 - 32767 (va lues outside t he range are ignored) The value field (# ) i[...]

  • Страница 283

    EN User-Defi ned Pattern Command 13 -17 Notes The Mas ter X and Ma ster Y Reso lution fi elds can be used to spec ify 600 dpi r esolution for a patter n o riginally designed a t 300 dpi. Howe ver , a patte rn whi ch was designed at 600 dpi is n ot av a ilable f or se lection at 30 0 dpi resoluti on. P atter ns are i dentified by some value (ID numb[...]

  • Страница 284

    13-18 The PCL Print M odel EN Reserved (Byte 3) This fiel d, byte 3, is not cur rently used a nd must be set to 0. Height in Pixel s (Bytes 4 and 5) This fiel d, bytes 4 and 5, ident ifies the numbe r of rows (height) o f the patter n. Width in Pixel s (Bytes 6 and 7) This fiel d, bytes 6 and 7, i dentifies the n umbe r of pixels (width) of the pat[...]

  • Страница 285

    EN User-Defi ned Pattern Command 13 -19 User -defined P attern Example This example sh ows how the user- defined p attern command is used to creat e a user-defin ed patter ns. F or th is e xampl e , a patter n of tria ngles is u sed. The first s tep is to des ign the ba se patter n trian gle (in this c ase, using 64 bytes of da ta). The base pa tte[...]

  • Страница 286

    13-20 The PCL Print M odel EN When usi ng the 300 dpi User-Defi ned P atter n header (see T able 13-3). Set the eight bytes of header infor mation to the following va lu e s : Byte 0 - F or mat = 0 (00 hex) Byte 1 - Continuation = 0 ( 00 hex) Byte 2 - Pix el E ncoding = 1 (01 hex) Byte 3 - Reser v ed = 0 (00 hex) Byte 4/5 - Height in P ix els = 0 /[...]

  • Страница 287

    EN User-Defi ned Pattern Command 13 -21 3 Send the p atter n header a nd binar y data: Notes There mu st be an ev en numb er of bytes in user-def ined patte rn d ata, hence the trailing zeros ( “padding”) i n the last eight data rows above . The use r-defined patte r n do w nloaded in the prev iou s e xample is pri nted within a r ectangular ar[...]

  • Страница 288

    13-22 The PCL Print M odel EN Set P attern Reference P oint Comm and The Set P atte rn Re f erence P oint command causes the prin ter to tile patter ns with res pect to the cur rent cursor po sition. This comma nd also spec ifies whether the patter n rotate s with the pr int direc tion or remain s fix ed. E C * p # R # =0 - Rotate patter ns with pr[...]

  • Страница 289

    EN Patter n Control Comm and 13-23 P attern Control Command The Pattern Con trol comma nd provides a mean s f or m anipulating user-defi ned patter ns. E C * c # Q # =0 - Delete all pa tterns ( temporar y & per manen t) 1 - Delet e all temporar y pa ttern s 2 - Delet e patter n (last ID # specified) 3 - Rese rved 4 - Make patter n tempora ry (l[...]

  • Страница 290

    13-24 The PCL Print M odel EN[...]

  • Страница 291

    EN Introduc tion 14-1 14 PCL Rectangular Area Fill Gr aphics Introduction The PCL language inc ludes comm ands for filling or sha ding rectang ular areas on the page wi th pre-defined patter ns, and allows creati on and use of user-defined patter ns . Pre-defined patter ns in clude eight shading patte rn s and six cr oss-hatch patter ns. Note User-[...]

  • Страница 292

    14-2 PCL Rectangu lar Area Fi ll Graphics EN 3 Specify width of recta ngle (Hor izontal Rectangle Size Command - Decipoints = E C *c #H , or PCL Units= E C *c#A ). 4 Specify height of rectangle (V er t ical Rectan gle Size Comman d - Decipoints = E C *c #V , or PC L Units= E C *c#B ). 5 Sele ct spec ific sh ade, cross-h atch, or user -defi ned pat [...]

  • Страница 293

    EN Horizo ntal Rectangl e Size (Decipoi nts) Comman d 14 -3 Horizontal Rectangl e Size (Decipoints) Command This Ho rizontal Rect angle Si z e com mand speci fies the rec tangle widt h in deci poin ts. E C * c # H # =Numb er of dec ipoints (1 /720 inch ) Default = 0 Range = 0 - 32767 (va lid to 4 decima l places) The pr inter conver ts the spe cifi[...]

  • Страница 294

    14-4 PCL Rectangu lar Area Fi ll Graphics EN V er tical Rectan gle Size (Decipoints) Comm and This V er t ical Rectan gle Size comma nd speci fies the rec tangle he ight in deci points. E C * c # V # =Numb er of dec ipoints (1 /720 inch ) Default = 0 Range = 0 - 32767 val id to 4 decim al place s The pr inter conver ts the spe cified width to print[...]

  • Страница 295

    EN Pattern ID ( Area Fill ID) Com mand 14-5 P attern ID (Area Fill ID) Command The Pattern ID c ommand (for merly called Area F ill ID) iden tifies the specifi c shading, cross-hatc h, or user-d efined patter n (s ee Figure 14-2) to be used when filling a rec tangular area. E C * c # G Default = 0 (no pattern) Range = 0 - 32767 (va lues outside t h[...]

  • Страница 296

    14-6 PCL Rectangu lar Area Fi ll Graphics EN There ar e six HP def ined cross- hatch pat terns. T o s pecify a c ross- hatch patt er n type, use a value between 1 a nd 6 to select a patt er n as shown in Fi gure 14-2. F or us er-d efined patt er ns , t his co mmand, sent prior to do wnlo ading a user- defined patte rn, as signs an ID patter n numbe[...]

  • Страница 297

    EN Pattern ID ( Area Fill ID) Com mand 14-7 Figure 14-1 Shading Patt erns[...]

  • Страница 298

    14-8 PCL Rectangu lar Area Fi ll Graphics EN Figure 14-2 Cross-hatc h Patterns[...]

  • Страница 299

    EN Fill Rec tangular Area Command 14-9 Fill Rectangu lar Area Command This com mand fill s (pr ints) a recta ngular are a of the sp ecified widt h and heigh t with the spec ified area fill. E C * c # P # =0 - Black fill (ru le) 1 - Erase (w hite) fill 2 - Shad ed fill 3 - Cross -hatch fill 4 - User- defined patter n fil l 5 - Curren t patter n fill[...]

  • Страница 300

    14-10 P CL Rectang ular Area Fill Graph ics EN The uppe r left cor ner of the rect angular area i s located a t the cursor posi tion when pr inting a r ectangular ar ea. After pr inting the rectang ular area t he cursor is r eturn ed to the up per left cor ner ; the cursor p osition does not change positions a s a result of p rinting a rectang ular[...]

  • Страница 301

    EN Pattern T ransparenc y for Recta ngular Ar ea Fill 14-1 1 P att ern T ransparency f or Rectangular Area Fill P atter n transparen cy , describe d in Chapter 13, under “Pattern T ranspare ncy Mode Com mand, ” affects how a patter n is applied to the rec tangular fill area. Rectan gular area s are specia l case images for transpar ency mode. T[...]

  • Страница 302

    14-12 P CL Rectang ular Area Fill Graph ics EN Figure 14-3 Effect of T ransparency Modes on Rectangular Areas[...]

  • Страница 303

    EN Rect angular Area Fill Exa mples 14-13 Rectangular Area F ill Examples This sec tion shows example usage of area fill commands t o print pre -defi ned pa tterns as well as us er-def ined patt er ns . Pre-defined P attern Examples Solid Fill (Blac k/White) T o pr int a 900 by 1500 Unit black rule (3 inches by 5 inc hes at 300 units-per -inch), th[...]

  • Страница 304

    14-14 P CL Rectang ular Area Fill Graph ics EN 6 6. Speci fy the width an d height for the smal ler white fi ll rectang ular area: E C *c300a 600B 7 7. Selec t the white fil l and print . E C *c1P Figure 14-4 Solid Fill Example Shaded Fill T o pri nt a 900 by 1500 Uni t 25% shaded rec tangle (3 inc hes by 5 inch es at 300 unit s-per-inc h), perform[...]

  • Страница 305

    EN Rect angular Area Fill Exa mples 14-15 3 Specify the height of the recta ngle: E C *c1500 B This sets the rectan gle to 1500 PC L Units (5 i nches at 300 units-per -inch). 4 Specify the P atter n ID: E C *c25G This sets th e P a ttern ID to 25. 1 Pri nt the recta ngular shaded area: E C *c2P This example pr ints the f o llowing: Figure 14-5 Shad[...]

  • Страница 306

    14-16 P CL Rectang ular Area Fill Graph ics EN Cross-hatch Fil l T o pr int a 900 by 1500 Unit rectan gular area ( 3 inches by 5 in ches at 300 u nits-per-inc h), filled w ith a hor izontal cross-ha tch patter n, perform t he f ollowing steps: 1. P osition the cursor : E C *p300x 400Y Mov es the cursor to P CL Unit positi on (300,400) wi thin the P[...]

  • Страница 307

    EN Rect angular Area Fill Exa mples 14-17 This example pr ints the f o llowing: Figure 14-6 Patterned F ill Example User -defined P attern Example This example sh ows how to print a user-defi ned patter n which h as already be en downloaded t o the printer. F or this e x ample we will print the patt ern o f triangl es which was downloade d in the e[...]

  • Страница 308

    14-18 P CL Rectang ular Area Fill Graph ics EN Sets the rectangle width and height both to 600 P CL Units (2 x 2 inches at 300 Units/ inch). 3 Specify the P atter n ID: E C *c3G Sets the P att ern ID to 3. 4 Pri nt the user- defined p atter n-filled ar ea: E C *c5P This example pr ints as s ho wn in Figure 14-7. Figure 14-7 User -Defined Patt ern F[...]

  • Страница 309

    EN Introduc tion 15-1 15 Raster Gr aphics Introduction A raster image is an image co mposed of dots. Pictures i n newspapers or on tele vis ion screens ( also , a page pr inted by this pr inter) are example s of raster imag es . The P CL langua ge include s comman ds f or pr inting raste r graphic imag es . Th ese comm ands enable the Las erJet pr [...]

  • Страница 310

    15-2 Raster Graphic s EN sev eral binar y d ata compres sion method s , a nd additional reduction techniqu es associ ated with the r aster area feature (see F igure 15-2) . Figu re 15 -2 Ra ster A rea Data comp ression me thods incl ude: run-l ength enco ding, tagged image file f or mat (TIFF), del ta row , and adaptive compre ssion. These techniqu[...]

  • Страница 311

    EN Introduc tion 15-3 The fina l data reduc tion techni que provided by the raste r area inv olves the pr inter’s ability t o fill in traili ng zeros to the e dge of the raster area . Any zeros following the last “ 1“ in the raster row to the edge of the picture ar ea need no t be sent. Th e printe r automaticall y fills th em. This tech niqu[...]

  • Страница 312

    15-4 Raster Graphic s EN Raster Graphics Comm and Sequence PCL raster c ommands in clude: S tar t Raster Graph ics and E nd Raster Graphics com mands, T ransf er Ras ter Data by Row , Ra ster Compres sion, Rast er Presenta tion, Raster Resoluti on, Raster Height and Raster Width (whic h define the raster area), and Ra ster Y Offs et comm ands. The [...]

  • Страница 313

    EN Raster Gr aphics Com mand Sequenc e 15 -5 Raster Pr esentation, Ra ster Resoluti on, Raster He ight, Raster Width, and Raster Compress ion are all tr ue mo des. Once specif ied, the pri nter remain s in that mode unle ss e xpli citly cha nged by issuing the comma nd again, or reset to default values by a soft re set, self test, font printo ut, o[...]

  • Страница 314

    15-6 Raster Graphic s EN Raster Graphics R esolution Command Raster gr aphic s can be printed at various r esolutions. Thi s comm and designat es the reso lution of sub sequent raste r data transfers in dots-pe r inch. E C * t # R # = 75 - 75 dots-per -inch 100 - 100 dots-per-i nch 150 - 150 dots-per-i nch 200 - 200 dots-per-i nch 1 300 - 300 dots-[...]

  • Страница 315

    EN Raster Graphics Re solution Command 15-7 Figure 15-3 Raster Graphics Expansion - at 300 dpi Note Rectangul ar area fill s and cha racter data ar e not affected by chang es in res olution. Rec tangular A rea fills a nd character data always pr int at the maxi mum resolutio n, regardl ess of the res olution setti ng. When con figured f o r 600 dpi[...]

  • Страница 316

    15-8 Raster Graphic s EN Raster Graphics Presentation Mode Command The Raste r Graphics Prese ntation comman d specifies the orient ation of the raste r image on th e logica l page. E C * r # F # =0 - Raster image p rints i n orien tation of logi cal page 3 - Raster image pr ints along the widt h of the ph ys ical page Default = 3 Range = 0, 3 A va[...]

  • Страница 317

    EN Raster Gr aphics Pres entation Mode Command 15-9 Figure 15-5 Raster Graphics Presentation Mode f or P ortrait Orientation 3 lan dscape 50 dots in fr om the logic al page top bou nd 3 re verse land scape 50 dots in from the log ical page top bou nd T able 15-2 (continued)[...]

  • Страница 318

    15-10 Ra ster Graphi cs EN Figure 15-6 Raster Graphics Presentation Mode f or Landscape Orientation[...]

  • Страница 319

    EN Raster Height Command 15-11 Raster Height Command The Rast er Height com mand specifi es the height i n raster rows of the raster area . Height is th e directio n per pendicular to the dire ction that raster rows are lai d down, hence, height i s subject to th e current raster presen tation mode an d print d irection (see Figure 15-7) . E C * r [...]

  • Страница 320

    15-12 Ra ster Graphi cs EN Upon rec eiving an End Raster Graphic s ( E C *rC ) comman d, the cursor p osition is set to the l eft graphics marg in of the next raster row after the raster height boundar y . Figure 15- 7 Ma xim um R aster Height[...]

  • Страница 321

    EN Raster Wi dth Command 15-13 Raster Width Command The Rast er Width com mand speci fies the width i n pix els of th e raster area. Wi dth is in th e direction that the raster r o ws ar e laid down, hence, wid th is subje ct to the cur rent raster pr esentation m ode and pri nt direction ( see Figure 1 5-8). E C * r # S # =Wi dth in pixels of the [...]

  • Страница 322

    15-14 Ra ster Graphi cs EN Figure 15- 8 Ma xim um R aster Width Star t Raster Graphics Command The Star t Raster Grap hics command identifie s the beginning of the raster data a nd also spe cifies t he left graphics ma rgin. E C * r # A # =0- Star t graphics a t def ault left graphics m argin X-posi tion 0). 1 - Star t gr aphic s at current cursor [...]

  • Страница 323

    EN Raster Y Offset Comm and 15-15 Once i n Raster Graphics Mode, PCL com mands and text impl y an End Ra ster Graphics ( E C *rC ) except for the following co mmands: z T ransfer Raster Data z Set Raste r Compress ion Method z Raster Y O ffset In additio n, the following comma nds are ignor ed (i.e., lock ed ou t) while in Raster Graphic s Mode an [...]

  • Страница 324

    15-16 Ra ster Graphi cs EN Set Compression Method Comman d The Set Compression M ethod com mand allows you to co de raster data in on e of f our compress ed f or mats: Ru n-length encod ing, tagged im aged file f or mat ( TIFF) rev . 4.0, delta row com pression, and ada ptiv e co mpression. T he choice of compres sion methods affects both the am ou[...]

  • Страница 325

    EN Set Compr ession Met hod Command 15 -17 T agged Imag e File Fo rmat En coding (Method 2) T agged i mage file f or mat encoding inter prets ras ter data as TIF F “P ackbits. ” This for mat combine s f eatur es of method s 0 and 1. A control byte precede s the raster d ata (patter n bytes). Th e control byte identifie s whether the pat tern by[...]

  • Страница 326

    15-18 Ra ster Graphi cs EN The range of numbers for the contr ol b yte is shown bel o w . Note Another meth od to calculate the number needed in the con trol byte f or so me number of re petitions i s to subtract the number of desi red repetiti ons from 256. For example, the control v alue for 3 repeti tions (4 occur rences) of a b yte is 256 minus[...]

  • Страница 327

    EN Set Compr ession Met hod Command 15 -19 TIFF enc oding also allows you to include a non-operative (NOP ) control by te, repr esented by the value –128. T his byte is ignor ed, and the su bsequent b yte is tr eated as the n e w con trol byte . Note It is more e fficient to c ode two consec utiv e id entical bytes as a repeated b yte. If the se [...]

  • Страница 328

    15-20 Ra ster Graphi cs EN TIFF Encoding E C *r1A E C *b2m6W (-3)U(0)A(-1)T o r E C *b2m6W(-3)U(2) A T T E C *rC In the TIF F encoding example abov e, parentheti cal e xpr essions are u sed to id entify contr ol bytes. F or example, the byte (-3) is shown to repr esent the con trol byte f or a repetition (m inus v alue ) of 3. The actual value for [...]

  • Страница 329

    EN Set Compr ession Met hod Command 15 -21 If more th an eight replac ement (delt a) bytes are needed , addition al comm and b yte/ replace ment bytes may be added , as shown below: E C *3m#W [(Comm and Byte)(1 to 8 Replaceme nt Bytes)][( Command Byt e)(1 to 8 Replac ement Bytes) ]. . . In the com mand byte, the upper thre e bits identi fy the numb[...]

  • Страница 330

    15-22 Ra ster Graphi cs EN As menti oned, the offs et is contained in the lower five bits of the command byte allows f or offset values from 0 to 31. Compression mode all ows offsets larger th an 31 bytes as follows: z An offset v alue of 0-30 indic ates that the repl acement bytes are offset fr om the 1st byte to the 31 st byte . z A value of 31 i[...]

  • Страница 331

    EN Set Compr ession Met hod Command 15 -23 Repeating a Row E C *b0W When usi ng the del ta compression method, it is possible to rep eat or copy the previous raster row usi ng the Raster Data T ransfer command. This is accomplished b y sett ing the Ras ter Data T ransfer comm and, v alue field, to z ero. Printing A Zeroed Row (Setting the S eed Ro [...]

  • Страница 332

    15-24 Ra ster Graphi cs EN Example: Delta Row Compression The follo w ing e xampl e demonstrates how to c ompress the f ol lowing data usin g the delta row compressio n. (The bytes h ighlighted i n italic type indic ate those bytes ne eding replace ment — those bytes tha t are different from the pre vious row , th e seed row .) E C *r1A – The s[...]

  • Страница 333

    EN Set Compr ession Met hod Command 15 -25 Adaptive Compression (Method 5) Adaptive comp ression e nables the com bined use of any of the four previous compressi on methods (0 th rough 3), an d it includes the ability to prin t empty (all zeros) r ows or to duplica te rows. Adaptive comp ression i nter prets a raste r image as a b lock of ras ter d[...]

  • Страница 334

    15-26 Ra ster Graphi cs EN F or com mand byte values 0 - 3 , the two <# of bytes/r ows> b ytes specify the number of bytes ( ro w length) for the row . For command byte v alue s 4 and 5, thes e b ytes identify th e number of empty o r duplica te rows to prin t. The maximum value for these two bytes is 65,535; ho wev er , the im age is clippe [...]

  • Страница 335

    EN Set Compr ession Met hod Command 15 -27 Adaptive Compre ssion Operation Hints Note Some HP Las erJet pr inters per f o rm int er nal compress ion techni ques to suppor t full-page graphic s . Refer to Chapt er 1 of the PCL 5 Comp a rison Guid e fo r s p e c i f ic s . z The comp ression method s cannot be mix ed within one raster row . A raster [...]

  • Страница 336

    15-28 Ra ster Graphi cs EN z F or m ethod 3 - Si nce delta r o w comp ression r equires th at the seed r ow be av ailable whenever raster graphics m ode is ent ered, the se ed row is initial iz e d to zeros upon raster graphics m ode entr y ( E C *r#A). T he seed row is also initi alized upon re ceipt and completi on of each raster block. z F or me[...]

  • Страница 337

    EN Transfer Raster Data Command 15-2 9 T ransfer Raster Data Command The T ransfer Raste r Data comman d is used to transfer a row of raster data to the prin ter . E C * b # W [ raster data ] Default = N/A Range = 0 - 32767 The value field (#) identifies the number of bytes i n the raster row . These bytes are i nter preted as o ne row of raster gr[...]

  • Страница 338

    15-30 Ra ster Graphi cs EN Notes If the last byte indicated b y the value field in the T ransf er Raste r Data comm and is a con trol byte, that byte is ignored. If a T ransfer Raster Da ta command is r eceiv ed wi thout an accompa nying Star t Ra ster Graphics command, any p receding s tar t raster values are u sed (such as left graphic s margin, [...]

  • Страница 339

    EN Raster Gr aphics Ex ample 15-3 1 Raster Graphics Example T o transfer an unenc oded raster g raphic image (see F igure 15-11) in the shape of an arrow , p erf or m the following steps: T able 15 -10 1. P ositio n the cursor : E C *p300x40 0 Y This moves the c ursor to PC L Unit posit ion (300, 40 0) within the PC L coordina te system . 2. Sp eci[...]

  • Страница 340

    15-32 Ra ster Graphi cs EN The brackets and commas are not par t of the raster data command; they are used on ly to deline ate the data . 6 0000 0000 0000 0000 11111100 00000 000 E C *b4W[ 0, 0,252, 0] 7 0000 0000 0000 0000 11111110 00000 000 E C *b4W[ 0, 0,254, 0] 8 0000 0000 0000 0000 11111111 00000 000 E C *b4W[ 0, 0,255, 0] 9 0000 0000 0000 000[...]

  • Страница 341

    EN Raster Gr aphics Ex ample 15-3 3 Figure 15-11 Example of Raster Graphic Image D ata[...]

  • Страница 342

    15-34 Ra ster Graphi cs EN[...]

  • Страница 343

    EN Introduc tion 16-1 16 Status Readbac k Introduction This cha pter descr ibes the PCL status r eadback f eatur es. PCL statu s is requested fr om the pr inter with the c ommands descr ibed in th is chapter . Following a sta tus reques t, the pri nter generates a status respons e. This response c onsists of AS CII data whic h is sent dire ctly fro[...]

  • Страница 344

    16-2 Status Readbac k EN z Flush Al l P ages Comma nd z Echo Com mand z Status Re adback Programming Hin ts F or stat us readback to wor k, the host s ystem must con tain a bi-direc tional dr iv er to receive status res ponse dat a. In network operations, some prin ting environments do not sup por t bi-direc tional communica tion, such as many pri [...]

  • Страница 345

    EN Introduc tion 16-3 Entit y Statu s It is possi ble to request statu s f or th e print er’ s enti ties. An entity is a f ont, symbol set , macro , o r user-defin ed patter n stored in the pr inter . Each individual entity req uest is lim ited to one s pecific ent ity , and is fur ther li mited to a sp ecific location . T o reques t entity statu[...]

  • Страница 346

    16-4 Status Readbac k EN A basic entity stat us request is shown in t he e xample below . This ex ampl e identifies a status requ est f or downloaded per manent fonts. The example also includes a status read back response at th e bottom. Note that this ex a mple shows only on e possible req uest/response ; f or more deta iled informa tion, refer to[...]

  • Страница 347

    EN Introduc tion 16-5 Status Response When the p rin ter receives a status request (co mmand), it pr ocesses that requ est and for ms the respons e data. Thi s data is the n stored in an I/O st atus buff er . The r esponse is saved in this buff er until it is either rea d (by any user) or the prin ter is tur ned off. In addition to clearin g the st[...]

  • Страница 348

    16-6 Status Readbac k EN Status Response Syntax All sta tus responses star t wit h the letters “ PCL ” followed by a Carria ge Retur n contr ol code (d ecimal 13; <CR> ) and a Line F eed control code (decim al 10; <LF> ). In additi on, each rem aining line of the resp onse is ter minated by a Ca rriage Re turn a nd Line Feed control[...]

  • Страница 349

    EN Status Re sponse Sy ntax 16-7 PCL<CR><LF> INFO FONTS<CR><LF> SELECT=“<Esc>(8U<Esc>(s0p10.00 h12.00v0s0b3T”<CR><LF> SELECT=“<Esc>(0N<Esc>(s0p16.67 h8.5v0s0b0T”<CR><LF> SELECT=“<Esc>(s1p__v1s0b4101T< Esc>(78X”<CR><LF> SYMBOLSETS=“0D,0I,0N,[...]

  • Страница 350

    16-8 Status Readbac k EN Set St atus Re adbac k Loca tion T ype Comm and The Set Location T ype command se ts the sta tus locatio n type to th e specifi ed v alue. Loc ation type is used in conjunc tion with the lo cation unit to id entify an enti ty loca tion f or a s tatus reque st (Inquire S tatus Readback Entity command). E C * s # T # =0- Inv [...]

  • Страница 351

    EN Set Statu s Readback Loc ation Unit Com mand 16-9 Set Status Readb ac k Location Unit Command The Set Location Uni t command se ts the sta tus locatio n unit to th e specifi ed v alue. Loc ation unit i s used in conj unction with the location type to id entify an entity loca tion for a status request (I nquire Statu s Readback Entity command). N[...]

  • Страница 352

    16-10 S tatus Readbac k EN A value of 0 in dicates all units of the location type. A printer reset ( E C E ) retur ns the locatio n unit to its d ef ault value, 0. The pr inter retains the locatio n unit set ting. If this c ommand is not sent t o change the se tting f o r an entity re quest, the n the ex ist ing loca tion unit sett ing is u sed. No[...]

  • Страница 353

    EN Entity Status Resp onses 16-11 Entity Status Respo nses The statu s response for an Inquire Status Readback Entity co mmand v ar ies depen ding on the type of entity re quested. The status respons es f or font, f ont extended , macro , user -defined p attern , and sym bol set are descri bed below . Font Response The sta tus respon se inf or mati[...]

  • Страница 354

    16-12 S tatus Readbac k EN As menti oned, variations in the font respons e occur as a result of the font being a bitmap, bound scalable, unbound scalable, soft (downloaded) font, or th e location type set to 1 (curre ntly selected ). These vari ations incl ude slight di ff erenc es in the infor mation in cluded in the “S ELECT=” li ne, with the[...]

  • Страница 355

    EN Entity Status Resp onses 16-13 Unbound Scalable Fonts F or u nbound fonts, since multiple symbol sets can be ass ociated with an unbound font, the “SYMBOLSE TS=” ke y word is added to list the av ailable symbol sets and th e symbol set s equence is no longer present in the “SEL ECT=” line. For e xamp le, the print er’ s inter nal unbou[...]

  • Страница 356

    16-14 S tatus Readbac k EN z F or all fonts, if the f o nt is a secondar y font, then the “(“ characters are rep laced by ”)” character s in the “S ELECT=” li ne. “LOCTYP E=” identifi es the locati on type of t he curren tly select ed f ont. The value retur ned c orresponds t o the value field of the Set Sta tus Readback T ype comma[...]

  • Страница 357

    EN Entity Status Resp onses 16-15 Font Extended Response The font e xtend ed response ( inquire entity v alue fi eld 4) provides a wa y to retur n the nam e and inter nal ID numbe r of the font, as well as the “ SELECT=” line. It i s the same a s a f ont sta tus response (inquire entity value field 1), in that “ SELECT= , ” “SYM BOLSETS =[...]

  • Страница 358

    16-16 S tatus Readbac k EN “ NAME= ” i s retur ned for f o nt e xtended status requ ests only . It identifi es the nam e of the f ont, s uch as, Cour ier , T imes Roman, Univers, etc., and its tr eatment (such as BdIt - bold italic) a s listed in the font pr intout. F or example, the font extended resp onse f or th e printe r’ s inte rnal bit[...]

  • Страница 359

    EN Entity Status Resp onses 16-17 A macr o status respo nse might ap pear as shown below . PCL INFO MACROS IDLIST=“1,3,8,29,32” User -Defined P attern Response The sta tus response f o r user-defin ed patter ns (inq uire entity v alue field 2) lists all of the user-d efined patte rn IDs ( “IDLIST=”) for the patter ns in the specifi ed locat[...]

  • Страница 360

    16-18 S tatus Readbac k EN Symbol Set Response The respo nse for symbol sets (inquire ent ity value field 3) l ists all o f the symb ol set IDs (“ID LIST=”) for all of the symbol sets that can be bound t o unbound sc alab le fonts in the specifi ed location (type and unit). A symbo l set resp onse mig ht appear as shown below . PCL INFO SYMBOLS[...]

  • Страница 361

    EN Entity Er ror Codes 16-19 Entity Error Codes If you request ou t-of-range values in the comma nd v alue fields, or if the entity is unsu ppor ted or does not exist, or if the reques t is inappro priate, the pr inter re sponds with one of four possible errors: z Invalid Entity z Invalid Location z None z Internal Error ERROR=INV ALID ENTITY If th[...]

  • Страница 362

    16-20 S tatus Readbac k EN ERROR=NONE If the entity type and location are valid, but there are no entities of the specifi ed type in th at location, or if the typ e is inappropr iate for the specifi ed entity (int ernal user-define d patter n or cu rrently selec ted macro), th en an error r esponse is generated. For example, if you request the do w[...]

  • Страница 363

    EN Free Spa ce Command 16 -21 Free Space Comm and The F ree S pace comman d retur ns the amo unt of av ailable mem ory . This respo nse retur ns two values: the to tal a vailable memor y , and the larg est a vailable block of memor y (refer to the “Memor y Status Resp onse” s ectio n late r in th is chap ter f or addit ional i nf ormatio n). E [...]

  • Страница 364

    16-22 S tatus Readbac k EN If you deter mine there is insuffic ient memor y to h old the data to be downloaded, s ome action i s required. One method to m ak e more memor y av a ilable is to send th e Flush A ll P ages co mmand. Th is causes the pri nter to clea r (process ) the curren t page data from memo ry without accep ting a ny ne w data f or[...]

  • Страница 365

    EN Free Spa ce Command 16 -23 “LARGE ST=” identi fies the lar gest conti nuous bloc k of a vailable memor y (in bytes). An example res ponse is s hown below: PCL INFO MEMORY TOTAL=100000 LARGEST=25000 The above e xamp le indicates t hat the pr inter has 100,000 bytes of av ailable memo ry and the large st continuous b lock is 25,00 0 bytes . Me[...]

  • Страница 366

    16-24 S tatus Readbac k EN Flush All P ag es Command The Flus h All P ages c ommand sus pends accep ting inpu t data until all pages curr ently in the pr inter ar e printed . This gives the pr inter time to cle ar some me mory . E C & r # F # =0- Flush all comp lete pages 1 - Flus h all pages Default = 0 Range = 0 - 1 A v alue of 0 indic ates t[...]

  • Страница 367

    EN Echo Command 16-25 Ec ho Com mand The Echo c ommand e choes its value fiel d (in ASCII for mat) back to the host. E C * s # X # =Ec ho value (ASC II) Default = 0 Range = –3 2767 to 327 67 If m ultipl e users ar e requ esting statu s, it ca n be dif ficult to disti nguis h one user’ s s tatus respons e from anothe r . T he Echo comm and provi[...]

  • Страница 368

    16-26 S tatus Readbac k EN If the appl ication sen ds the Echo command and F r ee Space comm and, the printe r return s the response to the first Echo command and F ree Space comm and, along with the respons e to the sec ond request . The applicati on will assume that the re sponse rec eiv ed is the respons e to its las t request. I f the appli cat[...]

  • Страница 369

    EN Status Rea dback Pro gramming Hi nts 16-27 Status Readback Pr ogramming Hints The following hints c an assist in u sing the sta tus readback feature . z PCL statu s readback is useful during the de velopment o f applica tions. Status readback allows you to deter mine th at f ont s , macros, user -defined pa tterns, an d symbol set res ources you[...]

  • Страница 370

    16-28 S tatus Readbac k EN[...]