Brother PCL manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450

Aller à la page of

Un bon manuel d’utilisation

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

Qu'est ce que le manuel d’utilisation?

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

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

Donc, ce qui devrait contenir le manuel parfait?

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

Pourquoi nous ne lisons pas les manuels d’utilisation?

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

Pourquoi lire le manuel d’utilisation?

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

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

Table des matières du manuel d’utilisation

  • Page 1

    B B r r o o t t h h e e r r L L a a s s e e r r P P r r i i n n t t e e r r T T T e e e c c c h h h n n n i i i c c c a a a l l l R R R e e e f f f e e e r r r e e e n n n c c c e e e G G G u u u i i i d d d e e e < < M M O O D D E E L L S S C C O O V V E E R R E E D D B B Y Y T T H H I I S S M M A A N N U U A A L L > > H H L L - - 1 1 [...]

  • Page 2

    First version August, 1999 Created for HL-1050/1070/1250/1270N/ 1450/1470N/P2500/1660e/2060/ 2400C Ver. A March, 2000 Revised fo r Addition of HL-2400Ce/3400CN Ver. B March, 2001 Revised for Addition of HL-1650/1670N/3260N/2460 Ver. C October, 2001 Revised for Addition of HL-1450/1470N Ver. D June, 2003 Revised for Addition of HL -7050/1850/1870N/5[...]

  • Page 3

    Trademark acknowledgments Brother is a registered trademark of Brother Industries Ltd. PostScript is a registered trademark of Adobe Incorporated. Epson is a registered trademark and FX-850 a tradem ark of Seiko Epson Corporation. Hewlett Packard, HP, LaserJet and PCL are registered trademarks and LaserJet, HP-GL, and HP-GL/2 are trademarks of Hewl[...]

  • Page 4

    i T ABLE OF CONTENTS GLOSSARY CHAPTER 1 INTRODUCTION 1. ABOUT THE MANUAL ----------------------------------------------------------------------------------- 3 2. AREAS OF USE ------------------------------------------------------------------------------------------- 4 CHAPTER 2 PCL 1. COMMAND LIST ---------------------------------------------------[...]

  • Page 5

    i i CHAPTER 6 EPSON FX-850 1. COMMAND LIST ------------------------------------------------------------------------------------------ 3 2. INTRODUCTION ------------------------------------------------------------------------------------------ 5 3. EMULATION DETAILS ---------------------------------------------------------------------------------- 6[...]

  • Page 6

    ii i GLOSSAR Y Absolute plotting A method of plotting in the HP-GL and HP-GL/2 graphics language where coordinates are specified relative to the orig in of the coordinate system currently in use. Anchor point The top left-hand corner of the PCL picture frame. You can position this on the page using a PCL command. Anisotropic scaling A form of image[...]

  • Page 7

    i v Control panel reset A reset or factory reset performed using the printer control panel. Cross-hatching A method of shading using perpendicula r diagonal lines that cross one another. Current units The current unit type in use in HP-GL and HP-GL/2 mode. Current units are either user units or graphics units depending on whether an SC command has [...]

  • Page 8

    v Fixed spacing See monospacing. Font A collection of characters that are designed to work in harmony together. A font has several characteristics that identify it uniquely: character or sy mbol set, spacing, pitch, height or point size, style, stroke weight and typeface. Fonts can either be resident in the printer's ROM, installed on cartridg[...]

  • Page 9

    v i Justification The way in which text is aligned. For example, left justification involves aligning the left end of every line of text. Label A text string that forms part of an HP-GL and HP-GL/2 plot. Landscape The orientation in which the top edge of the page is longer than the side edges. Logical page The area of the physical page on which the[...]

  • Page 10

    vi i Perforation skip A feature whereby the printer automati cally compensates for a page break and resumes printing from the top of the text area on the next page. Permanent font A downloaded font that is retained when a printer reset is performed. Permanent macro A macro stored in the printer that will not be erased if the printer is reset. Physi[...]

  • Page 11

    vii i RAM Random Access Memory. The printer's mem ory in which fonts and macros can be stored and where pages that are to be printed are composed. Raster graphics A m ethod of representing a graphic image as a series of zeroes and ones that correspond to white and black dots respectively. Relative plotting A method of plotting in the HP-GL and[...]

  • Page 12

    i x Soft clip limits See graphics window. The soft limits are determined by the IW command. Source image The graphic im age that is applied to th e destination image in the LaserJet print model. The interaction of the two images is determ ined by the current source and pattern transparency settings. Source transparency The source image is either tr[...]

  • Page 13

    x VMI Vertical motion index. The vertical distance that the print position moves down the page when a line feed is performed. This can be set using printer comm ands or with the printer's control panel by adjusting the "Lines" menu option in PAGE FORMAT MODE.[...]

  • Page 14

    2006/05/31 CHAPTER 1 INTRODUCTION - 1 CHAPTER 1 INTRODUCTION[...]

  • Page 15

    2006/05/31 CHAPTER 1 INTRODUCTION - 2 CONTENTS 1. ABOUT THE MANUAL ................................................................................................. 3 2. AREAS OF USE............................................................................................................ 4 2.1 Using Word Processing Packages and Spreadsheets .....[...]

  • Page 16

    2006/05/31 CHAPTER 1 INTRODUCTION - 3 1. ABOUT THE MANUAL This technical reference manual is intended to help you get the m ost out of each of the emulation m odes supported by your HL-Series l aser printer. It is divided into nine secti ons - this introductory sect ion and one section for each of the emulation modes. Each em ulati on m ode section[...]

  • Page 17

    2006/05/31 CHAPTER 1 INTRODUCTION - 4 2. AREAS OF USE There are several different applicati ons for which you m ay want to use your HL-Serie s laser printer. Four general areas are outlined in th e following sections. 2.1 Using Word Processing Packages and Spreadsheets You may simply wish to use the printer with you r soft ware application packages[...]

  • Page 18

    2006/05/31 CHAPTER 1 INTRODUCTION - 5 2.4 Font Development In LaserJet mode you can send y our own character designs to an HL-Series laser printer and print text u sin g them. To do this y ou need first to design your characters on paper. Havi ng done this you can then either input and download your characters using a com me rcia l software package[...]

  • Page 19

    2006/05/31 CHAPTER 2 "PCL" - 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE[...]

  • Page 20

    2006/05/31 CHAPTER 2 "PCL" - 2 C ONTENTS 1. COMMAND LI ST .................................................................................................................. 7 2. INTRODUCT ION ................................................................................................................ 10 3. CONTROLLING TH E PRINTE R ...[...]

  • Page 21

    2006/05/31 CHAPTER 2 "PCL" - 3 4.2.8. Coordi nates .................................................................................................................... .......................28 4.2.9. Units .......................................................................................................................... ..........[...]

  • Page 22

    2006/05/31 CHAPTER 2 "PCL" - 4 5.2.8. Selecting the hei ght ........................................................................................................... ...................49 5.2.9. Scaling the scalable fonts ve rtically or horiz ont ally .......................................................................... ....49 5.2.[...]

  • Page 23

    2006/05/31 CHAPTER 2 "PCL" - 5 6.5.3. Set picture frame vertical size ................................................................................................ ...............92 6.5.4. Set picture frame horizontal size .............................................................................................. ............92 6.5.[...]

  • Page 24

    2006/05/31 CHAPTER 2 "PCL" - 6 8.5.17. Font cache ..................................................................................................................... .................106 8.5.18. Memory status res ponse ......................................................................................................... .......106 8.[...]

  • Page 25

    2006/05/31 CHAPTER 2 "PCL" - 7 1. COMMAND LIST Control Codes 11 Escape sequences 12 Esc&k#G Line terminat ion 12 Esc&s#C End-of-line wrap 13 EscY Display function m ode 13 EscZ Display function mode 13 Environments 14 Job Control 15 Esc&l#A Page size 15 Esc&n# Media type selection 16 Esc&l#G Output tray 16 Esc&l#H [...]

  • Page 26

    2006/05/31 CHAPTER 2 "PCL" - 8 Esc(s#H, Esc)s#H Selecting t he pitch 45 Esc(s#V, Esc)s#V Selecting t he height 46 EscCR!#H, EscCR!#V Scaling the scalable fonts vert ically or horizontal ly 46 Esc(s#S, Esc)s#S Selecting the style 46 Esc(s#B, Esc)s#B Selecting the stroke weight 47 Esc(s#T, Esc)s#T Selecting the typeface 47 Esc&p#X Trans[...]

  • Page 27

    2006/05/31 CHAPTER 2 "PCL" - 9 EscCR!1234#M MIO video I/O port control 95 Status Readback 96 Esc*s#T Set status readback location ty pe 97 Esc*s#U Set status readback location unit 97 Esc*s#I Inquire status readback entity 98 Esc*s1M Free space command 102 Esc&r#F Flush all pages comm and 103 Esc*s#X Echo command 103[...]

  • Page 28

    2006/05/31 CHAPTER 2 "PCL" - 10 2. INTRODUCTION This laser printer provides a com plete em ulation of the supported Hewlet t Packard LaserJet printer. Features include raster and vector graphics, support for bi tmap and scalable font s and page control. There are many resident fonts in the printe r and you can gain access to more by inser[...]

  • Page 29

    2006/05/31 CHAPTER 2 "PCL" - 11 3. CONTROLLING THE PRINTER 3.1. Control Codes Control codes are ASCII codes th at tell the printer to pe rform a given function, such as a carriage return. You can send these codes to the printer as part of a program . 3.1.1. Backspace (08) <08h> ASCII code 8. This code moves t he cursor one column to[...]

  • Page 30

    2006/05/31 CHAPTER 2 "PCL" - 12 3.2. Escape Sequences Escape sequences, also known as PCL (Printer Contro l Language) comm ands, tell the pri nter which operations to perform. An escape sequence consists of the Esc character followed by a string of characters which define the operation to be performed. Som e escape sequences require param[...]

  • Page 31

    2006/05/31 CHAPTER 2 "PCL" - 13 3.2.2. End-of-line w rap If the printer tries to print a line of text that is longer than the width of the text area, th e end of the line will normally be lost. However, you can set the printe r to flow text onto the next line so that text i s not lost. You can turn on th e automatic text wrap feature eith[...]

  • Page 32

    2006/05/31 CHAPTER 2 "PCL" - 14 3.3. Environments 3.3.1. Factory default envi ronment The factory default env ironment is the collection of p r inter settings prog rammed into the printer before it leaves the factory. You can restore the factory defaul t environment using the printer’s control panel. See the User's Guide to find h [...]

  • Page 33

    2006/05/31 CHAPTER 2 "PCL" - 15 4. JOB CONTROL 4.1.1. Page size Esc& l #A (27)(38)(108)#(65) <1Bh><26h><6Ch>#<41h> # stands for the type of paper or envelope t o be used. Values for # correspond to the paper or envelope sizes s hown in the t able. Envelopes sizes are shown in the shaded part of the table. Model[...]

  • Page 34

    2006/05/31 CHAPTER 2 "PCL" - 16 • When the printer receives this command any unprinted pa ges are printed and the le ft, right and top margins and the text length are set t o their factory defaults for the new page size. • The cursor is moved t o the top left of the text area on t he new page. • Depending on your m odel, you may als[...]

  • Page 35

    2006/05/31 CHAPTER 2 "PCL" - 17 • If the printer has data to p rint when this command is executed, the command is valid from the next page immediately after the data is printed.[...]

  • Page 36

    2006/05/31 CHAPTER 2 "PCL" - 18 4.1.4. Paper source Esc& l #H (27)(38)(108)#(72) <1Bh><26h><6Ch>#<48h> # denotes the paper source. Values for # may be 0, 1, 2, 3, or 4. • If # = 0 the current page is ejected and the paper source rema ins the same. • If # = 1 the current page is printed and the upper cassett[...]

  • Page 37

    2006/05/31 CHAPTER 2 "PCL" - 19 If PJL TRAYCOMMAND is NORMAL; HL-1850/1870N/ 5050/5070N/ 5150D/5170DN/ 6050/6050D/6050D N HL- 5240/525 0DN/527 0DN/528 0DW HL- 5040/ 5140 HL-2070N HL-2460/ 7050 HL-8050N HL- 2600CN/ 2700CN HL-3450CN #=0 Eject ← ← ← ← ← ← ← #=1 Tray 1 ← ← ← ← ← ← ← #=2 Manual Feed ← ← ← ← [...]

  • Page 38

    2006/05/31 CHAPTER 2 "PCL" - 20 4.1.5. Left long-edge offset registration Esc& l #U (27)(38)(108)#(85) <1Bh><26h><6Ch>#<55h> # stands for the distance in decipoint s (1/720") that the left edge of the l ogical page is to be moved. • Values for # may be in the range -32,767 to 32,767. • The distance spe[...]

  • Page 39

    2006/05/31 CHAPTER 2 "PCL" - 21 4.1.7. Simplex/duplex printing (For HL- 1660e/2060/3400CN/1650/ 1670N/3260N/2460/7050/1850/1870N/ 5150D/5170DN/5250DN/5270DN/5280 DW) Esc& l #S (27)(38)(108)#(83) <1Bh><26h><6Ch>#<53h> # can be 0, 1, or 2. • # = 0 indicates Sim plex printing. • # = 1 indicates Duplex - Long e[...]

  • Page 40

    2006/05/31 CHAPTER 2 "PCL" - 22 • You can also perform a print er reset using the printer’s cont rol panel or remote pri nter console program (see the User Guide).[...]

  • Page 41

    2006/05/31 CHAPTER 2 "PCL" - 23 4.1.11. Reset to factory default settings EscCRFD (27)(13)(70)(68) <1Bh><0Dh><46h><44h> • This comm and causes a factory reset to be performed, re storing all the printer’s factory defau lt settings. See the section “Factory default envi ronment” for a li st of the factory de[...]

  • Page 42

    2006/05/31 CHAPTER 2 "PCL" - 24 4.1.15. Change emulation mode EscCRGL (27)(13)(71)(76) <1Bh><0Dh><47h><4Ch> This comm and changes the emulat ion mode to HP-GL m ode. EscCRAB (27)(13)(65)(66) <1Bh><0Dh><41h><42h> This comm and changes the emul ation mode to BR -Script Batch m ode. EscCRAI (27[...]

  • Page 43

    2006/05/31 CHAPTER 2 "PCL" - 25 4.2. The Page 4.2.1. Physical page The physical page refers to the size of the paper or enve lope currently in use: A4, Letter, B5, JIS B5, Legal and Executive are the permitted paper sizes: Monarch , COM-10, International DL an d International C5 are the allowable envelope sizes. 4.2.2. Printable area The [...]

  • Page 44

    2006/05/31 CHAPTER 2 "PCL" - 26 4.2.6. Portrait page dimensions (DEFAULT VALUES) A B C D E F G H F G H E G G Physical page Printable area Logical page Default HP-GL/2 picture frame B Physical page length D Maximum logical page length F Distance from edge of physical page to edge of logical page PAPER SIZE A B C D E F G H LETTER 2550 3300 [...]

  • Page 45

    2006/05/31 CHAPTER 2 "PCL" - 27 4.2.7. Landscape page dimensions (DEFAULT VALUES) A B C D E F G H F G H E G G Physical page Printable area Logical page Default HP-GL/2 picture frame B Physical page length D Maximum logical page length F Distance from edge of physical page to edge of logical page PAPER SIZE A B C D E F G H LETTER 3300 2550[...]

  • Page 46

    2006/05/31 CHAPTER 2 "PCL" - 28 4.2.8. Coordinates The printer control language coordinat e system has i ts origin at the intersect ion of the left edge of the logical page and the top margi n. The x-coordinate value of th e current cursor position increases as the cursor m oves from left t o right, the y-coordinate value increases as t h[...]

  • Page 47

    2006/05/31 CHAPTER 2 "PCL" - 29 • If the current cursor position is to the right of your new right margin setting, the cursor will b e moved to the new right ma rgin. • The factory default left and right margi n settings are at the left and ri ght edges of the logical page respectively. • Depending on your m odel, margin set tings c[...]

  • Page 48

    2006/05/31 CHAPTER 2 "PCL" - 30 4.2.14. Setting the verti cal motion index (VMI) Esc& l #C (27)(38)(108)#(67) <1Bh><26h><6Ch>#<43h> # stands for the height of one row in 1/48". • # can have any value in the range 0-32767. • The distance specified by the VMI is the vertical dist ance moved down the page[...]

  • Page 49

    2006/05/31 CHAPTER 2 "PCL" - 31 10 REM ***** SETTING THE CHARACTER PITCH ***** 20 ESC$=CHR$(27) 30 REM --- DEFAULT IS 10 CPI PITCH --- 40 LPRINT "10 PITCH " 50 REM --- SET 5 CPI PITCH --- 60 LPRINT ESC$+"&k24H"; 70 LPRINT "AAA" 80 REM --- SET 6 CPI PITCH --- 90 LPRINT ESC$+"&k20H"; 100 LPRIN[...]

  • Page 50

    2006/05/31 CHAPTER 2 "PCL" - 32 Top margin Bottom mar g in Text length Page length 4.2.18. Page length Esc&l#P (27)(38)(108)#(80) <1Bh><26h><6Ch>#<50h> # stands for the length of the logi cal page in lines (at the current VMI). • If you specify a page length great er than is allowed by the physi cal size of t[...]

  • Page 51

    2006/05/31 CHAPTER 2 "PCL" - 33 4.2.20. Positioning the cursor You can position the cursor anywhere on the logi cal page. In addition, the cursor posit ion is automa tically changed when text or graphics are printed. You can ei ther position the cursor using absol ute PCL coordinate values or position it rel ative to the current cursor po[...]

  • Page 52

    2006/05/31 CHAPTER 2 "PCL" - 34 4.2.22. Horizontal position Horizontal cursor positioning - columns Esc&a#C (27)(38)(97)#(67) <1Bh><26h><61h>#<43h> # = number of colum ns • A plus or minus sign preceding the num ber of columns para m eter indicates that the cursor is to be positioned relative to its current p[...]

  • Page 53

    2006/05/31 CHAPTER 2 "PCL" - 35 100 REM --- MOVING CURSOR 1 INCH TO THE RIGHT --- 110 LPRINT ESC$+"*p+300X"; 120 LPRINT "C"; 130 REM --- PAPER EJECT --- 140 LPRINT CHR$(12); 150 END <Sample file 4> Horizontal cursor positioning - decipoints Esc&a#H (27)(38)(97)#(72) <1Bh><26h><61h>#<48h&g[...]

  • Page 54

    2006/05/31 CHAPTER 2 "PCL" - 36 4.2.25. Half line feed Esc= (27)(61) <1Bh><3Dh> This comm and moves the cursor down hal f a row as defined by the last VMI or l ine spacing comm and (Esc&l#C). 4.2.26. Logical page orientation Esc& l #O (27)(38)(108)#(79) <1Bh><26h><6Ch>#<4Fh> # = 0, 1, 2 or 3 •[...]

  • Page 55

    2006/05/31 CHAPTER 2 "PCL" - 37 • All subsequent text is printed in the newly selected orientati on. • The PCL coordinate system and margi n settings are rotated through t he specified angle. Hence the cursor coordinates will chang e. • HP-GL/2 graphics im ages cannot be rotated using t his comm and. • The factory default orie nta[...]

  • Page 56

    2006/05/31 CHAPTER 2 "PCL" - 38 5. USING FONTS 5.1. Introduction A font is a collection of characters that have common char acteristics, such as size, style and typeface, and which ranges over a given set of symbol s. For example, 12 point Tennessee Bold in the Roman-8 sy mbol set is a typical HL Series font . Different sorts of fonts are[...]

  • Page 57

    2006/05/31 CHAPTER 2 "PCL" - 39 Microsoft Window s 3.1 TrueType Compatible Fonts: HL-1050/1070/1250/1270N/1450/1470N/P2500/ 1660e/2060/2400C/2400Ce/3400CN/1650/1670N/ 3260N/2460/7050/1850/1870N/5040/5050/5070N/ 5140/5150D/5170DN/2600CN/3450CN/6050/ 6050D/6050DN/ 8050N/2700CN/2070N5240/5250DN/5270DN/5280 DW Tennessee Roman, Italic, Bold, B[...]

  • Page 58

    2006/05/31 CHAPTER 2 "PCL" - 40 The printer comes with som e bitmap fonts contained in its ROM and m any scalable typefaces which can be used to create scalable fonts.[...]

  • Page 59

    2006/05/31 CHAPTER 2 "PCL" - 41 5.1.8. Card/cartridge fonts You can buy cartridge/card -based bitmap fonts and scal able typefaces. Plug the cartr idge/card into one of the printer’s cartridge/card slots and then select any font from them as if it were in the printer’s ROM. Depending on your model, you can also save bitm ap fonts and [...]

  • Page 60

    2006/05/31 CHAPTER 2 "PCL" - 42 5.1.15. Criteria for font selection The printer will try to match your stated fo nt requirements as best it can with the fonts av ailab le to it in any of the three possible font locations. In most cases you will be specifying a font you know to be present in one of the locations and th e resu lting printed[...]

  • Page 61

    2006/05/31 CHAPTER 2 "PCL" - 43 5.1.22. Stroke w eight Stroke weight refers to the thickness of t he lines which make up t he printed characters. Characters of norma l line thickness are called medium. Thicker lines are referred to as bold or black and thinner lines as light or thi n. You can specify 15 different stroke wei ghts - 0 denot[...]

  • Page 62

    2006/05/31 CHAPTER 2 "PCL" - 44 5.2. Font Selection Commands 5.2.1. User-defined symbol sets User-defined symbol set s can be used with Unbound scalable fonts. Three new com mands bel ow are prepared for use to control a user-defined symbol set. To define a symbol set , its ID code must first be defined. Next, a list of sym bols for the s[...]

  • Page 63

    2006/05/31 CHAPTER 2 "PCL" - 45 0 -1: Header size (UI) - set to 18 or greater. Thi s value stands for the number of header by tes. 2 -3 : Encoded Sym bol Set Designator (UI) - should be as same as the ID code whic h is defined by ESC*c#R . 4 : Format (UB) - 1 for MSL (Intellifont), 3 for Unicode (TrueType). 5 : Symbol Set Type (UB) - 0, 1[...]

  • Page 64

    2006/05/31 CHAPTER 2 "PCL" - 46 Symbol map (Array of UI ) The symbol m ap, which has a list of symbol i ndex numbers, is used to define t he symbols for the sy mbol set. This map defines t he combinations of sym bol index num bers and character codes. 5.2.4. Symbol set control command Esc*c#S (27)(42)(99)#(83) <1Bh><2Ah><63[...]

  • Page 65

    2006/05/31 CHAPTER 2 "PCL" - 47 User-defined symbol set s are defined by the com mand ESC ( f # W. Esc)symbol set ID (27)(41) <1Bh><29h> • This comm and selects the sym bol set (character set) for the secondary font . • To select any of the above symbol sets for the s econdary font sim ply substitu te ‘)’ for ‘(’ i[...]

  • Page 66

    2006/05/31 CHAPTER 2 "PCL" - 48 60 REM --- PRINT CHARACTERS ---- 70 FOR I=33 TO 127 80 LPRINT CHR$(I); 90 NEXT 100 LPRINT 110 REM --- FRENCH CHARACTER SET SELECTION ------ 120 LPRINT ESC$+"(s5C"; 130 REM --- PRINT CHARACTERS ---- 140 FOR I=33 TO 127 150 LPRINT CHR$(I); 160 NEXT 170 LPRINT 180 REM --- PAPER EJECT --- 190 LPRINT C[...]

  • Page 67

    2006/05/31 CHAPTER 2 "PCL" - 49 • The selection will apply to whiche ver font you are currently speci fying (prim ary or secondary). • If the printer doesn't have t he specified size font, the next la rgest size font is used. If the printer doesn' t have a larger sized font, the next sm allest one is used. • This value is [...]

  • Page 68

    2006/05/31 CHAPTER 2 "PCL" - 50 Value Font Style 0 1 4 5 8 24 32 64 128 160 Upright & solid Italic Condensed Condensed italic Compressed, or extra condensed Expanded Outline Inline Shadowed Outline shadowed 10 REM ****** PRINT IN ITALIC & UPRIGHT STYLE ****** 20 ESC$=CHR$(27) 30 WIDTH "LPT1:",255 40 REM --- PRINT USING A[...]

  • Page 69

    2006/05/31 CHAPTER 2 "PCL" - 51 • The available values vary with th e printer model. The following table shows the value for each typeface and availability. Typeface Set primary font Set secondary font HL-1050/ 1250/P2500 HL-1070/1270N/1660e/ 2060/2400C/ 2400Ce/3400CN/1450/1470N/1650/ 1670N/2460/3260N/7050/1850/ 1870N/ 5040/5050/5070N/5[...]

  • Page 70

    2006/05/31 CHAPTER 2 "PCL" - 52 5.2.14. Transparent print data Esc&p#X (character codes) (27)(38)(112)#(88) <1Bh><26h><70h>#<58h> • This comm and enables you t o print characters which are norm ally unprintabl e. • # is the number of by tes of data that fol low the comm and. • Each byte of data is i nterp[...]

  • Page 71

    2006/05/31 CHAPTER 2 "PCL" - 53 5.3. Downloadable font manipulation Fonts that you have bought on di skette can be downloaded to t he printer from disket te or hard disk using the DOS COPY comm and or a font downloading applicat ions program. To create y our own fonts you can use PCL comm ands to send the various blocks of data that com p[...]

  • Page 72

    2006/05/31 CHAPTER 2 "PCL" - 54 5.4. Creating Downloadable Fonts 5.4.1. Dow nloading You can download existing fonts (t hat is, ones that you have bought or ones that you have created previousl y) using either a font downloading appl ication program or the DOS comm and COPY/b <filename> PRN In addition, some word-processin g and Des[...]

  • Page 73

    2006/05/31 CHAPTER 2 "PCL" - 55 • The Font descriptor has i nformation for the whol e character set. When this font descriptor is sent to the printer with a font header to identify the font ID, the descrip tor parameters become the basis of the downloaded fonts. • The data format for each type of font descriptor block is shown below. [...]

  • Page 74

    2006/05/31 CHAPTER 2 "PCL" - 56 <Intellifont Scalable Bound font> B y t e 15 ( M S B ) 8 7 ( L S B ) 0 0 F o nt D esc ri p t o r S iz e ( >80 ) 2 D esc ri p t o r F o rmat ( 10 ) F o nt T ype 4 S t y l e M S BR eser ved 6 Ba se Lin e P os iti o n 8 Ce ll W i d th 10 Ce ll H e i g h t 12 O ri e ntati o n Sp a c in g 14 Sy m bo l S[...]

  • Page 75

    2006/05/31 CHAPTER 2 "PCL" - 57 <Intellifont Scalable Unbound font> Byte 15 (MSB) 8 7 (LSB) 0 0 Font Descri ptor Size (<88) 2 Descript or Format (11) Font Type (10) 4 Style MSB Reserved 6 Base Li ne Position 8 Cell W idth 10 Cell Height 12 Orientation Spacing 14 Symbol Set 16 Pitch (Default HMI) 18 Height 20 x-Height 22 Width Typ[...]

  • Page 76

    2006/05/31 CHAPTER 2 "PCL" - 58 <TrueType Scalable Bound font> Byte 15 (MSB) 8 7 (LSB) 0 0 Font Descri ptor Size (>72) 2 Descript or Format (15) Font Type 4 Style MSB Reserved 6 Base Li ne Position 8 Cell W idth 10 Cell Height 12 Orientation Spacing 14 Symbol Set 16 Pitch (Default HMI) 18 Height 20 x-Height 22 Width Type Style LS[...]

  • Page 77

    2006/05/31 CHAPTER 2 "PCL" - 59 10 Unbound font. Character codes corre sponding to MSL numbers are acceptable. 11 Unbound font. Character codes correspondi ng to Unicode numbers are acceptable. When a 7-bit font or 8-bit font is sel ected, it is po ssible for codes 00H t o FFH to load characters or delete them. It is also possible to prin[...]

  • Page 78

    2006/05/31 CHAPTER 2 "PCL" - 60 Symbol set name Symbol set ID Symbol set name Symbol set ID D e f au l t Set 0@ M at h- 7 0 A Line Draw-7 0B HP Lar g e Characters ( 264x Terminals ) 0C ISO 60: Danish/Norwe g ian 0D ISO 61: Norwe g ian version 2 1D Roman Ext ensions 0E ISO 4: United Ki n g do m 1E ISO 25: French 0F ISO 69: French 1F HP Ger[...]

  • Page 79

    2006/05/31 CHAPTER 2 "PCL" - 61 For Intellifont-scalable fonts only, the d efault HMI is calculated as follows. Default HMI (in dots) = (300 x m aster design pit ch x required point size) ÷ {Master x Resolution ÷(height x 8)} Default HMI ( in dots ) = (300 x master design pi tch x required point size) ÷ {72.307 x scal e factor} Height [...]

  • Page 80

    2006/05/31 CHAPTER 2 "PCL" - 62 Value Vendor 0 Reserved 1 Agfa Division, Miles Inc. 2 Bitstream Inc. 3 Linotype Company 4 The Monotype Corporation plc 5 Adobe Systems Inc. The Typeface family num ber can be 0 to 4095. This value is calculated as follows; (TrueType base value) + (Vendor value x 4096) = Typeface Family • Serif style (UB) [...]

  • Page 81

    2006/05/31 CHAPTER 2 "PCL" - 63 • Font number (ULI) - ignored by these HL Series printers. This 4-by te field specifies the num ber assigned to the font by the vending com pany. The number is stored as a hexadeci mal value in the l ower three bytes, bytes 44, 45 and 46. • Font name (16 by tes) - ignored by these HL Series print ers. T[...]

  • Page 82

    2006/05/31 CHAPTER 2 "PCL" - 64 Unicode Symbol Index Bit Field Designated Use 32 - 63 28 - 31 22 - 27 3 - 21 0 - 2 Miscellaneous uses (South Asi an, Ar meni an, other alphabets, bar codes, OCR, Math, etc.) Reserved for Latin fonts. Reserved for platform / a pplicat ion variant fonts. Reserved for Cyrillic, Arabic, Greek and Hebrew fo n ts[...]

  • Page 83

    2006/05/31 CHAPTER 2 "PCL" - 65 5.4.3. Unicode symbol index character complement bits Bit Field Designated Use 31 30 29 28 27 26 25 24 23 22 2,1,0 0 if font is compatible with 7-bit ASCII; oth erwise set to 1. 0 if font is com patible with ISO 8859/1 Lat in 1 (West Europe) character sets; otherwise set to 1. 0 if font is com patible with [...]

  • Page 84

    2006/05/31 CHAPTER 2 "PCL" - 66 *Segment Size (UI) - indicates the size of each item in the data segment. *Data segment - AP - Application support segm ent (reserved) CC - Character Complement Function and form are as same as character compleme nt flag in the font descriptor. This is only for unbound fonts. CP - Copyright Value should be [...]

  • Page 85

    2006/05/31 CHAPTER 2 "PCL" - 67 <Bitmap continuation data> Byte Data 0-1 Format Continuation 2 Raster Character Data • The bytes which follow the h eader are the raster data that make up the character. • Attributes are in one of four num erical form ats. Unsigned integer (UI) 0 to 65535 Signed integer (SI) –32768 to 32767 Unsi[...]

  • Page 86

    2006/05/31 CHAPTER 2 "PCL" - 68 <Intellifont-scalable contour data> MSB LSB 4 Contour Data size 6 Metric data offset 8 Character Intellifont data offset 10 Contour tree offset 12 XY data offset 14 Metric data Character Intellifont Data Contour tree data XY coordinate data <Continuation data for Intellifont scalable conto ur data&[...]

  • Page 87

    2006/05/31 CHAPTER 2 "PCL" - 69 [TrueType scalable font] <TrueType character descriptor> Byte Data 0-1 Format (15) Cont inuation (0) 2 - 3 Descriptor size Class (15) 4 ~ Additional descriptor size 2 + Desc.size Character Data Size 4 + Desc. size Glyph ID 6 + Desc. size TrueType Glyph Data 0-1 Format (15) Cont inuation (0) 2 - 3 Desc[...]

  • Page 88

    2006/05/31 CHAPTER 2 "PCL" - 70 Paper motion Raster scan Top offset = 22 dots Character height = 31 dots Baseline Cursor position after character has been printed Character width = 26 dots Delta X = 30 dots Left offset = 2 dots Character reference point Portrait character[...]

  • Page 89

    2006/05/31 CHAPTER 2 "PCL" - 71 Paper motion Raster scan Left offset = 22 dots Character width = 31 dots Baseline Cursor position after character has been printed Delta X = 30 dots Character reference point Top offset = 27 dots Character height = 26 dots Landscape character[...]

  • Page 90

    2006/05/31 CHAPTER 2 "PCL" - 72 6. USING GRAPHICS This HL Series printer affords the u ser co nsiderable flexibility in the creatio n of graphic images. Vector, raster and rectangle graphics are availab le, all of which allow a range of sh ading and filling o ptions. The HP-GL/2 graphics comm ands that are supported are described in t he [...]

  • Page 91

    2006/05/31 CHAPTER 2 "PCL" - 73 For example Pattern Source image Destination image Possible results With transparent source image With opaque source image 6.1.2. Set pattern transparency Esc*v#O (27)(42)(118)#(79) <1Bh><2Ah><76h>#<4Fh> • This command sets the pattern transparency. • # is either 0 or 1. Set # to[...]

  • Page 92

    2006/05/31 CHAPTER 2 "PCL" - 74 For example Pattern Source image Destination image Possible results With transparent pattern With opaque pattern (Source image is transparent) 6.1.3. Set area fill identity Esc*c#G (27)(42)(99)#(71) <1Bh><2Ah><63h>#<47h> • This command sets the pattern ID of a shading tone, a fill [...]

  • Page 93

    2006/05/31 CHAPTER 2 "PCL" - 75 6.1.4. User-defined pattern command Esc*c#W [ data ] (27)(42)(99)#(87) <1Bh><2Ah><63h>#<57h> • # should be in the range 0 ~ 32767. • # stands for the number of pat tern data byte s. • User defined patterns can be defined by bina ry data or an 8 byte pattern descri ptor. • The[...]

  • Page 94

    2006/05/31 CHAPTER 2 "PCL" - 76 6.1.6. User-defined pattern control Esc*c#Q (27)(42)(99)#(81) <1Bh><2Ah><63h>#<51h> • # = 0 deletes all (t emporary and perm anent) user-defined patterns from the printer m emory. • # = 1 deletes all temporary user-defined pattern s fro m the printer memory. • # = 2 deletes the[...]

  • Page 95

    2006/05/31 CHAPTER 2 "PCL" - 77 • See the following exam ple for programm ing examples usi ng patterns. Pattern example 10 WIDTH "LPT1:", 255 20 ESC$ = CHR$(27) 30 REM --- RESET PRINTER --- 40 LPRINT ESC$; "E"; 50 REM --- SET SOURCE=TRANSPARENT --- 60 REM --- SET PATTERN=OPAQUE --- 70 LPRINT ESC$; "*v0n1O";[...]

  • Page 96

    2006/05/31 CHAPTER 2 "PCL" - 78 6.2. Plotting Rectangles Drawing rectangles is a basic case of printi ng graphics: the source image consists sole ly of the rectangle itself. Thus only the pattern transparency has any bearing on the final effect - the source tr ansparency is irrelevant. 6.2.1. Cursor position Position the cursor u sing the[...]

  • Page 97

    2006/05/31 CHAPTER 2 "PCL" - 79 • See the following example for progra m ming exam ples using gray scales. Gray scale example 10 ESC$ = CHR$(27) 20 WIDTH "LPT1:", 255 30 REM --- DRAW A PATTERN USING 64 GRAY SCALES --- 40 X = 50: Y = 100: XL=50 :YL=200 50 FOR GRAY = 0 TO 100 STEP 2 60 GOSUB 220 70 X=GRAY*10+50 :XL=X-XL 80 GOSUB[...]

  • Page 98

    2006/05/31 CHAPTER 2 "PCL" - 80 6.3. Raster Graphics 6.3.1. Positioning the cursor Position the cursor u sing the commands described in the chap ter entitled “The Page”, using d ots, decipoints or rows and columns as coordinate uni ts. 6.3.2. Set raster resolution Esc*t#R (27)(42)(116)#(82) <1Bh><2Ah><74h>#<52h>[...]

  • Page 99

    2006/05/31 CHAPTER 2 "PCL" - 81 6.3.5. Set raster area height Esc*r#T (27)(42)(114)#(84) <1Bh><2Ah><72h>#<54h> • This command sets the height of the raster image to be printed . • # is the number of rast er rows. • If you use this com mand after usi ng a Start Raster Graphics or a Transfer Rast er Data comm a[...]

  • Page 100

    2006/05/31 CHAPTER 2 "PCL" - 82 • # = 3 indicates that delta row comp ression is to be used. In this me thod byte sequences identify how each raster row differs from the last row that was transmitted. The first byte identifies the number of con secu tive bytes (the value of the m ost significant 3 bi ts plus 1) to be changed and the pos[...]

  • Page 101

    2006/05/31 CHAPTER 2 "PCL" - 83 • # = 9 Mode 9 compression Like mode 3 com pression, this m ode 9 compression da t a contains only the difference of t he current row from the preceding row. Replacement data often consists of a repetition of a particular byte in m ode 3 compression. Mode 9 compression is effective in such cases. Simple m[...]

  • Page 102

    2006/05/31 CHAPTER 2 "PCL" - 84 If the control bit is 1, replacement data is repeated data . Bits 6 to 5 contain the o ffset count and bits 4 to 0 contain the 'replacement c ount (repeat count) - 2' . If bit 6 and bit 5 are '1 ', then an option al o ffset byte follows the control b yte. If the value of this op tio nal [...]

  • Page 103

    2006/05/31 CHAPTER 2 "PCL" - 85 Byte position Data Description 0 - 1 6E 6E 'nn' Thi s is header ID. 2 - 3 0A 00 Reserved 4 - 7 5E 00 00 00 Picture data start offset from header t op 8 - 11 File le ngth File length including 94 By te header. If file l ength is 65,536 byte , these 4 bytes becom e "00 00 01 00" 12 - 13 01[...]

  • Page 104

    2006/05/31 CHAPTER 2 "PCL" - 86 • # = 1024 indicates TIFF format. This is valid onl y for 600 dpi data. The raster graphics data is transferred with the ESC*b###W (### = data length) com mand. The TIFF fi le follows this m ode set comm and. This printer does not support LZW compression. Pages t hat contain TIFF data are printed in gray [...]

  • Page 105

    2006/05/31 CHAPTER 2 "PCL" - 87 6.3.9. Start raster transfer Esc*r#A (27)(42)(114)#(65) <1Bh><2Ah><72h>#<41h> • This command signals the start of the transf er of a raster image to the printer. • # is 0 or 1. • # = 0 denotes that the image will be pr in ted starting from the left edge of th e logical page. ?[...]

  • Page 106

    2006/05/31 CHAPTER 2 "PCL" - 88 Raster graphics example 10 REM ***** A EXAMPLE OF RASTER GRAPHICS ***** 20 ESC$=CHR$(27) 30 WIDTH "LPT1:",255 40 REM --- SET GRAPHICS RESOLUTION TO 300 DPI --- 50 LPRINT ESC$+"*t300R"; 60 REM --- START RASTER GRAPHICS --- 70 LPRINT ESC$+"*r1A"; 80 REM --- TRANSFER RASTER GRAPHI[...]

  • Page 107

    2006/05/31 CHAPTER 2 "PCL" - 89 6.3.13. Horizontal 1200-dpi image form at mode (Raster Graphic Mode 1027) The printer supports 1200 dpi print ing for special im age formats in 1200 dpi m ode. We recomm end that the installed print er mem ory is 10 Mby tes or more for 1200 dpi print ing. To set 1200 dpi mode, 1. Set 1200 dpi printing mode [...]

  • Page 108

    2006/05/31 CHAPTER 2 "PCL" - 90 <Compressed Im age Data> Data compression compresses the original image data word by word (16 b its). The compressed data consist s of both horizontal com pre ssion which uses 16 bi t, 8 bit and 4 bit repeat ing patterns within 1 word or 2 words of data and vertical compressi on which indicates how m [...]

  • Page 109

    2006/05/31 CHAPTER 2 "PCL" - 91 6.4. Vector Graphics For large-scale graphic images it is more efficient to us e vect or graphics. In LaserJet emulat ion mode you can set up the page area on wh ich to print vecto r graphics images. The vector gr ap hics capabilities of these HL Series printers working in HP-GL/2 m ode are desc ribed in th[...]

  • Page 110

    2006/05/31 CHAPTER 2 "PCL" - 92 6.5. The Picture Frame The PCL picture frame is the rectangular area of the page on which you can pri nt graphic images. You can position and size the pict ure frame to suit y our requirements and achieve effect s such as scaling or distortion of vector graphics images. 6.5.1. The default picture frame The [...]

  • Page 111

    2006/05/31 CHAPTER 2 "PCL" - 93 7. MACROS 7.1. The Purpose of a Macro A macro is a sequence of com mands that y ou wish to execute. You can specify the comm and sequence and download it to the printe r after which you can execute i t with a single com mand. For exam ple, you m ight wish to draw a raster image at the top of each page you p[...]

  • Page 112

    2006/05/31 CHAPTER 2 "PCL" - 94 7.2. Defining a Macro To define a macro you m ust first assign an ID num ber to it, then send to t he printer a Start Macro Defini tion comm and, the macro definit ion itself (consist ing of a sequence of PCL comm ands) and finally an End M acro Definition com mand. 7.2.1. Macro ID Esc&f#Y (27)(38)(102)[...]

  • Page 113

    2006/05/31 CHAPTER 2 "PCL" - 95 7.3. Running a Macro Macros can be invoked in three different ways: they can be ‘executed’, ‘cal led’ or ‘enabled for overlay’. When a macro is ' executed' it uses t he current modified pri nt environment. Any changes it makes t o the environment are permanent. A macro that is ' c[...]

  • Page 114

    2006/05/31 CHAPTER 2 "PCL" - 96 7.4. Handling Macros 7.4.1. Delete all macros Esc&f6X (27)(38)(102)(54)(88) <1Bh><26h><66h><36h><58h> • This command deletes all macros from the printer’s memory. 7.4.2. Delete all temporary macros Esc&f7X (27)(38)(102)(55)(88) <1Bh><26h><66h><3[...]

  • Page 115

    2006/05/31 CHAPTER 2 "PCL" - 97 120 REM --- SET FONT TO LETTER GOTHIC (18 DOTS WIDE) --- 130 LPRINT ESC$+"(s0p16.66h8.5v0s0b130T"; 140 REM --- PRINT COMMENT --- 150 LPRINT "Printed by this printer"; 160 REM --- SET CURSOR POSITION X=1790 DOT, Y=-40 DOT --- 170 LPRINT ESC$+"*p1790x-40Y"; 180 REM --- PERFORM SH[...]

  • Page 116

    2006/05/31 CHAPTER 2 "PCL" - 98 • If the key is [RENAME], this command allows the printer to chang e the name field of the AppleTalk name binding protocol. <ESC>&b#WRENAME<sp>printernam e printername should be speci fied with 1 to 31 characters. The characters $00 to $FF (except for $00, @, :, *, =, $C5) can be used for [...]

  • Page 117

    2006/05/31 CHAPTER 2 "PCL" - 99 8. STATUS READBACK 8.1. Introduction Status readback features are explained in this sect ion. The printer sends a status response m essage after receiving a request for its status by these comm ands. You can get the in formation as shown below from the printer. - available printer (user) mem ory - current a[...]

  • Page 118

    2006/05/31 CHAPTER 2 "PCL" - 100 8.5. Status Response Syntax All of the status responses begin wit h "PCL", Carriage Return cont rol code and a Line Feed control code. The response is ended by a Carriage Ret urn and a Line Feed control code. At the end of the transact ion, status responses are ended by a Form Feed Control code. [...]

  • Page 119

    2006/05/31 CHAPTER 2 "PCL" - 101 4 0 1 2 all download e d entities downloaded entity as temporary downloaded en tity as permanent 5 0 1 n All cartridge/cards the cartridge/card which has the highest priority. the cartridge/card which h as the lowest priority • When the location value is 0, 1 and 2, it i gnores the unit value (which m ig[...]

  • Page 120

    2006/05/31 CHAPTER 2 "PCL" - 102 In a font status response, the "SELECT=" keyword line speci fies the individual fonts. The font is identified by this line by specifyi ng the font selection characterist ics such as symbol set, spacing, pitch, height, st yle, stroke weight, and typefaces. It returns the "SELECT=" for al[...]

  • Page 121

    2006/05/31 CHAPTER 2 "PCL" - 103 "LOCUNIT=" specifies the location unit o f the font which is selected at present. The value field of the Set Status Readback Unit command is related to the valu e retu rned. For instance, if the printer font which is selected at present is a bold 12 point Presenta tion bitm ap font which is selec[...]

  • Page 122

    2006/05/31 CHAPTER 2 "PCL" - 104 For instance, a font extended response with the l ocation type set to 1( selected at present ) where the font which is selected at present is t he internal Pc Tennessee (18 point identi fied for printing) bold, returns the response as follows. PCL INFO FONTS EXTENDED SELECT="<Esc>(8U<Esc>([...]

  • Page 123

    2006/05/31 CHAPTER 2 "PCL" - 105 Status location ty pe 1 (selected at present) is an incorrect l ocation for unbound font sym bol sets and returns an error. Example responses in this section for "SYMBOLSETS=" do not indicat e the complete l ist of sym bol sets which are available internal ly, but only a part ial list . The i nte[...]

  • Page 124

    2006/05/31 CHAPTER 2 "PCL" - 106 8.5.17. Font cache In order to prin t ch aracters from a scalable font, the printer chang es th e scalable character outlines into sized bitmaps. These bitmapped charact ers are produced on a character-by-character basis and the produced bitmapped characters are st ored in mem ory. As it prints m ore pages[...]

  • Page 125

    2006/05/31 CHAPTER 2 "PCL" - 107 9. INDEX A adaptive compression ...................................................... 82 anchor point..................................................................... 92 AppleTalk configuration ................................................. 97 APT .................................................[...]

  • Page 126

    2006/05/31 CHAPTER 2 "PCL" - 108 horizontal tab ................................................................... 11 HP-GL/2 mode ................................................................ 91 I internal font ..................................................................... 40 italic ..........................................[...]

  • Page 127

    2006/05/31 CHAPTER 2 "PCL" - 109 status readback ................................................................ 99 status response ................................................................. 99 mem ory ..................................................................... 106 status response syntax .................................[...]

  • Page 128

    2006/05/31 CHAPTER 3 "PCL5C" - 1 CHAPTER 3 PCL5C[...]

  • Page 129

    2006/05/31 CHAPTER 3 "PCL5C" - 2 C ONTENTS 1. INTRODUCT ION................................................................................................................. 3 2. COLOR MO DES ................................................................................................................. 4 2.1. Using Simple Color Mode - Se[...]

  • Page 130

    2006/05/31 CHAPTER 3 "PCL5C" - 3 1. INTRODUCTION This chapter describes the enhanced comm ands for the PCL5C emul ation. PCL5C is upwards-com patible with PCL5e. For the commands of PCL5e, refer to “Chapter 2 PCL” whi ch describes the PCL5e emulat ion. If you are reading this technical manual for the first time, it is recomm ended tha[...]

  • Page 131

    2006/05/31 CHAPTER 3 "PCL5C" - 4 2. COLOR MODES The PCL5C emulat ion provides a B/W mode, whic h is the default, and three color m odes as follows; 1) Simple C olor Mode 2) PCL Color Mode 3) HP-GL/2 Color Mode Simple Col or Mode allows you to use a m aximum of 8 colors easily. PCL Color Mode allows you to use a maxim um of 16,000,000 colo[...]

  • Page 132

    2006/05/31 CHAPTER 3 "PCL5C" - 5 2.2. Using PCL Color Mode - Set PCL Color Setting Command ESC*v#W (27)(42)(118)#(87) <1Bh><2Ah><76h>#<57h> # = 6, 18 # stands for the number of byt es of data that foll ow this comm and. This command sets the palette size and transformation between the entered value and device-speci[...]

  • Page 133

    2006/05/31 CHAPTER 3 "PCL5C" - 6 [Example] If you want to send index No. 7,6,5,4,3,2,1,0; Enter ’ESC*v6W 00h 00h 04h 08h 08h 08h’ , then select Send Index No by Plane . Select 4 bits/index. (2 4 = 16 Palettes) ESC*r1A Start Raster Transfer ESC*b1V 10101010B Send Plane1 data (The Index No Bit0 data ) ESC*b1V 11001100B Send Plane2 data [...]

  • Page 134

    2006/05/31 CHAPTER 3 "PCL5C" - 7 (i.e.) ESC*b#V r, r, r, r , r... → Plane 1 1st raster ESC*b#V g, g, g, g , g... → Plane 2 ESC*b#W b, b, b, b , b... → Plane 3 ESC*b#V r, r, r, r, r... → Plane 1 2nd raster ESC*b#V g, g, g, g, g... → Plane 2 ** The Italic characters shown above are the index No. at the 4th pixel in the 1st raster.[...]

  • Page 135

    2006/05/31 CHAPTER 3 "PCL5C" - 8 ♣ Bits/index • Specifies the palette size at 2 n . n indicates bit s/index. ( n =4  2 4 =16 palettes) • When the encoding mode is 0 or 1, the palet te size selected by the bit s/index value specifies the range of the index No., which can be used for raster data. • The values specified by the en [...]

  • Page 136

    2006/05/31 CHAPTER 3 "PCL5C" - 9 ♣ Black reference for value #1, #2, #3 ♣ This mode specifi es the black value (the highest level of density). ♣ Each value indicates a color as follows; #1: red #2: green #3: blue Range: -32767 ~ 32767 • When the encoding mode is 2 or 3, t his setting is vali d. 2.3. Using HP-GL/2 Color Mode Two me[...]

  • Page 137

    2006/05/31 CHAPTER 3 "PCL5C" - 10 3. COLOR PALETTES 3.1. Set Color #1 Command ESC*v#A (27)(42)(118)#(65) <1Bh><2Ah><76h>#<41h> Range = -32767 ~ 32767 Default value = 0 • This command sets the red value in the palette. Use the Set Color to Pa lette command to set the v alu e • The value range to be set varies de[...]

  • Page 138

    2006/05/31 CHAPTER 3 "PCL5C" - 11 3.5. Select Color Command ESC*v#S (27)(42)(118)#(83) <1Bh><2Ah><76h>#<53h> # = 0 ~ current palette si ze Default value = 0 • This command selects the color as the index number in the p alette. • This comm and is vali d for text, underline, rule and graphi cs. • This comm and [...]

  • Page 139

    2006/05/31 CHAPTER 3 "PCL5C" - 12 4. COLOR GRAPHICS 4.1. Start Raster Transfer Command ESC*r#A (27)(42)(114)#(65) <1Bh><2Ah><72h>#<41h> # = 0 * Prints the image from the left edge of t he logical page. = 1 Prints th e image from the current cursor position. = 2 Ex ecu tes scaling. Prin ts the image from the left ed[...]

  • Page 140

    2006/05/31 CHAPTER 3 "PCL5C" - 13 4.4. Set Scale Algorithm Command ESC*t#K (27)(42)(116)#(75) <1Bh><2Ah><70h>#<4Bh> # = 0 * Takes the lighter overlying dots when reducing. = 1 Takes the darker overlying dots when reducing. * Default value = 0 • This command sets which algorithm the data is reduced by. • Any com[...]

  • Page 141

    2006/05/31 CHAPTER 3 "PCL5C" - 14 5. ENHANCE OUTPUT 5.1. Set Render Algorithm Command ESC*t#J (27)(42)(116)#(74) <1Bh><2Ah><70h>#<4Ah> # = 0 Scatter dither = 1 Snap to primaries = 2 Snap black to white, all other colors to black = 3 * Scatter dither = 4 Scatter dither = 5 M onochrome device best dit her = 6 M onoch[...]

  • Page 142

    2006/05/31 CHAPTER 3 "PCL5C" - 15 5.3. Set Gamma Correction Command ESC*t#I (27)(42)(116)#(73) <1Bh><2Ah><74h>#<49h> # = 0.0 ~ 32767.0 (command is ignored for inval id values) Default value = 0 (gamma correction off) This comma nd does not destroy the contents of the cu rrent palette, but setting a gamma value repl[...]

  • Page 143

    2006/05/31 CHAPTER 3 "PCL5C" - 16 6. HP-GL/2 A few HP-GL/2 comm ands are added for the HL- 2400C/Ce, HL-3400C N, HL-2600CN, HL-3450CN, HL- 2700CN color laser printer, and the feat ures of some existi ng comm ands are also expanded. The new or revised HP-GL/2 comm ands as follows are described in thi s chapter; ♣ Initialize Set Instructi[...]

  • Page 144

    2006/05/31 CHAPTER 3 "PCL5C" - 17 • PC [pen;]: sets the pen to the default co lor. Number of pens in palet te Pen number Color 2 (“NP 2;”) 0 Whit e 1 Black 4 (“NP 4;”) 0 Whit e 1 Black 2 Red 3 Green 8 (“NP 8;”) 0 Whit e 1 Black 2 Red 3 Green 4 Yellow 5 Blue 6 Magenta 7 Cyan ** If th e n umber of pens in the palette is over 8[...]

  • Page 145

    2006/05/31 CHAPTER 3 "PCL5C" - 18 7. INDEX A algorithm ......................................................................... 13 B B/W mode ......................................................................... 4 black value ........................................................................ 9 blue value .......................[...]

  • Page 146

    2006/05/31 CHAPTER 4 HP-GL/2 - 1 CHAPTER 4 HP-GL/2 GRAPHICS LANGUAGE[...]

  • Page 147

    2006/05/31 CHAPTER 4 HP-GL/2 - 2 C ONTENTS 1. COMMAND LI ST .................................................................................................................. 4 2. INTRODUCT ION .................................................................................................................. 6 3. TERMINOL OGY .......................[...]

  • Page 148

    2006/05/31 CHAPTER 4 HP-GL/2 - 3 7.6. Character Plot Instructions .................................................................................................... .3 8 7.6.1. Introduc tion ................................................................................................................... ........................ 39 8. INDEX ....[...]

  • Page 149

    2006/05/31 CHAPTER 4 HP-GL/2 - 4 1. COMMAND LIST DF Default set instruction 12 IN Initialize set instruction 13 IP Input scaling point 14 IR Input relative scaling points 14 SC Scale 15 IW Window 17 RO Rotate coordinate system 17 PU Pen up 18 PD Pen down 18 PA Plot absolute 19 PR Relative coordinate pen m ove 19 AA Draw absolute arc 20 AR Draw rela[...]

  • Page 150

    2006/05/31 CHAPTER 4 HP-GL/2 - 5 DI Absolute direction 45 DR Relative direction 46 DV Define variable text path 47 CP Relative character m ovement 47 CF Character fill m ode 48 SI Set absolute character size 48 SR Set relative character size 49 SL Character slant 49 SB Scalable or bitm ap fonts 50 ES Extra space 50 TD Transparent data 50[...]

  • Page 151

    2006/05/31 CHAPTER 4 HP-GL/2 - 6 2. INTRODUCTION Some of the HL series printers can be used in HP -GL/2 graphi cs mode to produce vector graphics out put using the comm ands of the HP-GL/2 graphics la nguage or to print out existi ng HP-GL/2 format im ages. HP-GL/2 is a part of the PCL em ulation, which i ncludes graphics comm and. The Default plot[...]

  • Page 152

    2006/05/31 CHAPTER 4 HP-GL/2 - 7 3. TERMINOLOGY 3.1. Picture Frame The printer frame i s the rectangular area of the page on which graphic out put can be printed. This is based on the logical page defined for the selected paper si ze. 3.2. Anchor Point The anchor point of the picture fram e is the top left hand corner of the frame. This can be move[...]

  • Page 153

    2006/05/31 CHAPTER 4 HP-GL/2 - 8 3.10. Absolute and Relative Plotting Drawing comm ands are of two distinct ty pes: absolute comma nds, in which the coordinates specifi ed are the absolute user or graphics coordinates and relative commands, whose coordinat es are relative to the coordinate position at which the previous graphics com mand term inate[...]

  • Page 154

    2006/05/31 CHAPTER 4 HP-GL/2 - 9 4. COMMAND SYNTAX An HP-GL and HP-GL/2 comm and can consist of up to four ite ms: a mnemonic, a parameter fi eld, a separator and a terminat or. 4.1. Mnemonic The two-letter m nemonic i s the name of the com mand and shoul d help remind you of i ts function. 4.2. Parameters Some comm ands have parameters following t[...]

  • Page 155

    2006/05/31 CHAPTER 4 HP-GL/2 - 10 5. THE HP-GL GRAPHICS WINDOW 5.1. Units When you first enter graphics m ode, the prevailing coordinate sy stem has it s origin in the bottom left hand corner of the graphics window and has x- and y-units of 1/1016". Using the SC comm and you can divide the axes into more convenient uni ts. The size of the grap[...]

  • Page 156

    2006/05/31 CHAPTER 4 HP-GL/2 - 11 6. PREPARING TO PRINT GRAPHIC IMAGES 6.1. Setting Up the Graphics Window Before entering HP-GL/2 mode you will p r obably want to set the dimensions an d position of th e PCL picture frame and hence the graphics window. (Remember that when you enter HP -GL/2 mode they are initially the same). To do this you will n [...]

  • Page 157

    2006/05/31 CHAPTER 4 HP-GL/2 - 12 7. COMMANDS 7.1. Initialize Commands DF - Default set instruction DF[;] • Returns the graphics m ode to default cond itions. The followin g are the default settings. Function Equivalent Instruction Condition Plot mode PA; Absolute plot ting Absolute direction DI 1,0; Horizontal Line type LT; Solid line Line patte[...]

  • Page 158

    2006/05/31 CHAPTER 4 HP-GL/2 - 13 IN - Initialize set instruction IN[;] • Returns the graphics mode to initial conditions; Function Equivalent Instruction Condition Plot mode PA; Absolute plotting Relative character directi on DR 1,0; Horizontal Line type LT; Solid line Line pattern length LT; 4% of distance from P1 t o P2 Window IW; Set at limit[...]

  • Page 159

    2006/05/31 CHAPTER 4 HP-GL/2 - 14 7.2. Plot Area and Unit Setting Instructions Instruction Function IP Scaling point IR Input relati ve scaling points SC Scale IW Input window RO Rotate coordinate sy stem IP - Input scaling point IP [ P1 X , P1 Y [,P2 X, P2 Y ]] [;] P1 X ; X coordinate of P1 P1 Y ; Y coordinate of P1 P2 X ; X coordinate of P2 P2 Y [...]

  • Page 160

    2006/05/31 CHAPTER 4 HP-GL/2 - 15 SC - Scale <HP-GL/2> SC [ X min , X max , Y min , Y max [, type ]] [;] (Type = 0) SC [ X min , X max , Y min , Y max , type [ left, bottom]] [;] ( Type =1) SC [ X min , X factor , Y min Y factor [, type ]] [;] ( Type = 2) X min ; X coordinate of P1 X max ; X coordinate of P2 Y min ; Y coordinate of P1 Y max ;[...]

  • Page 161

    2006/05/31 CHAPTER 4 HP-GL/2 - 16 • With typ e 1 scaling you can specify the percen tage of unused space that is to lie below, or to the left of, the isotropic area. • left specifies the percentage of unused space you want to lie to the left of the isotropic area and can be from 0 to 100. If you do not specify the value for left , it is automat[...]

  • Page 162

    2006/05/31 CHAPTER 4 HP-GL/2 - 17 IW - Window IW [ X 1 , Y 1 , X 2 , Y 2 ] [;] X 1 -Window lower left X coordinate Y 1 -Window lower left Y coordinate X 2 -Window upper right X coordinate Y 2 -Window upper right Y coordinate • This instruction sets t he window inside which drawing can be perform ed (the soft clip li mits). • Coordinates are spe[...]

  • Page 163

    2006/05/31 CHAPTER 4 HP-GL/2 - 18 7.3. Pen Control and Plot Instructions Instruction Function PU Pen Up PD Pen Down PA Plot Absolute PR Relative Coordinat e Pen Move AA Absolute Arc Plot AR Relative Arc Plot AT Absolute Three Point Arc RT Relative Three Poin t Arc PE Polyline Encoded CI Circle BR Bezier Relative BZ Bezier Absolute PU - Pen up PU [ [...]

  • Page 164

    2006/05/31 CHAPTER 4 HP-GL/2 - 19 PA - Plot absolute PA [ X, Y [,...]] [;] X ; X coordinate of the cursor m ovement dest ination Y ; Y coordinate of the cursor m ovement dest ination • Coordinates are absolute values in user or current units. • W hether used with or without parameters the comm and establishes absolute plotting as the plotting m[...]

  • Page 165

    2006/05/31 CHAPTER 4 HP-GL/2 - 20 AA - Draw absolute arc AA [ X, Y, qc [, qd ]] [;] X ; Arc centre X coordinate Y ; Arc centre Y coordinate qc ; Arc angle in degrees qd ; Chord angle in degrees • Coordinates are absolute coordinat es in current units. • Starting from t he current position, this com mand pl ots an arc centred on the absolute coo[...]

  • Page 166

    2006/05/31 CHAPTER 4 HP-GL/2 - 21 AR - Draw relative arc AR X, Y, qc (, qd )[;] X ; Arc centre X coordinate Y ; Arc centre Y coordinate qc ; Arc angle in degrees qd ; Chord angle in degrees • Coordinates are relative valu es in current units. • Starting from t he current cursor position the com mand plot s an arc whose centre is at the relative[...]

  • Page 167

    2006/05/31 CHAPTER 4 HP-GL/2 - 22 RT - Relative arc three point RT X 1 , Y 1 , X 2 , Y 2 [,qd] [;] X 1 ; x-coordinate of int ermediat e point Y 2 ; y-coordinate of i ntermedia te point X 2 ; x-coordinate of end point y 2 ; y-coordinate of end poi nt qd ; the chord angle used to draw the arc • The specified coordinates of the two point s are relat[...]

  • Page 168

    2006/05/31 CHAPTER 4 HP-GL/2 - 23 • The following flags are used: ':' - Select pen. The number which follows is the required pen number. A PE command that does not include a select pen comm and uses the currently selected pen. '<' - Pen up. The pen is raised and moved t o the sp ecified coordinate pair. All coordinate pair [...]

  • Page 169

    2006/05/31 CHAPTER 4 HP-GL/2 - 24 • To avoid placing an unwanted dot at the centre of th e circle precede the CI comm and with a PU comm and. 10 '-- Circle -- 20 WIDTH "LPT1:",255 30 LPRINT CHR$(27);"E"; 40 LPRINT CHR$(27);"%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SC-75,75,-75,75,1;" 70 LPRINT &[...]

  • Page 170

    2006/05/31 CHAPTER 4 HP-GL/2 - 25 7.4. The polygon group Instruction Function PM Polygon Mode EA Edge Absolute Rect angle ER Edge Relative Rectangle EP Edge Polygon EW Edge Wedge RA Fill Absolute Rectangle RR Fill Relative Rectangle WG Fill Wedge FP Fill Polygon PM - Polygon mode PM [ ms ] [;] • This command is used for entering and leaving polyg[...]

  • Page 171

    2006/05/31 CHAPTER 4 HP-GL/2 - 26 10 '-Edge Rectangle Absolute- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SC0,150,0,150,1;" 70 LPRINT "PA25;105;EA65;130;" 80 LPRINT "PA30;110;EA70,135;" 90 LPRINT "PA35;115;[...]

  • Page 172

    2006/05/31 CHAPTER 4 HP-GL/2 - 27 • r specifies the radius of the circle. A positive valu e for r places the 0° reference point onto the positive x- axis and a negative value for r places the 0° reference point onto the negative x-axis. • The value for q1 is a clamped real number. q1 qc r 0° reference point current position • q1 specifies [...]

  • Page 173

    2006/05/31 CHAPTER 4 HP-GL/2 - 28 90 LPRINT "FT4,100,45;RA4250,4750;" 100 LPRINT CHR$(27); "%0A"; 110 LPRINT CHR$(27); "E"; 120 END <Sample 34> RR - Fill rectangle relative RR X, Y[;] X ; X coordinate of opposite corner for t he rectangle Y ; Y coordinate of opposite corner for t he rectangle • Coordinates rela[...]

  • Page 174

    2006/05/31 CHAPTER 4 HP-GL/2 - 29 10 ' - Fill Wedge - 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP2;FT3,100;" 60 LPRINT "PA2000,5000;" 70 LPRINT "WG1250,90,180,5;" 80 LPRINT "SP3;EW1250,90,180,5;" 90 LPRINT "SP4;FT4,100,45;&[...]

  • Page 175

    2006/05/31 CHAPTER 4 HP-GL/2 - 30 7.5. Plot Function Instructions Instruction Function AC Anchor Corner FT Fill Type LA Line Attribute LT Line Type PW Pen Width RF Raster Fill Definition SM Symbol Mode SP Select Pen SV Screened Vectors TR Transparency Mode UL User-defined Line Type WU Select Unit for Pen Widt h AC - Anchor corner AC [ X, Y ] [;] X [...]

  • Page 176

    2006/05/31 CHAPTER 4 HP-GL/2 - 31 FT - Fill type FT n (, d (, q ))[;] n ; Fill type d ; option 1 q ; option 2 • Sets the fill type, interval and angle when filling an area. This setting is effectiv e for the commands FP, RA, RR, WG and CF. • The value for n must be a clamped integer num ber Fill type Description Option 1 Optio n 2 1 Solid black[...]

  • Page 177

    2006/05/31 CHAPTER 4 HP-GL/2 - 32 LA - Line attribute LA [ l , v [ , l , v [ , l , v ]]] [;] l ; line attribute v : value • This command specifies the shap e of line joins and line ends. • These settings are effective for the line widths thic ker than 0.35 mm . • l specifies the line attribute fo r which you are setti ng a value. • There ar[...]

  • Page 178

    2006/05/31 CHAPTER 4 HP-GL/2 - 33 LT - Line type selection LT [, n [, p [, m ]]] [;] n ; Line pattern num ber p ; Line pattern length (percentag e o r millimeters of distance between P1 and P2) m : mode • This comm and specifies the line patt ern for use when drawing lines with the vector group com mands. • n defines the line type to be used. n[...]

  • Page 179

    2006/05/31 CHAPTER 4 HP-GL/2 - 34 PW - Pen w idth PW [ w , [, p ]] [;] w ; width p ; pen • This comm and specifies the width of the pen. • Pen width can either be sp ecified as a fixed width in millimeters ( the default ) or relative to the d istan ce between the scaling points P1 and P2. • If a width of zero is specified the t hinnest width [...]

  • Page 180

    2006/05/31 CHAPTER 4 HP-GL/2 - 35 10 '--Raster Fill Definition== 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "PU5,5;PA3500,2500;" 70 LPRINT "RF2,8,4,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0, 0,;" 80 LPRI[...]

  • Page 181

    2006/05/31 CHAPTER 4 HP-GL/2 - 36 • With screen type 2 1 option 1 specifies one of si x predefined PCL cross-hatch patterns (pat terns 1 - 6). option 2 is ignored. • With screen type 2 2 , option 1 specifies the ID number of PC L user-defined pattern which is defi ned by the ESC*c#W command. option 2 is ignored. • With fill screen type 130 op[...]

  • Page 182

    2006/05/31 CHAPTER 4 HP-GL/2 - 37 170 'Source 2 180 LPRINT "FT10,50;PA4000,5000;RR500,500;PA4500,5500;RR500,500;" 190 LPRINT "FT10,1;PA4500,5000;RR500,500;PA4000,5500;RR500,500;FT;" 200 ' 210 '( POLYGON ) 220 LPRINT "PA2000,1000;PM0;PDPA4000,1000,3000,3000;PM1;" 230 LPRINT "PA2500,1200,3500,1200,300[...]

  • Page 183

    2006/05/31 CHAPTER 4 HP-GL/2 - 38 • The comma nd sets all pen widths to a default of 0.35mm . Hence it should be used before the PW co mmand . • Using the comm and with no param eter defaults the ty pe to 0 (met ric) and all pen widths t o 0.35mm . • The unit type is not affected by a DF command. 10 '-Pen Width Unit Selection- 20 WIDTH &[...]

  • Page 184

    2006/05/31 CHAPTER 4 HP-GL/2 - 39 7.6.1. Introduction The character group comm ands enable you to print text to accompany y our HP-GL/2 generated graphics without leaving graphi cs mode. You can use any font th at would be avail able to you in LaserJet em ulation mode and you can modify vari ous printing characteristi cs of the text such as the siz[...]

  • Page 185

    2006/05/31 CHAPTER 4 HP-GL/2 - 40 • attribute = 1 : Symbol set Valu e Name ISO number Valu e Name ISO number 1 Math - 7 - 2 Line Draw - 7 - 3 HP Large Characters - 4 Norwegian v1 60 5 Roman Exte nsions - 6 French v1 25 7 HP German - 8 Hebrew - 7 - 9 Italian 15 11 JIS ASCII 14 12 Line Draw - 7 - 13 Math - 7 - 14 EC MA-94 Latin1 (8-bit version) 885[...]

  • Page 186

    2006/05/31 CHAPTER 4 HP-GL/2 - 41 • attribute = 2 : Spacing Value Meaning 0 Monospacing 1 Proportional spacing • attribute = 3 : Pitch Specify pitch in characters per i nch (cpi). The pitch value you specify can be in the range 0 to 32767.9999. Pitch only applies to monospaced fonts. • attribute = 4 : Height Specify height in point s. One poi[...]

  • Page 187

    2006/05/31 CHAPTER 4 HP-GL/2 - 42 AD - Define alternate font AD [ attribute , value ] [..] [;] attribute : a font at tribute to be defined value : the value o f the attribute • This command allows you to d efine the alternate font and its attrib ute. • attribute takes a value from 1-7. 1 = symbol set, 2 = spacing, 3 = pitch, 4 = height , 5 = po[...]

  • Page 188

    2006/05/31 CHAPTER 4 HP-GL/2 - 43 FI - Select primary font FI font-ID [;] font-ID ; the identity number of any accessible font. • This command allows you to select any accessible font , which has previously been given an identity number in LaserJet mode, as the primary (standard) fon t. All subsequ ently printed labels will appear in the primary [...]

  • Page 189

    2006/05/31 CHAPTER 4 HP-GL/2 - 44 DT - Define label terminator DT [ c [, m ]] [;] c : Character m : mode • This command allows you to specify the character th at terminates strings p rinted with the LB instructio n. • The character immediately following DT is taken to be the terminator. Hence, do not put a space between the DT and your chosen c[...]

  • Page 190

    2006/05/31 CHAPTER 4 HP-GL/2 - 45 • When you use an LO instruction the ca rriage return point is set to b e the new label origin. To send th e p en back to a label's orig in when you have fin ish ed printing it, inclu d e a carriage return between the last character of the label and the terminating character. • If a label contains embedded[...]

  • Page 191

    2006/05/31 CHAPTER 4 HP-GL/2 - 46 90 LPRINT "DT";" 100 LPRINT "DT0,2;LB_*_1988#"; "DI2,2;LB_*_1989#"; 110 LPRINT "DT2,0;LB_*_1990#"; "DI2,-2;LB_*_1991#"; 120 LPRINT "DT0,-2;LB_*_1992#"; "DI-2,-2;LB_*_1993#"; 130 LPRINT "DT-2,0;LB_*_1994#"; "DI-2,2;LB_*_1995#&q[...]

  • Page 192

    2006/05/31 CHAPTER 4 HP-GL/2 - 47 DV - Define variable text path DV [ path [, line ]] [;] path : text pri nting path - horizontal or vertical, and left t o right, right to le ft, upwards or downwards. line : the effect of a line feed. • This com mand determ ines the printi ng direction for labels and t he carriage return point. • Permi ssible v[...]

  • Page 193

    2006/05/31 CHAPTER 4 HP-GL/2 - 48 CF - Character fill mode CF [ fill [, pen ]] [;] fill : the fill pattern used to fill ch aracters pen : the pen used to edge characters • This comm and determines how characters are edged an d filled. • Only scalable fonts can be both f illed and edged - bitm ap fonts and th e stick font cannot be edged and can[...]

  • Page 194

    2006/05/31 CHAPTER 4 HP-GL/2 - 49 10 ' -Absolute Character Size- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "PA700,3000;DT#;LBPrinter#" 70 LPRINT "PA700,2000;SI0.75,1;LBPrinter#" 80 LPRINT "SI;SD1,21,2,1,3,12,5,0,6,0,7[...]

  • Page 195

    2006/05/31 CHAPTER 4 HP-GL/2 - 50 10 ' -Character Slant- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27; "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SD1,21,2,1,4,25,5,0,6,0,7,5;SI0.7,1;" 70 LPRINT "PA1000,1000;DT#,1;SL0.36,LBPrinter#" 80 LPRINT "PA1000,300;SL-0.36;LB[...]

  • Page 196

    2006/05/31 CHAPTER 4 HP-GL/2 - 51 • mode is set to either 0 or 1. If mode is set to 0, control codes perform their norm al functions and are not printed. If mode =1, all characters are printe d, if possible. No c ontrol characters perform any function except the label terminator. Any non-prin ting or undefined characters appear as a space. • If[...]

  • Page 197

    2006/05/31 CHAPTER 4 HP-GL/2 - 52 8. INDEX A Absolute arc three point .................................................. 21 absolute comm ands ........................................................... 8 Absolute direction ........................................................... 45 Anchor corner .................................................[...]

  • Page 198

    2006/05/31 CHAPTER 4 HP-GL/2 - 53 Select primary font .......................................................... 43 Select secondary font ...................................................... 43 Select standard font ......................................................... 42 Select unit for pen width ..............................................[...]

  • Page 199

    2006/05/31 CHAPTER 5 PJL - 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE[...]

  • Page 200

    2006/05/31 CHAPTER 5 PJL- 2 C ONTENTS 1. INTRODUCT ION .................................................................................................................. 4 1.1. About PJL ................................................................................................................................... 4 1.2. In Case of Using PJL wit[...]

  • Page 201

    2006/05/31 CHAPTER 5 PJL - 3 6.2. Variables ................................................................................................................................... 18 6.2.1. Variables for HL-1050/1070/1250/1270N /1450/1470N/P2500/1650/1670N/3260N/2460/ 7050/1850/1870N/5040/5050/5070N/5140/5150D/5170DN/6050/6050D/6050DN/8050N/ 2070N/5240[...]

  • Page 202

    2006/05/31 CHAPTER 5 PJL- 4 1. INTRODUCTION 1.1. About PJL Printer Job Language(PJL) provides job status cont rol by sending the printe r status informat ion to the application. PJL can be a valuable t ool for the single-user environm ent, but is a m uch more useful tool for the networking / sharing envi ronment. PJL allows job-level control that c[...]

  • Page 203

    2006/05/31 CHAPTER 5 PJL - 5 1.2. In Case of Using PJL with a Non-PJL Printer Our recent printer models support PJL, however, earlier m odels do not . If the PJL comma nds are sent to a non-PJL printer, the printer acts as foll ows; 1.2.1. PCL jobs For a PCL printer which does not support the PJL langua ge, the PJL comm and is printed as ASCII text[...]

  • Page 204

    2006/05/31 CHAPTER 5 PJL- 6 1.3. PJL Syntax and Format Syntax <For Example> @PJL ENTER LANGUAGE = emulation [<CR>]<LF> @PJL PJL Prefix ENTER Comma nd name LANGUAGE Option name @PJL ENTER LANGUAGE Enter this portion verbatim [ ] The words in brackets [ ... ] indi cates optional paramete rs. You should not type the brackets themse l[...]

  • Page 205

    2006/05/31 CHAPTER 5 PJL - 7 1.4. Variables PJL can use alphanumeric vari ables, numeric vari abless and strings. 1.4.1. Alphanumeric variables The first character must always be a character in the allowable range of letters and d igits. Letters consists of the uppercase characters (ASCII 65-90) and lowercase characters (ASCII 97-122). Digi ts cons[...]

  • Page 206

    2006/05/31 CHAPTER 5 PJL- 8 2. HOW TO USE PJL 2.1. Overview PJL resides "above" printer languages such as Postscript and PC L. Each job can be distinguished from the other jobs by PJL, and it can switch between PJL comm ands and printer language comm ands for each job. PJL Code PCL Job PJL Code Postscript Job PJL Code 2.2. PJL Job Require[...]

  • Page 207

    2006/05/31 CHAPTER 5 PJL - 9 3. COMMAND GROUP Command Group Command Command Description Kernel Comm ands UEL Exits current printer language and returns control to PJL. EXECUTE Orders the printe r to execute the specified operation. SUPERUSER Moves to the SUPERUSER mode. SUPERUSEROFF Exit from the SUPERUSER mode. WNVRAM Write the specified da ta to [...]

  • Page 208

    2006/05/31 CHAPTER 5 PJL- 10 4. KERNEL COMMANDS 4.1. Introduction This section explains three PJL com mand, UEL , ENTER and COMMENT . These com mands provi de the minim um set of tools to operate job control . UEL comm and (Universal Exit Com mand) ENTER comm and COMMENT command 4.2. UEL Command The Universal Exit Com mand causes the printer t o ex[...]

  • Page 209

    2006/05/31 CHAPTER 5 PJL - 11 Example <ESC>%-12345X@PJL<CR><LF> @PJL EXECUTE DEMOPAGE <CR><LF> <ESC>%-12345X 4.4. ENTER Command The ENTER command speci fies which emulat ion the printer uses to print dat a. Syntax @PJL ENTER LANGUAGE = emulation [<CR>]<LF> Parameters • emulation The variables depend[...]

  • Page 210

    2006/05/31 CHAPTER 5 PJL- 12 Example <ESC>%-12345X@PJL<CR><LF> @PJL COMMENT -----------------------------<CR><LF> @PJL COMMENT -- PCL & PS JOB --<CR><LF> @PJL COMMENT -----------------------------<CR><LF> @PJL <CR><LF> @PJL SET RET = ON <CR><LF> @PJL ENTER LANGUAGE = [...]

  • Page 211

    2006/05/31 CHAPTER 5 PJL - 13 5. JOB SEPARATION COMMANDS 5.1. Introduction This section explains two PJL com mand, JOB and EOJ . These comm ands are used to determine the boundaries of a job. When these commands are used w it h status readback, the printer also can send status information at the beginni ng and end of each job. 5.2. JOB Command The [...]

  • Page 212

    2006/05/31 CHAPTER 5 PJL- 14 Example <ESC>%-12345X@PJL<CR><LF> @PJL JOB NAME = "KKK data from spooler" <CR><LF> <ESC>%-12345X@PJL<CR><LF> @PJL COMMENT Postscript Job <CR><LF> @PJL JOB NAME = "YYY data from spooler 2" <CR><LF> @PJL ENTER LANGUAGE = POSTSCRIPT[...]

  • Page 213

    2006/05/31 CHAPTER 5 PJL - 15 6. ENVIRONMENT COMMANDS 6.1. Introduction Our recent printers have many features which you are able to set using printer com mands, through the printer control panel or by using t he remote printe r consol e program. A com bination of PJL com mands and printe r emulation com mands al lows you to set printer features t [...]

  • Page 214

    2006/05/31 CHAPTER 5 PJL- 16 The diagram below illustrates how the en vironments interact and how th e modified print environment is affected. FACTORY DEFAULT ENVIRONMENT USER DEFAULT ENVIRONMENT PJL CURRENT ENVIRONMENT MODIFIED PRINT ENVIRONMENT @PJL INITIALIZE @PJL RESET LANGUAGE RESET, @PJL ENTER, OR ANY LANGUAGE SWITCH CONTROL PANEL OR @PJL DEF[...]

  • Page 215

    2006/05/31 CHAPTER 5 PJL - 17 6. Always use the PJL RESET command after a job is completed if the SET command is used in the PJL job. 6.1.4. PJL environment v ariables This section lists the PJL environ ment variables. Ther e are two kinds of PJL environment variables, General PJL environment variabl es and Printer language -specific vari ables. Fo[...]

  • Page 216

    2006/05/31 CHAPTER 5 PJL- 18 6.2. Variables 6.2.1. Variables for HL-1050/1070/ 1250/1270N/1450/1470N/P2500/1650/1670N/3260N/2460/ 7050/1850/1870N/5040/5050/5070N/5140/5150D/5170DN/6050/6050D/6050DN/8050N/ 2070N/5240/5250DN/5270DN/5280DW 1. General PJL Environment Variables The PJL environment variabl es which are not printer l anguage-specific are [...]

  • Page 217

    2006/05/31 CHAPTER 5 PJL - 19 Variables Descrip tio n Sample Value Range TIMEOUT Sets the timeout value for Automatic interface switching 1 to 99 seconds CDCCHIGH Sets the high-speed transfer mode of the Centronics interface to ON or OFF. ON or OFF (HL-1050/1070/1250/ 1270N/1450/1470N/P2500) DTRCTRL Selects when DTR becomes low. 0 = the printer is [...]

  • Page 218

    2006/05/31 CHAPTER 5 PJL- 20 Variables Descrip tio n Sample Value Range LANG Selects the language for the RPC program. ENGLISH, FRENCH, GERMAN, DUTCH, NORWEGIAN (HL-1050/1070/1250/1270N/ 1450/1470N/P2500) ENGLISH, FRENCH, GERMAN, DUTCH, NORWEGIAN, SPANISH, ITALIAN, SWEDISH, DANISH, JAPANESE (HL-1650/1670N/1850/1870N/ 5040/5050/5070N/5140/5150D/ 517[...]

  • Page 219

    2006/05/31 CHAPTER 5 PJL - 21 Variables Descrip tio n Sample Value Range CPLOCK Retu rn s the lock status of th e co ntrol panel. If OFF, the control panel is unlocked. If ON, the control panel is locked. OFF, ON (HL-1650/1670N/ 3260N/2460/7050/1850/1870N/ 5040/5050/5070N/5140/5150D/ 5170DN /6050/6050D/6050DN/ 8050N/2070N/ 5240/5250DN/5270 DN/5280D[...]

  • Page 220

    2006/05/31 CHAPTER 5 PJL- 22 Variables Descrip tio n Sample Value Range MEDIATYPE Media Type. The tem perature of fixing unit is adjusted depending on t his setting. REGULAR, THICK, THICK2, THIN, BOND, TRANSPARENCY (HL-1650/1670N) REGULAR, THICK, TRANSPARENCY (HL-3260N) REGULAR, THICK,THICK2, TRANSPARENCY, BOND, ENVELOPES (HL-2460) REGULAR, THICK,T[...]

  • Page 221

    2006/05/31 CHAPTER 5 PJL - 23 Variables Descrip tio n Sample Value Range INTRAY 3 (Read Only) Returns the auto-selection lock status for the optional lower pap er cassette. Returns the auto-selection lock status for the Tray3 (HL-8050N) LOCKED, UNLOCKED (HL-1650/1670N/3260N/2460/ 7050/1850/1870N/5040/5050/ 5070N/5140/5150D/5170DN/ 8050N / 5240/5250[...]

  • Page 222

    2006/05/31 CHAPTER 5 PJL- 24 Variables Descrip tio n Sample Value Range INTRAY2SIZE Selects the paper size in Tray2. Selects the paper size in Tray1 (HL- 7050/6050/6050D/6050DN / 5240/5250D N/5270DN/5280DW). LETTER, LEGAL, EXECUTIVE, A3, A4, B5, A5, A6, COM10, C5, DL, MONARCH, LEDGER, JISB4, LTRS, A4S, EXECUTIVES, B5S (HL-3260N) A4, LETTER, B5, EXE[...]

  • Page 223

    2006/05/31 CHAPTER 5 PJL - 25 Variables Descrip tio n Sample Value Range INTRAY4SIZE Selects the paper size in Tray4. Selects the paper size in Tray3 (HL- 7050/5240/5250DN/5270DN/5280DW). LETTER, LEGAL, EXECUTIVE, A3, A4, B5, A5, A6, COM10, C5, DL, MONARCH, LEDGER, JISB4, LTRS, A4S, XECUTIVES, B5S (HL-3260N) A4, LETTER, B5, EXECUTIVE, ENVELOPES, LE[...]

  • Page 224

    2006/05/31 CHAPTER 5 PJL- 26 Variables Descrip tio n Sample Value Range MPTRAYSIZE LETTER, LEGAL, EXECUTIVE, A3, A4, B5, A5, A6, COM10, C5, DL, MONARCH, LEDGER, JISB4, LTRS, A4S, EXECUTIVE, B5S (HL-3260N) ANY, LETTER, LEGAL, A4, EXECUTIVE, COM10, MONARCH, C5, DL, DLL, B5, A5, A6, B6, JISB5, A4LONG, POSTCARD, ORGANIZERJ, ORGANIZERK, ORGANIZERL, ORGA[...]

  • Page 225

    2006/05/31 CHAPTER 5 PJL - 27 Variables Descrip tio n Sample Value Range TRAY2SIZE A3, JISB4, LEDGER, A4, A4S, A5, B5, B5S, A6, LEGAL LETTER, LTRS, EXECUTIVE, EXECUTIVES, COM10, C5, DL MONARCH (HL-3260N) ANY, LETTER, LEGAL, A4, EXECUTIVE, B5, A5, JISB5, A4LONG, FOLIO (HL-1850/ 1870N/5040/5050/5070N/5140/ 5150D/5170DN) DETECTSENSOR, LETTER, LEGA>[...]

  • Page 226

    2006/05/31 CHAPTER 5 PJL- 28 Variables Descrip tio n Sample Value Range LOWTONER Continues printing when the toner is low. STOP, CONTINUE (HL-3260N/ 2460/7050/8050N) RAS1200MODE OFF, ON, TRUE (HL-1650/ 1670N/1850/1870N/5040/5050/ 5070N/5140/5150D/5170DN/ 6050/6050D/6050DN/2070N/524 0/5250DN/5270DN/5280DW) PSBINARY ON or OFF (HL-1650/1670N/ 2460/705[...]

  • Page 227

    2006/05/31 CHAPTER 5 PJL - 29 Variables Descrip tio n Sample Value Range HPESCE RESET, FF (HL-1650/1670N/ 2460/7050/1850/1870N/5040/ 5050/5070N/5140/5150D/ 5170DN/6050/6050D/6050DN/ 8050N/2070N/5240/5250DN/527 0DN/5280DW) PROTECTOFF AUTO, NORMAL (HL-1650/ 1670N/2460/7050/1850/1870N/ 5040/5050/5070N/5140/5150D/ 5170DN/6050/6050D/6050DN/ 8050N/2070N/[...]

  • Page 228

    2006/05/31 CHAPTER 5 PJL- 30 Variables Descrip tio n Sample Value Range PSCEILMODE FLOOR, CEIL (HL-1650/1670N/ 3260N/2460/7050/1850/1870N/ 5040/5050/5070N/5140/5150D/ 5170DN/6050/6050D/6050DN/ 8050N/5240/5250DN/5270DN/52 80DW) PS300RESO NO, IF2M, FORCE (HL-1650/ 1670N/3260N/2460/7050/1850/ 1870N/5040/5050/5070N/5140/ 5150D/5170DN/6050/6050D/ 6050DN[...]

  • Page 229

    2006/05/31 CHAPTER 5 PJL - 31 Variables Descrip tio n Sample Value Range GLPENSIZE1 1 to 16 (HL-3260N/2460/7050) 1 to 10 (HL-8050N) GLPENSIZE2 1 to 16 (HL-3260N/2460/7050) 1 to 10 (HL-8050N) GLPENSIZE3 1 to 16 (HL-3260N/2460/7050) 1 to 10 (HL-8050N) GLPENSIZE4 1 to 16 (HL-3260N/2460/7050) 1 to 10 (HL-8050N) GLPENSIZE5 1 to 16 (HL-3260N/2460/7050) 1[...]

  • Page 230

    2006/05/31 CHAPTER 5 PJL- 32 Variables Descrip tio n Sample Value Range TIMESETMIN 0 to 59 (HL-3260N/2460/ 7050/ 8050N) TIMESETSEC 0 to 59 (HL-3260N/2460/7050/ 8050N) TIMESTYLE UMD, MDY, DMY (Hl-3260N/ 2460/7050/8050N) SUMMERTIME ON or OFF (HL-3260N/2460/ 7050/8050N) ZONESET ON or OFF (HL-3260N/2460/ 7050/8050N) TIMEZONE -24 to 24 (HL-3260N/2460/70[...]

  • Page 231

    2006/05/31 CHAPTER 5 PJL - 33 Variables Descrip tio n Sample Value Range THICKPRDLY OFF, SHORT, NORMAL, LONG (HL-2460/7050) BONDPRDLY OFF, SHORT, NORMAL, LONG (HL-2460/7050) FLICKER MODE 0 to 63 (HL-2460/7050) APPLEUSBPS Sets Postscript Pure Binary Print ing from Macint osh via USB. ON, OFF (HL-1850/1870N/5040/ 5050/5070N/5140/5150D/ 5170DN/5240/52[...]

  • Page 232

    2006/05/31 CHAPTER 5 PJL- 34 Variables Descrip tio n Sample Value Range CARBON5TRAY Select input tray for the fifth page. REMAINING, MP, TR AY1, TRAY2 (If available) (HL-6050/ 6050D/6050DN/5270DN/5280D W) CARBON6TRAY Select input tray for the sixth page. REMAINING, MP, TRAY1, TRAY2 (If available) (HL-6050/ 6050D/6050DN/5270DN/5280D W) CARBON7TRAY S[...]

  • Page 233

    2006/05/31 CHAPTER 5 PJL - 35 2. PCL-Specific Variables The following values are PCL (HP LaserJet emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM : PCL opti on. Variables Description Sample Value Range PAPER Sets the paper size. LETTER, A4, LEGAL, EXECUTIVE, COM10, MONARCH, C5, DL, JISB5, A4LO[...]

  • Page 234

    2006/05/31 CHAPTER 5 PJL- 36 Variables Description Sample Value Range FONTSOURCE Sets th e font source to Internal fonts or Permanent Soft Fonts I or S (HL-1050/1070/1250/1270N/ 1450/1470N/P2500/1650/1670N/ 1850/1870N/5040/5050/5070N/ 5140/5150D/5170DN/2070N/5240/ 5250DN/5270DN/5280DW) I, C1, C2, S (HL-3260N/2460/ 7050) I, C,S (HL-6050/6050D/6050DN[...]

  • Page 235

    2006/05/31 CHAPTER 5 PJL - 37 Variables Description Sample Value Range SYMSET Sets the symbol set. ROMAN8, ISOL1, ISOL2, ISOL5, PC8, PC8DN, PC850, PC852, PC8TK, WINL1, WINL2, WINL5, DESKTOP, PSTEXT, VNINTL, VNUS, MSPUBL, MATH8, PSMATH, VNMATH, PIFONT, LEGAL, ISO2, ISO4, ISO6, ISO10, ISO11, ISO 14, ISO15, ISO16, ISO17, ISO21, ISO 25, ISO 57, ISO60, [...]

  • Page 236

    2006/05/31 CHAPTER 5 PJL- 38 3. EPSON-Specific Variables The following values are EPSON (EPSON FX-850 emul ati on) specific and can be set and requested usi ng PJL. These variables must be set using the LPARM : EPSON option. Variables Description Sample Value Range PAPER Sets the paper size. LETTER, A4, LEGAL, B5, EXECUTIVE, COM10, MONARCH, C5, DL,[...]

  • Page 237

    2006/05/31 CHAPTER 5 PJL - 39 Variables Description Sample Value Range FONTNUMBER Sets the font number 0 to n (HL- 1050/1070/1250/1270N/ 1450/1470N/P2500) 0 to 0x7FFFFFFF (HL-1650/ 1670N/3260N/2460/7050/1850/ 1870N/5050/5070N/5150D/ 5170DN/6050/6050D/6050DN/ 8050N/2070N/5240/5250DN/5270 DN/5280DW) PITCH Pitch of the default font in units of charact[...]

  • Page 238

    2006/05/31 CHAPTER 5 PJL- 40 4. IBM-Specific Variables The following values are IBM (IBM Proprinter XL emula tion) specifi c and can be set and requested using PJL. These variables must be set using the LPARM : IBM opt ion. Variables Description Sample Value Range PAPER Sets the paper size. LETTER, A4, LEGAL, B5, EXECUTIVE, COM10, MONARCH, C5, DL, [...]

  • Page 239

    2006/05/31 CHAPTER 5 PJL - 41 Variables Description Sample Value Range FONTNUMBER Sets the font number 0 to n (HL- 1050/1070/1250/1270N/ 1450/1470N/P2500) 0 to 0x7FFFFFFF (HL-1650/ 1670N/3260N/1850/1870N/5050/ 5070N/5150D/5170DN/6050/6050 D/6050DN/ 8050N/2070N5240/5250DN/5270 DN/5280DW) PITCH Pitch of the default font in units of characters per inc[...]

  • Page 240

    2006/05/31 CHAPTER 5 PJL- 42 5. PostScript-Specific Variables The following values are PostScript ( BR-Script ) specific and can be set and requested using PJL. The BR- Script mode i s standard in some m odels but m ay be availabl e only when the optional B R-Script 2 ROM board is installed into the printer. These variab les must be set using the L[...]

  • Page 241

    2006/05/31 CHAPTER 5 PJL - 43 6. HPGL-Specific Variables The following values are HPGL (HP LaserJet emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM: HPGL option. Variables Description Sample Value Range PAPER Sets the paper size. LETTER, LEGAL, EXECUTIVE, A4, JISB5, B5, A5, B6, A6, COM10, DL, [...]

  • Page 242

    2006/05/31 CHAPTER 5 PJL- 44 6.2.2. Variables for HL-1660e/ 2060/2400C/2400Ce/3400CN/2600CN/3450CN/2700CN 1. General PJL Environment Variables The PJL environment variabl es which are not printer l anguage-specific are listed i n the following table. When using these valuables, do not use the LPARM com mand. Variables Description Sample Value Range[...]

  • Page 243

    2006/05/31 CHAPTER 5 PJL - 45 Variables Description Sample Value Range DUPLEX Duplex mode ON, OFF BINDING Ret urns the setting of binding edge selection for duplex print ing. LONGEDGE, SHORTEDGE FIRSTPRINT First prin t mode. This makes the first print speed faster by starting the polygon m irror motor at Power On. Setting to MIDDLE is effective onl[...]

  • Page 244

    2006/05/31 CHAPTER 5 PJL- 46 Variables Description Sample Value Range TIMESETMIN * Clock: minute set ting 0 to 59 TIMESETSEC * Clock: second setting 0 to 59 TIMESTYLE * Sets the display style of the clock. YMD (YYYY/MM/DD hh/mm ), MDY (MM/DD/YYYY hh/m m), DMY (DD/MM/YYYY hh/m m) SUMMERTIME * Clock: summ er time set ting OFF, ON ZONESET * Clock: t i[...]

  • Page 245

    2006/05/31 CHAPTER 5 PJL - 47 6.3. Default Command The DEFAULT comm and changes the User-Default environm ent which is stored i n NV-RAM and it is activated following a PJL reset condi tion. The current print environm ent is not affected by the DEFAULT comm and, but when a PJL reset condition happens, th i s comm and takes effect. This doesn't[...]

  • Page 246

    2006/05/31 CHAPTER 5 PJL- 48 6.5. Reset Command The PJL RESET command resets the PJL Current Environment variables to the User Default valu es. Use this comm and at the end of any PJL jobs in which t he PJL SET command was used. Syntax @PJL RESET [<CR>]<LF> Parameters • The RESET comma nd has no parameters • When an application such[...]

  • Page 247

    2006/05/31 CHAPTER 5 PJL - 49 Examples: <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT Setting PCL job <CR><LF> @PJL COMMENT to desired state <CR><LF> @PJL SET RET = DARK <CR><LF> @PJL SET PAGEPROTECT = OFF <CR><LF> @PJL SET RESOLUTION = 600 <CR><LF> @PJL ENTER LANGUAGE = PCL &l[...]

  • Page 248

    2006/05/31 CHAPTER 5 PJL- 50 7. STATUS READBACK COMMANDS 7.1. Introduction Applications can request, by sendi ng a PJL comm and to the printer, inform ation such as the configuration and status of the printer. The print er can be programm ed to send back this inform ation when requested and also can send back voluntarily unsol icited inform ation o[...]

  • Page 249

    2006/05/31 CHAPTER 5 PJL - 51 7.2. Inquire Command The INQUIRE comm and is used in order to get the inform ation of the current value of a specifi ed variable in the PJL DEFAULT setting. (PJL environ ment). It is possib le to g et the information for variables the value of which PJL cannot change (Read-only). This INQUIRE comm and can request only [...]

  • Page 250

    2006/05/31 CHAPTER 5 PJL- 52 Example 2 : This example requests the PCL-specific settings. <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT ***Inquiring PCL settings*** <CR><LF> @PJL ECHO 19:20:05 02-20-1993 <CR><LF> @PJL INQUIRE LPARM:PCL FONTSOURCE<CR><LF> @PJL INQUIRE LPARM:PCL FONTNUMBER<CR><[...]

  • Page 251

    2006/05/31 CHAPTER 5 PJL - 53 Examples Example 1 : This example request s the current print environm ent settings for RET, PAPER, and OR IENTATION : <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT ***Requesting*** <CR><LF> @PJL COMMENT about User Default Settings** <CR><LF> @PJL ECHO 20:30:00 02-20-1993<CR>&l[...]

  • Page 252

    2006/05/31 CHAPTER 5 PJL- 54 Response Syntax @PJL ECHO [< words >] <CR><LF> <FF> • < words > The beginning of this param eter must be a print able character. Then this param eter consists of characters from ASCII 33 to 255, space character s and horizontal tab characters. This < words > parameter can be written[...]

  • Page 253

    2006/05/31 CHAPTER 5 PJL - 55 Parameters Category Information requesting ID The printer model number. Fo r example the HL-1660e will return 'Brother HL-1660e'. CONFIG A list of the printer conf iguration information (availab le o p tions) within the format of the num ber of type s and/or the description of each available type of; paper so[...]

  • Page 254

    2006/05/31 CHAPTER 5 PJL- 56 7.5.2. CONFIG category The application can use @PJL INFO CONFIG comm and to have the p rinter return a list of pr in ter configuration inform ation. The list consi sts of th e inform ation on paper sources, paper sizes, languages, USTATUS (unsolicited stat us) comma nds, font sources, RAM size, num ber of lines and char[...]

  • Page 255

    2006/05/31 CHAPTER 5 PJL - 57 Example The application send s the following co mmand to the pr inter : <ESC>%-12345X@PJL<CR><LF> @PJL INFO CONFIG<CR><LF> <ESC>%-12345X The printer may send back the answer for the above INFO comm and : @PJL INFO CONFIG<CR><LF> IN TRAYS [1 ENUMERATED]<CR><LF>[...]

  • Page 256

    2006/05/31 CHAPTER 5 PJL- 58 7.5.4. STATUS category The application can use the @PJL INFO STATUS comm and to check the printe r on-line/off-line status, the current message on the LCD and a st atus code. The ONLINE=TRUE indicates the printer i s online, while the ONLINE=FALSE shows it is off-line. Refer to th e list o f the PJL Status Codes in the [...]

  • Page 257

    2006/05/31 CHAPTER 5 PJL - 59 C5<CR><LF> DL<CR><LF> B5<CR><LF> ORIENTATION=PORTRAIT [2 ENUMERATED]<CR><LF> PORTRAIT<CR><LF> LANDSCAPE<CR><LF> FORMLINES=60 [2 RANGE] 5<CR><LF> 128<CR><LF> MANUALFEED=OFF [2 ENUMERATED]<CR><LF> OFF<CR><[...]

  • Page 258

    2006/05/31 CHAPTER 5 PJL- 60 A4<CR><LF> EXECUTIVE<CR><LF> MONARCH<CR><LF> COM10<CR><LF> C5<CR><LF> DL<CR><LF> B5<CR><LF> LPARM:PCL FONTSOURCE=I [4 EMULATED]<CR><LF> I<CR><LF> C<CR><LF> C1<CR><LF> S<CR><LF> [...]

  • Page 259

    2006/05/31 CHAPTER 5 PJL - 61 Parameters Variable Value Description DEVICE ON Makes unsolicited device status vali d for any status change VERBOSE Makes unsolicited device st atus valid for any of PJL parser warning, error and status change OFF Makes unsolicited device stat us invalid for any status change JOB ON Makes unsolicited job stat us (repo[...]

  • Page 260

    2006/05/31 CHAPTER 5 PJL- 62 The printer status to be sent to the host computer are ; • Device status changes - printer cove r open, paper jams, paper out, etc • Job status changes - completion of the printing of a job, receiving a JOB comma nd • Page status changes - ejecting a printed page All the unsolicited status information (USTATUS DEV[...]

  • Page 261

    2006/05/31 CHAPTER 5 PJL - 63 35000 - 25999 Errors which m ay cause incorrect printing resul ts, such as loss of some pri nt data on a page. The operator's interventi on may be required. 40000 - 40999 Errors such as paper empty , cover open or paper jams whic h suspend printing until the operator takes the corresponding corrective action. 4100[...]

  • Page 262

    2006/05/31 CHAPTER 5 PJL- 64 @PJL USTATUS JOB<CR><LF> END<CR><LF> NAME = "JOB 88554"<CR><LF> PAGES=5<CR><LF> <FF> 7.6.3. PAGE variable The @PJL USTATUS PAGE = ON comm and allows the printer to send t he information about t he print completi on of a particular page. Using this com ma nd[...]

  • Page 263

    2006/05/31 CHAPTER 5 PJL - 65 7.7. USTATUSOFF Command The @PJL USTATUSOFF comm and makes all unsol icited status report ing inactive. Syntax @PJL USTATUSOFF [<CR>]<LF> Parameters There are no parameters for this com mand. Example <ESC>%-12345X@PJL <CR><LF> @PJL USTATUSOFF <CR><LF> @PJL USTATUS DEVICE = ON &[...]

  • Page 264

    2006/05/31 CHAPTER 5 PJL- 66 8. DEVICE ATTENDANCE COMMANDS 8.1. Introduction You can change display m essages on the printer control pa nel by using PJL. The Operator can be al erted by this feature to what specific act ions should be taken. This chapter shows y ou three device attendance co mmand s. RDYMSG By using this comm and, you can change th[...]

  • Page 265

    2006/05/31 CHAPTER 5 PJL - 67 The following is an example of how to rest ore the display to the normal ready message. <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT Normal READY message <CR><LF> @PJL RDYMSG DISPLAY = "" <CR><LF> @PJL EOJ NAME = "End of Tom's Job" <CR><LF> <E[...]

  • Page 266

    2006/05/31 CHAPTER 5 PJL- 68 Parameters Parameter Functi onal Range Default DISPLAY = " message " ASCII 33 and ASCII 35 through 255, < SP >, < HT > N/A key ONLINE, RESET N/A DISPLAY = " message " You can use any combinati on of characters available on the printe r except for the quotation m arks (ASCII 34) up to 16 c[...]

  • Page 267

    2006/05/31 CHAPTER 5 PJL - 69 9. INDEX C COMMENT comm and .................................................... 11 conditions .......................................................................... 8 context switching ............................................................ 12 D DEFAULT comm and ...........................................[...]

  • Page 268

    2006/05/31 CHAPTER 6 EPSON - 1 CHAPTER 6 EPSON FX-850[...]

  • Page 269

    2006/05/31 CHAPTER 6 EPSON - 2 C ONTENTS 1. COMMAND LIST................................................................................................................... 3 2. INTRO DUCTION ................................................................................................................... 5 3. EMULATION DE TAILS ...................[...]

  • Page 270

    2006/05/31 CHAPTER 6 EPSON - 3 1. COMMAND LIST NUL Null 9 BEL Bell 9 SP Space 9 BS Backspace 9 CR Carriage return 9 LF Line Feed 9 FF Form Feed 9 Esc SP n Set inter-character space 10 Esc a n Select justification mode 10 Esc $ n1 n2 Set absolute print position 10 Esc n1 n2 Set relative print position 10 Esc < Select unidirectional printing 10 [...]

  • Page 271

    2006/05/31 CHAPTER 6 EPSON - 4 Esc H Cancel double-strike mode 18 Esc W n Select / Cancel double-width printing 18 SO Select single-line double-width printing (I) 18 Esc SO Select single-line double-width printing (II) 18 DC4 Cancel single-line double-width printing 18 Esc 4 Select italic mode 19 Esc 5 Cancel italic mode 19 Esc S n Select superscri[...]

  • Page 272

    2006/05/31 CHAPTER 6 EPSON - 5 2. INTRODUCTION In this mode y ou can control the HL-Series printe rs that support this em ulation directl y by incorporating control codes and escape sequences into your progr am . Alternatively, applications software (for example, your word-processing or spreadsheet so ftware) ma y send the necessary commands to the[...]

  • Page 273

    2006/05/31 CHAPTER 6 EPSON - 6 3. EMULATION DETAILS The following points shoul d be borne in mind when using t he printer in Epson FX-850 m ode. 3.1. Ignored Commands The following comm ands are ignored: the BEL control code (ASC II code 7) which is norm ally used to sound a printer’s bell, the DC1 (ASCII 17) and DC3 (ASC II 19) control codes, us[...]

  • Page 274

    2006/05/31 CHAPTER 6 EPSON - 7 4. TERMINOLOGY 4.1. Syntax The following conventions are used in thi s descri ption of the Epson FX-850 m ode software comm ands: A single letter, two or three-letter control co de mnemonic, or number in upright bold text is a literal character and should be sent to the printer as the charact er code. A letter or word[...]

  • Page 275

    2006/05/31 CHAPTER 6 EPSON - 8 5. CONTROLLING THE PRINTER Comm ands are invoked using either control codes or escape sequences. You can send them to the printer as part of a program using the same com mand t hat you would use to print a stri ng on the printer. For example in BASIC you would use the LPRINT com mand. The printer’s control panel can[...]

  • Page 276

    2006/05/31 CHAPTER 6 EPSON - 9 6. COMMANDS 6.1. Basic printer operations The most com mon printer operat ions are described in th is secti on. Some are invoked using cont rol codes alone - the rest require escape sequences. For the sa ke of complet eness, several instructions which are part of the Epson FX-850 mode inst ruction sets, but whic h an [...]

  • Page 277

    2006/05/31 CHAPTER 6 EPSON - 10 Set inter-character space EscSPn (27)(32)n <1Bh><20h>n • This command allows you to set the space between successive characters. • n is the space between charact ers in multiples of 1/120". • n must be in the range 0 to 127. LPRINT CHR$(27); CHR$(32); CHR$(5); 'Set 1/24" char space Se[...]

  • Page 278

    2006/05/31 CHAPTER 6 EPSON - 11 Set data MSB to 0 Esc= (27)(61) <1Bh><3Dh> • This command enables you to set the most significan t b it of incoming data bytes to 0 . • This comm and does not affect data com prising a graphics im age or data that defines a downloadable character. LPRINT CHR$(27); CHR$(61); 'Set MSB to 0 Set data[...]

  • Page 279

    2006/05/31 CHAPTER 6 EPSON - 12 Reset printer / change emulation mode EscCR<mode> (27)(13)mode <1Bh><0Dh>mode • This command enables you to switch emulation mode or to reset th e printer. • Change emulati on mode by setti ng mode to the appropriate letter or p air o f letters. Set mode to ‘D’ to switch to Diablo mode, ‘H[...]

  • Page 280

    2006/05/31 CHAPTER 6 EPSON - 13 Enable out-of-paper sensor Esc9 (27)(57) <1Bh><39h> The printer ignores this com mand. Disable out-of-paper sensor Esc8 (27)(56) <1Bh><38h> The printer ignores this com mand. 6.2. Page set up Set page length EscC n (27)(67)n <1Bh><43h>n This command sets the page length in lines. o[...]

  • Page 281

    2006/05/31 CHAPTER 6 EPSON - 14 • If the bottom m argin specified by t his comm and would be located above the top m argin, the comm and is ignored. LPRINT CHR$(27); CHR$(78); CHR$(4); 'Set bottom margin to 4 lines.[...]

  • Page 282

    2006/05/31 CHAPTER 6 EPSON - 15 Cancel perforation skip EscO (27)(79) <1Bh><4Fh> This command cancels the autom atic perforation skip feat ure. LPRINT CHR$(27); CHR$(79); 'Cancel perforation skip. 6.3. Line Spacing Select 1/6" line spacing Esc2 (27)(50) <1Bh><32h> • This command sets the line spacing to 1/6 "[...]

  • Page 283

    2006/05/31 CHAPTER 6 EPSON - 16 Perform n/216" reverse line feed Escjn (27)(106)n <1Bh><6Ah>n This comm and performs a singl e reverse line feed, moving t he print position up the page by n / 216". • This command does not perform a carriage return. • The current line spacing setting is not affected. • n must be in the ra[...]

  • Page 284

    2006/05/31 CHAPTER 6 EPSON - 17 Escbnm1m2m3...NUL (27)(98)nm1m2m3...(00) <1Bh><62h>nm1m2m3...<00h> • You can set up to eight different sets of vert ical tab stops and select any of these sets for use at any time. Each set of t ab stops is called a channel - channels are numbered from 0 to 7. • Channel 0 normall y holds the set[...]

  • Page 285

    2006/05/31 CHAPTER 6 EPSON - 18 Set pitch to 12 characters per inch EscM (27)(77) <1Bh><4Dh> This comm and sets the printing pi tch to 12 characters per inch (cpi). LPRINT CHR$(27); CHR$(77); 'Set pitch to 12 cpi Select / cancel proportional spacing Escpn (27)(112)n <1Bh><70h>n • This comm and allows you to t urn prop[...]

  • Page 286

    2006/05/31 CHAPTER 6 EPSON - 19 Select double-strike mode EscG (27)(71) <1Bh><47h> This comm and turns double-strike m ode on. Subsequent text is printed with a bol d stroke width. LPRINT CHR$(27); CHR$(71); 'Turn double-strike printing mode on Cancel double-strike mode EscH (27)(72) <1Bh><48h> This comm and turns doubl[...]

  • Page 287

    2006/05/31 CHAPTER 6 EPSON - 20 Select italic mode Esc4 (27)(52) <1Bh><34h> • This command enables the italic printing mode. Subsequent text is pr in ted in italic style. • You can still use italic text even after selecting the extended character set with the Esc t comma nd . LPRINT CHR$(27); CHR$(52); 'Italic mode Cancel itali[...]

  • Page 288

    2006/05/31 CHAPTER 6 EPSON - 21 Select printing mode Esc!n (27)(33)n <1Bh><21h>n • This comm and allows you to select a combination of print ing modes with just one comm and. • The various modes are weighted as shown. A dd the num bers that correspond to each mode you require and set n to the total. 10 characters per inch 0 12 chara[...]

  • Page 289

    2006/05/31 CHAPTER 6 EPSON - 22 Select international character set EscRn (27)(82)n <1Bh><52h>n • This command selects one of the available internation al character sets, refer to the printer User Guid e for supported character sets. • Each character set varies slightly from the others and contains a sm all number of special characte[...]

  • Page 290

    2006/05/31 CHAPTER 6 EPSON - 23 6.6. Using customized characters Define characters Esc&NUL n 1 n 2 ( n 3 <character definition data>) (27)(38)(00)n1n2(n3....) <1Bh><26h><00h>n1n2(n3...) • This comm and enables you to define and downl oad characters for printing. • Monospaced characters are designed on a grid eleven d[...]

  • Page 291

    2006/05/31 CHAPTER 6 EPSON - 24 characters Copy ROM character to RAM Esc:000 (27)(58)(00)(00)(00) <1Bh><3Ah><30h><30h><30h> • In order to use your own customized characters in conjunction wit h the standard characters contained in the printer, you must first dow nload the printer stan dard ROM characters to the prin [...]

  • Page 292

    2006/05/31 CHAPTER 6 EPSON - 25 • c is the character which signifies t he graphics mode: K = singl e-density (60 dpi), L = double-densit y (120 dpi), Y = double-speed, double-density (120 dpi) and Z = quadruple-density (240 dpi ). • m defines the new horizontal resolut ion to be assigned to the specified graphics m ode. m must be in the range 0[...]

  • Page 293

    2006/05/31 CHAPTER 6 EPSON - 26 Print single-density image EscKn 1 n 2 <image data> (27)(75)n1n2.... <1Bh><4Bh>n1n2.... • This comm and enables you to define and print a si ngle line raster bit im age on a single text line. • n 1 and n 2 define the number of byte s that comprise the im age. • The image consists of 256* n 2 +[...]

  • Page 294

    2006/05/31 CHAPTER 6 EPSON - 27 Print double-speed double-density image EscYn 1 n 2 <image data> (27)(89)n1n2.... <1Bh><59h>n1n2.... • This comm and enables you to define and print a si ngle line raster bit im age on a single text line. • n 1 and n 2 define the number of byte s that comprise the im age. • The image consists [...]

  • Page 295

    2006/05/31 CHAPTER 6 EPSON - 28 7. INDEX 9 9 bit image ....................................................................... 25 A absolute print position ..................................................... 10 B Backspace .......................................................................... 9 C Carriage return ..............................[...]

  • Page 296

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 1 CHAPTER 7 IBM PROPRINTER XL[...]

  • Page 297

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 2 C ONTENTS 1. COMMAND LIST................................................................................................................... 3 2. INTRO DUCTION ................................................................................................................... 5 3. EMULATION DE TAILS ..........[...]

  • Page 298

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 3 1. COMMAND LIST NUL Null 8 BEL Bell 8 ESC Escape 8 SP Space 8 BS Backspace 8 LF Line Feed 8 FF Form Feed 8 CR Carriage return 8 Esc5n Automatic line feed 9 DC1 Enable printer 9 EscQ22 Disable printer 9 EscQ3 Disable printer 9 EscCRmode Reset printer / change emulation mode 9 EscCR!#R User reset 9 EscEMn Paper[...]

  • Page 299

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 4 EscKn1n2<image data> 18 Set single-density image m ode EscLn1n2<image data> 18 Set double-density image m ode EscYn1n2<image data> 19 Set double-speed, double-density image m ode EscZn1n2<image data> 20 Set quadruple-density image m ode[...]

  • Page 300

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 5 2. INTRODUCTION Some of these HL Series printers offer a complete emulation of the IBM Proprinter. In Pro printer XL mode you can drive the pri nter directly by incor porating control codes and escape sequences in y our program, or alternat ively, applications soft ware (for example, your word-p rocessing sof[...]

  • Page 301

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 6 3. EMULATION DETAILS The following points should be borne i n mind when running t he HL Series printers in IBM Propri nter XL mode. 3.1. Ignored Commands A few IBM Proprinter XL com mands have reduced effect, or no effect at all. In som e cases this is due to the physical nature of an HL Series prin ter. Thes[...]

  • Page 302

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 7 4. NOTATION USED IN THIS EMULATION DESCRIPTION 4.1. Syntax The following conventions are used in t his description of the Proprinte r XL software comm ands. A letter, word or number in upright bold text is the literal character which and should be sent to the printer as a character code. A letter or word in i[...]

  • Page 303

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 8 5. COMMANDS 5.1. Basic Printer Operation The most com mon printer operat ions are described in this secti on. Most are invoked using control codes. For the sake of completeness t he instructions which HL Series print ers ignore are included. Null NUL (0) <0h> NUL (ASCII 0) is ignored. Bell BEL (07) <[...]

  • Page 304

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 9 Automatic line feed Esc5n (27)(53)n <1Bh><35h>n • When automatic line feed is ON, a line feed is automatically performed every tim e a carriage return is sent to the printer. • To turn the automatic line feed function ON, set n to 1. • To turn the automatic line feed function OFF, set n to 0[...]

  • Page 305

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 10 Paper input control EscEMn (27)(25)n <1Bh><19h>n n Value HL-1660e/2060/3260N/2460/7050/1650/1670N/1850/ 1870N/5050/5070N/ 5150D/5170DN/6050/6050D/6050DN/ 8050N/5240/5250DN/5270DN/5280DW n = 0 In itialize th e feeder mode. n = 1 Feed from the MP tray. (Except for HL-8050N) n = 2 Feed from Tray 1. [...]

  • Page 306

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 11 5.2. Page Format Set page length EscCn (27)(67)n <1Bh><43h>n This command sets the page length in lines. or EscCNULn (27)(67)(0)n <1Bh><43h><00h>n • This comm and sets the page lengt h in inches. • n is the number of lines that m ake up one page, or the length of the page in[...]

  • Page 307

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 12 Line spacing and tabs Set 1/8" line spacing Esc0 (27)(48) <1Bh><30h> This command sets the line spacing to 1/8". All su bsequent line feed op erations will move the print position 1/8" down the page. LPRINT CHR$(27); CHR$(48); 'Set line spacing to 1/8". Set 7/72" lin[...]

  • Page 308

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 13 Set horizontal tabs EscD<n1><n2><n3>...NUL (27)(68)n1n2n3...(00) <1Bh><44h>n1n2n3...<00h> • This comm and enables you t o set up to 28 horizontal tab st ops using the current character pitch. • The tab stops should be set i n ascending order. • Esc D 0 clears all hor[...]

  • Page 309

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 14 5.3. Using Characters Select character set I Esc7 (27)(55) <1Bh><37h> This comm and selects IBM Charact er set I for use in subsequent printing operations. LPRINT CHR$(27); CHR$(55); 'Select character set I Select character set II Esc6 (27)(56) <1Bh><36h> This comm and selects IB[...]

  • Page 310

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 15 Set enlarged character mode for a single line SO (14) <0Eh> • This comm and turns enlarged character m ode on for one line only. The subsequent line of text is printed using double-width characters and with the line space setting doubled. • The following comm ands cancel enlarged character mode set[...]

  • Page 311

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 16 Underline mode Esc-n (27)(126)n <1Bh><7Eh>n • This comm and turns character underli ning on or off. • If n is set to 1 subsequent t ext is underlined. • Horizontal tab spaces are not unde rlined irrespective of whether underlining m ode is on or off. • If n is set to 0 subsequent t ext is[...]

  • Page 312

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 17 Select a character from the All Character Code table Esc^<char-code> (27)(94)<Char-code> <1Bh><5Eh><Char-code> • This comm and enables you to print a single ch aracter from the All Ch aracter Code table. • A control code is not execu ted if the code is sent immediately follo[...]

  • Page 313

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 18 • If bits 1 and 2 of n 4 are 01 the least significant bit of each data by te is replicated in rows 9 to 12 of the grid. • If bits 1 and 2 of n 4 are 10 the bits 1 to 4 of each data byte ar e replicated in rows 9 to 12 of the grid. • Bits 5 t o 7 of n 5 specify the number of colum ns left blank to the l[...]

  • Page 314

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 19 • Images are printe d at an approximat e horizontal resoluti on of 120 dots per inch and at an approxim ate vertical resolution of 72 dot s per inch. • Each byte represents a vertical co lumn of eight dots, the most si gnificant bit representing t he dot at the top. Simpl y set a bit to 1 if y ou want a [...]

  • Page 315

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 20 Set quadruple-density image mode EscZn 1 n 2 <image data> (27)(90)n1n2<image data> <1Bh><5Ah>n1n2<image data> • This comm and enables you to define and pri nt a single line raster bit image on a single t ext line. • n 1 and n 2 define the number of by tes that comprise t he [...]

  • Page 316

    2006/05/31 CHAPTER 7 IBM PROPRINTER - 21 6. INDEX A Automatic line feed ........................................................... 9 B Backspace .......................................................................... 8 C cancel .............................................................................. 15 Carriage return ....................[...]

  • Page 317

    2006/05/31 CHAPTER 8 BAR CODE CONTROL - 1 CHAPTER 8 BAR CODE CONTROL[...]

  • Page 318

    2006/05/31 CHAPTER 8 BAR CODE CONTROL - 2 C ONTENTS 1. INTRO DUCTION ................................................................................................................... 3 2. PRINT BAR CODES OR EXPANDED CHARACT ERS ........................................................ 4 3. DEFINITION OF PARAMETER S ................................[...]

  • Page 319

    2006/05/31 CHAPTER 8 BAR CODE CONTROL - 3 1. INTRODUCTION Some of the HL series print ers can print bar codes in the HP LaserJet, EPSON FX-850, and IBM Propri nter XL emulati on modes, refer to the printe r User guide for informati on.[...]

  • Page 320

    2006/05/31 CHAPTER 8 BAR CODE CONTROL - 4 2. PRINT BAR CODES OR EXPANDED CHARACTERS ESC i n ... n (27)(105)n ... n (92) <1Bh><69h>n ... n <5Ch> Creates bar codes or expanded charact ers according to the parameters “n ... n”. For further information about the parameters, see the following “Definition o f Parameters.” This[...]

  • Page 321

    2006/05/31 CHAPTER 8 BAR CODE CONTROL - 5 3. DEFINITION OF PARAMETERS This bar code comma nd can have the following parameters in the param eter segment (n ... n). Parameters are effective only within the si ngle comm and sequence using the syntax ESC i n ... n . They do not take effect in any subsequent bar code comm ands. If any parameters ar e[...]

  • Page 322

    2006/05/31 CHAPTER 8 BAR CODE CONTROL - 6  Line Block Drawing & Box Drawi ng Shading “S” 1 = Black 2 = Vertical stripes 3 = Horizontal stripes 4 = Cross hatch 3.3. Bar Code Scaling (Width only) n = “mnnn” or “Mnnn” (nnn = 0 ~ 32767) This paramete r specifies the bar code width scaling. The unit of "nnn" is %. The defaul[...]

  • Page 323

    2006/05/31 CHAPTER 8 BAR CODE CONTROL - 7 3.7. Bar Code, Expanded Character, Line, Block Draw ing & Box Drawing Offset in the X-axis n = “xnnn” or “Xnnn” This parameter specifies the offset from the current print position in the “u”- or “U”-specified units. 3.8. Bar Code & Expanded Char acter Offset in the Y-axis n = “ynnn[...]

  • Page 324

    2006/05/31 CHAPTER 8 BAR CODE CONTROL - 8 3.12. Bar Code Data Start n = “b” or “B” • Data that follows “b” or “B” is read in as bar code da ta. Bar co de data must end with the “ ” code (5CH), which also terminates this comm and. The acceptable bar c ode data is subject to th e bar code mode selected by “t” or “T” as[...]

  • Page 325

    2006/05/31 CHAPTER 8 BAR CODE CONTROL - 9 • When Code 128 Set A, Set B, or Set C is select ed with the parame ter “t12” or “12,” “t13” or “T13,” or “t14” or “T14” respectively: Code sets A, B and C are individually select able. Se t A encodes characters in the range Hex 00 to 5F. Set B encodes characters in the range Hex 2[...]

  • Page 326

    2006/05/31 CHAPTER 8 BAR CODE CONTROL - 10 3.16. Table of Code(EAN) 128 set C Code(EAN) 128 set C describes an original com mand. The correspondence t able is as follows. No. Co d e 128 Se t C In put co m m a n d Hex No. C ode 1 2 8 S et C Inpu t comman d Hex 0 00 NU L 0x00 52 52 4 0x34 1 01 SOH 0x01 53 53 5 0x35 2 02 STX 0x02 54 54 6 0x36 3 03 ETX[...]

  • Page 327

    2006/05/31 CHAPTER 8 BAR CODE CONTROL - 11 4. EXAMPLE PROGRAM LISTINGS 10 ' Barcode 20 WIDTH "LPT1:", 255 30 ' CODE 39 40 LPRINT CHR$(27); "it 0r1s0x00y00b123456"; 50 'INTER LEAVED 60 LPRINT CHR$(27); "it 1r1s0x70y00b123456"; 70 ' EAN-13 80 LPRINT CHR$(27); "it 5r1s0x00y020b123456789012?&quo[...]

  • Page 328

    2006/05/31 CHAPTER 9 HP-GL - 1 CHAPTER 9 HP-GL GRAPHICS LANGUAGE[...]

  • Page 329

    2006/05/31 CHAPTER 9 HP-GL - 2 C ONTENTS 1. COMMAND LI ST .................................................................................................................. 3 2. INTRODUCT ION .................................................................................................................. 4 2.1. HP-GL Syntax .......................[...]

  • Page 330

    2006/05/31 CHAPTER 9 HP-GL - 3 1. COMMAND LIST DF Default set instruction 6 IN Initialize set instruction 6 IP Input scaling point 7 SC Scale 7 IW Input window 8 RO Rotate coordinate system 8 PG Page feed 8 PU Pen up 9 PD Pen down 9 PA Plot absolute 9 PR Relative coordinate pen m ove 10 AA Draw absolute arc 11 AR Draw relative arc 11 CI Circle plot[...]

  • Page 331

    2006/05/31 CHAPTER 9 HP-GL - 4 2. INTRODUCTION The HP-GL graphics mode em ulates 40 out of 56 inst ructi ons for the HP 7475A plotter m ade by Hewlett - Packard. Default measurem ent unit in the HP-GL graphi cs mode is 1/1016"(0.025m m). 2.1. HP-GL Syntax A comm and consists of a two-let ter instruction m nemonic, a param eter field (not neede[...]

  • Page 332

    2006/05/31 CHAPTER 9 HP-GL - 5 2.3.2. Printing area a b d c a b c d (mm) A4 4 5 5 5 A3 4 5 5 5 (HL- 3400CN/3260N/3450CN) Letter 6 5 5 5 Legal 6 5 5 5[...]

  • Page 333

    2006/05/31 CHAPTER 9 HP-GL - 6 3. COMMANDS 3.1. Initialization and Default Setting Instructions DF - Default set instruction DF[;] • Returns the graphics mode t o the default conditions. • The following are the d efault settings. Function Equivalent Instruction Condition Plot mode PA; Absolute plotting Relative character directi on DR 1,0; Hori[...]

  • Page 334

    2006/05/31 CHAPTER 9 HP-GL - 7 Function Equivalent Instruction Condition Fill type FT; Bi-d irectio nal fill, type 1 Fill distance FT; 1% of distance from P1 to P2 Fill slant FT; 0 deg r ees Pen thickness PT; Set at 0.3 mm Pen condition PU; Pen up Rotation RO; Set at 0 degrees Scaling points IP; Initialized according to paper size 3.2. Plot Area an[...]

  • Page 335

    2006/05/31 CHAPTER 9 HP-GL - 8 IW - Input w indow IW [ X 1 , Y 1 , X 2 , Y 2 ] [;] X1-Window lower left X coordinate Y1-Window lower left Y coordinat e X2-Window upper right X coordinate Y2-Window upper right Y coordinate • This instruction sets the window insi de which plotting can be performed. • Graphic units are always used. • Coordinate [...]

  • Page 336

    2006/05/31 CHAPTER 9 HP-GL - 9 PU - Pen up PU [ X,Y [,...]] [;] X ; X coordinate of the cursor m ovement dest ination Y ; Y coordinate of the cursor m ovement dest ination • X and Y are either relative or absolute, dependi ng on whether a PA or a PR was the last plot comm and executed. The absolute coordinates are set as default. • Moves the cu[...]

  • Page 337

    2006/05/31 CHAPTER 9 HP-GL - 10 Current position (X1, Y1) (X2,Y2) (X3, Y3) (Xn, Yn) 10 '*** PAEX1 *** 20 LPRINT "IN;SP1;" 30 LPRINT "PA2000,6000;PD0,6000,2000,7500,2000,6000;PU2500,6000;" 40 LPRINT "PAPD4500,6000,2500,7500,2500,6000;PU10365,500;" 50 END <Sample 62> 10 ' *** PAEX2 *** 20 LPRINT "IN;[...]

  • Page 338

    2006/05/31 CHAPTER 9 HP-GL - 11 AA - Draw absolute arc AA [ X, Y, qc [, qd ]] [;] X ; Arc centre X coordinate Y ; Arc centre Y coordinate qc ; Arc angle in degrees qd ; Chord angle in degrees • X and Y coordinates are absolute coordinat es in user units or graphics unit s. • Starting from t he current position, plots an arc centred on t he abso[...]

  • Page 339

    2006/05/31 CHAPTER 9 HP-GL - 12 • Plotting is perform ed only when the pen is down. • When the pen is up, plotting is not performed but the cursor posit ion moves to t he plot end point. • When scaling has been performed, the cursor is m oved by relative coordinat es in user units. • Also, when scaling has been performed, the values for X a[...]

  • Page 340

    2006/05/31 CHAPTER 9 HP-GL - 13 10 '*** CIEX1 *** 20 LPRINT "IN;SP1;IP2650,1325,7650,6325;" 30 LPRINT "SC-100,100,-100,100;" 40 LPRINT "PA-60,50;CI40,45;" 50 LPRINT "PA60,50;CI40,30;" 60 LPRINT "PA-60,-50;CI40,15;" 70 LPRINT "PA60,-50;CI40,5;" 80 END <Sample 65> 10 '*** CIE[...]

  • Page 341

    2006/05/31 CHAPTER 9 HP-GL - 14 • When there is no scaling, the coordinate values for X and Y are int eger numbers. Current position (X, Y) 10 '*** EAEX *** 20 LPRINT "IN;SP1;PA7000,4000;" 30 LPRINT "PT.3;FT1;RA6000,3000;" 40 LPRINT "SP3,;EA6000,3000;" 50 LPRINT "SP4;FT3,100;RA8000,3000;" 60 LPRINT &qu[...]

  • Page 342

    2006/05/31 CHAPTER 9 HP-GL - 15 EW - Edge w edge EW r,q1,qc(,qd)[;] r ; Radius in user unit s or graphics units q1; Start poi nt angle qc ; Arc angle qd ; Chord angle • Plots a wedge centred on t he current position with radius r , start point angle q1 , arc angle qc and chord angle qd . • After plotting, the cursor returns to its p o int of or[...]

  • Page 343

    2006/05/31 CHAPTER 9 HP-GL - 16 RA - Fill rectangle absolute RA X, Y[;] X ; X coordinate of opposite angl e for the rectangle Y ; Y coordinate of opposite angl e for the rectangle • X and Y coordinates are absolute coordinat es in user units or graphics unit s. • Fill in the rectangle formed by the current pos ition and the opposite angle speci[...]

  • Page 344

    2006/05/31 CHAPTER 9 HP-GL - 17 WG - Fill w edge WG r,q1,qc(,qd)[;] r ; Radius in user unit s or graphics units q1 ; Start poi nt angle qc ; Arc angle qd ; Chord angle • Fill in a wedge centred on the current position with radius r , start point angle q1 , arc angle qc and chord angle qd . • After plotting, the curso r retu rns to its point of [...]

  • Page 345

    2006/05/31 CHAPTER 9 HP-GL - 18 3.5. Plot Function Instructions Instruction Function FT Fill Type LT Line Type PW Pen Width SM Symbol Mode SP Select Pen TL Tick Length XT X Tick YT Y Tick PT Pen Thickness FT - Fill type FT [ n [, d [, q]]] [;] n : Fill type d : Fill interval (interval between th e parallel lines of the area bein g filled) q : Fill [...]

  • Page 346

    2006/05/31 CHAPTER 9 HP-GL - 19 PW-Pen w idth PW n[;] w ; width (unit = 1/ 300 inch) • This command specifies the width of the currently selected pen. • The value of w is an integer num ber from 1 to 10. SM - Symbol mode SM c[;] c ; ASCII character or symbol code • The command specifies the sym bol to be drawn. • When the PA, PR, PD or PU i[...]

  • Page 347

    2006/05/31 CHAPTER 9 HP-GL - 20 XT - X-axis tick XT [;] • Plots vertical tic k marks as specified by t he TL instruction from the current position. • After plotting, the curso r retu rns to its point of orig in. • Plotting is perform ed whether the pen is up or down. YT - Y-axis tick YT [;] • Plots horizontal ti ck marks as specified by the[...]

  • Page 348

    2006/05/31 CHAPTER 9 HP-GL - 21 n Character Set 0 ANSI ASCII 1 9825 Character Set 2 French/German 3 Scandinavian 4 Spanish/Latin American 6 JIS ASCII 7 ROMAN 8 Extensions 9 ISO IRV 30 ISO Swedish 31 ISO Swedish for Names 32 ISO Norway, Version 1 33 ISO German 34 ISO French 35 ISO Kingdom 36 ISO Italian 37 ISO Spanish 38 ISO Portuguese 39 ISO Norway[...]

  • Page 349

    2006/05/31 CHAPTER 9 HP-GL - 22 LB - Character plot LB [ cs ] < terminator > [;] cs : character string • Plots character strings, num eri cal expressions, variables etc. • Plott ing is performed whet her the pen is up or down. • After plot ting, the cursor moves t o the position of the next character. 10 '*** LBEX1 *** 20 LPRINT &q[...]

  • Page 350

    2006/05/31 CHAPTER 9 HP-GL - 23 DR - Relative direction DR [ run, rise ] [;] run : X direction com ponent rise : Y direction com ponent • A percentage of the distance in the X and Y dir ections between P1 and P2 is used as the units • Specifies the character plot direction. • Values for the run and rise are clamped real num bers. • The inst[...]

  • Page 351

    2006/05/31 CHAPTER 9 HP-GL - 24 10 '*** SIEX1 *** 20 LPRINT "IN;SP1;PA1000,1000;" 30 LPRINT "SI2,1.5;LBLASER";CHR$(3) 40 END <Sample 86> 10 '*** SIEX2 *** 20 LPRINT "IN;SP1;PA5000,3000:" 30 LPRINT "SI-.35,.35;LBCHARACTER";CHR$(3) 40 END <Sample 87> 10 '*** SIEX3 *** 20 LPRINT "[...]

  • Page 352

    2006/05/31 CHAPTER 9 HP-GL - 25 10 '"*** SLEX *** 20 LPRINT "DF;SP1;SI1.3,1.3;PA100,6000;" 30 LPRINT "SL2;LBLASER";CHR$(3) 40 LPRINT "SL-2;PR3000,0;LBLASER";CHR$(3) 50 END <Sample 91> UC - User-defined character UC X1, Y1, X2, Y2..., Xn, Yn[;] Xi : Number of gri ds in X direction Yi : Number of gri ds i[...]

  • Page 353

    2006/05/31 CHAPTER 9 HP-GL - 26 3.7. Dual Context Extensions Set High resolution control (Brother original) EscCRRO This comm and sets high resolut ion control off. EscCRRL This comm and sets high resolut ion control light level. EscCRRM This comm and sets high resolut ion control m edium l evel. EscCRRD This comm and sets high resolut ion control [...]

  • Page 354

    2006/05/31 CHAPTER 9 HP-GL - 27 4. INDEX A Absolute direction ........................................................... 22 Alternate char acter set ..................................................... 20 C Character plot ............................................................ 22, 23 character set ............................................[...]

  • Page 355

    2006/05/31 CARBON COPY FUNCTION- 1 CHAPTER 10 CARBON COPY FUNCTION[...]

  • Page 356

    2006/05/31 CARBON COPY FUNCTION- 2 C ONTENTS 1. OUTLI NE ........................................................................................................................ ....... 3 1.1. Outline of the function .................................................................................................................. 3 2. SPECIFICAT IO[...]

  • Page 357

    2006/05/31 CARBON COPY FUNCTION- 3 1. OUTLINE 1.1. Outline of the function This function allows y ou to print two or m ore copies of the one page data on the printer si de. The function also allows you to select the paper tray and register an additional macro for each copy. Therefore it is possible to change the printing format for each copy by sel[...]

  • Page 358

    2006/05/31 CARBON COPY FUNCTION- 4 2. SPECIFICATIONS 2.1. Explanation of each function 2.1.1. Carbon copy mode setting Sets the carbon copy function t o ON or OFF. ON: Turns on the carbon copy function. OFF: Turns off the carbon copy function. AUTO: Turns on the carbon copy function when the @PJL ENTER LANGUAGE com mand i s not included in the prin[...]

  • Page 359

    2006/05/31 CARBON COPY FUNCTION- 5 2.2. How to set each function 2.2.1. Setting on the control panel PRINT MENU CARBON MENU CARBON COPY =OFF/ON/AUTO / PARALLEL Sets the carbon copy mode. COPIES =1 - 8 Sets the number of copies. COPY 1 TRAY =AUTO/REMAINING MPTRAY TRAY 1 TRAY 2 Selects the paper tray. COPY 1 MACRO =OFF (ID number) Sets the additional[...]

  • Page 360

    2006/05/31 CARBON COPY FUNCTION- 6 2.2.2. Setting with the PJL command This function supports each of the SET, DEF AULT, INQUIRE and DINQUIRE comm ands in the PJL co mmand s. PJL co mman d Setting value Default value Descriptions CARBONMODE =OFF ON AUTO PARALLEL OFF OFF: Turns off the function. ON: Turns on the function. AUTO: Turns on when the PJL[...]

  • Page 361

    2006/05/31 CARBON COPY FUNCTION- 7 2.3. Example The following sections describe the set ting method of t he example below.  The number of copies is 4 (four).  The carbon copy function is enabled by sendi ng the data only through the parallel interface.  1st page: The paper is fed from the Tray 1. The ID=128 macro is added.  2nd page: Th[...]

  • Page 362

    2006/05/31 CARBON COPY FUNCTION- 8 3. DETAILED INFORMATION 3.1. Details on the specifications 3.1.1. Usable emulation Only the PCL em ulation can be used since the m acro is supported only on the PC L emulation. For the request to use the EPSON / IBM emulation, however, the filter function which converts the EPSON / IBM em ulation data to the PCL e[...]

  • Page 363

    2006/05/31 APPENDIX A -COMPARISON LIST-1 APPENDIX A COMPARISON LIST[...]

  • Page 364

    2006/05/31 APPENDIX A -COMPARISON LIST-2 C ONTENTS PCL5/5E (PAPER SIZE) .................................................. 3 PCL5/5E (TRAY: IF PJL TRAYCOMMAND IS NORMAL.) .................................................................... 5 PCL5/5E (TRAY: IF PJL TRAYCOMMAND IS SPECIAL.) 6 PCL5/5E (OTHERS) ..........................................[...]

  • Page 365

    2006/05/31 APPENDIX A -COMPARISON LIST-3 In this chapter, you can find which co mmands are supported by your printer. PCL5/5e (Paper Size) COMMAND HL-1050/1070 HL-1250/1270N/ P2500 HL-1450/1470N HL-1660e/2060 HL-2400C/Ce HL-2600CN HL-2700CN HL-3400CN HL-3450CN HL-1650/1670N HL-1850/1870N HL-5040/5050/ 5070N HL-5140/5150D/ 5170DN HL-2070N HL-6050/60[...]

  • Page 366

    2006/05/31 APPENDIX A -COMPARISON LIST-4 COMMAND HL-1050/1070 HL-1250/1270N/ P2500 HL-1450/1470N HL-1660e/2060 HL-2400C/Ce HL-2600CN HL-2700CN HL-3400CN HL-3450CN HL-1650/1670N HL-1850/1870N HL-5040/5050/ 5070N HL-5140/5150D/ 5170DN HL-2070N HL-6050/6050D/ 6050DN HL-5240/50D/ 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 Esc&l1028A Paper Size 13?[...]

  • Page 367

    2006/05/31 APPENDIX A -COMPARISON LIST-5 PCL5/5e (Tray: If PJL TRAYCOMMAND is NORMAL.) COMMAND HL-1050 HL-1070 HL-P2500/ 1250/1270N HL-1450/ 1470N HL-2400C/Ce HL-2700CN/ 2600CN HL-3400CN HL-3450CN HL-1660e/ 2060 HL-1650/ 1670N HL-1850/ 1870N HL-5050/5070N/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-5040/5140 HL-8050N HL-3260N HL-2[...]

  • Page 368

    2006/05/31 APPENDIX A -COMPARISON LIST-6 COMMAND HL-1050 HL-1070 HL-P2500/ 1250/1270N HL-1450/ 1470N HL-2400C/Ce HL-2700CN/ 2600CN HL-3400CN HL-3450CN HL-1660e/ 2060 HL-1650/ 1670N HL-1850/ 1870N HL-5050/5070N/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-5040/5140 HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc&l1001H Fixed Tray[...]

  • Page 369

    2006/05/31 APPENDIX A -COMPARISON LIST-7 COMMAND HL-1050 HL-1070 HL-P2500/ 1250/1270N HL-1450/ 1470N HL-2400C/Ce HL-2700CN/ 2600CN HL-3400CN HL-3450CN HL-1660e/ 2060 HL-1650/ 1670N HL-1850/ 1870N HL-5050/5070N/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-5040/5140 HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc&l6H √ Tray2 √[...]

  • Page 370

    2006/05/31 APPENDIX A -COMPARISON LIST-8 PCL5/5e (Others) COMMAND HL-1070 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc&n#[...]

  • Page 371

    2006/05/31 APPENDIX A -COMPARISON LIST-9 COMMAND HL-1070 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Escz Self-test √ √ √ [...]

  • Page 372

    2006/05/31 APPENDIX A -COMPARISON LIST-10 COMMAND HL-1070 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc&a#V Vertical Posit[...]

  • Page 373

    2006/05/31 APPENDIX A -COMPARISON LIST-11 COMMAND HL-1070 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N SO Secondary Font Select ?[...]

  • Page 374

    2006/05/31 APPENDIX A -COMPARISON LIST-12 COMMAND HL-1070 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc(s#T, Esc)s#T Typeface [...]

  • Page 375

    2006/05/31 APPENDIX A -COMPARISON LIST-13 COMMAND HL-1070 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc*v#O Select Pattern Tra[...]

  • Page 376

    2006/05/31 APPENDIX A -COMPARISON LIST-14 COMMAND HL-1070 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc*r#F Raster Graphics Pr[...]

  • Page 377

    2006/05/31 APPENDIX A -COMPARISON LIST-15 COMMAND HL-1070 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc%#B Enter HP-GL/2 Mode [...]

  • Page 378

    2006/05/31 APPENDIX A -COMPARISON LIST-16 COMMAND HL-1070 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc&f7X Delete Tempora[...]

  • Page 379

    2006/05/31 APPENDIX A -COMPARISON LIST-17 Typeface Selection (PCL) COMMAND TYPEFACE HL-1050/1250/ 1450/P2500 HL-1070/ 1270N/1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2400C/Ce/ 2600CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL-5040/ 5050/5070N HL-5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7[...]

  • Page 380

    2006/05/31 APPENDIX A -COMPARISON LIST-18 COMMAND TYPEFACE HL-1050/1250/ 1450/P2500 HL-1070/ 1270N/1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2400C/Ce/ 2600CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL-5040/ 5050/5070N HL-5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc(s16686T [...]

  • Page 381

    2006/05/31 APPENDIX A -COMPARISON LIST-19 HP-GL/2 COMMAND HL-1050/1070/1250/1270N/1450/1470N /P2500/1660e/2060/2400C/2400Ce/3400CN/1650/ 1670N/3260N/2460/7050/1850/1870N/5050/5070 N/ 5150D/5170DN/2600CN/3450CN/6050/6050D/6050DN/ 8050N/2700CN/2070N/5240/5250DN/5270DN/5280DW DF √ IN √ IP √ IR √ SC √ IW √ RO √ PU √ PD √ PA √ PR √[...]

  • Page 382

    2006/05/31 APPENDIX A -COMPARISON LIST-20 COMMAND HL-1050/1070/1250/1270N/1450/1470N /P2500/1660e/2060/2400C/2400Ce/3400CN/1650/ 1670N/3260N/2460/7050/1850/1870N/5050/5070 N/ 5150D/5170DN/2600CN/3450CN/6050/6050D/6050DN/ 8050N/2700CN/2070N/5240/5250DN/5270DN/5280DW RF √ SM √ SP √ SV √ TR √ UL √ WU √ SD √ AD √ SS √ SA √ FI √ [...]

  • Page 383

    2006/05/31 APPENDIX A -COMPARISON LIST-21 Epson FX-850 COMMAND HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/ 2400C/2400Ce/3400CN/1650/1670N /3260N/2460/7050/1850/1870N/ 5050/5070N/5150D/5170DN/2600CN/3450CN/ 6050/6050D/6050DN/8050N/2700CN/2070N SP √ BS √ CR √ LF √ FF √ Esc SP n √ Esc a n √ Esc $ n1 n2 √ Esc n1 n2 √ Esc &l[...]

  • Page 384

    2006/05/31 APPENDIX A -COMPARISON LIST-22 COMMAND HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/ 2400C/2400Ce/3400CN/1650/1670N /3260N/2460/7050/1850/1870N/ 5050/5070N/5150D/5170DN/2600CN/3450CN/ 6050/6050D/6050DN/8050N/2700CN/2070N Esc / n √ VT √ Esc P √ Esc M √ Esc p n √ SI √ Esc SI √ DC2 √ Esc E √ Esc F √ Esc G √ Esc [...]

  • Page 385

    2006/05/31 APPENDIX A -COMPARISON LIST-23 COMMAND HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/ 2400C/2400Ce/3400CN/1650/1670N /3260N/2460/7050/1850/1870N/ 5050/5070N/5150D/5170DN/2600CN/3450CN/ 6050/6050D/6050DN/8050N/2700CN/2070N Esc L n1 n2 √ Esc Y n1 n2 √ Esc Z n1 n2 √[...]

  • Page 386

    2006/05/31 APPENDIX A -COMPARISON LIST-24 IBM ProPrinter XL COMMAND HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/ 2400C/2400Ce/3400CN/1650/1670N /3260N/2460/7050/1850/1870N/ 5050/5070N/5150D/5170DN/2600CN/3450CN/6050/6050D/6050 DN/8050N/2700CN/2070N/5240/5250DN/5270DN/5280DW ESC √ SP √ BS √ CR √ LF √ FF √ Esc 5 n √ DC1 √ Esc [...]

  • Page 387

    2006/05/31 APPENDIX A -COMPARISON LIST-25 COMMAND HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/ 2400C/2400Ce/3400CN/1650/1670N /3260N/2460/7050/1850/1870N/ 5050/5070N/5150D/5170DN/2600CN/3450CN/6050/6050D/6050 DN/8050N/2700CN/2070N/5240/5250DN/5270DN/5280DW SI √ Esc E √ Esc F √ SO √ DC4 √ CAN √ Esc W n √ Esc S n √ Esc T √ E[...]

  • Page 388

    2006/05/31 APPENDIX A -COMPARISON LIST-26 BAR CODE COMMAND HL-1050/1070/1250/1270N/1450/1470N /P2500/1660e/2060/2400C/2400Ce/3400CN/1650/ 1670N/3260N/2460/7050/1850/1870N/5050/ 5070N/5150D/5170DN/2600CN/3450CN/6050/6050D/6050 DN/8050N/2700CN/2070N/5240/5250DN/5270DN/5280DW CODE 39 √ Interleaved 2 of 5 √ FIM(US-Post Net) √ Post Net √ EAN8,EA[...]

  • Page 389

    2006/05/31 APPENDIX A -COMPARISON LIST-27 HP-GL COMMAND HL-1050/1250/ 1450/P2500 HL-1070/ 12470N/1470N HL-1660e/2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/1670N HL-1850/1870N HL-5040/5050/ 5070N HL-5140/5150D/ 5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N DF √ √ √ √ √ √ [...]

  • Page 390

    2006/05/31 APPENDIX A -COMPARISON LIST-28 COMMAND HL-1050/1250/ 1450/P2500 HL-1070/ 12470N/1470N HL-1660e/2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/1670N HL-1850/1870N HL-5040/5050/ 5070N HL-5140/5150D/ 5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N CS √ √ √ √ √ √ √ ?[...]

  • Page 391

    2006/05/31 APPENDIX A -COMPARISON LIST-29 PJL PJL commands are supported by HL-1050, HL-1070, HL-1250, HL -1270N/1450/1470N, HL-P2500, HL-1660e , HL-2060, HL-2400C, HL-2400Ce, HL-3400CN, HL-1650, HL-1670N, HL-3260N, HL-2460, HL-7050, HL-1850, HL-1870N, HL-5040, HL-5050, HL-5070N, HL-5140, HL-5150D, HL-5170DN, HL- 2600CN, HL-3450CN, HL-6050, HL-6050[...]

  • Page 392

    2006/05/31 APPENDIX A -COMPARISON LIST-30 COMMAND HL-1050 HL-1250/1450 HL-1070 HL-1270N/ 1470N HL-P2500 HL-1660e/2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL-5040/5050/ 5070N HL-5140/5150D/ 5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N @PJL JOB [NAME = "j[...]

  • Page 393

    2006/05/31 APPENDIX A -COMPARISON LIST-31 COMMAND HL-1050 HL-1250/1450 HL-1070 HL-1270N/ 1470N HL-P2500 HL-1660e/2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL-5040/5050/ 5070N HL-5140/5150D/ 5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N @PJL INFO MEMORY [<CR[...]

  • Page 394

    2006/05/31 APPENDIX A -COMPARISON LIST-32 General PJL Environment Variables GENERAL PJL ENVIRONMENT VARIABLES HL-1050 HL-1070 HL-1250/ 1270N HL-1450/ 1470N HL-P2500 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1660e HL-2060 HL-1650/ 1670N HL-1850/ 1870N HL-5040/ 5050 / 5070N HL-5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW H[...]

  • Page 395

    2006/05/31 APPENDIX A -COMPARISON LIST-33 GENERAL PJL ENVIRONMENT VARIABLES HL-1050 HL-1070 HL-1250/ 1270N HL-1450/ 1470N HL-P2500 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1660e HL-2060 HL-1650/ 1670N HL-1850/ 1870N HL-5040/ 5050 / 5070N HL-5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 H[...]

  • Page 396

    2006/05/31 APPENDIX A -COMPARISON LIST-34 GENERAL PJL ENVIRONMENT VARIABLES HL-1050 HL-1070 HL-1250/ 1270N HL-1450/ 1470N HL-P2500 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1660e HL-2060 HL-1650/ 1670N HL-1850/ 1870N HL-5040/ 5050 / 5070N HL-5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 H[...]

  • Page 397

    2006/05/31 APPENDIX A -COMPARISON LIST-35 GENERAL PJL ENVIRONMENT VARIABLES HL-1050 HL-1070 HL-1250/ 1270N HL-1450/ 1470N HL-P2500 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1660e HL-2060 HL-1650/ 1670N HL-1850/ 1870N HL-5040/ 5050 / 5070N HL-5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 H[...]

  • Page 398

    2006/05/31 APPENDIX A -COMPARISON LIST-36 GENERAL PJL ENVIRONMENT VARIABLES HL-1050 HL-1070 HL-1250/ 1270N HL-1450/ 1470N HL-P2500 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1660e HL-2060 HL-1650/ 1670N HL-1850/ 1870N HL-5040/ 5050 / 5070N HL-5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 H[...]

  • Page 399

    2006/05/31 APPENDIX A -COMPARISON LIST-37 GENERAL PJL ENVIRONMENT VARIABLES HL-1050 HL-1070 HL-1250/ 1270N HL-1450/ 1470N HL-P2500 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1660e HL-2060 HL-1650/ 1670N HL-1850/ 1870N HL-5040/ 5050 / 5070N HL-5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 H[...]

  • Page 400

    2006/05/31 APPENDIX A -COMPARISON LIST-38 PCL Specific Variables PCL SPECIFIC VARIABLES HL-1050/1070/ 1250/1270N/1450/ 1470N/P2500 HL-1660e/2060/ 2400C/Ce/3400CN/ 2600CN/3450CN/ 2700CN HL-1650/1670N HL-1850/1870N/ 5040/5050/5070N/ 5140/5150D/ 5170DN/2070N HL-6050/6050D/ 6050DN/8050N/52 40/5250DN/5270D N/5280DW HL-3260N/2460/ 7050 FONTSOURCE I, S I,[...]

  • Page 401

    2006/05/31 APPENDIX A -COMPARISON LIST-39 PCL SPECIFIC VARIABLES HL-1050/1070/ 1250/1270N/1450/ 1470N/P2500 HL-1660e/2060/ 2400C/Ce/3400CN/ 2600CN/3450CN/ 2700CN HL-1650/1670N HL-1850/1870N/ 5040/5050/5070N/ 5140/5150D/ 5170DN/2070N HL-6050/6050D/ 6050DN/8050N/52 40/5250DN/5270D N/5280DW HL-3260N/2460/ 7050 SYMSET ROMAN8, ISOL1, ISOL2, ISOL5, ISOL6[...]

  • Page 402

    2006/05/31 APPENDIX A -COMPARISON LIST-40 PostScript Specific Variables POSTSCRIPT SPECIFIC VARIABLES HL-1050/ 1250/1450/ P2500 HL-1070 HL-1270N/ 1470N HL-1660e/ 2060/ 2400C/Ce/ 3400CN/ 2600CN/ 3450CN/ 2700CN HL- 1650/1670N/ 1850/1870N/ 5050/5070N/ 5150D/5170DN HL-3260 HL-2460 HL-7050/6050/ 6050D/6050DN/ 8050N/ 5240/5250DN/ 5270DN/ 5280DW PRTPSERRS[...]

  • Page 403

    2006/05/31 APPENDIX A -COMPARISON LIST-41 EPSON Specific Variables EPSON SPECIFIC VARIABLES HL-1050/1070/1250/ 1270N/1450/1470N HL-P2500 HL-1660e/2060/ 2400C/Ce/3400CN/ 2600CN/3450CN/2700CN HL-1650/1670N/ 1850/1870N/ 5050/5070N/ 5150D/5170DN/2070N HL-3260/2460/7050/ 6050/6050D/6050DN/ 8050N/5240/5250DN/5270 DN/5280DW ORIENTAION PORTRAIT LANDSCAPE P[...]

  • Page 404

    2006/05/31 APPENDIX A -COMPARISON LIST-42 IBM Specific Variables IBM SPECIFIC VARIABLES HL-1050/1070/1250/ 1270N/1450/1470N HL-P2500 HL-1660e/2060/2400C/Ce/ 3400CN/ 2600CN/3450CN/ 2700CN HL-1650/1670N/ 1850/1870N/ 5050/5070N/ 5150D/5170DN/2070N HL-3260N/2460/7050/ 6050/6050D/6050DN/5240/ 5250DN/5270DN/ 5280DW ORIENTATION PORTRAIT, LANDSCAPE PORTRAI[...]

  • Page 405

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 1 APPENDIX B FLASH/PCMCIA CARD COMMANDS <For HL-1270N/1470N/1660e/2060/2400C/2400Ce/3400CN/ 1650/1670N/2460/3260N/7050/1850/1870N/5070N/5170DN /2600CN/3450CN/6050/6050D/6050DN/8050N/2700CN/5270D N/5280DW Only>[...]

  • Page 406

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 2 C ONTENTS 1. INTRODUCT ION .......................................................................................................... 3 2. HOW TO READ THE CARD CO MMANDS SPECIF ICATION ..................................... 4 2.1 Commands .........................................................[...]

  • Page 407

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 3 1. INTRODUCTION The Flash/Card Com mands described i n this chapter are applicable to the HL-1270N/1470N/1660e/2060/ 2400C/2400Ce/3400C N/1650/1670N/2460/3260N/7050/ 1850/1870N/5070N/5170DN/2600C N/3450CN/ 6050/6050D/6050DN/8050N/2700CN/ 5270DN/5280DW printers only. The fol lowing types of devi[...]

  • Page 408

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 4 2. HOW TO READ THE CARD COMMANDS SPECIFICA TION Each comm and is described in the followi ng four sections of this m anual. 2.1 Commands Comm and data sequences and syntax. ESC or CR stands for 0x1b or 0x0d as foll ows; ESC ----0x1b CR ---- 0x0d 2.2 Available Devices The supported mem ory card [...]

  • Page 409

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 5 3. COMMANDS 3.1 Select Storage Device Command (For HL-2060/2400C/2400Ce/3400 CN/2460/3260N/7050/2600CN/3450CN/ 6050/6050D/6050DN Only) Command ESC CR ! 12358F Slot No ** Slot No = 1 Slot No = 2 (Slot No. 2 is not used for the HL-2460/3260N.) Slot No = 3 (Internal HDD) Default = 1 For HL-6050/60[...]

  • Page 410

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 6 3.2 Format Command 3.2.1 Physical format Command ESC CR ! 12340F Available Devi ces F, A, H, I Description This command executes a physical format for the storage device. This will delete all ex isting data on the device. When two dev ices are installed into the pr in ter, th e comma nd formats[...]

  • Page 411

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 7 3.3 Save Data Command 3.3.1 Save specified type Command ESC CR ! 12345F type(4byte) size(4byte) data... ** type = MCRO, DATA Available Devi ces F, A, H Description This command saves data of the specified type with th e d ata ID which is set with the ESC & f # Y (Macro ID Configuration) com[...]

  • Page 412

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 8 3.4 Data 3.4.1 Save data Command ESC CR ! 12347F ID(2byte) size(4byte) data... Available Devi ces F, A, H Description This comm and saves data which is sent from the PC wit h the specified ID onto the device. If there is insufficient memory in the printer to store the d ata, a memory full error[...]

  • Page 413

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 9 3.5 Font 3.5.1 Save primary font Command ESC CR ! 12343F Available Devi ces F, A, H, I Description This comm and saves the prim ary font which is currentl y selected into the devi ce. The primary font can also be saved by control panel operati on. The ID specified with the ESC * c # D (Font ID [...]

  • Page 414

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 10 3.5.3 Delete all dow nload fonts Command ESC * c 1028F Available Devi ces F, A, H, I Description This comm and deletes all t he download fonts which are saved in the device. When two devices are installed into the printe r, the comm and deletes the download fonts i n the device specified by th[...]

  • Page 415

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 11 3.5.5 Save dow nload font w ith specified ID Command ESC * c 1029F Available Devi ces F, A, H, I Description This command saves the font with the ID which is specified with th e ESC * C # D (Font ID) co mmand . When two devices are installed into the printer, t he comma nd saves the download f[...]

  • Page 416

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 12 3.6 Macro 3.6.1 Delete all macros Command ESC & f 1030X Available Devi ces F, A, H, I Description This command deletes all the macros which are saved in the device. When two dev ices are installed into the pr in ter, the command deletes all the macros in the device specified by the select [...]

  • Page 417

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 13 3.6.3 Save macro w ith specified ID Command ESC & f 1038X Available Devi ces F, A, H, I Description This command saves a macro with the ID which is specified with the ESC & f # Y (Macro ID Configuration) com mand on the devi ce. When two dev ices are installed into the pr in ter, th e [...]

  • Page 418

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 14 3.6.5 Save image (Printing location not fixed) Command ESC CR ! 12350F Available Devi ce F Description After transferring the last prin t d ata into the image data area, this command saves the data with the ID which is specified with the ESC & f # Y (Macro ID Configuration) comm and as a P[...]

  • Page 419

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 15 3.7 Copy Card (For HL- 1660e/2060/2400C/2400Ce/3400CN/2460/3260N/7050 /2600CN/3450CN Only) Command ESC CR ! 12357F Available Devi ces F, A Description 1) Flash mem ory card After executing a logical format on the transfer devi ce, this command copies to the transfer device only when the two de[...]

  • Page 420

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 16 4. USE CARD COMMANDS FROM PCL 4.1 Execute Macros Command ESC & l 2 X Execute Macro ESC & l 3 X Call Macro ESC & l 4 X Macro Overlay Available Devi ces F, A, H, I Description The macros saved in the device can be executed from the PCL com mand language as well as saving macros in th[...]

  • Page 421

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 17 4.2 Use Dow nload Fonts Command ESC ( # X Designates soft font # as Primary ESC ) # X Designates soft font # as Secondary ** # = font ID number Available Devi ces F, A, H, I Description The download fonts saved in the device can be selected from the PCL comm and language as well as saving down[...]

  • Page 422

    2006/05/31 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 18 5. USE CARD COMMANDS FROM POSTSCRIPT The PostScript emul ation recognizes the storage device as a hard disk (except a Flash mem ory card) and the PostScript file operation allo ws yo u to read/write data on these d evices. (i.e.) Create the file nam ed “test” and write the dat a, “This i[...]

  • Page 423

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 1 APPENDIX C HBP MODE COMMANDS <For HL-820/1020/1040 Only>[...]

  • Page 424

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 2 C ONTENTS 1. DESCRIPT IONS ................................................................................................................... 3 2. COMMAND TO ENTE R HBP MO DE ................................................................................... 4 3. HBP COMM ANDS ...........................[...]

  • Page 425

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 3 1. DESCRIPTIONS The HBP mode com mands can be used for the HL-820/ 1020/1040 printers only. The following comm ands and syntax ar e used in these specifications. Description: meaning or code <Esc>: 0 x 1b <Space>: 0 x 20 <LF>: 0 x 0a *: 1byte of data +: sign for combining data ( This i s[...]

  • Page 426

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 4 2. COMMAND TO ENTER HBP MODE Command <ESC>%-12345X@PJL<LF> @PJL<Space>ENTER<Space>LANGUAGE<Space>=<Space>HBP<LF> Function The printer enters the HBP mode when this com mand is received. Explanation The printer can receive this comma nd wh en it is in the idle cond[...]

  • Page 427

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 5 3. HBP COMMANDS An HBP comm and is composed of ‘@’ + an Uppercase Al phabetic character + param e ters (not necessary for so me co mman ds ). 3.1 Command List <Character string> <Functions> @A Reserved @B Reserved @C Not used @D Speed setting for Centronics I/F @E Economy mode setting @F F[...]

  • Page 428

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 6 3.2 Commands (Detailed Explanation) 3.2.1 Resolution setting commands Command @L + * Function This command sets the printer resolution. Command Resolution @ L+ (00000000)B 600dpi (Default) @ L+ (00000101)B 300dpi @ L+ (00001010)B 150dpi Explanation The resolution is set when the printer receives this comm[...]

  • Page 429

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 7 3.2.3 Sleep mode setting commands Command @T+ * Function This command sets the sleep time in minutes. Explanation This command is valid im mediately af ter the printer receives the com mand. The command is valid until one of the fo llowing occurs. (1) The printer receives the Exit comm and. (2) The printe[...]

  • Page 430

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 8 3.2.4 Mode setting commands Command @M+* Function This comm and allows various error m ode operations to be set. 1 byte, used as 8 bits, th at follows the @M comma nd select the settings for each mode. Bit0:0 = The printer clears the input buffer when a Pa per Jam error or Undefined Code error occurs. The[...]

  • Page 431

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 9 3.2.5 Engine related setting commands Command @J+* Function This comm and allows the setti ng of engine related com ma nds. Each setting depends on the value of the 3 byte comm and string. @J+CHR$ (0) +CHR$ (n): Sets Media Type This command allows the printer to change the temperature co n trol for the fu[...]

  • Page 432

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 10 3.2.7 Graphic data input commands Command @G+[data length(3bytes)]+data Function The 3 bytes of data foll owing the @G comm and shows the length of the dat a, N. The N bytes following t his 3 byte header is handled as graphic dat a. (Example) fprintf(fp,”@G%c%c%c”, (char)((data_length>>16)&[...]

  • Page 433

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 11 3.3 Graphic Data Format The data format, whi ch follows the @G+ [number of dat a bytes (3 byte s)] comm and, is as shown below. the number of comm and bytes for raster 1 comm and byte 1 modified data 1 command byte 2 modi fied data 2 the number of comm and bytes for raster 2 comm and byte 1 modified data[...]

  • Page 434

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 12 The 5th byte data onward is replaced by the twelve data bytes AAh. 11101010b,02h,Aah When the replacement position and the amount of repl acem ent data are overflow, the next data byte becomes an Expansion Offset B yte. However, if the num ber is FFh, 00h is added. The number of comm and bytes = 300, FFh[...]

  • Page 435

    2006/05/31 APPENDIX C HBP MODE COMMANDS - 13 4. RECOMMENDED COMMAND STRING The comm and strings below shows the recom mended com mand stream for two pages of a print job. <Esc>%-12345X@PJL<LF> used for HL-820/1020/1040 @PJL DEFAULT AUTOSLEEP=0<L F> used for HL-820/1020/1040 @PJL DEFAULT TIMEOUTSLEEP= 15<LF> used for HL-820/1[...]

  • Page 436

    2006/05/30 APPENDIX D REFERENCE LIST OF MX- 2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 1 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000/ 7000 SERIES UNIQUE COMMANDS[...]

  • Page 437

    2006/05/30 APPENDIX D REFERENCE LIST OF MX- 2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 2 C ONTENTS 1. INTRODUCT ION .................................................................................................. 3 2. GENERAL SPECIF ICATION ...............................................................................4 3. COMMAND REFERE NCE LI[...]

  • Page 438

    2006/05/30 APPENDIX D REFERENCE LIST OF MX- 2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 3 1. INTRODUCTION This manual covers t he general specifications and th e com mand reference li st of the MX-2000 series (MX-2001 / MX-2002 / MX-2003), MX-4000 seri es (MX-4100 / MX-4200 / M X-4300), MX-5000 and MX-7000 series (MX-7000 / MX-7005 / MX-7010 ) M a[...]

  • Page 439

    2006/05/30 APPENDIX D REFERENCE LIST OF MX- 2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 4 2. GENERAL SPECIFICA TION The Mailbox unit is an option for the HL-2060, HL-2460, HL-3260 or HL-7050 print er and the MX-2000/4000/ 7000 series composed of three t ypes of units. The MX-2001/4100/ 7000 Lower Mailbox unit consi sts of five bins. The MX-2002/42[...]

  • Page 440

    2006/05/30 APPENDIX D REFERENCE LIST OF MX- 2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 5 3. COMMAND REFERENCE LIST This section describes the specific com mands as l isted be low used t o support the functions of the Mai lbox unit. 1) PJL output tray & mode setting 2) PJL mailbox protecti on & bin number setting 3) PJL avoidance of output[...]

  • Page 441

    2006/05/30 APPENDIX D REFERENCE LIST OF MX- 2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 6 3.1.2. PJL mailbox protection & bin number setting Format @PJL SET/DEFAULT MAILBOXPROTECT= TrayNumber Parameter TrayNumber <HL-2060/2460/7050> • Lo wer u nit: # 1 to 5 from bottom to top • Lo wer u nit + Upper unit: #1 to 10 from bottom to top &[...]

  • Page 442

    2006/05/30 APPENDIX D REFERENCE LIST OF MX- 2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 7 3.1.4. PCL output tray setting Command Esc&l#G (27)(38)(108)#(71) <1Bh><38h><6ch>#<47h> Parameter # denotes the output tray. • 1: Select the printer face-down output tray. • 3: Select #1 bin of t he Mailbox unit. • 4: Select [...]

  • Page 443

    2006/05/30 APPENDIX D REFERENCE LIST OF MX- 2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 8 Explanation • This operator selects the specifi ed output tray and output m ode. • This operator is ignored when no tray is specified. • The ‘1’ and ‘2’ parameters are executed for all output trays other than ones which are defi ned and protecte[...]

  • Page 444

    2006/05/30 APPENDIX D REFERENCE LIST OF MX- 2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 9 3.1.6. PS mailbox protection & bin number setting Command <HL-2060> # setoutputprotect <HL-2460/3260/7050> <</BROutbinProtect # >> setpagedevice Parameter # <HL-2060/2460/7050> • Lo wer u nit: # 1 to 5 from bottom to top ?[...]

  • Page 445

    2006/05/31 APPENDIX E REFERENCE LIST OF FS -5050 SERIES UNIQUE COMMANDS - 1 APPENDIX E REFERENCE LIST OF FS-5050 UNIQUE COMMANDS[...]

  • Page 446

    2006/05/31 APPENDIX E REFERENCE LIST OF FS -5050 SERIES UNIQUE COMMANDS - 2 C ONTENTS 1. INTRODUCT ION .................................................................................................. 3 2. GENERAL SPECIF ICATION ...............................................................................3 3. COMMAND REFERE NCE LI ST............[...]

  • Page 447

    2006/05/31 APPENDIX E REFERENCE LIST OF FS -5050 SERIES UNIQUE COMMANDS - 3 1. INTRODUCTION This manual covers t he general specifications and th e com mand reference li st of the FS-5050 Finisher/Stapl er units, which are opti onally install ed onto the HL-3260 printer. 2. GENERAL SPECIFICA TION The Finisher/Stapl er unit is an option for t he HL-[...]

  • Page 448

    2006/05/31 APPENDIX E REFERENCE LIST OF FS -5050 SERIES UNIQUE COMMANDS - 4 3.1. Commands Descriptions 3.1.1. PJL output tray Format @PJL SET/DEFAULT OUTBIN= TrayName Parameter TrayName* • FINISHER: Select the tray of th e Finisher/Stapler unit Default = ALLSTACKER Explanation • This command selects the Finisher/Stapler unit. • This comm and [...]

  • Page 449

    2006/05/31 APPENDIX E REFERENCE LIST OF FS -5050 SERIES UNIQUE COMMANDS - 5 3.1.4. PJL staple on/off Format @PJL SET/DEFAULT STAPLE= StapleName Parameter StapleName* • UPPER LEFT: Select the upper left of the Finisher/Stapler uni t • UPPER RIGHT: Select the upper right of the Finisher/Stapl er unit • LOWER LEFT: Select the lower left of the F[...]

  • Page 450

    2006/05/31 APPENDIX E REFERENCE LIST OF FS -5050 SERIES UNIQUE COMMANDS - 6 3.1.6. PJL job offset on/off Format @PJL SET/DEFAULT JOBOFFSET=ON/OFF Parameter • ON: Paper is ejected offset by each job. • OFF: Paper is ejected together. Default = ON Explanation • This command selects the job offset. • This comm and is ignored when the Fini sher[...]