Vai alla pagina of
Manuali d’uso simili
-
Photo Scanner
HP (Hewlett-Packard) N6350
60 pagine 1.77 mb -
Photo Scanner
HP (Hewlett-Packard) L1952A
6 pagine 0.99 mb -
Photo Scanner
HP (Hewlett-Packard) Q3841A
6 pagine 0.99 mb -
Photo Scanner
HP (Hewlett-Packard) G 3010
15 pagine 0.49 mb -
Photo Scanner
HP (Hewlett-Packard) C2184A
120 pagine 0.98 mb -
Photo Scanner
HP (Hewlett-Packard) 30/130
7 pagine 0.4 mb -
Photo Scanner
HP (Hewlett-Packard) L1970A
6 pagine 0.99 mb -
Photo Scanner
HP (Hewlett-Packard) 4800
2 pagine 0.55 mb
Un buon manuale d’uso
Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso HP (Hewlett-Packard) PCL. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica HP (Hewlett-Packard) PCL o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.
Che cosa è il manuale d’uso?
La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso HP (Hewlett-Packard) PCL descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.
Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.
Quindi cosa dovrebbe contenere il manuale perfetto?
Innanzitutto, il manuale d’uso HP (Hewlett-Packard) PCL dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo HP (Hewlett-Packard) PCL
- nome del fabbricante e anno di fabbricazione HP (Hewlett-Packard) PCL
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature HP (Hewlett-Packard) PCL
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti
Perché non leggiamo i manuali d’uso?
Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio HP (Hewlett-Packard) PCL non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti HP (Hewlett-Packard) PCL e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio HP (Hewlett-Packard) in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche HP (Hewlett-Packard) PCL, come nel caso della versione cartacea.
Perché leggere il manuale d’uso?
Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo HP (Hewlett-Packard) PCL, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.
Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso HP (Hewlett-Packard) PCL. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.
Sommario del manuale d’uso
-
Pagina 1
Part I Click here to access Part I I on hp.com.[...]
-
Pagina 2
[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 -[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 13
EN Contents -1 Contents Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii Pri nting Histor y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii T rademar k Credits . . . . . . . . . . . . . . . . . . . . . .[...]
-
Pagina 14
Contents -2 EN The Print En vironment F act ory Def ault Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 User Default Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 Modified Print Environment . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Pagina 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Pagina 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 . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Pagina 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) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Pagina 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) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Pagina 19
EN Contents -7 Macro Contr ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12- 7 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-8 Macro Contr ol Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Pagina 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[...]
-
Pagina 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 . . . . . . . . . . . . . [...]
-
Pagina 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 . . . . . . . . . . . . . . . . . [...]
-
Pagina 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Pagina 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Pagina 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-[...]
-
Pagina 26
Contents -14 EN[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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.[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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. [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 44
2-10 The Page EN[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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.[...]
-
Pagina 54
3-10 The Print Environm ent EN[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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=[...]
-
Pagina 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 [...]
-
Pagina 60
4-6 PCL Job Control Commands EN Figure 4-2 Long-Edge Binding Mode Figure 4-3 Short-Edge Bi n ding Mode[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 70
4-16 PCL Job Control Commands EN[...]
-
Pagina 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[...]
-
Pagina 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 ([...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 78
5-8 Pag e Control Comman ds EN Figure 5-2 HP-GL/2 Picture Orientation with Respect to Logical P age Orientation[...]
-
Pagina 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[...]
-
Pagina 80
5-10 Page Control Commands EN Figure 5-3 Changing Print Direction on a P age[...]
-
Pagina 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[...]
-
Pagina 82
5-12 Page Control Commands EN Figure 5-4 T ext Area Within the P age[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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=[...]
-
Pagina 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[...]
-
Pagina 110
6-16 Cursor Positi oning EN[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 120
7-10 Fonts EN Figure 7- 11 Bit map Characte r Figure 7- 12 S calable Character[...]
-
Pagina 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[...]
-
Pagina 122
7-12 Fonts EN[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 152
8-30 PCL Font Se lection EN[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 /[...]
-
Pagina 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 [...]
-
Pagina 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,[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 166
9-14 Font Managemen t EN[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 #[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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-[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 182
10-16 Us er-Defined Sy mbol Sets EN[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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. [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 =[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 237
EN Character Descriptor Form ats 11-55 Figure 11- 5 Clas s 2 Charact er Data[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 240
11-58 S oft Font Creatio n EN Figure 11-6 Portrait Characte r Example[...]
-
Pagina 241
EN Character Descriptor Form ats 11-59 Figure 11- 7 L andscape Charact er Example[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 ([...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 270
13-4 The PCL Prin t Model EN Figure 1 3-3 Effect of T ranspa rency Modes on Images[...]
-
Pagina 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. • • [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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-[...]
-
Pagina 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 [...]
-
Pagina 276
13-10 The PCL Print M odel EN Figure 13-4 Shading Patt erns[...]
-
Pagina 277
EN Pattern ID ( Area Fill ID) Comm and 13-11 Figure 13-5 Cross-Hatch P atterns[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 281
EN User-Defi ned Pattern Graphics 13 -15 Figure 13-8 Moving P attern R eference P oint for P attern Filling[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 /[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 290
13-24 The PCL Print M odel EN[...]
-
Pagina 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-[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 297
EN Pattern ID ( Area Fill ID) Com mand 14-7 Figure 14-1 Shading Patt erns[...]
-
Pagina 298
14-8 PCL Rectangu lar Area Fi ll Graphics EN Figure 14-2 Cross-hatc h Patterns[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 302
14-12 P CL Rectang ular Area Fill Graph ics EN Figure 14-3 Effect of T ransparency Modes on Rectangular Areas[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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-[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 318
15-10 Ra ster Graphi cs EN Figure 15-6 Raster Graphics Presentation Mode f or Landscape Orientation[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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, [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 341
EN Raster Gr aphics Ex ample 15-3 3 Figure 15-11 Example of Raster Graphic Image D ata[...]
-
Pagina 342
15-34 Ra ster Graphi cs EN[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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,[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 =[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 370
16-28 S tatus Readbac k EN[...]