Brother HL-1050 Technical Reference Manual

Hide thumbs Also See for HL-1050:
Table of Contents

Advertisement

R
Brother Laser Printer
Technical Reference Guide
<MODELS COVERED BY THIS MANUAL>
HL-1050/1070/1250/1270N/
P2500/1660e/2060/2400C
First version
August, 1999
Created for HL-1050/1070/1250/1270N/
P2500/1660e/2060/2400C
Copyright © 1999
Brother Industries Ltd.
ALL RIGHTS RESERVED

Advertisement

Table of Contents
loading

Summary of Contents for Brother HL-1050

  • Page 1 Brother Laser Printer Technical Reference Guide <MODELS COVERED BY THIS MANUAL> HL-1050/1070/1250/1270N/ P2500/1660e/2060/2400C First version August, 1999 Created for HL-1050/1070/1250/1270N/ P2500/1660e/2060/2400C Copyright © 1999 Brother Industries Ltd. ALL RIGHTS RESERVED...
  • Page 2 Compilation and Publication Under the supervision of Brother Industries Ltd., this manual has been compiled and published, covering the latest product's descriptions and specifications. The contents of this manual and the specifications of this product are subjected to change without notice.
  • Page 3: Table Of Contents

    TABLE OF CONTENTS GLOSSARY CHAPTER 1 INTRODUCTION 1. ABOUT THE MANUAL-------------------------------- -------------------------------- -------------------3 2. AREAS OF USE -------------------------------- -------------------------------- --------------------------- 4 CHAPTER 2 PCL 1. COMMAND LIST -------------------------------- -------------------------------- -------------------------- 7 2. INTRODUCTION -------------------------------- -------------------------------- ------------------------ 10 3. CONTROLLING THE PRINTER-------------------------------- -------------------------------- ----- 11 4.
  • Page 4 4. INDEX-------------------------------- -------------------------------- -------------------------------- ------ 27 APPENDIX A COMPARISON LIST APPENDIX B FLASH/PCMCIA CARD COMMANDS APPENDIX-C HBP MODE COMMANDS APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/ P2500 PJL COMMANDS APPENDIX E REFERENCE LIST OF HL-1660e/2060/2400C PJL COMMANDS APPENDIX F REFERENCE LIST OF MX-2000 SERIES UNIQUE...
  • Page 5: Glossary

    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.
  • Page 6 Control code An ASCII code that tells the computer to perform a particular function, such as a carriage return. 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.
  • Page 7 Fill A shading applied to a shape that you have drawn. 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.
  • Page 8 Isotropic scaling A form of image scaling using the SC command in HP-GL or HP-GL/2 mode in which the user units must be of equal size. Hence it may not be possible to use the entire graphics window to display the image. Justification The way in which text is aligned.
  • Page 9 Although this printer is a laser printer the HP-GL/2 and HP-GL graphics languages retains the notion of a pen and allows you to select between two pens, white and black. You must select a pen before you can draw anything. The HP-GL and HP- GL/2 language were originally developed for use with plotters and the terminology remains.
  • Page 10 Proportional spacing Fonts intended for high quality typographic output use a method of character spacing in which the space occupied by a single character on a line of text depends on the individual design of the character. This is known as proportional spacing. Scalable fonts are almost invariably proportionally spaced.
  • Page 11 Serif A kind of typeface normally used for body text. Serif typefaces have little hooks (serifs) on the individual characters that makes text more readable. 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.
  • Page 12 User units Coordinate units specified by the user with the HP-GL and HP-GL/2 SC command. Vector graphics A method of defining graphic images in terms of coordinates, points and lines. The HP-GL and HP-GL/2 graphics languages use this method. Vertical plot size The original vertical size of an imported HP-GL and HP-GL/2 image.
  • Page 13: Chapter 1 Introduction

    99/08/03 CHAPTER 1 INTRODUCTION CHAPTER 1 INTRODUCTION - 1...
  • Page 14: About The Manual

    99/08/03 ONTENTS 1. ABOUT THE MANUAL ....................3 2. AREAS OF USE ......................4 2.1 Using Word Processing Packages and Spreadsheets ............4 2.2 Graphics ..........................4 2.3 Programming ........................4 2.4 Font Development.........................5 CHAPTER 1 INTRODUCTION - 2...
  • Page 15: About The Manual

    99/08/03 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.
  • Page 16: Areas Of Use

    99/08/03 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. 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.
  • Page 17: Font Development

    99/08/03 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.
  • Page 18 99/08/03 CHAPTER 1 INTRODUCTION - 6...
  • Page 19: Chapter 2 Pcl

    99/08/03 CHAPTER 2 PRINTER CONTROL LANGUAGE CHAPTER 2 "PCL" - 1...
  • Page 20 99/08/03 ONTENTS 1. COMMAND LIST ......................... 7 2. INTRODUCTION ........................10 3. CONTROLLING THE PRINTER....................11 3.1. Control Codes ..........................11 3.1.1. Backspace (08) <08h>..........................11 3.1.2. Line feed (10) <0Ah> ............................11 3.1.3. Form feed (12) <0Ch> ..........................11 3.1.4.
  • Page 21 99/08/03 4.2.7. Landscape page dimensions ........................22 4.2.8. Coordinates..............................23 4.2.9. Units................................23 4.2.10. Unit of measure............................23 4.2.11. Setting the left and right margins ........................23 4.2.12. Resetting the horizontal margins ........................24 4.2.13. Setting the top margin..........................24 4.2.14. Setting the vertical motion index (VMI) .......................25 4.2.15.
  • Page 22 99/08/03 5.2.6. Selecting the type of character spacing ......................41 5.2.7. Selecting the pitch............................41 5.2.8. Selecting the height ............................42 5.2.9. Scaling the scalable fonts vertically or horizontally..................42 5.2.10. Selecting the style............................42 5.2.11. Selecting the stroke weight .........................43 5.2.12. Selecting the typeface..........................43 5.2.13.
  • Page 23 99/08/03 6.5. The Picture Frame .......................... 84 6.5.1. The default picture frame ..........................84 6.5.2. Set picture frame anchor point........................84 6.5.3. Set picture frame vertical size........................84 6.5.4. Set picture frame horizontal size........................84 6.5.5. Specify vertical plot size..........................84 6.5.6. Specify horizontal plot size ...........................84 7.
  • Page 24 99/08/03 8.5.13. Use-defined pattern response........................96 8.5.14. Symbol set response ..........................96 8.5.15. Entity error codes............................97 8.5.16. Free space command ..........................97 8.5.17. Font cache ..............................98 8.5.18. Memory status response ..........................98 8.5.19. Memory error response ..........................98 8.5.20. Flush all pages command ...........................98 8.5.21. Echo command ............................98 9.
  • Page 25: Command List

    99/08/03 COMMAND LIST Control Codes Escape sequences Esc&k#G Line termination Esc&s#C End-of-line wrap EscY Display function mode EscZ Display function mode Environments Job Control Esc&l#A Page size Esc&l#G Output tray Esc&l#H Paper source Esc&l#U Left long-edge offset registration Esc&l#Z Top offset registration Esc&l#S Simplex/duplex printing (For HL-1660e/2060) Esc&a#G...
  • Page 26 99/08/03 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...
  • Page 27 99/08/03 EscCR!#E Execute data Esc&b#W AppleTalk configuration EscCR!1234#M MIO video I/O port control Status Readback Esc*s#T Set status readback location type Esc*s#U Set status readback location unit Esc*s#I Inquire status readback entity Esc*s1M Free space command Esc&r#F Flush all pages command Esc*s#X Echo command CHAPTER 2 "PCL"...
  • Page 28: Introduction

    99/08/03 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 PCMCIA card into the printer or by downloading fonts from your computer.
  • Page 29: Controlling The Printer

    99/08/03 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>...
  • Page 30: Escape Sequences

    99/08/03 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.
  • Page 31: Display Functions Mode

    99/08/03 3.2.3. Display functions mode You can choose to make the printer print escape sequences instead of executing them. Send the printer the following sequence: EscY (27)(89) <1B><59> Now the printer prints out escape sequences and prints the characters of the control codes. It does not execute them.
  • Page 32: Environments

    99/08/03 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.
  • Page 33: Job Control

    # 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. Model HL-1050 HL-1070 HL-1250/ HL-1270N HL-1660e...
  • Page 34: Paper Source

    • If # = 1 or # = 2 either paper or envelopes may be fed in, depending on the current page size setting. • The cursor is positioned at the top left of the text area on the next page. HL-1050 HL-1060/1070...
  • Page 35: Top Offset Registration

    99/08/03 4.1.5. Top offset registration Esc& (27)(38)(108)#(90) <1Bh><26h><6Ch>#<5Ah> # stands for the distance in decipoints (1/720") that the top edge of the logical page is to be moved. • Values for # may be in the range -32,767 to 32,767. •...
  • Page 36: Job Separation Command

    99/08/03 • # = 2 indicates the back face. If the currently processing page is an odd page, the printer finishes the processing of the page. If the odd page has already been processed onto the page and the even page has not been processed yet, this command is ignored.
  • Page 37: Change Emulation Mode

    Depending on the model, you can also switch between emulation modes using the printer’s control panel (see the User Guide). Emulations available for each model are listed below. HP-GL BR-Script BR-Script 2 Epson FX-850 Proprinter HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C CHAPTER 2 "PCL" - 19...
  • Page 38: The Page

    99/08/03 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.
  • Page 39: Portrait

    99/08/03 4.2.6. Portrait page dimensions (DEFAULT VALUES) Physical page Printable area Logical page Default HP-GL/2 picture frame Physical page length Maximum logical page length Distance from edge of physical page to edge of logical page PAPER SIZE LETTER 2550 3300 2400 3300 LEGAL...
  • Page 40: Landscape

    99/08/03 4.2.7. Landscape page dimensions (DEFAULT VALUES) Physical page Printable area Logical page Default HP-GL/2 picture frame Physical page length Maximum logical page length Distance from edge of physical page to edge of logical page PAPER SIZE LETTER 3300 2550 3180 2550 LEGAL...
  • Page 41: Coordinates

    99/08/03 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.
  • Page 42: Resetting The Horizontal Margins

    99/08/03 • 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.
  • Page 43: Setting The Vertical Motion Index (Vmi)

    99/08/03 4.2.14. Setting the vertical motion index (VMI) Esc& (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.
  • Page 44: Setting Line Spacing

    99/08/03 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";...
  • Page 45: Page Length

    99/08/03 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.
  • Page 46: Positioning The Cursor

    99/08/03 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 &...
  • Page 47: Horizontal Position

    99/08/03 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.
  • Page 48: Positioning The Cursor Using Control Codes

    99/08/03 100 REM --- MOVING CURSOR 1 INCH TO THE RIGHT --- 110 LPRINT ESC$+"*p+300X"; 120 LPRINT "C"; 130 REM --- PAPER EJECT --- 140 LPRINT CHR$(12); 150 END <Sample file 4> Horizontal cursor positioning - decipoints Esc&a#H (27)(38)(97)#(72) <1Bh><26h><61h>#<48h> # = number of decipoints 1/720"...
  • Page 49: Half Line Feed

    99/08/03 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& (27)(38)(108)#(79) <1Bh><26h><6Ch>#<4Fh> # = 0, 1, 2 or 3 •...
  • Page 50 40 REM --- MOVING CURSOR TO X=500, Y=500 --- 50 LPRINT CHR$(27);"*p500X"; 60 LPRINT CHR$(27);"*p500Y"; 70 REM --- 0 deg --- 80 LPRINT CHR$(27);"&a0P"; 90 LPRINT "BROTHER "; 100 REM --- 90 deg --- 110 LPRINT CHR$(27);"&a90P"; 120 LPRINT "BROTHER "; 130 REM --- 180 deg --- 140 LPRINT CHR$(27);"&a180P";...
  • Page 51: Using Fonts

    (the number of characters printed per inch), height (point size) and symbol set. 5.1.3. Scalable fonts The printer has many scalable fonts available as standard. The following table shows scalable fonts available for models HL-1050/1070/1250/1270N/P2500/1660e/2060/2400C. (For the other models' resident fonts, please see the printer User's Guide.) Intellifont Compatible Fonts: 1050...
  • Page 52: Bound Fonts

    1660e 2060 2400C Atlanta Book, BookOblique, Demi, DemiOblique Copenhagen Roman, Italic, Bold, Bold italic Portugal Roman, Italic, Bold, Bold italic Calgary MediumItalic Brother Original Fonts: 1050 1070 1250 1270N P2500 1660e 2060 2400C Bermuda Script German US Roman San Diego You can select a font in any of these typefaces, specifying height (point size) and symbol set.
  • Page 53: Downloadable Fonts

    99/08/03 5.1.9. Downloadable fonts You can buy diskettes containing fonts which can be copied directly to the printer using the DOS COPY command. You can also design your own fonts and download them to the printer. One disadvantage of downloaded fonts is that they reside in the printer’s RAM memory. The printer also uses this memory for composing the text and graphic output that it prints on the page.
  • Page 54: Symbol Set

    99/08/03 5.1.16. Symbol set The symbol set is the list of symbols that constitute a particular font. Normally, symbol sets contain lower and upper case letters, numbers, punctuation marks and a selection of other commonly used symbols. Some symbol sets are designed for specific needs, for example, for generating text with mathematical expressions. The symbol set has the highest priority of all the characteristics you specify when you designate the font you require.
  • Page 55: Font Selection Commands

    99/08/03 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.
  • Page 56 99/08/03 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. Format (UB) - 1 for MSL (Intellifont), 3 for Unicode (TrueType).
  • Page 57: Symbol Set Control Command

    99/08/03 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.
  • Page 58 170 LPRINT 180 REM --- PAPER EJECT --- 190 LPRINT CHR$(12); 200 END There is a further group of symbol sets that are available for Brother fonts only. You can select these as follows: Esc(s#C (27)(40)(115)#(67) <1Bh><28h><73h>#<43h> • This command selects the symbol set (character set) for the primary font.
  • Page 59: Selecting The Type Of Character Spacing

    99/08/03 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);...
  • Page 60: Selecting The Height

    99/08/03 • 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. •...
  • Page 61: Selecting The Stroke Weight

    99/08/03 Value 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";...
  • Page 62: Font Orientation

    99/08/03 • The available values vary with the printer model. The following table shows the value for each typeface and availability. Typeface Set primary font Set secondary 1050 1250/ 1070 1270N 1660e/ 2400C font P2500 2060 Alaska Esc(s4362T Esc)s4362T Antique Oakland Esc(s4168T Esc)s4168T Brougham...
  • Page 63: Underlining Text

    99/08/03 5.2.15. Underlining text Esc&d#D (27)(38)(100)#(68) <1Bh><26h><64h>#<44h> • This command enables the underline facility. • # is either 0 or 3. A value of 0 signifies fixed underlining, 3 specifies floating underlining. • Fixed underlining means that the underline is drawn in the same place for all the characters of a particular font.
  • Page 64: Downloadable Font Manipulation

    99/08/03 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 downloadable font.
  • Page 65: Creating Downloadable Fonts

    99/08/03 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 <filename> 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.
  • Page 66 99/08/03 • 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. •...
  • Page 67 99/08/03 <Intellifont Scalable Bound font> Byte 15 (MSB) (LSB) 0 0 Font Descriptor Size (>80) 2 Descriptor Format (10) Font Type 4 Style MSB Reserved 6 Base Line Position 8 Cell Width 10 Cell Height 12 Orientation Spacing 14 Symbol Set 16 Pitch (Default HMI) 18 Height 20 x-Height...
  • Page 68 99/08/03 <Intellifont Scalable Unbound font> Byte 15 (MSB) (LSB) 0 0 Font Descriptor Size (<88) 2 Descriptor Format (11) Font Type (10) 4 Style MSB Reserved 6 Base Line Position 8 Cell Width 10 Cell Height 12 Orientation Spacing 14 Symbol Set 16 Pitch (Default HMI) 18 Height 20 x-Height...
  • Page 69 99/08/03 <TrueType Scalable Bound font> Byte 15 (MSB) (LSB) 0 0 Font Descriptor Size (>72) 2 Descriptor Format (15) Font Type 4 Style MSB Reserved 6 Base Line Position 8 Cell Width 10 Cell Height 12 Orientation Spacing 14 Symbol Set 16 Pitch (Default HMI) 18 Height 20 x-Height...
  • Page 70 99/08/04 Unbound font. Character codes corresponding to MSL numbers are acceptable. 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.
  • Page 71 99/08/04 Symbol set name Symbol set ID Symbol set name Symbol set ID Default Set Math-7 Line Draw-7 HP Large Characters (264x Terminals) ISO 60: Danish/Norwegian ISO 61: Norwegian version 2 Roman Extensions ISO 4: United Kingdom ISO 25: French ISO 69: French HP German ISO 21: German...
  • Page 72 99/08/04 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) ÷...
  • Page 73 99/08/03 Value 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 •...
  • Page 74 99/08/03 • 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. •...
  • Page 75 99/08/03 Unicode Symbol Index Bit Field Designated Use 32 - 63 Miscellaneous uses (South Asian, Armenian, other alphabets, bar codes, OCR, Math, etc.) 28 - 31 Reserved for Latin fonts. 22 - 27 Reserved for platform / application variant fonts. 3 - 21 Reserved for Cyrillic, Arabic, Greek and Hebrew fonts.
  • Page 76: Unicode Symbol Index Character Complement Bits

    99/08/03 5.4.3. Unicode symbol index character complement bits Bit Field 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;...
  • Page 77: Sending A Character Code

    99/08/03 *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.
  • Page 78 99/08/04 <Bitmap continuation data> Byte Data Format Continuation Raster Character Data • 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...
  • Page 79 99/08/04 <Intellifont-scalable contour data> Contour Data size Metric data offset Character Intellifont data offset Contour tree offset XY data offset Metric data Character Intellifont Data Contour tree data XY coordinate data <Continuation data for Intellifont scalable contour data> Byte Data Format Continuation 2 - 3...
  • Page 80 99/08/04 [TrueType scalable font] <TrueType character descriptor> Byte Data Format (15) Continuation (0) 2 - 3 Descriptor size Class (15) Additional descriptor size 2 + Desc.size Character Data Size 4 + Desc. size Glyph ID 6 + Desc. size TrueType Glyph Data Format (15) Continuation (0) 2 - 3...
  • Page 81 99/08/03 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 Character width = 26 dots = 2 dots Delta X = 30 dots CHAPTER 2 "PCL"...
  • Page 82 99/08/03 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"...
  • Page 83: Using Graphics

    99/08/03 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.
  • Page 84: Set Pattern Transparency

    99/08/03 For example Pattern Source image Destination image With transparent With opaque source image 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. •...
  • Page 85: Set Area Fill Identity

    99/08/03 For example Pattern Source image (Source image is transparent) Destination image With transparent With opaque pattern 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.
  • Page 86: User-Defined Pattern Command

    99/08/03 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. •...
  • Page 87: User-Defined Pattern Control

    99/08/03 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. •...
  • Page 88 99/08/03 Pattern example 10 WIDTH "LPT1:", 255 20 ESC$ = CHR$(27) 30 REM --- RESET PRINTER --- 40 LPRINT ESC$; "E"; 50 REM --- SET SOURCE=TRANSPARENT --- 60 REM --- SET PATTERN=OPAQUE --- 70 LPRINT ESC$; "*v0n1O"; 80 REM --- BACKGROUND --- 90 LPRINT ESC$;...
  • Page 89: Plotting Rectangles

    99/08/03 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.
  • Page 90 99/08/03 Gray scale example 10 ESC$ = CHR$(27) 20 WIDTH "LPT1:", 255 30 REM --- DRAW A PATTERN USING 64 GRAY SCALES --- 40 X = 50: Y = 100: XL=50 :YL=200 50 FOR GRAY = 0 TO 100 STEP 2 60 GOSUB 220 70 X=GRAY*10+50 :XL=X-XL 80 GOSUB 260...
  • Page 91: Raster Graphics

    99/08/03 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. •...
  • Page 92: Set Raster Area Height

    99/08/03 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.
  • Page 93 99/08/03 • # = 5 indicates that adaptive compression is to be used. This compression compresses multiple rows (a block) into one transfer graphics command. Most other compression methods compress only one row to one transfer graphics command. One transfer graphic command (ESC *b##W) can contain only up to 32,767 bytes. As mode 5 compression compresses multiple rows, the amount of transferred data may become large.
  • Page 94 99/08/04 If the control bit is 0, replacement data is not repeated data. Bits 6 to 3 contain the offset count. This field value is from 0 to 15. If this value is 15, the next byte of the control bytes is an optional offset count. The value of this optional offset count byte is from 0 to 255.
  • Page 95 99/08/04 <Second section 66 66 66 66> Offset count = 2 Replacement count = 4 Replacement data = 66                                                    ...
  • Page 96 (   &       )*     + • # = 1025 indicates the Brother original Compression Method. • # = 1026 indicates the Brother Advanced Data Transfer Mode. CHAPTER 2 "PCL" - 78...
  • Page 97: Start Raster Transfer

    99/08/03 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. •...
  • Page 98 99/08/03 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) ---...
  • Page 99: Horizontal 1200-Dpi Image Format Mode (Raster Graphic Mode 1027)

    99/08/03 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.
  • Page 100 99/08/04 <Compressed Image Data> 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.
  • Page 101: Vector Graphics

    99/08/03 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.
  • Page 102: The Picture Frame

    99/08/03 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.
  • Page 103: Macros

    99/08/03 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.
  • Page 104: Defining A Macro

    99/08/03 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.
  • Page 105: Running A Macro

    99/08/03 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.
  • Page 106: Handling Macros

    99/08/03 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.
  • Page 107: Execute Data

    99/08/03 120 REM --- SET FONT TO LETTER GOTHIC (18 DOTS WIDE) --- 130 LPRINT ESC$+"(s0p16.66h8.5v0s0b130T"; 140 REM --- PRINT COMMENT --- 150 LPRINT "Printed by this printer"; 160 REM --- SET CURSOR POSITION X=1790 DOT, Y=-40 DOT --- 170 LPRINT ESC$+"*p1790x-40Y"; 180 REM --- PERFORM SHADING --- 190 REM --- SET SHADING WIDTH TO 23 CHARACTERS + 20 DOTS --- 200 LPRINT ESC$+"*c";23*18+20;"A";...
  • Page 108: Mio Video I/O Port Control

    99/08/03 • If the key is [RENAME], this command allows the printer to change the name field of the AppleTalk name binding protocol. <ESC>&b#WRENAME<sp>printername 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.
  • Page 109: Status Readback

    99/08/03 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.
  • Page 110: Status Response Syntax

    99/08/03 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.
  • Page 111: Inquire Status Readback Entity

    99/08/03 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.
  • Page 112: Bitmap Fonts

    99/08/03 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 "&>"...
  • Page 113: Font Extended Response

    99/08/03 "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.
  • Page 114: Macro Response

    99/08/03 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.
  • Page 115: Entity Error Codes

    99/08/03 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.
  • Page 116: Font Cache

    These stored bitmap characters are known as the font cache. If a Brother HL-Series printer encounters a memory low condition, all of the font cache is automatically deleted. Also, font cache and temporary entities can be cleared by a Printer Reset command.
  • Page 117: Index

    99/08/03 INDEX change ................19 exit................. 18     end-of-line wrap..............12 entity error code ..............97 adaptive compression ............75 entity status ................ 91 anchor point................ 84 entity status response............93 AppleTalk configuration ............ 89 envelope ................15 APT ..................
  • Page 118 99/08/03 horizontal plot size ............. 84 output tray ................15 horizontal tab..............11 HP-GL/2 mode ..............83     page ..................20 page dimensions internal font ................ 34 landscape ............... 22 italic..................43 portrait ................21 page length ................. 27 page size................
  • Page 119 99/08/03 space ................... 11 vertical plot size ..............84 status location type 1 font........... 94 VMI..................25 status readback ..............91 status response..............91 memory................98 status response syntax ............92 width stroke weight ..............36 raster image ..............74 select ................43 style ................
  • Page 120 99/08/03 CHAPTER 2 "PCL" - 4...
  • Page 121: Chapter 3 Pcl5C

    99/08/04 CHAPTER 3 PCL5C CHAPTER 3 "PCL5C" - 1...
  • Page 122 99/08/04 ONTENTS 1. INTRODUCTION ........................3 2. COLOR MODES........................4 2.1. Using Simple Color Mode - Set Simple Color................4 2.2. Using PCL Color Mode - Set PCL Color Setting................5 2.3. Using HP-GL/2 Color Mode......................9 3.
  • Page 123: Introduction

    99/08/04 INTRODUCTION This chapter describes the enhanced commands for the PCL5C emulation. PCL5C is upwards-compatible with PCL5e. For the commands of PCL5e, refer to “Chapter 2 PCL” which describes the PCL5e emulation. If you are reading this technical manual for the first time, it is recommended that you read Chapter 2 first before reading this Chapter.
  • Page 124: Color Modes

    99/08/04 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.
  • Page 125: Using Pcl Color Mode - Set Pcl Color Setting

    99/08/04 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.
  • Page 126 99/08/04 [Example] If you want to send index No. 7,6,5,4,3,2,1,0; Enter ’ESC*v6W 00h 00h 04h 08h 08h 08h’, then select Send Index No by Plane. Select 4 bits/index. (2 = 16 Palettes) Start Raster Transfer ESC*r1A Send Plane1 data (The Index No Bit0 data) ESC*b1V 10101010B Send Plane2 data (The Index No Bit1 data) ESC*b1V 11001100B...
  • Page 127 99/08/04  ESC*b#V r, r, r, r , r...→ Plane 1 1st raster ESC*b#V g, g, g, g , g...→ Plane 2 ESC*b#W b, b, b, b , b...→ Plane 3 ESC*b#V r, r, r, r, r...→ Plane 1 2nd raster ESC*b#V g, g, g, g, g...→...
  • Page 128 99/08/04 ♣ ♣ ♣ ♣ Bits/index • Specifies the palette size at 2 . n indicates bits/index. (n=4 =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.
  • Page 129: Using Hp-Gl/2 Color Mode

    99/08/04 ♣ ♣ ♣ ♣ 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; green blue Range: -32767 ~ 32767 • When the encoding mode is 2 or 3, this setting is valid. 2.3.
  • Page 130: Color Palettes

    99/08/04 COLOR PALETTES 3.1. Set Color #1 Command ESC*v#A (27)(42)(118)#(65) <1Bh><2Ah><76h>#<41h> Range = -32767 ~ 32767 Default value = 0 • This command sets the red value in the palette. Use the Set Color to Palette command to set the value •...
  • Page 131: Push/Pop Palette

    99/08/04 3.6. Push/Pop Palette Command ESC*p#P (27)(42)(112)#(80) <1Bh><2Ah><70h>#<50h> # = 0 * Push palette Pop palette * Default value = 0 • The value of 0 pushes the current palette onto the palette stack. This command does not affect the current palette.
  • Page 132: Color Graphics

    99/08/04 COLOR GRAPHICS 4.1. Start Raster Transfer Command ESC*r#A (27)(42)(114)#(65) <1Bh><2Ah><72h>#<41h> # = 0 * Prints the image from the left edge of the logical page. Prints the image from the current cursor position. Executes scaling. Prints the image from the left edge of the logical page. Executes scaling.
  • Page 133: Set Scale Algorithm

    99/08/04 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. Takes the darker overlying dots when reducing. * Default value = 0 • This command sets which algorithm the data is reduced by. •...
  • Page 134: Enhance Output

    99/08/04 ENHANCE OUTPUT 5.1. Set Render Algorithm Command ESC*t#J (27)(42)(116)#(74) <1Bh><2Ah><70h>#<4Ah> # = 0 Scatter dither Snap to primaries Snap black to white, all other colors to black = 3 * Scatter dither Scatter dither Monochrome device best dither Monochrome scatter dither Clustered dither Monochrome clustered dither User-defined dither...
  • Page 135: Set Gamma Correction

    99/08/04 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.
  • Page 136: Hp-Gl/2

    99/08/04 HP-GL/2 A few HP-GL/2 commands are added for the HL-2400C color laser printer, and the features of some existing commands are also expanded. The new or revised HP-GL/2 commands as follows are described in this chapter; ♣ Initialize Set Instruction (IN) - resets all programmable functions to their default settings ♣...
  • Page 137: Np (Number Of Pens) Command

    99/08/04 • PC [pen;]: sets the pen to the default color. Number of pens in palette Pen number Color 2 (“NP 2;”) White Black 4 (“NP 4;”) White Black Green 8 (“NP 8;”) White Black Green Yellow Blue Magenta Cyan ** If the number of pens in the palette is over 8, the color is set to black.
  • Page 138 99/08/04 INDEX     algorithm ................. 13 monochrome mode............14     B/W mode ................. 4 NP command..............17 black value................. 9 number of pens..............17 blue value ................ 10     palette .................4 color palette ..............
  • Page 139: Hp-Gl/2

    99/08/04 CHAPTER 4 HP-GL/2 GRAPHICS LANGUAGE CHAPTER 4 HP-GL/2 - 1...
  • Page 140 99/08/04 ONTENTS 1. COMMAND LIST ........................4 2. INTRODUCTION ........................6 3. TERMINOLOGY ........................7 3.1. Picture Frame ..........................7 3.2. Anchor Point ..........................7 3.3. Graphics Window .......................... 7 3.4. Hard Clip Limits..........................7 3.5.
  • Page 141: Index

    99/08/04 7.5. Plot Function Instructions......................30 7.6. Character Plot Instructions......................38 7.6.1. Introduction .............................. 39 8. INDEX............................ 52 CHAPTER 4 HP-GL/2 - 3...
  • Page 142: Command List

    99/08/04 COMMAND LIST Default set instruction Initialize set instruction Input scaling point Input relative scaling points Scale Window Rotate coordinate system Pen up Pen down Plot absolute Relative coordinate pen move Draw absolute arc Draw relative arc Absolute arc three point Relative arc three point Polyline encoded Bezier relative...
  • Page 143 99/08/04 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...
  • Page 144: Introduction

    99/08/04 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"...
  • Page 145: Terminology

    99/08/04 TERMINOLOGY 3.1. Picture Frame The printer frame is the rectangular area of the page on which graphic output can be printed. This is based 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. This can be moved on the page using PCL language page control commands.
  • Page 146: Absolute And Relative Plotting

    99/08/04 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.
  • Page 147: Command Syntax

    99/08/04 COMMAND SYNTAX An HP-GL and HP-GL/2 command can consist of up to four items: a mnemonic, a parameter field, a separator and a terminator. 4.1. Mnemonic The two-letter mnemonic is the name of the command and should help remind you of its function. 4.2.
  • Page 148: The Hp-Gl Graphics Window

    99/08/04 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.
  • Page 149: Preparing To Print Graphic Images

    99/08/04 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).
  • Page 150: Commands

    99/08/04 COMMANDS 7.1. Initialize Commands DF - Default set instruction DF[;] • Returns the graphics mode to default conditions. The following are the default settings. Function Equivalent Condition Instruction Plot mode Absolute plotting Absolute direction DI 1,0; Horizontal Line type Solid line Line pattern length 4% of distance from P1 to P2...
  • Page 151 99/08/04 IN - Initialize set instruction IN[;] • Returns the graphics mode to initial conditions; Function Equivalent Condition Instruction Plot mode Absolute plotting Relative character direction DR 1,0; Horizontal Line type Solid line Line pattern length 4% of distance from P1 to P2 Window Set at limits of printable area according to paper size...
  • Page 152 99/08/04 7.2. Plot Area and Unit Setting Instructions Instruction Function Scaling point Input relative scaling points Scale Input window Rotate coordinate system IP - Input scaling point IP [ P1 , P1 [,P2 ]] [;] coordinate of P1 coordinate of P1 coordinate of P2 coordinate of P2 •...
  • Page 153 99/08/04 SC - Scale <HP-GL/2> [, type ]] [;] (Type = 0) SC [ X , type [ left, bottom]] [;] ( Type =1) SC [ X [, type ]] [;] ( Type = 2) factor factor ; X coordinate of P1 ;...
  • Page 154 99/08/04 • 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.
  • Page 155 99/08/04 IW - Window IW [ X 1 , Y 1 , X 2 , Y 2 ] [;] -Window lower left X coordinate -Window lower left Y coordinate -Window upper right X coordinate -Window upper right Y coordinate • This instruction sets the window inside which drawing can be performed (the soft clip limits). •...
  • Page 156: Pen Control And Plot Instructions

    99/08/04 7.3. Pen Control and Plot Instructions Instruction Function Pen Up Pen Down Plot Absolute Relative Coordinate Pen Move Absolute Arc Plot Relative Arc Plot Absolute Three Point Arc Relative Three Point Arc Polyline Encoded Circle Bezier Relative Bezier Absolute PU - Pen up PU [ X,Y [,...]] [;] X ;...
  • Page 157 99/08/04 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.
  • Page 158 99/08/04 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. •...
  • Page 159 99/08/04 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. •...
  • Page 160 99/08/04 RT - Relative arc three point RT X [,qd] [;] ; x-coordinate of intermediate point ; y-coordinate of intermediate point ; x-coordinate of end point ; y-coordinate of end point qd ; the chord angle used to draw the arc •...
  • Page 161 99/08/04 • 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.
  • Page 162 99/08/04 • 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;"...
  • Page 163: The Polygon Group

    99/08/04 7.4. The polygon group Instruction Function Polygon Mode Edge Absolute Rectangle Edge Relative Rectangle Edge Polygon Edge Wedge Fill Absolute Rectangle Fill Relative Rectangle Fill Wedge Fill Polygon PM - Polygon mode PM [ ms ] [;] • This command is used for entering and leaving polygon mode, the mode that allows you to access the polygon buffer.
  • Page 164 99/08/04 10 '-Edge Rectangle Absolute- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SC0,150,0,150,1;" 70 LPRINT "PA25;105;EA65;130;" 80 LPRINT "PA30;110;EA70,135;" 90 LPRINT "PA35;115;EA75;140;" 100 LPRINT CHR$(27); "%0A"; 110 LPRINT CHR$(27); "E"; 120 END <sample 31>...
  • Page 165 99/08/04 • r specifies the radius of the circle. A positive value for r places the 0° reference point onto the positive x- axis and a negative value for r places the 0° reference point onto the negative x-axis. • The value for q1 is a clamped real number. 0°...
  • Page 166 99/08/04 90 LPRINT "FT4,100,45;RA4250,4750;" 100 LPRINT CHR$(27); "%0A"; 110 LPRINT CHR$(27); "E"; 120 END <Sample 34> RR - Fill rectangle relative RR X, Y[;] X ; X coordinate of opposite corner for the rectangle Y ; Y coordinate of opposite corner for the rectangle •...
  • Page 167 99/08/04 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;"...
  • Page 168 99/08/04 7.5. Plot Function Instructions Instruction Function Anchor Corner Fill Type Line Attribute Line Type Pen Width Raster Fill Definition Symbol Mode Select Pen Screened Vectors Transparency Mode User-defined Line Type Select Unit for Pen Width AC - Anchor corner AC [ X, Y ] [;] X ;...
  • Page 169 99/08/04 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.
  • Page 170 99/08/04 LA - Line attribute LA [ , v [ , , v [ , , v ]]] [;] ; 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. •...
  • Page 171 99/08/04 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. •...
  • Page 172 99/08/04 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.
  • Page 173 99/08/04 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 <Sample 43>...
  • Page 174 99/08/04 • 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.
  • Page 175 99/08/04 170 'Source 2 180 LPRINT "FT10,50;PA4000,5000;RR500,500;PA4500,5500;RR500,500;" 190 LPRINT "FT10,1;PA4500,5000;RR500,500;PA4000,5500;RR500,500;FT;" 200 ' 210 '( POLYGON ) 220 LPRINT "PA2000,1000;PM0;PDPA4000,1000,3000,3000;PM1;" 230 LPRINT "PA2500,1200,3500,1200,3000,2500;PM1;" 240 LPRINT "PA3000,800,3700,2500,2300,2500;PM1;" 250 LPRINT "PM2;FP;" 260 LPRINT CHR$(27); "%0A"; 270 LPRINT CHR$(27); "E"; 280 END <Sample 45> UL - User-defined line type UL [ i ] [, g [...,]] [;] i ;...
  • Page 176 99/08/04 • The command sets all pen widths to a default of 0.35mm. Hence it should be used before the PW command. • Using the command with no parameter defaults the type to 0 (metric) and all pen widths to 0.35mm. •...
  • Page 177 99/08/04 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.
  • Page 178 99/08/04 • attribute = 1 : Symbol set Valu Name Valu Name number number Math - 7 Line Draw - 7 HP Large Characters Norwegian v1 Roman Extensions French v1 HP German Hebrew - 7 Italian JIS ASCII Line Draw - 7 Math - 7 ECMA-94 Latin1 (8-bit 8859/1...
  • Page 179 99/08/04 • attribute = 2 : Spacing Value Meaning Monospacing Proportional spacing • attribute = 3 : Pitch Specify pitch in characters per inch (cpi). The pitch value you specify can be in the range 0 to 32767.9999. Pitch only applies to monospaced fonts. •...
  • Page 180 99/08/04 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. •...
  • Page 181 99/08/04 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.
  • Page 182 99/08/04 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.
  • Page 183 99/08/04 • 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.
  • Page 184 99/08/04 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);...
  • Page 185 99/08/04 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. •...
  • Page 186 99/08/04 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. •...
  • Page 187 99/08/04 10 ' -Absolute Character Size- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "PA700,3000;DT#;LBPrinter#" 70 LPRINT "PA700,2000;SI0.75,1;LBPrinter#" 80 LPRINT "SI;SD1,21,2,1,3,12,5,0,6,0,7,52;SS;" 90 LPRINT "PA40003000;LBPrinter#" 100 LPRINT "PA4000,2000;SI1,1.5;LBPrinter#" 110 LPRINT CHR$(27); "%0A"; 120 LPRINT CHR$(27);...
  • Page 188 99/08/04 10 ' -Character Slant- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27; "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SD1,21,2,1,4,25,5,0,6,0,7,5;SI0.7,1;" 70 LPRINT "PA1000,1000;DT#,1;SL0.36,LBPrinter#" 80 LPRINT "PA1000,300;SL-0.36;LBPrinter#" 90 LPRINT CHR$(27); "%0A"; 100 LPRINT CHR$(27); "E"; 110 END <Sample 59> SB - Scalable or bitmap fonts SB [ n ] [;] n : font category selection...
  • Page 189 99/08/04 • 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.
  • Page 190: Index

    99/08/04 INDEX graphics window ............7, 10, 11     Absolute arc three point ..........21 absolute commands ............8 hard clip limits ..............7 Absolute direction ............45 Anchor corner..............30     anchor point............... 7 image plots ...............11     Initialize command............
  • Page 191 99/08/04 Select alternate font ............42 Select pen ................ 35 Select primary font ............43 Select secondary font............43 Select standard font ............42 Select unit for pen width ..........37 separators................9 Set absolute character size..........48 Set relative character size ..........49 soft clip limits..............
  • Page 192 99/08/04 CHAPTER 4 HP-GL/2 - 3...
  • Page 193 99/08/03 CHAPTER 5 PRINTER JOB LANGUAGE CHAPTER 5 PJL - 1...
  • Page 194 99/08/03 ONTENTS 1. INTRODUCTION ........................4 1.1. About PJL ............................4 1.2. In Case of Using PJL with a Non-PJL Printer................. 5 1.2.1. PCL jobs ..............................5 1.2.2. Postscript jobs............................5 1.2.3. Other printer languages ..........................5 1.3.
  • Page 195 99/08/03 6.1.4. PJL environment variables........................17 6.2. Variables............................18 6.2.1. Variables for HL-1050/1070/1250/1270N/P2500 ..................18 6.2.2. Variables for HL-1660e/2060/2400C ....................... 22 6.3. Default Command........................25 6.4. Initialize Command ........................25 6.5. Reset Command.......................... 26 6.6.
  • Page 196: Introduction

    99/08/03 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.            ...
  • Page 197: In Case Of Using Pjl With A Non-Pjl Printer

    99/08/03 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 (<ESC>E) is received.
  • Page 198: Pjl Syntax And Format

    99/08/03 1.3. PJL Syntax and Format Syntax <For Example> @PJL ENTER LANGUAGE = emulation [<CR>]<LF> @PJL PJL Prefix ENTER Command name LANGUAGE Option name @PJL ENTER LANGUAGE Enter this portion verbatim The words in brackets [ ... ] indicates optional parameters. You should not type the brackets themselves in the command.
  • Page 199: Variables

    99/08/03 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).
  • Page 200: How To Use Pjl

    99/08/04 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 PCL Job PJL Code...
  • Page 201: Command Group

    99/08/03 COMMAND GROUP Command Group Command Command Description Kernel Commands Exits current printer language and returns control to PJL. EXECUTE Orders the printer to execute the specified operation. SUPERUSER Moves to the SUPERUSER mode. SUPERUSEROFF Exit from the SUPERUSER mode. WNVRAM Write the specified data to the specified address of the printer’s NVRAM.
  • Page 202: Kernel Commands

    @PJL ENTER LANGUAGE = PCL <CR><LF> <ESC>E..PCL JOB..<ESC>E <ESC>%-12345X 4.3. EXECUTE Command The EXECUTE command orders the printer to execute the specified operation. This command is supported only by HL-1050/1070/1250/1270N/P2500 printers. Syntax @PJL ENTER operation [<CR>]<LF> Parameters • • • • operation SHUTDOWN : The printer goes into sleep mode.
  • Page 203: Enter Command

    99/08/03 Example <ESC>%-12345X@PJL<CR><LF> @PJL EXECUTE DEMOPAGE <CR><LF> <ESC>%-12345X 4.4. ENTER Command The ENTER command specifies which emulation the printer uses to print data. Syntax @PJL ENTER LANGUAGE = emulation [<CR>]<LF> Parameters • • • • emulation The variables depend on the printer model. •...
  • Page 204: Printer Language Switching

    99/08/03 Example <ESC>%-12345X@PJL<CR><LF> @PJL COMMENT -----------------------------<CR><LF> @PJL COMMENT -- PCL & PS JOB --<CR><LF> @PJL COMMENT -----------------------------<CR><LF> @PJL <CR><LF> @PJL SET RET = ON <CR><LF> @PJL ENTER LANGUAGE = PCL <CR><LF> <ESC>E..PCL JOB..<ESC>E <ESC>%-12345X@PJL<CR><LF> @PJL COMMENT Start of Postscript job <CR><LF> @PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF>...
  • Page 205: Job Separation Commands

    99/08/03 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.
  • Page 206: Eoj Command

    99/08/03 Example <ESC>%-12345X@PJL<CR><LF> @PJL JOB NAME = "KKK data from spooler" <CR><LF> <ESC>%-12345X@PJL<CR><LF> @PJL COMMENT Postscript Job <CR><LF> @PJL JOB NAME = "YYY data from spooler 2" <CR><LF> @PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF> %!PS..PS JOB..^D <ESC>%-12345X@PJL<CR><LF> @PJL EOJ NAME = "End of YYY data" <CR><LF> <ESC>%-12345X@PJL <CR><LF>...
  • Page 207: Environment Commands

    99/08/03 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.
  • Page 208: Pjl Reset Conditions

    99/08/03 The diagram below illustrates how the environments interact and how the modified print environment is affected. FACTORY DEFAULT ENVIRONMENT @PJL INITIALIZE CONTROL PANEL USER DEFAULT ENVIRONMENT OR @PJL DEFAULT @PJL RESET @PJL SET PJL CURRENT ENVIRONMENT LANGUAGE RESET, @PJL ENTER, OR ANY LANGUAGE SWITCH MODIFIED PRINT ENVIRONMENT 6.1.2.
  • Page 209: Pjl Environment Variables

    99/08/03 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.
  • Page 210: Variables

    When using these variables, do not use LPARM. Variables Description Sample Value Range COPIES Number of uncollated copies for each page of 1 to 200 (HL-1050/1070) the job. 1 to 99 (HL-1250/1270/P500) MANUALFEED Feed the paper from manual feed slot.
  • Page 211 99/08/03 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 Description Sample Value Range PAPER Set the paper size. LETTER, A4, LEGAL, EXECUTIVE, COM10, MONARCH, C5, DL, JISB5,...
  • Page 212 99/08/03 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 Description Sample Value Range PAPER Set the paper size. LETTER, A4, LEGAL, B5, EXECUTIVE, COM10, MONARCH, C5, DL, JISB5,...
  • Page 213 99/08/03 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 Description Sample Value Range PAPER Set the paper size. LETTER, A4, LEGAL, B5, EXECUTIVE, COM10, MONARCH, C5, DL, JISB5,...
  • Page 214 99/08/03 6.2.2. Variables for HL-1660e/2060/2400C 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. Variables Description Sample Value Range COPIES Number of uncollated copies for 1 to 999 each page of the job.
  • Page 215 99/08/03 Variables Description Sample Value Range DUPLEX Duplex mode ON, OFF BINDING Returns the setting of binding edge LONGEDGE, SHORTEDGE selection for duplex printing. FIRSTPRINT First print mode. This makes the first NORMAL, MIDDLE, HIGH print speed faster by starting the polygon mirror motor at Power On.
  • Page 216 99/08/03 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 Description Sample Value Range FONTSOURCE The valid values for I, C, C1, S, FONTSOURCE are I (Internal Fonts)
  • Page 217: Default Command

    99/08/03 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.
  • Page 218: Reset Command

    99/08/03 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. Syntax @PJL RESET [<CR>]<LF> Parameters •...
  • Page 219 99/08/03 Examples: <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT Setting PCL job <CR><LF> @PJL COMMENT to desired state <CR><LF> @PJL SET RET = DARK <CR><LF> @PJL SET PAGEPROTECT = OFF <CR><LF> @PJL SET RESOLUTION = 600 <CR><LF> @PJL ENTER LANGUAGE = PCL <CR><LF> <ESC>...
  • Page 220: Status Readback Commands

    99/08/03 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.
  • Page 221: Inquire Command

    99/08/03 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).
  • Page 222: Dinquire Command

    99/08/03 Example 2 : This example requests the PCL-specific settings. <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT ***Inquiring PCL settings*** <CR><LF> @PJL ECHO 19:20:05 02-20-1993 <CR><LF> @PJL INQUIRE LPARM:PCL FONTSOURCE<CR><LF> @PJL INQUIRE LPARM:PCL FONTNUMBER<CR><LF> <ESC>%-12345X The printer may return the following response for the above INQUIRE commands : @PJL ECHO 19:20:05 02-20-1993 <CR><LF>...
  • Page 223: Echo Command

    99/08/03 Examples Example 1 : This example requests the current print environment settings for RET, PAPER, and ORIENTATION : <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT ***Requesting*** <CR><LF> @PJL COMMENT about User Default Settings** <CR><LF> @PJL ECHO 20:30:00 02-20-1993<CR><LF> @PJL DINQUIRE RET<CR><LF> @PJL DINQUIRE PAPER<CR><LF> @PJL DINQUIRE ORIENTATION<CR><LF>...
  • Page 224: Info Command

    99/08/03 Response Syntax @PJL ECHO [< words >] <CR><LF> <FF> • < 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 <...
  • Page 225: Id Category

    Parameters Category Information requesting The printer model number. For example the HL-1660e will return 'Brother HL-1660e'. CONFIG A list of the printer configuration information (available options) within the format of the number of types and/or the description of each available type of;...
  • Page 226 99/08/03 Response Syntax: @PJL INFO CONFIG <CR><LF> feature[=value][value feature information] <CR><LF> [<HT>returned option[ attribute] <CR><LF>] feature[=value][value feature information] <CR><LF> [<HT>returned option[ attribute] <CR><LF>] <FF> Parameters Parameter Range of Characters Description feature alphabetical letters Name of an item of the printer configuration : (ASCII 65-90 or 97- for example ) 122), numbers (ASCII...
  • Page 227: Memory Category

    99/08/03 The printer may send back the answer for the above INFO command : @PJL INFO CONFIG<CR><LF> IN TRAYS [1 ENUMERATED]<CR><LF> INTRAY1 PC<CR><LF> INTRAY2 LC<CR><LF> OUT TRAYS [2 ENUMERATED]<CR><LF> NORMAL FACEDOWN<CR><LF> PAPER [9 ENUMERATED]<CR><LF> LETTER<CR><LF> LEGAL<CR><LF> A4<CR><LF> EXECUTIVE<CR><LF> MONARCH<CR><LF> COM10<CR><LF> DL<CR><LF>...
  • Page 228: Status Category

    99/08/03 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.
  • Page 229 99/08/03 C5<CR><LF> DL<CR><LF> B5<CR><LF> ORIENTATION=PORTRAIT [2 ENUMERATED]<CR><LF> PORTRAIT<CR><LF> LANDSCAPE<CR><LF> FORMLINES=60 [2 RANGE] 5<CR><LF> 128<CR><LF> MANUALFEED=OFF [2 ENUMERATED]<CR><LF> OFF<CR><LF> ON<CR><LF> RET=MEDIUM [4 ENUMERATED]<CR><LF> OFF<CR><LF> LIGHT<CR><LF> MEDIUM<CR><LF> DARK<CR><LF> PAGEPROTECT=OFF [4 ENUMERATED]<CR><LF> OFF<CR><LF> LETTER<CR><LF> LEGAL<CR><LF> A4<CR><LF> RESOLUTION=600 [2 ENUMERATED]<CR><LF> 300<CR><LF> 600<CR><LF> PERSONALITY=AUTO EPSON [8 ENUMERATED]<CR><LF> AUTO<CR><LF>...
  • Page 230: Ustatus Category

    99/08/03 A4<CR><LF> EXECUTIVE<CR><LF> MONARCH<CR><LF> COM10<CR><LF> C5<CR><LF> DL<CR><LF> B5<CR><LF> LPARM:PCL FONTSOURCE=I [4 EMULATED]<CR><LF> I<CR><LF> C<CR><LF> C1<CR><LF> S<CR><LF> LPARM:PCL FONTNUMBER=0 [2 RANGE]<CR><LF> 0<CR><LF> 70<CR><LF> LPARM:PCL PITCH=10.00 [2 RANGE]<CR><LF> 0.44<CR><LF> 99.99<CR><LF> LPARM:PCL PTSIZE=12.00 [2 RANGE]<CR><LF> 4.00<CR><LF> 999.75<CR><LF> LPARM:PCL SYMSET=ROMAN8 [43 ENUMERATED]<CR><LF> ROMAN8<CR><LF> ISOL1<CR><LF> ISOL2<CR><LF>...
  • Page 231: Ustatus Command

    99/08/03 Parameters Variable Value Description DEVICE Makes unsolicited device status valid for any status change VERBOSE 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...
  • Page 232: Device Variable

    99/08/03 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 233: Job Variables

    99/08/03 Status code Status 35000 - 25999 Errors which may cause incorrect printing results, such as loss of some print data on a page. The operator's intervention may be required. 40000 - 40999 Errors such as paper empty, cover open or paper jams which suspend printing until the operator takes the corresponding corrective action.
  • Page 234: Page Variable

    99/08/03 @PJL USTATUS JOB<CR><LF> END<CR><LF> NAME = "JOB 88554"<CR><LF> PAGES=5<CR><LF> <FF> 7.6.3. PAGE variable The @PJL USTATUS PAGE = ON 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.
  • Page 235: Ustatusoff Command

    99/08/03 7.7. USTATUSOFF Command The @PJL USTATUSOFF command makes all unsolicited status reporting inactive. Syntax @PJL USTATUSOFF [<CR>]<LF> Parameters There are no parameters for this command. Example <ESC>%-12345X@PJL <CR><LF> @PJL USTATUSOFF <CR><LF> @PJL USTATUS DEVICE = ON <CR><LF> <ESC>%-12345X 7.8. JOB Recovery You can recover a failed job with the combination of JOB and EOJ commands and the USTATUS PAGE command.
  • Page 236: Device Attendance Commands

    99/08/03 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.
  • Page 237: Opmsg Command

    99/08/03 The following is an example of how to restore the display to the normal ready message. <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT Normal READY message <CR><LF> @PJL RDYMSG DISPLAY = "" <CR><LF> @PJL EOJ NAME = "End of Tom's Job" <CR><LF> <ESC>%-12345X 8.3.
  • Page 238 99/08/03 Parameters Parameter Functional Range Default DISPLAY = "message" ASCII 33 and ASCII 35 through 255, <SP>, <HT> ONLINE, RESET 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.
  • Page 239: Index

    99/08/03 INDEX         COMMENT command............ 11 Kernel command.............. 10 conditions ................8 context switching............. 12         OPMSG command ............45 DEFAULT command ............25 DEMOPAGE..............10 Device Attendance command..........
  • Page 240 99/08/03 CHAPTER 5 PJL - 2...
  • Page 241: Chapter 6 Epson

    99/08/03 CHAPTER 6 EPSON FX-850 CHAPTER 6 EPSON - 1...
  • Page 242 99/08/03 ONTENTS 1. COMMAND LIST ........................3 2. INTRODUCTION ........................5 3. EMULATION DETAILS ......................6 3.1. Ignored Commands ............................6 3.2. Resolution................................. 6 4. TERMINOLOGY ........................7 4.1. Syntax................................7 4.2. Conventions..............................7 5. CONTROLLING THE PRINTER....................8 5.1. The Control Panel............................. 8 5.2.
  • Page 243: Command List

    99/08/03 COMMAND LIST Null Bell Space Backspace Carriage return Line Feed Form Feed Esc SP n Set inter-character space Esc a n Select justification mode Esc $ n1 n2 Set absolute print position Esc \ n1 n2 Set relative print position Esc <...
  • Page 244 99/08/03 Esc F Cancel emphasized character mode Esc G Select double-strike mode Esc H Cancel double-strike mode Esc W n Select / Cancel double-width printing Select single-line double-width printing (I) Esc SO Select single-line double-width printing (II) Cancel single-line double-width printing Esc 4 Select italic mode Esc 5...
  • Page 245: Introduction

    99/08/03 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.
  • Page 246: Emulation Details

    99/08/03 EMULATION DETAILS The following points should be borne in mind when using the printer in Epson FX-850 mode. 3.1. Ignored Commands The following commands are ignored: the BEL control code (ASCII code 7) which is normally used to sound a printer’s bell, the DC1 (ASCII 17) and DC3 (ASCII 19) control codes, used to enable and disable a printer, the Esc 9 and Esc 8 commands, which normally enable and disable the out-of-paper sensor, the Esc <...
  • Page 247: Terminology

    99/08/03 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.
  • Page 248: Controlling The Printer

    99/08/03 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.
  • Page 249: Commands

    99/08/03 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 <00h>...
  • Page 250 99/08/03 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);...
  • Page 251 99/08/03 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. • This command does not affect data comprising a graphics image or data that defines a downloadable character.
  • Page 252: Page Set Up

    = 2 Feed from Tray 1. n = 3 Feed from Tray 2. n = R Eject paper. n Value HL-1050 n = 0 Initialize the feeder mode. n = 1/2 Feed from the tray. n = R Eject paper.
  • Page 253: Line Spacing

    99/08/03 Set left margin Escln (27)(108)n <1Bh><6Ch>n • This command sets the left margin in columns from the left edge of the page. The width of a column is the current character width. • In proportional spacing mode a column width of 1/10" is adopted. •...
  • Page 254 99/08/03 Select 7/72" line spacing Esc1 (27)(49) <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. • Since the printer resolution is 600 dots per inch the line spacing will not be exactly 7/72". LPRINT CHR$(27);...
  • Page 255: Using Tabs

    99/08/03 6.4. Using Tabs Set horizontal tab stops EscDn1n2n3...NUL (27)(68)n1n2n3...(00) <1Bh><44h>n1n2n3...<00h> • This command enables you to set up to 32 horizontal tab stops based on the current character width. • The character width setting is determined by the combination of the current pitch (10 or 12 characters per inch) and the current character mode (condensed, normal or double-width).
  • Page 256: Using Standard Characters

    99/08/03 • m specifies the tab based on the current line space setting. • The value of m must be in the range 0 to 255. • The tab stops must be set in ascending order. If you specify a channel’s tab settings in any other order, any previous settings made for that channel are cleared.
  • Page 257 99/08/03 • You cannot use the backspace, BS, code in proportional spacing mode. • If you change the character pitch using Esc P or Esc M, proportional spacing is automatically turned off. LPRINT CHR$(27); CHR$(112); CHR$(1); 'Turn proportional spacing on Select condensed character mode I (15) <0Fh>...
  • Page 258 99/08/03 • When you specify a value for n you may also use the character codes for ‘0’ and ‘1’ (48 and 49) instead of 0 and 1. • Only Esc W 0 can be used to cancel double-width printing mode set using the Esc W 1 instruction. •...
  • Page 259 99/08/04 • Selecting either superscript or subscript mode cancels double-height printing mode. • You can cancel either superscript or subscript mode with the Esc T command. LPRINT CHR$(27); CHR$(83); CHR$(0); 'Turn on superscript mode Cancel superscript / subscript mode EscT (27)(84) <1Bh><54h>...
  • Page 260 99/08/04 Select expansion of printable code area Esc6 (27)(54) <1Bh><36h> • This command enables you to print characters whose character codes are in the range 128 to 159. • You can define your own characters and assign codes in this range to them. LPRINT CHR$(27);...
  • Page 261: Using Customized Characters

    99/08/03 6.6. Using customized characters Define characters Esc&NULn <character definition data>) (27)(38)(00)n1n2(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).
  • Page 262 99/08/03 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.
  • Page 263 99/08/03 • 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.
  • Page 264 99/08/03 Print single-density image EscKn <image data> (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. • n and n define the number of bytes that comprise the image. •...
  • Page 265 99/08/03 Print double-speed double-density image EscYn <image data> (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. • n and n define the number of bytes that comprise the image. •...
  • Page 266: Index

    99/08/03 INDEX italic / graphics character table.........20     italic mode................18 9 bit image............... 23 justification mode............. 10     absolute print position ............. 10 left margin................13     Line feed ..............9, 14 line spacing ..............13 Backspace................
  • Page 267: Chapter 7 Ibm Proprinter Xl

    99/08/03 CHAPTER 7 IBM PROPRINTER CHAPTER 7 IBM PROPRINTER - 1...
  • Page 268 99/08/03 ONTENTS 1. COMMAND LIST ........................3 2. INTRODUCTION ........................5 3. EMULATION DETAILS ......................6 3.1. Ignored Commands ........................6 3.2. Resolution .............................6 3.3. Character Set selection......................... 6 3.4. Controlling the Printer ........................6 3.5.
  • Page 269: Command List

    99/08/03 COMMAND LIST Null Bell Escape Space Backspace Line Feed Form Feed Carriage return Esc5n Automatic line feed Enable printer EscQ22 Disable printer EscQ3 Disable printer EscCRmode Change emulation mode EscCR!#R User reset EscEMn Paper input control EscCn Set page length EscCNULn Set page length EscXmn...
  • Page 270 99/08/03 Esc=n1n220n3(n4n5<character definition data>...) Define characters EscKn1n2<image data> Set single-density image mode EscLn1n2<image data> Set double-density image mode EscYn1n2<image data> Set double-speed, double-density image mode EscZn1n2<image data> Set quadruple-density image mode CHAPTER 7 IBM PROPRINTER - 4...
  • Page 271: Introduction

    99/08/03 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.
  • Page 272: Emulation Details

    99/08/03 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.
  • Page 273: Notation Used In This Emulation Description

    99/08/03 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.
  • Page 274: Commands

    99/08/03 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 <0h> NUL (ASCII 0) is ignored. Bell (07) <07h>...
  • Page 275 99/08/03 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. •...
  • Page 276 = 2 Feed from Tray 1. n = 3 Feed from Tray 2. n = R Eject paper. n Value HL-1050 n = 0 Initialize the feeder mode. n = 1/2 Feed from the tray. n = R Eject paper.
  • Page 277: Page Format

    99/08/03 5.2. Page Format Set page length EscCn (27)(67)n <1Bh><43h>n This command sets the page length in lines. 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.
  • Page 278 99/08/03 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"...
  • Page 279 99/08/03 Set horizontal tabs EscD<n1><n2><n3>...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. •...
  • Page 280 99/08/03 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);...
  • Page 281 99/08/03 Set enlarged character mode for a single line (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. •...
  • Page 282 99/08/03 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. •...
  • Page 283 99/08/03 Select a character from the All Character Code table Esc^<char-code> (27)(94)<Char-code> <1Bh><5Eh><Char-code> • 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);...
  • Page 284: Graphics

    99/08/03 • If bits 1 and 2 of n 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 n are 10 the bits 1 to 4 of each data byte are replicated in rows 9 to 12 of the grid. •...
  • Page 285 99/08/03 • 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.
  • Page 286 99/08/03 Set quadruple-density image mode EscZn <image data> (27)(90)n1n2<image data> <1Bh><5Ah>n1n2<image data> • This command enables you to define and print a single line raster bit image on a single text line. • n and n define the number of bytes that comprise the image. •...
  • Page 287: Index

    99/08/03 INDEX     Automatic line feed ............9 overline mode ..............16     Backspace................8 page length...............11 paper input control ............10 perforation skip ..............11     pitch ................. 14 print quality..............17 cancel................
  • Page 288 99/08/03 CHAPTER 7 IBM PROPRINTER - 2...
  • Page 289: Chapter 8 Barcode Control

    99/08/03 CHAPTER 8 BAR CODE CONTROL CHAPTER 8 BAR CODE CONTROL - 1...
  • Page 290 99/08/03 ONTENTS 1. INTRODUCTION ........................3 2. PRINT BAR CODES OR EXPANDED CHARACTERS ............4 3. DEFINITION OF PARAMETERS .................... 5 3.1. Bar Code Mode..........................5 3.2. Bar Code Style, Expanded Character Shading, Line Block Drawing & Box Drawing Shading ..5 3.3.
  • Page 291: Introduction

    99/08/03 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. CHAPTER 8 BAR CODE CONTROL - 3...
  • Page 292: Print Bar Codes Or Expanded Characters

    99/08/03 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). CHAPTER 8 BAR CODE CONTROL - 4...
  • Page 293: Definition Of Parameters

    99/08/03 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.
  • Page 294: Bar Code Scaling (Width Only)

    99/08/03 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.
  • Page 295: Bar Code, Expanded Character, Line, Block Drawing & Box Drawing Offset In The X-Axis

    99/08/03 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”...
  • Page 296: Bar Code Data Start

    99/08/04 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”...
  • Page 297: Box Drawing

    99/08/03 • 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. Set B encodes characters in the range Hex 20 to 7F.
  • Page 298: Example Program Listings

    99/08/03 EXAMPLE PROGRAM LISTINGS 10 ' Barcode 20 WIDTH "LPT1:", 255 30 ' CODE 39 40 LPRINT CHR$(27); "it0r1s0x00y00b123456\"; 50 'INTER LEAVED 60 LPRINT CHR$(27); "it1r1s0x70y00b123456\"; 70 ' EAN-13 80 LPRINT CHR$(27); "it5r1s0x00y020b123456789012?\"; 90 LPRINT CHR$(27); "it5r1s0x70y020b123456789012?+12345\"; 100 ' UPC-A 110 LPRINT CHR$(27);...
  • Page 299: Chapter 9 Hp-Gl Graphics Language

    99/08/04 CHAPTER 9 HP-GL GRAPHICS LANGUAGE CHAPTER 9 HP-GL - 1...
  • Page 300 99/08/04 ONTENTS 1. COMMAND LIST ........................3 2. INTRODUCTION ........................4 2.1. HP-GL Syntax ..........................4 2.2. Font Selection ..........................4 2.3. Coordinate System and Printing Area ................... 4 2.3.1. Coordinate system ............................. 4 2.3.2.
  • Page 301: Command List

    Relative direction Character plot Set absolute character size Set relative character size Character slant User-defined character EscCRRO, EscCRRL, EscCRRM, EscCRRD Set high resolution control (Brother original) EscCR!#R User reset (Brother original) EscCRFD Factory reset (Brother original) CHAPTER 9 HP-GL - 3...
  • Page 302: Introduction

    99/08/04 INTRODUCTION The HP-GL graphics mode emulates 40 out of 56 instructions for the HP 7475A plotter made by Hewlett- Packard. 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.
  • Page 303: Printing Area

    99/08/04 2.3.2. Printing area (mm) Letter Legal CHAPTER 9 HP-GL - 5...
  • Page 304: Commands

    99/08/04 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. Function Equivalent Condition Instruction Plot mode Absolute plotting Relative character direction DR 1,0;...
  • Page 305: Plot Area And Unit Setting Instructions

    99/08/04 Function Equivalent Condition Instruction Fill type Bi-directional fill, type 1 Fill distance 1% of distance from P1 to P2 Fill slant 0 degrees Pen thickness Set at 0.3 mm Pen condition Pen up Rotation Set at 0 degrees Scaling points Initialized according to paper size 3.2.
  • Page 306: Pen Control And Plot Instructions

    99/08/04 IW - Input window IW [ X ] [;] X1-Window lower left X coordinate Y1-Window lower left Y coordinate X2-Window upper right X coordinate Y2-Window upper right Y coordinate • This instruction sets the window inside which plotting can be performed. •...
  • Page 307 99/08/04 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.
  • Page 308 99/08/04 (X1, Y1) (Xn, Yn) (X2,Y2) (X3, Y3) Current position 10 '*** PAEX1 *** 20 LPRINT "IN;SP1;" 30 LPRINT "PA2000,6000;PD0,6000,2000,7500,2000,6000;PU2500,6000;" 40 LPRINT "PAPD4500,6000,2500,7500,2500,6000;PU10365,500;" 50 END <Sample 62> 10 ' *** PAEX2 *** 20 LPRINT "IN;SP1;SC0,100,0,100;" 30 LPRINT "PA50,30;PD25,30,50,50,50,30;PU55,30;" 40 LPRINT "PAPD80,30,55,50,55,30,PU;" 50 END <Sample 63>...
  • Page 309 99/08/04 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. •...
  • Page 310 99/08/04 • 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. •...
  • Page 311: The Polygon Group

    99/08/04 10 '*** CIEX1 *** 20 LPRINT "IN;SP1;IP2650,1325,7650,6325;" 30 LPRINT "SC-100,100,-100,100;" 40 LPRINT "PA-60,50;CI40,45;" 50 LPRINT "PA60,50;CI40,30;" 60 LPRINT "PA-60,-50;CI40,15;" 70 LPRINT "PA60,-50;CI40,5;" 80 END <Sample 65> 10 '*** 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;CI- 60,5;LT5;CI70,5;LT6;CI80,5;"...
  • Page 312 99/08/04 • 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.3;FT2;RA8000,5000;"...
  • Page 313 99/08/04 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 •...
  • Page 314 99/08/04 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. •...
  • Page 315 99/08/04 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.
  • Page 316: Plot Function Instructions

    99/08/04 3.5. Plot Function Instructions Instruction 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 ) •...
  • Page 317 99/08/04 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 ;...
  • Page 318: Character Plot Instructions

    99/08/04 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 [;] •...
  • Page 319 99/08/04 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 [;]...
  • Page 320 99/08/04 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. 10 '*** LBEX1 *** 20 LPRINT "SP2;PA1000,4000;"...
  • Page 321 99/08/04 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 •...
  • Page 322 99/08/04 10 '*** SIEX1 *** 20 LPRINT "IN;SP1;PA1000,1000;" 30 LPRINT "SI2,1.5;LBLASER";CHR$(3) 40 END <Sample 86> 10 '*** SIEX2 *** 20 LPRINT "IN;SP1;PA5000,3000:" 30 LPRINT "SI-.35,.35;LBCHARACTER";CHR$(3) 40 END <Sample 87> 10 '*** SIEX3 *** 20 LPRINT "IN;SP1;PA5000,3000;" 30 LPRINT "SI.35,-.35;LBCHARACTER";CHR$(3) 40 END <Sample 88>...
  • Page 323 99/08/04 10 '"*** SLEX *** 20 LPRINT "DF;SP1;SI1.3,1.3;PA100,6000;" 30 LPRINT "SL2;LBLASER";CHR$(3) 40 LPRINT "SL-2;PR3000,0;LBLASER";CHR$(3) 50 END <Sample 91> UC - User-defined character UC X1, Y1, X2, Y2..., Xn, Yn[;] Xi : Number of grids in X direction Yi : Number of grids in Y direction •...
  • Page 324: Dual Context Extensions

    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.
  • Page 325: Index

    99/08/04 INDEX     Absolute direction ............22 Pen down................9 Alternate character set ............. 20 Pen thickness select............20 Pen up.................9 Pen width .................19     Plot absolute...............9 printing area ...............5 Character plot ............22, 23 character set...............
  • Page 326 99/08/04 CHAPTER 9 HP-GL - 2...
  • Page 327: Appendix A Comparison List

    99/08/04 APPENDIX A COMPARISON LIST APPENDIX A -COMPARISON LIST-1...
  • Page 328 99/08/04 ONTENTS PCL5/5E ..............3 Typeface Selection (PCL)............12 HP-GL/2 ..............14 EPSON FX-850 ............16 IBM PROPRINTER XL ..........19 BAR CODE..............21 HP-GL ............... 22 PJL ................24 General PJL Environment Variables..........27 PCL Specific Variables ..............
  • Page 329: Pcl5/5E

    99/08/04 In this chapter, you can find which commands are supported by your printer. PCL5/5e COMMAND HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C Esc&k#G Line Termination Esc&s#C End of Line Wrap EscY Display Function ON EscZ Display Function OFF Esc&l1A...
  • Page 330 99/08/04 Esc&l1025A Paper Size Esc&l1026A Paper Size Esc&l2048A Paper Size A4 Long Esc&l80A Monarch Esc&l81A COM 10 Esc&l90A Esc&l91A Esc&l0H Paper Eject Esc&l1H Feeder1 Tray1 Tray1 Tray1 Upper Upper Primary Tray Cassette Cassette Esc&l2H Manual Feed Esc&l3H Feed from Feed from Feed from Envelop Manual...
  • Page 331 99/08/04 Esc&l0S Simplex Esc&l1S Duplex Long-Edge Binding Esc&l2S Duplex Short-Edge Binding Esc&l#U Long-edge Offset Esc&l#Z Short-edge Offset Esc&l#X #:1~32767 #:1~32767 #:1~32767 #:1~32767 #:1~32767 #:1~32767 #:1~32767 #:1~32767 Copy Volume Esc&l#T Job Separation EscE Printer Reset EscCR!#R User Reset Escz Self-test Esc%-12345X Esc&u#D Unit of Measure Esc&a#L...
  • Page 332 99/08/04 Esc&l#D Line Spacing Esc&l#F Text Length Esc&l#P Page Length Esc&l#L Perforation Skip Esc&a#R Vertical Position(line) Esc*p#Y Position(dot) 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 Feed Esc&l#O #:0,1,2,3 #:0,1,2,3...
  • Page 333 99/08/04 Esc&a#P Print Direction Esc(3@, Esc)3@ Secondary Font Select 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 Esc(s#C, Esc)s#C Character Set Esc(s#P, Esc)s#P Fixed Pitch or PS Esc(s#H, Esc)s#H Character Pitch Selection Esc&k#S Character Pitch Selection Esc(s#V,...
  • Page 334 99/08/04 Esc&p#X Transparent Print Esc&d#D, Esc&d@ Auto Underline Esc*c#D Download Font Font ID Set Esc*c#F #:0~6 #:0~6 #:0~6 #:0~6,1026, #:0~6 #:0~6,1026, #:0~6,1026, #:0~6,1026, Download Font Control 1028, 1029 1028, 1029 1028, 1029 1028, 1029 Esc(#X Set to Primary Font Esc)#X Set to Secondary Font Esc(#@ Font Default Setting(Primary)
  • Page 335 99/08/04 Esc*c#Q User-defined Pattern Control Esc*v#T #:0~4,130 #:0~4,130 #:0~4,130 #:0~4,130 #:0~4,130 #:0~4,130 #:0~4,130 #:0~4,130 Select Pattern Esc*c#A Pattern Horizontal Size(dot) Esc*c#H Pattern Horizontal Size(decipoint) Esc*c#B Pattern Vertical Size(dot) Esc*c#V Pattern Vertical Size(decipoint) Esc*c#P #:0~5,130 #:0~5,130 #:0~5,130 #:0~5,130 #:0~5,130 #:0~5,130 #:0~5,130 #:0~5,130 Print Pattern Esc*t#R...
  • Page 336 99/08/04 Esc*rB End Raster Graphics Esc*rC End Raster Graphics 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 Start Macro Definition Esc&f1X End Macro Definition...
  • Page 337 99/08/04 Esc&f10X Make Permanent Macro Esc&f1030X Delete All Macro from Card Esc&f1036X Delete Current Macro from Card Esc&f1038X Save Current Macro into Card Esc*s#T Set Status Readback Location Type Esc*s#U Set Status Readback Location Unit Esc*s#l Inquire Status Readback Entity Esc*s1M Free Memory Space Esc&r#F...
  • Page 338: Typeface Selection (Pcl)

    99/08/04 Typeface Selection (PCL) COMMAND TYPEFACE HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C Esc(s129T Anelia Esc(s128T Brougham Esc(s130T Letter Gothic Esc(s104T OCR-A Esc(s110T OCR-B Esc(s152T Helsinki Esc(s153T Tennessee Esc(s154T Helsinki Narrow Esc(s155T Atlanta Esc(s156T Brussels Esc(s157T Copenhagen Esc(s158T Portugal...
  • Page 339 99/08/04 ESC(s133T San Diego ESC(s135T US Roman APPENDIX A -COMPARISON LIST-13...
  • Page 340 99/08/04 HP-GL/2 COMMAND HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C APPENDIX A -COMPARISON LIST-14...
  • Page 341 99/08/04 APPENDIX A -COMPARISON LIST-15...
  • Page 342 99/08/04 Epson FX-850 COMMAND HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C 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...
  • Page 343 99/08/04 Esc B n1 n2 n3... NUL Esc b n m1 m2 m3 ... NUL Esc / n Esc P Esc M Esc p n Esc SI Esc E Esc F Esc G Esc H Esc W n Esc SO Esc 4 Esc 5 Esc S n...
  • Page 344 99/08/04 Esc ? n m Esc ^ a n1 n2 Esc K n1 n2 Esc L n1 n2 Esc Y n1 n2 Esc Z n1 n2 APPENDIX A -COMPARISON LIST-18...
  • Page 345: Ibm Proprinter Xl

    99/08/04 IBM ProPrinter XL COMMAND HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C Esc 5 n Esc Q 22 Esc Q 3 Esc CR ! #R Esc EM n Esc C n Esc C NUL n Esc X m n...
  • Page 346 99/08/04 Esc : Esc P n Esc E Esc F 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...
  • Page 347: Bar Code

    99/08/04 BAR CODE COMMAND HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C 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...
  • Page 348: Hp-Gl

    99/08/04 HP-GL COMMAND HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C APPENDIX A -COMPARISON LIST-22...
  • Page 349 99/08/04 APPENDIX A -COMPARISON LIST-23...
  • Page 350: Pjl

    99/08/04 PJL commands are supported by HL-1050, HL-1070, HL-1250, HL-1270N, HL-P2500, HL-1660e, HL-2060 and HL-2400C. Other our printers does not support PJL. COMMAND HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C Esc%-123245X PJL ENTER PCL, IBM, PCL, IBM, PCL, IBM,...
  • Page 351 99/08/04 @PJL RESET [<CR>]<LF> @PJL SET [LPARM : personality] variable = value [<CR>]<LF> @PJL INQUIRE [LPARM : personality] variable [<CR>]<LF> @PJL DINQUIRE [LPARM : personality] variable [<CR>]<LF> @PJL ECHO [<words>][<CR>]<L F> @PJL INFO ID [<CR>]<LF> @PJL INFO CONFIG feature, value, feature, value, feature, value, feature, value,...
  • Page 352 99/08/04 @PJL INFO PHYSICALMEMOR Y [<CR>]<LF> @PJL INFO FEATURES [<CR>]<LF> @PJL INFO DRUMLIFE [<CR>]<LF> @PJL USTATUS DEVICE, JOB, DEVICE, JOB, DEVICE, JOB, DEVICE, JOB, DEVICE, JOB, DEVICE, JOB, DEVICE, JOB, DEVICE, JOB, variable = value PAGE, TIMED PAGE, TIMED PAGE, TIMED PAGE, TIMED PAGE PAGE, TIMED...
  • Page 353 99/08/04 General PJL Environment Variables GENERAL PJL HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C ENVIRONMENT VARIABLES COPIES 1~200 1~200 1~999 1~999 1~999 1~999 1~999 1~999 PAPER LETTER, LETTER, LETTER, LETTER, LETTER, LETTER, LETTER, LETTER, LEGAL, A4, LEGAL, A4, LEGAL, A4,...
  • Page 354 99/08/04 INTRAY1SIZE LETTER, LETTER, LETTER, LEGAL, A4, LEGAL, A4, LEGAL, A4, EXECUTIVE, EXECUTIVE, EXECUTIVE, COM10, COM10, COM10, DL, MONARCH, MONARCH, C5, DL, B5, A5, C5, DL, B5, A5, A6, B6 A6, B6 INTRAY2SIZE LETTER, LETTER, LETTER, LEGAL, A4, LEGAL, A4, LEGAL, A4, EXECUTIVE, EXECUTIVE,...
  • Page 355 99/08/04 LANG ENGLISH, ENGLISH, ENGLISH, ENGLISH, ENGLISH, ENGLISH, ENGLISH, ENGLISH, FRENCH, FRENCH, FRENCH, FRENCH, FRENCH, FRENCH, FRENCH, FRENCH, GERMAN, GERMAN, GERMAN, GERMAN, GERMAN, GERMAN, GERMAN, GERMAN, DUTCH, DUTCH, DUTCH, DUTCH, DUTCH, DUTCH, DUTCH, DUTCH, SPANISH, SPANISH, SPANISH, SPANISH, SPANISH, SPANISH, SPANISH, SPANISH, ITALIAN,...
  • Page 356 99/08/04 PCL Specific Variables PCL SPECIFIC HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C VARIABLES FONTSOURC I, S I, S I, S I, S I, S I,C,C1,S I,C,C1,S I,C,C1,S FONTNUMBE 0,1,2, ...n 0,1,2, ...n 0,1,2, ...n 0,1,2, ...n 0,1,2, ...n 0,1,2, ...n...
  • Page 357 99/08/04 SYMSET ROMAN8, ROMAN8, ROMAN8, ROMAN8, ROMAN8, ROMAN8, ROMAN8, ROMAN8, ISOL1, ISOL2, ISOL1, ISOL2, ISOL1, ISOL2, ISOL1, ISOL2, ISOL1, ISOL2, ISOL1, ISOL2, ISOL1, ISOL2, ISOL1, ISOL2, ISOL5, ISOL6, ISOL5, ISOL6, ISOL5, ISOL6, ISOL5, ISOL6, ISOL5, ISOL6, ISOL5, ISOL6, ISOL5, ISOL6, ISOL5, ISOL6, PC8, PC8DN, PC8, PC8DN,...
  • Page 358 99/08/04 AUTOWRAP ON, OFF ON, OFF ON, OFF ON, OFF ON, OFF ON, OFF ON, OFF ON, OFF AUTOSKIP ON, OFF ON, OFF ON, OFF ON, OFF ON, OFF ON, OFF ON, OFF ON, OFF APPENDIX A -COMPARISON LIST-32...
  • Page 359: Postscript Specific Variables

    99/08/04 PostScript Specific Variables POSTSCRIPT SPECIFIC VARIABLES HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C PRTPSERRS ON, OFF ON, OFF ON, OFF ON, OFF ON, OFF ORIENTATION PORTRAIT, PORTRAIT, PORTRAIT, PORTRAIT, PORTRAIT, LANDSCAP LANDSCAP LANDSCAP LANDSCAP LANDSCAP CRLFCONV ON, OFF...
  • Page 360 99/08/04 EPSON Specific Variables EPSON SPECIFIC HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660E HL-2060 HL-2400C VARIABLES ORIENTAION PORTRAIT PORTRAIT PORTRAIT PORTRAIT PORTRAIT PORTRAIT PORTRAIT PORTRAIT LAMDSCAPE LAMDSCAPE LAMDSCAPE LAMDSCAPE LAMDSCAPE LAMDSCAPE LAMDSCAPE LAMDSCAPE LEFTMARGIN 0 ~145 0 ~145 0 ~145 0 ~145...
  • Page 361 99/08/04 SYMSET USASCII, USASCII, USASCII, USASCII, USASCII, USASCII, USASCII, GERMAN, GERMAN, GERMAN, GERMAN, GERMAN, GERMAN, GERMAN, UKASCI1, UKASCI1, UKASCI1, UKASCI1, UKASCI1, UKASCI1, UKASCI1, FRENCH1, FRENCH1, FRENCH1, FRENCH1, FRENCH1, FRENCH1, FRENCH1, DANISH1, DANISH1, DANISH1, DANISH1, DANISH1, DANISH1, DANISH1, ITALY, ITALY, ITALY, ITALY, ITALY, ITALY,...
  • Page 362 99/08/04 IBM Specific Variables IBM SPECIFIC HL-1050 HL-1070 HL-1250 HL-1270N HL-P2500 HL-1660e HL-2060 HL-2400C VARIABLES ORIENTATION PORTRAIT, PORTRAIT, PORTRAIT, PORTRAIT, PORTRAIT, PORTRAIT, PORTRAIT, LANDSCAPE LANDSCAPE LANDSCAPE LANDSCAPE LANDSCAPE LANDSCAPE LANDSCAPE LEFTMARGIN 0 ~145 0 ~145 0 ~145 0 ~145 0 ~126...
  • Page 363: Appendix B Flash/Pcmcia Card Commands

    99/08/04 APPENDIX B FLASH/PCMCIA CARD COMMANDS <For HL-1270N/1660e/2060/2400C Only> APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 1...
  • Page 364 99/08/04 ONTENTS 1. INTRODUCTION ......................3 2. HOW TO READ THE CARD COMMANDS SPECIFICATION ........4 2.1 Commands ........................... 4 2.2 Available Devices ......................... 4 2.3 Description ........................... 4 2.4 Error ............................. 4 3.
  • Page 365: Introduction

    99/08/04 INTRODUCTION The Flash/Card Commands described in this chapter are applicable to the HL-1270N / 1660e / 2060 / 2400C printers only. The following types of devices can be used for the printers; 1) Flash memory card 2) ATA flash memory card 3) PCMCIA hard disk card 4) Internal flash memory (HL-1270N only) Both command and control panel operations allow you to read / write data onto these devices.
  • Page 366: How To Read The Card Commands Specification

    99/08/04 HOW TO READ THE CARD COMMANDS SPECIFICATION Each command is described in the following four sections of this manual. Commands Command data sequences and syntax. ESC or CR stands for 0x1b or 0x0d as follows; ESC ----0x1b CR ---- 0x0d Available Devices The supported memory card devices which can be used for each command are represented in this manual using the abbreviations as follows.
  • Page 367: Commands

    99/08/04 COMMANDS Select Card Command (For HL-2060/2400C Only) Command ESC CR ! 12358F Slot No ** Slot No = 1, 2 Default = 1 Available Devices F, A, H Description The card is specified and controlled by the following commands. For the detailed information on specific card operation commands, refer to the following sections which describe each command in detail.
  • Page 368: Format Command

    99/08/04 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 entire card. This will delete all existing data on the card. When two cards are inserted into the printer, the command formats the card specified by the select card command.
  • Page 369: Save Data Command

    99/08/04 Save Data Command 3.3.1 Save specified type (For HL-1660e/2060/2400C only) 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.
  • Page 370: Execute Data (For Hl-1660E/2060/2400C Only)

    99/08/04 Data 3.4.1 Save data (For HL-1660e/2060/2400C only) 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 card. If there is insufficient memory in the printer to store the data, a memory full error occurs. When two cards are inserted into the printer, the command saves the data onto the card specified by the select card command.
  • Page 371: Font

    99/08/04 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 card. 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.
  • Page 372: Delete Download Font With Specified Id

    99/08/04 Error (Device Type) F, A, H, I 43 CARD1 W ERROR (Device Type) F, A, H, I 43 CARD2 W ERROR 3.5.4 Delete download font with specified ID Command ESC * c 1026F Available Devices F, A, H, I Description This command deletes the font with the ID which is specified with the ESC * c # D (Font ID ) command from the card.
  • Page 373: Macro

    99/08/04 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 card. When two cards are inserted into the printer, the command deletes all the macros in the card specified by the select card command.
  • Page 374: Save Image (Fixed Printing Location) (For Hl-1660E/2060/2400C Only)

    99/08/04 Error (Device Type) F, A, H, I 43 CARD1 W ERROR (Device Type) F, A, H, I 43 CARD2 W ERROR 3.6.4 Save image (Fixed printing location) (For HL-1660e/2060/2400C only) Command ESC CR ! 12348F Available Devices 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 &...
  • Page 375: Copy Card (For Hl-1660E/2060/2400C Only)

    99/08/04 Copy Card (For HL-1660e/2060/2400C Only) Command ESC CR ! 12357F Available Devices F, A Description 1) Flash memory card After executing a logical format on the transfer card, this command copies to the transfer card only when the two cards have the same memory size. It is essential that the transfer card has already been formatted. The specify card command allows you to specify the source card.
  • Page 376: Use Card Commands From Pcl

    99/08/04 USE CARD COMMANDS FROM PCL Execute Macros Command ESC & l 2 X Execute Macro ESC & l 3 X Call Macro ESC & l 4 X Macro Overlay Available Devices F, A, H, I Description The macros saved in the card can be executed from the PCL command language as well as saving macros in the printer memory.
  • Page 377: Use Download Fonts

    99/08/04 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 card can be selected from the PCL command language as well as saving download fonts in printer memory.
  • Page 378: Use Card Commands From Postscript

    99/08/04 USE CARD COMMANDS FROM POSTSCRIPT The PostScript command allows you to write / read the ATA flash ROM card and PCMCIA hard disk card. (i.e.) Create the file named “test” and write the data, “This is a data string” onto the card which is inserted into Slot 1.
  • Page 379: Appendix Chbp Mode Commands

    99/08/03 APPENDIX C HBP MODE COMMANDS <For HL-820/1020/1040 Only> APPENDIX C HBP MODE COMMANDS - 1...
  • Page 380 99/08/03 ONTENTS 1. DESCRIPTIONS ........................3 2. COMMAND TO ENTER HBP MODE ..................4 3. HBP COMMANDS........................5 3.1 Command List..........................5 3.2 Commands (Detailed Explanation)....................6 3.2.1 Resolution setting commands........................6 3.2.2 Economy mode setting commands......................6 3.2.3 Sleep mode setting commands........................
  • Page 381: Descriptions

    99/08/03 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 <Esc>: 0 x 1b <Space>: 0 x 20 <LF>: 0 x 0a 1byte of data sign for combining data ( This is not a control code.) (••••)B:...
  • Page 382: Command To Enter Hbp Mode

    99/08/03 COMMAND TO ENTER HBP MODE Command <ESC>%-12345X@PJL<LF> @PJL<Space>ENTER<Space>LANGUAGE<Space>=<Space>HBP<LF> Function The printer enters the HBP mode when this 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).
  • Page 383: Hbp Commands

    99/08/03 HBP COMMANDS An HBP command is composed of ‘@’ + an Uppercase Alphabetic character + parameters (not necessary for some commands). Command List <Character string> <Functions> Reserved Reserved Not used Speed setting for Centronics I/F Economy mode setting Form feed Data input Not used Information request...
  • Page 384: Commands (Detailed Explanation)

    99/08/03 Commands (Detailed Explanation) 3.2.1 Resolution setting commands Command @L + * Function This command sets the printer resolution. Command Resolution @ L+ (00000000)B 600dpi (Default) @ L+ (00000101)B 300dpi @ L+ (00001010)B 150dpi Explanation The resolution is set when the printer receives this command. This command is applied from the next page printed after the FormFeed command after this command is sent (i.e.
  • Page 385: Sleep Mode Setting Commands

    99/08/03 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.
  • Page 386: Mode Setting Commands

    99/08/03 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.
  • Page 387: Engine Related Setting Commands

    99/08/03 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. n=0: Regular (Default) n=1:...
  • Page 388: Graphic Data Input Commands

    99/08/03 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),...
  • Page 389: Graphic Data Format

    99/08/04 Graphic Data Format The data format, which follows the @G+ [number of data bytes (3 bytes)] command, is as shown below. the number of command byte 1 modified data 1 command byte 2 modified data 2 command bytes for raster 1 the number of command byte 1 modified data 1...
  • Page 390 99/08/03 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. The number of command bytes = 300, FFh+2Dh The number of command bytes = 510, FFh+FFh+00h If there are more than two command bytes for 1 raster, the replacement position for the second command...
  • Page 391: Recommended Command String

    99/08/03 RECOMMENDED COMMAND STRING The command strings below shows the recommended command stream for two pages of a print job. <Esc>%-12345X@PJL<LF> used for HL-820/1020/1040 @PJL DEFAULT AUTOSLEEP=0<LF> used for HL-820/1020/1040 @PJL DEFAULT TIMEOUTSLEEP= 15<LF>used for HL-820/1020/1040 <Esc>%-12345X@PJL<LF> @PJL ENTER LANGUAGE = HBP<LF> Enter into HBP mode @L<00H>...
  • Page 392 99/08/03 APPENDIX C HBP MODE COMMANDS - 14...
  • Page 393: Appendix D Reference List Of Hl-1050/1070/1250/1270N

    99/08/03     REFERENCE LIST OF HL-1050/1070/1250/ 1270N/P2500 PJL COMMANDS APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 1...
  • Page 394 2.7.12. DEMOPAGE ............................13 2.7.13. XOFFTIMINGSEL (HL-1050/1070/1250)....................14 2.8. Status Codes ..........................15 2.9. DRUMLIFE Command ........................ 16 2.10. PJL Hidden Function......................... 17 APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 2...
  • Page 395: General

    99/08/03 GENERAL This manual describes the functions of the PJL commands that the HL-1050/1070/1250/1270/P2500 printers support. Since the general explanation about PJL is omitted here, you may need to refer to the HP PJL technical reference manual for the details of PJL.
  • Page 396: Pjl Enhanced Specification

    @PJL INFO ID Response @PJL INFO ID<CR><LF> “Brother HL-1250 series:84UZ02:Ver1.00”<CR><LF> <FF> Explanation “Brother HL-1250 series: 84UZ02:Ver1.00” Model name shown on RPC etc. Base model name. Printer version to define the printer. APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 4...
  • Page 397: Info Config

    LEGAL EXECUTIVE MONARCH COM10 JISB5 A4LONG LANGUAGES [3 ENUMERATED] EPSON USTATUS [4 ENUMERATED] DEVICE PAGE TIMED MEMORY=524288 DISPLAY LINES= DISPLAY CHARACTER SIZE=16 LOCAL=ENGLISH FEATURES [4 ENUMERATED] R600 PAGEP DLF0 BIN2 APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 5...
  • Page 398: Info Physicalmemory

    99/08/03 2.3. INFO PHYSICALMEMORY Command @PJL INFO PHYSICALMEMORY<LF> Response @PJL INFO PHYSICALMEMORY<CR><LF> PHYSICALMEMORY=2097152 Explanation This command reports the total memory size in a printer. APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 6...
  • Page 399: Info Features

    (When there are no FEATURES) * Note that this is different from INFO CONFIG. @PJL INFO FEATURES <CR><LF> FEATURES [n ENUMERATED]<CR><LF> NONE<CR><LF> Explanation This is the same FEATURES as the PJL INFO CONFIG command. APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 7...
  • Page 400: Pagecount Command

    99/08/03 2.5. PAGECOUNT Command Command @PJL INFO PAGECOUNT<LF> Response @PJL INFO PAGECOUNT <CR><LF> PAGECOUNT =XXXX<CR><LF> Explanation This command reports the printer page count number stored in NV-RAM. APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 8...
  • Page 401: Kernel Commands

    Print a setting value. ROTATEROLLER: Rotate the paper pick up roller half way for ease of cleaning. Explanation This command remotely controls the printer to perform the above specified actions. APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 9...
  • Page 402: Setting The Bi-Directional Parallel I/F

    If any error related to RS-232C occurs, the DTR signal goes LOW (Busy). Sends no DTR signal LOW (Busy) Explanation This command defines the conditions when the DTR signal goes LOW (Busy) on the RS-232C I/F. APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 10...
  • Page 403: Error Print Mode

    SOURCETRAY (For HL-1070/1250/1270N/P2500 only) Command @PJL SET SOURCETRAY=parameter<LF> @PJL DEFAULT SOURCETRAY=parameter<LF> (parameter) AUTO: DUAL (If a paper empty error occurs, tray is automatically switched to the other one.) TRAY1: TRAY1 TRAY2: TRAY2 APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 11...
  • Page 404: Autosleep

    This command prints raster graphics at 1200 dpi. This setting is not stored in the NV-RAM. 2.7.11. ENVINTERVAL Command @PJL SET ENVINTERVAL=parameter<LF> @PJL DEFAULT ENVINTERVAL=parameter<LF> (parameter) 0 - 255 sec. (Default = 0 = 12 sec.) APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 12...
  • Page 405: Demopage

    This command specifies whether to use the global demo data or the local demo data. Default setting is GLOBAL. Execute the LANG command on demonstration printers to select the demo data for each country. For the demonstration printer model HL-1050, eight kinds of demo data are provided as listed below; @PJL DEFAULT LANG=ENGLISH: English @PJL DEFAULT LANG=FRENCH:...
  • Page 406: Xofftimingsel (Hl-1050/1070/1250)

    Therefore, the timing when XOFF should be sent to the host PC before the buffer full error occurs (timing of (1)) is changeable so that the printer can work with various systems. APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 14...
  • Page 407: Status Codes

    Toner Empty 40038 No Paper 41000 Cover Open 40021 Toner Low 10006 Sleeping 40000 Resolution Adapted (Protect=LGL) 35042 Resolution Adapted (Protect=LTR) 35043 Resolution Adapted (Protect=A4) 35044 Resolution Adapted (Protect=OFF) 35045 APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 15...
  • Page 408: Drumlife Command

    99/08/03 2.9. DRUMLIFE Command Command @PJL INFO DRUMLIFE<LF> Response @PJL INFO DRUMLIFE<CR><LF> DRUMLIFE=1099<CR><LF> Explanation This command reports the value of the drum life counter. APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 16...
  • Page 409: Pjl Hidden Function

    99/08/03 2.10. PJL Hidden Function The PJL hidden functions are listed below. They were added into HL-1050/1070/1250/1270N. EPSON/IBM, font size setting for Condense @PJL DEFAULT (SET) CONDENCESIZE=P1666 =P1714 Font creation from a bitmap downloaded font @PJL DEFAULT (SET) DOWNFPROD=OFF (Italic bold)
  • Page 410 99/08/03 APPENDIX D REFERENCE LIST OF HL-1050/1070/1250/1270N/P2500 PJL COMMANDS - 18...
  • Page 411 99/08/03     REFERENCE LIST OF HL-1660e/2060/2400C PJL COMMANDS APPENDIX E REFERENCE LIST OF HL-1660e/2060/2400C PJL COMMANDS - 1...
  • Page 412 99/08/03 ONTENTS 1. INTRODUCTION ........................3 2. UNIQUE PJL COMMANDS..................... 4 2.1. INFO Command..........................4 2.1.1. PAGECOUNT ............................4 2.1.2. PHYSICALMEMORY ..........................4 2.2. SUPERUSER Command ......................4 2.3. SUPERUSEROFF Command .......................4 2.4.
  • Page 413: Introduction

    99/08/03 INTRODUCTION This manual describes the unique PJL commands that can be used on HL-1660e/2060/2400C. Since the descriptions here are the unique commands only, refer to Chapter 4 ‘PJL’ in the technical reference manual for the general information for PJL commands. APPENDIX E REFERENCE LIST OF HL-1660e/2060/2400C PJL COMMANDS - 3...
  • Page 414: Unique Pjl Commands

    99/08/03 UNIQUE PJL COMMANDS 2.1. INFO Command 2.1.1. PAGECOUNT Syntax: @PJL INFO PAGECOUNT<LF> Response: @PJL INFO PAGECOUNT<CR><LF> PAGECOUNT=1099<CR><LF> <FF> Comment: The value of the page count stored in the printer NV-RAM is sent back. 2.1.2. PHYSICALMEMORY Syntax: @PJL INFO PHYSICALMEMORY<LF> Response: @PJL INFO PHYSICALMEMORY <CR><LF>...
  • Page 415: Wnvram Command

    99/08/03 2.4. WNVRAM Command Syntax: @PJL WNVRAM ADDRESS=address DATA=data<LF> Range of values address : 0-n ( n: depends on the NV-RAM size) data : 0-255 Comment: This is to write the value that was set for “data” to the NV-RAM where addressed by “address”. This command must be execute in the superuser mode only.
  • Page 416: Scrollmsg Command

    99/08/03 2.7. SCROLLMSG Command Syntax: @PJL SCROLLMSG DISPLAY=“This is SCROLLMSG.\” <LF> Comment: This is to display a message on the LCD. The function is almost the same as the RDYMSG command, though this command enables to display a series of characters (Max. 32 characters) until “\” in scroll mode. 2.8.
  • Page 417 99/08/03 BSPAPER (For HL-1660e/2060 only) This command has no effect on printer operation. SMALL or NORMAL can be set. Default = SMALL TRAYCOMMAND (For HL-1660e/2060 only) Switching the functioning of the PCL paper feeding tray command between NORMAL and SPECIAL. Default = NORMAL NORMAL SPECIAL...
  • Page 418: Appendices

    99/08/03 APPENDICES 3.1. INFO VARIABLES Response (Examples for HL-1660e/2060) @PJL INFO VARIABLES COPIES=1 [2 RANGE] PAPER=A4 [12 ENUMERATED] LETTER LEGAL EXECUTIVE COM10 MONARCH ORIENTATION=PORTRAIT [2 ENUMERATED] PORTRAIT LANDSCAPE FORMLINES=64 [2 RANGE] MANUALFEED=OFF [2 ENUMERATED] RET=MEDIUM [4 ENUMERATED] LIGHT MEDIUM DARK PAGEPROTECT=AUTO [5 ENUMERATED] LETTER LEGAL...
  • Page 419 99/08/03 TIMEOUT=5 [2 RANGE] DENSITY=8 [2 RANGE] AUTOCONT=OFF [2 ENUMERATED] BINDING=LONGEDGE [2 ENUMERATED] LONGEDGE SHORTEDGE DUPLEX=OFF [2 ENUMERATED] CPLOCK=OFF [2 ENUMERATED] PASSWORD=DISABLED [2 RANGE] 65535 LANG=ENGLISH [10 ENUMERATED] ENGLISH FRENCH GERMAN DUTCH SPANISH ITALIAN FINNISH NORWEGIAN PORTUGUESE DANISH LOWTONER=CONTINUE [2 ENUMERATED] CONTINUE STOP ECONOMODE=OFF [2 ENUMERATED]...
  • Page 420 99/08/03 POWERSAVE=ON [2 ENUMERATED] POWERSAVETIME=30 [2 RANGE] MEDIATYPE=REGULAR [3 ENUMERATED] REGULAR THICK TRANSPARENCY FIRSTPRINT=NORMAL [3 ENUMERATED] NORMAL MIDDLE HIGH HUMIDITY=LOW [2 ENUMERATED] HIGH DPXMODE=FAST [2 ENUMERATED] SLOW FAST BSPAPER=SMALL [2 ENUMERATED] SMALL NORMAL IMAGEADAPT=ON [3 ENUMERATED] AUTO APT=OFF [2 ENUMERATED] LPARM: PCL FONTSOURCE=I [1 ENUMERATED] LPARM: PCL FONTNUMBER=59 [2 RANGE] LPARM: PCL PITCH=10.00 [2 RANGE]...
  • Page 421 99/08/03 LPARM: PCL SYMSET=ROMAN8 [43 ENUMERATED] ROMAN8 ISOL1 ISOL2 ISOL5 PC8DN PC850 PC852 PC8TK WINL1 WINL2 WINL5 DESKTOP PSTEXT VNINTL VNUS MSPUBL MATH8 PSMATH VNMATH PIFONT LEGAL ISO2 ISO4 ISO6 ISO10 ISO11 ISO14 ISO15 ISO16 ISO17 ISO21 ISO25 ISO57 ISO60 ISO61 ISO69 ISO84...
  • Page 422 99/08/03 INTRAY3=UNLOCKED [2 ENUMERATED READONLY] UNLOCKED LOCKED INTRAY1SIZE=A4 [12 ENUMERATED READONLY] LETTER LEGAL EXECUTIVE COM10 MONARCH INTRAY2SIZE=LETTER [12 ENUMERATED READONLY] LETTER LEGAL EXECUTIVE COM10 MONARCH INTRAY3SIZE=LETTER [12 ENUMERATED READONLY] LETTER LEGAL EXECUTIVE COM10 MONARCH SOURCETRAY=AUTO [4 ENUMERATED] AUTO MPTRAY TRAY1 TRAY2 TRAYCOMMAND=NORMAL [2 ENUMERATED] NORMAL...
  • Page 423: The List Of Pjl Commands Supported On Hl-1660E/2060/2400C

    99/08/03 THE LIST OF PJL COMMANDS SUPPORTED ON HL-1660e/2060/2400C Those commands marked with * are the Brother unique. [Kernel Commands] ENTER LANGUAGE COMMENT NAME START PASSWORD NAME [Environment Commands] DEFAULT INITIALIZE RESET [Status Readback Commands] INQUIRE DINQUIRE ECHO INFO CONFIG...
  • Page 424 99/08/03 [Options] (SET, DEFAULT, INQUIRE, DINQUIRE) COPIES PAPER ORIENTATION FORMLINES MANUALFEED PAGEPROTECT RESOLUTION PERSONALITY TIMEOUTEMU TIMEOUT DENSITY AUTOCONT BINDING DUPLEX CPLOCK PASSWORD LANG LOWTONER ECONOMODE ECONOLEVEL MPTRAY POWERSAVE POWERSAVETIME MEDIATYPE IMAGEADPT FSOURCE FONTNUMBER PITCH PTSIZE SYMSET INTRAY1 INTRAY2 INTRAY3 INTRAY1SIZE INTRAY2SIZE INTRAY3SIZE PRTPSERRE...
  • Page 425 99/08/03 APPENDIX F REFERENCE LIST OF MX-2000 SERIES UNIQUE COMMANDS APPENDIX E REFERENCE LIST OF MX-2000 SERIES UNIQUE COMMANDS - 1...
  • Page 426 99/08/03 ONTENTS 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....................5 3.1.2. PJL mailbox protection & bin number setting ................6 3.1.3. PJL avoidance of mailbox bin full ..................6 3.1.4.
  • Page 427: Introduction

    99/08/03 INTRODUCTION This manual covers the general specifications and the command reference list of the MX-2001 / MX-2002 /MX- 2003 Mailbox units, which are optionally installed onto the HL-2060 printer. If you need further information on the mechanical system, refer to the service manual of MX-2001 /MX-2002 / MX-2003.
  • Page 428: General Specification

    99/08/03 GENERAL SPECIFICATION The Mailbox unit is an option for the HL-2060 printer and composed of three types of units. The MX-2001 Lower Mailbox unit consists of five bins. The MX-2002 Upper Mailbox unit is additionally installed onto the MX-2001 and also consists of five bins. The MX-2003 Mailbox unit consists of ten bins. Once you have installed the unit, it works as a stacker, sorter and mailbox for the printer.
  • Page 429: Command Reference List

    99/08/03 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 (@PJL SET OUTBIN) 2) PJL mailbox protection & bin number setting (@PJL SET MAILBOXPROTECT) 3) PJL avoidance of output bin full (@PJL SET AVOIDMAILBOXFULL) 4) PCL output tray setting (Esc&l#G) 5) PS output tray &...
  • Page 430 99/08/03 3.1.2. PJL mailbox protection & bin number setting Format @PJL SET/DEFAULT MAILBOXPROTECT=TrayNumber Parameter TrayNumber • Lower unit: #1 to 5 from bottom to top • Lower unit + Upper unit: #1 to 10 from bottom to top Default = 0 Explanation •...
  • Page 431 99/08/03 3.1.4. PCL output tray setting Command Esc&l#G (27)(38)(108)#(71) <1Bh><38h><6ch>#<47h> Parameter # denotes the output tray. • Select the printer face-down output tray. • Select #1 bin of the Mailbox unit. • Select #2 bin of the Mailbox unit. • Select #3 bin of the Mailbox unit.
  • Page 432 99/08/03 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.

Table of Contents