Brother Laser Printer Technical Reference Guide HL-1050/1070/1250/1270N/1450/1470N/P2500/ 1660e/2060/2400C/2400Ce/3400CN/1650/ 1670N/3260N/2460/7050/1850/1870N/5040/ 5050/5070N/5140/5150D/5170DN/2600CN/ 3450CN/6050/6050D/6050DN/8050N/2700CN/ 2070N/5240/5250DN/5270DN/5280DW
First version August, 1999 Ver. A March, 2000 Created for HL-1050/1070/1250/1270N/ 1450/1470N/P2500/1660e/2060/2400C Revised for Addition of HL-2400Ce/3400CN Ver. B March, 2001 Revised for Addition of HL-1650/1670N/3260N/2460 Ver. C October, 2001 Ver. D June, 2003 Ver. E September, 2003 Ver. F October, 2003 Revised for Addition of HL-5040. Ver. G January, 2004 Correct Paper Source command of PCL5. Ver. H February, 2004 Correct Epson & IBM emulation, PJL and Barcode. 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 trademark of Seiko Epson Corporation. Hewlett Packard, HP, LaserJet and PCL are registered trademarks and LaserJet, HP-GL, and HP-GL/2 are trademarks of Hewlett Packard Company. IBM is a registered trademark and Proprinter XL is a trademark of International Business Machines Corporation.
TABLE OF CONTENTS GLOSSARY CHAPTER 1 INTRODUCTION 1. ABOUT THE MANUAL ----------------------------------------------------------------------------------- 3 2. AREAS OF USE ------------------------------------------------------------------------------------------- 4 CHAPTER 2 PCL 1. 2. 3. 4. 5. 6. 7. 8. 9.
CHAPTER 6 EPSON FX-850 1. 2. 3. 4. 5. 6. 7.
GLOSSARY Absolute plotting A method of plotting in the HP-GL and HP-GL/2 graphics language where coordinates are specified relative to the origin of the coordinate system currently in use. Anchor point The top left-hand corner of the PCL picture frame. You can position this on the page using a PCL command. Anisotropic scaling A form of image scaling using the SC command in HP-GL and HP-GL/2 mode in which the user units can be of different sizes.
Control panel reset A reset or factory reset performed using the printer control panel. Cross-hatching A method of shading using perpendicular diagonal lines that cross one another. Current units The current unit type in use in HP-GL and HP-GL/2 mode. Current units are either user units or graphics units depending on whether an SC command has been used.
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 symbol set, spacing, pitch, height or point size, style, stroke weight and typeface. Fonts can either be resident in the printer's ROM, installed on cartridge or downloaded from your computer. You can either buy downloadable fonts commercially or create your own. The word "font" is often wrongly used to mean "typeface".
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 Logical page The orientation in which the top edge of the page is longer than the side edges. The area of the physical page on which the cursor can be positioned in LaserJet mode. You can use PCL commands to specify the position of the logical page on the physical page.
Perforation skip A feature whereby the printer automatically 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. Physical page The paper or envelope on which the printer prints.
RAM Random Access Memory. The printer's memory in which fonts and macros can be stored and where pages that are to be printed are composed. Raster graphics A method of representing a graphic image as a series of zeroes and ones that correspond to white and black dots respectively. Relative plotting A method of plotting in the HP-GL and HP-GL/2 graphics language where coordinates are specified relative to the point at which the last graphics command terminated.
Soft clip limits See graphics window. The soft limits are determined by the IW command. Source image The graphic image that is applied to the destination image in the LaserJet print model. The interaction of the two images is determined by the current source and pattern transparency settings.
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 commands or with the printer's control panel by adjusting the "Lines" menu option in PAGE FORMAT MODE.
2006/05/31 CHAPTER 1 INTRODUCTION CHAPTER 1 INTRODUCTION - 1
2006/05/31 CONTENTS 1. ABOUT THE MANUAL .................................................................................................3 2. AREAS OF USE............................................................................................................4 2.1 Using Word Processing Packages and Spreadsheets........................................................ 4 2.2 Graphics.......................................................................................................................
2006/05/31 1. ABOUT THE MANUAL This technical reference manual is intended to help you get the most out of each of the emulation modes supported by your HL-Series laser printer. It is divided into nine sections - this introductory section and one section for each of the emulation modes. Each emulation mode section describes the software commands (the escape sequences and control codes) that you can use to make the printer perform each of its available functions.
2006/05/31 2. AREAS OF USE There are several different applications for which you may want to use your HL-Series laser printer. Four general areas are outlined in the following sections. 2.1 Using Word Processing Packages and Spreadsheets You may simply wish to use the printer with your software application packages, such as word-processors or spreadsheets.
2006/05/31 2.4 Font Development In LaserJet mode you can send your own character designs to an HL-Series laser printer and print text using them. To do this you need first to design your characters on paper. Having done this you can then either input and download your characters using a commercial software package, or encode your designs numerically and write your own program to download them.
2006/05/31 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE CHAPTER 2 "PCL" - 1
06/05/31 CONTENTS 1. COMMAND LIST .................................................................................................................. 7 2. INTRODUCTION ................................................................................................................ 10 3. CONTROLLING THE PRINTER......................................................................................... 11 3.1. Control Codes ..................................................................................
2006/05/31 4.2.8. Coordinates...........................................................................................................................................28 4.2.9. Units ......................................................................................................................................................28 4.2.10. Unit of measure ................................................................................................................................28 4.2.11.
2006/05/31 5.2.8. Selecting the height ..............................................................................................................................49 5.2.9. Scaling the scalable fonts vertically or horizontally ..............................................................................49 5.2.10. Selecting the style.............................................................................................................................49 5.2.11. Selecting the stroke weight...........
2006/05/31 6.5.3. 6.5.4. 6.5.5. 6.5.6. 7. MACROS............................................................................................................................ 93 7.1. The Purpose of a Macro ........................................................................................................... 93 7.2. Defining a Macro....................................................................................................................... 94 7.2.1. 7.2.2. 7.2.3. 7.3. 7.4. Macro ID....
2006/05/31 8.5.17. 8.5.18. 8.5.19. 8.5.20. 8.5.21. 9. Font cache ......................................................................................................................................106 Memory status response ................................................................................................................106 Memory error response ..................................................................................................................106 Flush all pages command....
2006/05/31 1.
2006/05/31 Esc(s#H, Esc)s#H Selecting the pitch Esc(s#V, Esc)s#V Selecting the height EscCR!#H, EscCR!#V Scaling the scalable fonts vertically or horizontally Esc(s#S, Esc)s#S Selecting the style Esc(s#B, Esc)s#B Selecting the stroke weight Esc(s#T, Esc)s#T Selecting the typeface Esc&p#X Transparent print data Esc&d#D, Esc&d@ Underlining text Esc&*c#D Font ID Esc*c#F Operations on downloaded fonts Esc(#X, Esc)#X Selecting a downloaded font Esc)s#W Sending the font descriptor Esc*c#E Sending a character cod
2006/05/31 EscCR!1234#M Status Readback Esc*s#T Esc*s#U Esc*s#I Esc*s1M Esc&r#F Esc*s#X MIO video I/O port control Set status readback location type Set status readback location unit Inquire status readback entity Free space command Flush all pages command Echo command CHAPTER 2 "PCL" - 9 95 96 97 97 98 102 103 103
2006/05/31 2. INTRODUCTION This laser printer provides a complete emulation of the supported Hewlett Packard LaserJet printer. Features include raster and vector graphics, support for bitmap and scalable fonts and page control. There are many resident fonts in the printer and you can gain access to more by inserting a font cartridge/card or the storage device into the printer or by downloading fonts from your computer.
2006/05/31 3. CONTROLLING THE PRINTER 3.1. Control Codes Control codes are ASCII codes that tell the printer to perform a given function, such as a carriage return. You can send these codes to the printer as part of a program. 3.1.1. Backspace (08) <08h> ASCII code 8. This code moves the cursor one column to the left. 3.1.2. Line feed (10) <0Ah> ASCII code 10. This code performs a line feed. 3.1.3. Form feed (12) <0Ch> ASCII code 12.
2006/05/31 3.2. Escape Sequences Escape sequences, also known as PCL (Printer Control Language) commands, tell the printer 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. Some escape sequences require parameter values. These are included in the sequence as numeric characters. The final letter of an escape sequence must be uppercase: all others must be lowercase.
2006/05/31 3.2.2. End-of-line wrap If the printer tries to print a line of text that is longer than the width of the text area, the end of the line will normally be lost. However, you can set the printer to flow text onto the next line so that text is not lost.
2006/05/31 3.3. Environments 3.3.1. Factory default environment The factory default environment is the collection of printer settings programmed into the printer before it leaves the factory. You can restore the factory default environment using the printer’s control panel. See the User's Guide to find how to reset the printer from the printer's control panel. Some settings cannot be restored to the factory default environment with the RESET operation from the printer's control panel. 3.3.2.
2006/05/31 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 to be used. Values for # correspond to the paper or envelope sizes shown in the table. Envelopes sizes are shown in the shaded part of the table.
2006/05/31 • When the printer receives this command any unprinted pages are printed and the left, right and top margins and the text length are set to their factory defaults for the new page size. • The cursor is moved to the top left of the text area on the new page. • Depending on your model, you may also set the page size from the printer’s control panel or remote printer console program (see the User Guide).
2006/05/31 • If the printer has data to print when this command is executed, the command is valid from the next page immediately after the data is printed.
2006/05/31 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 remains the same. • If # = 1 the current page is printed and the upper cassette becomes the paper source. • If # = 2 the current page is printed and paper is fed in manually. • If # = 3 the current page is printed and envelopes are fed in manually.
2006/05/31 If PJL TRAYCOMMAND is NORMAL; HL-1850/1870N/ 5050/5070N/ 5150D/5170DN/ 6050/6050D/6050D N HL5240/525 0DN/527 0DN/528 0DW HL5040/ 5140 HL-2070N HL-2460/ 7050 HL-8050N HL2600CN/ 2700CN HL-3450CN #=0 Eject ← ← ← ← ← ← ← #=1 Tray 1 ← ← ← ← ← ← ← #=2 Manual Feed ← ← ← ← ← ← ← #=3 Envelope ← ← ← #=5 Tray 2 ← ← ← N/A ← Tray2 ← ← ← MP Tray ← MP Tray ← N/A ← #=4 Tray 2 ← ← ← #=6 N/A ← ← ← ← ← ← ← #=7 Auto selection ← N/A ← N/A N/A ←
2006/05/31 4.1.5. Left long-edge offset registration Esc&l#U (27)(38)(108)#(85) <1Bh><26h><6Ch>#<55h> # stands for the distance in decipoints (1/720") that the left edge of the logical page is to be moved. • Values for # may be in the range -32,767 to 32,767. • The distance specified is relative to the logical page’s current position. • # can be positive or negative. Use a positive number to move the logical page to the right on the physical page, and a negative number to move it to the left.
2006/05/31 4.1.7. Simplex/duplex printing (For HL1660e/2060/3400CN/1650/1670N/3260N/2460/7050/1850/1870N/5150D/5170DN/5250DN/5270DN/5280 DW) Esc&l#S (27)(38)(108)#(83) <1Bh><26h><6Ch>#<53h> # can be 0, 1, or 2. • # = 0 indicates Simplex printing. • # = 1 indicates Duplex - Long edge binding printing. • # = 2 indicates Duplex - Short edge binding printing. • If the optional duplex unit is not installed onto the printer, this mode is set to Simplex mode.
2006/05/31 • You can also perform a printer reset using the printer’s control panel or remote printer console program (see the User Guide).
2006/05/31 4.1.11. Reset to factory default settings EscCRFD (27)(13)(70)(68) <1Bh><0Dh><46h><44h> • This command causes a factory reset to be performed, restoring all the printer’s factory default settings. See the section “Factory default environment” for a list of the factory default settings. • You can also perform a factory reset using the printer’s control panel or remote printer console program (see the User Guide). 4.1.12.
2006/05/31 PR2000070 4.1.15. Change emulation mode EscCRGL (27)(13)(71)(76) <1Bh><0Dh><47h><4Ch> This command changes the emulation mode to HP-GL mode. EscCRAB (27)(13)(65)(66) <1Bh><0Dh><41h><42h> This command changes the emulation mode to BR-Script Batch mode. EscCRAI (27)(13)(65)(73) <1Bh><0Dh><41h><49h> This command changes the emulation mode to BR-Script Interactive mode. EscCRI (27)(13)(73) <1Bh><0Dh><49h> This command changes the emulation mode to IBM Proprinter XL mode.
2006/05/31 4.2. The Page 4.2.1. Physical page The physical page refers to the size of the paper or envelope currently in use: A4, Letter, B5, JIS B5, Legal and Executive are the permitted paper sizes: Monarch, COM-10, International DL and International C5 are the allowable envelope sizes. 4.2.2. Printable area The printable area is a rectangular area of the physical page on which the printer can print.
2006/05/31 4.2.6.
2006/05/31 4.2.7.
2006/05/31 4.2.8. Coordinates The printer control language coordinate system has its origin at the intersection of the left edge of the logical page and the top margin. The x-coordinate value of the current cursor position increases as the cursor moves from left to right, the y-coordinate value increases as the cursor moves down the page. The cursor can be explicitly positioned anywhere on the current logical page using the PCL coordinate system.
2006/05/31 • If the current cursor position is to the right of your new right margin setting, the cursor will be moved to the new right margin. • The factory default left and right margin settings are at the left and right edges of the logical page respectively. • Depending on your model, margin settings can be made from the printer’s control panel (see the User Guide).
2006/05/31 4.2.14. Setting the vertical motion index (VMI) Esc&l#C (27)(38)(108)#(67) <1Bh><26h><6Ch>#<43h> # stands for the height of one row in 1/48". • # can have any value in the range 0-32767. • The distance specified by the VMI is the vertical distance moved down the page when the printer performs a line feed. The VMI is also sometimes referred to as the line pitch. • If you try to set a VMI that is greater than the current length of the logical page the command is ignored.
2006/05/31 10 REM ***** SETTING THE CHARACTER PITCH ***** 20 ESC$=CHR$(27) 30 REM --- DEFAULT IS 10 CPI PITCH --40 LPRINT "10 PITCH " 50 REM --- SET 5 CPI PITCH --60 LPRINT ESC$+"&k24H"; 70 LPRINT "AAA" 80 REM --- SET 6 CPI PITCH --90 LPRINT ESC$+"&k20H"; 100 LPRINT "AAA" 110 REM --- SET 8 CPI PITCH --120 LPRINT ESC$+"&k15H"; 130 LPRINT "AAA" 140 REM --- SET 10 CPI PITCH --150 LPRINT ESC$+"&k12H"; 160 LPRINT "AAA" 170 REM --- SET 12 CPI PITCH --180 LPRINT ESC$+"&k12H"; 190 LPRINT "AAA" 200 REM --- SET 0 CP
2006/05/31 Top margin Page length Text length Bottom margin 4.2.18. Page length Esc&l#P (27)(38)(108)#(80) <1Bh><26h><6Ch>#<50h> # stands for the length of the logical page in lines (at the current VMI). • If you specify a page length greater than is allowed by the physical size of the paper in the currently installed paper tray, a control panel message prompts you to load paper of the appropriate size.
2006/05/31 4.2.20. Positioning the cursor You can position the cursor anywhere on the logical page. In addition, the cursor position is automatically changed when text or graphics are printed. You can either position the cursor using absolute PCL coordinate values or position it relative to the current cursor position, using dots, decipoints or rows and columns as units. In case of using dots, the units value is defined by the ESC & u # d command. The commands for positioning the cursor are listed below.
2006/05/31 4.2.22. Horizontal position Horizontal cursor positioning - columns Esc&a#C (27)(38)(97)#(67) <1Bh><26h><61h>#<43h> # = number of columns • A plus or minus sign preceding the number of columns parameter indicates that the cursor is to be positioned relative to its current position. A signed positive parameter value signifies that the cursor is to be repositioned to the right on the page, a negative value means that it will be moved to the left.
2006/05/31 100 110 120 130 140 150 REM --- MOVING CURSOR 1 INCH TO THE RIGHT --LPRINT ESC$+"*p+300X"; LPRINT "C"; REM --- PAPER EJECT --LPRINT CHR$(12); END Horizontal cursor positioning - decipoints Esc&a#H (27)(38)(97)#(72) <1Bh><26h><61h>#<48h> # = number of decipoints 1/720" • A plus or minus sign preceding the number of decipoints parameter indicates that the cursor is to be positioned relative to its current position.
2006/05/31 4.2.25. Half line feed Esc= (27)(61) <1Bh><3Dh> This command moves the cursor down half a row as defined by the last VMI or line spacing command (Esc&l#C). 4.2.26. Logical page orientation Esc&l#O (27)(38)(108)#(79) <1Bh><26h><6Ch>#<4Fh> # = 0, 1, 2 or 3 • This command sets the orientation of the logical page relative to the physical page. • Values of # produce orientations as follows: 0 = portrait, 1 = landscape, 2=reverse portrait and 3 = reverse landscape.
2006/05/31 • All subsequent text is printed in the newly selected orientation. • The PCL coordinate system and margin settings are rotated through the specified angle. Hence the cursor coordinates will change. • HP-GL/2 graphics images cannot be rotated using this command. • The factory default orientation is portrait.
2006/05/31 5. USING FONTS 5.1. Introduction A font is a collection of characters that have common characteristics, such as size, style and typeface, and which ranges over a given set of symbols. For example, 12 point Tennessee Bold in the Roman-8 symbol set is a typical HL Series font. Different sorts of fonts are used to create various typographic effects.
2006/05/31 Microsoft Windows 3.
2006/05/31 The printer comes with some bitmap fonts contained in its ROM and many scalable typefaces which can be used to create scalable fonts.
2006/05/31 5.1.8. Card/cartridge fonts You can buy cartridge/card -based bitmap fonts and scalable typefaces. Plug the cartridge/card into one of the printer’s cartridge/card slots and then select any font from them as if it were in the printer’s ROM. Depending on your model, you can also save bitmap fonts and scalable typeface in the flash ROM memory, installed optional storage device and you can use any of these as if they were a font card. 5.1.9.
2006/05/31 5.1.15. Criteria for font selection The printer will try to match your stated font requirements as best it can with the fonts available to it in any of the three possible font locations. In most cases you will be specifying a font you know to be present in one of the locations and the resulting printed text will appear exactly as you envisaged.
2006/05/31 5.1.22. Stroke weight Stroke weight refers to the thickness of the lines which make up the printed characters. Characters of normal line thickness are called medium. Thicker lines are referred to as bold or black and thinner lines as light or thin. You can specify 15 different stroke weights - 0 denotes medium weight, negative values signify thinner strokes, and positive values signify bolder (thicker) strokes.
2006/05/31 5.2. Font Selection Commands 5.2.1. User-defined symbol sets User-defined symbol sets can be used with Unbound scalable fonts. Three new commands below are prepared for use to control a user-defined symbol set. To define a symbol set, its ID code must first be defined. Next, a list of symbols for the symbol set must be downloaded. Then, you can use the defined ID code for the symbol set selection. 5.2.2.
2006/05/31 0 -1: Header size (UI) - set to 18 or greater. This value stands for the number of header bytes. 2 -3 : Encoded Symbol Set Designator (UI) - should be as same as the ID code which is defined by ESC*c#R. 4: Format (UB) - 1 for MSL (Intellifont), 3 for Unicode (TrueType). 5: Symbol Set Type (UB) - 0, 1 or 2. 0 specifies a 7-bit font with character codes 20H to 7FH acceptable. 1 specifies an 8-bit font with character codes 20H to 7FH and 80H to FFH acceptable.
2006/05/31 Symbol map (Array of UI ) The symbol map, which has a list of symbol index numbers, is used to define the symbols for the symbol set. This map defines the combinations of symbol index numbers and character codes. 5.2.4. Symbol set control command Esc*c#S (27)(42)(99)#(83) <1Bh><2Ah><63h>#<53h> • Values for # can be 0, 1, 2, 4, or 5. • 0 specifies to delete all temporary and permanent user-defined symbol sets. • 1 specifies to delete all temporary user-defined symbol sets.
2006/05/31 User-defined symbol sets are defined by the command ESC ( f # W. Esc)symbol set ID (27)(41) <1Bh><29h> • This command selects the symbol set (character set) for the secondary font. • To select any of the above symbol sets for the secondary font simply substitute ‘)’ for ‘(’ in the command shown in the table.
2006/05/31 60 REM --- PRINT CHARACTERS ---70 FOR I=33 TO 127 80 LPRINT CHR$(I); 90 NEXT 100 LPRINT 110 REM --- FRENCH CHARACTER SET SELECTION -----120 LPRINT ESC$+"(s5C"; 130 REM --- PRINT CHARACTERS ---140 FOR I=33 TO 127 150 LPRINT CHR$(I); 160 NEXT 170 LPRINT 180 REM --- PAPER EJECT --190 LPRINT CHR$(12); 200 END 5.2.6. Selecting the type of character spacing Esc(s#P (27)(40)(115)#(80) <1Bh><28h><73h>#<50h> • This command selects the spacing type for the primary font.
2006/05/31 • The selection will apply to whichever font you are currently specifying (primary or secondary). • If the printer doesn't have the specified size font, the next largest size font is used. If the printer doesn't have a larger sized font, the next smallest one is used. • This value is ignored by the printer when a proportional spaced font is selected.
2006/05/31 Value 0 1 4 5 8 24 32 64 128 160 Font Style Upright & solid Italic Condensed Condensed italic Compressed, or extra condensed Expanded Outline Inline Shadowed Outline shadowed 10 REM ****** PRINT IN ITALIC & UPRIGHT STYLE ****** 20 ESC$=CHR$(27) 30 WIDTH "LPT1:",255 40 REM --- PRINT USING AN ITALIC FONT ---50 LPRINT ESC$+"(s1S"; 60 REM --- PRINT FONT ---70 FOR I=33 TO 127 80 LPRINT CHR$(I); 90 NEXT 100 LPRINT 110 REM --- PRINT USING AN UPRIGHT FONT --120 LPRINT ESC$+"(s0S"; 130 REM --- PRINT FO
2006/05/31 • The available values vary with the printer model. The following table shows the value for each typeface and availability.
2006/05/31 5.2.14. Transparent print data Esc&p#X (character codes) (27)(38)(112)#(88) <1Bh><26h><70h>#<58h> • This command enables you to print characters which are normally unprintable. • # is the number of bytes of data that follow the command. • Each byte of data is interpreted as a character code and the corresponding character in the currently selected symbol set is printed (if there is one). You can use this command to print the symbols in the character set which do not appear on the keyboard.
2006/05/31 5.3. Downloadable font manipulation Fonts that you have bought on diskette can be downloaded to the printer from diskette or hard disk using the DOS COPY command or a font downloading applications program. To create your own fonts you can use PCL commands to send the various blocks of data that comprise a do(wnloadable font.
2006/05/31 5.4. Creating Downloadable Fonts 5.4.1. Downloading You can download existing fonts (that is, ones that you have bought or ones that you have created previously) using either a font downloading application program or the DOS command COPY/b PRN In addition, some word-processing and DeskTop publishing programs will automatically download the fonts that have been used in a document when that document is printed.
2006/05/31 • The Font descriptor has information for the whole character set. When this font descriptor is sent to the printer with a font header to identify the font ID, the descriptor parameters become the basis of the downloaded fonts. • The data format for each type of font descriptor block is shown below.
2006/05/31 Byte 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 - 47 48 - 63 64 66 68 70 72 74 76 Desc.
2006/05/31 Byte 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 - 47 48 - 63 64 66 68 70 72 74 76 78-85 Desc. Size - 2 Desc.
2006/05/31 Byte 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 - 47 48 - 63 64 66 68 70 72 15 (MSB) 8 7 (LSB) 0 Font Descriptor Size (>72) Descriptor Format (15) Font Type Style MSB Reserved Base Line Position Cell Width Cell Height Orientation Spacing Symbol Set Pitch (Default HMI) Height x-Height Width Type Style LSB Stroke Weight Typeface LSB Typeface MSB Serif Style Quality Placement Underline Distance Underline Thickness Text Height Text Width First Cod
2006/05/31 10 Unbound font. Character codes corresponding to MSL numbers are acceptable. 11 Unbound font. Character codes corresponding to Unicode numbers are acceptable. When a 7-bit font or 8-bit font is selected, it is possible for codes 00H to FFH to load characters or delete them. It is also possible to print the characters if they are defined as transparent print data. • Style MSB (UW) - combined with the Style LSB to make the style word.
2006/05/31 Symbol set name Default Set Line Draw-7 ISO 60: Danish/Norwegian Roman Extensions ISO 25: French HP German Greek-8 Hebrew-8 Microsoft Publishing Document Ventura International ISO 14: JIS ASCII ISO 57: Chinese Korean-8 HP Block Characters Line Draw-8 Tech-7 Ventura Math ECMA-94 Latin 1 (ISO 8859/1) ECMA-128 Latin 5 (ISO 8859/9) OCR A OCR M APL (Bit Paired) Cyrillic ASCII (ECMA-113/86, PC Cyrillic HP Spanish ISO 10: Swedish ISO 84: Portuguese HP European Spanish HP-GL Download HP-GL Special Symbo
2006/05/31 For Intellifont-scalable fonts only, the default HMI is calculated as follows. Default HMI (in dots) = (300 x master design pitch x required point size) ÷ {Master x Resolution ÷(height x 8)} Default HMI ( in dots ) = (300 x master design pitch x required point size) ÷ {72.307 x scale factor} Height (UI) - specifies the height of the font in 1/4 dots. Combined with Height Extended to specify the height of the font in 1/1024 dots. This value can be converted to the point size (1/72").
2006/05/31 Value 0 1 2 3 4 5 Vendor Reserved Agfa Division, Miles Inc. Bitstream Inc. Linotype Company The Monotype Corporation plc Adobe Systems Inc. The Typeface family number can be 0 to 4095. This value is calculated as follows; (TrueType base value) + (Vendor value x 4096) = Typeface Family • Serif style (UB) Bitmap font - ignored by these printers. Scalable font - values for the lower 6 bits are ignored and values for the upper 2 bits indicates the serif style.
2006/05/31 • Font number (ULI) - ignored by these HL Series printers. This 4-byte field specifies the number assigned to the font by the vending company. The number is stored as a hexadecimal value in the lower three bytes, bytes 44, 45 and 46. • Font name (16 bytes) - ignored by these HL Series printers. This 16-byte field can be used to specify a name for the font. • X-Resolution (UI) - specifies the resolution in the X-scan direction.
2006/05/31 Unicode Symbol Index Bit Field 32 - 63 28 - 31 22 - 27 3 - 21 0-2 Designated Use Miscellaneous uses (South Asian, Armenian, other alphabets, bar codes, OCR, Math, etc.) Reserved for Latin fonts. Reserved for platform / application variant fonts. Reserved for Cyrillic, Arabic, Greek and Hebrew fonts. Symbol Index field.
2006/05/31 5.4.3. Unicode symbol index character complement bits Bit Field 31 30 29 28 27 26 25 24 23 22 2,1,0 Designated Use 0 if font is compatible with 7-bit ASCII; otherwise set to 1. 0 if font is compatible with ISO 8859/1 Latin 1 (West Europe) character sets; otherwise set to 1. 0 if font is compatible with ISO 8859/2 Latin 2 (East Europe) character sets; otherwise set to 1. 0 if font is compatible with Latin 5 (Turkish) character sets (e.g., ISO 8859/9 Latin 5, PC-Turkish); otherwise set to 1.
2006/05/31 *Segment Size (UI) - indicates the size of each item in the data segment. *Data segment AP - Application support segment (reserved) CC - Character Complement Function and form are as same as character complement flag in the font descriptor. This is only for unbound fonts. CP - Copyright Value should be ASCII data. GI - Global Intellifont data (reserved) GT - Global TrueType Data This segment consists of a table directory and several tables for the TrueType font scaler.
2006/05/31 Byte 0-1 2 Format Raster Character Data Data Continuation • The bytes which follow the header are the raster data that make up the character. • Attributes are in one of four numerical formats. Unsigned integer (UI) 0 to 65535 Signed integer (SI) –32768 to 32767 Unsigned byte (UB) 0 to 255 Boolean - 0 or 1 • Format (UB) - 4 for bitmap fonts.
2006/05/31 MSB 4 Contour Data size 6 Metric data offset 8 Character Intellifont data 10 Contour tree offset 12 XY data offset 14 Metric data Character Intellifont Data Contour tree data XY coordinate data LSB offset Byte Data 0-1 Format Continuation 2 - 3 Continuous contour character data Last Reserved Checksum Byte Data 0-1 Format Continuation 2 - 3 Descri
2006/05/31 [TrueType scalable font] Byte 0-1 Format (15) 2 - 3 Descriptor size 4 ~ Additional descriptor size 2 + Desc.size Character Data Size 4 + Desc. size Glyph ID 6 + Desc. size TrueType Glyph Data 0-1 2-3 4~ 2 + Desc.size 4 + Desc. size 6 + Desc.
2006/05/31 Portrait character Paper motion Raster scan Top offset = 22 dots Baseline Character height = 31 dots Cursor position after character has been printed Character reference point Left offset = 2 dots Character width = 26 dots Delta X = 30 dots CHAPTER 2 "PCL" - 70
2006/05/31 Landscape character Paper motion Top offset = 27 dots Character height = 26 dots Raster scan Left offset = 22 dots Baseline Character width = 31 dots Cursor position after character has been printed Character reference point Delta X = 30 dots CHAPTER 2 "PCL" - 71
2006/05/31 6. USING GRAPHICS This HL Series printer affords the user considerable flexibility in the creation of graphic images. Vector, raster and rectangle graphics are available, all of which allow a range of shading and filling options. The HP-GL/2 graphics commands that are supported are described in the HP-GL/2 section of this manual. 6.1.
2006/05/31 For example Pattern Source image Destination image With transparent source image With opaque source image Possible results 6.1.2. Set pattern transparency Esc*v#O (27)(42)(118)#(79) <1Bh><2Ah><76h>#<4Fh> • This command sets the pattern transparency. • # is either 0 or 1. Set # to 0 to select transparent mode and to 1 to specify opaque mode.
2006/05/31 For example Pattern Source image (Source image is transparent) Destination image With transparent pattern With opaque pattern Possible results 6.1.3. Set area fill identity Esc*c#G (27)(42)(99)#(71) <1Bh><2Ah><63h>#<47h> • This command sets the pattern ID of a shading tone, a fill pattern or a user-defined pattern for subsequent selection with the Set Pattern Type command. • # 1 ~ 100 specify the percentage of a gray scale. • # 1 ~ 6 select a fill pattern.
2006/05/31 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 pattern data bytes. • User defined patterns can be defined by binary data or an 8 byte pattern descriptor. • The formats for the pattern descriptor are listed below.
2006/05/31 6.1.6. User-defined pattern control Esc*c#Q (27)(42)(99)#(81) <1Bh><2Ah><63h>#<51h> • # = 0 deletes all (temporary and permanent) user-defined patterns from the printer memory. • # = 1 deletes all temporary user-defined patterns from the printer memory. • # = 2 deletes the pattern whose ID number was specified most recently. • # = 4 saves the user-defined pattern as a temporary pattern whose ID number was specified most recently.
2006/05/31 • See the following example for programming examples using patterns.
2006/05/31 6.2. Plotting Rectangles Drawing rectangles is a basic case of printing graphics: the source image consists solely of the rectangle itself. Thus only the pattern transparency has any bearing on the final effect - the source transparency is irrelevant. 6.2.1. Cursor position Position the cursor using the commands described in the chapter entitled “The Page”. You can use units, decipoints or rows and columns as coordinate units.
2006/05/31 • See the following example for programming examples using gray scales.
2006/05/31 6.3. Raster Graphics 6.3.1. Positioning the cursor Position the cursor using the commands described in the chapter entitled “The Page”, using dots, decipoints or rows and columns as coordinate units. 6.3.2. Set raster resolution Esc*t#R (27)(42)(116)#(82) <1Bh><2Ah><74h>#<52h> • This command sets the raster image resolution in dots per inch. • # is 75, 100, 150, 200, 300 or 600. • The lower the resolution you specify, the less printer memory your raster image will occupy.
2006/05/31 6.3.5. Set raster area height Esc*r#T (27)(42)(114)#(84) <1Bh><2Ah><72h>#<54h> • This command sets the height of the raster image to be printed. • # is the number of raster rows. • If you use this command after using a Start Raster Graphics or a Transfer Raster Data command, it does not take effect until after the next End Raster Graphics command. 6.3.6. Set raster area width Esc*r#S (27)(42)(114)#(83) <1Bh><2Ah><72h>#<53h> • This command sets the width of the raster image to be printed.
2006/05/31 • # = 3 indicates that delta row compression is to be used. In this method byte sequences identify how each raster row differs from the last row that was transmitted. The first byte identifies the number of consecutive bytes (the value of the most significant 3 bits plus 1) to be changed and the position in the line at which to start substituting the replacement bytes (the least significant 5 bits plus 1).
2006/05/31 • # = 9 Mode 9 compression Like mode 3 compression, this mode 9 compression data contains only the difference of the current row from the preceding row. Replacement data often consists of a repetition of a particular byte in mode 3 compression. Mode 9 compression is effective in such cases. Simple mode 9 compression data consists of a command byte and the replacement data. A Command byte consists of 3 parts. These are the control bit, the offset count and the replacement count.
2006/05/31 If the control bit is 1, replacement data is repeated data. Bits 6 to 5 contain the offset count and bits 4 to 0 contain the 'replacement count (repeat count) - 2'. If bit 6 and bit 5 are '1', then an optional offset byte follows the control byte. If the value of this optional offset byte is 255, another (second) optional offset byte follows the first optional offset byte. The addition of the offset count in the control byte and any optional offset bytes gives the total offset count.
2006/05/31 Byte position 0-1 2-3 4-7 8 - 11 Data Description 6E 6E 0A 00 5E 00 00 00 File length 12 - 13 14 - 15 16 - 19 20 - 21 01 00 01 00 4A 00 00 00 Compression mode 22 - 55 56 - 59 00 ... 00 Picture data length 60 - 61 62 - 63 64 - 65 66 - 67 68- 69 71 - 71 72 - 73 74 - 75 01 00 01 00 Pixels/line Pixels/line Lines/picture Lines/picture 00 00 Photometrics 00 00 or 01 00 02 00 Fill order 01 00 or 02 00 01 00 00 00 01 00 Resolution 200, 300, 400, 600 'nn' This is header ID.
2006/05/31 • # = 1024 indicates TIFF format. This is valid only for 600 dpi data. The raster graphics data is transferred with the ESC*b###W (### = data length) command. The TIFF file follows this mode set command. This printer does not support LZW compression. Pages that contain TIFF data are printed in gray scale mode. The TIFF data contains the header, tag and print data. This mode supports TIFF Version 5.0 file format.
2006/05/31 6.3.9. Start raster transfer Esc*r#A (27)(42)(114)#(65) <1Bh><2Ah><72h>#<41h> • This command signals the start of the transfer of a raster image to the printer. • # is 0 or 1. • # = 0 denotes that the image will be printed starting from the left edge of the logical page. • # = 1 denotes that the image will be printed starting from the current cursor position.
2006/05/31 Raster graphics example 10 REM ***** A EXAMPLE OF RASTER GRAPHICS ***** 20 ESC$=CHR$(27) 30 WIDTH "LPT1:",255 40 REM --- SET GRAPHICS RESOLUTION TO 300 DPI --50 LPRINT ESC$+"*t300R"; 60 REM --- START RASTER GRAPHICS --70 LPRINT ESC$+"*r1A"; 80 REM --- TRANSFER RASTER GRAPHICS --90 FOR I=1 TO 28 100 REM --- TRANSFER 1 LINE OF DOTS (4 byte = line) --110 LPRINT ESC$+"*b4W"; 120 FOR J=1 TO 4 130 READ A$ 140 LPRINT CHR$(VAL("&H"+A$)); 150 NEXT J 160 NEXT I 170 REM --- END RASTER GRAPHICS --180 LPRINT
2006/05/31 6.3.13. Horizontal 1200-dpi image format mode (Raster Graphic Mode 1027) The printer supports 1200 dpi printing for special image formats in 1200 dpi mode. We recommend that the installed printer memory is 10 Mbytes or more for 1200 dpi printing. To set 1200 dpi mode, 1. Set 1200 dpi printing mode by using the following PJL command: @PJL SET RAS1200MODE = ON 2.
2006/05/31 Data compression compresses the original image data word by word (16 bits). The compressed data consists of both horizontal compression which uses 16 bit, 8 bit and 4 bit repeating patterns within 1 word or 2 words of data and vertical compression which indicates how many times to repeat the same data as in the previous line within 1 word of data. Non-compressed data When the most significant bit in the first 2 bytes is 0, the printer goes into non-compression mode.
2006/05/31 6.4. Vector Graphics For large-scale graphic images it is more efficient to use vector graphics. In LaserJet emulation mode you can set up the page area on which to print vector graphics images. The vector graphics capabilities of these HL Series printers working in HP-GL/2 mode are described in the HP-GL/2 section of this manual. 6.4.1. Enter HP-GL/2 mode Esc%#B (27)(37)#(66) <1Bh><25h>#<42h> • This command enters HP-GL/2 graphics mode.
2006/05/31 6.5. The Picture Frame The PCL picture frame is the rectangular area of the page on which you can print graphic images. You can position and size the picture frame to suit your requirements and achieve effects such as scaling or distortion of vector graphics images. 6.5.1. The default picture frame The default picture frame size and position is determined by the default logical page size and text length for each given paper size. 6.5.2.
2006/05/31 7. MACROS 7.1. The Purpose of a Macro A macro is a sequence of commands that you wish to execute. You can specify the command sequence and download it to the printer after which you can execute it with a single command. For example, you might wish to draw a raster image at the top of each page you print. Rather than sending the same sequence of commands every time you print a new page, it is more efficient to define a macro to draw the image and store the macro in the printer’s memory.
2006/05/31 7.2. Defining a Macro To define a macro you must first assign an ID number to it, then send to the printer a Start Macro Definition command, the macro definition itself (consisting of a sequence of PCL commands) and finally an End Macro Definition command. 7.2.1. Macro ID Esc&f#Y (27)(38)(102)#(89) <1Bh><26h><66h>#<59h> • This command assigns an identity number to a macro that is to be downloaded, or references an existing macro in the printer’s memory. • # is the ID number of a macro.
2006/05/31 7.3. Running a Macro Macros can be invoked in three different ways: they can be ‘executed’, ‘called’ or ‘enabled for overlay’. When a macro is 'executed' it uses the current modified print environment. Any changes it makes to the environment are permanent. A macro that is 'called' also uses the current modified print environment, however, any changes it makes to the environment are discarded when the macro has performed its function.
2006/05/31 7.4. Handling Macros 7.4.1. Delete all macros Esc&f6X (27)(38)(102)(54)(88) <1Bh><26h><66h><36h><58h> • This command deletes all macros from the printer’s memory. 7.4.2. Delete all temporary macros Esc&f7X (27)(38)(102)(55)(88) <1Bh><26h><66h><37h><58h> • This command deletes all temporary macros from the printer’s memory. Temporary macros are those which have not been made permanent with the Esc&f10X command. 7.4.3.
2006/05/31 120 REM --- SET FONT TO LETTER GOTHIC (18 DOTS WIDE) --130 LPRINT ESC$+"(s0p16.66h8.
2006/05/31 • If the key is [RENAME], this command allows the printer to change the name field of the AppleTalk name binding protocol. &b#WRENAMEprintername printername should be specified with 1 to 31 characters. The characters $00 to $FF (except for $00, @, :, *, =, $C5) can be used for the printername. $00 is used as the terminator. If invalid characters are used, this command is ignored. • If the [key] is set to [JOB], this command changes the current job name.
2006/05/31 8. STATUS READBACK 8.1. Introduction Status readback features are explained in this section. The printer sends a status response message after receiving a request for its status by these commands. You can get the information as shown below from the printer.
2006/05/31 8.5. Status Response Syntax All of the status responses begin with "PCL", Carriage Return control code and a Line Feed control code. The response is ended by a Carriage Return and a Line Feed control code. At the end of the transaction, status responses are ended by a Form Feed Control code. The fundamental syntax for the status response is as shown below. PCL INFO TITLE KEYWORDn=DATAn KEYWORDn=DATAn . . .
2006/05/31 4 0 1 2 0 1 n 5 all downloaded entities downloaded entity as temporary downloaded entity as permanent All cartridge/cards the cartridge/card which has the highest priority. the cartridge/card which has the lowest priority • When the location value is 0, 1 and 2, it ignores the unit value (which might be set to any value). The default value is 0, and whenever you reset the printer, the value is reset to the default value. • The location unit setting is retained by the printer.
2006/05/31 In a font status response, the "SELECT=" keyword line specifies the individual fonts. The font is identified by this line by specifying the font selection characteristics such as symbol set, spacing, pitch, height, style, stroke weight, and typefaces. It returns the "SELECT=" for all font types. In a status response, the five characters "<", "E", "s", "c", and "&>" represent an escape character. Keywords following a "SELECT=" keyword mean the font specified by that "SELECT=" keyword. 8.5.6.
2006/05/31 "LOCUNIT=" specifies the location unit of the font which is selected at present. The value field of the Set Status Readback Unit command is related to the value returned. For instance, if the printer font which is selected at present is a bold 12 point Presentation bitmap font which is selected from a cartridge, and a font entity request with the location type set to 1 is produced, the response will be returned as follows. PCL INFO FONTS SELECT="(2U(s0p10.00h12.
2006/05/31 For instance, a font extended response with the location type set to 1( selected at present ) where the font which is selected at present is the internal Pc Tennessee (18 point identified for printing) bold, returns the response as follows. PCL INFO FONTS EXTENDED SELECT="(8U(s0p18.00h0s3b4101T" DEFID="(8Us0p18.000s3b4101T" DEFID="I 2" NAME="PcTennessee Bd" LOCTYPE=1 LOCUNIT=1 8.5.12.
2006/05/31 Status location type 1 (selected at present) is an incorrect location for unbound font symbol sets and returns an error. Example responses in this section for "SYMBOLSETS=" do not indicate the complete list of symbol sets which are available internally, but only a partial list . The internal symbol sets depend on the printer and might differ according to the printer. 8.5.15.
2006/05/31 8.5.17. Font cache In order to print characters from a scalable font, the printer changes the scalable character outlines into sized bitmaps. These bitmapped characters are produced on a character-by-character basis and the produced bitmapped characters are stored in memory. As it prints more pages using more fonts, more memory is consumed by the bitmaps. The bitmap characters used on the first page of a job can stay in memory till the end of a job.
2006/05/31 9. INDEX A adaptive compression ...................................................... 82 anchor point..................................................................... 92 AppleTalk configuration ................................................. 97 APT ................................................................................. 86 area fill ............................................................................ 74 B backspace ......................................................
2006/05/31 horizontal tab................................................................... 11 HP-GL/2 mode ................................................................ 91 I internal font ..................................................................... 40 italic ................................................................................ 50 J Job separation command ................................................. 21 L landscape .............................................................
2006/05/31 status readback ................................................................ 99 status response................................................................. 99 memory..................................................................... 106 status response syntax ................................................... 100 stroke weight ................................................................... 43 select...........................................................................
2006/05/31 CHAPTER 3 PCL5C CHAPTER 3 "PCL5C" - 1
2006/05/31 CONTENTS 1. INTRODUCTION................................................................................................................. 3 2. COLOR MODES ................................................................................................................. 4 3. 4. 5. 6. 7. 2.1. Using Simple Color Mode - Set Simple Color ............................................................................ 4 2.2. Using PCL Color Mode - Set PCL Color Setting .........................
2006/05/31 1. INTRODUCTION This chapter describes the enhanced commands for the PCL5C emulation. PCL5C is upwards-compatible with PCL5e. describes the PCL5e emulation. For the commands of PCL5e, refer to “Chapter 2 PCL” which If you are reading this technical manual for the first time, it is recommended that you read Chapter 2 first before reading this Chapter.
2006/05/31 2. COLOR MODES The PCL5C emulation provides a B/W mode, which is the default, and three color modes as follows; 1) Simple Color Mode 2) PCL Color Mode 3) HP-GL/2 Color Mode Simple Color Mode allows you to use a maximum of 8 colors easily. PCL Color Mode allows you to use a maximum of 16,000,000 colors logically. HP-GL/2 Mode allows you to use vector graphics in color. It is possible to switch between these modes in a single page, which enables you to use each of them for your purpose.
2006/05/31 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 bytes of data that follow this command. This command sets the palette size and transformation between the entered value and device-specific value. This command has two types of format, short format and long format. color setting.
2006/05/31 [Example] If you want to send index No. 7,6,5,4,3,2,1,0; Enter ’ESC*v6W 00h 00h 04h 08h 08h 08h’, then select Send Index No by Plane. Select 4 bits/index. (24 = 16 Palettes) ESC*r1A ESC*b1V ESC*b1V ESC*b1V ESC*b1W ....
2006/05/31 (i.e.) ESC*b#V ESC*b#V ESC*b#W ESC*b#V ESC*b#V r, g, b, r, g, r, g, b, r, g, r, g, b, r, g, r, g, b, r, g, r...→ Plane 1 g...→ Plane 2 b...→ Plane 3 r...→ Plane 1 g...→ Plane 2 1st raster 2nd raster ** The Italic characters shown above are the index No. at the 4th pixel in the 1st raster. [Example] If you want to send RGB=(1,1,1)(0,1,1)(1,0,1)(0,0,1)(1,1,0)(0,1,0)(1,0,0)(0,0,0); ** The values in the brackets show the RGB value of the pixel.
2006/05/31 ♣ Bits/index • Specifies the palette size at 2n. n indicates bits/index. (n=4 24=16 palettes) • When the encoding mode is 0 or 1, the palette size selected by the bits/index value specifies the range of the index No., which can be used for raster data.
2006/05/31 ♣ Black reference for value #1, #2, #3 ♣ This mode specifies 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, this setting is valid. 2.3. Using HP-GL/2 Color Mode Two methods are provided to set the color mode in the HP-GL/2 mode. Set the color mode by the PCL command, then transfer to the HP-GL/2 mode. Execute the NP command.
2006/05/31 3. COLOR PALETTES 3.1. Set Color #1 Command ESC*v#A (27)(42)(118)#(65) Range = -32767 ~ 32767 Default value = 0 <1Bh><2Ah><76h>#<41h> • This command sets the red value in the palette. Use the Set Color to Palette command to set the value • The value range to be set varies depending on the specified black/white reference. 3.2. Set Color #2 Command ESC*v#B (27)(42)(118)#(66) Range = -32767 ~ 32767 Default value = 0 <1Bh><2Ah><76h>#<42h> • This command sets the green value in the palette.
2006/05/31 3.5. Select Color Command ESC*v#S (27)(42)(118)#(83) # = 0 ~ current palette size Default value = 0 <1Bh><2Ah><76h>#<53h> • This command selects the color as the index number in the palette. • This command is valid for text, underline, rule and graphics. • This command does not affect the User-defined color pattern or HP-GL/2. the color using the SP command.
2006/05/31 4. COLOR GRAPHICS 4.1. Start Raster Transfer Command ESC*r#A # =0* =1 =2 (27)(42)(114)#(65) <1Bh><2Ah><72h>#<41h> Prints the image from the left edge of the logical page. Prints the image from the current cursor position. Executes scaling. Prints the image from the left edge of the logical page. =3 Executes scaling. Prints the images from the current cursor position. * Default value = 0 • This command signals the start of the transfer of raster image data to the printer.
2006/05/31 4.4. Set Scale Algorithm Command ESC*t#K (27)(42)(116)#(75) <1Bh><2Ah><70h>#<4Bh> # =0* Takes the lighter overlying dots when reducing. =1 Takes the darker overlying dots when reducing. * Default value = 0 • This command sets which algorithm the data is reduced by. • Any combinations, such as vertical only, horizontal only or vertical and horizontal are allowed to be reduced. If the setting is vertical only or horizontal only, this command affects the set direction.
2006/05/31 5. ENHANCE OUTPUT 5.1.
2006/05/31 5.3. Set Gamma Correction Command ESC*t#I (27)(42)(116)#(73) <1Bh><2Ah><74h>#<49h> # = 0.0 ~ 32767.0 (command is ignored for invalid values) Default value = 0 (gamma correction off) This command does not destroy the contents of the current palette, but setting a gamma value replaces any lookup table input in either Device CMY or Device RGB. 5.4. Download Dither Matrix Command ESC*m#W [data] (27)(42)(109)#(87) Range = 7 ~ 32767 (Any other value is ignored.
2006/05/31 6. HP-GL/2 A few HP-GL/2 commands are added for the HL-2400C/Ce, HL-3400CN, HL-2600CN, HL-3450CN, HL2700CN color laser printer, and the features of some existing commands are also expanded.
2006/05/31 • PC [pen;]: sets the pen to the default color. Number of pens in palette 2 (“NP 2;”) 4 (“NP 4;”) 8 (“NP 8;”) Pen number 0 1 0 1 2 3 0 1 2 3 4 5 6 7 Color White Black White Black Red Green White Black Red Green Yellow Blue Magenta Cyan ** If the number of pens in the palette is over 8, the color is set to black. 6.3.
2006/05/31 7. INDEX A M algorithm ......................................................................... 13 monochrome mode ..........................................................14 B N B/W mode ......................................................................... 4 black value ........................................................................ 9 blue value ........................................................................ 10 NP command.........................................
2006/05/31 CHAPTER 4 HP-GL/2 GRAPHICS LANGUAGE CHAPTER 4 HP-GL/2 - 1
2006/05/31 CONTENTS 1. COMMAND LIST .................................................................................................................. 4 2. INTRODUCTION .................................................................................................................. 6 3. TERMINOLOGY ................................................................................................................... 7 4. 5. 6. 7. 3.1. Picture Frame...................................................
2006/05/31 7.6. 7.6.1. 8. Character Plot Instructions..................................................................................................... 38 Introduction ...........................................................................................................................................39 INDEX.................................................................................................................................
2006/05/31 1.
2006/05/31 DI DR DV CP CF SI SR SL SB ES TD Absolute direction Relative direction Define variable text path Relative character movement Character fill mode Set absolute character size Set relative character size Character slant Scalable or bitmap fonts Extra space Transparent data CHAPTER 4 HP-GL/2 - 5 45 46 47 47 48 48 49 49 50 50 50
2006/05/31 2. INTRODUCTION Some of the HL series printers can be used in HP-GL/2 graphics mode to produce vector graphics output using the commands of the HP-GL/2 graphics language or to print out existing HP-GL/2 format images. HP-GL/2 is a part of the PCL emulation, which includes graphics command. The Default plotting measurement unit in the HP-GL/2 graphics mode is 1/1016" CHAPTER 4 HP-GL/2 - 6 ( 0.025 mm).
2006/05/31 3. TERMINOLOGY 3.1. Picture Frame The printer frame is the rectangular area of the page on which graphic output can be printed. on the logical page defined for the selected paper size. 3.2. Anchor Point The anchor point of the picture frame is the top left hand corner of the frame. page using PCL language page control commands. 3.3.
2006/05/31 3.10. Absolute and Relative Plotting Drawing commands are of two distinct types: absolute commands, in which the coordinates specified are the absolute user or graphics coordinates and relative commands, whose coordinates are relative to the coordinate position at which the previous graphics command terminated. 3.11. Fills You can fill in the shapes you have drawn with the plotting commands by using the fill commands. number of different shading options are available.
2006/05/31 4. COMMAND SYNTAX An HP-GL and HP-GL/2 command can consist of up to four items: separator and a terminator. 4.1. a mnemonic, a parameter field, a Mnemonic The two-letter mnemonic is the name of the command and should help remind you of its function. 4.2. Parameters Some commands have parameters following the instruction mnemonic. Multiple parameters must have separators between them. Parameters are shown in italics. Optional parameters are surrounded by square brackets.
2006/05/31 5. THE HP-GL GRAPHICS WINDOW 5.1. Units When you first enter graphics mode, the prevailing coordinate system has its origin in the bottom left hand corner of the graphics window and has x- and y-units of 1/1016". Using the SC command you can divide the axes into more convenient units. The size of the graphics window remains unaltered. 5.2. The Scaling Points P1 and P2 Many instructions use two reference scaling points, P1 and P2.
2006/05/31 6. PREPARING TO PRINT GRAPHIC IMAGES 6.1. Setting Up the Graphics Window Before entering HP-GL/2 mode you will probably want to set the dimensions and position of the PCL picture frame and hence the graphics window. (Remember that when you enter HP-GL/2 mode they are initially the same). To do this you will need to send some preparatory PCL commands while in LaserJet mode.
2006/05/31 7. COMMANDS 7.1. Initialize Commands DF - Default set instruction DF[;] • Returns the graphics mode to default conditions.
2006/05/31 IN - Initialize set instruction IN[;] • Returns the graphics mode to initial conditions; Function Plot mode Relative character direction Line type Line pattern length Window Equivalent Instruction PA; DR 1,0; LT; LT; IW; Symbol mode Anchor corner Line attributes User-defined line type Pen Pen position Character set Character size transformation Scalable or bitmap fonts Character slant Character fill Scaling Label terminator Raster fill Fill type Transparency mode Screened vectors Polygon mode
2006/05/31 7.2. Plot Area and Unit Setting Instructions Instruction Function IP Scaling point IR Input relative scaling points SC Scale IW Input window RO Rotate coordinate system IP - Input scaling point IP [ P1X, P1Y [,P2X, P2Y]] [;] P1X ; X coordinate of P1 P1Y ; Y coordinate of P1 P2X ; X coordinate of P2 P2Y ; Y coordinate of P2 • The coordinates used are absolute values in graphics units. • Set the location of the scaling points(P1,P2).
2006/05/31 SC - Scale SC [ Xmin, Xmax, Ymin, Ymax [, type ]] [;] (Type = 0) SC [ Xmin, Xmax, Ymin, Ymax , type [ left, bottom]] [;] (Type =1) SC [ Xmin, X factor, Y min Y factor [, type ]] [;] (Type = 2) Xmin ; X coordinate of P1 Xmax ; X coordinate of P2 Ymin ; Y coordinate of P1 Ymax ; Y coordinate of P2 Type ; type of scaling Left ; percentage of unused space to be left to the left of the scaling area bottom ; percentage of unused space to be left below the scaling area Xfactor ; number of gra
2006/05/31 • With type 1 scaling you can specify the percentage of unused space that is to lie below, or to the left of, the isotropic area. • left specifies the percentage of unused space you want to lie to the left of the isotropic area and can be from 0 to 100. If you do not specify the value for left, it is automatically set to the default value = 50%. • bottom specifies the percentage of unused space you want to lie below the isotropic area and can be from 0 to 100.
2006/05/31 IW - Window IW [ X1, Y1, X2, Y2 ] [;] Y1-Window lower left Y coordinate X1-Window lower left X coordinate Y2-Window upper right Y coordinate X2-Window upper right X coordinate • This instruction sets the window inside which drawing can be performed (the soft clip limits). • Coordinates are specified in current units. • Using this instruction with no parameters sets the window to be the same as the picture frame. • You can set the corners of the window to lie outside the picture frame.
2006/05/31 7.3. Pen Control and Plot Instructions Instruction Function PU Pen Up PD Pen Down PA Plot Absolute PR Relative Coordinate Pen Move AA Absolute Arc Plot AR Relative Arc Plot AT Absolute Three Point Arc RT Relative Three Point Arc PE Polyline Encoded CI Circle BR Bezier Relative BZ Bezier Absolute PU - Pen up PU [ X,Y [,...
2006/05/31 PA - Plot absolute PA [ X, Y [,...]] [;] X ; X coordinate of the cursor movement destination Y ; Y coordinate of the cursor movement destination • Coordinates are absolute values in user or current units. • Whether used with or without parameters the command establishes absolute plotting as the plotting mode. • The command moves the cursor to the specified coordinates, drawing straight lines, only when the pen is down.
2006/05/31 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 coordinates in current units. • Starting from the current position, this command plots an arc centred on the absolute coordinates X, Y having the specified arc angle and chord angle, with the radius being the distance between the current position and the point X,Y.
2006/05/31 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 values in current units. • Starting from the current cursor position the command plots an arc whose centre is at the relative coordinate position (X,Y) and which has the specified arc and chord angles. The radius of the arc is the distance between the current position and the point (X,Y).
2006/05/31 RT - Relative arc three point RT X1, Y1, X2, Y2 [,qd] [;] X1 ; x-coordinate of intermediate point Y2 ; y-coordinate of intermediate point X2 ; x-coordinate of end point y2 ; y-coordinate of end point qd ; the chord angle used to draw the arc • The specified coordinates of the two points are relative to the current pen position. • The command draws an arc from the current position, finishing at the specified end position.
2006/05/31 • 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 command uses the currently selected pen. '<' - Pen up. The pen is raised and moved to the specified coordinate pair. All coordinate pair values not preceded by this flag are automatically interpreted as pen down plotting commands. '>' - Fractional data.
2006/05/31 • To avoid placing an unwanted dot at the centre of the circle precede the CI command with a PU command. 10 '-- Circle -20 WIDTH "LPT1:",255 30 LPRINT CHR$(27);"E"; 40 LPRINT CHR$(27);"%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SC-75,75,-75,75,1;" 70 LPRINT "PA0,0;LT;CI5;LT0;CI-12;" 80 LPRINT "LT1;CI19;LT2;CI-26;" 90 LPRINT "LT3;CI33;LT4;CI-40;" 100 LPRINT "LT5;CI47;LT6;CI54;" 110 LPRINT CHR$(27);"%0A"; 120 LPRINT CHR$(27); "E"; 130 END BR - Bezier relative BR [ X1, Y1, X2, Y2, X3, Y3 . .
2006/05/31 7.4. The polygon group Instruction Function PM Polygon Mode EA Edge Absolute Rectangle ER Edge Relative Rectangle EP Edge Polygon EW Edge Wedge RA Fill Absolute Rectangle RR Fill Relative Rectangle WG Fill Wedge FP Fill Polygon PM - Polygon mode PM [ ms ] [;] • This command is used for entering and leaving polygon mode, polygon buffer.
2006/05/31 10 '-Edge Rectangle Absolute20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SC0,150,0,150,1;" 70 LPRINT "PA25;105;EA65;130;" 80 LPRINT "PA30;110;EA70,135;" 90 LPRINT "PA35;115;EA75;140;" 100 LPRINT CHR$(27); "%0A"; 110 LPRINT CHR$(27); "E"; 120 END ER - Edge rectangle relative ER X, Y[;] X ; X coordinate of opposite corner for the rectangle Y ; Y coordinate of opposite corner for the rectangle • Coordinates are relative to the
2006/05/31 • r specifies the radius of the circle. A positive value for r places the 0° reference point onto the positive xaxis 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. qc current position q1 r 0° reference point • q1 specifies the wedge starting point relative to the 0 degree reference point.
2006/05/31 90 LPRINT "FT4,100,45;RA4250,4750;" 100 LPRINT CHR$(27); "%0A"; 110 LPRINT CHR$(27); "E"; 120 END RR - Fill rectangle relative RR X, Y[;] X ; X coordinate of opposite corner for the rectangle Y ; Y coordinate of opposite corner for the rectangle • Coordinates relative to the current position in current units. • Fill the rectangle formed by the current position and the opposite corner specified by X and Y. • After plotting the cursor returns to its point of origin.
2006/05/31 10 ' - Fill Wedge 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP2;FT3,100;" 60 LPRINT "PA2000,5000;" 70 LPRINT "WG1250,90,180,5;" 80 LPRINT "SP3;EW1250,90,180,5;" 90 LPRINT "SP4;FT4,100,45;" 100 LPRINT "WG1250,270,120;" 110 LPRINT "SP3;EW1250,270,120;" 120 LPRINT "SP1;FT1;" 130 LPRINT "WG1250,30,60;" 140 LPRINT "SP3;EW1250,30,60;" 150 LPRINT CHR$(27); "%0A"; 160 LPRINT CHR$(27); "E"; 170 END FP - Fill polygon FP [;] FP [ n ] [;] n ; fill me
2006/05/31 7.5.
2006/05/31 FT - Fill type FT n(, d(, q))[;] n ; Fill type d ; option 1 q ; option 2 • Sets the fill type, interval and angle when filling an area. This setting is effective for the commands FP, RA, RR, WG and CF.
2006/05/31 LA - Line attribute LA [ l, v [ , l , v [ , l , v]]] [;] l ; line attribute v : value • This command specifies the shape of line joins and line ends. • These settings are effective for the line widths thicker than 0.35 mm. • l specifies the line attribute for which you are setting a value. • There are three line attributes - line end type, values of 1, 2 and 3 respectively. line join type and miter limit, specified by line attribute • v specifies the value of the particular attribute.
2006/05/31 LT - Line type selection LT [, n [, p [,m ]]] [;] n ; Line pattern number p ; Line pattern length (percentage or millimeters of distance between P1 and P2) m : mode • This command specifies the line pattern for use when drawing lines with the vector group commands. • n defines the line type to be used. n is either in the range -8 to 8 or is 99. • Values of n from 1 to 8 specify a line type (as defined with the UL command) and use a fixed pattern length.
2006/05/31 PW - Pen width PW [w, [,p]] [;] w ; width p ; pen • This command specifies the width of the pen. • Pen width can either be specified as a fixed width in millimeters ( the default ) or relative to the distance between the scaling points P1 and P2. • If a width of zero is specified the thinnest width possible ( 1 dot wide ) is set. • Metric widths are scaled by the ratio of the PCL picture frame to the HP-GL/2 plot size. If the ratio for the two axes is different, the smaller one is used.
2006/05/31 10 '--Raster Fill Definition== 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "PU5,5;PA3500,2500;" 70 LPRINT "RF2,8,4,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0, 0,;" 80 LPRINT "FT11,2;RR4000,800;EP;" 90 LPRINT CHR$(27); "%0A"; 100 LPRINT CHR$(27); "E"; 110 END SM - Symbol mode SM c[;] c ; ASCII character or symbol code • The command specifies the symbol to be drawn.
2006/05/31 • With screen type 21 option 1 specifies one of six predefined PCL cross-hatch patterns (patterns 1 - 6). option 2 is ignored. • With screen type 22, option 1 specifies the ID number of PCL user-defined pattern which is defined by the ESC*c#W command. option 2 is ignored. • With fill screen type 130 option 1 specifies the percentage of shading ( 0 - 100 ): option 2 is ignored.
2006/05/31 170 180 190 200 210 220 230 240 250 260 270 280 'Source 2 LPRINT "FT10,50;PA4000,5000;RR500,500;PA4500,5500;RR500,500;" LPRINT "FT10,1;PA4500,5000;RR500,500;PA4000,5500;RR500,500;FT;" ' '( POLYGON ) LPRINT "PA2000,1000;PM0;PDPA4000,1000,3000,3000;PM1;" LPRINT "PA2500,1200,3500,1200,3000,2500;PM1;" LPRINT "PA3000,800,3700,2500,2300,2500;PM1;" LPRINT "PM2;FP;" LPRINT CHR$(27); "%0A"; LPRINT CHR$(27); "E"; END UL - User-defined line type UL [ i ] [,g [...
2006/05/31 • The command sets all pen widths to a default of 0.35mm. command. Hence it should be used before the PW • Using the command with no parameter defaults the type to 0 (metric) and all pen widths to 0.35mm. • The unit type is not affected by a DF command. 10 '-Pen Width Unit Selection20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 'metric 70 LPRINT PA2000,6000;PDPA6000,6000;PU;" 'Default 0.35mm 80 LPRINT "WU0;PA2000,5700;PDPA6000,5700;PU;"'0.
2006/05/31 7.6.1. Introduction The character group commands enable you to print text to accompany your HP-GL/2 generated graphics without leaving graphics mode. You can use any font that would be available to you in LaserJet emulation mode and you can modify various printing characteristics of the text such as the size, direction and slant of the characters. SD - Define standard font SD [ attribute, value ] [..
2006/05/31 • attribute = 1 : Valu e 1 3 5 7 9 12 14 16 19 21 25 36 38 43 45 48 51 57 76 79 85 Symbol set Name Math - 7 HP Large Characters Roman Extensions HP German Italian Line Draw - 7 ECMA-94 Latin1 (8-bit version) APL (typewriter paired) Swedish for names ASCII ISO number 15 8859/1 Valu e 2 4 6 8 11 13 15 11 6 18 20 22 61 69 13 2 26 37 39 44 47 50 53 75 78 83 89 114 147 173 179 185 205 217 243 263 266 268 275 277 281 309 332 3 of 9 Barcode Danish/Norwegian v2 French v2 Katakana Tech - 7 APL
2006/05/31 • attribute = 2 : Value 0 1 Spacing Meaning Monospacing Proportional spacing • attribute = 3 : Pitch Specify pitch in characters per inch (cpi). Pitch only applies to monospaced fonts. The pitch value you specify can be in the range 0 to 32767.9999. • attribute = 4 : Height Specify height in points. One point is 1/72". The height value you specify can be in the range 0 to 32767.9999. Proportionally spaced fonts are scaled according to the height you select.
2006/05/31 AD - Define alternate font AD [ attribute, value ] [..] [;] attribute : a font attribute to be defined value : the value of the attribute • This command allows you to define the alternate font and its attribute. • attribute takes a value from 1-7. 1 = symbol set, 2 = spacing, 3 = pitch, 4 = height, 5 = posture, 6 = stroke weight and 7 = typeface. • value selects an option for the specified attribute. For further explanation about attribute values previous SD command.
2006/05/31 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) font. All subsequently printed labels will appear in the primary font. • For scalable fonts this command must be preceded by an SD command specifying the font's point size or pitch.
2006/05/31 DT - Define label terminator DT [ c [, m ]] [;] c : Character m : mode • This command allows you to specify the character that terminates strings printed with the LB instruction. • The character immediately following DT is taken to be the terminator. Hence, do not put a space between the DT and your chosen character. If you do, space will be interpreted as the terminator in all subsequent LB commands.
2006/05/31 • When you use an LO instruction the carriage return point is set to be the new label origin. To send the pen back to a label's origin when you have finished printing it, include a carriage return between the last character of the label and the terminating character. • If a label contains embedded carriage returns, each character string following a carriage return is printed starting from the label origin.
2006/05/31 90 LPRINT "DT";" 100 LPRINT "DT0,2;LB_*_1988#"; "DI2,2;LB_*_1989#"; 110 LPRINT "DT2,0;LB_*_1990#"; "DI2,-2;LB_*_1991#"; 120 LPRINT "DT0,-2;LB_*_1992#"; "DI-2,-2;LB_*_1993#"; 130 LPRINT "DT-2,0;LB_*_1994#"; "DI-2,2;LB_*_1995#"; 140 LPRINT "PA3500,5350;DI", COS(0),SIN(0); "LB_*_2000"; CHR$(13); "#"; 150 LPRINT "DI", COS(RAD); SIN(RAD); "LB_RETURN POINT"; CHR$(13); "#"; 160 LPRINT CHR$(27); "%0A"; 170 LPRINT CHR$(27); "E"; 180 END DR - Relative direction DR [ run, rise ] [;] run : X-com
2006/05/31 DV - Define variable text path DV [ path [,line]] [;] path : text printing path - horizontal or vertical, and left to right, right to left, upwards or downwards. line: the effect of a line feed. • This command determines the printing direction for labels and the carriage return point. • Permissible values of path are 0, 1, 2 and 3. If path = 0 labels are printed horizontally and left to right - normal printing.
2006/05/31 CF - Character fill mode CF [ fill [, pen ]] [;] fill : the fill pattern used to fill characters pen : the pen used to edge characters • This command determines how characters are edged and filled. • Only scalable fonts can be both filled and edged - bitmap fonts and the stick font cannot be edged and can only be filled with raster fill, shading or PCL cross-hatch patterns. with any pattern specified by the FT command.
2006/05/31 10 ' -Absolute Character Size20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "PA700,3000;DT#;LBPrinter#" 70 LPRINT "PA700,2000;SI0.75,1;LBPrinter#" 80 LPRINT "SI;SD1,21,2,1,3,12,5,0,6,0,7,52;SS;" 90 LPRINT "PA40003000;LBPrinter#" 100 LPRINT "PA4000,2000;SI1,1.
2006/05/31 10 ' -Character Slant20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27; "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SD1,21,2,1,4,25,5,0,6,0,7,5;SI0.7,1;" 70 LPRINT "PA1000,1000;DT#,1;SL0.36,LBPrinter#" 80 LPRINT "PA1000,300;SL-0.
2006/05/31 • mode is set to either 0 or 1. If mode is set to 0, control codes perform their normal functions and are not printed. If mode=1, all characters are printed, if possible. No control characters perform any function except the label terminator. Any non-printing or undefined characters appear as a space. • If you use the command without parameters, control codes will perform their normal functions and will not be printed.
2006/05/31 8. INDEX A H Absolute arc three point .................................................. 21 absolute commands ........................................................... 8 Absolute direction ........................................................... 45 Anchor corner ................................................................. 30 anchor point....................................................................... 7 hard clip limits .......................................................
2006/05/31 Select primary font .......................................................... 43 Select secondary font ...................................................... 43 Select standard font ......................................................... 42 Select unit for pen width ................................................. 37 separators .......................................................................... 9 Set absolute character size...............................................
2006/05/31 CHAPTER 5 PJL PRINTER JOB LANGUAGE CHAPTER 5 PJL - 1
6/05/31 CONTENTS 1. INTRODUCTION .................................................................................................................. 4 1.1. About PJL ................................................................................................................................... 4 1.2. In Case of Using PJL with a Non-PJL Printer ............................................................................. 5 1.2.1. 1.2.2. 1.2.3. 1.3. PJL Syntax and Format .........................
2006/05/31 6.2. Variables ................................................................................................................................... 18 6.2.1. Variables for HL-1050/1070/1250/1270N/1450/1470N/P2500/1650/1670N/3260N/2460/ 7050/1850/1870N/5040/5050/5070N/5140/5150D/5170DN/6050/6050D/6050DN/8050N/ 2070N/5240/5250DN/5270DN/5280DW............................................................................................................18 6.2.2.
2006/05/31 1. INTRODUCTION 1.1. About PJL Printer Job Language(PJL) provides job status control by sending the printer status information to the application. PJL can be a valuable tool for the single-user environment, but is a much more useful tool for the networking / sharing environment. PJL Emulations ( BR-Script, PCL, IBM, EPSON etc... ) Printer PJL allows job-level control that cannot be accomplished with PCL, Postscript or other emulations. PJL includes five major features.
2006/05/31 1.2. In Case of Using PJL with a Non-PJL Printer Our recent printer models support PJL, however, earlier models do not . If the PJL commands are sent to a non-PJL printer, the printer acts as follows; 1.2.1. PCL jobs For a PCL printer which does not support the PJL language, the PJL command is printed as ASCII text until initial PCL printer reset command (E) is received. After receiving the PCL reset command, the printer ejects the page and proceeds with the PCL print job on a new page.
2006/05/31 1.3. PJL Syntax and Format Syntax @PJL ENTER LANGUAGE @PJL ENTER LANGUAGE @PJL ENTER LANGUAGE [ ] < .. > < HT > < LF > < CR > < SP > < ESC > < FF > < WS > < words > = emulation [] PJL Prefix Command name Option name Enter this portion verbatim The words in brackets [ ... ] indicates optional parameters. You should not type the brackets themselves in the command. The words in < ..
2006/05/31 1.4. Variables PJL can use alphanumeric variables, numeric variabless and strings. 1.4.1. Alphanumeric variables The first character must always be a character in the allowable range of letters and digits. Letters consists of the uppercase characters (ASCII 65-90) and lowercase characters (ASCII 97-122). Digits consists of the numbers 0-9 (ASCII 48-57). Brother2245 1.4.2.
2006/05/31 2. HOW TO USE PJL 2.1. Overview PJL resides "above" printer languages such as Postscript and PCL. Each job can be distinguished from the other jobs by PJL, and it can switch between PJL commands and printer language commands for each job. PJL Code 2.2. PCL Job PJL Code Postscript Job PJL Code PJL Job Requirement Some conditions are required in order for PJL commands to work correctly.
2006/05/31 3. COMMAND GROUP Command Group Kernel Commands Command UEL COMMENT ENTER JOB Command Description Exits current printer language and returns control to PJL. Orders the printer to execute the specified operation. Moves to the SUPERUSER mode. Exit from the SUPERUSER mode. Write the specified data to the specified address of the printer’s NVRAM. Retrieve the data from the specified address of the printer’s NVRAM.
2006/05/31 4. KERNEL COMMANDS 4.1. Introduction This section explains three PJL command, UEL, ENTER and COMMENT. These commands provide the minimum set of tools to operate job control. UEL command (Universal Exit Command) ENTER command COMMENT command 4.2. UEL Command The Universal Exit Command causes the printer to exit the current printer language and sets the printer into PJL mode. Syntax %-12345X • The UEL command is a data stream sequence.
2006/05/31 Example %-12345X@PJL @PJL EXECUTE DEMOPAGE %-12345X 4.4. ENTER Command The ENTER command specifies which emulation the printer uses to print data. Syntax @PJL ENTER LANGUAGE = emulation [] Parameters • emulation The variables depend on the printer model. • The ENTER command must be placed immediately before print data. • The specified emulation will be used immediately after the terminating of the ENTER command.
2006/05/31 Example %-12345X@PJL @PJL COMMENT ----------------------------- @PJL COMMENT -PCL & PS JOB -- @PJL COMMENT ----------------------------- @PJL @PJL SET RET = ON @PJL ENTER LANGUAGE = PCL E.......PCL JOB........E %-12345X@PJL @PJL COMMENT Start of Postscript job @PJL ENTER LANGUAGE = POSTSCRIPT %!PS-ADOBE......Postscript JOB.....
2006/05/31 5. JOB SEPARATION COMMANDS 5.1. Introduction This section explains two PJL command, JOB and EOJ. These commands are used to determine the boundaries of a job. When these commands are used with status readback, the printer also can send status information at the beginning and end of each job. 5.2. JOB Command The JOB Command sends information at the start of a PJL job to the printer and aligns the job with the page status information. It also specifies which pages of a job are to be printed.
2006/05/31 Example %-12345X@PJL @PJL JOB NAME = "KKK data from spooler" %-12345X@PJL @PJL COMMENT Postscript Job @PJL JOB NAME = "YYY data from spooler 2" @PJL ENTER LANGUAGE = POSTSCRIPT %!PS.......PS JOB........^D %-12345X@PJL @PJL EOJ NAME = "End of YYY data" %-12345X@PJL @PJL ENTER LANGUAGE = PCL E.........PCL JOB........
2006/05/31 6. ENVIRONMENT COMMANDS 6.1. Introduction Our recent printers have many features which you are able to set using printer commands, through the printer control panel or by using the remote printer console program. A combination of PJL commands and printer emulation commands allows you to set printer features to the desired state.
2006/05/31 The diagram below illustrates how the environments interact and how the modified print environment is affected. FACTORYDEFAULT ENVIRONMENT @PJL INITIALIZE USER DEFAULT ENVIRONMENT CONTROL PANEL OR @PJL DEFAULT @PJL RESET PJL CURRENT ENVIRONMENT @PJL SET LANGUAGE RESET, @PJL ENTER, OR ANY LANGUAGE SWITCH MODIFIED PRINT ENVIRONMENT 6.1.2. PJL reset conditions The result of PJL reset condition is different from that of a printer language reset (for example, ESC E).
2006/05/31 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 variables This section lists the PJL environment variables. There are two kinds of PJL environment variables, General PJL environment variables and Printer language -specific variables. For all variables, except the read-only variables, value settings can be modified using @PJL SET, @PJL RESET, @PJL DEFAULT, and @PJL INITIALIZE.
2006/05/31 6.2. Variables 6.2.1. Variables for HL-1050/1070/1250/1270N/1450/1470N/P2500/1650/1670N/3260N/2460/ 7050/1850/1870N/5040/5050/5070N/5140/5150D/5170DN/6050/6050D/6050DN/8050N/ 2070N/5240/5250DN/5270DN/5280DW 1. General PJL Environment Variables The PJL environment variables which are not printer language-specific are listed in the following table. When using these variables, do not use LPARM. Variables COPIES Description Number of uncollated copies for each page of the job.
2006/05/31 Variables TIMEOUT CDCCHIGH DTRCTRL AUTOSLEEP TIMEOUTSLEEP Description Sets the timeout value for Automatic interface switching Sets the high-speed transfer mode of the Centronics interface to ON or OFF. Selects when DTR becomes low. 0 = the printer is turned off-line by the SEL switch, the input buffer is full, or when a printer error occurs. 1 = the printer is turned off-line by the SEL switch or when a printer error occurs. 2 = the printer is turned off-line by the SEL switch.
2006/05/31 Variables LANG Description Selects the language for the RPC program. KEEPPCL If set to ON, the printer keeps the permanent fonts and macros of PCL when the emulation is changed to another mode.
2006/05/31 Variables CPLOCK Description Returns the lock status of the control panel. If OFF, the control panel is unlocked. If ON, the control panel is locked. PASSWORD Password for panel lock to write to the NVRAM with the DEFAULT/INITIALIZE command. BIDI POWERSAVE Sets the power save mode ON or OFF. POWERSAVETIME Sets the time saving value for power save mode.
2006/05/31 Variables MEDIATYPE Description Media Type. The temperature of fixing unit is adjusted depending on this setting. RET Configuration of the High Resolution Control hardware. IMAGEADAPT INTRAY 1 (Read Only) Returns the auto-selection lock status for the MP tray. Returns the auto-selection lock status for the Tray1 (HL-8050N) INTRAY 2 (Read Only) Returns the auto-selection lock status for the upper paper tray.
2006/05/31 Variables INTRAY 3 (Read Only) Description Returns the auto-selection lock status for the optional lower paper cassette. Returns the auto-selection lock status for the Tray3 (HL-8050N) INTRAY 4 (Read Only) Returns the auto-selection lock status for the optional lower paper cassette. Returns the auto-selection lock status for the Tray4 (HL-8050N) Returns the auto-selection lock status for the optional lower paper cassette. INTRAY 5 (Read Only) INTRAY1SIZE Selects the paper size in Tray1.
2006/05/31 Variables INTRAY2SIZE Description Selects the paper size in Tray2. Selects the paper size in Tray1 (HL7050/6050/6050D/6050DN/5240/5250D N/5270DN/5280DW). INTRAY3SIZE Selects the paper size in Tray3. Selects the paper size in Tray2 (HL7050/6050/6050D/6050DN/5240/5250D N/5270DN/5280DW).
2006/05/31 Variables INTRAY4SIZE Description Selects the paper size in Tray4. Selects the paper size in Tray3 (HL7050/5240/5250DN/5270DN/5280DW).
2006/05/31 Variables MPTRAYSIZE Description MPTRAY MP tray priority for AUTO feeder selection mode. MPPAPERIN Continues printing by holding down Go switch for manual feeding.
2006/05/31 Variables TRAY2SIZE Description TRAY3SIZE TRAY4SIZE APT DENSITY Returns the printing density level setting from 1 to 15. The default value is 8.
2006/05/31 Variables LOWTONER Description Continues printing when the toner is low. RAS1200MODE PSBINARY PSQUOTEBIN DOWNFPROD Creates bold and italic fonts from download fonts. BITMAPFPROD Creates bold and italic fonts from bitmap fonts.
2006/05/31 Variables HPESCE Description PROTECTOFF ISRFONT Sets the Israeli font ON or OFF. TRANSFER Selects the transfer current.
2006/05/31 Variables PSCEILMODE Description PS300RESO DUPLEX Duplex mode BINDING Returns the setting of binding edge selection for duplex printing. TRAYPRIORITY FFSUPPRESS LCDDENSITY Sets the LCD angle value.
2006/05/31 Variables GLPENSIZE1 Description GLPENSIZE2 GLPENSIZE3 GLPENSIZE4 GLPENSIZE5 GLPENSIZE6 GLPENGRAY1 GLPENGRAY2 GLPENGRAY3 GLPENGRAY4 GLPENGRAY5 GLPENGRAY6 STBBUSY ACKBUSY PICKUPRETRY COLLATE Sets the collate printing.
2006/05/31 Variables TIMESETMIN Description TIMESETSEC TIMESTYLE SUMMERTIME ZONESET TIMEZONE OUTBIN MAILBOXPROTECT AVOIDMAILBOXFULL TOWERFEED RAMDISKSIZE TRANSFERVOLT COLDSTARTMODE Sets the cold start mode.
2006/05/31 Variables THICKPRDLY Description BONDPRDLY FLICKER MODE APPLEUSBPS Sets Postscript Pure Binary Printing from Macintosh via USB. DX1JOB1PAGE Sets 1JOB1PAGE Printing mode. As for HL-6050 series, supported ROM version is 1.18 or later. AUTOONLINE BUTTONREPEAT Sets auto return function from setting Panel mode to Ready mode. Sets key repeating speed in Panel mode. MESSAGESCROLL Sets scrolling time at Scroll message. ERRORBUZZER Sets Buzzer mode at Error condition.
2006/05/31 Variables CARBON5TRAY Description Select input tray for the fifth page. CARBON6TRAY Select input tray for the sixth page. CARBON7TRAY Select input tray for the seventh page. CARBON8TRAY Select input tray for the eighth page. CARBON1MACRO CARBON1MACROID Sets if a Macro is added to first page or not. Sets if a Macro is added to second page or not. Sets if a Macro is added to third page or not. Sets if a Macro is added to fourth page or not. Sets if a Macro is added to fifth page or not.
2006/05/31 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 option. Variables PAPER Description Sets the paper size. ORIENTATION LEFTMARGIN Sets the orientation. Sets the left margin. RIGHTMARGIN Sets the right margin TOPMARGIN BOTMARGIN FORMLINES Sets the top margin Sets the bottom margin. Sets the number of lines.
2006/05/31 Variables FONTSOURCE Description Sets the font source to Internal fonts or Permanent Soft Fonts FONTNUMBER Sets the font number PITCH Pitch of the default font in units of characters per inch. The pitch value can be specified to two decimal places Height of the default font in units of points.
2006/05/31 Variables SYMSET Description Sets the symbol set.
2006/05/31 3. EPSON-Specific Variables The following values are EPSON (EPSON FX-850 emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM : EPSON option. Variables PAPER Description Sets the paper size. ORIENTATION LEFTMARGIN Sets the orientation. Sets the left margin RIGHTMARGIN Sets the right margin TOPMARGIN BOTMARGIN FORMLINES FONTSOURCE Sets the top margin Sets the bottom margin. Sets the number of lines.
2006/05/31 Variables FONTNUMBER Description Sets the font number PITCH Pitch of the default font in units of characters per inch. The pitch value can be specified to two decimal places Height of the default font in units of points. The point size can be specified to a quarter of a point Sets the symbol set.
2006/05/31 4. IBM-Specific Variables The following values are IBM (IBM Proprinter XL emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM : IBM option. Variables PAPER Description Sets the paper size. ORIENTATION LEFTMARGIN Sets the orientation. Sets the left margin RIGHTMARGIN Sets the right margin TOPMARGIN BOTMARGIN FORMLINES FONTSOURCE Sets the top margin Sets the bottom margin. Sets the number of lines.
2006/05/31 Variables FONTNUMBER Description Sets the font number PITCH SYMSET Pitch of the default font in units of characters per inch. The pitch value can be specified to two decimal places Height of the default font in units of points. The point size can be specified to a quarter of a point Sets the symbol set.
2006/05/31 5. PostScript-Specific Variables The following values are PostScript ( BR-Script ) specific and can be set and requested using PJL. The BRScript mode is standard in some models but may be available only when the optional BR-Script 2 ROM board is installed into the printer. These variables must be set using the LPARM : IBM option. Variables PAPER Description Sets the paper size. ORIENTATION PRTPSERRS Sets the orientation.
2006/05/31 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 PAPER Description Sets the paper size. ORIENTATION Sets the orientation. SYMSET Sets the symbol set.
2006/05/31 6.2.2. Variables for HL-1660e/2060/2400C/2400Ce/3400CN/2600CN/3450CN/2700CN 1. General PJL Environment Variables The PJL environment variables which are not printer language-specific are listed in the following table. When using these valuables, do not use the LPARM command.
2006/05/31 Variables DUPLEX BINDING FIRSTPRINT DENSITY LANG CPLOCK PASSWORD ECONOMODE ECONOLEVEL MPTRAY AUTOSLEEP TIMEOUTSLEEP MEDIATYPE HUMIDITY COLLATE * HOLD * HOLDTYPE * HOLDKEY * TIMESETYEAR * TIMESETMONTH * TIMESETDAY * TIMESETHOUR * Description Duplex mode Returns the setting of binding edge selection for duplex printing. First print mode. This makes the first print speed faster by starting the polygon mirror motor at Power On.
2006/05/31 Variables TIMESETMIN * TIMESETSEC * TIMESTYLE * Description Clock: minute setting Clock: second setting Sets the display style of the clock.
2006/05/31 6.3. Default Command The DEFAULT command changes the User-Default environment which is stored in NV-RAM and it is activated following a PJL reset condition. The current print environment is not affected by the DEFAULT command, but when a PJL reset condition happens, this command takes effect. This doesn't change the current print environment, but is activated when a PJL reset condition happens.
2006/05/31 6.5. Reset Command The PJL RESET command resets the PJL Current Environment variables to the User Default values. Use this command at the end of any PJL jobs in which the PJL SET command was used.
2006/05/31 Examples: %-12345X@PJL @PJL COMMENT Setting PCL job @PJL COMMENT to desired state @PJL SET RET = DARK @PJL SET PAGEPROTECT = OFF @PJL SET RESOLUTION = 600 @PJL ENTER LANGUAGE = PCL E....PCL job ....
2006/05/31 7. STATUS READBACK COMMANDS 7.1. Introduction Applications can request, by sending a PJL command to the printer, information such as the configuration and status of the printer. The printer can be programmed to send back this information when requested and also can send back voluntarily unsolicited information of its status such as cover open, off-line state, toner empty, displayed prompt message on the LCD and other necessary information.
2006/05/31 7.2. Inquire Command The INQUIRE command is used in order to get the information of the current value of a specified variable in the PJL DEFAULT setting. (PJL environment). It is possible to get the information for variables the value of which PJL cannot change (Read-only). This INQUIRE command can request only one variable at a time.
2006/05/31 Example 2 : This example requests the PCL-specific settings.
2006/05/31 Examples Example 1 : This example requests the current print environment settings for RET, PAPER, and ORIENTATION : %-12345X@PJL @PJL COMMENT ***Requesting*** @PJL COMMENT about User Default Settings** @PJL ECHO 20:30:00 02-20-1993 @PJL DINQUIRE RET @PJL DINQUIRE PAPER @PJL DINQUIRE ORIENTATION %-12345X The printer may return, for example, the following response against the above DINQUIRE commands: @PJL ECHO 20:30:00 02-20-1993
2006/05/31 Response Syntax @PJL ECHO [< words >] • < words > The beginning of this parameter must be a printable character. Then this parameter consists of characters from ASCII 33 to 255, space characters and horizontal tab characters. This < words > parameter can be written without quotation marks as this is not a string of variables.
2006/05/31 Parameters Category ID CONFIG MEMORY STATUS VARIABLES USTATUS PAGECOUNT PHYSICALMEMORY FEATURES OPTIONS INTRAYCONFIG OUTTRAYCONFIG DXCONFIG STORAGECONFIG 7.5.1. Information requesting The printer model number. For example the HL-1660e will return 'Brother HL-1660e'.
2006/05/31 7.5.2. CONFIG category The application can use @PJL INFO CONFIG command to have the printer return a list of printer configuration information. The list consists of the information on paper sources, paper sizes, languages, USTATUS (unsolicited status) commands, font sources, RAM size, number of lines and characters on the LCD supported by the printer, with the format of the number of available types and/or the description of each type.
2006/05/31 Example The application sends the following command to the printer : %-12345X@PJL @PJL INFO CONFIG %-12345X The printer may send back the answer for the above INFO command : @PJL INFO CONFIG IN TRAYS [1 ENUMERATED] INTRAY1 PC INTRAY2 LC OUT TRAYS [2 ENUMERATED] NORMAL FACEDOWN PAPER [9 ENUMERATED] LETTER LEGAL A4 EXECUTIVE MONARCH COM10 DL C5 B5
2006/05/31 7.5.4. STATUS category The application can use the @PJL INFO STATUS command to check the printer on-line/off-line status, the current message on the LCD and a status code. The ONLINE=TRUE indicates the printer is online, while the ONLINE=FALSE shows it is off-line. Refer to the list of the PJL Status Codes in the Appendix for the meanings of the returned status codes.
2006/05/31 C5 DL B5 ORIENTATION=PORTRAIT [2 ENUMERATED] PORTRAIT LANDSCAPE FORMLINES=60 [2 RANGE] 5 128 MANUALFEED=OFF [2 ENUMERATED] OFF ON RET=MEDIUM [4 ENUMERATED] OFF LIGHT MEDIUM DARK PAGEPROTECT=OFF [4 ENUMERATED] OFF LETTER LEGAL A4 RESOLUTION=600 [2 ENUMERATED] 300 600 PERSONALITY=AUTO EPSON [8 ENUMERATED]
2006/05/31 A4 EXECUTIVE MONARCH COM10 C5 DL B5 LPARM:PCL FONTSOURCE=I [4 EMULATED] I C C1 S LPARM:PCL FONTNUMBER=0 [2 RANGE] 0 70 LPARM:PCL PITCH=10.00 [2 RANGE] 0.44 99.99 LPARM:PCL PTSIZE=12.00 [2 RANGE] 4.00 999.75 LPARM:PCL SYMSET=ROMAN8 [43 ENUMERATED] ROMAN8 ISOL1 ISOL2 .... ....
2006/05/31 Parameters Variable DEVICE Value ON VERBOSE OFF JOB ON PAGE OFF ON TIMED OFF 5 to 300 0 Description Makes unsolicited device status valid for any status change Makes unsolicited device status valid for any of PJL parser warning, error and status change Makes unsolicited device status invalid for any status change Makes unsolicited job status (reporting job start/job end) valid Makes unsolicited job status invalid Makes unsolicited page status (reporting respective page printed and eject
2006/05/31 The printer status to be sent to the host computer are ; • Device status changes - printer cover open, paper jams, paper out, etc • Job status changes - completion of the printing of a job, receiving a JOB command • Page status changes - ejecting a printed page All the unsolicited status information (USTATUS DEVICE, JOB, PAGE and TIMED) is turned off at once by the USTATUSOFF command. Each status can be turned off individually by the corresponding USTATUS command.
2006/05/31 35000 - 25999 40000 - 40999 41000 - 41999 Errors which may cause incorrect printing results, such as loss of some print data on a page. The operator's intervention may be required. Errors such as paper empty, cover open or paper jams which suspend printing until the operator takes the corresponding corrective action. Errors in the paper source such as running out of paper in the current paper tray and none available from any other paper sources.
2006/05/31 @PJL USTATUS JOB END NAME = "JOB 88554" PAGES=5 7.6.3. PAGE variable The @PJL USTATUS PAGE = ON command allows the printer to send the information about the print completion of a particular page. Using this command, you can monitor the job process on a page-by-page basis. Example The application sends the following commands to the printer.
2006/05/31 7.7. USTATUSOFF Command The @PJL USTATUSOFF command makes all unsolicited status reporting inactive. Syntax @PJL USTATUSOFF [] Parameters There are no parameters for this command. Example %-12345X@PJL @PJL USTATUSOFF @PJL USTATUS DEVICE = ON %-12345X 7.8. JOB Recovery You can recover a failed job with the combination of JOB and EOJ commands and the USTATUS PAGE command.
2006/05/31 8. DEVICE ATTENDANCE COMMANDS 8.1. Introduction You can change display messages on the printer control panel by using PJL. The Operator can be alerted by this feature to what specific actions should be taken. This chapter shows you three device attendance commands. RDYMSG By using this command, you can change the message "00 READY" on the printer control panel into whatever message you like. This command does not change the printer's online/offline state.
2006/05/31 The following is an example of how to restore the display to the normal ready message. %-12345X@PJL @PJL COMMENT Normal READY message @PJL RDYMSG DISPLAY = "" @PJL EOJ NAME = "End of Tom's Job" %-12345X 8.3. OPMSG Command With the OPMSG command, you can display any message you like on the printer switch panel LCD.
2006/05/31 Parameters Parameter Functional Range Default DISPLAY = "message" ASCII 33 and ASCII N/A 35 through 255, , key ONLINE, RESET N/A DISPLAY = "message" You can use any combination of characters available on the printer except for the quotation marks (ASCII 34) up to 16 characters total including spaces or horizontal tab. Characters must be enclosed in double quotes.
2006/05/31 9. INDEX C K COMMENT command.................................................... 11 conditions .......................................................................... 8 context switching ............................................................ 12 Kernel command..............................................................10 D OPMSG command ...........................................................67 DEFAULT command......................................................
2006/05/31 CHAPTER 6 EPSON FX-850 CHAPTER 6 EPSON - 1
2006/05/31 CONTENTS 1. COMMAND LIST................................................................................................................... 3 2. INTRODUCTION ................................................................................................................... 5 3. EMULATION DETAILS......................................................................................................... 6 4. 5. 6. 7. 3.1. Ignored Commands ...................................................
2006/05/31 1.
2006/05/31 Esc H Cancel double-strike mode Esc W n Select / Cancel double-width printing SO Select single-line double-width printing (I) Esc SO Select single-line double-width printing (II) DC4 Cancel single-line double-width printing Esc 4 Select italic mode Esc 5 Cancel italic mode Esc S n Select superscript / subscript mode Esc T Cancel superscript / subscript mode Esc w n Select / cancel double-height printing Esc - n Select / cancel underline mode Esc ! n Select printing mode Esc 6 Select expansion of
2006/05/31 2. INTRODUCTION In this mode you can control the HL-Series printers that support this emulation directly by incorporating control codes and escape sequences into your program. Alternatively, applications software (for example, your word-processing or spreadsheet software) may send the necessary commands to the printer automatically. Check the manual that came with your software for instructions on how to use your application with an Epson FX-850 printer.
2006/05/31 3. EMULATION DETAILS The following points should be borne in mind when using the printer in Epson FX-850 mode. 3.1.
2006/05/31 4. TERMINOLOGY 4.1. Syntax The following conventions are used in this description of the Epson FX-850 mode software commands: A single letter, two or three-letter control code mnemonic, or number in upright bold text is a literal character and should be sent to the printer as the character code. A letter or word in italics is a variable and you must substitute an appropriate value when you use the command.
2006/05/31 5. CONTROLLING THE PRINTER Commands are invoked using either control codes or escape sequences. You can send them to the printer as part of a program using the same command that you would use to print a string on the printer. For example in BASIC you would use the LPRINT command. The printer’s control panel can also be used to set various operating parameters.
2006/05/31 6. COMMANDS 6.1. Basic printer operations The most common printer operations are described in this section. Some are invoked using control codes alone - the rest require escape sequences. For the sake of completeness, several instructions which are part of the Epson FX-850 mode instruction sets, but which an HL Series printer ignores are included. Null NUL (0) <00h> NUL (ASCII code 0) is ignored. Bell BEL (7) <07h> BEL (ASCII code 7) is ignored.
2006/05/31 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 characters in multiples of 1/120". • n must be in the range 0 to 127. LPRINT CHR$(27); CHR$(32); CHR$(5); 'Set 1/24" char space Select justification mode Escan (27)(97)n <1Bh><61h>n • This command allows you to select the justification mode for subsequent text. • Set n to 0 to select left justification. • Set n to 1 to centre subsequent text.
2006/05/31 Set data MSB to 0 Esc= (27)(61) <1Bh><3Dh> • This command enables you to set the most significant bit of incoming data bytes to 0. • This command does not affect data comprising a graphics image or data that defines a downloadable character. LPRINT CHR$(27); CHR$(61); 'Set MSB to 0 Set data MSB to 1 Esc> (27)(62) <1Bh><3Eh> • This command enables you to set the most significant bit of incoming data bytes to 1.
2006/05/31 Reset printer / change emulation mode EscCR (27)(13)mode <1Bh><0Dh>mode • This command enables you to switch emulation mode or to reset the printer. • Change emulation mode by setting mode to the appropriate letter or pair of letters. Set mode to ‘D’ to switch to Diablo mode, ‘H’ to switch to LaserJet mode, ‘I’ to switch to IBM Proprinter XL mode, 'AB' to switch to BR-Script Batch mode, 'AI' to switch BR-Script Interactive mode, 'GL' to switch to HP-GL mode.
2006/05/31 Enable out-of-paper sensor Esc9 (27)(57) The printer ignores this command. <1Bh><39h> Disable out-of-paper sensor Esc8 (27)(56) The printer ignores this command. <1Bh><38h> 6.2. Page set up Set page length EscCn (27)(67)n <1Bh><43h>n This command sets the page length in lines. or EscCNULn (27)(67)(00)n <1Bh><43h><00h>n • This command sets the page length in inches. • The top of form position is set to be the current line.
2006/05/31 • If the bottom margin specified by this command would be located above the top margin, the command is ignored. LPRINT CHR$(27); CHR$(78); CHR$(4); 'Set bottom margin to 4 lines.
2006/05/31 Cancel perforation skip EscO (27)(79) <1Bh><4Fh> This command cancels the automatic perforation skip feature. LPRINT CHR$(27); CHR$(79); 'Cancel perforation skip. 6.3. Line Spacing Select 1/6" line spacing Esc2 (27)(50) <1Bh><32h> • This command sets the line spacing to 1/6". All subsequent line feed operations will move the print position 1/6" down the page. • This line spacing is the default setting when the printer is switched on or reset.
2006/05/31 Perform n/216" reverse line feed Escjn (27)(106)n <1Bh><6Ah>n This command performs a single reverse line feed, moving the print position up the page by n/216". • • • • 6.4. This command does not perform a carriage return. The current line spacing setting is not affected. n must be in the range 0 to 255. The actual vertical distance moved may not be exactly the distance you specify due to the printer’s 600 dots per inch resolution.
2006/05/31 Escbnm1m2m3...NUL (27)(98)nm1m2m3...(00) <1Bh><62h>nm1m2m3...<00h> • You can set up to eight different sets of vertical tab stops and select any of these sets for use at any time. Each set of tab stops is called a channel - channels are numbered from 0 to 7. • Channel 0 normally holds the settings you have selected with the Esc B command, or equally spaced tab settings that you have set with the Esc e 1 command. However, you can also set the channel 0 tab settings using the Esc b command.
2006/05/31 Set pitch to 12 characters per inch EscM (27)(77) <1Bh><4Dh> This command sets the printing pitch to 12 characters per inch (cpi). LPRINT CHR$(27); CHR$(77); 'Set pitch to 12 cpi Select / cancel proportional spacing Escpn (27)(112)n <1Bh><70h>n • This command allows you to turn proportional spacing on or off. • Setting n to 1 turns proportional spacing on. Subsequent text is printed proportionally spaced. • Setting n to 0 turns proportional spacing off. Subsequent text is printed monospaced.
2006/05/31 Select double-strike mode EscG (27)(71) <1Bh><47h> This command turns double-strike mode on. Subsequent text is printed with a bold stroke width. LPRINT CHR$(27); CHR$(71); 'Turn double-strike printing mode on Cancel double-strike mode EscH (27)(72) <1Bh><48h> This command turns double-strike mode off. Subsequent text is printed with a medium stroke width.
2006/05/31 Select italic mode Esc4 (27)(52) <1Bh><34h> • This command enables the italic printing mode. Subsequent text is printed in italic style. • You can still use italic text even after selecting the extended character set with the Esc t command. LPRINT CHR$(27); CHR$(52); 'Italic mode Cancel italic mode Esc5 (27)(53) <1Bh><35h> This command cancels the italic printing mode. Subsequent text is printed upright.
2006/05/31 Select printing mode Esc!n (27)(33)n <1Bh><21h>n • This command allows you to select a combination of printing modes with just one command. • The various modes are weighted as shown. Add the numbers that correspond to each mode you require and set n to the total.
2006/05/31 Select international character set EscRn (27)(82)n <1Bh><52h>n • This command selects one of the available international character sets, refer to the printer User Guide for supported character sets. • Each character set varies slightly from the others and contains a small number of special characters necessary for printing in that particular language.
2006/05/31 6.6. Using customized characters Define characters (27)(38)(00)n1n2(n3....) Esc&NULn1n2(n3) <1Bh><26h><00h>n1n2(n3...) • This command enables you to define and download characters for printing. • Monospaced characters are designed on a grid eleven dots wide by nine dots high. Characters either occupy the top 8 rows of the grid (ascending characters) or rows 2 to 9 of the grid (descending characters).
2006/05/31 characters Copy ROM character to RAM Esc:000 (27)(58)(00)(00)(00) <1Bh><3Ah><30h><30h><30h> • In order to use your own customized characters in conjunction with the standard characters contained in the printer, you must first download the printer standard ROM characters to the printer RAM, then define and download your own customized characters, and finally select the downloaded characters for printing using the Esc % 1 NUL escape sequence.
2006/05/31 • c is the character which signifies the graphics mode: K = single-density (60 dpi), L = double-density (120 dpi), Y = double-speed, double-density (120 dpi) and Z = quadruple-density (240 dpi). • m defines the new horizontal resolution to be assigned to the specified graphics mode. m must be in the range 0 to 7.
2006/05/31 Print single-density image EscKn1n2 (27)(75)n1n2.... <1Bh><4Bh>n1n2.... • This command enables you to define and print a single line raster bit image on a single text line. • n1 and n2 define the number of bytes that comprise the image. • The image consists of 256*n2+n1 bytes of data, each byte representing a single vertical column of 4/30". • Each byte represents a vertical column of eight dots, the most significant bit representing the dot at the top.
2006/05/31 Print double-speed double-density image EscYn1n2 (27)(89)n1n2.... <1Bh><59h>n1n2.... • This command enables you to define and print a single line raster bit image on a single text line. • n1 and n2 define the number of bytes that comprise the image. • The image consists of 256*n2+n1 bytes of data, each byte representing a single vertical column of 4/30". • Each byte represents a vertical column of eight dots, the most significant bit representing the dot at the top.
2006/05/31 7. INDEX 9 J 9 bit image....................................................................... 25 justification mode ............................................................10 A L absolute print position ..................................................... 10 left margin........................................................................13 line feed ...........................................................................15 Line feed .........................................
2006/05/31 CHAPTER 7 IBM PROPRINTER XL CHAPTER 7 IBM PROPRINTER - 1
2006/05/31 CONTENTS 1. COMMAND LIST................................................................................................................... 3 2. INTRODUCTION ................................................................................................................... 5 3. EMULATION DETAILS......................................................................................................... 6 4. 5. 6. 3.1. Ignored Commands........................................................
2006/05/31 1.
2006/05/31 EscKn1n2 Set single-density image mode EscLn1n2 Set double-density image mode EscYn1n2 Set double-speed, double-density image mode EscZn1n2 Set quadruple-density image mode CHAPTER 7 IBM PROPRINTER - 4 18 18 19 20
2006/05/31 2. INTRODUCTION Some of these HL Series printers offer a complete emulation of the IBM Proprinter. In Proprinter XL mode you can drive the printer directly by incorporating control codes and escape sequences in your program, or alternatively, applications software (for example, your word-processing software) may send the necessary commands to the printer automatically. Check the manual that came with your software package for instructions on how to use your software with an IBM Proprinter XL.
2006/05/31 3. EMULATION DETAILS The following points should be borne in mind when running the HL Series printers in IBM Proprinter XL mode. 3.1. Ignored Commands A few IBM Proprinter XL commands have reduced effect, or no effect at all. In some cases this is due to the physical nature of an HL Series printer. These commands are as follows. The BEL control code (ASCII 7) which is used to sound the Proprinter’s bell, is ignored.
2006/05/31 4. NOTATION USED IN THIS EMULATION DESCRIPTION 4.1. Syntax The following conventions are used in this description of the Proprinter XL software commands. A letter, word or number in upright bold text is the literal character which and should be sent to the printer as a character code. A letter or word in italics is a variable and you must substitute the appropriate value or values when using the command. An ellipsis, ..., indicates that an element may be repeated any number of times. 4.2.
2006/05/31 5. COMMANDS 5.1. Basic Printer Operation The most common printer operations are described in this section. Most are invoked using control codes. For the sake of completeness the instructions which HL Series printers ignore are included. Null NUL (0) NUL (ASCII 0) is ignored. <0h> Bell BEL (07) BEL (ASCII 7) is ignored. <07h> Escape ESC (27) <1Bh> The ESC control code (ASCII 27) marks the start of an escape sequence.
2006/05/31 Automatic line feed Esc5n (27)(53)n <1Bh><35h>n • When automatic line feed is ON, a line feed is automatically performed every time a carriage return is sent to the printer. • To turn the automatic line feed function ON, set n to 1. • To turn the automatic line feed function OFF, set n to 0.
2006/05/31 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 n=1 n=2 n=3 n=4 n=5 n=R Initialize the feeder mode. Feed from the MP tray. (Except for HL-8050N) Feed from Tray 1. Feed from Tray 2. Feed from Tray 3. Feed from Tray 4. Eject paper. n Value HL-1050 n=0 n = 1/2 n=R Initialize the feeder mode. Feed from the tray. Eject paper.
2006/05/31 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 command sets the page length in inches. • n is the number of lines that make up one page, or the length of the page in inches, according to the form of the command. • If the first form of the command is used (n = the number of lines in the page) the current line spacing setting is used to determine the length of the page.
2006/05/31 Line spacing and tabs Set 1/8" line spacing Esc0 (27)(48) <1Bh><30h> This command sets the line spacing to 1/8". All subsequent line feed operations will move the print position 1/8" down the page. LPRINT CHR$(27); CHR$(48); 'Set line spacing to 1/8". Set 7/72" line spacing Esc1 (27)(48) <1Bh><31h> • This command sets the line spacing to 7/72". All subsequent line feed operations will move the print position 7/72" down the page.
2006/05/31 Set horizontal tabs EscD...NUL (27)(68)n1n2n3...(00) <1Bh><44h>n1n2n3...<00h> • This command enables you to set up to 28 horizontal tab stops using the current character pitch. • The tab stops should be set in ascending order. • Esc D 0 clears all horizontal tab settings. • Esc R restores the default settings, which are at every eighth column, starting at the ninth column. • You can move the print position to the tab stops using the HT control code.
2006/05/31 5.3. Using Characters Select character set I Esc7 (27)(55) <1Bh><37h> This command selects IBM Character set I for use in subsequent printing operations. LPRINT CHR$(27); CHR$(55); 'Select character set I Select character set II Esc6 (27)(56) <1Bh><36h> This command selects IBM character set II for use in subsequent printing operations. LPRINT CHR$(27); CHR$(54); 'Select character set II Set pitch to 10 cpi DC2 (18) <12h> • This command sets the printing pitch to 10 characters per inch (cpi).
2006/05/31 Set enlarged character mode for a single line SO (14) <0Eh> • This command turns enlarged character mode on for one line only. The subsequent line of text is printed using double-width characters and with the line space setting doubled. • The following commands cancel enlarged character mode set using the SO control code: CR, CAN, LF, FF, VT, Esc W 0, DC4 and Esc [@.
2006/05/31 Underline mode Esc-n (27)(126)n <1Bh><7Eh>n • This command turns character underlining on or off. • If n is set to 1 subsequent text is underlined. • Horizontal tab spaces are not underlined irrespective of whether underlining mode is on or off. • If n is set to 0 subsequent text is not underlined. LPRINT CHR$(27); CHR$(45); CHR$(1); 'Underline following text Continuous overline mode Esc_n (27)(95))n <1Bh><5Fh>n • This command turns character overline printing on or off.
2006/05/31 Select a character from the All Character Code table Esc^ (27)(94) <1Bh><5Eh> • This command enables you to print a single character from the All Character Code table. • A control code is not executed if the code is sent immediately following this instruction. LPRINT CHR$(27); CHR$(94); CHR$(36); 'Printed a dollar sign Select character font EscIn (27)(73)n <1Bh><49h>n • This command enables you to select a font and choose the print quality.
2006/05/31 • If bits 1 and 2 of n4 are 01 the least significant bit of each data byte is replicated in rows 9 to 12 of the grid. • If bits 1 and 2 of n4 are 10 the bits 1 to 4 of each data byte are replicated in rows 9 to 12 of the grid. • Bits 5 to 7 of n5 specify the number of columns left blank to the left of the defined character in proportional spacing mode. Up to seven columns can be skipped. • Bits 1 to 4 of n5 specify the width in columns of the defined character in proportional spacing mode.
2006/05/31 • Images are printed at an approximate horizontal resolution of 120 dots per inch and at an approximate vertical resolution of 72 dots per inch. • Each byte represents a vertical column of eight dots, the most significant bit representing the dot at the top. Simply set a bit to 1 if you want a dot to appear in that position, and to 0 if you want white space to appear.
2006/05/31 Set quadruple-density image mode EscZn1n2 (27)(90)n1n2 data> <1Bh><5Ah>n1n2
2006/05/31 6. INDEX Line feed ............................................................................8 line spacing ......................................................................12 A Automatic line feed ........................................................... 9 O overline mode ..................................................................16 B Backspace.......................................................................... 8 C cancel ..............................................
2006/05/31 CHAPTER 8 BAR CODE CONTROL CHAPTER 8 BAR CODE CONTROL - 1
2006/05/31 CONTENTS 1. INTRODUCTION ................................................................................................................... 3 2. PRINT BAR CODES OR EXPANDED CHARACTERS ........................................................ 4 3. DEFINITION OF PARAMETERS .......................................................................................... 5 4. 3.1. Bar Code Mode .........................................................................................................
2006/05/31 1. INTRODUCTION Some of the HL series printers can print bar codes in the HP LaserJet, EPSON FX-850, and IBM Proprinter XL emulation modes, refer to the printer User guide for information.
2006/05/31 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 characters according to the parameters “n ... n”. For further information about the parameters, see the following “Definition of Parameters.” This command must end with the “ \ ” code (5CH).
2006/05/31 3. DEFINITION OF PARAMETERS This bar code command can have the following parameters in the parameter segment (n ... n). Parameters are effective only within the single command sequence using the syntax ESC i n ... n \. They do not take effect in any subsequent bar code commands. If any parameters are not specified, they take the default settings. The last parameter must be the bar code data start identifier (“b” or “B”) or the expanded character data start identifier (“l” or “L”).
2006/05/31 Line Block Drawing & Box Drawing 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 parameter specifies the bar code width scaling. The unit of "nnn" is %. (100%). 3.4. The default value is m100 Bar Code Human Readable Line On or Off n = “r0” or “R0” n = “r1” or “R1” Default: Human readable line ON when the following barcode types are selected.
2006/05/31 3.7. Bar Code, Expanded Character, Line, Block Drawing & Box Drawing Offset in the X-axis n = “xnnn” or “Xnnn” This parameter specifies the offset from the current print position in the “u”- or “U”-specified units. 3.8. Bar Code & Expanded Character Offset in the Y-axis n = “ynnn” or “Ynnn” This parameter specifies the downward offset from the current print position in the “u”- or “U”-specified units. 3.9.
2006/05/31 3.12. Bar Code Data Start n = “b” or “B” • Data that follows “b” or “B” is read in as bar code data. Bar code data must end with the “ \ ” code (5CH), which also terminates this command. The acceptable bar code data is subject to the bar code mode selected by “t” or “T” as listed below. • When the CODE 39 is selected with the parameter “t0” or “T0”: Forty three characters “0” to “9”, “A” to “Z”, “–”, “ . ”, “ (space)”, “$”, “ / ”, “+”, and “%” can be accepted as bar code data.
2006/05/31 • When Code 128 Set A, Set B, or Set C is selected with the parameter “t12” or “12,” “t13” or “T13,” or “t14” or “T14” respectively: Code sets A, B and C are individually selectable. Set A encodes characters in the range Hex 00 to 5F. B encodes characters in the range Hex 20 to 7F. Set C encodes numeric pairs in the range 00 to 99. - Switching is allowed between the code sets by sending %A, %B, or %C. - FNC 1, 2, 3, and 4 are produced with %1, %2, %3, and %4.
2006/05/31 3.16. Table of Code(EAN) 128 set C Code(EAN) 128 set C describes an original command. The correspondence table is as follows. No.
2006/05/31 4.
2006/05/31 CHAPTER 9 HP-GL GRAPHICS LANGUAGE CHAPTER 9 HP-GL - 1
2006/05/31 CONTENTS 1. COMMAND LIST .................................................................................................................. 3 2. INTRODUCTION .................................................................................................................. 4 2.1. HP-GL Syntax .......................................................................................................................... 4 2.2. Font Selection ........................................................
2006/05/31 1.
2006/05/31 2. INTRODUCTION The HP-GL graphics mode emulates 40 out of 56 instructions for the HP 7475A plotter made by HewlettPackard. Default measurement unit in the HP-GL graphics mode is 1/1016"(0.025mm). 2.1. HP-GL Syntax A command consists of a two-letter instruction mnemonic, a parameter field (not needed for some instructions) and a terminator. Parameters following the instruction mnemonic must be separated from each other by at least a single space or comma.
2006/05/31 2.3.2.
2006/05/31 3. COMMANDS 3.1. Initialization and Default Setting Instructions DF - Default set instruction DF[;] • Returns the graphics mode to the default conditions. • The following are the default settings.
2006/05/31 Function Equivalent Instruction FT; FT; FT; PT; PU; RO; IP; Fill type Fill distance Fill slant Pen thickness Pen condition Rotation Scaling points 3.2. Condition Bi-directional fill, type 1 1% of distance from P1 to P2 0 degrees Set at 0.
2006/05/31 IW - Input window IW [ X1, Y1, X2, Y2 ] [;] X1-Window lower left X coordinate X2-Window upper right X coordinate Y1-Window lower left Y coordinate Y2-Window upper right Y coordinate • • • • This instruction sets the window inside which plotting can be performed. Graphic units are always used. Coordinate values for X1, Y1, X2 and Y2 are integer numbers from 0 to 32,767.
2006/05/31 PU - Pen up PU [ X,Y [,...]] [;] X ; X coordinate of the cursor movement destination Y ; Y coordinate of the cursor movement destination • X and Y are either relative or absolute, depending on whether a PA or a PR was the last plot command executed. The absolute coordinates are set as default. • Moves the cursor to the specified coordinates after raising the pen. • Using this instruction without a parameter field raises the pen without changing the cursor position.
2006/05/31 (X1, Y1) (Xn, Yn) (X2,Y2) (X3, Y3) Current position 10 20 30 40 50 '*** PAEX1 *** LPRINT "IN;SP1;" LPRINT "PA2000,6000;PD0,6000,2000,7500,2000,6000;PU2500,6000;" LPRINT "PAPD4500,6000,2500,7500,2500,6000;PU10365,500;" END 10 20 30 40 50 ' *** PAEX2 *** LPRINT "IN;SP1;SC0,100,0,100;" LPRINT "PA50,30;PD25,30,50,50,50,30;PU55,30;" LPRINT "PAPD80,30,55,50,55,30,PU;" END PR - Relative coordinate pen move PR [X, Y [,...
2006/05/31 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 coordinates in user units or graphics units. • Starting from the current position, plots an arc centred on the absolute coordinates X, Y having the specified arc angle and chord angle, with the radius being the distance between the current position and the point X,Y.
2006/05/31 • • • • • • • • • • • Plotting is performed only when the pen is down. When the pen is up, plotting is not performed but the cursor position moves to the plot end point. When scaling has been performed, the cursor is moved by relative coordinates in user units. Also, when scaling has been performed, the values for X and Y are real numbers. When there is no scaling, the cursor is moved by relative coordinates in graphics units.
2006/05/31 10 20 30 40 50 60 70 80 '*** CIEX1 *** LPRINT "IN;SP1;IP2650,1325,7650,6325;" LPRINT "SC-100,100,-100,100;" LPRINT "PA-60,50;CI40,45;" LPRINT "PA60,50;CI40,30;" LPRINT "PA-60,-50;CI40,15;" LPRINT "PA60,-50;CI40,5;" END 10 '*** CIEX2 *** 20 LPRINT "IN;SP1;IP2650,1325,8650,7325;" 30 LPRINT "SC0,170,0,170;" 40 LPRINT "PA100,100;LT;CI10,5;LT0;CI-20,5;LT1;CI30,5;" 50 LPRINT "LT2;CI-40,5;LT3;CI50,5;LT4;CI60,5;LT5;CI70,5;LT6;CI80,5;" 60 END 10 '*** CIEX3 *** 20 LPRINT "IN;SP1;
2006/05/31 • When there is no scaling, the coordinate values for X and Y are integer numbers. (X, Y) Current position 10 '*** EAEX *** 20 LPRINT "IN;SP1;PA7000,4000;" 30 LPRINT "PT.3;FT1;RA6000,3000;" 40 LPRINT "SP3,;EA6000,3000;" 50 LPRINT "SP4;FT3,100;RA8000,3000;" 60 LPRINT "SP3,;EA8000,3000;" 70 LPRINT "SP5;PT.
2006/05/31 EW - Edge wedge EW r,q1,qc(,qd)[;] r ; Radius in user units or graphics units q1; Start point angle qc ; Arc angle qd ; Chord angle • Plots a wedge centred on the current position with radius r, start point angle q1, arc angle qc and chord angle qd. • • • • • • • After plotting, the cursor returns to its point of origin. Plotting is performed whether the pen is up or down. When scaling has been performed, the circle is plotted in user units.
2006/05/31 RA - Fill rectangle absolute RA X, Y[;] X ; X coordinate of opposite angle for the rectangle Y ; Y coordinate of opposite angle for the rectangle • X and Y coordinates are absolute coordinates in user units or graphics units. • Fill in the rectangle formed by the current position and the opposite angle specified by X and Y. • After plotting, the cursor returns to its point of origin. • Plotting is performed whether the pen is up or down.
2006/05/31 WG - Fill wedge WG r,q1,qc(,qd)[;] r ; Radius in user units or graphics units q1 ; Start point angle qc ; Arc angle qd ; Chord angle • Fill in a wedge centred on the current position with radius r, start point angle q1, arc angle qc and chord angle qd. • After plotting, the cursor returns to its point of origin. • Plotting is performed whether the pen is up or down. • When scaling has been performed, the circle is plotted in user units.
2006/05/31 3.5. Plot Function Instructions Instruction FT LT PW SM SP TL XT YT PT Function Fill Type Line Type Pen Width Symbol Mode Select Pen Tick Length X Tick Y Tick Pen Thickness FT - Fill type FT [ n [, d [, q]]] [;] n : Fill type d : Fill interval (interval between the parallel lines of the area being filled) q : Fill angle (degrees ) • Sets the fill type, interval and angle when filling an area. • The value for n is a clamped integer number.
2006/05/31 PW-Pen width 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 number from 1 to 10. SM - Symbol mode SM c[;] c ; ASCII character or symbol code • The command specifies the symbol to be drawn. • When the PA, PR, PD or PU instruction is used, the specified symbol will be drawn at the end of each vector.
2006/05/31 XT - X-axis tick XT [;] • Plots vertical tick marks as specified by the TL instruction from the current position. • After plotting, the cursor returns to its point of origin. • Plotting is performed whether the pen is up or down. YT - Y-axis tick YT [;] • Plots horizontal tick marks as specified by the TL instruction from the current position. • After plotting, the cursor returns to its point of origin. • Plotting is performed whether the pen is up or down.
2006/05/31 n 0 1 2 3 4 6 7 9 30 31 32 33 34 35 36 37 38 39 Character Set ANSI ASCII 9825 Character Set French/German Scandinavian Spanish/Latin American JIS ASCII ROMAN 8 Extensions ISO IRV ISO Swedish ISO Swedish for Names ISO Norway, Version 1 ISO German ISO French ISO Kingdom ISO Italian ISO Spanish ISO Portuguese ISO Norway, Version 2 SS - Select standard character set SS [;] Selects the standard character set specified by the CS instruction.
2006/05/31 LB - Character plot LB [ cs ] < terminator > [;] cs : character string • Plots character strings, numerical expressions, variables etc. • Plotting is performed whether the pen is up or down. • After plotting, the cursor moves to the position of the next character.
2006/05/31 DR - Relative direction DR [ run, rise ] [;] run : X direction component rise : Y direction component • A percentage of the distance in the X and Y directions between P1 and P2 is used as the units • Specifies the character plot direction. • Values for the run and rise are clamped real numbers. • The instruction is ignored when values for both run and rise are 0. • When the parameter field is omitted, the default value (horizontal direction) is used.
2006/05/31 10 '*** SIEX1 *** 20 LPRINT "IN;SP1;PA1000,1000;" 30 LPRINT "SI2,1.5;LBLASER";CHR$(3) 40 END 10 '*** SIEX2 *** 20 LPRINT "IN;SP1;PA5000,3000:" 30 LPRINT "SI-.35,.35;LBCHARACTER";CHR$(3) 40 END 10 '*** SIEX3 *** 20 LPRINT "IN;SP1;PA5000,3000;" 30 LPRINT "SI.35,-.35;LBCHARACTER";CHR$(3) 40 END 10 '*** SIEX4 *** 20 LPRINT "IN;SP1;PA5000,3000;" 30 LPRINT "SI-.35,-.
2006/05/31 10 20 30 40 50 '"*** SLEX *** LPRINT "DF;SP1;SI1.3,1.3;PA100,6000;" LPRINT "SL2;LBLASER";CHR$(3) LPRINT "SL-2;PR3000,0;LBLASER";CHR$(3) END UC - User-defined character UC X1, Y1, X2, Y2..., Xn, Yn[;] Xi : Number of grids in X direction Yi : Number of grids in Y direction • Draws user-generated character or symbol. • Values for Xi and Yi are clamped real numbers. • If a value between 99.0000 and 127.
2006/05/31 3.7. Dual Context Extensions Set High resolution control (Brother original) EscCRRO This command sets high resolution control off. EscCRRL This command sets high resolution control light level. EscCRRM This command sets high resolution control medium level. EscCRRD This command sets high resolution control dark level. User reset (Brother original) EscCR!#R • # can be 0, 1 or 2. • #0 indicates the current setting are restored. • #1 indicates the user settings 1 are restored.
2006/05/31 4. INDEX A P Absolute direction ........................................................... 22 Alternate character set..................................................... 20 Pen down ...........................................................................9 Pen thickness select .........................................................20 Pen up ................................................................................9 Pen width ......................................................
2006/05/31 CHAPTER 10 CARBON COPY FUNCTION CARBON COPY FUNCTION- 1
2006/05/31 CONTENTS 1. OUTLINE............................................................................................................................... 3 1.1. 2. SPECIFICATIONS ................................................................................................................ 4 2.1. 2.1.1. 2.1.2. 2.1.3. 2.1.4. 2.2. 2.2.1. 2.2.2. 2.3. 2.3.1. 2.3.2. 3. Outline of the function ............................................................................................................
2006/05/31 1. OUTLINE 1.1. Outline of the function This function allows you to print two or more copies of the one page data on the printer side. The function also allows you to select the paper tray and register an additional macro for each copy. Therefore it is possible to change the printing format for each copy by selecting the paper tray to change the paper type or registering different macros.
2006/05/31 2. SPECIFICATIONS 2.1. Explanation of each function 2.1.1. Carbon copy mode setting Sets the carbon copy function to ON or OFF. ON: Turns on the carbon copy function. OFF: Turns off the carbon copy function. AUTO: Turns on the carbon copy function when the @PJL ENTER LANGUAGE command is not included in the print data, and turns off when the @PJL ENTER LANGUAGE command is included.
2006/05/31 2.2. How to set each function 2.2.1.
2006/05/31 2.2.2. Setting with the PJL command This function supports each of the SET, DEFAULT, INQUIRE and DINQUIRE commands in the PJL commands.
2006/05/31 2.3. Example The following sections describe the setting method of the example below. The number of copies is 4 (four). The carbon copy function is enabled by sending the data only through the parallel interface. 1st page: The paper is fed from the Tray 1. 2nd page: The paper is fed from the Tray 2. The ID=128 macro is added. The ID=129 macro is added. 3rd page: The paper is fed from the MP tray. No macro is added. 4th page: The paper is fed from the MP tray. No macro is added. 2.3.1.
2006/05/31 3. DETAILED INFORMATION 3.1. Details on the specifications 3.1.1. Usable emulation Only the PCL emulation can be used since the macro is supported only on the PCL emulation. For the request to use the EPSON / IBM emulation, however, the filter function which converts the EPSON / IBM emulation data to the PCL emulation one is provided. 3.1.2.
2006/05/31 APPENDIX A COMPARISON LIST APPENDIX A -COMPARISON LIST-1
2006/05/31 CONTENTS PCL Specific Variables ................................................................ 38 PostScript Specific Variables ........................................................ 40 PCL5/5E (PAPER SIZE).................................................. 3 PCL5/5E (TRAY: IF PJL TRAYCOMMAND IS NORMAL.) .................................................................... 5 EPSON Specific Variables ........................................................... 41 IBM Specific Variables ......
2006/05/31 In this chapter, you can find which commands are supported by your printer.
2006/05/31 HL-5240/50D/ 70DN/80DW √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ HL-7050 HL-6050/6050D/ 6050DN √ HL-2460 HL-2070N √ HL-3260N HL-5140/5150D/ 5170DN √ HL-8050N HL-5040/5050/ 5070N √ HL-1850/1870N HL-3450CN √ HL-1650/1670N HL-3400CN HL-2700CN HL-2600CN HL-2400C/Ce HL-1660e/2060 √ HL-1450/1470N √ HL-1250/1270N/ P2500 Esc&l1028A Paper Size 13”X19"
2006/05/31 PCL5/5e (Tray: If PJL TRAYCOMMAND is NORMAL.
2006/05/31 HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-5040/5140 √ √ HL-5040/5140 HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N √ √ √ MP Tray HL-1050 HL-1070 HL-P2500/ 1250/1270N HL-1450/ 1470N HL-2400C/Ce HL-2700CN/ 2600CN HL-3400CN HL-3450CN HL-1660e/ 2060 HL-1650/ 1670N HL-1850/ 1870N HL-5050/5070N/ 5150D/5170DN √ Feed from Manual Feed √ Tray2 √ Esc&l2H Manual Feed Esc&l3H Envelope Esc&l4H Secondary Tray √ √ Feed er1 √ √ HL-2460 HL-5240/50DN 70DN/80DW √ √ HL-3260N HL-
2006/05/31 √ √ √ √ Tray3 √ √ √ √ Tra y3 HL-2070N √ HL-7050 √ √ MP Tra y √ √ Tra y2 HL-2460 √ HL-3260N √ HL-8050N √ √ MP Tray HL-5040/5140 √ HL-5240/50DN 70DN/80DW √ HL-6050/ 6050D/6050DN √ HL-5050/5070N/ 5150D/5170DN √ Tray2 HL-1850/ 1870N HL-1650/ 1670N HL-1660e/ 2060 Esc&l9H Optional Tray Esc&l100H Tray ID 1 Esc&l101H Tray ID 2 Esc&l102H Tray ID 3 Esc&l103H Tray ID 4 Esc&l1001H Fixed Tray Esc&l1002H Auto Selection HL-3450CN Esc&l7H Automatic Selection Esc&l8H Optional Tr
2006/05/31 PCL5/5e (Others) HL-2070N HL-7050 HL-2460 HL-3260N HL-8050N HL-5240/50DN 70DN/80DW HL-6050/ 6050D/6050DN HL- 5140/ 5150D/5170DN HL- 5040/ 5050/5070N HL-1850/ 1870N HL-1650/ 1670N HL-3400CN/ 3450CN HL-2700CN HL-2400C/Ce/ 2600CN HL-1660e/ 2060 HL-1270N/ 1470N HL-1070 Esc&n# Media type selection Esc&k#G Line Termination Esc&s#C End of Line Wrap EscY Display Function ON EscZ Display Function OFF Esc&l0S Simplex Esc&l1S Duplex Long-Edge Binding Esc&l2S Duplex Short-Edge Binding Esc&l
2006/05/31 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Escz Self-test Esc%-12345X UEL Esc&u#D Unit of Measure Esc&a#L Left Margin Esc&a#M Right Margin Esc9 Clear Side Margin Esc&l#E Top Margin Esc&l#C Line Pitch Esc&k#H Character Pitch Esc&l#D Line Spacing Esc&l#F Text Le
2006/05/31 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc&a#V Vertical Position(decipoint) Esc&a#C Horizontal Position(column) Esc&a#H Horizontal Position(decipoint) Esc*p#X Horizontal Position(dot) Esc&f0S Push Cursor Position Esc&f1S Pop Cursor Position Esc= Half-line
2006/05/31 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N SO Secondary Font Select SI Primary Font Select Esc*c#R Symbol Set ID Set Esc(f#W Define Symbol Set Esc*c#S Symbol Set Control Esc(symbol ID Selecting the Symbol Set Esc(s#C, Esc)s#C Character Set Esc(s#P, Esc)s#P Fix
2006/05/31 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc(s#T, Esc)s#T Typeface Esc&p#X Transparent Print Esc&d#D, Esc&d@ Auto Underline Esc*c#D Download Font Font ID Set Esc*c#F Download Font Control Esc(#X Set to Primary Font Esc)#X Set to Secondary Font Esc(#@ Font De
2006/05/31 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc*v#O Select Pattern Transparency Mode Esc*c#G Pattern ID Setting Esc*c#W Define Pattern Esc*p#R Set Pattern Reference Point Esc*c#Q User-defined Pattern Control Esc*v#T Select Pattern Esc*c#A Pattern Horizontal Siz
2006/05/31 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc*r#A Begin Raster Graphics Esc*b#W Transfer Data Esc*b#C Compression Transfer Esc*rB End Raster Graphics Esc*rC End Raster Graphics HL-1050/1250/ 1450/P2500 Esc*r#F Raster Graphics Presentation Esc*r#T Raster Height Esc*r#S Raster Width E
2006/05/31 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc%#B Enter HP-GL/2 Mode Esc*c0T Set Picture Frame Anchor Point Esc*c#Y Picture Frame Vertical size Esc*c#X Picture Frame Horizontal size Esc*c#L HP-GL2 Plot Vertical Size Esc*c#K HP-GL2 Plot Horizontal Size Esc&f0X
2006/05/31 HL-1050/1250/ 1450/P2500 HL-1270N/ 1470N HL-1660e/ 2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL- 5040/ 5050/5070N HL- 5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc&f7X Delete Temporary Macro Esc&f8X Delete Current Macro Esc&f9X Make Temporary Macro Esc&f10X Make Permanent Macro Esc&f1030X Delete All Macro from Card Esc&f1036X Delete Current Macro from Card Esc&f1038X Save Cu
2006/05/31 Typeface Selection (PCL) HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N Esc(s4116T Esc(s4197T Esc(s4102T Esc(s4297T Esc(s4113T HL-5140/ 5150D/5170DN PC Tennessee PC Brussels Utah Alaska Antique Oakland Brougham Cleveland Condensed Connecticut Guatemala Letter Gothic Maryland Oklahoma HL-5040/ 5050/5070N Esc(s4101T Esc(s4143T Esc(s4148T Esc(s4362T Esc(s4168T Esc(s4099T Esc(s4140T HL-1850/ 1870N Helsinki Tennessee Helsinki Narrow Atlanta Brusse
2006/05/31 HL-2400C/Ce/ 2600CN HL-2400C/Ce/ 2600CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL-5040/ 5050/5070N HL-5140/ 5150D/5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N BR Symbol Helsinki Tennessee W Dingbats Bermuda Script Germany San Diego US Roman HL-1660e/ 2060 Esc(s16686T Esc(s16602T Esc(s16901T Esc(s31402T ESC(s134T ESC(s132T ESC(s133T ESC(s135T HL-1070/ 1270N/1470N TYPEFACE HL-1050/1250/ 1450/P2500 COMMAND √ √ √ √ √ √
2006/05/31 HP-GL/2 COMMAND DF IN IP IR SC IW RO PU PD PA PR AA AR AT RT PE CI BR BZ PM EA ER EP EW RA RR WG FP AC FT LA LT PW HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/2400C/2400Ce/3400CN/1650/1670N/3260N/2460/7050/1850/1870N/5050/5070N/ 5150D/5170DN/2600CN/3450CN/6050/6050D/6050DN/8050N/2700CN/2070N/5240/5250DN/5270DN/5280DW √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ APPENDIX A -COMPARISON LIST-19
2006/05/31 COMMAND RF SM SP SV TR UL WU SD AD SS SA FI FN LB DT LO DI DR DV CP CF SI SR SL SB ES TD CO PG RP NP HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/2400C/2400Ce/3400CN/1650/1670N/3260N/2460/7050/1850/1870N/5050/5070N/ 5150D/5170DN/2600CN/3450CN/6050/6050D/6050DN/8050N/2700CN/2070N/5240/5250DN/5270DN/5280DW √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ APPENDIX A -COMPARISON LIST-20
2006/05/31 Epson FX-850 COMMAND SP BS CR LF FF Esc SP n Esc a n Esc $ n1 n2 Esc \ n1 n2 Esc < Esc > Esc # Esc @ Esc CR!#R Esc EM n Esc C n Esc C NUL n Esc l n Esc Q n Esc N n Esc O Esc 2 Esc 0 Esc 1 Esc A n Esc 3 n Esc J n Esc j n Esc D n1 n2 n3 ... NUL HT Esc B n1 n2 n3... NUL Esc b n m1 m2 m3 ...
2006/05/31 COMMAND Esc / n VT Esc P Esc M Esc p n SI Esc SI DC2 Esc E Esc F Esc G Esc H Esc W n SO Esc SO DC4 Esc 4 Esc 5 Esc S n Esc T Esc w n Esc -n Esc ! n Esc 6 Esc 7 Esc l n Esc R n Esc t n Esc&NUL n1 n2 Esc % n NUL Esc:000 Esc * m n1 n2 Esc ? n m Esc ^ a n1 n2 Esc K n1 n2 HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/2400C/2400Ce/3400CN/1650/1670N/3260N/2460/7050/1850/1870N/ 5050/5070N/5150D/5170DN/2600CN/3450CN/6050/6050D/6050DN/8050N/2700CN/2070N √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √
2006/05/31 COMMAND Esc L n1 n2 Esc Y n1 n2 Esc Z n1 n2 HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/2400C/2400Ce/3400CN/1650/1670N/3260N/2460/7050/1850/1870N/ 5050/5070N/5150D/5170DN/2600CN/3450CN/6050/6050D/6050DN/8050N/2700CN/2070N √ √ √ APPENDIX A -COMPARISON LIST-23
2006/05/31 IBM ProPrinter XL COMMAND ESC SP BS CR LF FF Esc 5 n DC1 Esc Q 22 Esc Q 3 Esc CR ! #R Esc EM n Esc C n Esc C NUL n Esc X m n Esc N n Esc O Esc 0 Esc 1 Esc A n Esc 2 Esc 3 n Esc J n Esc D n1 n2 n3 ... NUL Esc B n1 n2 n3 ...
2006/05/31 COMMAND SI Esc E Esc F SO DC4 CAN Esc W n Esc S n Esc T Esc - n Esc _ n Esc [ @ n1n2n3n4n5n6 Esc \ n1 n2 Esc ^ Esc I n Esc = n1 n2 20 n3 Esc K n1 n2 Esc L n1 n2 Esc Y n1 n2 Esc Z n1 n2 HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/2400C/2400Ce/3400CN/1650/1670N/3260N/2460/7050/1850/1870N/ 5050/5070N/5150D/5170DN/2600CN/3450CN/6050/6050D/6050DN/8050N/2700CN/2070N/5240/5250DN/5270DN/5280DW √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ APPENDIX A -COMPARISON LIST-25
2006/05/31 BAR CODE COMMAND CODE 39 Interleaved 2 of 5 FIM(US-Post Net) Post Net EAN8,EAN13, UPC A UPC E Codabar UPS Code128 set A UPS Code128 set B UPS Code128 set C ISBN(EAN) ISBN(UPC-E) EAN128 set A EAN 128 set B EAN 128 set C HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/2400C/2400Ce/3400CN/1650/1670N/3260N/2460/7050/1850/1870N/5050/ 5070N/5150D/5170DN/2600CN/3450CN/6050/6050D/6050DN/8050N/2700CN/2070N/5240/5250DN/5270DN/5280DW √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ APPENDIX A -COMPARISON LIST-26
2006/05/31 HL-3260N HL-2460 HL-7050 √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ HL-2070N HL-8050N HL-5240/50DN 70DN/80DW APPENDIX A -COMPARISON LIST-27 HL-6050/ 6050D/6050DN √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ HL-5140/5150D/ 5170DN HL-3400CN/ 3450CN √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √
2006/05/31 HL-3260N HL-2460 HL-7050 √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ HL-2070N HL-8050N HL-5240/50DN 70DN/80DW APPENDIX A -COMPARISON LIST-28 HL-6050/ 6050D/6050DN √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ HL-5140/5150D/ 5170DN HL-3400CN/ 3450CN √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √
2006/05/31 PJL PJL commands are supported by HL-1050, HL-1070, HL-1250, HL-1270N/1450/1470N, HL-P2500, HL-1660e, HL-2060, HL-2400C, HL-2400Ce, HL-3400CN, HL-1650, HL-1670N, HL-3260N, HL-2460, HL-7050, HL-1850, HL-1870N, HL-5040, HL-5050, HL-5070N, HL-5140, HL-5150D, HL-5170DN, HL-2600CN, HL-3450CN, HL-6050, HL-6050D, HL-6050DN, HL-8050N, HL-2070N, HL-5240, HL-5250DN, HL-5270DN, HL-5280DW and HL-2700CN. Other our printers does not support PJL.
2006/05/31 HL-7050 HL-2070N √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √
2006/05/31 HL-1050 HL-1250/1450 HL-1070 HL-1270N/ 1470N HL-P2500 HL-1660e/2060 HL-2400C/Ce/ 2600CN HL-2700CN HL-3400CN/ 3450CN HL-1650/ 1670N HL-1850/ 1870N HL-5040/5050/ 5070N HL-5140/5150D/ 5170DN HL-6050/ 6050D/6050DN HL-5240/50DN 70DN/80DW HL-8050N HL-3260N HL-2460 HL-7050 HL-2070N @PJL INFO MEMORY [] @PJL INFO STATUS [] @PJL INFO VARIABLES [] @PJL INFO USTATUS [] √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √
2006/05/31 General PJL Environment Variables √ HL-2070N √ √ √ √ √ √ √ √ √ √ √ HL-7050 √ √ √ √ √ √ √ √ √ √ HL-2460 LETTER LEGAL A4 B5 EXECUTIVE DL COM10 MONARCH C5 JISB5 A5 B6 A6 A4LONG ANY DLL POSTCARD ORGANIZERJ ORGANIZERK ORGANIZERL ORGANIZERM FOLIO USERDEF LEDGER A3 JISB4 A3PLUS HL-3260N 1 ~ 200 HL-8050N HL-5240/50DN 70DN/80DW HL-6050/ 6050D/6050DN HL-5140/ 5150D/5170DN HL-5040/ 5050/ 5070N HL-1850/ 1870N HL-1650/ 1670N HL-2060 HL-1660e HL-3400CN/ 3450CN HL-2700CN HL-2400C/Ce/ 2600CN H
2006/05/31 √ √ √ √ √ √ √ √ LIGHT, MEDIUM, DARK, OFF AUTO, OFF, LETTER, LEGAL, A4 300, 600, HQ1200 300, 600 HL-2070N 300, 600, HQ1200 HL-7050 √ √ √ √ PORTRAIT, LANDSCAPE 5 ~ 128 ON, OFF LIGHT, MEDIUM, DARK, OFF 300, 600 HL-2460 √ √ HL-3260N HL-8050N HL-5240/50DN 70DN/80DW HL-6050/ 6050D/6050DN HL-5140/ 5150D/5170DN HL-5040/ 5050/ 5070N HL-1850/ 1870N HL-1650/ 1670N PAGEPROTECT RESOLUTION HL-2060 LTRS A4S EXECUTIVES B5S ORIENTATION FORMLINES MANUALFEED RET HL-1660e HL-3400CN/ 3450CN HL-2
2006/05/31 √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ INTRAY1SIZE LETTER LEGAL A4 EXECUTIVE JISB5 B5 A5 B6 A6 COM10 DL MONARCH C5 A4LONG ANY CUSTOM A3 LEDGER JISB4 A3PLUS LTRS A4S EXECUTIVES B5S FOLIO POSTCARD ORGANIZERJ ORGANIZERK ORGANIZERL ORGANIZERM √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ APPENDIX A -COMPARISON LIST-34 √ √ √ √ √ √ HL-2070N √ √ √ √ √ √ √ √ √ √ HL-7050
2006/05/31 ↑ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ ↑ ↑ HL-2070N ↑ HL-7050 ↑ HL-2460 ↑ √ √ HL-3260N √ √ HL-8050N HL-5240/50DN 70DN/80DW HL-6050/ 6050D/6050DN HL-5140/ 5150D/5170DN HL-5040/ 5050/ 5070N HL-1850/ 1870N HL-1650/ 1670N HL-2060 HL-1660e HL-3400CN/ 3450CN HL-2700CN HL-2400C/Ce/ 2600CN HL-P2500 HL-1450/ 1470N HL-1250/ 1270N HL-1070 USERDEFINED DLL NOCASSETTE INTRAY2SIZE A4LETTER B5EXECUTIVE ENVELOPES LEGAL A5 B6 A6 A4 A4LONG LETTER JISB5 B5 EXECUTIVE FOLIO POSTCAR
2006/05/31 HL-7050 √ √ √ √ √ √ HL-2070N HL-2460 HL-3260N HL-8050N HL-5240/50DN 70DN/80DW HL-6050/ 6050D/6050DN HL-5140/ 5150D/5170DN HL-5040/ 5050/ 5070N HL-1850/ 1870N HL-1650/ 1670N HL-2060 YOFFSET TIMEOUTEMU PRIORITY AUTOFF TIMEOUTFF CDCCHIGH DTRCTRL XOFFTIMINGSEL AUTOSLEEP TIMEOUTSLEEP IBMCHARE1 DEMOPRINT LANG ENGLISH FRENCH GERMAN DUTCH SPANISH ITALIAN FINNISH NORWEGIAN PORTUGUESE DANISH HL-1660e TRAYID2 TRAYID3 TRAYID4 ECONOMODE ECONOLEVEL XOFFSET HL-3400CN/ 3450CN HL-2700CN HL-2400C/Ce
2006/05/31 √ √ √ √ ON, OFF ON, OFF √ HL-2070N √ HL-7050 √ HL-2460 √ HL-3260N √ HL-8050N √ √ √ HL-5240/50DN 70DN/80DW HL-6050/ 6050D/6050DN HL-5140/ 5150D/5170DN HL-5040/ 5050/ 5070N HL-1850/ 1870N HL-1650/ 1670N HL-2060 HL-1660e HL-3400CN/ 3450CN CPLOCK PASSWORD MPTRAY MEDIATYPE REGULAR THICK THICK2 TRANSPARENCY THIN BOND ENVELOPES ENVTHICK ENVTHIN RECYCLED HL-2700CN KEEPPCL DOUBLESTRIKE DUPLEX BINDING FIRSTPRINT DENSITY HL-2400C/Ce/ 2600CN √ √ √ HL-P2500 SWEDISH CANADA USA JAPANE
2006/05/31 PCL Specific Variables PCL SPECIFIC VARIABLES HL-1050/1070/ 1250/1270N/1450/ 1470N/P2500 FONTSOURCE I, S HL-1660e/2060/ 2400C/Ce/3400CN/ 2600CN/3450CN/ 2700CN I, C, C1, S FONTNUMBER PITCH PTSIZE LEFTMARGIN RIGHTMARGIN TOPMARGIN 0,1,2, ... n 0.44, 0.45 ~ 99.99 4.00, 4.25 ~ 999.75 0 ~ 145columns 10 ~ 155 columns 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch 5 ~ 128 ON, OFF ON, OFF ON, OFF ON, OFF 0, 1, 2, ... n 0.44, 0.45 ~ 99.99 4.00, 4.25 ~ 999.
2006/05/31 PCL SPECIFIC VARIABLES SYMSET HL-1050/1070/ 1250/1270N/1450/ 1470N/P2500 HL-1660e/2060/ HL-1650/1670N 2400C/Ce/3400CN/ 2600CN/3450CN/ 2700CN ROMAN8, ISOL1, ROMAN8, ISOL1, PC8, PC8DN, ISOL2, ISOL5, ISOL2, ISOL5, PC850, PC852, ISOL6, PC8, ISOL6, PC8, PC8TK, PC1004, PC8DN, PC850, PC8DN, PC850, WINL1, WINL2, PC852, PC8TK, PC852, PC8TK, WINL5, PC775, PC1004, PC775, PC1004, WINBALT, WINL1, WINL2, WINL1, WINL2, DESKTOP, WINL5, WINL5, PSTEXT, VNINTL, WINBALT, WINBALT, VNUS, MSPUBL, DESKTOP, DESKTOP,
2006/05/31 PostScript Specific Variables POSTSCRIPT SPECIFIC VARIABLES PRTPSERRS ORIENTATION CRLFCONV APPLETALKPS HL-1050/ 1250/1450/ P2500 HL-1070 HL-1270N/ 1470N ON, OFF PORTRAIT, LANDSCAPE ON, OFF PORTRAIT, LANDSCAPE ON, OFF ON, OFF HL-1660e/ 2060/ 2400C/Ce/ 3400CN/ 2600CN/ 3450CN/ 2700CN ON, OFF PORTRAIT, LANDSCAPE ON, OFF ON, OFF HL1650/1670N/ 1850/1870N/ 5050/5070N/ 5150D/5170DN HL-3260 HL-2460 HL-7050/6050/ 6050D/6050DN/ 8050N/ 5240/5250DN/ 5270DN/ 5280DW ON, OFF PORTRAIT, LANDSCAPE O
2006/05/31 EPSON Specific Variables EPSON SPECIFIC VARIABLES ORIENTAION HL-1050/1070/1250/ 1270N/1450/1470N FORMLINES FONTNUMBER PITCH PTSIZE SYMSET PORTRAIT LANDSCAPE 0 ~ 145 columns 10 ~ 155 columns 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch 5~128 0,1,2, ...n 0.44, 0.45 ~ 99.99 4.00, 4.25 ~ 999.
2006/05/31 IBM Specific Variables IBM SPECIFIC VARIABLES ORIENTATION LEFTMARGIN RIGHTMARGIN TOPMARGIN BOTMARGIN FORMLINES FONTNUMBER PITCH PTSIZE SYMSET AUTOLF AUTOCR AUTOMASK HL-1050/1070/1250/ 1270N/1450/1470N PORTRAIT, LANDSCAPE 0 ~ 145 columns 10 ~ 155 columns 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch 5 ~ 128 0, 1, 2, ... n 0.44, 0.45 ~ 99.99 4.00, 4.25 ~ 999.
2006/05/31 APPENDIX B FLASH/PCMCIA CARD COMMANDS APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 1
2006/05/31 CONTENTS 1. INTRODUCTION ..........................................................................................................3 2. HOW TO READ THE CARD COMMANDS SPECIFICATION .....................................4 3. 2.1 Commands ..........................................................................................................................4 2.2 Available Devices ...............................................................................................................
2006/05/31 1. INTRODUCTION The Flash/Card Commands described in this chapter are applicable to the HL-1270N/1470N/1660e/2060/ 2400C/2400Ce/3400CN/1650/1670N/2460/3260N/7050/1850/1870N/5070N/5170DN/2600CN/3450CN/ 6050/6050D/6050DN/8050N/2700CN/5270DN/5280DW printers only.
2006/05/31 2. HOW TO READ THE CARD COMMANDS SPECIFICATION Each command is described in the following four sections of this manual. 2.1 Commands Command data sequences and syntax. ESC or CR stands for 0x1b or 0x0d as follows; ESC ----0x1b CR ---- 0x0d 2.2 Available Devices The supported memory card devices which can be used for each command are represented in this manual using the abbreviations as follows. Abbreviation F A H I 2.
2006/05/31 3. COMMANDS 3.1 Select Storage Device Command (For HL-2060/2400C/2400Ce/3400CN/2460/3260N/7050/2600CN/3450CN/ 6050/6050D/6050DN Only) Command ESC CR ! 12358F Slot No ** Slot No = 1 Slot No = 2 (Slot No. 2 is not used for the HL-2460/3260N.) Slot No = 3 (Internal HDD) Default = 1 For HL-6050/6050D/6050DN ** Slot No = 1 (ATA flash memory Card.) Slot No = 2 (Internal flash memory.) Available Devices F, A, H Description The card is specified and controlled by the following commands.
2006/05/31 3.2 Format Command 3.2.1 Physical format Command ESC CR ! 12340F Available Devices F, A, H, I Description This command executes a physical format for the storage device. This will delete all existing data on the device. When two devices are installed into the printer, the command formats the device specified by the select storage device command. When only one device is installed, the command formats that device.
2006/05/31 3.3 Save Data Command 3.3.1 Save specified type Command ESC CR ! 12345F type(4byte) size(4byte) data... ** type = MCRO, DATA Available Devices F, A, H Description This command saves data of the specified type with the data ID which is set with the ESC & f # Y (Macro ID Configuration) command. If there is insufficient memory in the printer to store the data, a memory full error occurs.
2006/05/31 3.4 Data 3.4.1 Save data Command ESC CR ! 12347F ID(2byte) size(4byte) data... Available Devices F, A, H Description This command saves data which is sent from the PC with the specified ID onto the device. If there is insufficient memory in the printer to store the data, a memory full error occurs. When the printer supports two or more storage devices, the command saves the data onto the device specified by the select storage device command.
2006/05/31 3.5 Font 3.5.1 Save primary font Command ESC CR ! 12343F Available Devices F, A, H, I Description This command saves the primary font which is currently selected into the device. The primary font can also be saved by control panel operation. The ID specified with the ESC * c # D (Font ID ) command is used for registration. When two devices are installed into the printer, the command saves the font onto the device specified by the select storage device command.
2006/05/31 3.5.3 Delete all download fonts Command ESC * c 1028F Available Devices F, A, H, I Description This command deletes all the download fonts which are saved in the device. When two devices are installed into the printer, the command deletes the download fonts in the device specified by the select storage device command. When only one device is installed, the command deletes the download fonts in that device. This command is only valid in PCL emulation.
2006/05/31 3.5.5 Save download font with specified ID Command ESC * c 1029F Available Devices F, A, H, I Description This command saves the font with the ID which is specified with the ESC * C # D (Font ID) command. When two devices are installed into the printer, the command saves the download fonts in the device specified by the select storage device command. When only one device is installed, the command saves the download fonts in that device. This command is only valid in PCL emulation.
2006/05/31 3.6 Macro 3.6.1 Delete all macros Command ESC & f 1030X Available Devices F, A, H, I Description This command deletes all the macros which are saved in the device. When two devices are installed into the printer, the command deletes all the macros in the device specified by the select storage device command. When only one device is installed, the command deletes all the macros in that device. This command is only valid in PCL emulation.
2006/05/31 3.6.3 Save macro with specified ID Command ESC & f 1038X Available Devices F, A, H, I Description This command saves a macro with the ID which is specified with the ESC & f # Y (Macro ID Configuration) command on the device. When two devices are installed into the printer, the command saves the macros on the device specified by the select storage device command. When only one device is installed, the command saves the macros on that device. This command is only valid in PCL emulation.
2006/05/31 Save image (Printing location not fixed) Command ESC CR ! 12350F Available Device F Description After transferring the last print data into the image data area, this command saves the data with the ID which is specified with the ESC & f # Y (Macro ID Configuration) command as a PCL command on the device. 3.6.5 The printing location for the saved data is not fixed on the page. The move cursor command allows you to print the data anywhere you want when executing this command.
2006/05/31 3.7 Copy Card (For HL-1660e/2060/2400C/2400Ce/3400CN/2460/3260N/7050 /2600CN/3450CN Only) Command ESC CR ! 12357F Available Devices F, A Description 1) Flash memory card After executing a logical format on the transfer device, this command copies to the transfer device only when the two devices have the same memory size. It is essential that the transfer device has already been formatted. The specify device command allows you to specify the source device.
2006/05/31 4. USE CARD COMMANDS FROM PCL 4.1 Execute Macros Command ESC & l 2 X ESC & l 3 X ESC & l 4 X Execute Macro Call Macro Macro Overlay Available Devices F, A, H, I Description The macros saved in the device can be executed from the PCL command language as well as saving macros in the printer memory. The priority for searching is as follows; 1. Macro in printer memory 2. Macro in Card 1 3. Macro in Card 2 4.
2006/05/31 4.2 Use Download Fonts Command ESC ( # X Designates soft font # as Primary ESC ) # X Designates soft font # as Secondary ** # = font ID number Available Devices F, A, H, I Description The download fonts saved in the device can be selected from the PCL command language as well as saving download fonts in printer memory. The priority for searching is as follows; 1. Font in printer memory 2. Font in Card 1 3. Font in Card 2 4.
2006/05/31 5. USE CARD COMMANDS FROM POSTSCRIPT The PostScript emulation recognizes the storage device as a hard disk (except a Flash memory card) and the PostScript file operation allows you to read/write data on these devices. (i.e.) Create the file named “test” and write the data, “This is a data string” onto the device which is inserted into Slot 1.
2006/05/31 APPENDIX C HBP MODE COMMANDS APPENDIX C HBP MODE COMMANDS - 1
2006/05/31 CONTENTS 1. DESCRIPTIONS ................................................................................................................... 3 2. COMMAND TO ENTER HBP MODE ................................................................................... 4 3. HBP COMMANDS................................................................................................................ 5 3.1 Command List .........................................................................................
2006/05/31 1. DESCRIPTIONS The HBP mode commands can be used for the HL-820/1020/1040 printers only. The following commands and syntax are used in these specifications. Description:meaning or code : 0 x 1b : 0 x 20 : 0 x 0a *: 1byte of data +: sign for combining data ( This is not a control code.
2006/05/31 2. COMMAND TO ENTER HBP MODE Command %-12345X@PJL @PJLENTERLANGUAGE=HBP Function The printer enters the HBP mode when this command is received. Explanation The printer can receive this command when it is in the idle condition (during HP emulation, IBM emulation, Epson emulation and Auto emulation for HL-1040). The printer reports an error if it receives this command when it is already in HBP mode.
2006/05/31 3. HBP COMMANDS An HBP command is composed of ‘@’ + an Uppercase Alphabetic character + parameters (not necessary for some commands). 3.
2006/05/31 3.2 Commands (Detailed Explanation) 3.2.1 Resolution setting commands Command @L + * Function This command sets the printer resolution. Command @ L+ (00000000)B @ L+ (00000101)B @ L+ (00001010)B Resolution 600dpi (Default) 300dpi 150dpi Explanation The resolution is set when the printer receives this command. This command is applied from the next page printed after the FormFeed command after this command is sent (i.e. the next complete page).
2006/05/31 3.2.3 Sleep mode setting commands Command @T+ * Function This command sets the sleep time in minutes. Explanation This command is valid immediately after the printer receives the command. The command is valid until one of the following occurs. (1) The printer receives the Exit command. (2) The printer receives a new sleep time setting command. (3) The printer power is turned off. (4) InputPrime Signal is brought LOW.
2006/05/31 3.2.4 Mode setting commands Command @M+* Function This command allows various error mode operations to be set. 1 byte, used as 8 bits, that follows the @M command select the settings for each mode. Bit0:0 = The printer clears the input buffer when a Paper Jam error or Undefined Code error occurs. The printer does not recover automatically from a Print Overrun error. 1 = The printer does not clear the input buffer when a Paper Jam error or Undefined Code error occurs.
2006/05/31 3.2.5 Engine related setting commands Command @J+* Function This command allows the setting of engine related commands. Each setting depends on the value of the 3 byte command string. @J+CHR$ (0) +CHR$ (n): Sets Media Type This command allows the printer to change the temperature control for the fuser unit when printing.
2006/05/31 3.2.7 Graphic data input commands Command @G+[data length(3bytes)]+data Function The 3 bytes of data following the @G command shows the length of the data, N. The N bytes following this 3 byte header is handled as graphic data. (Example) fprintf(fp,”@G%c%c%c”, (char)((data_length>>16)&0xff), (char)((data_length>>8)&0xff), (char)((data_length>>0)&0xff) ); fwrite(data,(size_t)1,(size_t)data_length,fp); See section 2.3 for further details of the data format.
2006/05/31 3.3 Graphic Data Format The data format, which follows the @G+ [number of data bytes (3 bytes)] command, is as shown below.
2006/05/31 The 5th byte data onward is replaced by the twelve data bytes AAh. 11101010b,02h,Aah When the replacement position and the amount of replacement data are overflow, the next data byte becomes an Expansion Offset Byte. However, if the number is FFh, 00h is added.
2006/05/31 4. RECOMMENDED COMMAND STRING The command strings below shows the recommended command stream for two pages of a print job.
2006/05/30 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000/ 7000 SERIES UNIQUE COMMANDS APPENDIX D REFERENCE LIST OF MX-2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 1
2006/05/30 CONTENTS 1. INTRODUCTION ..................................................................................................3 2. GENERAL SPECIFICATION ...............................................................................4 3. COMMAND REFERENCE LIST...........................................................................5 3.1. Commands Descriptions ........................................................................................... 5 3.1.1. PJL output tray & mode setting.
2006/05/30 1. INTRODUCTION This manual covers the general specifications and the command reference list of the MX-2000 series (MX-2001 / MX-2002 / MX-2003), MX-4000 series (MX-4100 / MX-4200 / MX-4300), MX-5000 and MX-7000 series (MX-7000 / MX-7005 / MX-7010 ) Mailbox units.
2006/05/30 2. GENERAL SPECIFICATION The Mailbox unit is an option for the HL-2060, HL-2460, HL-3260 or HL-7050 printer and the MX-2000/4000/ 7000 series composed of three types of units. The MX-2001/4100/7000 Lower Mailbox unit consists of five bins. The MX-2002/4200/7005 Upper Mailbox unit is additionally installed onto the MX-2001/4100 and also consists of five bins. The MX-2003/4300/7010 Mailbox unit consists of ten bins.
2006/05/30 3. COMMAND REFERENCE LIST This section describes the specific commands as listed below used to support the functions of the Mailbox unit. 1) PJL output tray & mode setting 2) PJL mailbox protection & bin number setting 3) PJL avoidance of output bin full 4) PCL output tray setting 5) PS output tray & mode setting 6) PS mailbox protection & bin number setting For the details on each command, refer to the following sections. 3.1. Commands Descriptions 3.1.1.
2006/05/30 3.1.2. PJL mailbox protection & bin number setting Format @PJL SET/DEFAULT MAILBOXPROTECT=TrayNumber Parameter TrayNumber • • Lower unit: Lower unit + Upper unit: #1 to 5 from bottom to top #1 to 10 from bottom to top #1 to 4 from bottom to top Default = 0 Explanation • This command sets the bins with numbers larger than the TrayNumber specified as mailbox use only. They cannot then be used for either stacker or sorter functions.
2006/05/30 3.1.4. PCL output tray setting Command Esc&l#G (27)(38)(108)#(71) <1Bh><38h><6ch>#<47h> Parameter # denotes the output tray. • 1: Select the printer face-down output tray. • 3: Select #1 bin of the Mailbox unit. • 4: Select #2 bin of the Mailbox unit. • 5: Select #3 bin of the Mailbox unit. • 6: Select #4 bin of the Mailbox unit. • 7: Select #5 bin of the Mailbox unit. (except HL-3260) • 8: Select #6 bin of the Mailbox unit. (except HL-3260) • 9: Select #7 bin of the Mailbox unit.
2006/05/30 Explanation • This operator selects the specified output tray and output mode. • This operator is ignored when no tray is specified. • The ‘1’ and ‘2’ parameters are executed for all output trays other than ones which are defined and protected as mailboxes. (HL-2060) This operator is registered in ‘statusdict’.
2006/05/30 3.1.6. PS mailbox protection & bin number setting Command # setoutputprotect <> setpagedevice Parameter # • Lower unit: Lower unit + Upper unit: #1 to 4 from bottom to top • #1 to 5 from bottom to top #1 to 10 from bottom to top Default = 0 Explanation • This operator sets the bins with numbers larger than the TrayNumber specified as mailbox use only.
2006/05/31 APPENDIX E REFERENCE LIST OF FS-5050 UNIQUE COMMANDS APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 1
2006/05/31 CONTENTS 1. INTRODUCTION ..................................................................................................3 2. GENERAL SPECIFICATION ...............................................................................3 3. COMMAND REFERENCE LIST...........................................................................3 3.1. Commands Descriptions ........................................................................................... 4 3.1.1. PJL output tray................
2006/05/31 1. INTRODUCTION This manual covers the general specifications and the command reference list of the FS-5050 Finisher/Stapler units, which are optionally installed onto the HL-3260 printer. 2. GENERAL SPECIFICATION The Finisher/Stapler unit is an option for the HL-3260 printer. Function Finisher/ Stapler 3. Description Printed pages can be sorted or stapled.
2006/05/31 3.1. Commands Descriptions 3.1.1. PJL output tray Format @PJL SET/DEFAULT OUTBIN=TrayName Parameter TrayName* • FINISHER: Select the tray of the Finisher/Stapler unit Default = ALLSTACKER Explanation • This command selects the Finisher/Stapler unit. • This command is ignored when the Finisher/Stapler unit is not available. • The difference between the SET and DEFAULT selection and the effective period of this setting follow the PJL specifications. 3.1.2.
2006/05/31 3.1.4. PJL staple on/off Format @PJL SET/DEFAULT STAPLE=StapleName Parameter StapleName* • UPPER LEFT: • UPPER RIGHT: • LOWER LEFT: • LOWER RIGHT: • OFF: Select the upper left of the Finisher/Stapler unit Select the upper right of the Finisher/Stapler unit Select the lower left of the Finisher/Stapler unit Select the lower right of the Finisher/Stapler unit Default = UPPER LEFT Explanation • This command selects the staple.
2006/05/31 3.1.6. PJL job offset on/off Format @PJL SET/DEFAULT JOBOFFSET=ON/OFF Parameter • ON: Paper is ejected offset by each job. • OFF: Paper is ejected together. Default = ON Explanation • This command selects the job offset. • This command is ignored when the Finisher/Stapler unit is not available. • The difference between the SET and DEFAULT selection and the effective period of this setting follow the PJL specifications. 3.1.7.