Download  Print this page

Advertisement

Brother Laser Printer
HL-Series
Technical Reference Guide
Revision A
December, 1993
Revision B
January, 1994
Addition of Appendix A "Comparison list
for some models"
Revision C
October, 1994
Addition of the model HL-660/HL-1260

Advertisement

   Related Manuals for Brother HL-Series

   Summary of Contents for Brother HL-Series

  • Page 1 Brother Laser Printer HL-Series Technical Reference Guide Revision A December, 1993 Revision B January, 1994 Addition of Appendix A "Comparison list for some models" Revision C October, 1994 Addition of the model HL-660/HL-1260...
  • 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

    Contents Glossary Chapter 1 - Introduction to the HL Series Laser printer DESCRIPTION OF THE PRINTER ABOUT THE MANUAL AREAS OF USE Using word-processing packages and spreadsheets Graphics Programming Chapter 2 - PCL COMMAND LIST INTRODUCTION CONTROLLING THE PRINTER ENVIRONMENTS JOB CONTROL THE PAGE USING FONTS...
  • Page 4 COMMAND LIST INTRODUCTION EMULATION DETAILS NOTATION USED IN THIS EMULATION DESCRIPTION COMMANDS Chapter 7 - Barcode Control Chapter 8 - HP-GL/2 TABLE OF CONTENTS INTRODUCTION TERMINOLOGY COMMAND SYNTAX THE HP-GL GRAPHICS WINDOW PREPARING TO PRINT GRAPHICS IMAGES COMMANDS INITIALIZATION AND DEFAULT SETTING INSTRUCTIONS PLOT AREA AND UNIT SETTING INSTRUCTIONS PEN CONTROL AND PLOT INSTRUCTIONS THE POLYGON GROUP...
  • 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.
  • 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 Internal font A font that is stored in the printer ROM and is therefore always available for use, for example, Brougham 10 pitch, or a font generated from a scalable typeface stored in the printer's ROM, for example, Tennessee bold 15 pt. 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.
  • Page 9 PCL picture frame See picture frame. 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 Print position The position from which printing of the next character or graphic object will begin, providing that no operations that change the print position are performed in the interim. 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.
  • Page 11 and then select 14 pt. as the height. The printer has many resident typefaces. You can also buy scalable typeface cartridge and disks. Secondary font In LaserJet mode the printer maintains two current font settings. The secondary font is the second of these. Serif A kind of typeface normally used for body text.
  • Page 12 you switch on the printer in LaserJet mode or change to LaserJet emulation from another emulation mode. You can reset the printer to its user default settings either by using a printer command or using the control panel. User units Coordinate units specified by the user with the HP-GL and HP-GL/2 SC command.
  • Page 13 Revision A 16/01/96 Chapter 1 Introduction...
  • Page 14: About The Manual

    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 laserprinter. It is divided into nine sections - this introductory section and one section for each of the emulation modes. Each emulation mode section describes the software commands (the escape sequences and control codes) that you can use to make the printer perform each of its available functions.
  • Page 15: Graphics

    RAPHICS HP-GL/2 or HP-GL mode offers many powerful graphic features that enable you to draw and print detailed images quickly and easily. Many commercial graphic packages, notably computer-aided design applications programs, produce HP-GL/2 or HP-GL output. LaserJet mode also has several graphics features.
  • Page 16: Chapter 2 - Pcl

    Revision C 16/01/96 Chapter 2 Chapter 2 "PCL" - 1...
  • Page 17: Command List

    Revision C 16/01/96 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#H Paper source Esc&l#U Left long-edge offset registration Esc&l#Z Top offset registration Esc&l#S Simplex/Duplex printing Esc&a#G...
  • Page 18 Revision C 16/01/96 Esc(s#V, Esc)s#V Seelcting the height EscCR!#H, EscCR!#V Scaling the scalable fonts vertically or horizontally Esc(s#S, Esc)s#S Selecting the style Esc(s#B, Esc)s#B Selecting the stroke weight Esc(s#T, Esc)s#T Selecting the typeface Esc&p#X Transparent print data Esc&d#D, Esc&d@ Underlining text Esc&*c#D Font ID Esc*c#F...
  • Page 19 Revision C 16/01/96 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 20: Introduction

    Revision C 16/01/96 Introduction This laserprinter provides a complete emulation of the Hewlett Packard LaserJet 4 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 21: Controlling The Printer

    Revision C 16/01/96 Controlling the printer 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. Backspace (08) <08h>...
  • Page 22: Escape Sequences

    Revision C 16/01/96 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 23: Line Termination

    Revision C 16/01/96 Line termination You can set the carriage return, line feed and form feed control codes to perform compound functions. You can either do this using the printer’s control panel (see the User Guide) or by sending the printer the following escape sequence: •...
  • Page 24: Environments

    Revision C 16/01/96 Environments 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 printer's control panel.
  • Page 25: Job Control

    Revision C 16/01/96 Job control Page size Esc&l#A (27)(38)(108)#(65) <1Bh><26h><6Ch>#<41h> # stands for the type of paper or envelope to be used. • Values for # correspond to the paper or envelope sizes shown in the table. Envelopes sizes are shown in the shaded part of the table.
  • Page 26: Paper Source

    Revision C 16/01/96 Paper source Esc&l#H (27)(38)(108)#(72) <1Bh><26h><6Ch>#<48h> # denotes the paper source. Values for # may be 0, 1, 2, 3, or 4. • If # = 0 the current page is ejected and the paper source remains the same. •...
  • Page 27: Top Offset Registration

    Revision C 16/01/96 Top offset registration Esc&l l #Z (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 28: Job Separation Command

    Revision C 16/01/96 • # = 1 indicates the front side. If the currently processing page is odd page, the printer finishes the process to the page and attaches a dammy page. If the odd page had already processed to the page and even page has not been processed yet, only a dammy page is attached.
  • Page 29: Printer Self Test

    • This command changes the emulation mode to Epson FX-850 mode. EscCRTD (27)(13)(84)(68) <1Bh><0Dh><54h><44h> • This command changes the emulation mode to Brother Twinriter DP emulation mode. EscCRTW (27)(13)(84)(87) <1Bh><0Dh><54h><57h> • This command changes the emulation mode to Brother Twinriter WP emulation mode.
  • Page 30: The Page

    Revision C 16/01/96 The page 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 31 Revision C 16/01/96 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 75 LEGAL 2550 4200 2400 4200 75 EXECUTIVE 2175 3150 2025 3150 75...
  • Page 32 Revision C 16/01/96 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 4200 2550 4080 2550...
  • Page 33: Unit Of Measure

    Revision C 16/01/96 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 34: Setting The Left And Right Margins

    Revision C 16/01/96 Setting the left and right margins Esc&a#L (27)(38)(97)#(76) <1Bh><26h><61h>#<4Ch> # stands for the distance between the left edge of the logical page and the left margin in columns. Esc&a#M (27)(38)(97)#(77) <1Bh><26h><61h>#<4Dh> # stands for the distance between the left edge of the logical page and the right margin in columns. •...
  • Page 35: Resetting The Horizontal Margins

    Revision C 16/01/96 Resetting the horizontal margins Esc9 (27)(39) <1Bh><39h> • This command resets the left and right margins to the left and right edges of the logical page respectively. Setting the top margin Esc&l l #E (27)(38)(108)#(69) <1Bh><26h><6Ch>#<45h> # stands for the distance between the top of the logical page and the top margin in rows. •...
  • Page 36: Setting The Vertical Motion Index (vmi)

    Revision C 16/01/96 Setting the vertical motion index (VMI) Esc&l l #C (27)(38)(108)#(67) <1Bh><26h><6Ch>#<43h> # stands for the height of one row in 1/48". • # can have any value in the range 0-32767. • The distance specified by the VMI is the vertical distance moved down the page when the printer performs a line feed.
  • Page 37: Setting The Horizontal Motion Index (hmi)

    Revision C 16/01/96 Setting the horizontal motion index (HMI) Esc&k#H (27)(38)(107)#(72) <1Bh><25h><6Bh>#<48h> # stands for the width of one column in 1/120". • # can have any value in the range 0-32767 and can have up to four decimal places. •...
  • Page 38: Setting Line Spacing

    Revision C 16/01/96 Setting line spacing Esc&l l #D (27)(38)(108)#(68) <1Bh><25h><6Ch>#<44h> # stands for the number of lines to be printed per inch. • # can have any of the following values: 1, 2, 3, 4, 6, 8, 12, 16, 24 or 48. •...
  • Page 39: Page Length

    Revision C 16/01/96 Page length Esc&l l #P (27)(38)(108)#(80) <1Bh><25h><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 40 Revision C 16/01/96 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.
  • Page 41: Horizontal Position

    Revision C 16/01/96 Vertical cursor positioning in Decipoints Esc&a#V (27)(38)(97)#(86) <1Bh><26h><61h>#<56h> # = number of decipoints in 1/720" • A plus or minus sign preceding the number of decipoints parameter indicates that the cursor is to be positioned relative to its current position. A signed positive parameter value signifies that the cursor is to be repositioned vertically downwards on the page, a negative value means that it will be moved upwards.
  • Page 42 Revision C 16/01/96 Units Esc*p#X (27)(38)(112)#(88) <1Bh><26h><70h>#<58h> # = number of units • Units value is defined by the Esc & u # D command. • A plus or minus sign preceding the number of dots parameter indicates that the cursor is to be positioned relative to its current position.
  • Page 43 Revision C 16/01/96 Horizontal cursor positioning in Decipoints Esc&a#H (27)(38)(97)#(72) <1Bh><26h><61h>#<48h> # = number of decipoints 1/720" • A plus or minus sign preceding the number of decipoints parameter indicates that the cursor is to be positioned relative to its current position. 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 44: Using The Cursor Position Stack

    Revision C 16/01/96 Positioning the cursor using control codes The carriage return, space, horizontal tab and backspace control codes can also be used to reposition the cursor using the current VMI and HMI settings. Using the cursor position stack You can save and retrieve up to 20 cursor positions using the cursor position stack. Esc&f#S (27)(38)(102)#(115) <1Bh><26h><66h>#<73h>...
  • Page 45: Logical Page Orientation

    Revision C 16/01/96 Logical page orientation Esc&l l #O (27)(38)(108)#(79) <1Bh><26h><6Ch>#<4Fh> # = 0, 1, 2 or 3 • This command sets the orientation of the logical page relative to the physical page. • Values of # produce orientations as follows: 0 = portrait, 1 = landscape, 2=reverse portrait and 3 = reverse landscape.
  • Page 46: Text Direction

    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 47: Using Fonts

    Revision C 16/01/96 Using fonts Introduction A font is a collection of characters that have common characteristics, such as size, style and typeface, and which ranges over a given set of symbols. For example, 12 point Tennessee Bold in the Roman-8 symbol set is a typical HL Series font.
  • Page 48: Bound Fonts

    Book, BookOblique, Demi, DemiOblique ü Copenhagen Roman, Italic, Bold, Bold italic ü Portugal Roman, Italic, Bold, Bold italic ü Calgary MediumItalic Brother Original FOnts: Bermuda Script 1260 ü German ü US Roman ü San Diego ü You can select a font in any of these typefaces, specifying height (point size) and symbol set. Characters printed in scalable fonts are always proportionally spaced - that is, the spacing between characters on a line depends on their shapes.
  • Page 49: Selecting The Default Fonts

    Revision C 16/01/96 Primary and secondary fonts The printer maintains two sets of font characteristics which define its primary and secondary fonts. The primary font is the one it will use by default, the secondary font can be selected instead. This facility enables you to have two parallel font definitions that you can switch between easily without invoking long escape sequences.
  • Page 50: Symbol Collections

    Revision C 16/01/96 Symbol collections The symbol collections contain many symbols and a symbol set is made from symbol collections by selecting the required symbols for unbound fonts. As symbol collections have more symbols than symbol sets, unbound fonts can have more symbols than bound fonts. Due to the compatibility between symbol sets and symbol collections, the printer searches the designated MSL or Unicode number by using a symbol set mapping table.
  • Page 51: Symbol Set Id Code Command

    Revision C 16/01/96 Font selection commands User-defined symbol sets User-defined symbol sets can be used with Unbound scalable fonts. Three new commands below are prepared for user-defined symbol set. To define a symbol set, its ID code must be defined at first. Next, a list of symbols for the symbol set must be downloaded.
  • Page 52: Define Symbol Set

    Revision C 16/01/96 Define Symbol Set Esc(f#W[data] (27)(49)(102)#(87) <1Bh><28h><66h>#<57h> • # value can be from 18 to 32767. • # stands for number of bytes in the data which is followed this command. • If an existing ID code is used for a user-defined symbol set, it is overwritten. •...
  • Page 53 Revision C 16/01/96 10 - 17: Character Requirement Flag ( 8 bytes ) Used in conjunction with the character complement field in the header of the font descriptor, to decide the compatibility of a symbol set for an unbound font. This flag indicates which symbol collections are necessary to make the required symbol set.
  • Page 54 Revision C 16/01/96 Symbol set control command Esc*c#S (27)(42)(99)#(83) <1Bh><2Ah><63h>#<53h> • Values for # can be 0, 1, 2, 4, or 5. • 0 specifies to delete all temporary and permanent user-defined symbol sets. • 1 specifies to delete all temporary user-defined symbol sets. •...
  • Page 55 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 56: Selecting The Type Of Character Spacing

    Revision C 16/01/96 • To select any of the above symbol sets for the secondary font simply substitute ‘)’ for ‘(’ in the command shown in the table. 10 REM ****** SELECTING CHARACTER SETS ****** 20 ESC$=CHR$(27) 30 WIDTH "LPT1:",255 40 REM --- GERMAN CHARACTER SET SELECTION ------ 50 LPRINT ESC$+"(s3C";...
  • Page 57: Selecting The Pitch

    Revision C 16/01/96 Selecting the pitch Esc(s#H (27)(40)(115)#(72) <1Bh><28h><73h>#<48h> • This command designates the pitch for the primary font. Esc)s#H (27)(41)(115)#(72) <1Bh><29h><73h>#<48h> • This command designates the pitch for the secondary font. • # = the number of characters to be printed per inch. However, the actual size range is defined in combination with the character height.
  • Page 58: Scaling The Scalable Fonts Vertically Or Horizontally

    Revision C 16/01/96 Scaling the scalable fonts vertically or horizontally EscCR!#H (27)(13)(33)#(72) <1Bh><0Dh><21h>#<48h> • This command designates the height of the scalable fonts. EscCR!#V (27)(13)(33)#(86) <1Bh><0Dh><21h>#<56h> • This command designates the width of the scalable fonts. • # can be from 0.25 ~ 3.00 in 0.01 increments. •...
  • Page 59: Selecting The Stroke Weight

    Revision C 16/01/96 Selecting the stroke weight Esc(s#B (27)(40)(115)#(66) <1Bh><28h><73h>#<42h> • This command designates the stroke weight of the primary font. Esc)s#B (27)(41)(115)#(66) <1Bh><29h><73h>#<42h> • This command designates the stroke weight of the secondary font • # is an integer between –7 and 7. A value of 0 signifies a medium stroke weight, negative numbers signify thin or light stroke weights and positive numbers signify bold stroke weights.
  • Page 60: Font Orientation

    Revision C 16/01/96 OCR-B Esc(s110T Esc)s110T Bermuda Script Esc(s134T Esc)s134T Germany Esc(s132T Esc)s132T San Diego Esc(s133T Esc)s133T US Roman Esc(s135T Esc)s135T Font orientation The printer’s built-in fonts are all portrait fonts. If you switch the orientation of the logical page to landscape and select a font, the printer will automatically create the landscape font in its memory.
  • Page 61: Font Id

    Revision C 16/01/96 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 62: Selecting A Downloaded Font

    Revision C 16/01/96 Selecting a downloaded font Esc(#X (27)(40)#(88) <1Bh><28h>#<58h> • This command selects a downloaded font as the primary font. Esc)#X (27)(41)#(88) <1Bh><29h>#<58h> • This command selects a downloaded font as the secondary font. • # is the ID number of the downloaded font. Creating downloadable fonts Downloading You can download existing fonts (that is, ones that you have bought or ones that you have created previously)
  • Page 63 Revision C 16/01/96 Cell width Cell height Baseline distance x-height Baseline Underline distance Underline thickness Chapter 2 "PCL" - 48...
  • Page 64 Revision C 16/01/96 • 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 65 Revision C 16/01/96 < 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)
  • Page 66 Revision C 16/01/96 < 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...
  • Page 67 Revision C 16/01/96 < 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)
  • Page 68 Revision C 16/01/96 • Font type (UB) - specifies type of symbol set. Bound font. A 7-bit font with character codes 20H to 7FH acceptable. Bound font. A 8-bit font with character codes 20H to 7FH and 80H to FFH acceptable. Bound font.
  • Page 69 Revision C 16/01/96 • Cell width (UI) - ignored by this printer. the width in dots of the character cell. This can be from 1 to 65535. • Cell height (UI) - ignored by this printer. the height in dots of the character cell. This can be from 1 to 65535. •...
  • Page 70 Revision C 16/01/96 • Pitch (UI) - This value defines the default spacing for each point size in 1/4 dots. Combined with Pitch Extended to specify the pitch of the font in 1/1024 dots. This is available for fixed pitch font characters including the space character, and the space character of proportional spacing fonts.
  • Page 71 Revision C 16/01/96 • Stroke weight (SB) - valid values are from –7 to +7. 0 denotes the normal (Roman) stroke width, –7 is the lightest possible stroke and 7 is the boldest. Value Stroke Weight –7 Ultra thin –6 Extra thin –5 Thin...
  • Page 72 Revision C 16/01/96 • Quality (UB) - ignored by this HL Series printer. This byte specifies the fonts quality according to the following table. Value Quality Data processing Near letter quality Letter quality • Placement (SB) - ignored by this HL Series printer. This byte specifies the placement of characters relative to the baseline according to the following table.
  • Page 73 Revision C 16/01/96 • Cap height data (UI) - ignored by this HL Series printer. This word specifies for the font the distance between the baseline and the top of an unaccented capital letter (for example, ‘H’), as a percentage of the font’s em rule, ‘—’.
  • Page 74 Revision C 16/01/96 • Global Intellifont Data Size (UI) - indicates the size of the global Intellifont data block. • Global Intellifont Data - includes the global intellifont data. • Character Complement (Array of UB) - identifies the symbol set compatibility for unbound fonts used with the Character Requirement flag in the symbol set descriptor.
  • Page 75 Revision C 16/01/96 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 76: Sending A Character Code

    Revision C 16/01/96 *Segment Identifier (UI) - Each item in the data segment part has an identification number. Value Mnemonic Data Segment 17219 Character Complement 17232 Copyright 18260 Global TrueType Data 20545 Panose Description 22618 X windows font name 65535 Null Segment *Segment Size (UI) - indicates the size of each item in the data segment.
  • Page 77 Revision C 16/01/96 [Bitmapped font ] Byte Data 0 - 1 Format Continuation 2 - 3 Descriptor size Class 4 - 5 Orientation Reserved 6 - 7 Left offset 8 - 9 Top offset 10 - 11 Character width 12 - 13 Character height 14 - 15 Delta X 16 - Raster Character Data <...
  • Page 78 Revision C 16/01/96 • Character height (UI) - the height of the download character in grid dots. This can be in the range 1 to 16384. • Delta X (UI) - the horizontal distance from the bottom left hand corner of the character’s grid that the cursor is moved after the character is printed.
  • Page 79 Revision C 16/01/96 • Class (UB) . indicates the character format. Value Class Bitmap Compressed Bitmap Contour (Intellifont scalable) Compound Contour (Intellifont scalable) TrueType Scalable • Contour data size (UI) - specifies the contour data size. • Metric Data offset (SI) - relative to the address of the coutour data size field. •...
  • Page 80 Revision C 16/01/96 • The character data follows these header bytes. Characters are represented as raster data and the data bytes are used to build up an image of the character from left to right and from top to bottom, according to the character width and height settings.
  • Page 81 Revision C 16/01/96 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 Revision C 16/01/96 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

    Revision C 16/01/96 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.
  • Page 84 Revision C 16/01/96 Set source transparency Esc*v#N (27)(42)(118)#(78) <1Bh><2Ah><76h>#<4Eh> • This command sets the source image transparency. • # is either 0 or 1. Set # to 0 to select transparent mode, and to 1 to specify opaque mode. • Transparent mode means that parts of the destination image will be visible through the white space areas of the source image when the source image has been printed on top of the destination image.
  • Page 85 Revision C 16/01/96 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. • Transparent mode means that parts of the destination image will be visible through the patterned areas of the source image when the source image has been printed on top of the destination image.
  • Page 86: Fill Patterns

    Revision C 16/01/96 Set area fill identity Esc*c#G (27)(42)(99)#(71) <1Bh><2Ah><63h>#<47h> • This command sets the pattern ID of a shading tone, a fill pattern, or a user-defined pattern for subsequent selection with the Set Pattern Type command. • # 1 ~ 100 specify the percentage of a gray scale. •...
  • Page 87: Set Pattern Reference Point

    Revision C 16/01/96 < For model HL-10h, HL-1260 and HL-660 > 0 - 1 Format (20) Continuation (0) 2 - 3 Pixel Encoding (1) Reserved (0) 4 - 5 Height in Pixels 6 - 7 Width in Pixels 8 - 9 X resolution 10 - 11 Y resolution...
  • Page 88: Set Pattern Type

    • # = 4 selects the user-defined pattern • # = 130 selects one of the 64 gray scales. You can specify the gray scale you require as a percentage (0-100%) with the Set Area Fill Identity command. This feature is unique to this HL-Series printer. 100%...
  • Page 89: Set Rectangle Width

    Revision C 16/01/96 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 90: Set Rectangle Height

    Revision C 16/01/96 Set rectangle height Esc*c#B (27)(42)(99)#(66) <1Bh><2Ah><63h>#<42h> • This command sets the height of the rectangle to be printed in dots. • # is a number of dots. Esc*c#V (27)(42)(99)#(86) <1Bh><2Ah><63h>#<56h> • This command sets the height of the rectangle to be printed in decipoints. •...
  • Page 91 Revision C 16/01/96 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 92: Raster Graphics

    Revision C 16/01/96 Raster graphics 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. 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 93: Set Raster Area Height

    Revision C 16/01/96 • The default value of # is 3. (X1,Y1) = Cursor position (X1, Y1) (X1, Y1) Landscape Portrait (X1, Y1) (X1, Y1) Landscape Portrait 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. •...
  • Page 94: Set Raster Y-offset

    Revision C 16/01/96 Set raster y-offset Esc*b#Y (27)(42)(98)#(89) <1Bh><2Ah><62h>#<59h> • This command sets the offset (number of blank rows to be skipped) for the raster image to be printed. • # is the number of rows that are left blank at the top of the image. •...
  • Page 95 Revision C 16/01/96 • # = 5 indicates that adaptive compression is to be used. This compression compresses multiple rows (block) into one transfer graphics command. Most of other compression method compresses only one row to one transfer graphics command. One transfer graphic command (ESC *b##W) can contain only up to 32,767 bytes.
  • Page 96 Revision C 16/01/96 Command byte for mode 9 compression (non repeated replacement data) Offset count Replacement count-1 Control bit 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.
  • Page 97 Revision C 16/01/96 If the control bit is 1, replacement data is repeated data. Bits 6 to 5 contain the offset count and bits 4 to 0 contain the 'replacement count(repeat count) - 2'. If bit 6 and bit 5 are '1', then an optional offset byte follows the control byte. If the value of this optional offset byte is 255, another (second) optional offset byte follows the first optional offset byte.
  • Page 98 Revision C 16/01/96 • # = 1152 indicates that CCITT G3/G4 data compression is to be used. This format is popular in optical document storage area as this compression is effective to store black and white type pictures. As G3/G4 format does not have picture size/resolution information, the printer requires a header at the beginning of the picture data.
  • Page 99: Start Raster Transfer

    600 dpi. We recommend 150 dpi or less resolution for APT to reduce data size. • # = 1025 indicates the Brother origianl Compression Method. • # = 1026 indicates the Brother Advanced Data Transfer Mode. Start raster transfer Esc*r#A (27)(42)(114)#(65) <1Bh><2Ah><72h>#<41h>...
  • Page 100: Send Raster Data

    Revision C 16/01/96 Send raster data Esc*b#W<data> (27)(42)(98)#(87) <1Bh><2Ah><62h>#<57h> • This command sends a single row of the raster image to the printer for printing. • # signifies the number of bytes to be sent. • If more data is transmitted than can be fitted onto one row of the specified raster area, the excess data will be ignored.
  • Page 101 Revision C 16/01/96 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";...
  • Page 102: Vector Graphics

    Revision C 16/01/96 Vector graphics For large-scale graphic images it is more efficient to use vector graphics. In Laserjet 4 emulation mode you can set up the page area on which to print vector graphics images. The vector graphics capabilities of this HL Series printer working in HP-GL/2 mode are described in the HP-GL/2 section of this manual.
  • Page 103: Specify Vertical Plot Size

    Revision C 16/01/96 Specify vertical plot size Esc*c#L (27)(42)(99)#(76) <1Bh><2Ah><63h>#<4Ch> • This command specifies the height in inches of an imported image. • # is the height of the image in inches. • # can be in the range 0 to 32767 and can have up to four places of decimals. •...
  • Page 104: Macro Id

    Revision C 16/01/96 Macros 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 105: End Macro Definition

    Revision C 16/01/96 End macro definition Esc&f1X (27)(38)(102)(49)(89) <1Bh><26h><66h><31h><59h> • This command terminates the macro definition. 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: Delete All Macros

    Revision C 16/01/96 Handling macros Delete all macros Esc&f6X (27)(38)(102)(54)(89) <1Bh><26h><66h><36h><59h> • This command deletes all macros from the printer’s memory. Delete all temporary macros Esc&f7X (27)(38)(102)(55)(89) <1Bh><26h><66h><37h><59h> • 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: Make Macro Permanent

    Revision C 16/01/96 Make macro permanent Esc&f10X (27)(38)(102)(49)(48)(89) <1Bh><26h><66h><31h><30h><59h> • This command makes the macro whose ID number was specified most recently permanent (that is, it will be retained if the printer is reset). Macro example 10 REM ***** A EXAMPLE OF A MACRO ***** 20 ESC$=CHR$(27) 30 WIDTH "LPT1:",255 40 REM --- RESET PRINTER ---...
  • Page 108 Revision C 16/01/96 Execute data The data saved in the PCMCIA card by using Printer's control panel "SAVE DATA" function can be printed by the following command. It is also printed by the operation of Printer control panel. EscCR!#E (27)(13)(33)#(69) <1Bh><0Dh><21h>#<45h>...
  • Page 109 Revision C 16/01/96 AppleTalk Configuration Esc&b#W[key]<sp>[value] (27)(38)(98)#(87)[Key](32)[value] <1Bh><26h><62h>#<57h>[Key]<20h>[value] • # value can be from 0 to 32767. • # stands for number of bytes in the data which is followed this command. • [key] should be [RENAME], [JOB] or [TYPE]. •...
  • Page 110: Status Readback

    Revision C 16/01/96 Status readback 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. - available printer(user) memory - current available fonts and symbol sets - the ID numbers of downloaded macros and user-defined patterns to verify their...
  • Page 111: Status Response

    Revision C 16/01/96 Status Response If a status request (command) is received, the printer produces the response data. The printer accumulates this data in an I/O status buffer and saves the response in this buffer until a user reads it or you turn off the printer. The printer clears the status responses when Printer resolution or Page protection or Emulation language is changed.
  • Page 112 Revision C 16/01/96 Set Status Readback Location Type ESC*s#T (27)(42)(115)#(84) <1Bh><2Ah><73h>#<54h> This command determines the status location type to the value of #. The location type is used in association with the location unit in order to specify an entity location for a status request.
  • Page 113: Macro

    Revision C 16/01/96 Inquire Status Readback Entity ESC*s#I (27)(42)(115)#(73) <1Bh><2Ah><73h>#<49h> • Specifies the entity type and makes the printer produce a status response for the entity identified in the status readback location (type and unit). Value entity type Font Macro User-defined Pattern Symbol set Font extended...
  • Page 114: Bitmap Fonts

    Revision C 16/01/96 Bitmap Fonts With regard to bitmap fonts, the printer returns the "SELECT=" line. This specifies the font selection features. For instance, the printer returns the printer's internal, bitmap, Roman-8 LetterGothic font as follows. INFO FONTS SELECT"=<Esc>(8U<Esc>(s0p16.66h8.5v0s0b130T" Bound Scalable Fonts With regard to bound scalable fonts, an underscore( "...s1p__v0s...,") in the "SELECT="...
  • Page 115 Revision C 16/01/96 Location Type 1 (currently selected) Font With regard to a status location type 1 (currently selected) font, the printer returns a single font, the printer font which is currently selected. The following are the keywords and data returned. The printer returns the "LOCTYPE="...
  • Page 116 Revision C 16/01/96 Font Extended Response The font extended response supplies a method to return the name and internal ID number of the font as well as the "SELECT=" line. It is the same as a font status response since "SELECT=", "SYMBOLSETS=", "LOCTYPE=", and "LOCUNIT="...
  • Page 117 Revision C 16/01/96 Macro Response The status response for macros indicates all of the macro IDs ("IDLIST=") for the macros in a particular location. Status location type 1( selected at present ) is an ineffective location for macros and an error is returned. A macro status response may be shown as follows.
  • Page 118 Revision C 16/01/96 Symbol Set Response The symbol set response indicates all of the symbol set IDs ("IDLIST") for all of the symbol sets in the identified location. There can be bound and unbound scalable fonts in the identified location (type and unit). A symbol set response may be shown as follows.
  • Page 119 If a Brother HL-10h 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 120 Revision C 16/01/96 Flush All Pages Command ESC&r#F (27)(38)(114)#(70) <1Bh><26h><72h>#<46h> This command suspends accepting data from a PC and clears the user memory. • #=0 suspends receiving data and ejects all complete data. Incompleted data remains in the printers memory. •...
  • Page 121 Revision C 16/01/96 INDEX Escape, 6 Exit current emulation mode, 14 adaptive compression, 80 anchor point, 87 AppleTalk Configuration, 94 factory default environment, 9 APT, 84 factory default settings, 13 area fill, 71 fill pattern, 73 fixed spacing, 41 fixed underlining, 45 floating underlining, 45 Flush All Pages Command, 105 font descriptor, 47...
  • Page 122 Revision C 16/01/96 Location Unit - Status Readback, 97 Scaling of scalable fonts, 43 Logical page, 15 secondary font, 6 lower cassette, 11 Selecting a downloaded font, 47 Selecting the height, 42 Selecting the pitch, 42 Selecting the stroke weight, 44 Selecting the style, 43 Selecting the symbol set, 39 macro execution, 90...
  • Page 123 Revision C 16/01/96 width - raster area, 78 y-offset (raster), 79 Chapter 2 "PCL" - 3...
  • Page 124: Printer Job Language

    Revision C 16/01/96 Chapter 3 Printer Job Language Chapter 3 "PJL" - 1...
  • Page 125: Introduction

    Revision C 16/01/96 TABLE OF CONTENTS TABLE OF CONTENTS ............................2 1. INTRODUCTION ..............................4 1.1 A PJL..............................4 BOUT 1.2. I -PJL P ..................... 5 N CASE OF USING WITH NON RINTER 1.3. PJL S ........................... 6 YNTAX AND ORMAT 1.4.
  • Page 126 Revision C 16/01/96 7. STATUS READBACK COMMANDS........................33 7.1. I ............................33 NTRODUCTION Synchronization with the printer.......................33 Basic Format of Status Readback Responses ....................33 7.2. I ............................34 NQUIRE OMMAND 7.3. DINQUIRE C ..........................36 OMMAND 7.4. ECHO C ............................38 OMMAND 7.5. INFO C ............................39 OMMAND ID Category .............................40...
  • Page 127: Introduction

    Revision C 16/01/96 1. INTRODUCTION 1.1 About PJL Printer Job Language(PJL) provides job status control by sending the printer status information to the application. PJL can be a valuable tool for the single-user environment, but is a much more useful tool for the networking / sharing environment.
  • Page 128: In Case Of Using Pjl With Non-pjl Printer

    Revision C 16/01/96 1.2. In case of using PJL with non-PJL Printer Our resent printer models HL-10h, HL-600 series, HL-660 and HL-1260 support PJL, however, earlier models do not . If the PJL commands are sent to a non-PJL printer, the printer acts as follows; 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 129: Pjl Syntax And Format

    Revision C 16/01/96 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 130: Variables

    Revision C 16/01/96 1.4. Variables PJL can use alphanumeric, numeric variables and strings. Alphanumeric variables The first character must always be a character in any combination 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 131: How To Use Pjl

    Revision C 16/01/96 2. HOW TO USE PJL 2.1. Overview PJL resides "above" printer languages such as Postscript and PCL. Each job can be distinguished from the other jobs by PJL, and it can switch between PJL commands and printer language commands for each job.
  • Page 132: Command Group

    Revision C 16/01/96 3 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. (HL-1260, HL-660 only) SUPERUSEROFF Exit from the SUPERUSER mode.
  • Page 133: Kernel Commands

    Revision C 16/01/96 4. KERNEL COMMANDS 4.1. Introduction This section explains three PJL command, UEL, ENTER and COMMENT. These commands provide the minimum set of tools to operate job control. UEL command (Universal Exit Command) ENTER command COMMENT command 4.2. UEL Command The Universal Exit Command causes the printer to exit the current printer language and sets the printer into PJL mode.
  • Page 134: Execute Command

    Revision C 16/01/96 4.3. EXECUTE command The EXECUTE command orders the printer to execute the specified operation. This command is supported only by HL-660 series printer. Syntax : @PJL ENTER operation [<CR>]<LF> Parameters : • • operation SHUTDOWN : The printer goes into the sleep mode. DEMOPAGE : The printer prints the demo page.
  • Page 135: Comment Command

    Revision C 16/01/96 Example : <ESC>%-12345X@PJL<CR><LF> @PJL ENTER LANGUAGE = PCL <CR><LF> <ESC>E..PCL JOB..<ESC>E <ESC>%-12345X @PJL COMMENT Start of Postscript job <CR><LF> @PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF> %!PS-ADOBE..Postscript JOB..^D <ESC>%-12345X @PJL COMMENT End of Postscript job <CR><LF> <ESC>%-12345X 4.5. COMMENT command The COMMENT command is used to add an information line, such as an explanation for the PJL command.
  • Page 136: Printer Language Switching

    Revision C 16/01/96 4.6. Printer Language Switching There are three methods of switching printer languages. Explicit Switching Explicit switching means the method which uses the PJL ENTER LANGUAGE command to switch to the desired emulation. As the desired emulation is explicitly specified, this method is the most reliable. Implicit Switching If a default printer language is configured, and the PJL ENTER command is not described on a PJL line, the printer uses the default printer emulation.
  • Page 137: Job Separation Commands

    Revision C 16/01/96 5. JOB SEPARATION COMMANDS 5.1. Introduction This section explains two PJL command, JOB and EOJ. These commands are used to determine the boundaries of a job. When these commands are used with status readback, the printer also can send status information at the beginning and end of each job.
  • Page 138: Eoj Command

    Revision C 16/01/96 • If job status is available and a JOB command is received, the printer returns a job status message. • NOTE: Resetting the page count according to unsolicited page status information does not affect the current page. Example : <ESC>%-12345X@PJL<CR><LF>...
  • Page 139 Revision C 16/01/96 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"...
  • Page 140: Environment Commands

    Revision C 16/01/96 6. ENVIRONMENT COMMANDS 6.1. Introduction The HL-10h, HL-1260 and HL-660 printers have many features which you are able to set using printer commands or through the printer control panel (remote printer console program). A combination of PJL commands and printer emulation commands allows you to set printer features to the desired state. This chapter describes the setting of printer features known as printer environments, and PJL commands you are able to use to set printer features to a desired state as follows;...
  • Page 141: Pjl Reset Conditions

    Revision C 16/01/96 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 PJL reset conditions The result of PJL reset conditions is different from that of a printer language reset (for example, ESC...
  • Page 142: Remember About Environments

    Revision C 16/01/96 Remember about environments Remember the following points when you use PJL to set the printer to a desired state. 1. The current feature settings are the same as the control panel values ( or values in the remote printer console program) when beginning a PJL job.
  • Page 143: Variables

    Revision C 16/01/96 6.2. Variables Variables for HL-10h 1) General PJL Environment Variables The PJL environment variables which are not printer language-specific are listed in the following table. When using these valuables, do not use the LPARM. Variables Description Sample Value Range COPIES Number of uncollated copies for each page 1 to 999...
  • Page 144 Revision C 16/01/96 2)PCL-Specific Variables The following values are PCL (HP LaserJet 4 emulation) specific and can be set and requested using PJL. These variables must be set using LPARM : PCL option. Variables Description Sample Value Range FONTSOURCE The valid values for FONTSOURCE are I, C, C1, S, I (Internal Fonts) C(Cartridge Fonts)
  • Page 145: Variables For Hl-660

    Revision C 16/01/96 Variables for HL-660 1) General PJL Environment Variables The PJL environment variables which are not printer language-specific are listed in the following table. When using these valuables, do not use the LPARM. Variables Description Sample Value Range COPIES Number of uncollated copies for each page of 1 to 200...
  • Page 146 Revision C 16/01/96 2) PCL-Specific Variables The following values are PCL (HP LaserJet 4 emulation) specific and can be set and requested using PJL. These variables must be set using LPARM : PCL option. Variables Description Sample Value Range PAPER Set the paper size.
  • Page 147 Revision C 16/01/96 3) EPSON-Specific Variables The following values are EPSON (EPSON FX-850 emulation) specific and can be set and requested using PJL. These variables must be set using LPARM : EPSON option. Variables Description Sample Value Range PAPER Set the paper size. LETTER, A4, LEGAL, B5, EXECUTIVE, COM10, MONARCH, C5, DL, JISB5,...
  • Page 148 Revision C 16/01/96 4) IBM-Specific Variables The following values are IBM (IBM Proprinter XL emulation) specific and can be set and requested using PJL. These variables must be set using LPARM : IBM option. Variables Description Sample Value Range PAPER Set the paper size.
  • Page 149: Variables For Hl-1260

    Revision C 16/01/96 Variables for HL-1260 1) General PJL Environment Variables The PJL environment variables which are not printer language-specific are listed in the following table. When using these valuables, do not use the LPARM. Variables Description Sample Value Range COPIES Number of uncollated copies for 1 to 999...
  • Page 150 Revision C 16/01/96 Variables Description Sample Value Range DUPLEX Duplex mode ON, OFF BINDING Returns the setting of binding edge LONGEDGE, SHORTEDGE for duplex printing. FIRSTPRINT First print mode. This makes the NORMAL, MIDDLE, HIGH first print speed faster by moving the polygon motor at Power On.
  • Page 151 Revision C 16/01/96 2)PCL-Specific Variables The following values are PCL (HP LaserJet 4 emulation) specific and can be set and requested using PJL. These variables must be set using LPARM : PCL option. Variables Description Sample Value Range FONTSOURCE The valid values for I, C, C1, S, FONTSOURCE are I (Internal Fonts)
  • Page 152: Default Command

    Revision C 16/01/96 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 153: Initialize Command

    Revision C 16/01/96 6.4. Initialize command The INITIALIZE command resets the PJL Current Environment and User Default Environment variables to the Factory Default values. I/O configuration values and the unsolicited status settings are not affected by this command. It is recommended to restrict the use of the INITIALIZE command when the printer is shared by several users such as in a networking environment in order to use a standard environment and avoid having default features changed by different print jobs.
  • Page 154: Reset Command

    Revision C 16/01/96 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 which use the PJL SET command. Syntax : @PJL RESET [<CR>]<LF> Parameters : •...
  • Page 155: Set Command

    Revision C 16/01/96 6.6. Set command The SET command enables you to change the value of PJL Current Environment variables during a PJL job, or until a PJL reset condition resets the default values. Use this command to make a job-specific environment. Syntax: @PJL SET [LPARM : personality ] variable = value [<CR>]<LF>...
  • Page 156: Status Readback Commands

    Revision C 16/01/96 7. STATUS READBACK COMMANDS 7.1. Introduction Applications can request, by sending a PJL command to the printer, information such as 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 157: Inquire Command

    Revision C 16/01/96 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 of variables the value of which PJL can not change (Read-only).
  • Page 158 Revision C 16/01/96 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 PJL Default Settings** <CR><LF> @PJL ECHO 19:15:00 02-20-1993 <CR><LF> @PJL INQUIRE RET <CR><LF>...
  • Page 159: Dinquire Command

    Revision C 16/01/96 7.3. DINQUIRE Command The DINQUIRE command is used so as to get the information of the default value of a specific variable in the PJL Environment. (User Default Settings). It is also possible to get the value from variables which PJL can not change (Read-only).
  • Page 160 Revision C 16/01/96 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>...
  • Page 161: Echo Command

    Revision C 16/01/96 7.4. ECHO Command The ECHO command requests the printer to send back a specified message, in order to ensure that the printer is ready for communication with the application and that the received answer from the printer is what the application requested.
  • Page 162: Info Command

    Parameters : Category Information requesting The printer model number. For example the HL-10h will return 'Brother HL-10h'. 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 163: Id Category

    <ESC>%-12345X The printer sends back the answer for the above INFO command if the printer name is HL-10h : @PJL INFO ID<CR><LF> "Brother HL-10h"<CR><LF> <FF> CONFIG Category The application can use @PJL INFO CONFIG command to have the printer return a list of printer configuration information.
  • Page 164 Revision C 16/01/96 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 IN TRAYS (paper sources) 48-57) OUT TRAYS (output trays) * Beginning with a PAPER (paper sizes) letter...
  • Page 165: Memory Category

    Revision C 16/01/96 LANGUAGES [5 EMULATED]<CR><LF> PCL<CR><LF> POSTSCRIPT<CR><LF> IBM<CR><LF> EPSON<CR><LF> HPGL<CR><LF> USTATUS [4 ENUMERATED] DEVICE<CR><LF> JOB<CR><LF> PAGE<CR><LF> TIMED<CR><LF> FONT CARTRIDGE SLOTS [2 ENUMERATED]<CR><LF> CARTRIDGE<CR><LF> CARTRIDGE1<CR><LF> MEMORY=2097152<CR><LF> DISPLAY LINES=1<CR><LF> DISPLAY CHARACTER SIZE=16<CR><LF> <FF> In this example, IN TRAYS [2 ENUMERATED] indicates that there are two options in IN TRAYS (paper sources), and MEMORY=2097152 indicates the RAM size in the printer is 2097152 bytes.
  • Page 166: Status Category

    Revision C 16/01/96 STATUS Category The application can use @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 167 Revision C 16/01/96 A4<CR><LF> EXECUTIVE<CR><LF> MONARCH<CR><LF> COM10<CR><LF> 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>...
  • Page 168: Ustatus Category

    Revision C 16/01/96 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> ..WIN30<CR><LF> HPGERM<CR><LF>...
  • Page 169 Revision C 16/01/96 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...
  • Page 170: Ustatus Command

    Revision C 16/01/96 7.6. USTATUS Command Sending the USTATUS command makes unsolicited printer status (sending the printer status information to the host computer automatically without being requested for it) valid or invalid. If the unsolicited status is set to ON with the USTATUS command, the printer sends unsolicited status information to the host computer at the time interval set by USTATUS TIMED command from when the status changes.
  • Page 171: Device Variable

    Revision C 16/01/96 Device Variable The @PJL USTATUS DEVICE command allows the printer to send status messages when the printer status changes. The printer will send the status by the status code shown in the table below. Status code Status 10000 - 10999 Status information such as printer on-line or off-line.
  • Page 172: Job Variables

    Revision C 16/01/96 JOB Variables The @PJL USTATUS JOB = ON command allows the printer to send the job processing status. This is sent to the application whenever a JOB and EOJ command is issued so that the application knows when a job starts and ends.
  • Page 173: Timed Variable

    Revision C 16/01/96 TIMED Variable The @PJL USTATUS TIMED = XXX command enables the printer to send printer status information to the application at the specified time period. This time interval can be set to 0 and from 5 to 300 seconds. If set to 0, this function is turned off. If set to any value between 5 and 300, the printer automatically sends to the application "CODE = XXXXX"...
  • Page 174: Ustatusoff Command

    Revision C 16/01/96 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.
  • Page 175: Device Attendance Commands

    Revision C 16/01/96 8. DEVICE ATTENDANCE COMMANDS 8.1. Introduction You can change display messages on the printer control panel by using PJL. The Operator can be alerted by this feature to what specific actions should be taken. This chapter shows you three device attendance commands.
  • Page 176: Rdymsg Command

    Revision C 16/01/96 8.2. RDYMSG Command With the RDYMSG command, you can change the message "00 READY" on the printer control panel into a specified message. The printer will be kept online. Syntax : @PJL RDYMSG DISPLAY = " message " [<CR>]<LF> Parameters : Parameter Functional Range...
  • Page 177: Opmsg Command

    Revision C 16/01/96 8.3. OPMSG Command With the OPMSG command, you can display any message you like on the printer switch panel LCD. The printer will go off-line and stop printing until the operator presses the ON LINE key or resets the printer (Press SHIFT key and RESET key, then press SET key.) Syntax : @PJL OPMSG DISPLAY = "...
  • Page 178: Stmsg Command

    Revision C 16/01/96 8.4. STMSG Command With the STMSG command, you can display any message you like on the printer switch panel LCD. The printer will go off-line and stop printing until the operator presses the ON LINE key or resets the printer (Press SHIFT key and RESET key, then press SET key.) When the printer is put back to on-line by the operator, the printer returns a status message giving the name of key.
  • Page 179 Revision C 16/01/96 INDEX Basic Format of Status Readback Responses, 33 MEMORY Category for INFO command, 43 COMMENT command, 12 OPMSG Command, 55 conditions, 8 CONFIG Category for INFO command, 41 Context Switching, 13 PAGE Variables for USTATUS command, 50 PCL-Specific Variables, 23 PERMFONT, 11 Default command, 29...
  • Page 180 Revision C 16/01/96 Chapter 4 Diablo 630 Chapter 4 "Diablo 630" - 1...
  • Page 181: Command List

    Revision C 16/01/96 Command list Bell Esc US n Set horizontal motion index (HMI) Esc S Reset horizontal motion index (HMI) Esc RS n Set vertical index (VMI) Space Backspace Esc BS Backspace 1/120" Esc 5 Set forward printing mode Esc 6 Set backward printing mode Esc /...
  • Page 182: Introduction

    Revision C 16/01/96 1. Introduction In this emulation mode you can drive the printer directly by incorporating control codes and escape sequences in your program, or alternatively, applications software (for example, your word-processing software) may send the necessary commands to the printer automatically. Check the manual that came with your software package for instructions on how to configure your software to run in Diablo 630 mode.
  • Page 183: Controlling The Printer

    Revision C 16/01/96 3. Terminology 3.1. Syntax The following conventions are used in this description of the Diablo 630 mode software commands: A letter, control code, word or number in upright bold text is a literal character and should be sent to the printer as the character code.
  • Page 184 Revision C 16/01/96 4.2. Control codes Control codes are ASCII codes that instruct the printer to perform a particular operation, such as a line feed. Send a control code to the printer by sending the same type of instruction you would use to print a character using its ASCII code number.
  • Page 185: Set Horizontal Motion Index (hmi)

    Revision C 16/01/96 5. Commands 5.1. Basic printer operation 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 three instructions which are part of the Diablo 630 mode instruction set, but which the HL Series printers ignore are included.
  • Page 186 Revision C 16/01/96 Set vertical motion index (VMI) EscRSn (27)(30)n <1Bh><1Eh>n Ÿ This command sets the unit of vertical movement - the vertical motion index or VMI. The VMI is the vertical distance the print position moves on the page when a line feed is performed. The setting determines the distance the print position moves when vertical tab commands are invoked.
  • Page 187: Set Forward Printing Mode

    Revision C 16/01/96 Set forward printing mode Esc5 (27)(53) <1Bh><35h> Ÿ This command enables the printer to print text to the right of the right margin. Ÿ Text cannot be printed outside the printable area. Ÿ The Set Backward Printing Mode command, Esc 6, the Auto Backward Printing Mode command, Esc /, and the carriage return control code, CR, all cancel forward printing.
  • Page 188: Reverse Line Feed

    Revision C 16/01/96 Half line feed EscU (27)(85) <1Bh><55h> Ÿ This command moves the current print position down the page by a distance equal to half the current VMI. Ÿ If the print position is such that this operation would move it beyond the bottom margin, the print position is moved to the top of the next page instead.
  • Page 189: Carriage Return

    Revision C 16/01/96 Carriage return (13) <0Dh> Ÿ The CR control code (ASCII 13) moves the print position to the left margin on the current line. Ÿ If automatic line feed is on, this code moves the current print position to the left margin on the next line.
  • Page 190: Cancel Graphics Mode

    Revision C 16/01/96 Cancel graphics mode Esc4 (27)(52) <1Bh><34h> Ÿ This command turns off graphics mode. LPRINT CHR$(27); CHR$(52); 'Turn graphics mode off Enable printer (17) <11h> Ÿ The printer ignores this command. Disable printer (19) <13h> Ÿ This command disables the printer, preventing it from accepting or printing any data. LPRINT CHR$(19);...
  • Page 191: Set Epson Emulation Mode

    Revision C 16/01/96 Set EPSON Emulation Mode Esc@ (27)(64) <IBh><40h> Ÿ Set emulation mode to EPSON FX-850 mode. User Reset EscCR!#R (27)(13)(33)#(82) <1Bh><0Dh><21h><#><52h> Ÿ # = 0, the printer is restored to the current user setting. Ÿ # = 1, the printer is restored to user settings 1. Ÿ...
  • Page 192: The Page

    Revision C 16/01/96 5.2. Page set up Control panel settings You can use the printer’s control panel to set automatic line feed, auto mask (two-line top and bottom margins on every page), paper size, top, bottom, left and right margins, the number of lines per page, the current font and the emulation mode.
  • Page 193: Set Bottom Margin At Current Position

    Revision C 16/01/96 Set bottom margin at current position EscL (27)(76) <1Bh><4Ch> Ÿ This command sets the horizontal line on which the current print position lies to be the bottom margin. Ÿ If the current print position is above the top margin the command is ignored. Ÿ...
  • Page 194: Set Right Margin At Current Position

    Revision C 16/01/96 Set right margin at current position Esc0 (27)(48) <1Bh><30h> Ÿ This command sets the vertical line on which the current print position lies to be the right margin. Ÿ The command is ignored if the current print position is to the left of the left margin or if the current print position is within 1/10"...
  • Page 195: Absolute Horizontal Tab

    Revision C 16/01/96 Absolute horizontal tab EscHTn (27)(09)n <1Bh><09h>n Ÿ This command moves the print position a distance of (n–1) times the current HMI in from the left edge of the printable area. Ÿ You can use this command to move the print position anywhere within the printable area irrespective of margin settings.
  • Page 196: Clear All Horizontal And Vertical Tabs

    Revision C 16/01/96 Clear all horizontal and vertical tabs Esc2 (27)(50) <1Bh><32h> Ÿ This command clears all horizontal and vertical tab stops set with the Esc 1 and Esc – commands. LPRINT CHR$(27); CHR$(50); 'Clear all tabs 5.4. Characters Set proportional spacing EscP (27)(80) <1Bh><50h>...
  • Page 197: Set Shadow Print Mode

    Revision C 16/01/96 Set shadow print mode EscW (27)(87) <1Bh><57h> Ÿ This command selects shadow characters. Subsequent text on the current line only is printed with shadow. Ÿ Bold printed characters and shadow printed characters are the same. Ÿ You can use shadow print mode in conjunction with underline and auto strike-out modes. Ÿ...
  • Page 198: Cancel Auto Strike-out Print Mode

    Revision C 16/01/96 Set auto strike-out print mode EscH (27)(72) <1Bh><48h> Ÿ This command turns on auto strike-out print mode. Subsequent text is overprinted with hyphens. Ÿ Shadow, bold and underlined characters can also be printed in strike-out mode. Ÿ Spaces are printed normally, that is, without a hyphen to strike them out.
  • Page 199 Revision C 16/01/96 INDEX horizontal tab, 6, 15 auto strike-out, 19 automatic line feed, 10 Ignored commands, 3 Backspace, 7 left margin, 14 backward printing, 8 Line feed, 8 Bell, 6 bold print, 17 bottom margin, 14 page length, 13 Paper Input Control, 13 proportional spacing, 17 Carriage return, 10...
  • Page 200 Revision C 16/01/96 Chapter 5 EPSON FX-850 Chapter 5 " EPSON FX-850 " - 1...
  • Page 201 Revision C 16/01/96 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 202 Revision C 16/01/96 Esc E Select emphasized character mode 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...
  • Page 203: Introduction

    Revision C 16/01/96 1. Introduction In this mode you can control this HL Series printer 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 204: The Control Panel

    Revision C 16/01/96 3. Terminology 3.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 205: Escape Sequence

    Revision C 16/01/96 4.2 Control codes Control codes are ASCII codes that instruct the printer to perform a particular operation, such as a line feed. You can send a control code to the printer by sending the same type of instruction you would use to print a character using its ASCII code number.
  • Page 206: Basic Printer Operations

    Revision C 16/01/96 5. Commands 5.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.
  • Page 207 Revision C 16/01/96 Line feed (10) <0Ah> Ÿ The LF control code (ASCII code 10) moves the current print position down one line, using the current line space setting. Ÿ This code does not cause a carriage return to be performed. Ÿ...
  • Page 208 Revision C 16/01/96 Select justification mode Escan (27)(97)n <1Bh><61h>n Ÿ This command allows you to select the justification mode for subsequent text. Ÿ Set n to 0 to select left justification. Ÿ Set n to 1 to centre subsequent text. Ÿ...
  • Page 209 Revision C 16/01/96 Select unidirectional printing Esc< (27)(60) <1Bh><3Ch> Ÿ This command has no effect. Select / cancel unidirectional printing EscU (27)(85) <1Bh><55h> Ÿ This command has no effect. Set data MSB to 0 Esc= (27)(61) <1Bh><3Dh> Ÿ This command enables you to set the most significant bit of incoming data bytes to 0. Ÿ...
  • Page 210 Revision C 16/01/96 Select / cancel half speed mode Escsn (27)(115)n <1Bh><73h>n Ÿ The printer ignores this command. Enable printer (17) <11h> Ÿ The printer ignores this command. Disable printer (19) <13h> Ÿ The printer ignores this command. Initialize printer Esc@ (27)(64) <1Bh><40h>...
  • Page 211 Revision C 16/01/96 User reset EscCR!#R (27)(13)(33)#(82) <1Bh><0Dh><21h>#<52h> Ÿ # = 0, the printer restores to the current user setting. Ÿ # = 1, the printer restores to user settings 1. Ÿ # = 2, the printer restores to user settings 2. Paper Input Control EscEMn (27)(25)n...
  • Page 212 Revision C 16/01/96 5.2. Page set up Set page length EscC n (27)(67)n <1Bh><43h>n Ÿ This command sets the page length in lines. EscCNULn (27)(67)(00)n <1Bh><43h><00h>n Ÿ This command sets the page length in inches. Ÿ The top of form position is set to be the current line. Ÿ...
  • Page 213 Revision C 16/01/96 Set right margin EscQn (27)(81)n <1Bh><51h>n Ÿ This command sets the right 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 214: Line Spacing

    Revision C 16/01/96 5.3. Line spacing Select 1/6" line spacing Esc2 (27)(50) <1Bh><32h> Ÿ This command sets the line spacing to 1/6". All subsequent line feed operations will move the print position 1/6" down the page. Ÿ This line spacing is the default setting when the printer is switched on or reset. LPRINT CHR$(27);...
  • Page 215 Revision C 16/01/96 Select n/216" line spacing Esc3n (27)(51)n <1Bh><33h>n Ÿ This command sets the line spacing to n/216". All subsequent line feed operations will move the print position n/216" down the page. Ÿ Since the printer’s resolution is 600 dots per inch the line spacing will not be exactly n/216". Ÿ...
  • Page 216: Using Tabs

    Revision C 16/01/96 5.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 217 Revision C 16/01/96 Set vertical tab stops EscBn1n2n3...NUL (27)(66)n1n2n3...(00) <1Bh><42h>n1n2n3...<00h> Ÿ This command enables you to set up to sixteen vertical tab stops based on the current line space setting. Ÿ The tab stops must be set in ascending order. If you specify the tab settings in any other order, any settings made with a previous Esc B command are cleared.
  • Page 218 Revision C 16/01/96 Set vertical channel tab stops Escbnm1m2m3...NUL (27)(98)nm1m2m3...(00) <1Bh><62h>nm1m2m3...<00h> Ÿ You can set up to eight different sets of vertical tab stops and select any of these sets for use at any time. Each set of tab stops is called a channel - channels are numbered from 0 to 7. Ÿ...
  • Page 219 Revision C 16/01/96 Select vertical tab channel Esc/ n (27)(47)n <1Bh><2Fh>n Ÿ This command allows you to select a set of vertical tabs (or channel) that you defined using the Esc b command. Ÿ All subsequent vertical tab commands use the selected tab channel’s settings. Ÿ...
  • Page 220 Revision C 16/01/96 5.5. Using standard characters Set pitch to 10 characters per inch EscP (27)(80) <1Bh><50h> Ÿ This command sets the printing pitch to 10 characters per inch (cpi). LPRINT CHR$(27); CHR$(80); 'Set pitch to 10 cpi Set pitch to 12 characters per inch EscM (27)(77) <1Bh><4Dh>...
  • Page 221 Revision C 16/01/96 Select condensed character mode II EscSI (27)(15) <1B><0F> Ÿ This command selects condensed character mode. Subsequent text characters are condensed horizontally when printed. Ÿ Selecting proportional spacing cancels condensed character mode. Ÿ This command functions exactly like the SI control code. LPRINT CHR$(27);...
  • Page 222 Revision C 16/01/96 Cancel double-strike mode EscH (27)(72) <1Bh><48h> Ÿ This command turns double-strike mode off. Subsequent text is printed with a medium stroke width. LPRINT CHR$(27); CHR$(72); 'Turn double-strike printing mode off Select / cancel double-width printing EscWn (27)(87)n <1Bh><57h>n Ÿ...
  • Page 223 Revision C 16/01/96 Select single-line double-width printing (II) EscSO (27)(14) <1Bh><03h> Ÿ This command turns double-width printing mode on for one line only. The subsequent line of text is printed using double-width characters and with the line spacing setting doubled. Ÿ...
  • Page 224 Revision C 16/01/96 Select superscript / subscript mode EscSn (27)(83)n <1Bh><53h>n Ÿ This command allows you to print superscripts or subscripts. Ÿ Set n to 0 to print subsequent text using superscript characters. Ÿ Set n to 1 to print subsequent text using subscript characters. Ÿ...
  • Page 225 Revision C 16/01/96 Select / cancel underline mode Esc– n (27)(45)n <1B><2D>n Ÿ This command turns character underlining on or off. Ÿ If n is set to 1 subsequent text is printed underlined. All characters, including space characters, are underlined with a continuous line. Ÿ...
  • Page 226 Revision C 16/01/96 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 227 This command allows you to choose between two character tables - the italic character table and the graphics character table. Ÿ The two tables are shown in the Epson FX-850 and Brother Twinriter DP modes section of the appendix at the end of this manual. Ÿ...
  • Page 228 Revision C 16/01/96 5.6. Using customized characters Define characters Esc&NUL n <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 229 Revision C 16/01/96 Ÿ Bits 1 to 4 of n specify the width in columns of the defined character in proportional spacing mode. The width in columns is the number held in bits 1 to 4. Characters can be up to fifteen columns wide, including skipped blank columns.
  • Page 230 Revision C 16/01/96 5.7. Graphics Select image mode Esc*mn1n2<image data> (27)(42)mn1n2..<1Bh><2Ah>mn1n2..Ÿ This command enables you to define and print a single line raster bit image on a single text line at a selected horizontal resolution. Ÿ and n define the number of bytes that comprise the image.
  • Page 231 Revision C 16/01/96 Reassign image mode Esc? cm (27)(63)cm <1Bh><3Fh>cm Ÿ This command enables you to redefine the horizontal resolution attached to a particular image mode. Hence, you could assign a density of 90 dots per inch to the image mode normally associated with 60 dots per inch, which is selected with the Esc K command.
  • Page 232 Revision C 16/01/96 Ÿ You can only use this command in portrait orientation. 10 WIDTH “LPT1”, 255 20 LPRINT “*** ESC ^ m n1 n2 ***” 30 LPRINT “--STANDARD DENSITY--” 40 M=0 50 GOSUB 120 60 LPRINT 70 LPRINT 80 LPRINT “--DOUBLE-DENSITY--” 90 M=1 100 GOSUB 120 110 END...
  • Page 233 Revision C 16/01/96 Print double-density image EscL n < image data > (27)(76)n1n2..<1Bh><4Ch>n1n2..Ÿ This command enables you to define and print a single line raster bit image on a single text line. Ÿ and n define the number of bytes that comprise the image. Ÿ...
  • Page 234 Revision C 16/01/96 Print double-speed double-density image EscY n < 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. Ÿ and n define the number of bytes that comprise the image. Ÿ...
  • Page 235 Revision C 16/01/96 Print quadruple-density image EscZ n < image data > (27)(90)n1n2..<1Bh><5Ah>n1n2..Ÿ This command enables you to define and print a single line raster bit image on a single text line. Ÿ and n define the number of bytes that comprise the image. Ÿ...
  • Page 236 Revision C 16/01/96 INDEX image mode, 31 Initialize, 11 inter-character space, 8 international character set, 28 9 bit image, 32 italic / graphics character table, 28 italic mode, 24 absolute print position, 9 justification, 9 Backspace, 7 BEL, 7 left margin, 13 Line feed, 8, 16 Line spacing, 15 Carriage return, 7...
  • Page 237 Revision C 16/01/96 Chapter 6 IBM Proprinter XL Chapter 6 " IBM Proprinter XL " - 1...
  • Page 238 Revision C 16/01/96 Command list Null Bell Escape Space Backspace Line Feed Form Feed Carriage return Esc5n Automatic line feed Enable printer EscQ22 Disable printer EscQ3 EscCRmode Reset printer / change emulation mode EscCR!#R User reset EscEMn Paper Input Control EscCn Set page length EscCNULn...
  • Page 239 Revision C 16/01/96 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> Chapter 6 " IBM Proprinter XL " - 3...
  • Page 240: Introduction

    Revision C 16/01/96 1. Introduction This HL Series printer offers 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 241: Notation Used In This Emulation Description

    Revision C 16/01/96 2.6 Escape sequences Escape sequences tell the printer which Proprinter function to perform. An escape sequence consists of the ESC character followed by one or more characters which define the operation to be performed. Send an escape sequence to the printer by sending the same type of instruction you would use to print characters using their ASCII codes.
  • Page 242 Revision C 16/01/96 Escape (27) <1Bh> Ÿ The ESC control code (ASCII 27) marks the start of an escape sequence. LPRINT CHR$(27); Space (32) <20h> Ÿ The SP control code (ASCII 32) moves the current print position one space to the right. LPRINT CHR$(32);...
  • Page 243 Revision C 16/01/96 Carriage return (13) <0Dh> Ÿ The CR control code (ASCII 13) moves the current print position to the left margin on the current line. Ÿ If automatic line feed is ON, this code moves the current print position to the left margin on the next line.
  • Page 244 Revision C 16/01/96 Change emulation mode EscCR<mode> (27)(13)mode <1Bh><0Dh>mode Ÿ This command changes the printer emulation mode or performs a reset. Ÿ mode can be ‘E’ (Epson), ‘P’ or ‘D’ (Diablo), ‘H’ (Laserjet 4), ‘I’ (IBM Proprinter XL), 'AB' (BR-Script Batch), 'AI' (BR-Script Interactive), 'GL' (HP-GL) or ‘FD’ (factory default). Ÿ...
  • Page 245: Page Format

    Revision C 16/01/96 4.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 246 Revision C 16/01/96 Set perforation skip EscNn (27)(78)n <1Bh><4Eh>n Ÿ This command sets the bottom margin and enables perforation skip, that is, whenever the print position reaches the bottom margin the printer performs a page eject and moves the print position to the top of the next page.
  • Page 247 Revision C 16/01/96 Save n/72" line spacing EscAn (27)(65)n <1Bh><41h>n Ÿ This command allows you to select a line spacing of n/72". Your selection does not take effect until you activate it with the Esc 2 command. Ÿ Since the printer's resolution is 600 dots per inch the line spacing may not be exactly n/72". Ÿ...
  • Page 248 Revision C 16/01/96 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 249 Revision C 16/01/96 Restore default tab settings EscR (27)(82) <1Bh><52h> Ÿ This command restores the default horizontal tab settings which are at every eight columns, starting at the ninth column. There are no default vertical tab settings. LPRINT CHR$(27); CHR$(82); 'Restore default tab stops. 4.3 Using characters Select character set I Esc7...
  • Page 250 Revision C 16/01/96 Proportional spacing EscP n (27)(80)n <1Bh><50h>n Ÿ This command allows you to turn proportional spacing on or off. Ÿ Setting n to 1 turns proportional spacing on. Subsequent text is printed proportionally spaced. Ÿ Setting n to 0 turns proportional spacing off. Subsequent text is printed monospaced. Ÿ...
  • Page 251 Revision C 16/01/96 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 252 Revision C 16/01/96 Set superscript or subscript character mode EscSn (27)(83)n <1Bh><53h>n Ÿ This command allows you to print superscripts or subscripts. Ÿ Set n to 0 to print subsequent text using superscript characters. Ÿ Set n to 1 to print subsequent text using subscript characters. LPRINT CHR$(27);...
  • Page 253 Revision C 16/01/96 Select double-height / double-width mode Esc[@n1n2n3n4n5n6 (27)(91)(64)n1n2n3n4n5n6 <1Bh><5Bh><40h>n1n2n3n4n5n6 Ÿ This command enables you to select single or double line spacing and single or double character height and width. Ÿ should be set to 4 and n and n to 0.
  • Page 254 Revision C 16/01/96 Select character font EscIn (27)(73)n <1Bh><49h>n Ÿ This command enables you to select a font and choose the print quality. Ÿ If n is set to 0 the printer's standard font and draft quality are selected. Ÿ If n is set to 2 the printer's standard font and letter quality are selected.
  • Page 255 Revision C 16/01/96 Ÿ If bits 1 and 2 of n are 00 and bit 8 is set to 0 the bytes that make up the character definition define rows 2 to 9 of the grid, the most significant bit representing the second dot, and the least significant bit representing the ninth dot down.
  • Page 256 Revision C 16/01/96 Set double-density image mode EscL n < image data > (27)(76)n1n2<image data> <1Bh><4Ch>n1n2<image data> Ÿ This command enables you to define and print a single line raster bit image on a single text line. Ÿ and n define the number of bytes that comprise the image.
  • Page 257 Revision C 16/01/96 Ÿ This printer always prints as fast as possible, hence this command is the exact equivalent of the Esc L command. 10 WIDTH "LPT1:", 255 20 LPRINT "*** ESC Y n1 n2 ***", CHR$(10); 30 FOR I=1 TO 5 40 '*DOUBLE-SPEED &...
  • Page 258 Revision C 16/01/96 INDEX automatic line feed, 7 left margin, 9 Line feed, 6 line spacing, 10 Backspace, 6 Bell, 5 overline, 16 Cancel, 15 Carriage return, 7 page length, 9 Character set, 4, 13 Paper Input Control, 8 characters, 18 perforation skip, 10 condensed character, 14 pitch, 13...
  • Page 259 Revision C 16/01/96 Chapter 7 Bar Code Control Chapter 7 "Bar Codes Control" - 1...
  • Page 260: Bar Code Control

    Revision C 16/01/96 Bar Code Control The printer can print bar codes in the HP LaserJet 4, Diablo, EPSON FX-850, and IBM Proprinter XL emulation modes. RINT ODES OR XPANDED HARACTERS ESC i n ... n \ (27)(105)n ... n (92) <1Bh><69h>n ...
  • Page 261 Revision C 16/01/96 (2) Bar Code Style, Expanded Character shading, Line Block Drawing & Box Drawing Shading Ÿ Bar Code Style n = “s0” or “S0” 3 : 1 (default) n = “s1” or “S1” 2 : 1 n = “s3” or “S3” 2.5 : 1 This parameter selects the bar code style as above.
  • Page 262 Revision C 16/01/96 all the current character style enhancements are masked. Note that the default setting is subject to the bar code mode selected by “t” or “T”. (5) Quiet Zone n = “onnn” or “Onnn” (nnn = 0 ~ 32767) Quiet Zone is the space on both side of the bar codes.
  • Page 263 Revision C 16/01/96 This parameter specifies the height of bar codes or expanded characters as above. It can take the prefix “h”, “H”, “d”, or “D”. The height is specified in the “u”- or “U”-specified unit. Note that the default setting of the bar code height (12 mm, 18 mm or 22 mm) is subject to the bar code mode selected by “t”...
  • Page 264 Revision C 16/01/96 Characters “0” to “9” can be data and it must be terminated by a check digit. “?” can be used in place of a check digit. Ÿ When the EAN 8, EAN 13, or UPC A is selected with the parameter “t5” or “T5”: Ten numerical characters “0”...
  • Page 265 Revision C 16/01/96 • When EAN 128 set A, set B or set C is selected with the parameter "t132" or "T132," "t133" or "T133" or "t134" or "T134" respectively: Same relues apply as for "t12" or "T12," "t13" or "T13", or "t14" or "T14." (13) Box Drawing ESC i ...
  • Page 266 Revision C 16/01/96 280 LPRINT CHR$(27); "it130r1s0x00y200b1234567?+12345\"; 300 ' LABEL PRINT 310 LPRINT CHR$(27); "ih10w10x25y2301Sample\"; 320 LPRINT CHR$(27); "ix90y230s4h10w10f2g2e"; 330 LPRINT CHR$(27); "ix105y230s4h10w10v"; 400 LPRINT CHR$(&HC); < Sample 19 > Chapter 7 "Bar Codes Control" - 8...
  • Page 267 Revision C 16/01/96 CHAPTER 8 HP-GL/2 Graphics Language Chapter 8 "HP-GL2" 1...
  • Page 268 Revision C 16/01/96 Table of Contents Initialization and default setting instructions Instruction Function page Default Set Instruction Initialize Set Instruction Plot area and unit setting instructions Instruction Function page Input scaling point Input relative scaling points Scale Input window Rotate coordinate system Pen Control and Plot Instructions Instruction Function...
  • Page 269 Revision C 16/01/96 Plot Function Instructions Instruction Function page Anchor Corner Fill Type Line Attribute Line Type Selection Pen Width Raster Fill Definition Symbol Mode Select Pen Screened Vectors Transparency Mode User-defined Line Type Select Unit for Pen Width Character Plot Instructions Instruction Function page...
  • Page 270: Terminology

    Revision C 16/01/96 1. Introduction This HL-10h/1260/660 printer 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 271: Command Syntax

    Revision C 16/01/96 3. 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. Mnemonic The two-letter mnemonic is the name of the command and should help remind you of its function. Parameters Some commands have parameters following the instruction mnemonic.
  • Page 272: The Hp-gl Graphics Window

    Revision C 16/01/96 4. The HP-GL graphics window 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 273: Printing An Image

    Revision C 16/01/96 If you import an image without fulfilling these two criteria, that is, the image is not page size independent and you do not specify its horizontal and vertical plot sizes, the plot will be drawn actual size. Any part of the plot that falls outside the effective window will not appear on the printed page.
  • Page 274 Revision C 16/01/96 6. Commands 6.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...
  • Page 275 Revision C 16/01/96 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 276: Plot Area And Unit Setting Instructions

    Revision C 16/01/96 6.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 277 Revision C 16/01/96 IR - Input Relative Scaling Points IR [ P1x, P1y [, P2x, P2y]][;] P1x ; x-coordinate of P1 P1y ; y-coordinate of P1 P2x ; x-coordinate of P2 P2y ; y-coordinate of P2 • The coordinate values are percentages relative to the bottom left and top right hand corners of the picture frame.
  • Page 278 Revision C 16/01/96 • Type 0 scaling (anisotropic scaling, and the default) allows you to specify different sized x-axis and y-axis units. Hence the area specified by X , and Y will occupy the entire area defined by P1 and P2 (7,6) P1 (0,0) •...
  • Page 279 Revision C 16/01/96 (10,10) (10,10) (0,10) Extra space Extra space P1(0,0) SC0,20,0,10,1,100,100 SC 0,10,0,10,1,0,0 (10,10) Extra space Extra space (20,10) (10,0) (0,0) SC 0,10,0,10,1,100,100 SC 0,20,0,10,1,0,0 • You must either specify both left and bottom, or specify neither.However, the printer can only use one of these two parameters at a time, depending where the extra space is on a page.
  • Page 280 Revision C 16/01/96 220 END <Sample 21> Chapter 8 "HP-GL2" 14...
  • Page 281 Revision C 16/01/96 IW - Window IW [ X ] [;] -Window lower left X coordinate -Window lower left Y coordinate -Window upper right X coordinate Y -Window upper right Y coordinate • This instruction sets the window inside which drawing can be performed (the soft clip limits). •...
  • Page 282 Revision C 16/01/96 RO - Rotate coordinate system RO [ q ][;] q : Angle in degrees through which the coordinate system is rotated. • This instruction is used to rotate the graphics coordinate system anti-clockwise. • Using this instruction with no parameter sets the rotation of the coordinate system to 0 degrees (default value).
  • Page 283: Pen Control And Plot Instructions

    Revision C 16/01/96 6.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 [,...]] [;]...
  • Page 284 Revision C 16/01/96 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. •...
  • Page 285 Revision C 16/01/96 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 286 Revision C 16/01/96 X ; Arc centre X coordinate Y ; Arc centre Y coordinate qc ; Arc angle in degrees qd ; Chord angle in degrees • Coordinates are relative values in current units. • Starting from the current cursor position the command plots an arc whose centre is at the relative coordinate position (X,Y) and which has the specified arc and chord angles.
  • Page 287 Revision C 16/01/96 AT - Absolute Arc Three Point AT 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 288 Revision C 16/01/96 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 289 Revision C 16/01/96 PE - Polyline Encoded PE [ [ flag ] [ value ] | X ... [ flag ] [ value ] | X ] ]; flag ; a command or mode that applies to the data that follows value;...
  • Page 290 Revision C 16/01/96 new number into base 64 or base 32 according to your system and encode each base 64 or base 32 digit as the corresponding ASCII character. • To encode a real number proceed as follows. Multiply the number of decimal places in your coordinate's data by 3.33 and round the result up to the next highest integer (for example round 6.66 up to 7).
  • Page 291 Revision C 16/01/96 BR - Bezier Relative BR [ X1, Y1, X2, Y2, X3, Y3 . . . [X1, Y1, X2, Y2, X3, Y3]] [;] X1, X2, X3 ; X coordinate of the second (X1), third (X2), and forth (X3) control point Y1, Y2, Y3 ;...
  • Page 292: The Polygon Group

    Revision C 16/01/96 6.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 ] [;] •...
  • Page 293 Revision C 16/01/96 EA - Edge Rectangle Absolute EA X, Y[;] X ; X coordinate of opposite corner for the rectangle Y ; Y coordinate of opposite corner for the rectangle • X and Y coordinates are absolute coordinates in current units. •...
  • Page 294 Revision C 16/01/96 EP - Edge Polygon EP [;] • This command plots the outline of the polygon currently stored in the polygon buffer. • The command only plots between points defined when the pen was down. • The command plots an outline irrespective of whether the pen is currently up or down. •...
  • Page 295 Revision C 16/01/96 • Plotting proceeds counterclockwise when qc is positive, and clockwise when negative. • The value for qd must be an integer from -32,768 to +32,767. • When qd is not specified, the chord angle is the default value ( 5 degrees ) 10 '- Edge Wedge - 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27);...
  • Page 296 Revision C 16/01/96 RR - Fill Rectangle Relative RR X, Y[;] X ; X coordinate of opposite corner for the rectangle Y ; Y coordinate of opposite corner for the rectangle • Coordinates relative to the current position in current units. •...
  • Page 297 Revision C 16/01/96 WG - Fill Wedge WG r , q1 , qc (, qd )[;] r ; Radius in current 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 298 Revision C 16/01/96 FP - Fill Polygon FP [;] FP [ n ] [;] n ; fill method • This command fills the polygon currently stored in the polygon buffer. • The command does not clear the buffer or alter the data at all. •...
  • Page 299: Plot Function Instructions

    Revision C 16/01/96 6.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 300 Revision C 16/01/96 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 301 Revision C 16/01/96 LA [ l l , v [ , l l , v [ , l l , v ]]] [;] l ; line attribute v : value • This command specifies the shape of line joins and line ends. •...
  • Page 302 Revision C 16/01/96 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 303 Revision C 16/01/96 10 ' - Line Type - 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;IP1000,1000,9000,7000;SP1;"; 60 LPRINT "PA2000,7100;PDPR400,0;PU;" 'REM DEFAULT LINE = 400 70 LPRINT "LT8;PA2000,7000;PD5000,7000;PU;" 80 LPRINT "LT8,4,0;PA2000,6900;PD5000,6900;PU;" 90 LPRINT "LT8,8,1;PA2000,6800;PD5000L6800;PU;" 100 ' 110 LPRINT "LT4,PA2000,6600;PD5000,6600;PU;"...
  • Page 304 Revision C 16/01/96 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 305 Revision C 16/01/96 RF - Raster Fill Definition RF [ i [, w , h , p [,...]]] [;] i : index w : width p: pen number h : height • This command defines a rectangular pattern which may be used to fill the area. •...
  • Page 306 Revision C 16/01/96 SM - Symbol Mode SM c [;] c ; ASCII character or symbol code • The command specifies the symbol to be drawn. • The specified symbol will be drawn at the end of each vector, irrespective of whether the pen is up or down, when the PA, PR, PD, PU or PE instructions are used.
  • Page 307 Revision C 16/01/96 SV - Screened Vectors SV [ s [, option _1[, option _2]]] [;] s : screen type option_1 and option_2: dependent on the screen type • This command selects the type of screening that will be applied to vectors, arcs, circles and edges of polygons, rectangles and wedges.
  • Page 308 Revision C 16/01/96 TR - Transparency Mode TR [ n ] [;] n ; transparency type • This command turns transparency mode on and off. Transparency mode defines how source and destination graphics images interact. • n is either 0 (off) or 1(on). •...
  • Page 309 Revision C 16/01/96 UL - User-defined Line Type UL [ i ] [, g [...,]] [;] i ; unit type g : gap length • This command allows you to define line types which you can then subsequently select with the LT command.
  • Page 310 Revision C 16/01/96 WU - Select Unit for Pen Width WU [ t ] [;] t ; unit type • This command specifies the pen width unit. It applies to all pens. • t must be either 0 or 1. •...
  • Page 311: Character Plot Instructions

    Revision C 16/01/96 6.6. Character Plot Instructions Instruction Function Define Standard Font Define Alternate Font Select Standard Font Select Alternate Font Select Primary Font Select Secondary Font Define Label Define Label Terminator Label Origin Absolute Direction Relative Direction Define Variable Text Path Character Plot Character Fill Mode Set Absolute Character Size...
  • Page 312 Revision C 16/01/96 • 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...
  • Page 313 Revision C 16/01/96 • 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 314 Revision C 16/01/96 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 315 Revision C 16/01/96 SA - Select Alternate Font SA [;] • This command allows you to select the alternate font, as defined by the AD command. All subsequently printed labels will appear in the alternate font • The SA command is equivalent to including the SO control code (ASCII 14) in a label. •...
  • Page 316 Revision C 16/01/96 FN - Select Secondary Font FN 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 PCL mode, as the secondary (alternate) font. All subsequently printed labels will appear in the secondary font.
  • Page 317 Revision C 16/01/96 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 318 Revision C 16/01/96 LO - Label Origin LO [ p ] • This instruction allows you to position labels in different ways relative to the current pen location. • You can centre, left justify or right justify labels relative to the current pen location, and print them on, above or below the current location.
  • Page 319 Revision C 16/01/96 DI - Absolute Direction DI [ run , rise ] [;] run : X direction component rise : Y direction component • This command determines the direction in which subsequent labels will be printed. rise • gives the tangent of the angle between the base line of a label's characters and the horizontal. •...
  • Page 320 Revision C 16/01/96 DR - Relative Direction DR [ run , rise ] [;] run : X-component of the printing direction expressed as a percentage of the x-component of the distance between P1 and P2. rise : Y-component of the printing direction expressed as a percentage of the y-component of the distance between P1 and P2.
  • Page 321 Revision C 16/01/96 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 322 Revision C 16/01/96 CP - Relative Character Movement CP [ spaces [,lines]] [;] spaces ; the number of text spaces the pen position is moved. lines ; the number of text lines the pen position is moved. • Use this command to re-position the pen. The command moves the pen the specified number of lines and spaces corresponding to the currently selected font's pitch and line spacing.
  • Page 323 Revision C 16/01/96 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 324 Revision C 16/01/96 SI - Set Absolute Character Size SI [ width , height ] [;] width : the width in centimeters of printed characters height : the height in centimeters of printed characters • This command allows you to specify the size of the characters that you print with the LB instruction in centimeters.
  • Page 325 Revision C 16/01/96 SR - Set Relative Character Size SR [ width , height ] [;] width ; the width of printed characters expressed as a percentage of the x-component of the distance between P1 and P2. height ; the height of printed characters expressed as a percentage of the y-component of the distance between P1 and P2.
  • Page 326 Revision C 16/01/96 SL - Character Slant SL [ tan φ φ ] [;] tan φ - tangent of character slant angle (φ) • This command determines the slant of characters printed with subsequent LB commands. • φ is the angle between characters and the vertical. A positive value of φ ( and tan φ ) produces forward sloping characters, while a negative value results in characters which slant backwards.
  • Page 327 Revision C 16/01/96 ES - Extra Space ES [ width [, height ]] [;] width : factor by which character spacing is changed. height : factor by which line spacing is changed • This command enables you to adjust the space between label characters and lines. •...
  • Page 328 Revision C 16/01/96 CHAPTER 9 HP-GL Graphics Language Chapter 9 "HP-GL" 1...
  • Page 329: Table Of Contents

    Revision C 16/01/96 Table of Contents Initialization and default setting instructions Instruction Function page Default Set Instruction Initialize Set Instruction Plot area and unit setting instructions Instruction Function page Scaling point Scale Input window Rotate coordinate system Page output Pen Control and Plot Instructions Instruction Function page...
  • Page 330: Factory Reset

    Revision C 16/01/96 Dual Context Extensions Instruction Function page EscCRRO Set HRC Off EscCRRL Set HRC to Light Level EscCRRM Set HRC to Medium Level EscCRRD Set HRC to Dark Level User Reset Instruction Function page EscCR!#R Restore to User Settings Factory Reset Instruction Function...
  • Page 331: Introduction

    Revision C 16/01/96 1. Introduction The HP-GL graphics mode emulates 40 out of 56 instructions for the HP 7475A plotter made by Hewlett- Packard. Default plating measurement in the HP-GL graphics mode is 1/1016"(0.025mm). 1.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 332 Revision C 16/01/96 1.3.2. Printing Area (mm) Letter Legal Chapter 9 "HP-GL" 5...
  • Page 333: Initialization And Default Setting Instructions

    Revision C 16/01/96 2. Commands 2.1. Initialization and Default Setting Instructions 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 Relative character direction DR 1,0;...
  • Page 334 Revision C 16/01/96 IN - Initialize Set Instruction IN[;] • Returns the graphics mode to initial conditions; Function Equivalent Condition Instruction Plot mode Absolute 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 335: Plot Area And Unit Setting Instructions

    Revision C 16/01/96 2.2. Plot area and unit setting instructions Instruction Function Scaling point Scale Input window Rotate coordinate system Page output IP - Input Scaling Point IP [ P1 , P1 [,P2 ]] [;] coordinate of P1 coordinate of P1 coordinate of P2 coordinate of P2 •...
  • Page 336 Revision C 16/01/96 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 337: Pen Control And Plot Instructions

    Revision C 16/01/96 2.3. Pen Control and Plot Instructions Instruction Function Pen Up Pen Down Plot Absolute Relative Coordinate Pen Move Absolute Arc Plot Relative Arc Plot Circle PU - Pen Up PU [ X,Y [,...]] [;] X ; X coordinate of the cursor movement destination Y ;...
  • Page 338 Revision C 16/01/96 PD - Pen Down PD [ 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 339 Revision C 16/01/96 PA - Plot Absolute PA [X, Y [,...]] [;] X ; X coordinate of the cursor movement destination Y ; Y coordinate of the cursor movement destination • X and Y are absolute values in user units or graphics units. •...
  • Page 340 Revision C 16/01/96 PR - Relative Coordinate Pen Move PR [X, Y [,...]] [;] X ; X coordinate of the cursor movement destination Y ; Y coordinate of the cursor movement destination • Coordinates are relative to the current position in user units or graphics units. •...
  • Page 341 Revision C 16/01/96 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 •...
  • Page 342 Revision C 16/01/96 <Sample 68> Chapter 9 "HP-GL" 15...
  • Page 343 Revision C 16/01/96 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 • X and Y coordinates are relative coordinates in user units or graphics units. •...
  • Page 344 Revision C 16/01/96 CI - Circle Plot CI r(, qd)[;] r : Radius of circle ( in user units or graphic units ) qd : Chord angle ( in degrees ) • Plots a circle centred on the current position with a radius r and chord angle qd. •...
  • Page 345 Revision C 16/01/96 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 346: The Polygon Group

    Revision C 16/01/96 2.4. The polygon group Instruction Function Edge Absolute Rectangle Edge Relative Rectangle Edge Wedge Fill Absolute Rectangle Fill Relative Rectangle Fill Wedge EA - Edge Rectangle Absolute EA X, Y[;] X ; X coordinate of opposite angle for the rectangle Y ;...
  • Page 347 Revision C 16/01/96 ER - Edge Rectangle Relative ER X, Y[;] X ; X coordinate of opposite angle for the rectangle Y ; Y coordinate of opposite angle for the rectangle • Coordinates are relative to the current position in user units or graphics units. •...
  • Page 348 Revision C 16/01/96 EW - Edge Wedge EW r,q1,qc(,qd)[;] r ; Radius in user units or graphics units q1; Start point angle qc ; Arc angle qd ; Chord angle • Plots a wedge centred on the current position with radius r, start point angle q1, arc angle qc, and chord angle qd.
  • Page 349 Revision C 16/01/96 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 350 Revision C 16/01/96 RR - Fill Rectangle Relative RR X, Y[;] X ; X coordinate of opposite angle for the rectangle Y ; Y coordinate of opposite angle for the rectangle • Coordinates are relative to the current position in user units or graphics units. •...
  • Page 351 Revision C 16/01/96 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 352: Plot Function Instructions

    Revision C 16/01/96 2.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 353 Revision C 16/01/96 LT - Line Type Selection LT [, n [, p ]] [;] n ; Line pattern number p ; Line pattern length (percentage or millimeters of distance between P1 and P2) • Specifies the line type and pattern length. •...
  • Page 354 Revision C 16/01/96 SM - Symbol Mode SM c[;] c ; ASCII character or symbol code • The command specifies the symbol to be drawn. • When the PA,PR,PD or PU instruction is used, the specified symbol will be drawn at the end of each vector.
  • Page 355 Revision C 16/01/96 10 '*** TLEX *** 30 FOR I=1 TO 10 40 LPRINT "PR800,0;XT;" 50 NEXT I 60 LPRINT "TL;PU;PA300,279;PD;" 70 GOSUB 1000 80 LPRINT "TL1,0;PU;PA1100,279;PD;" 20 LPRINT "IN;PA300,279;SP2;PD;TL90;XT;"; 90 GOSUB 1000 100 LPRINT "TL0,5;PU;PA1900,279;" 110 GOSUB 1000 120 LPRINT "PA300,6759;TL80;YT;PU;" 130 END 1000 '* SUBROUTINE DRAW TICKS * 1010 FOR J=1 TO 8...
  • Page 356: Character Plot Instructions

    Revision C 16/01/96 2.6. Character Plot Instructions Instruction Function Standard Set Definition Alternate Set Definition Select Standard Font Select Alternate Font Define Label Terminator Define Label Absolute Direction Relative Direction Character Plot Set Absolute Character Size Set Relative Character Size Set Character Slant User-defined Character CS - Standard Character Set...
  • Page 357 Revision C 16/01/96 SS - Select Standard Character Set SS [;] • Selects the standard character set specified by the CS instruction. SA - Select Alternate Character Set SA [;] • Selects the alternate character set specified by the CA instruction. 10 '*** SASSEX *** 20 LPRINT "PA5000,5000;"...
  • Page 358 Revision C 16/01/96 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 359 Revision C 16/01/96 DR [ run, rise ] [;] run : X direction component rise : Y direction component • • Percentage of the distance in the X and Y directions between P1 and P2 • Specifies the character plot direction. •...
  • Page 360 Revision C 16/01/96 SI - Set Absolute Character Size SI [ width, height ] [;] width : the width in centimeters of printed characters height : the height in centimeters of printed characters • Specifies the size of characters to be plotted. •...
  • Page 361 Revision C 16/01/96 SR - Set Relative Character Size SR [ width , height ] [;] width ; the width of printed characters expressed as a percentage of the x-component of the distance between P1 and P2. height ; the height of printed characters expressed as a percentage of the y-component of the distance between P1 and P2.
  • Page 362 Revision C 16/01/96 UC - User Defined Character UC X1, Y1, X2, Y2..., Xn, Yn[;] Xi : Number of grids in X direction Yi : Number of grids in Y direction • Draws user-generated character or symbol. • Values for Xi and Yi are clamped real numbers. •...
  • Page 363: Dual Context Extensions

    • 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.
  • Page 364 Revision C 16/01/96 APPENDIX A COMPARISON LIST FOR HL-660, HL-1260, HL-10h, HL-10V/DV, HL-10PS/DPS, HL-8V, HL-4V, HL-4Ve, and HL-6V APPENDIX A -COMPALISON LIST-1...
  • Page 365 Revision C 16/01/96 In this chapter, you can find which commands are supported by your printer. COMMAND HL-660 HL-1260 HL-10h HL-10V/ HL-10PS HL-8V HL-4V HL-4Ve HL-6V /DPS ü ü ü ü ü ü ü ü ü Esc&k#G ü ü ü ü...
  • Page 366 Revision C 16/01/96 COMMAND HL-660 HL-1260 HL-10h HL-10V/ HL-10PS HL-8V HL-4V HL-4Ve HL-6V /DPS ü ü ü ü ü ü ü ü ü EscE ü ü ü ü ü ü ü ü ü EscCR FD ü ü ü EscCR!#R ü ü...
  • Page 367 Revision C 16/01/96 COMMAND HL-660 HL-1260 HL-10h HL-10V HL-10PS HL-8V HL-4V HL-4Ve HL-6V /DPS ü ü ü ü ü ü ü ü ü Esc&a#P ü ü ü ü ü ü ü ü ü Esc(3@,Esc)3@ ü ü ü ü ü ü ü...
  • Page 368 Revision C 16/01/96 COMMAND HL-660 HL-1260 HL-10h HL-10PS HL-8V HL-4V HL-4Ve HL-6V 10V/DV /DPS ü ü ü ü ü ü ü ü ü Esc*v#N ü ü ü ü ü ü ü ü ü Esc*v#O ü ü ü ü ü ü ü...
  • Page 369 Revision C 16/01/96 COMMAND HL-660 HL-1260 HL-10h HL-10PS HL-8V HL-4V HL-4Ve HL-6V 10V/DV /DPS ü ü ü ü ü ü ü ü ü Esc*c#X ü ü ü ü ü ü ü ü ü Esc*c#L ü ü ü ü ü ü ü...
  • Page 370 Revision C 16/01/96 *3 Typeface Selection (PCL) HL-10 Command Typeface HL-10 HL-8V HL-4V HL-6V PS/DPS 1260 V/DV Esc(s129T Anelia ü ü ü ü ü ü Esc(s128T Brougham ü ü ü ü ü ü ü ü ü Esc(s130T Letter Gothic ü ü...
  • Page 371 Revision C 16/01/96 Command Typeface HL-10 HL-10 HL-8V HL-4V HL-6V PS/DPS 1260 V/DV ü ü ü Esc(s16696T BR Symbol ü ü ü Esc(s16602T Helsinki ü ü ü Esc(s16901T Tennessee ü ü ü Esc(s31402T W Dingbats ü ESC(s134T Bermuda Script ü ESC(s132T Germany ü...
  • Page 372 Revision C 16/01/96 Diablo Command HL-660 HL-10h HL-10V HL-10PS HL-8V HL-4V HL-4Ve HL-6V 1260 /DPS ü ü ü ü ü Esc US n ü ü ü ü ü Esc S ü ü ü ü ü Esc RS n ü ü ü...
  • Page 373 Revision C 16/01/96 Command HL-660 HL-10h HL-8V HL-4V HL-4Ve HL-6V 10PS/DPS 1260 10V/DV ü ü ü ü ü Esc L ü ü ü ü ü Esc C ü ü ü ü ü Esc 9 ü ü ü ü ü Esc 0 ü...
  • Page 374 Revision C 16/01/96 Epson Command HL-660 HL-10h HL-10V HL-10 HL-8V HL-4V HL-4Ve HL-6V 1260 PS /DPS ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü...
  • Page 375 Revision C 16/01/96 Command HL-660 HL-10h HL-10V HL-10 HL-8V HL-4V HL-4Ve HL-6V 1260 PS/DPS ü ü ü ü ü ü ü ü Esc j n ü ü ü ü ü ü ü ü Esc D n1 n2 n3 ... NUL ü...
  • Page 376 Revision C 16/01/96 Command HL-660 HL-10h HL-10V HL-10 HL-8V HL-4V HL-4Ve HL-6V 1260 PS/DPS ü ü ü ü ü ü ü ü Esc 6 ü ü ü ü ü ü ü ü Esc 7 ü ü ü ü ü ü ü...
  • Page 377 Revision C 16/01/96 Command HL-660 HL-10h HL-10V HL-10 HL-8V HL-4V HL-4Ve HL-6V 1260 PS/DPS ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü...
  • Page 378 Revision C 16/01/96 Command HL-660 HL-10h HL-10V HL-10 HL-8V HL-4V HL-4Ve HL-6V 1260 PS/DPS ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü Esc R ü ü ü ü ü ü ü ü Esc 7 ü...
  • Page 379: Bar Code

    Revision C 16/01/96 BAR CODE Command HL-660 HL-10h HL-10V HL-10 HL-8V HL-4V HL-4Ve HL-6V 1260 PS/DPS ü ü CODE 39 ü ü Interleaved 2 of 5 ü ü FIM(US-Post Net) ü ü Post Net ü ü EAN8,EAN13, UPC A ü ü...
  • Page 380 Revision C 16/01/96 HP-GL/2 COMMAND HL-660 HL-10h HL-10V HL-10 HL-8V HL-4V HL-4Ve HL-6V 1260 PS/DPS ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü...
  • Page 381 Revision C 16/01/96 Command HL-660 HL-10h HL-10V HL-10 HL-8V HL-4V HL-4Ve 1260 PS/DPS HL6V ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü...
  • Page 382 Revision C 16/01/96 Command HL-660 HL-10h HL-10V HL-10 HL-8V HL-4V HL-4Ve HL-6V 1260 PS/DPS ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü...
  • Page 383 Revision C 16/01/96 HP-GL COMMAND HL-660 HL-10h HL-10 HL-8V HL-4V HL-4Ve HL-6V 1260 10V/DV PS\DPS ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü...
  • Page 384 Revision C 16/01/96 COMMAND HL-660 HL-10h HL-10 HL-8V HL-4V HL-4Ve HL-6V 1260 10V/DV PS\DPS ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü...
  • Page 385 Revision C 16/01/96 PJL commands are supported by HL-660, HL-1260 and HL-10h. Other our printers does not support PJL. Command HL-660 HL-1260 HL-10h ü ü ü Esc%-123245X ü ü ü PJL ENTER LANGUAGE = personality AUTO, PCL, IBM, EPSON, AUTO, PCL, POSTSCRIPT, IBM, AUTO, PCL, POSTSCRIPT, POSTSCRIPT EPSON, HPGL...
  • Page 386 Revision C 16/01/96 Command HL-660 HL-1260 HL-10h ü ü ü @PJL INFO CONFIG [<CR>]<LF> feature, value, feature information, feature, value, feature information, feature, value, feature information, returned option, attribute returned option, attribute returned option, attribute ü ü ü @PJL INFO MEMORY [<CR>]<LF> ü...
  • Page 387 Revision C 16/01/96 RESOLUTION 300, 600 300, 600 300,600 APPENDIX A -COMPALISON LIST-24...
  • Page 388 Revision C 16/01/96 General PJL Environment HL-660 HL-1260 HL-10h Valiables PERSONALITY AUTO, PCL, IBM, EPSON, AUTO, PCL, POSTSCRIPT, IBM, AUTO, PCL, POSTSCRIPT, POSTSCRIPT EPSON, HPGL Interactive, IBMProprinterXL, EPSONFX850, HPGL, Diablo630 TIMEOUT 1~99 1~99 INTRAY1 LOCKED, UNLOCKED LOCKED, UNLOCKED INTRAY2 LOCKED, UNLOCKED LOCKED, UNLOCKED INTRAY3 LOCKED, UNLOCKED...
  • Page 389 Revision C 16/01/96 General PJL Environment HL-660 HL-1260 HL-10h Valiables DEMOPRINT ON, OFF LANG ENGLISH, FRENCH, GERMAN, ENGLISH, FRENCH, GERMAN, DUTCH, NORWEGIAN DUTCH, SPANISH, ITALIAN, FINNISH, NORWEGIAN, PORTUGUESE, DANISH KEEPPCL ON, OFF DOUBLESTRIKE ON, OFF DUPLEX ON, OFF BINDING LONGEDGE, SHORTEDGE FIRSTPRINT NORMAL, MIDDLE, HIGH DENSITY...
  • Page 390 Revision C 16/01/96 PCL Specific Valiables HL-660 HL-1260 HL-10h PAPER LETTER, A4, LEGAL, EXECUTIVE, COM10, MONARCH, C5, DL, JISB5, A4LONG ORIENTATION PORTRAIT, LANDSCAPE LEFTMARGIN 0 ~126 columns RIGHTMARGIN 0 ~136 columns TOPMARGIN 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch BOTMARGIN 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch FORMLINES 5~128...
  • Page 391 Revision C 16/01/96 EPSON Specific Valiables HL-660 HL-1260 HL-10h PAPER LETTER, A4, LEGAL, EXECUTIVE, COM10, MONARCH, C5, DL, JISB5, A4LONG ORIENTATION PORTRAIT, LANDSCAPE LEFTMARGIN 0 ~126 columns RIGHTMARGIN 0 ~136 columns TOPMARGIN 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch BOTMARGIN 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch FORMLINES 5~128...
  • Page 392 Revision C 16/01/96 IBM Specific Valiables HL-660 HL-1260 HL-10h PAPER LETTER, A4, LEGAL, EXECUTIVE, COM10, MONARCH, C5, DL, JISB5, A4LONG ORIENTATION PORTRAIT, LANDSCAPE LEFTMARGIN 0 ~126 columns RIGHTMARGIN 0 ~136 columns TOPMARGIN 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch BOTMARGIN 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch FORMLINES 5~128...

Comments to this Manuals

Symbols: 0
Latest comments: