Instruction/ maintenance manual of the product PCL Brother
Go to page of 450
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 .
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.
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.
i T ABLE OF CONTENTS GLOSSARY CHAPTER 1 INTRODUCTION 1. ABOUT THE MANUAL ----------------------------------------------------------------------------------- 3 2. AREAS OF USE ------------------------------------------------------------------------------------------- 4 CHAPTER 2 PCL 1.
i i CHAPTER 6 EPSON FX-850 1. COMMAND LIST ------------------------------------------------------------------------------------------ 3 2. INTRODUCTION ------------------------------------------------------------------------------------------ 5 3.
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.
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.
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.
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.
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.
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.
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.
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.
2006/05/31 CHAPTER 1 INTRODUCTION - 1 CHAPTER 1 INTRODUCTION.
2006/05/31 CHAPTER 1 INTRODUCTION - 2 CONTENTS 1. ABOUT THE MANUAL ................................................................................................. 3 2. AREAS OF USE.....................................................................
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.
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.
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.
2006/05/31 CHAPTER 2 "PCL" - 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE.
2006/05/31 CHAPTER 2 "PCL" - 2 C ONTENTS 1. COMMAND LI ST .................................................................................................................. 7 2. INTRODUCT ION .................................................
2006/05/31 CHAPTER 2 "PCL" - 3 4.2.8. Coordi nates .................................................................................................................... .......................28 4.2.9. Units ..................................
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 .
2006/05/31 CHAPTER 2 "PCL" - 5 6.5.3. Set picture frame vertical size ................................................................................................ ...............92 6.5.4. Set picture frame horizontal size ...............
2006/05/31 CHAPTER 2 "PCL" - 6 8.5.17. Font cache ..................................................................................................................... .................106 8.5.18. Memory status res ponse ....................
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 Displ.
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 4.
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#.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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/ 70.
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.
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.
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).
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.
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.
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.
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 Physica.
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 Physic.
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.
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.
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.
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 PI.
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).
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.
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 .
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$(1.
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).
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.
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 .
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/18.
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.
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.
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.
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.
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.
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).
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.
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 .
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$+&q.
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.
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 Shado.
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.
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.
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.
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 previo.
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.
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 .
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 Rese.
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 Bas.
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.
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 6.
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.
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.
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.
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.
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.
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.
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.
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 da.
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.
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 D.
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.
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.
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.
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.
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.
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.
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 .
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.
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 --- .
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.
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 .
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.
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.
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.
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.
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.
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.
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 .
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.
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 c.
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.
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.
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.
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.
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.
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.
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 "Pr.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
2006/05/31 CHAPTER 2 "PCL" - 107 9. INDEX A adaptive compression ...................................................... 82 anchor point..................................................................... 92 AppleTalk configuration .......
2006/05/31 CHAPTER 2 "PCL" - 108 horizontal tab ................................................................... 11 HP-GL/2 mode ................................................................ 91 I internal font .......................
2006/05/31 CHAPTER 2 "PCL" - 109 status readback ................................................................ 99 status response ................................................................. 99 mem ory ...............................
2006/05/31 CHAPTER 3 "PCL5C" - 1 CHAPTER 3 PCL5C.
2006/05/31 CHAPTER 3 "PCL5C" - 2 C ONTENTS 1. INTRODUCT ION................................................................................................................. 3 2. COLOR MO DES ..................................................
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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 t.
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.
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.
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 B.
2006/05/31 CHAPTER 3 "PCL5C" - 18 7. INDEX A algorithm ......................................................................... 13 B B/W mode ......................................................................... 4 black value ..........
2006/05/31 CHAPTER 4 HP-GL/2 - 1 CHAPTER 4 HP-GL/2 GRAPHICS LANGUAGE.
2006/05/31 CHAPTER 4 HP-GL/2 - 2 C ONTENTS 1. COMMAND LI ST .................................................................................................................. 4 2. INTRODUCT ION .........................................................
2006/05/31 CHAPTER 4 HP-GL/2 - 3 7.6. Character Plot Instructions .................................................................................................... .3 8 7.6.1. Introduc tion ..........................................................
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 R.
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 charact.
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.
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.
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 gra.
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.
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".
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.
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.
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 R.
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 .
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 [.
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.
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).
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 A.
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.
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.
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.
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-coordin.
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.
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 .
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 Rect.
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;&quo.
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.
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 .
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;".
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 Mod.
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.
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.
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.
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.
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;&qu.
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.
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;.
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 .
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.
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 nsi.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
2006/05/31 CHAPTER 4 HP-GL/2 - 52 8. INDEX A Absolute arc three point .................................................. 21 absolute comm ands ........................................................... 8 Absolute direction ...........................
2006/05/31 CHAPTER 4 HP-GL/2 - 53 Select primary font .......................................................... 43 Select secondary font ...................................................... 43 Select standard font ..................................
2006/05/31 CHAPTER 5 PJL - 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE.
2006/05/31 CHAPTER 5 PJL- 2 C ONTENTS 1. INTRODUCT ION .................................................................................................................. 4 1.1. About PJL ................................................................
2006/05/31 CHAPTER 5 PJL - 3 6.2. Variables ...........................................................................................................
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.
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.
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 [ .
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).
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.
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.
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.
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.
2006/05/31 CHAPTER 5 PJL- 12 Example <ESC>%-12345X@PJL<CR><LF> @PJL COMMENT -----------------------------<CR><LF> @PJL COMMENT -- PCL & PS JOB --<CR><LF> .
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.
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.
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.
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 .
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.
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.
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.
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/P2.
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.
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.
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.
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).
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).
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-32.
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-326.
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.
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/5.
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/5.
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) GLPENSIZE.
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.
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.
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.
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.
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/.
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, V.
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.
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/70.
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.
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/18.
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.
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.
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.
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.
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.
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.
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.
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 =.
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.
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).
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> @P.
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 C.
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.
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'.
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.
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>%-1234.
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.
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&.
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.
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.
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.
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.
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.
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.
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.
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 <.
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 DISP.
2006/05/31 CHAPTER 5 PJL - 69 9. INDEX C COMMENT comm and .................................................... 11 conditions .......................................................................... 8 context switching .............................
2006/05/31 CHAPTER 6 EPSON - 1 CHAPTER 6 EPSON FX-850.
2006/05/31 CHAPTER 6 EPSON - 2 C ONTENTS 1. COMMAND LIST................................................................................................................... 3 2. INTRO DUCTION ............................................................
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 j.
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-w.
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 .
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 ignor.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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 .
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.
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.
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.
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 charac.
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.
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.
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.
2006/05/31 CHAPTER 6 EPSON - 28 7. INDEX 9 9 bit image ....................................................................... 25 A absolute print position ..................................................... 10 B Backspace ..........................
2006/05/31 CHAPTER 7 IBM PROPRINTER - 1 CHAPTER 7 IBM PROPRINTER XL.
2006/05/31 CHAPTER 7 IBM PROPRINTER - 2 C ONTENTS 1. COMMAND LIST................................................................................................................... 3 2. INTRO DUCTION ...................................................
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 .
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 doub.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
2006/05/31 CHAPTER 7 IBM PROPRINTER - 21 6. INDEX A Automatic line feed ........................................................... 9 B Backspace .......................................................................... 8 C cancel ...................
2006/05/31 CHAPTER 8 BAR CODE CONTROL - 1 CHAPTER 8 BAR CODE CONTROL.
2006/05/31 CHAPTER 8 BAR CODE CONTROL - 2 C ONTENTS 1. INTRO DUCTION ................................................................................................................... 3 2. PRINT BAR CODES OR EXPANDED CHARACT ERS .....................
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.
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.
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 .
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.
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.
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.
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.
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.
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 &ap.
2006/05/31 CHAPTER 9 HP-GL - 1 CHAPTER 9 HP-GL GRAPHICS LANGUAGE.
2006/05/31 CHAPTER 9 HP-GL - 2 C ONTENTS 1. COMMAND LI ST .................................................................................................................. 3 2. INTRODUCT ION ...........................................................
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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 .
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.
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 .
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 Thick.
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.
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.
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 I.
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.
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.
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-.
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.
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.
2006/05/31 CHAPTER 9 HP-GL - 27 4. INDEX A Absolute direction ........................................................... 22 Alternate char acter set ..................................................... 20 C Character plot ...........................
2006/05/31 CARBON COPY FUNCTION- 1 CHAPTER 10 CARBON COPY FUNCTION.
2006/05/31 CARBON COPY FUNCTION- 2 C ONTENTS 1. OUTLI NE ........................................................................................................................ ....... 3 1.1. Outline of the function ..................................
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.
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.
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.
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.
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.
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.
2006/05/31 APPENDIX A -COMPARISON LIST-1 APPENDIX A COMPARISON LIST.
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.
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-16.
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/5.
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-.
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-5.
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-5.
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.
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/.
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.
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.
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.
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.
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.
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.
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.
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/ 3450.
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.
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/2600.
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/3450C.
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/.
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.
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.
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/51.
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.
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/2600.
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.
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/.
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-1.
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-5.
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-5.
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-34.
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-1.
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-1.
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-1.
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-1.
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-1.
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 H.
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.
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.
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/16.
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.
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 /.
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 ...........
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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 .
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 Descr.
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 .
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 .
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.
2006/05/31 APPENDIX C HBP MODE COMMANDS - 1 APPENDIX C HBP MODE COMMANDS <For HL-820/1020/1040 Only>.
2006/05/31 APPENDIX C HBP MODE COMMANDS - 2 C ONTENTS 1. DESCRIPT IONS ................................................................................................................... 3 2. COMMAND TO ENTE R HBP MO DE ...............................
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.
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.
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 ).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 ......
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-20.
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.
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.
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 Par.
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.
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.
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/.
2006/05/31 APPENDIX E REFERENCE LIST OF FS -5050 SERIES UNIQUE COMMANDS - 1 APPENDIX E REFERENCE LIST OF FS-5050 UNIQUE COMMANDS.
2006/05/31 APPENDIX E REFERENCE LIST OF FS -5050 SERIES UNIQUE COMMANDS - 2 C ONTENTS 1. INTRODUCT ION .................................................................................................. 3 2. GENERAL SPECIF ICATION .....................
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.
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.
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 l.
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.
An important point after buying a device Brother PCL (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Brother PCL yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Brother PCL - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Brother PCL you will learn all the available features of the product, as well as information on its operation. The information that you get Brother PCL will certainly help you make a decision on the purchase.
If you already are a holder of Brother PCL, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Brother PCL.
However, one of the most important roles played by the user manual is to help in solving problems with Brother PCL. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Brother PCL along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center