Page 3 - TABLE OF CONTENTS; GLOSSARY
i TABLE OF CONTENTS GLOSSARY CHAPTER 1 INTRODUCTION 1. ABOUT THE MANUAL----------------------------------------------------------------------------------- 3 2. AREAS OF USE ------------------------------------------------------------------------------------------ 4 CHAPTER 2 PCL 1. COMMAND LIST-----...
Page 4 - ii; CHAPTER 7 IBM PROPRINTER XL
ii CHAPTER 6 EPSON FX-850 1. COMMAND LIST------------------------------------------------------------------------------------------ 3 2. INTRODUCTION ----------------------------------------------------------------------------------------- 5 3. EMULATION DETAILS -------------------------------------...
Page 5 - iii; A number assigned to a character that uniquely identifies it.
iii 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 P...
Page 6 - iv; The current position of the imaginary cursor.
iv 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. Cur...
Page 9 - vii; The paper or envelope on which the printer prints.
vii P e n 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 wit...
Page 10 - viii; Print position
viii 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.
Page 11 - ix
ix Proportional spacing Fonts intended for high quality typographic output use a method of character spacing in which the space occupied by a single character on a line of text depends on the individual design of the character. This is known as proportional spacing. Scalable fonts are almost invaria...
Page 12 - Secondary font
x Secondary font In LaserJet mode the printer maintains two current font settings. The secondary font is the second of these.
Page 13 - xi; The area of the physical page on which the printer can place text.
xi Serif A kind of typeface normally used for body text. Serif typefaces have little hooks (serifs) on the individual characters that makes text more readable. Soft clip limits See graphics window. The soft limits are determined by the IW command. Source image The graphic image that is applied to th...
Page 14 - xii; User units
xii User units Coordinate units specified by the user with the HP-GL and HP-GL/2 SC command. Vector graphics A method of defining graphic images in terms of coordinates, points and lines. The HP-GL and HP-GL/2 graphics languages use this method. Vertical plot size The original vertical size of an im...
Page 15 - CHAPTER 1 INTRODUCTION - 1; CHAPTER 1
2001/10/02 CHAPTER 1 INTRODUCTION - 1 CHAPTER 1 INTRODUCTION
Page 16 - CHAPTER 1 INTRODUCTION - 2; ONTENTS
2001/10/02 CHAPTER 1 INTRODUCTION - 2 C ONTENTS 1. ABOUT THE MANUAL ............................................................................................................... 3 2. AREAS OF USE .........................................................................................................
Page 17 - CHAPTER 1 INTRODUCTION - 3; ABOUT THE MANUAL
2001/10/02 CHAPTER 1 INTRODUCTION - 3 1. ABOUT THE MANUAL This technical reference manual is intended to help you get the most out of each of the emulation modes supported by your HL-Series laser printer. It is divided into nine sections - this introductory section and one section for each of the em...
Page 18 - CHAPTER 1 INTRODUCTION - 4; Using Word Processing Packages and Spreadsheets; C language program
2001/10/02 CHAPTER 1 INTRODUCTION - 4 2. AREAS OF USE There are several different applications for which you may want to use your HL-Series laser printer. Four general areas are outlined in the following sections. 2.1 Using Word Processing Packages and Spreadsheets You may simply wish to u se the pr...
Page 19 - CHAPTER 1 INTRODUCTION - 5; Font Development
2001/10/02 CHAPTER 1 INTRODUCTION - 5 2.4 Font Development In LaserJet mode you can send your own character designs to an HL-Series laser printer and print text using them. To do this you need first to design your characters on paper. Having done this you can then either input and download your char...
Page 20 - CHAPTER 1 INTRODUCTION - 6
Page 21 - PRINTER CONTROL
2001/10/02 CHAPTER 2 "PCL" - 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE
Page 27 - COMMAND LIST
2001/10/02 CHAPTER 2 "PCL" - 7 1. COMMAND LIST Control Codes 11 Escape sequences 12 Esc&k#G Line termination 12 Esc&s#C End-o f-line wrap 12 EscY Display function mode 13 EscZ Display function mode 13 Environments 14 Job Control 15 Esc&l#A Page size 15 Esc&l#G Output tray 15 ...
Page 29 - Status Readback
2001/10/02 CHAPTER 2 "PCL" - 9 EscCR!#E Execute data 89 Esc&b#W AppleTalk configuration 89 EscCR!1234#M MIO video I/O port control 90 Status Readback 91 Esc*s#T Set status readback location type 92 Esc*s#U Set status readback location unit 92 Esc*s#I Inquire status readback entity 93 Esc...
Page 30 - INTRODUCTION
2001/10/02 CHAPTER 2 "PCL" - 10 2. INTRODUCTION This laser printer provides a complete emulation of the supported Hewlett Packard LaserJet printer. Features include raster and vector graphics, support for bitmap and scalable fonts and page control. There are many resident fonts in the printe...
Page 31 - CONTROLLING THE PRINTER; Control Codes; ASCII code 8. This code moves the cursor one column to the left.
2001/10/02 CHAPTER 2 "PCL" - 11 3. CONTROLLING THE PRINTER 3.1. Control Codes Control codes are ASCII codes that tell the printer to perform a given function, such as a carriage return. You can send these codes to the printer as part of a program. 3.1.1. Backspace (08) <08h> ASCII code...
Page 32 - Escape Sequences; Esc
2001/10/02 CHAPTER 2 "PCL" - 12 3.2. Escape Sequences Escape sequences , also known as PCL (Printer Contro l 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 ...
Page 34 - Environments
2001/10/02 CHAPTER 2 "PCL" - 14 3.3. Environments 3.3.1. Factory default environment The factory default environment is the collection of printer settings programmed into t he printer before it leaves the factory. You can restore the factory default environment using the printer’s control pa...
Page 35 - JOB CONTROL
2001/10/02 CHAPTER 2 "PCL" - 15 4. JOB CONTROL 4.1.1. Page size Esc& l #A (27)(38)(108)#(65) <1Bh><26h><6Ch>#<41h> # stands fo r the type of paper or envelope to be used. Values for # correspond to the paper or envelope sizes shown in the table. Envelopes sizes ar...
Page 39 - Positive
2001/10/02 CHAPTER 2 "PCL" - 19 4.1.5. Top offset registration Esc&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...
Page 40 - It is recommended to insert this command at the end of each job.; EscE; Any pages that have been transmitted are printed out.; EscCRFD; resets the input buffer.; Escz; All settings are reset to the user settings.
2001/10/02 CHAPTER 2 "PCL" - 20 • # = 2 indicates the back face. If the currently processing page is an odd page, the printer finishes the processing of the page. If the odd page has already been processed onto the page and the even page has not been processed yet, this command is ignored. I...
Page 41 - EscCRGL; This command changes the emulation mode to HP-GL mode.; EscCRAB; This command changes the emulation mode to BR-Script Batch mode.; EscCRAI; This command changes the emulation mode to IBM Proprinter XL mode.; EscCRE; This command changes the emulation mode to Epson FX-850 mode.
2001/10/02 CHAPTER 2 "PCL" - 21 4.1.14. Change emulation mode EscCRGL (27)(13)(71)(76) <1Bh><0Dh><47h><4Ch> This command changes the emulation mode to HP-GL mode. EscCRAB (27)(13)(65)(66) <1Bh><0Dh><41h><42h> This command changes the emulation ...
Page 42 - The Page
2001/10/02 CHAPTER 2 "PCL" - 22 4.2. The Page 4.2.1. Physical page The physical page refers to the size of the paper or envelope currently in use: A4, Letter, B5, JIS B5, Legal and Executive are the permitted paper sizes: Monarch, COM -10, International DL and International C5 are the allowa...
Page 45 - # stands for the unit of measurement in dots per inch.
2001/10/02 CHAPTER 2 "PCL" - 25 4.2.8. Coordinates The printer control language coordinate system has its origin at the intersection of the left edge of the logical page and the top margin. The x-coordinate value of the current cursor position increases as the cursor moves from left to right...
Page 46 - The top margin command is ignored if the current VMI is 0.
2001/10/02 CHAPTER 2 "PCL" - 26 • If the current cursor position is to the right of your new right margin setting, the cursor will be moved to the new right margin. • The factory default left and right margin settings are at the left and right edges of the logical page respectively. • Depend...
Page 49 - and the text length are set to their user defaults.
2001/10/02 CHAPTER 2 "PCL" - 29 Top margin Bottom margin Text length Page length 4.2.18. Page length Esc&l#P (27)(38)(108)#(80) <1Bh><26h><6Ch>#<50h> # stands for the length of the logical page in lines (at the current VMI). • If you specify a page length greater ...
Page 50 - Vertical cursor positioning - rows; The parameter value can have up to two decimal places.; Vertical cursor positioning - units; Vertical cursor positioning - decipoints; The cursor’s horizontal position remains unchanged.
2001/10/02 CHAPTER 2 "PCL" - 30 4.2.20. Positioning the cursor You can position the cursor anywhere on the logical page. In addition, the cursor position is automatically changed when text or graphics are printed. You can either position the cursor using absolute PCL coordinate values or pos...
Page 51 - Horizontal cursor positioning - columns; Horizontal cursor positioning - units; The Units value is defined by the
2001/10/02 CHAPTER 2 "PCL" - 31 4.2.22. Horizontal position Horizontal cursor positioning - columns Esc&a#C (27)(38)(97)#(67) <1Bh><26h><61h>#<43h> # = number of columns • A plus or minus sign preceding the number of columns parameter indicates that the cursor is ...
Page 52 - Horizontal cursor positioning - decipoints; The cursor’s vertical position remains unchanged.
2001/10/02 CHAPTER 2 "PCL" - 32 100 REM --- MOVING CURSOR 1 INCH TO THE RIGHT --- 110 LPRINT ESC$+"*p+300X"; 120 LPRINT "C"; 130 REM --- PAPER EJECT --- 140 LPRINT CHR$(12); 150 END <Sample file 4> Horizontal cursor positioning - decipoints Esc&a#H (27)(38)(97)#(72)...
Page 55 - USING FONTS; Introduction; sans serif; Intellifont Compatible Fonts:
2001/10/02 CHAPTER 2 "PCL" - 35 5. USING FONTS 5.1. Introduction A font is a collection of characters that have common characteristics, such as size, style and typeface, and which ranges over a given set of symbols. For example, 12 point Tennessee Bold in the Roman-8 symbol set is a typical ...
Page 61 - Font Selection Commands
2001/10/02 CHAPTER 2 "PCL" - 41 5.2. Font Selection Commands 5.2.1. User-defined symbol sets User-defined symbol sets can be used with Unbound scalable fonts. Three new commands below are prepared for use to control a user-defined symbol set. To define a symbol set, its ID code must first be...
Page 66 - Scaling the scalable fonts vertically or horizontally
2001/10/02 CHAPTER 2 "PCL" - 46 • The selection will apply to whichever font you are currently specifying (primary or secondary). • If the printer doesn't have the specified size font, the next largest size font is used. If the printer doesn't have a larger sized font, the next smallest one ...
Page 70 - Downloadable font manipulation
2001/10/02 CHAPTER 2 "PCL" - 50 5.3. Downloadable font manipulation Fonts that you have bought on diskette can be downloaded to the printer from diskette or hard disk using the DOS COPY command or a font downloading applications program. To create your own fonts you can use PCL commands to s...
Page 71 - Creating Downloadable Fonts
2001/10/02 CHAPTER 2 "PCL" - 51 5.4. Creating Downloadable Fonts 5.4.1. Downloading You can download existing fonts (that is, ones that you have bought or ones that you have created previously) using either a font downloading application program or the DOS command COPY/b <filename> PRN...
Page 79 - Vendor
2001/10/02 CHAPTER 2 "PCL" - 59 For Intellifont-scalable fonts only, the default HMI is calculated as follows. Default HMI (in dots) = (300 x master design pitch x required point size) ÷ {Master x Resolution ÷(height x 8)} Default HMI ( in dots ) = (300 x master design pitch x required point...
Page 81 - is; MSL Symbol Index
2001/10/02 CHAPTER 2 "PCL" - 61 • Font number (ULI) - ignored by these HL Series printers. This 4-byte field specifies the number assigned to the font by the vending company. The number is stored as a hexadecimal value in the lower three bytes, bytes 44, 45 and 46. • Font name (16 bytes) - i...
Page 90 - USING GRAPHICS; Source, Pattern and Destination; For example
2001/10/02 CHAPTER 2 "PCL" - 70 6. USING GRAPHICS This HL Series printer affords the user considerable flexibility in the creation of graphic images. Vector, raster and rectangle graphics are available, all of which allow a range of shading and filling options. The HP-GL/2 graphics commands ...
Page 92 - Fill patterns
2001/10/02 CHAPTER 2 "PCL" - 72 For example Pattern Source image Destination image Possible results With transparent pattern With opaque pattern (Source image is transparent) 6.1.3. Set area fill identity Esc*c#G (27)(42)(99)#(71) <1Bh><2Ah><63h>#<47h> • This command ...
Page 95 - Pattern example
2001/10/02 CHAPTER 2 "PCL" - 75 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 LP...
Page 96 - Plotting Rectangles
2001/10/02 CHAPTER 2 "PCL" - 76 6.2. Plotting Rectangles Drawing rectangles is a basic case of printing graphics: the source image consists solely of the rectangle itself. Thus only the pattern transparency has any bearing on the final effect - the source transparency is irrelevant. 6.2.1. C...
Page 97 - Gray scale example
2001/10/02 CHAPTER 2 "PCL" - 77 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 90 XL=X 100 NEXT GRAY 110 ...
Page 98 - Raster Graphics; EscCRRO
2001/10/02 CHAPTER 2 "PCL" - 78 6.3. Raster Graphics 6.3.1. Positioning the cursor Position the cursor using the commands described in the chapter entitled “The Page”, using dots, decipoints or rows and columns as coordinate units. 6.3.2. Set raster resolution Esc*t#R (27)(42)(116)#(82) <...
Page 106 - ESC
2001/10/02 CHAPTER 2 "PCL" - 86 6.3.9. Start raster transfer Esc*r#A (27)(42)(114)#(65) <1Bh><2Ah><72h>#<41h> • This command signals the start of the transfer of a raster image to the printer. • # is 0 or 1. • # = 0 denotes that the image will be printed starting from...
Page 107 - Raster graphics example
2001/10/02 CHAPTER 2 "PCL" - 87 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$+"*r...
Page 111 - Vector Graphics
2001/10/02 CHAPTER 2 "PCL" - 91 6.4. Vector Graphics For large-scale graphic images it is more efficient to use vector graphics . In LaserJet emulation mode you can set up the page area on which to print vector graphics images. The vector graphics capabilities of these HL Series printers wor...
Page 112 - The Picture Frame; This command sets the vertical size of the picture frame .
2001/10/02 CHAPTER 2 "PCL" - 92 6.5. The Picture Frame The PCL picture frame is the rectangular area of the page on which you can print graphic images. You can position and size the picture frame to suit your requirements and achieve effects such as scaling or distortion of vector graphics i...
Page 113 - MACROS; The Purpose of a Macro
2001/10/02 CHAPTER 2 "PCL" - 93 7. MACROS 7.1. The Purpose of a Macro A macro is a sequence of commands that you wish to execute. You can specify the command sequence and download it to the printer after which you can execute it with a single command. For example, you might wish to draw a ra...
Page 114 - Defining a Macro; macro in the printer’s memory.
2001/10/02 CHAPTER 2 "PCL" - 94 7.2. Defining a Macro To define a macro you must first assign an ID number to it, then send to the printer a Start Macro Definition command, the macro definition itself (consisting of a sequence of PCL commands) and finally an End Macro Definition command. 7.2...
Page 115 - Running a Macro
2001/10/02 CHAPTER 2 "PCL" - 95 7.3. Running a Macro Macros can be invoked in three different ways: they can be ‘executed’, ‘called’ or ‘enabled for overlay’. When a macro is 'executed' it uses the current modified print environment. Any changes it makes to the environment are permanent. A m...
Page 116 - Handling Macros; This command deletes all macros from the printer’s memory.
2001/10/02 CHAPTER 2 "PCL" - 96 7.4. Handling Macros 7.4.1. Delete all macros Esc&f6X (27)(38)(102)(54)(88) <1Bh><26h><66h><36h><58h> • This command deletes all macros from the printer’s memory. 7.4.2. Delete all temporary macros Esc&f7X (27)(38)(102)(55...
Page 119 - STATUS READBACK
2001/10/02 CHAPTER 2 "PCL" - 99 8. STATUS READBACK 8.1. Introduction Status readback features are explained in this section. The printer sends a status response message after receiving a request for its status by these commands. You can get the information as shown below from the printer. - ...
Page 120 - Status Response Syntax
2001/10/02 CHAPTER 2 "PCL" - 100 8.5. Status Response Syntax All of the status responses begin with "PCL", Carriage Return control code and a Line Feed control code. The response is ended by a Carriage Return and a Line Feed control code. At the end of the transaction, status respons...
Page 128 - INDEX; downloaded font
2001/10/02 CHAPTER 2 "PCL" - 108 9. INDEX A adaptive compression................................................................. 75 anchor point ................................................................................. 84 AppleTalk configuration ........................................
Page 130 - width
2001/10/02 CHAPTER 2 "PCL" - 110 status response ........................................................................... 91 memory .................................................................................... 98 status response syntax..................................................
Page 131 - CHAPTER 3
2001/10/02 CHAPTER 3 "PCL5C" - 1 CHAPTER 3 PCL5C
Page 134 - COLOR MODES; Using Simple Color Mode - Set Simple Color; Command
2001/10/02 CHAPTER 3 "PCL5C" - 4 2. COLOR MODES The PCL5C emulation provides a B/W mode, which is the default, and three color modes as follows; 1) Simple Color Mode 2) PCL Color Mode 3) HP-GL/2 Color Mode Simple Color Mode allows you to use a maximum of 8 colors easily. PCL Color Mode allow...
Page 135 - Using PCL Color Mode - Set PCL Color Setting; Send Raster Data by Plane
2001/10/02 CHAPTER 3 "PCL5C" - 5 2.2. Using PCL Color Mode - Set PCL Color Setting Command ESC*v#W (27)(42)(118)#(87) <1Bh><2Ah><76h>#<57h> # = 6, 18 # stands for the number of bytes of data that follow this command. This command sets the palette size and transformati...
Page 137 - Send Direct Value by Plane; Send Direct Value by Pixel
2001/10/02 CHAPTER 3 "PCL5C" - 7 (i.e.) ESC*b#V r, r, r, r , r... → Plane 1 1st raster ESC*b#V g, g, g, g , g... → Plane 2 ESC*b#W b, b, b, b , b... → Plane 3 ESC*b#V r, r, r, r, r... → Plane 1 2nd raster ESC*b#V g, g, g, g, g... → Plane 2 ** The Italic characters shown above are the index N...
Page 138 - Long Format
2001/10/02 CHAPTER 3 "PCL5C" - 8 ♣ Bits/index • Specifies the palette size at 2 n . n indicates bits/index. ( n =4 à 2 4 =16 palettes) • When the encoding mode is 0 or 1, the palette size selected by the bits/index value specifies the range of the index No., which can be used for raster data...
Page 139 - NP
2001/10/02 CHAPTER 3 "PCL5C" - 9 ♣ Black reference for value #1, #2, #3 ♣ This mode specifies the black value (the highest level of density). ♣ Each value indicates a color as follows; #1: red #2: green #3: blue Range: -32767 ~ 32767 • When the encoding mode is 2 or 3, this setting is valid....
Page 140 - COLOR PALETTES; Set Color to Palette; Select Color
2001/10/02 CHAPTER 3 "PCL5C" - 10 3. COLOR PALETTES 3.1. Set Color #1 Command ESC*v#A (27)(42)(118)#(65) <1Bh><2Ah><76h>#<41h> Range = -32767 ~ 32767 Default value = 0 • This command sets the red value in the palette. Use the Set Color to Palette command to set the va...
Page 141 - Pop Palette
2001/10/02 CHAPTER 3 "PCL5C" - 11 3.6. Push/Pop Palette Command ESC*p#P (27)(42)(112)#(80) <1Bh><2Ah><70h>#<50h> # = 0 * Push palette = 1 Pop palette * Default value = 0 • The value of 0 pushes the current palette onto the palette stack. This command does not affect t...
Page 142 - COLOR GRAPHICS; Start Raster Transfer; Set Destination Raster Width; Set Destination Raster Height
2001/10/02 CHAPTER 3 "PCL5C" - 12 4. COLOR GRAPHICS 4.1. Start Raster Transfer Command ESC*r#A (27)(42)(114)#(65) <1Bh><2Ah><72h>#<41h> # = 0 * Prints the image from the left edge of the logical page. = 1 Prints the image from the current cursor position. = 2 Executes...
Page 143 - Set Scale Algorithm
2001/10/02 CHAPTER 3 "PCL5C" - 13 4.4. Set Scale Algorithm Command ESC*t#K (27)(42)(116)#(75) <1Bh><2Ah><70h>#<4Bh> # = 0 * Takes the lighter overlying dots when reducing. = 1 Takes the darker overlyin g dots when reducing. * Default value = 0 • This command sets whic...
Page 144 - ENHANCE OUTPUT; Set Render Algorithm; Download Dither; Set Monochrome Mode
2001/10/02 CHAPTER 3 "PCL5C" - 14 5. ENHANCE OUTPUT 5.1. Set Render Algorithm Command ESC*t#J (27)(42)(116)#(74) <1Bh><2Ah><70h>#<4Ah> # = 0 Scatter dither = 1 Snap to primaries = 2 Snap black to white, all other colors to black = 3 * Scatter dither = 4 Scatter dither...
Page 145 - Set Gamma Correction; Download Dither Matrix; Set; User-defined Pattern Command
2001/10/02 CHAPTER 3 "PCL5C" - 15 5.3. Set Gamma Correction Command ESC*t#I (27)(42)(116)#(73) <1Bh><2Ah><74h>#<49h> # = 0.0 ~ 32767.0 (command is ignored for invalid values) Default value = 0 (gamma correction off) This command does not destroy the contents of the cu...
Page 148 - raster data
2001/10/02 CHAPTER 3 "PCL5C" - 18 7. INDEX A algorithm.................................................................................... 13 B B/W mo de.................................................................................... 4 black value............................................
Page 149 - CHAPTER 4; GRAPHICS
2001/10/02 CHAPTER 4 HP -GL/2 - 1 CHAPTER 4 HP-GL/2 GRAPHICS LANGUAGE
Page 155 - TERMINOLOGY
2001/10/02 CHAPTER 4 HP -GL/2 - 7 3. TERMINOLOGY 3.1. Picture Frame The printer frame is the rectangular area of the page on which graphic output can be printed. This is based on the logical page defined for the selected paper size. 3.2. Anchor Point The anchor point of the picture frame is the top ...
Page 157 - COMMAND SYNTAX; Mnemonic; Integer - integers are allowed in the range -2; Separators
2001/10/02 CHAPTER 4 HP -GL/2 - 9 4. COMMAND SYNTAX An HP-GL and HP-GL/2 command can consist of up to four items: a mnemonic, a parameter field, a separator and a terminator. 4.1. Mnemonic The two -letter mnemonic is the name of the command and should help remind you of its function. 4.2. Parameters...
Page 158 - THE HP -GL GRAPHICS WINDOW; Units
2001/10/02 CHAPTER 4 HP -GL/2 - 10 5. THE HP -GL GRAPHICS WINDOW 5.1. Units When you first enter graphics mode, the prevailing coordinate system has its origin in the bottom left hand corner of the graphic s window and has x- and y -units of 1/1016". Using the SC command you can divide the axes ...
Page 159 - PREPARING TO PRINT G RAPHIC IMAGES; Setting Up the Graphics Window
2001/10/02 CHAPTER 4 HP -GL/2 - 11 6. PREPARING TO PRINT G RAPHIC IMAGES 6.1. Setting Up the Graphics Window Before entering HP-GL/2 mode you will probably want to set the dimensions and position of the PCL picture frame and hence the graphics window. (Remember that when you enter HP-GL/2 mode they ...
Page 160 - COMMANDS; Initialize Commands; DF - Default set instruction
2001/10/02 CHAPTER 4 HP -GL/2 - 12 7. COMMANDS 7.1. Initialize Commands DF - Default set instruction DF[;] • Returns the graphics mode to default conditions. The following are the default settings. Function Equivalent Instruction Condition Plot mode PA; Absolute plotting Absolute direction DI 1,0; H...
Page 162 - Plot Area and Unit Setting Instructions; IP - Input scaling point
2001/10/02 CHAPTER 4 HP -GL/2 - 14 7.2. Plot Area and Unit Setting Instructions Instruction Function IP Scaling point IR Input relative scaling points SC Scale IW Input window RO Rotate coordinate system IP - Input scaling point IP [ P1 X , P1 Y [,P2 X, P2 Y ]] [;] P1 X ; X coordinate of P1 P1 Y ; Y...
Page 163 - type; type
2001/10/02 CHAPTER 4 HP -GL/2 - 15 SC - Scale <HP-GL/2> SC [ X min , X max , Y min , Y max [, type ]] [;] (Type = 0) SC [ X min , X max , Y min , Y max , type [ left, bottom]] [;] ( Type =1) SC [ X min , X factor , Y min Y factor [, type ]] [;] ( Type = 2) X m i n ; X coordinate of P1 X max ; ...
Page 165 - RO - Rotate coordinate system
2001/10/02 CHAPTER 4 HP -GL/2 - 17 IW - Window IW [ X1, Y1, X2, Y2 ] [;] X 1 -Window lower left X coordinate Y 1 -Window lower left Y coordinate X 2 -Window upper right X coordinate Y 2 -Window upper right Y coordinate • This instruction sets the window inside which drawing can be performed (the sof...
Page 166 - Pen Control and Plot Instructions
2001/10/02 CHAPTER 4 HP -GL/2 - 18 7.3. Pen Control and Plot Instructions Instruction Function PU Pen Up PD Pen Down PA Plot Absolute PR Relative Coordinate Pen Move A A Absolute Arc Plot AR Relative Arc Plot A T Absolute Three Point Arc RT Relative Three Point Arc PE Polyline Encoded CI Circle BR B...
Page 167 - PA - Plot absolute; Coordinates are absolute values in user or current units.; PR - Relative coordinate pen move; Coordinates used are relative values in current units.
2001/10/02 CHAPTER 4 HP -GL/2 - 19 PA - Plot absolute PA [ X, Y [,...]] [;] X ; X coordinate of the cursor movement destination Y ; Y coordinate of the cursor movement destination • Coordinates are absolute values in user or current units. • Whether used with or without parameters the command establ...
Page 168 - AA - Draw absolute arc
2001/10/02 CHAPTER 4 HP -GL/2 - 20 AA - Draw absolute arc AA [ X, Y, qc [, qd ]] [;] X ; Arc centre X coordinate Y ; Arc centre Y coordinate qc ; Arc angle in degrees qd ; Chord angle in degrees • Coordinates are absolute coordinates in current units. • Starting from the current position, this comma...
Page 169 - AR - Draw relative arc; qc; AT - Absolute arc three point; qd
2001/10/02 CHAPTER 4 HP -GL/2 - 21 AR - Draw relative arc AR X, Y, qc (, qd )[;] X ; Arc centre X coordinate Y ; Arc centre Y coordinate qc ; Arc angle in degrees qd ; Chord angle in degrees • Coordinates are relative values in current units. • Starting from the current cursor position the command p...
Page 170 - PE - Polyline encoded; flag
2001/10/02 CHAPTER 4 HP -GL/2 - 22 RT - Relative arc three point RT X 1 , Y 1 , X 2 , Y 2 [,qd] [;] X 1 ; x-coordinate of intermediate point Y 2 ; y -coordinate of intermediate point X 2 ; x-coordinate of end point y 2 ; y -coordinate of end point qd ; the chord angle used to draw the arc • The spec...
Page 171 - CI
2001/10/02 CHAPTER 4 HP -GL/2 - 23 • The following flags are used: ':' - Select pen. The number which follows is the required pen number. A PE command that does not include a select pen command uses the currently selected pen. '<' - Pen up. The pen is raised and moved to the specified coordinate ...
Page 173 - The polygon group; EA - Edge rectangle absolute
2001/10/02 CHAPTER 4 HP -GL/2 - 25 7.4. The polygon group Instruction Function PM Polygon Mode EA Edge Absolute Rectangle ER Edge Relative Rectangle EP Edge Polygon EW Edge Wedge RA Fill Absolute Rectangle RR Fill Relative Rectangle W G Fill Wedge FP Fill Polygon PM - Polygon mode PM [ ms ] [;] • Th...
Page 175 - RA - Fill rectangle absolute
2001/10/02 CHAPTER 4 HP -GL/2 - 27 • r specifies the radius of the circle. A positive value for r places the 0° reference point onto the positive x- axis and a negative value for r places the 0° reference point onto the negative x-axis. • The value for q1 is a clamped real number. q1 qc r 0° referen...
Page 178 - Plot Function Instructions
2001/10/02 CHAPTER 4 HP -GL/2 - 30 7.5. Plot Function Instructions Instruction Function AC Anchor Corner FT Fill Type LA Line Attribute LT Line Type PW Pen Width RF Raster Fill Definition SM Symbol Mode SP Select Pen SV Screened Vectors TR Transparency Mode UL User-defined Line Type W U Select Unit ...
Page 179 - FT
2001/10/02 CHAPTER 4 HP -GL/2 - 31 FT - Fill type FT n (, d (, q ))[;] n ; Fill type d ; option 1 q ; option 2 • Sets t he fill type, interval and angle when filling an area. This setting is effective for the commands FP, RA, RR, WG and CF. • The value for n must be a clamped integer number Fill typ...
Page 180 - LA - Line attribute; This command specifies the shape of line joins and line ends.; Labels are always drawn with rounded ends and joins.
2001/10/02 CHAPTER 4 HP -GL/2 - 32 LA - Line attribute LA [ l, v [ , l , v [ , l , v ]]] [;] l ; line attribute v : value • This command specifies the shape of line joins and line ends. • These settings are effective for the line widths thicker than 0.35 mm. • l specifies the line attribute for whic...
Page 181 - LT - Line type selection; Line pattern number
2001/10/02 CHAPTER 4 HP -GL/2 - 33 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 g roup command...
Page 182 - RF - Raster fill definition; stands for a pixel in the defined fill.
2001/10/02 CHAPTER 4 HP -GL/2 - 34 PW - Pen width PW [ w , [, p ]] [;] w ; width p ; pen • This command specifies the width of the pen. • Pen width can either be specified as a fixed width in millimeters ( the default ) or relative to the distance between the scaling points P1 and P2. • If a width o...
Page 183 - option
2001/10/02 CHAPTER 4 HP -GL/2 - 35 10 '--Raster Fill Definition== 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "PU5,5;PA3500,2500;" 70 LPRINT "RF2,8,4,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0...
Page 184 - TR - Transparency mode; 0 'Original Destination 1
2001/10/02 CHAPTER 4 HP -GL/2 - 36 • With screen type 21 option 1 specifies one of six predefined PCL cross-hatch patterns (patterns 1 - 6). option 2 is ignored. • With screen type 22, option 1 specifies the ID number of PCL user-defined pattern which is defined by the ESC*c#W command. option 2 is i...
Page 186 - WU - Select unit for pen width
2001/10/02 CHAPTER 4 HP -GL/2 - 38 170 'Source 2 180 LPRINT "FT10,50;PA4000,5000;RR500,500;PA4500,5500;RR500,500;" 190 LPRINT "FT10,1;PA4500,5000;RR500,500;PA4000,5500;RR500,500;FT;" 200 ' 210 '( POLYGON ) 220 LPRINT "PA2000,1000;PM0;PDPA4000,1000,3000,3000;PM1;" 230 LPRINT &...
Page 187 - Character Plot Instructions
2001/10/02 CHAPTER 4 HP -GL/2 - 39 • The command sets all pen widths to a default of 0.35mm. Hence it should be used before the PW command. • Using the command with no parameter defaults the type to 0 (metric) and all pen widths to 0.35mm. • The unit type is not affected by a DF command. 10 '-Pen Wi...
Page 188 - SD - Define standard font
2001/10/02 CHAPTER 4 HP -GL/2 - 40 7.6.1. Introduction The character group commands enable you to print text to accompany your HP-GL/2 generated graphics without leaving graphics mode. You can use any font that would be available to you in LaserJet emulation mode and you can modify various printing ...
Page 191 - AD - Define alternate font; attribute; SS - Select standard font; The default standard font is the HP-GL stick font.; SA - Select alternate font
2001/10/02 CHAPTER 4 HP -GL/2 - 43 AD - Define alternate font AD [ attribute , value ] [..] [;] attribute : a font attribute to be defined value : the value of the attribute • This command allows you to define the alternate font and its attribute. • attribute t akes a value from 1-7. 1 = symbol set,...
Page 192 - font-ID : the identity number of any accessible font; LB - Character plot; This command enables you to print character strings.
2001/10/02 CHAPTER 4 HP -GL/2 - 44 FI - Select primary font FI font-ID [;] font-ID ; the identity number of any accessible font. • This command allows you to select any accessible font, which has previously been given an identity number in LaserJet mode, as the primary (standard) font. All subsequen...
Page 193 - DT - Define label terminator; parameter
2001/10/02 CHAPTER 4 HP -GL/2 - 45 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 ...
Page 194 - DI - Absolute direction; tan
2001/10/02 CHAPTER 4 HP -GL/2 - 46 • When you use an LO instruction the carriage return point is set to be the new label origin. To send the pen back to a label's origin when you have finished printing it, include a carriage return between the last character of the label and the terminating characte...
Page 195 - DR - Relative direction
2001/10/02 CHAPTER 4 HP -GL/2 - 47 90 LPRINT "DT";" 100 LPRINT "DT0,2;LB_*_1988#"; "DI2,2;LB_*_1989#"; 110 LPRINT "DT2,0;LB_*_1990#"; "DI2,-2;LB_*_1991#"; 120 LPRINT "DT0,-2;LB_*_1992#"; "DI-2,-2;LB_*_1993#"; 130 LPRINT "DT-2,0;LB_*_199...
Page 196 - DV - Define variable text path; path; CP - Relative character movement
2001/10/02 CHAPTER 4 HP -GL/2 - 48 DV - Define variable text path DV [ path [, line ]] [;] path : text printing path - horizontal or vertical, and left to right, right to left, upwards or downwards. line : the effect of a line feed. • This command determines the printing direction for labels and the...
Page 197 - CF - Character fill mode; fill; SI - Set absolute character size
2001/10/02 CHAPTER 4 HP -GL/2 - 49 CF - Character fill mode CF [ fill [, pen ]] [;] fill : the fill pattern used to fill characters pen : the pen used to edge characters • This command determines how characters are edged and filled. • Only scalable fonts can be both filled and edged - bitmap fonts a...
Page 198 - SR - Set relative character size; SL - Character slant
2001/10/02 CHAPTER 4 HP -GL/2 - 50 10 ' -Absolute Character Size- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "PA700,3000;DT#;LBPrinter#" 70 LPRINT "PA700,2000;SI0.75,1;LBPrinter#" 80 LPRINT ...
Page 200 - SB - Scalable or bitmap fonts; TD - Transparent data; mode
2001/10/02 CHAPTER 4 HP -GL/2 - 52 10 ' -Character Slant- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27; "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SD1,21,2,1,4,25,5,0,6,0,7,5;SI0.7,1;" 70 LPRINT "PA1000,1000;DT#,1;SL0.36,LBPrinter#" 80 ...
Page 205 - PRINTER JOB LANGUAGE
2001/10/02 CHAPTER 5 PJL - 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE
Page 208 - About PJL; All PJL commands except the; Printer
2001/10/02 CHAPTER 5 PJL - 4 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 env...
Page 209 - In Case of Using PJL with a Non-PJL Printer; The print job is possibly followed by more printed PJL commands.
2001/10/02 CHAPTER 5 PJL - 5 1.2. In Case of Using PJL with a Non-PJL Printer Our recent printer models support PJL, however, earlier models do not . If the PJL commands are sent to a non-PJL printer, the printer acts as follows; 1.2.1. PCL jobs For a PCL printer which does not support the PJL langu...
Page 210 - PJL Syntax and Format; Syntax
2001/10/02 CHAPTER 5 PJL - 6 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 o ptional para...
Page 211 - Syntax errors include :
2001/10/02 CHAPTER 5 PJL - 7 1.4. Variables PJL can use alphanumeric variables, numeric variables s and strings. 1.4.1. Alphanumeric variables The first character must always be a character in the allowable range of letters and digits. Letters consists of the uppercase characters (ASCII 65-90) and l...
Page 212 - HOW TO USE PJL; Overview
2001/10/02 CHAPTER 5 PJL - 8 2. HOW TO USE PJL 2.1. Overview PJL resides "above" printer languages such as Postscript and PCL. Each job can be distinguished from the other jobs by PJL, and it can switch between PJL commands and printer language commands for each job. PJL Code PCL Job PJL Cod...
Page 213 - COMMAND GROUP; Command Group
2001/10/02 CHAPTER 5 PJL - 9 3. COMMAND GROUP Command Group Command Command Description Kernel Commands UEL Exits current printer language and returns control to PJL. EXECUTE Orders the printer to execute the specified operation. SUPERUSER Moves to the SUPERUSER mode. SUPERUSEROFF Exit from the SUPE...
Page 214 - KERNEL COMMANDS; EXECUTE Command; Parameters; operation
2001/10/02 CHAPTER 5 PJL - 10 4. KERNEL COMMANDS 4.1. Introduction This section explains thre e 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 Unive...
Page 215 - ENTER Command; emulation; COMMENT Command; remarks
2001/10/02 CHAPTER 5 PJL - 11 Example <ESC>%-12345X@PJL<CR><LF> @PJL EXECUTE DEMOPAGE <CR><LF> <ESC>%-12345X 4.4. ENTER Command The ENTER command specifies which emulation the printer uses to print data. Syntax @PJL ENTER LANGUAGE = emulation [<CR>]<LF>...
Page 216 - Example; Printer Language Switching; There are three methods of switching printer languages.
2001/10/02 CHAPTER 5 PJL - 12 Example <ESC>%-12345X@PJL<CR><LF> @PJL COMMENT -----------------------------<CR><LF> @PJL COMMENT -- PCL & PS JOB --<CR><LF> @PJL COMMENT -----------------------------<CR><LF> @PJL <CR><LF> @PJL SET R...
Page 217 - JOB SEPARATION COMMANDS; job name
2001/10/02 CHAPTER 5 PJL - 13 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 beginni...
Page 218 - EOJ Command
2001/10/02 CHAPTER 5 PJL - 14 Example <ESC>%-12345X@PJL<CR><LF> @PJL JOB NAME = "KKK data from spooler" <CR><LF> <ESC>%-12345X@PJL<CR><LF> @PJL COMMENT Postscript Job <CR><LF> @PJL JOB NAME = "YYY data from spooler 2" <CR...
Page 219 - ENVIRONMENT COMMANDS; Factory Default Environment
2001/10/02 CHAPTER 5 PJL - 15 6. ENVIRONMENT COMMANDS 6.1. Introduction Our re cent printers have many features which you are able to set using printer commands, through the printer control panel or by using the remote printer console program. A combination of PJL commands and printer emulation comm...
Page 221 - current PJL job only.
2001/10/02 CHAPTER 5 PJL - 17 6. Always use the PJL RESET command after a job is completed if the SET command is used in the PJL job. 6.1.4. PJL environment variables This section lists the PJL environment variables. There are two kinds of PJL environment variables, General PJL environment variables...
Page 222 - Variables; General PJL Environment Variables
2001/10/02 CHAPTER 5 PJL - 18 6.2. Variables 6.2.1. Variables for HL-1050/1070/1250/ 1270N/1450/1470N/ P2500/1670N/3260N/2460 1 . General PJL Environment Variables The PJL environment variables which are not printer language-specific are listed in the following table. When using these variables, do ...
Page 229 - PCL-Specific Variables
2001/10/02 CHAPTER 5 PJL - 25 2. PCL-Specific Variables The following values are PCL (HP LaserJet emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM : PCL option. Variables Description Sample Value Range PAPER Sets the paper size. LETTER, A4, LEGA...
Page 231 - EPSON-Specific Variables
2001/10/02 CHAPTER 5 PJL - 27 3 . EPSON-Specific Variables The following values are EPSON (EPSON FX-850 emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM : EPSON option. Variables Description Sample Value Range PAPER Sets the paper size. LETTER, ...
Page 233 - IBM-Specific Variables
2001/10/02 CHAPTER 5 PJL - 29 4 . IBM-Specific Variables The following values are IBM (IBM Proprinter XL emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM : IBM option. Variables Description Sample Value Range PAPER Sets the paper size. LETTER, A...
Page 234 - PostScript -Specific Variables
2001/10/02 CHAPTER 5 PJL - 30 5 . PostScript -Specific Variables The following values are PostScript ( BR-Script ) specific and can be set and requested using PJL. The BR-Script mode is standard in some models b ut may be available only when the optional BR-Script 2 ROM board is installed into the p...
Page 235 - HPGL-Specific Variables
2001/10/02 CHAPTER 5 PJL - 31 6. HPGL-Specific Variables The following values are HPGL (HP LaserJet emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM: HPGL option. Variables Description Sample Value Range PAPER Sets the paper size. LETTER, LEGAL,...
Page 239 - Default Command; personality; Initialize Command
2001/10/02 CHAPTER 5 PJL - 35 6.3. Default Command The DEFAULT command changes the User-Default environme nt 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, th...
Page 240 - Reset Command; Set Command
2001/10/02 CHAPTER 5 PJL - 36 6.5. Reset Command The PJL RESET command resets the PJL Current Environment variables to the User Default values. Use this command at the end of any PJL jobs in which the PJL SET command was used. Syntax @PJL RESET [<CR>]<LF> Parameters • The RESET command h...
Page 242 - STATUS READBACK COMMANDS
2001/10/02 CHAPTER 5 PJL - 38 7. STATUS READBACK COMMANDS 7.1. Introduction Applications can request, by sending a PJL command to the printer, information such as the configuration and status of the printer. The printer can be programmed to send back this information when requested and also can send...
Page 243 - Inquire Command; The; Response Syntax; Examples
2001/10/02 CHAPTER 5 PJL - 39 7.2. Inquire Command The INQUIRE command is used in order to get the information of the current value of a specified variable in the PJL DEFAULT setting. (PJL environment). It is possible to get the information for variables the value of which PJL cannot change (Read-on...
Page 244 - INQUIRE; DINQUIRE Command; This; DINQUIRE; more variables, send multiple; DINQUIRE; LPARM
2001/10/02 CHAPTER 5 PJL - 40 Example 2 : This example requests the PCL-specific settings. <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT ***Inquiring PCL settings*** <CR><LF> @PJL ECHO 19:20:05 02-20-1993 <CR><LF> @PJL INQUIRE LPARM:PCL FONTSOURCE<CR><LF&...
Page 245 - This example requests the PCL-specific settings.; ECHO Command; After sending the; ECHO; words
2001/10/02 CHAPTER 5 PJL - 41 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><L...
Page 246 - INFO Command; category
2001/10/02 CHAPTER 5 PJL - 42 Response Syntax @PJL ECHO [< words >] <CR><LF> <FF> • < words > The beginning of this parameter must be a printable character. Then this parameter consists of characters from ASCII 33 to 255, space characters and horizontal tab characters. ...
Page 247 - Category; Information requesting
2001/10/02 CHAPTER 5 PJL - 43 Parameters Category Information requesting ID The printer model number. For example the HL-1660e will return 'Brother HL-1660e'. CONFIG A list of the printer configuration information (available options) within the format of the number of types and/or the description of...
Page 249 - feature
2001/10/02 CHAPTER 5 PJL - 45 Response Syntax: @PJL INFO CONFIG <CR><LF> feature[=value][value feature information] <CR><LF> [<HT>returned option[ attribute] <CR><LF>] ... ... ... ... feature[=value][value feature information] <CR><LF> [<HT>...
Page 254 - Variable; USTATUS Command
2001/10/02 CHAPTER 5 PJL - 50 Parameters Variable Value Description DEVICE ON 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 OFF Makes unsolicited device status invalid for any status ch...
Page 255 - variable; Description
2001/10/02 CHAPTER 5 PJL - 51 The printer status to be sent to the host computer are ; • Device status changes - printer cover open, paper jams, paper out, etc • J o b s tatus changes - completion of the printing of a job, receiving a JOB command • Page status changes - ejecting a printed page All t...
Page 258 - USTATUSOFF Command; JOB Recovery
2001/10/02 CHAPTER 5 PJL - 54 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 &...
Page 259 - DEVICE ATTENDANCE COMMANDS; RDYMSG Command; RDYMSG; message; S P; message
2001/10/02 CHAPTER 5 PJL - 55 8. DEVICE ATTENDANCE COMMANDS 8.1. Introduction You can change dis play 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. RDY...
Page 260 - OPMSG Command; OPMSG; STMSG Command; STMSG; Return Syntax
2001/10/02 CHAPTER 5 PJL - 56 The following is an example of how to restore the display to the normal ready message. <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT Normal READY message <CR><LF> @PJL RDYMSG DISPLAY = "" <CR><LF> @PJL EOJ NAME = "End of T...
Page 261 - Parameter; key; If the operator press the ONLINE key,
2001/10/02 CHAPTER 5 PJL - 57 Parameters Parameter Functional Range Default DISPLAY = " message " ASCII 33 and ASCII 35 through 255, < S P >, < HT > N/A key ONLINE, RESET N/A DISPLAY = " message " You can use any combination of characters available on the printer except f...
Page 264 - CHAPTER 6 EPSON - 1; CHAPTER 6
2001/10/02 CHAPTER 6 EPSON - 1 CHAPTER 6 EPSON FX-850
Page 265 - CHAPTER 6 EPSON - 2
2001/10/02 CHAPTER 6 EPSON - 2 C ONTENTS 1. COMMAND LIST ....................................................................................................................................3 2. INTRODUCTION ................................................................................................
Page 266 - CHAPTER 6 EPSON - 3
2001/10/02 CHAPTER 6 EPSON - 3 1. COMMAND LIST NUL Null 9 BEL Bell 9 SP Space 9 BS Backspace 9 CR Carriage return 9 LF Line Feed 9 FF Form Feed 9 Esc SP n Set inter-character space 10 Esc a n Select justification mode 10 Esc $ n1 n2 Set absolute print position 10 Esc \ n1 n2 Set relative print posit...
Page 267 - CHAPTER 6 EPSON - 4
2001/10/02 CHAPTER 6 EPSON - 4 DC2 Cancel condensed character mode 17 Esc E Select emphasized character mode 17 Esc F Cancel emphasized character mode 17 Esc G Select double -strike mode 17 Esc H Cancel double -strike mode 17 Esc W n Select / Canc el double -width printing 17 SO Select single -line ...
Page 268 - CHAPTER 6 EPSON - 5
2001/10/02 CHAPTER 6 EPSON - 5 2. INTRODUCTION In this mode you can control the HL-Series printers that support this emulation directly by incorporating control codes and escape sequences into your program. Alternatively, applications software (for example, your word -processing or spreadsheet softw...
Page 269 - CHAPTER 6 EPSON - 6; EMULATION DETAILS; Ignored Commands
2001/10/02 CHAPTER 6 EPSON - 6 3. EMULATION DETAILS The following points should be borne in mind when using the printer in Epson FX-850 mode. 3.1. Ignored Commands The following commands are ignored: the BEL control code (ASCII code 7) which is normally used to sound a printer’s bell, the DC1 (ASCII...
Page 270 - CHAPTER 6 EPSON - 7; The lower case ‘L’ character is shown as an; printer command, to distinguish it from the
2001/10/02 CHAPTER 6 EPSON - 7 4. TERMINOLOGY 4.1. Syntax The following conventions are used in this description of the Epson FX-850 mode software commands: A single letter, two or three-letter control code mnemonic, or number in upright bold text is a literal character and should be sent to the pri...
Page 271 - CHAPTER 6 EPSON - 8; The Control Panel
2001/10/02 CHAPTER 6 EPSON - 8 5. CONTROLLING THE PRINTER Commands are invoked using either control codes or escape sequences. You can send them to the printer as part of a program using the same command that you would use to print a string on the printer. For example in BASIC you would use the LPRI...
Page 272 - CHAPTER 6 EPSON - 9; Basic printer operations
2001/10/02 CHAPTER 6 EPSON - 9 6. COMMANDS 6.1. Basic printer operations The most common printer operations are described in this section. Some are invoked using control codes alone - the rest require escape sequences. For the sake of completeness, several instructions which are part of the Epson FX...
Page 273 - CHAPTER 6 EPSON - 10; EscSPn; the right; EscU
2001/10/02 CHAPTER 6 EPSON - 10 Set inter-character space EscSPn (27)(32)n <1Bh><20h>n • This command allows you to set the space between successive characters. • n is the space between characters in multiples of 1/120". • n must be in the range 0 to 127. LPRINT CHR$(27); CHR$(32); C...
Page 274 - CHAPTER 6 EPSON - 11; Escxn
2001/10/02 CHAPTER 6 EPSON - 11 Set data MSB to 1 Esc> (27)(62) <1Bh><3Eh> • This command enables you to set the most significant bit of incoming data bytes to 1. • This command does not affect data comprising a gra phics image or data that defines a downloadable character. LPRINT CHR...
Page 275 - CHAPTER 6 EPSON - 12; User reset; Page set up; Set page length; or
2001/10/02 CHAPTER 6 EPSON - 12 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 EscEM...
Page 277 - CHAPTER 6 EPSON - 14; Set left margin; Line Spacing
2001/10/02 CHAPTER 6 EPSON - 14 Set left margin Escln (27)(108)n <1Bh><6Ch>n • This command sets the left margin in columns from the left edge of the page. The width of a column is the current character width. • In proportional spacing mode a column width of 1/10" is adopted. • This ...
Page 278 - CHAPTER 6 EPSON - 15; EscAn
2001/10/02 CHAPTER 6 EPSON - 15 Select 7/72" line spacing Esc1 (27)(49) <1Bh><31h> • This command sets the line spacing to 7/72". All subsequent line feed operations will move the print position 7/72" down the page. • Since the printer resolution is 600 dots per inch the line...
Page 279 - CHAPTER 6 EPSON - 16; Using Tabs; Set horizontal tab stops
2001/10/02 CHAPTER 6 EPSON - 16 6.4. Using Tabs Set horizontal tab stops EscDn1n2n3...NUL (27)(68)n1n2n3...(00) <1Bh><44h>n1n2n3...<00h> • This command enables you to set up to 32 horizontal tab stops based on the current character width. • The character width setting is determined...
Page 280 - CHAPTER 6 EPSON - 17; Select vertical tab channel; Using Standard Characters; Set pitch to 10 characters per inch
2001/10/02 CHAPTER 6 EPSON - 17 • m i specifies the tab based on the current line space setting. • The value of m i must be in the range 0 to 255. • The tab stops must be set in ascending order. If you specify a channel’s tab settings in any other order, any previous settings made for that channel a...
Page 281 - CHAPTER 6 EPSON - 18; Esc P
2001/10/02 CHAPTER 6 EPSON - 18 • You cannot use the backspace, BS , code in proportional spacing mode. • If you change the character pitch using Esc P or Esc M , proportional spacing is automatically turned off. LPRINT CHR$(27); CHR$(112); CHR$(1); 'Turn proportional spacing on Select condensed cha...
Page 282 - CHAPTER 6 EPSON - 19; SO
2001/10/02 CHAPTER 6 EPSON - 19 • When you specify a value for n you may also use the character codes for ‘0’ and ‘1’ (48 and 49) instead of 0 and 1. • Only Esc W 0 can be used to cancel double -width printing mode set using the Esc W 1 instruction. • Esc W 0 cancels double -width printing mode set ...
Page 283 - CHAPTER 6 EPSON - 20; Esc T
2001/10/02 CHAPTER 6 EPSON - 20 • Selecting either superscript or subscript mode cancels double -height printing mode. • You can cancel either superscript or subscript mode with the Esc T command. LPRINT CHR$(27); CHR$(83); CHR$(0); 'Turn on superscript mode Cancel superscript / subscript mode EscT ...
Page 284 - CHAPTER 6 EPSON - 21; Select expansion of printable code area
2001/10/02 CHAPTER 6 EPSON - 21 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 285 - CHAPTER 6 EPSON - 22; Using customized characters; Define characters; Select standard / downloaded characters
2001/10/02 CHAPTER 6 EPSON - 22 6.6. Using customized characters Define characters Esc&NUL n 1 n 2 ( n 3 <character definition data>) (27)(38)(00)n1n2(n3....) <1Bh><26h><00h>n1n2(n3...) • This command enables you to define and download characters for printing. • Monospace...
Page 287 - CHAPTER 6 EPSON - 24; Copy ROM character to RAM; characters to its RAM; Graphics; Select image mode; Sample 9; Reassign image mode; cm; Esc K
2001/10/02 CHAPTER 6 EPSON - 24 Copy ROM character to RAM Esc:000 (27)(58)(00)(00)(00) <1Bh><3Ah><30h><30h><30h> • In order to use your own customized characters in conjunction with the standard characters contained in the printer, you must first download the printer st...
Page 288 - CHAPTER 6 EPSON - 25; Print 9 bit image
2001/10/02 CHAPTER 6 EPSON - 25 • c is the character which signifies the graphics mode: K = single -density (60 dpi), L = double -density (120 dpi), Y = double -speed, d ouble -density (120 dpi) and Z = quadruple -density (240 dpi). • m defines the new horizontal resolution to be assigned to the spe...
Page 289 - CHAPTER 6 EPSON - 26; Print single-density image
2001/10/02 CHAPTER 6 EPSON - 26 Print single-density image EscKn 1 n 2 <image data> (27)(75)n1n2.... <1Bh><4Bh>n1n2.... • This command enables you to define and print a single line raster bit image on a single text line. • n 1 and n 2 define the number of bytes that comp rise the i...
Page 290 - CHAPTER 6 EPSON - 27
Page 291 - CHAPTER 6 EPSON - 28; Print double-speed double-density image
2001/10/02 CHAPTER 6 EPSON - 28 Print double-speed double-density image EscYn 1 n 2 <image data> (27)(89)n1n2.... <1Bh><59h>n1n2.... • This command enables you to define and print a single line raster bit image on a single text line. • n 1 and n 2 define the number of bytes that co...
Page 292 - CHAPTER 6 EPSON - 29
Page 293 - CHAPTER 6 EPSON - 30
2001/10/02 CHAPTER 6 EPSON - 30 7. INDEX 9 9 bit image.................................................................................. 23 A absolute print position ............................................................ 10 B Backspace..............................................................
Page 294 - CHAPTER 7 IBM PROPRINTER - 1; CHAPTER 7
2001/10/02 CHAPTER 7 IBM PROPRINTER - 1 CHAPTER 7 IBM PROPRINTER XL
Page 295 - CHAPTER 7 IBM PROPRINTER - 2
2001/10/02 CHAPTER 7 IBM PROPRINTER - 2 C ONTENTS 1. COMMAND LIST ....................................................................................................................................3 2. INTRODUCTION .......................................................................................
Page 296 - CHAPTER 7 IBM PROPRINTER - 3
2001/10/02 CHAPTER 7 IBM PROPRINTER - 3 1. COMMAND LIST NUL Null 8 BEL Bell 8 ESC Escape 8 SP Space 8 BS Backspace 8 LF Line Feed 8 FF Form Feed 8 CR Carriage return 8 Esc5n Automatic line feed 9 DC1 Enable printer 9 EscQ22 Disable printer 9 EscQ3 Disable printer 9 EscCRmode Reset printer / change e...
Page 297 - CHAPTER 7 IBM PROPRINTER - 4
2001/10/02 CHAPTER 7 IBM PROPRINTER - 4 Esc^<char-code> Select a character from the All Character Code table 17 EscI Select character font 17 Esc=n1n220n3(n4n5<character definition data>...) 17 Define characters EscKn1n2<image data> 18 Set single -density image mode EscLn1n2<ima...
Page 298 - CHAPTER 7 IBM PROPRINTER - 5
2001/10/02 CHAPTER 7 IBM PROPRINTER - 5 2. INTRODUCTION Some of these HL Series printers offer a complete emulation of the IBM Proprinter. In Proprinter XL mode you can drive the printer directly by incorporating control codes and escape sequences in your program, or alternatively, applications soft...
Page 299 - CHAPTER 7 IBM PROPRINTER - 6; BEL; control code; Esc Y; has the same effect as the; Esc L; BASIC this would be:
2001/10/02 CHAPTER 7 IBM PROPRINTER - 6 3. EMULATION DETAILS The following points should be borne in mind when running the HL Series printers in IBM Proprinter XL mode. 3.1. Ignored Commands A few IBM Pro printer XL commands have reduced effect, or no effect at all. In some cases this is due to the ...
Page 300 - CHAPTER 7 IBM PROPRINTER - 7; NOTATION USED IN THIS EMULATION DESCRIPT ION
2001/10/02 CHAPTER 7 IBM PROPRINTER - 7 4. NOTATION USED IN THIS EMULATION DESCRIPT ION 4.1. Syntax The following conventions are used in this description of the Proprinter XL software commands. A letter, word or number in upright bold text is the literal character which and should be sent to the pr...
Page 301 - CHAPTER 7 IBM PROPRINTER - 8; Basic Printer Operation
2001/10/02 CHAPTER 7 IBM PROPRINTER - 8 5. COMMANDS 5.1. Basic Printer Operation The most common printer operations are described in this section. Most are invoked using control codes. For the sake of completeness the instructions which HL Series printers ignore are included. Null NUL (0) <0h>...
Page 302 - CHAPTER 7 IBM PROPRINTER - 9; Automatic line feed; sent to the printer.; Enable printer; o r; Change emulation mode
2001/10/02 CHAPTER 7 IBM PROPRINTER - 9 Automatic line feed Esc5n (27)(53)n <1Bh><35h>n • When automatic line feed is ON, a line feed is automatically performed every time a carriage return is sent to the printer. • To turn the automatic line feed function ON, set n to 1. • To turn the a...
Page 303 - CHAPTER 7 IBM PROPRINTER - 10; Paper input control
2001/10/02 CHAPTER 7 IBM PROPRINTER - 10 Paper input control EscEMn (27)(25)n <1Bh><19h>n n Value HL-1660e/2060/2400C/2400Ce/3400CN/3260N/2460 n = 0 Initialize the feeder mode. n = 1 Feed from the MP tray. n = 2 Feed from Tray 1. n = 3 Feed from Tray 2. n = 4 Feed from Tray 3. n = 5 Feed...
Page 304 - CHAPTER 7 IBM PROPRINTER - 11; Page Format
2001/10/02 CHAPTER 7 IBM PROPRINTER - 11 5.2. Page Format Set page length EscCn (27)(67)n <1Bh><43h>n This command sets the page length in lines. o r EscCNULn (27)(67)(0)n <1Bh><43h><00h>n • This command sets the page length in inches. • n is the number of lines that ma...
Page 305 - CHAPTER 7 IBM PROPRINTER - 12; Line spacing and tabs
2001/10/02 CHAPTER 7 IBM PROPRINTER - 12 Line spacing and tabs Set 1/8" line spacing Esc0 (27)(48) <1Bh><30h> This command sets the line spacing to 1/8". All subsequent line feed operations will move the print position 1/8" down the page. LPRINT CHR$(27); CHR$(48); 'Set line ...
Page 306 - CHAPTER 7 IBM PROPRINTER - 13; Set horizontal tabs
2001/10/02 CHAPTER 7 IBM PROPRINTER - 13 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 a...
Page 307 - CHAPTER 7 IBM PROPRINTER - 14; Using Characters; EscP
2001/10/02 CHAPTER 7 IBM PROPRINTER - 14 5.3. Using Characters Select character set I Esc7 (27)(55) <1Bh><37h> This command selects IBM Character set I for use in subsequent printing operations. LPRINT CHR$(27); CHR$(55); 'Select character set I Select character set II Esc6 (27)(56) <...
Page 308 - CHAPTER 7 IBM PROPRINTER - 15
2001/10/02 CHAPTER 7 IBM PROPRINTER - 15 Set enlarged character mode for a single line SO (14) <0Eh> • This command turns enlarged character mode on for one line only. The subsequent line of text is printed using double -width characters and with the line space setting doubled. • The following...
Page 309 - CHAPTER 7 IBM PROPRINTER - 16; Underline mode; overline; Select character from the All Character Code table
2001/10/02 CHAPTER 7 IBM PROPRINTER - 16 Underline mode Esc-n (27)(126)n <1Bh><7Eh>n • This command turns character underlining on or off. • If n is set to 1 subsequent text is underlined. • Horizontal tab spaces are not underlined irrespective of whether underlining mode is on or off. •...
Page 310 - CHAPTER 7 IBM PROPRINTER - 17; Select a character from the All Character Code table; font
2001/10/02 CHAPTER 7 IBM PROPRINTER - 17 Select a character from the All Character Code table Esc^<char-code> (27)(94)<Char-code> <1Bh><5Eh><Char-code> • This command enables you to print a single character from the All Character Code table. • A control code is not exec...
Page 311 - CHAPTER 7 IBM PROPRINTER - 18; Esc I; Set single-density image mode
2001/10/02 CHAPTER 7 IBM PROPRINTER - 18 • If bits 1 and 2 of n 4 are 01 the least significant bit of each data byte is replicated in rows 9 to 12 of the grid. • If bits 1 and 2 of n 4 are 10 the bits 1 to 4 of each data byte are replicated in rows 9 to 12 of the grid. • Bits 5 to 7 of n 5 specify t...
Page 312 - CHAPTER 7 IBM PROPRINTER - 19; EscYn
2001/10/02 CHAPTER 7 IBM PROPRINTER - 19 • Images are printed at an approximate horizontal resolution of 120 dots per inch and at an approximate vertical resolution of 72 dots per inch. • Each byte represents a vertical column of eight dots, the most significant bit representing the dot at the top. ...
Page 313 - CHAPTER 7 IBM PROPRINTER - 20; Set quadruple-density image mode
2001/10/02 CHAPTER 7 IBM PROPRINTER - 20 Set quadruple-density image mode EscZn 1 n 2 <image data> (27)(90)n1n2<image data> <1Bh><5Ah>n1n2<image data> • This command enables you to define and print a single line raster bit image on a single text line. • n 1 and n 2 defi...
Page 314 - CHAPTER 7 IBM PROPRINTER - 21
2001/10/02 CHAPTER 7 IBM PROPRINTER - 21 6. INDEX A Automatic line feed .................................................................... 9 B Backspace.................................................................................... 8 C cancel .....................................................
Page 315 - CHAPTER 7 IBM PROPRINTER - 22
Page 316 - CHAPTER 8 BAR CODE CONTROL - 1; CHAPTER 8
2001/10/02 CHAPTER 8 BAR CODE CONTROL - 1 CHAPTER 8 BAR CODE CONTROL
Page 317 - CHAPTER 8 BAR CODE CONTROL - 2
2001/10/02 CHAPTER 8 BAR CODE CONTROL - 2 C ONTENTS 1. INTRODUCTION ....................................................................................................................................3 2. PRINT BAR CODES OR EXPANDED CHARACTERS ...........................................................
Page 318 - CHAPTER 8 BAR CODE CONTROL - 3
2001/10/02 CHAPTER 8 BAR CODE CONTROL - 3 1. INTRODUCTION Some of the HL series printers can print bar codes in the HP LaserJet, EPSON FX-850, and IBM Proprinter XL emulation modes, refer to the printer User guide for information.
Page 319 - CHAPTER 8 BAR CODE CONTROL - 4; PRINT BAR CODES OR E XPANDED CHARACTERS; n”. For further information about
2001/10/02 CHAPTER 8 BAR CODE CONTROL - 4 2. PRINT BAR CODES OR E XPANDED CHARACTERS ESC i n ... n \ (27)(105)n ... n (92) <1Bh><69h>n ... n <5Ch> Creates bar codes or expanded characters according to the parameters “n ... n”. For further information about the parameters, see the f...
Page 320 - CHAPTER 8 BAR CODE CONTROL - 5; DEFINITION OF PARAMETERS; Bar Code Mode
2001/10/02 CHAPTER 8 BAR CODE CONTROL - 5 3. DEFINITION OF PARAMETERS This bar code command can have the following parameters in the parameter segment (n ... n). Parameters are effective only within the single command sequence using the syntax ESC i n ... n \ . They do not take effect in any subsequ...
Page 321 - CHAPTER 8 BAR CODE CONTROL - 6; Bar Code Human Readable Line On or Off
2001/10/02 CHAPTER 8 BAR CODE CONTROL - 6 Ÿ Line Block Drawing & Box Drawing Shading “S” 1 = Black 2 = Vertical stripes 3 = Horizontal stripes 4 = Cross hatch 3.3. Bar Code Scaling (Width only) n = “mnnn” or “Mnnn” (nnn = 0 ~ 32767) This parameter specifies the bar code width scaling. The unit o...
Page 322 - CHAPTER 8 BAR CODE CONTROL - 7; Bar Code & Expanded Character Offset in the Y-axis
2001/10/02 CHAPTER 8 BAR CODE CONTROL - 7 3.7. Bar Code, Expanded Character, Line, Block Drawing & Box Drawing Offset in the X -axis n = “xnnn” or “Xnnn” This p arameter specifies the offset from the current print position in the “u”- or “U” -specified units. 3.8. Bar Code & Expanded Charact...
Page 323 - CHAPTER 8 BAR CODE CONTROL - 8
2001/10/02 CHAPTER 8 BAR CODE CONTROL - 8 3.12. Bar Code Data Start n = “b” or “B” • Data that follows “b” or “B” is read in as bar code data. Bar code data must end with the “ \ ” code (5CH), which also terminates this command. The acceptable bar code data is subject to the bar code mode selected b...
Page 324 - CHAPTER 8 BAR CODE CONTROL - 9; ESC i
2001/10/02 CHAPTER 8 BAR CODE CONTROL - 9 • When Code 128 Set A, Set B, or Set C is selected with the parameter “t12” or “12,” “t13” or “T13,” or “t14” or “T14” respectively: Code sets A, B and C are individually selectable. Set A encodes characters in the range Hex 00 to 5F. Set B encodes character...
Page 325 - CHAPTER 8 BAR CODE CONTROL - 10; EXAMPLE PROGRAM LIST INGS
2001/10/02 CHAPTER 8 BAR CODE CONTROL - 10 4. EXAMPLE PROGRAM LIST INGS 10 ' Barcode 20 WIDTH "LPT1:", 255 30 ' CODE 39 40 LPRINT CHR$(27); "it0r1s0x00y00b123456\"; 50 'INTER LEAVED 60 LPRINT CHR$(27); "it1r1s0x70y00b123456\"; 70 ' EAN-13 80 LPRINT CHR$(27); "it5r1s0x00y0...
Page 326 - CHAPTER 9
2001/10/02 CHAPTER 9 HP -GL - 1 CHAPTER 9 HP-GL GRAPHICS LANGUAGE
Page 329 - rounded to the nearest integer.; Font Selection
2001/10/02 CHAPTER 9 HP -GL - 4 2. INTRODUCTION The HP-GL graphics mode emulates 40 out of 56 instructions for the HP 7475A plotter made by Hewlett-Packard. Default measurement unit in the HP-GL graphics mode is 1/1016"(0.025mm). 2.1. HP-GL Syntax A command consists of a two -letter instruction ...
Page 330 - Legal
2001/10/02 CHAPTER 9 HP -GL - 5 2.3.2. Printing area a b d c a b c d (mm) A4 4 5 5 5 A3 4 5 5 5 (HL-3400CN/3260N) Letter 6 5 5 5 Legal 6 5 5 5
Page 331 - Initialization and Default Setting Instructions
2001/10/02 CHAPTER 9 HP -GL - 6 3. COMMANDS 3.1. Initialization and Default Setting Instructions DF - Default set instruction DF[;] • Returns the graphics mode to the default conditions. • The following are the default settings. Function Equivalent Instruction Condition Plot mode PA; Absolute plotti...
Page 335 - Current position; X X coordinate of the cursor movement destination
2001/10/02 CHAPTER 9 HP -GL - 10 Current position (X1, Y1) (X2,Y2) (X3, Y3) (Xn, Yn) 10 '*** PAEX1 *** 20 LPRINT "IN;SP1;" 30 LPRINT "PA2000,6000;PD0,6000,2000,7500,2000,6000;PU2500,6000;" 40 LPRINT "PAPD4500,6000,2500,7500,2500,6000;PU10365,500;" 50 END <Sample 62> 10 ...
Page 337 - Radius
2001/10/02 CHAPTER 9 HP -GL - 12 • Plotting is performed only when the pen is down. • When the pen is u p, plotting is not performed but the cursor position moves to the plot end point. • When scaling has been performed, the cursor is moved by relative coordinates in user units. • Also, when scaling...
Page 338 - The polygon Group
2001/10/02 CHAPTER 9 HP -GL - 13 10 '*** CIEX1 *** 20 LPRINT "IN;SP1;IP2650,1325,7650,6325;" 30 LPRINT "SC-100,100,-100,100;" 40 LPRINT "PA-60,50;CI40,45;" 50 LPRINT "PA60,50;CI40,30;" 60 LPRINT "PA-60,-50;CI40,15;" 70 LPRINT "PA60,-50;CI40,5;" 80 END ...
Page 339 - ER - Edge rectangle relative; X X coordinate of opposite angle for the rectangle
2001/10/02 CHAPTER 9 HP -GL - 14 • When there is no scaling, the coordinate values for X and Y are integer numbers. Current position (X, Y) 10 '*** EAEX *** 20 LPRINT "IN;SP1;PA7000,4000;" 30 LPRINT "PT.3;FT1;RA6000,3000;" 40 LPRINT "SP3,;EA6000,3000;" 50 LPRINT "SP4;FT3,...
Page 341 - After plotting, the cursor returns to its point of origin.; RR - Fill rectangle relative; After plotting the cursor returns to its point of origin.
2001/10/02 CHAPTER 9 HP -GL - 16 RA - Fill rectangle absolute RA X, Y[;] X ; X coordinate of opposite angle for the rectangle Y ; Y coordinate of opposite angle for the rectangle • X and Y coordinates are absolute coordinates in user units or graphics units. • Fill in the rectangle formed by the cur...
Page 345 - PT - Pen thickness select; CS - Standard character set
2001/10/02 CHAPTER 9 HP -GL - 20 XT - X-axis tick XT [;] • Plots vertical tick marks as specified by the TL instruction from the current position. • After plotting, the cursor returns to its point of origin. • Plotting is performed whether the pen is up or down. YT - Y-axis tick YT [;] • Plots horiz...
Page 348 - X increment
2001/10/02 CHAPTER 9 HP -GL - 23 DR - Relative direction DR [ run, rise ] [;] run : X direction component rise : Y direction component • A percentage of the distance in the X and Y directions between P1 and P2 is used as the units • Specifies the character plot direction. • Values for the run and ri...
Page 351 - Dual Context Extensions; Set High resolution control; EscCRRL
2001/10/02 CHAPTER 9 HP -GL - 26 3.7. Dual Context Extensions Set High resolution control (Brother original) EscCRRO This command sets high resolution control off. EscCRRL This command sets high resolution control light level. EscCRRM This command sets high resolution control medium level. EscCRRD T...
Page 355 - COMMAND
10/5/2001 APPENDIX A -COMPARISON LIST-3 In this chapter, you can find which commands are supported by your printer. PCL5/5e COMMAND HL- 1050 HL- 1070 HL- 1250/ 1450 HL- 1270N/ 1470N HL- P2500 HL- 1660e HL- 2060 HL- 2400 C/C e HL- 3400CN HL- 1650/ 1670N HL- 3260N HL-2460 Esc&k#G Line Termination ...
Page 374 - IBM ProPrinter XL
10/5/2001 APPENDIX A -COMPARISON LIST -22 IBM ProPrinter XL COMMAND HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/2400C/2400Ce/3400CN/1650/1670N/3260N/2460 ESC v SP v BS v CR v LF v FF v Esc 5 n v DC1 v Esc Q 22 v Esc Q 3 v Esc CR ! #R v Esc EM n v Esc C n v Esc C NUL n v Esc X m n v Esc N n v...
Page 379 - PJL
10/5/2001 APPENDIX A -COMPARISON LIST -27 PJL PJL commands are supported by HL-1050, HL-1070, HL-1250, HL-1270N/1450/1470N, HL-P2500, HL-1660e, HL-2060, HL-2400C, HL-2400Ce, HL-3400CN, HL-1650, HL-1670N, HL-3260N and HL-2460. Other our printers does not support PJL. COMMAND HL-1050 HL-1070 HL- 1250/...
Page 390 - PCL Specific Variables
10/5/2001 APPENDIX A -COMPARISON LIST -38 PCL Specific Variables PCL SPECIFIC VARIABL ES HL-1050, HL-1070, HL-1250, HL-1270N/1450/1470N , HL- P2500 HL-1660e, HL-2060, HL- 2400C/Ce, HL-3400CN HL-1650/1670N HL-3260N, HL-2460 FONTSOURCE I, S I, C, C1, S I, S I, C1, C2, S FONTNUMBER 0,1,2, ...n 0,1,2, ....
Page 391 - AUTOSKIP
10/5/2001 APPENDIX A -COMPARISON LIST -39 AUTOSKIP ON, OFF ON, OFF ON, OFF ON, OFF
Page 392 - PostScript Specific Variables
10/5/2001 APPENDIX A -COMPARISON LIST -40 PostScript Specific Variables POSTSCRIPT SPECIFIC VARIABLES HL-1050 HL-1070 HL-1250/1450 HL- 1270N/1470N HL-P2500 HL-1660e , HL-2060, HL-2400C/Ce, HL-3400CN HL- 1650/1670N HL-3260 HL-2460 PRTPSERRS ON, OFF ON, OFF ON, OFF ON, OFF ON, OFF ON, OFF ORIENTATION ...
Page 393 - EPSON Specific Variables
10/5/2001 APPENDIX A -COMPARISON LIST -41 EPSON Specific Variables EPSON SPECIFIC VARIABLES HL-1050, HL-1070, HL-1250, HL- 1270N/1450/1470N HL-P2500 HL-1660e , HL-2060, HL-2400C/Ce, HL-3400CN HL-1650/1670N HL-2460 HL-3260N ORIENTAION PORTRAIT LANDSCAPE PORTRAIT LANDSCAPE PORTRAIT LANDSCAPE PORTRAIT ...
Page 394 - IBM Specific Variables
10/5/2001 APPENDIX A -COMPARISON LIST -42 IBM Specific Variables IBM SPECIFIC VARIABLES HL-1050, HL-1070, HL-1250, HL- 1270N/1450/1470N HL-P2500 HL-1660C , HL-2060, HL-2400C/Ce, HL- 3400CN HL-1650/1670N HL-3260N HL-2460 ORIENTATION PORTRAIT, LANDSCAPE PORTRAIT, LANDSCAPE PORTRAIT, LANDSCAPE PORTRAIT...
Page 396 - Select Storage Dvice Command
2001/10/02 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 2 C ONTENTS 1. INTRODUCTION .......................................................................................................................... 3 2. HOW TO READ THE C ARD C OMMANDS SPECIFICATION.................................................
Page 398 - HOW TO READ THE CARD COMMANDS SPECIFICATION; Commands
2001/10/02 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 4 2. HOW TO READ THE CARD COMMANDS SPECIFICATION Each command is described in the following four sections of this manual. 2.1 Commands Command data sequences and syntax. ESC or CR stands for 0x1b or 0x0d as follows; ESC ----0x1b CR ---- 0x0d 2.2 A...
Page 399 - Select Storage Device Command
2001/10/02 APPENDIX B - FLASH/ PCMCIA CARD COMMANDS - 5 3. COMMANDS 3.1 Select Storage Device Command (For HL-2060/2400C/2400Ce/3400CN/2460/3260N Only) Command ESC CR ! 12358F Slot No ** Slot No = 1 Slot No = 2 (Slot No. 2 is not used for the HL-2460/3260N.) Slot No = 3 (Internal HDD) Default = 1 Av...
Page 400 - Format Command; This command executes a logical format.
2001/10/02 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 6 3.2 Format Command 3.2.1 Physical format Command ESC CR ! 12340F Available Devices F, A, H, I Description This command executes a physical format for the storage device. This will delete all existing data on the device. When two devices are inst...
Page 401 - Save Data Command; Save specified type
2001/10/02 APPENDIX B - FLASH/ PCMCIA CARD COMMANDS - 7 3.3 Save Data Command 3.3.1 Save specified type Command ESC CR ! 12345F type(4byte) size(4byte) data... ** type = MCRO, DATA Available Devices F, A, H Description This command saves data of the specified type with the data ID which is set with ...
Page 402 - Data; 4 MEMORY FULL; This command executes the specified ID data.
2001/10/02 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 8 3.4 Data 3.4.1 Save data Command ESC CR ! 12347F ID(2byte) size(4byte) data... Available Devices F, A, H Description This command saves data wh ich is sent from the PC with the specified ID onto the device. If there is insufficient memory in the...
Page 403 - Font; The ID specified with the
2001/10/02 APPENDIX B - FLASH/ PCMCIA CARD COMMANDS - 9 3.5 Font 3.5.1 Save primary font Command ESC CR ! 12343F Available Devices F, A, H, I Description This command saves the primary font which is currently selected into the device. The primary font can also be saved by control panel operation. Th...
Page 405 - This command saves the font with the ID which is specified with the; Error
2001/10/02 APPENDIX B - FLASH/ PCMCIA CARD COMMANDS - 11 3.5.5 Save download font with specified ID Command ESC * c 1029F Available Devices F, A, H, I Description This command saves the font with the ID which is specified with the ESC * C # D (Font ID) command. When two devices are installed into th...
Page 406 - Macro; This command deletes all t he macros which are saved in the device.
2001/10/02 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 12 3.6 Macro 3.6.1 Delete all macros Command ESC & f 1030X Available Devices F, A, H, I Description This command deletes all t he macros which are saved in the device. When two devices are installed into the printer, the command deletes all th...
Page 408 - (Macro ID Configuration) command as a PCL command on the
2001/10/02 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 14 3.6.5 Save image (Printing location not fixed) Command ESC CR ! 12350F Available Device F Description After transferring the last print data into the image data area, this command saves the data with the ID which is specified with the ESC &...
Page 410 - USE CARD COMMANDS FROM PCL; Execute Macros; The priority for searching is as follows
2001/10/02 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 16 4. USE CARD COMMANDS FROM PCL 4.1 Execute Macros Command ESC & l 2 X Execute Macro ESC & l 3 X Call Macro ESC & l 4 X Macro Overlay Available Devices F, A, H, I Description The macros saved in the device can be executed from the PCL...
Page 411 - Use Download Fonts
2001/10/02 APPENDIX B - FLASH/ PCMCIA CARD COMMANDS - 17 4.2 Use Download Fonts Command ESC ( # X Designates soft font # as Primary ESC ) # X Designates soft font # as Secondary ** # = font ID number Available Devices F, A, H, I Description The download fonts saved in the device can be selected from...
Page 412 - USE CARD COMMANDS FROM POSTSCRIPT; fl closefile; Slot 2:
2001/10/02 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 18 5. USE CARD COMMANDS FROM POSTSCRIPT The PostScript emulation recognizes the storage device as a hard disk (except a Flash memory card) and the PostScript file operation allows you to read/write data on these devic es . (i.e.) Create the file n...
Page 413 - APPENDIX C HBP MODE COMMANDS - 1; APPENDIX C
2001/10/02 APPENDIX C HBP MODE COMMANDS - 1 APPENDIX C HBP MODE COMMANDS <For HL-820/1020/1040 Only>
Page 414 - APPENDIX C HBP MODE COMMANDS - 2
2001/10/02 APPENDIX C HBP MODE COMMANDS - 2 C ONTENTS 1. DESCRIPTIONS.....................................................................................................................................3 2. COMMAND TO ENTER HBP MODE.......................................................................
Page 415 - APPENDIX C HBP MODE COMMANDS - 3; DESCRIPTIONS; meaning or code
2001/10/02 APPENDIX C HBP MODE COMMANDS - 3 1. DESCRIPTIONS The HBP mode commands can be used for the HL-820/1020/1040 printers only. The following commands and syntax are used in these specifications. Description: meaning or code <Esc>: 0 x 1b <Space>: 0 x 20 <LF>: 0 x 0a *: 1byte...
Page 416 - APPENDIX C HBP MODE COMMANDS - 4; COMMAND TO ENTER HBP MODE; The printer enters the HBP mode when this comma nd is received.; Explanation; The printer executes the following HBP commands in HBP mode.
2001/10/02 APPENDIX C HBP MODE COMMANDS - 4 2. COMMAND TO ENTER HBP MODE Command <ESC>%-12345X@PJL<LF> @PJL<Space>ENTER<Space>LANGUAGE<Space>=<Space>HBP<LF> Function The printer enters the HBP mode when this comma nd is received. Explanation The printer can ...
Page 417 - APPENDIX C HBP MODE COMMANDS - 5; HBP COMMANDS; Command List
2001/10/02 APPENDIX C HBP MODE COMMANDS - 5 3. HBP COMMANDS An HBP command is composed of ‘@’ + an Uppercase Alphabetic character + parameters (not necessary for some commands). 3.1 Command List <Character string> <Functions> @A Reserved @B Reserved @C Not used @D Speed setting for Centr...
Page 418 - APPENDIX C HBP MODE COMMANDS - 6
2001/10/02 APPENDIX C HBP MODE COMMANDS - 6 3.2 Commands (Detailed Explanation) 3.2.1 Resolution setting commands Command @L + * Function This command sets the printer resolution. Command Resolution @ L+ (00000000)B 600dpi (Default) @ L+ (00000101)B 300dpi @ L+ (00001010)B 150dpi Explanation The res...
Page 419 - APPENDIX C HBP MODE COMMANDS - 7; Sleep mode setting commands; This command sets the sleep time in minutes.; The command is valid until one of the following occurs.
2001/10/02 APPENDIX C HBP MODE COMMANDS - 7 3.2.3 Sleep mode setting commands Command @T+ * Function This command sets the sleep time in minutes. Explanation This command is valid immediately after the printer receives the command. The command is valid until one of the following occurs. (1) The prin...
Page 420 - APPENDIX C HBP MODE COMMANDS - 8; Mode setting commands
2001/10/02 APPENDIX C HBP MODE COMMANDS - 8 3.2.4 Mode setting commands Command @M+* Function This command allows various error mode operations to be set. 1 byte, used as 8 bits, that follows the @M command select the settings for each mode. Bit0:0 = The printer clears the input buffer when a Paper ...
Page 421 - APPENDIX C HBP MODE COMMANDS - 9
2001/10/02 APPENDIX C HBP MODE COMMANDS - 9 3.2.5 Engine related setting commands Command @J+* Function This command allows the setting of engine related commands. Each setting depends on the value of the 3 byte command string. @J+CHR$ (0) +CHR$ (n): Sets Media Type This command allows the printer t...
Page 422 - APPENDIX C HBP MODE COMMANDS - 10
2001/10/02 APPENDIX C HBP MODE COMMANDS - 10 3.2.7 Graphic data input commands Command @G+[data length(3bytes)]+data Function The 3 bytes of data following the @G command shows the length of the data, N. The N bytes following this 3 byte header is handled as graphic data. (Example) fprintf(fp,”@G%c%...
Page 423 - APPENDIX C HBP MODE COMMANDS - 11; Graphic Data Format
2001/10/02 APPENDIX C HBP MODE COMMANDS - 11 3.3 Graphic Data Format The data format, which follows the @G+ [number of data bytes (3 bytes)] command, is as shown below. the number of command bytes for raster 1 command byte 1 modified data 1 command byte 2 modified data 2 the number of command bytes ...
Page 425 - APPENDIX C HBP MODE COMMANDS - 13; RECOMMENDED COMMAND STRING
2001/10/02 APPENDIX C HBP MODE COMMANDS - 13 4. RECOMMENDED COMMAND STRING The command strings below shows the recommended command stream for two pages of a print job. <Esc>% -12345X@PJL<LF> used for HL-820/1020/1040 @PJL DEFAULT AUTOSLEEP=0<LF> used for HL-820/1020/1040 @PJL DEFAU...
Page 426 - APPENDIX C HBP MODE COMMANDS - 14
Page 427 - APPENDIX D; REFERENCE LIST OF
2001/10/02 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000 SERIES UNIQUE COMMANDS - 1 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000 SERIES UNIQUE COMMANDS
Page 430 - GENERAL SPECIFICATIO N; Function
2001/10/02 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000 SERIES UNIQUE COMMANDS - 4 2. GENERAL SPECIFICATIO N The Mailbox unit is an option for the HL-2060, HL-2460 or HL-3260 printer and the MX-2000/4000 series composed of three types of units. The MX-2001/4100 Lower Mailbox unit consists of five ...
Page 431 - COMMAND REFERENCE LIST; Commands Descriptions; Format; TrayName; OPTIONALOUTPUTBIN10:; ALLSTACKER
2001/10/02 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000 SERIES UNIQUE COMMANDS - 5 3. COMMAND REFERENCE LIST This section describes the specific commands as listed below used to support the functions of the Mailbox unit. 1) PJL output tray & mode setting 2) PJL mailbox protection & bin num...
Page 434 - This operator selects the specified output tray and output mode.; statusdict begin
2001/10/02 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000 SERIES UNIQUE COMMANDS - 8 Explanation • This operator selects the specified output tray and output mode. • This operator is ignored when no tray is specified. • The ‘1’ and ‘2’ parameters are executed for all output trays other than ones whi...
Page 436 - APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 1; APPENDIX E
2001/10/02 APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 1 APPENDIX E REFERENCE LIST OF FS-5050 UNIQUE COMMANDS
Page 437 - APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 2
2001/10/02 APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 2 C ONTENTS 1. INTRODUCTION ................................................................................................................ 3 2. GENERAL SPECIFICATION ..............................................................
Page 438 - APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 3
2001/10/02 APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 3 1. INTRODUCTION This manual covers the general specifications and the command reference list of the FS-5050 Finisher/Stapler units, which are optionally installed onto the HL-3260 printer. 2. GENERAL SPECIFICATIO N The Finish...
Page 439 - APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 4
2001/10/02 APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 4 3.1. Commands Descriptions 3.1.1. PJL output tra y Format @PJL SET/DEFAULT OUTBIN= TrayName Parameter TrayName* • FINISHER: Select the tray of the Finisher/Stapler unit Default = ALLSTACKER Explanation • This command selects ...
Page 440 - setpagedevice
2001/10/02 APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 5 3.1.4. PJL staple on/off Format @PJL SET/DEFAULT STAPLE= StapleName Parameter StapleName* • UPPER LEFT: Select the upper left of the Finisher/Stapler unit • UPPER RIGHT: Select the upper right of the Finisher/Stapler unit • L...