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
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.; Control code
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 panel reset A reset or factory reset performed using the printer control panel. Cross-hatching A method of shading using perpendicular diagonal lines that cross one another. Current units The current unit type in use in HP-GL and HP-GL/2 mode. Current units are either user units or graphi...
Page 7 - A method of shading using parallel lines.
v Font A collection of characters that are designed to work in harmony together. A font has several characteristics that identify it uniquely: character or symbol set, spacing, pitch, height or point size, style, stroke weight and typeface. Fonts can either be resident in the printer's ROM, installe...
Page 8 - vi
vi Logical page The area of the physical page on which the cursor can be positioned in LaserJet mode. You can use PCL commands to specify the position of the logical page on the physical page. Also known as the PCL addressable area. LSB i) The least significant byte of a set of data bytes. ii) The l...
Page 9 - vii
vii Physical page The paper or envelope on which the printer prints. Picture frame The area of the physical page in which HP-GL and HP-GL/2 graphic images can be printed. Pitch The number of characters in one inch of text. Only applicable to monospaced (fixed pitch fonts.) Plot A drawing produced us...
Page 10 - viii; See
viii Reset When you reset the printer you restore a base set of conditions. A reset can either be performed using the control panel or by sending the printer a reset command. There are two types of reset, the normal reset and factory reset. A normal reset simply restores the current emulation mode w...
Page 11 - ix
ix Stick font The default HP-GL and HP-GL/2 font consisting of thin lined characters. Stroke weight The thickness of the lines that comprise the characters in a particular font. Medium, bold and light stroke weights are commonly used. Sub-polygon A shape consisting of a closed group of points connec...
Page 13 - CHAPTER 1 INTRODUCTION - 1; CHAPTER 1
10/10/03 CHAPTER 1 INTRODUCTION - 1 CHAPTER 1 INTRODUCTION
Page 14 - CHAPTER 1 INTRODUCTION - 2; ABOUT THE MANUAL 3
10/10/03 CHAPTER 1 INTRODUCTION - 2 CONTENTS1. ............................................................................................. ABOUT THE MANUAL 3 2. AREAS OF USE ........................................................................................................4 2.1 Using Word Pro...
Page 15 - CHAPTER 1 INTRODUCTION - 3; ABOUT THE MANUAL
10/10/03 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 emul...
Page 16 - CHAPTER 1 INTRODUCTION - 4; Using Word Processing Packages and Spreadsheets; C language program
10/10/03 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 use the print...
Page 17 - CHAPTER 1 INTRODUCTION - 5; Development
10/10/03 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 charac...
Page 18 - CHAPTER 1 INTRODUCTION - 6
Page 19 - PRINTER CONTROL
10/10/03 CHAPTER 2 "PCL" - 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE
Page 20 - ONTENTS
10/10/03 CHAPTER 2 "PCL" - 2 C ONTENTS 1. COMMAND LIST .................................................................................................................. 7 2. INTRODUCTION ...........................................................................................................
Page 25 - LIST
10/10/03 CHAPTER 2 "PCL" - 7 1. COMMAND LIST Control Codes 11 Escape sequences 12 Esc&k#G Line termination 12 Esc&s#C End-of-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 16 Esc...
Page 27 - Status Readback
10/10/03 CHAPTER 2 "PCL" - 9 Status Readback 95 Esc*s#T Set status readback location type 96 Esc*s#U Set status readback location unit 96 Esc*s#I Inquire status readback entity 97 Esc*s1M Free space command 101 Esc&r#F Flush all pages command 102 Esc*s#X Echo command 102
Page 29 - CONTROLLING THE PRINTER; Codes; ASCII code 8. This code moves the cursor one column to the left.; ASCII code 10. This code performs a line feed.; feed; ASCII code 13. This code performs a carriage return.; tab; ASCII code 32. This code moves the cursor one column to the right.
10/10/03 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 8...
Page 30 - Sequences; Esc; termination
10/10/03 CHAPTER 2 "PCL" - 12 3.2. Escape Sequences Escape sequences, also known as PCL (Printer Control Language) commands, tell the printer which operations to perform. An escape sequence consists of the Esc character followed by a string of characters which define the operation to be perf...
Page 31 - functions mode
10/10/03 CHAPTER 2 "PCL" - 13 3.2.3. Display functions mode You can choose to make the printer print escape sequences instead of executing them. Send the printer the following sequence: EscY (27)(89) <1B><59> Now the printer prints out escape sequences and prints the characters o...
Page 33 - CONTROL; size
10/10/03 CHAPTER 2 "PCL" - 15 4. JOB CONTROL 4.1.1. Page size Esc& l #A (27)(38)(108)#(65) <1Bh><26h><6Ch>#<41h> # stands for the type of paper or envelope to be used. Values for # correspond to the paper or envelope sizes shown in the table. Envelopes sizes are s...
Page 34 - tray
10/10/03 CHAPTER 2 "PCL" - 16 • When the printer receives this command any unprinted pages are printed and the left, right and top margins and the text length are set to their factory defaults for the new page size. • The cursor is moved to the top left of the text area on the new page. • De...
Page 35 - source; If # = 2 the current page is printed and paper is fed in manually.
10/10/03 CHAPTER 2 "PCL" - 17 4.1.3. Paper source Esc& l #H (27)(38)(108)#(72) <1Bh><26h><6Ch>#<48h> # denotes the paper source. Values for # may be 0, 1, 2, 3, or 4. • If # = 0 the current page is ejected and the paper source remains the same. • If # = 1 the curr...
Page 36 - offset registration; Positive
10/10/03 CHAPTER 2 "PCL" - 18 HL-1050 HL-1060/ 1070 HL-1250/ 1270N/ P2500 HL- 1660e /2060 HL-2400C HL-2400Ce HL-3400CN HL-1450 /1470N #=0 Eject ← ← ← ← ← ← ← #=1 Sheet Feeder Tray 1 ← ← ← ← ← ← #=2 Manual Feed ← ← ← ← ← ← ← #=3 N/A ← ← Envelope ← ← ← N/A #=4 N/A Tray 2 ← MP Tray Tray 2 ← ← ←...
Page 37 - printing
10/10/03 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 38 - It is recommended to insert this command at the end of each job.; EscCRFD
10/10/03 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. If ...
Page 39 - EscCRGL
10/10/03 CHAPTER 2 "PCL" - 21 4.1.13. Exit current emulation mode Esc%-12345X (27)(37)(45)(49)(50)(51)(52)(53)(88) <1Bh><25h><2Dh><31h><32h><33h><34h><35h><58h> • When the printer receives this command, all page data already received is p...
Page 40 - Page; page
10/10/03 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 allowable...
Page 41 - page dimensions
10/10/03 CHAPTER 2 "PCL" - 23 4.2.6. Portrait page dimensions (DEFAULT VALUES) A B C D E F G H F G H E G G Physical page Printable area Logical page Default HP-GL/2 picture frame B Physical page length D Maximum logical page length F Distance from edge of physical edge of logical page PAPER ...
Page 43 - # stands for the unit of measurement in dots per inch.
10/10/03 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 44 - The top margin command is ignored if the current VMI is 0.
10/10/03 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. • Dependin...
Page 47 - If the current VMI is 0 the command is ignored.
10/10/03 CHAPTER 2 "PCL" - 29 Top margin Bottom margin Text length Page lengt 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 tha...
Page 48 - 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.
10/10/03 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 posit...
Page 49 - Horizontal cursor positioning - columns; Horizontal cursor positioning - units; The Units value is defined by the
10/10/03 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 to...
Page 50 - Horizontal cursor positioning - decipoints; The cursor’s vertical position remains unchanged.
10/10/03 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 53 - FONTS; sans serif; types
10/10/03 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 HL...
Page 58 - set ID code command
10/10/03 CHAPTER 2 "PCL" - 40 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 d...
Page 63 - Scaling the scalable fonts vertically or horizontally
10/10/03 CHAPTER 2 "PCL" - 45 • The selection will apply to whichever font you are currently specifying (primary or secondary). • If the printer doesn't have the specified size font, the next largest size font is used. If the printer doesn't have a larger sized font, the next smallest one is...
Page 64 - This command designates the stroke weight of the primary font.
10/10/03 CHAPTER 2 "PCL" - 46 Value Font Style 0 1 4 5 8 24 32 64 128 160 Upright & solid Italic Condensed Condensed italic Compressed, or extra condensed Expanded Outline Inline Shadowed Outline shadowed 10 REM ****** PRINT IN ITALIC & UPRIGHT STYLE ****** 20 ESC$=CHR$(27) 30 WIDTH ...
Page 67 - ID
10/10/03 CHAPTER 2 "PCL" - 49 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 sen...
Page 75 - Vendor
10/10/03 CHAPTER 2 "PCL" - 57 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 s...
Page 76 - Value Vendor
10/10/03 CHAPTER 2 "PCL" - 58 Value Vendor 0 Reserved 1 Agfa Division, Miles Inc. 2 Bitstream Inc. 3 Linotype Company 4 The Monotype Corporation plc 5 Adobe Systems Inc. The Typeface family number can be 0 to 4095. This value is calculated as follows; (TrueType base value) + (Vendor value x ...
Page 77 - is; MSL Symbol Index
10/10/03 CHAPTER 2 "PCL" - 59 • 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) - ign...
Page 86 - GRAPHICS; For example; This command sets the source image transparency.
10/10/03 CHAPTER 2 "PCL" - 68 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 th...
Page 87 - pattern; This command sets the pattern transparency.
10/10/03 CHAPTER 2 "PCL" - 69 For example Pattern Source image Destination image Possible results With transparent source image With opaque source imag 6.1.2. Set pattern transparency Esc*v#O (27)(42)(118)#(79) <1Bh><2Ah><76h>#<4Fh> • This command sets the pattern tra...
Page 88 - Fill patterns
10/10/03 CHAPTER 2 "PCL" - 70 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 se...
Page 90 - # = 2 deletes the pattern whose ID number was specified most recently.
10/10/03 CHAPTER 2 "PCL" - 72 6.1.6. User-defined pattern control Esc*c#Q (27)(42)(99)#(81) <1Bh><2Ah><63h>#<51h> • # = 0 deletes all (temporary and permanent) user-defined patterns from the printer memory. • # = 1 deletes all temporary user-defined patterns from the ...
Page 91 - Pattern example
10/10/03 CHAPTER 2 "PCL" - 73 • See the following example for programming examples using patterns. 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 --...
Page 92 - Rectangles; position
10/10/03 CHAPTER 2 "PCL" - 74 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. Cur...
Page 93 - Gray scale example
10/10/03 CHAPTER 2 "PCL" - 75 • See the following example for programming examples using gray scales. 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 GOSU...
Page 94 - Graphics; the; Portrait
10/10/03 CHAPTER 2 "PCL" - 76 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) <1B...
Page 95 - raster; # is the number of rows that are left blank at the top of the image.; compression
10/10/03 CHAPTER 2 "PCL" - 77 6.3.5. Set raster area height Esc*r#T (27)(42)(114)#(84) <1Bh><2Ah><72h>#<54h> • This command sets the height of the raster image to be printed. • # is the number of raster rows. • If you use this command after using a Start Raster Graphi...
Page 100 - ESC; This command resets the compression mode setting to 0.
10/10/03 CHAPTER 2 "PCL" - 82 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 t...
Page 101 - Raster graphics example
10/10/03 CHAPTER 2 "PCL" - 83 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 105 - default picture frame; This command sets the vertical size of the picture frame.; horizontal plot size
10/10/03 CHAPTER 2 "PCL" - 87 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 ima...
Page 107 - This command terminates the macro definition.
10/10/03 CHAPTER 2 "PCL" - 89 7.2. Defining a Macro To define a macro you must first assign an ID number to it, then send to the printer a Start Macro Definition command, the macro definition itself (consisting of a sequence of PCL commands) and finally an End Macro Definition command. 7.2.1...
Page 109 - Macros; This command deletes all macros from the printer’s memory.
10/10/03 CHAPTER 2 "PCL" - 91 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 111 - Laser diode video interface port of the MIO port is opened.
10/10/03 CHAPTER 2 "PCL" - 93 • If the key is [RENAME], this command allows the printer to change the name field of the AppleTalk name binding protocol. <ESC>&b#WRENAME<sp>printername printername should be specified with 1 to 31 characters. The characters $00 to $FF (except f...
Page 112 - READBACK; Status
10/10/03 CHAPTER 2 "PCL" - 94 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. - av...
Page 120 - condensed; downloaded font
10/10/03 CHAPTER 2 "PCL" - 102 9. INDEX A adaptive compression ...................................................... 78 anchor point..................................................................... 87 AppleTalk configuration ................................................. 92 APT ........
Page 121 - italic; location unit; solid
10/10/03 CHAPTER 2 "PCL" - 103 HP-GL/2 mode ................................................................ 86 I internal font ..................................................................... 36 italic ................................................................................ 46 ...
Page 122 - upright; width
10/10/03 CHAPTER 2 "PCL" - 104 status response................................................................. 94 memory ..................................................................... 101 status response syntax ..................................................... 95 stroke weight .....
Page 123 - CHAPTER 3
10/10/03 CHAPTER 3 "PCL5C" - 1 CHAPTER 3 PCL5C
Page 126 - MODES; Command
10/10/03 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 allows ...
Page 127 - Send Raster Data by Plane
10/10/03 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 transformation...
Page 129 - Send Direct Value by Plane; Send Direct Value by Pixel
10/10/03 CHAPTER 3 "PCL5C" - 7 (i.e.) ESC*b#V r, r, r, r, r... → Plane 1 1st raster ESC*b#V g, g, g, g, g... → Plane 2 ESC*b#W b, b, b, b, b... → Plane 3 ESC*b#V r, r, r, r, r... → Plane 1 2nd raster ESC*b#V g, g, g, g, g... → Plane 2 ** The Italic characters shown above are the index No. at...
Page 130 - Format
10/10/03 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 132 - PALETTES; Color; Color; Color
10/10/03 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 valu...
Page 133 - Palette; Pop Palette
10/10/03 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 the...
Page 136 - OUTPUT; Download Dither Matrix; Monochrome
10/10/03 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 137 - Set
10/10/03 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 curr...
Page 140 - long format; raster data; short format
10/10/03 CHAPTER 3 "PCL5C" - 18 7. INDEX A algorithm ......................................................................... 13 B B/W mode ......................................................................... 4 black value ..................................................................
Page 141 - CHAPTER 4
10/10/03 CHAPTER 4 HP-GL/2 - 1 CHAPTER 4 HP-GL/2 GRAPHICS LANGUAGE
Page 149 - SYNTAX; Integer - integers are allowed in the range -2
10/10/03 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 Som...
Page 150 - THE HP-GL GRAPHICS WINDOW
10/10/03 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 graphics window and has x- and y-units of 1/1016". Using the SC command you can divide the axes into m...
Page 151 - PREPARING TO PRINT GRAPHIC IMAGES; Mode
10/10/03 CHAPTER 4 HP-GL/2 - 11 6. PREPARING TO PRINT GRAPHIC IMAGES 6.1. Setting Up the Graphics Window Before entering HP-GL/2 mode you will probably want to set the dimensions and position of the PCL picture frame and hence the graphics window. (Remember that when you enter HP-GL/2 mode they are ...
Page 152 - Commands; DF - Default set instruction
10/10/03 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; Hori...
Page 154 - Plot Area and Unit Setting Instructions; IP - Input scaling point
10/10/03 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 co...
Page 156 - END
10/10/03 CHAPTER 4 HP-GL/2 - 16 • With type 1 scaling you can specify the percentage of unused space that is to lie below, or to the left of, the isotropic area. • left specifies the percentage of unused space you want to lie to the left of the isotropic area and can be from 0 to 100. If you do not ...
Page 157 - RO - Rotate coordinate system
10/10/03 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 soft c...
Page 159 - Coordinates are absolute values in user or current units.; PR - Relative coordinate pen move; Coordinates used are relative values in current units.
10/10/03 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 establish...
Page 160 - AA - Draw absolute arc
10/10/03 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 command ...
Page 162 - qd; PE - Polyline encoded; flag
10/10/03 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 specified...
Page 165 - EA - Edge rectangle absolute
10/10/03 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 WG Fill Wedge FP Fill Polygon PM - Polygon mode PM [ ms ] [;] • This c...
Page 166 - ER - Edge rectangle relative; qc
10/10/03 CHAPTER 4 HP-GL/2 - 26 10 '-Edge Rectangle Absolute- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SC0,150,0,150,1;" 70 LPRINT "PA25;105;EA65;130;" 80 LPRINT "PA30;110;EA70,135;...
Page 167 - RA - Fill rectangle absolute
10/10/03 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° reference ...
Page 168 - RR - Fill rectangle relative
10/10/03 CHAPTER 4 HP-GL/2 - 28 90 LPRINT "FT4,100,45;RA4250,4750;" 100 LPRINT CHR$(27); "%0A"; 110 LPRINT CHR$(27); "E"; 120 END <Sample 34> RR - Fill rectangle relative RR X, Y[;] X ; X coordinate of opposite corner for the rectangle Y ; Y coordinate of opposite corne...
Page 172 - Labels are always drawn with rounded ends and joins.
10/10/03 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 which y...
Page 173 - LT - Line type selection; Line pattern number
10/10/03 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 group commands. • ...
Page 174 - RF - Raster fill definition; stands for a pixel in the defined fill.
10/10/03 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 of zero ...
Page 175 - SV - Screened vectors
10/10/03 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,0,...
Page 176 - TR - Transparency mode
10/10/03 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 igno...
Page 177 - WU - Select unit for pen width
10/10/03 CHAPTER 4 HP-GL/2 - 37 170 'Source 2 180 LPRINT "FT10,50;PA4000,5000;RR500,500;PA4500,5500;RR500,500;" 190 LPRINT "FT10,1;PA4500,5000;RR500,500;PA4000,5500;RR500,500;FT;" 200 ' 210 '( POLYGON ) 220 LPRINT "PA2000,1000;PM0;PDPA4000,1000,3000,3000;PM1;" 230 LPRINT "...
Page 179 - SD - Define standard font
10/10/03 CHAPTER 4 HP-GL/2 - 39 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 cha...
Page 182 - The default standard font is the HP-GL stick font.; SA - Select alternate font
10/10/03 CHAPTER 4 HP-GL/2 - 42 AD - Define alternate font AD [ attribute, value ] [..] [;] attribute : a font attribute to be defined value : the value of the attribute • This command allows you to define the alternate font and its attribute. • attribute takes a value from 1-7. 1 = symbol set, 2 = ...
Page 183 - font-ID : the identity number of any accessible font
10/10/03 CHAPTER 4 HP-GL/2 - 43 FI - Select primary font FI font-ID [;] font-ID ; the identity number of any accessible font. • This command allows you to select any accessible font, which has previously been given an identity number in LaserJet mode, as the primary (standard) font. All subsequently...
Page 184 - DT - Define label terminator; parameter
10/10/03 CHAPTER 4 HP-GL/2 - 44 DT - Define label terminator DT [ c [, m ]] [;] c : Character m : mode • This command allows you to specify the character that terminates strings printed with the LB instruction. • The character immediately following DT is taken to be the terminator. Hence, do not put...
Page 185 - DI - Absolute direction; tan
10/10/03 CHAPTER 4 HP-GL/2 - 45 • When you use an LO instruction the carriage return point is set to be the new label origin. To send the pen back to a label's origin when you have finished printing it, include a carriage return between the last character of the label and the terminating character. ...
Page 186 - DR - Relative direction
10/10/03 CHAPTER 4 HP-GL/2 - 46 90 LPRINT "DT";" 100 LPRINT "DT0,2;LB_*_1988#"; "DI2,2;LB_*_1989#"; 110 LPRINT "DT2,0;LB_*_1990#"; "DI2,-2;LB_*_1991#"; 120 LPRINT "DT0,-2;LB_*_1992#"; "DI-2,-2;LB_*_1993#"; 130 LPRINT "DT-2,0;LB_*_1994#&...
Page 189 - SR - Set relative character size; SL - Character slant
10/10/03 CHAPTER 4 HP-GL/2 - 49 10 ' -Absolute Character Size- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "PA700,3000;DT#;LBPrinter#" 70 LPRINT "PA700,2000;SI0.75,1;LBPrinter#" 80 LPRINT ...
Page 190 - SB - Scalable or bitmap fonts; TD - Transparent data; mode
10/10/03 CHAPTER 4 HP-GL/2 - 50 10 ' -Character Slant- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27; "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SD1,21,2,1,4,25,5,0,6,0,7,5;SI0.7,1;" 70 LPRINT "PA1000,1000;DT#,1;SL0.36,LBPrinter#" 80 LPR...
Page 195 - PRINTER JOB
10/10/03 CHAPTER 5 PJL - 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE
Page 198 - PJL; All PJL commands except the; Printer
10/10/03 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 enviro...
Page 199 - The print job is possibly followed by more printed PJL commands.; jobs
10/10/03 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 languag...
Page 201 - Syntax errors include :; errors
10/10/03 CHAPTER 5 PJL - 7 1.4. Variables PJL can use alphanumeric variables, numeric variabless and strings. 1.4.1. Alphanumeric variables The first character must always be a character in the allowable range of letters and digits. Letters consists of the uppercase characters (ASCII 65-90) and lowe...
Page 202 - HOW TO USE PJL
10/10/03 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 Code ...
Page 203 - GROUP; Command Group
10/10/03 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 SUPERU...
Page 204 - COMMANDS; Syntax; operation
10/10/03 CHAPTER 5 PJL - 10 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 Universa...
Page 205 - emulation; remarks
10/10/03 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 206 - Example; Language; There are three methods of switching printer languages.; switching
10/10/03 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 RET...
Page 207 - JOB SEPARATION COMMANDS
10/10/03 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 beginning...
Page 208 - job name
10/10/03 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&g...
Page 209 - environment
10/10/03 CHAPTER 5 PJL - 15 6. ENVIRONMENT COMMANDS 6.1. Introduction Our recent printers have many features which you are able to set using printer commands, through the printer control panel or by using the remote printer console program. A combination of PJL commands and printer emulation command...
Page 210 - these
10/10/03 CHAPTER 5 PJL - 16 The diagram below illustrates how the environments interact and how the modified print environment is affected. FACTORY DEFAULT ENVIRONMENT USER DEFAULT ENVIRONMENT PJL CURRENT ENVIRONMENT MODIFIED PRINT ENVIRONMENT @PJL INITIALIZE @PJL RESET LANGUAGE RESET, @PJL ENTER, O...
Page 211 - current PJL job only.
10/10/03 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 a...
Page 212 - General PJL Environment Variables
10/10/03 CHAPTER 5 PJL - 18 6.2. Variables 6.2.1. Variables for HL-1050/1070/1250/1270N/1450/1470N/P2500/1650/1670N/3260N/2460/ 7050/1850/1870N/5040/5050/5070N 1. General PJL Environment Variables The PJL environment variables which are not printer language-specific are listed in the following table...
Page 220 - Variables
10/10/03 CHAPTER 5 PJL - 26 Variables Description Sample Value Range ZONESET ON or OFF (HL-2460/7050) TIMEZONE -24 to 24 (HL-2460/7050) OUTBIN ALLSTACKER, ALLSORTER, UPPER, OPTIONALOUTPUTBIN1, OPTIONALOUTPUTBIN2, OPTIONALOUTPUTBIN3, OPTIONALOUTPUTBIN4, OPTIONALOUTPUTBIN5, OPTIONALOUTPUTBIN6, OPTIONA...
Page 230 - Personality
10/10/03 CHAPTER 5 PJL - 36 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 ...
Page 231 - Parameters
10/10/03 CHAPTER 5 PJL - 37 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 has...
Page 234 - The; personality; Examples
10/10/03 CHAPTER 5 PJL - 40 7.2. Inquire Command The INQUIRE command is used in order to get the information of the current value of a specified variable in the PJL DEFAULT setting. (PJL environment). It is possible to get the information for variables the value of which PJL cannot change (Read-only...
Page 235 - INQUIRE; This; DINQUIRE; from more variables, send multiple; DINQUIRE
10/10/03 CHAPTER 5 PJL - 41 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 236 - This example requests the PCL-specific settings.; After sending the; ECHO
10/10/03 CHAPTER 5 PJL - 42 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&...
Page 237 - Response Syntax; words
10/10/03 CHAPTER 5 PJL - 43 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. Th...
Page 238 - Category; Information requesting
10/10/03 CHAPTER 5 PJL - 44 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 e...
Page 239 - feature
10/10/03 CHAPTER 5 PJL - 45 7.5.2. CONFIG category The application can use @PJL INFO CONFIG command to have the printer return a list of printer configuration information. The list consists of the information on paper sources, paper sizes, languages, USTATUS (unsolicited status) commands, font sourc...
Page 240 - INTRAY2; category
10/10/03 CHAPTER 5 PJL - 46 Example The application sends the following command to the printer : <ESC>%-12345X@PJL<CR><LF> @PJL INFO CONFIG<CR><LF> <ESC>%-12345X The printer may send back the answer for the above INFO command : @PJL INFO CONFIG<CR><LF>...
Page 243 - The application can send the
10/10/03 CHAPTER 5 PJL - 49 A4<CR><LF> EXECUTIVE<CR><LF> MONARCH<CR><LF> COM10<CR><LF> C5<CR><LF> DL<CR><LF> B5<CR><LF> LPARM:PCL FONTSOURCE=I [4 EMULATED]<CR><LF> I<CR><LF> C<CR><LF&...
Page 244 - Variable
10/10/03 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 chan...
Page 245 - variable
10/10/03 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 • Job status changes - completion of the printing of a job, receiving a JOB command • Page status changes - ejecting a printed page All the un...
Page 248 - Recovery
10/10/03 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 249 - DEVICE ATTENDANCE COMMANDS; RDYMSG; message; message
10/10/03 CHAPTER 5 PJL - 55 8. DEVICE ATTENDANCE COMMANDS 8.1. Introduction You can change display messages on the printer control panel by using PJL. The Operator can be alerted by this feature to what specific actions should be taken. This chapter shows you three device attendance commands. RDYMSG...
Page 250 - OPMSG; STMSG
10/10/03 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 Tom...
Page 251 - key
10/10/03 CHAPTER 5 PJL - 57 Parameters Parameter Functional Range Default DISPLAY = " message " ASCII 33 and ASCII 35 through 255, < SP >, < HT > N/A key ONLINE, RESET N/A DISPLAY = " message " You can use any combination of characters available on the printer except for ...
Page 253 - CHAPTER 6
10/10/03 CHAPTER 6 EPSON - 1 CHAPTER 6 EPSON FX-850
Page 258 - DETAILS
10/10/03 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 1...
Page 259 - printer command, to distinguish it from the
10/10/03 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 print...
Page 260 - Control
10/10/03 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 LPRINT...
Page 262 - CHAPTER 6 EPSON - 10; HT
10/10/03 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); CHR...
Page 263 - CHAPTER 6 EPSON - 11
10/10/03 CHAPTER 6 EPSON - 11 Set data MSB to 0 Esc= (27)(61) <1Bh><3Dh> • This command enables you to set the most significant bit of incoming data bytes to 0. • This command does not affect data comprising a graphics image or data that defines a downloadable character. LPRINT CHR$(27);...
Page 264 - CHAPTER 6 EPSON - 12; Reset printer / change emulation mode; User reset
10/10/03 CHAPTER 6 EPSON - 12 Reset printer / change emulation mode EscCR<mode> (27)(13)mode <1Bh><0Dh>mode • This command enables you to switch emulation mode or to reset the printer. • Change emulation mode by setting mode to the appropriate letter or pair of letters. Set mode to...
Page 265 - CHAPTER 6 EPSON - 13; set; Set page length; EscCn; or; Set left margin
10/10/03 CHAPTER 6 EPSON - 13 6.2. Page set up Set page length EscCn (27)(67)n <1Bh><43h>n This command sets the page length in lines. or EscCNULn (27)(67)(00)n <1Bh><43h><00h>n • This command sets the page length in inches. • The top of form position is set to be the c...
Page 266 - CHAPTER 6 EPSON - 14; Spacing
10/10/03 CHAPTER 6 EPSON - 14 6.3. Line Spacing Select 1/6" line spacing Esc2 (27)(50) <1Bh><32h> • This command sets the line spacing to 1/6". All subsequent line feed operations will move the print position 1/6" down the page. • This line spacing is the default setting when...
Page 267 - CHAPTER 6 EPSON - 15; Tabs; Set horizontal tab stops
10/10/03 CHAPTER 6 EPSON - 15 Perform n/216" reverse line feed Escjn (27)(106)n <1Bh><6Ah>n This command performs a single reverse line feed, moving the print position up the page by n /216". • This command does not perform a carriage return. • The current line spacing setting is...
Page 268 - CHAPTER 6 EPSON - 16; Set vertical channel tab stops; Standard; Set pitch to 10 characters per inch
10/10/03 CHAPTER 6 EPSON - 16 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...
Page 269 - CHAPTER 6 EPSON - 17; Esc P
10/10/03 CHAPTER 6 EPSON - 17 Set pitch to 12 characters per inch EscM (27)(77) <1Bh><4Dh> This command sets the printing pitch to 12 characters per inch (cpi). LPRINT CHR$(27); CHR$(77); 'Set pitch to 12 cpi Select / cancel proportional spacing Escpn (27)(112)n <1Bh><70h>n •...
Page 270 - CHAPTER 6 EPSON - 18; Cancel double-strike mode
10/10/03 CHAPTER 6 EPSON - 18 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 ...
Page 271 - CHAPTER 6 EPSON - 19; Cancel italic mode; Esc–n
10/10/03 CHAPTER 6 EPSON - 19 Cancel italic mode Esc5 (27)(53) <1Bh><35h> This command cancels the italic printing mode. Subsequent text is printed upright. LPRINT CHR$(27); CHR$(53); 'Cancel italic mode Select superscript / subscript mode EscSn (27)(83)n <1Bh><53h>n • This c...
Page 272 - CHAPTER 6 EPSON - 20; Select printing mode
10/10/03 CHAPTER 6 EPSON - 20 Select printing mode Esc!n (27)(33)n <1Bh><21h>n • This command allows you to select a combination of printing modes with just one command. • The various modes are weighted as shown. Add the numbers that correspond to each mode you require and set n to the t...
Page 273 - CHAPTER 6 EPSON - 21; Select international character set; Esctn; customized; Define characters
10/10/03 CHAPTER 6 EPSON - 21 Select international character set EscRn (27)(82)n <1Bh><52h>n • This command selects one of the available international character sets, refer to the printer User Guide for supported character sets. • Each character set varies slightly from the others and co...
Page 274 - CHAPTER 6 EPSON - 22; Select standard / downloaded characters
10/10/03 CHAPTER 6 EPSON - 22 • Proportionally spaced characters are subject to the same height constraints (that is, eight dots high and either ascending or descending). The width of proportionally spaced characters is specified by the value in n3. • n 1 is the character code of the first character...
Page 275 - CHAPTER 6 EPSON - 23; Select image mode; Sample 9; Reassign image mode
10/10/03 CHAPTER 6 EPSON - 23 6.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. • n 1 and n 2 define th...
Page 276 - CHAPTER 6 EPSON - 24; Print 9 bit image
10/10/03 CHAPTER 6 EPSON - 24 Print 9 bit image Esc^an1n2 (27)(92)an1n2 <1Bh><5Eh>an1n2 • 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 vertical 9-dot columns that comprise the image. • a defines the ...
Page 277 - CHAPTER 6 EPSON - 25; Print single-density image
10/10/03 CHAPTER 6 EPSON - 25 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 comprise the imag...
Page 278 - CHAPTER 6 EPSON - 26; EscYn
10/10/03 CHAPTER 6 EPSON - 26 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 comp...
Page 279 - CHAPTER 6 EPSON - 27
10/10/03 CHAPTER 6 EPSON - 27 7. INDEX 9 9 bit image ....................................................................... 24 A absolute print position ..................................................... 10 B Backspace.......................................................................... 9 C...
Page 280 - CHAPTER 6 EPSON - 28
Page 281 - CHAPTER 7 IBM PROPRINTER - 1; CHAPTER 7
10/10/03 CHAPTER 7 IBM PROPRINTER - 1 CHAPTER 7 IBM PROPRINTER XL
Page 282 - CHAPTER 7 IBM PROPRINTER - 2
10/10/03 CHAPTER 7 IBM PROPRINTER - 2 C ONTENTS 1. COMMAND LIST................................................................................................................... 3 2. INTRODUCTION ..........................................................................................................
Page 283 - CHAPTER 7 IBM PROPRINTER - 3
10/10/03 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 emu...
Page 284 - CHAPTER 7 IBM PROPRINTER - 4; Set single-density image mode
10/10/03 CHAPTER 7 IBM PROPRINTER - 4 EscKn1n2<image data> 18 Set single-density image mode EscLn1n2<image data> 18 Set double-density image mode EscYn1n2<image data> 19 Set double-speed, double-density image mode EscZn1n2<image data> 20 Set quadruple-density image mode
Page 285 - CHAPTER 7 IBM PROPRINTER - 5
10/10/03 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 softwa...
Page 286 - CHAPTER 7 IBM PROPRINTER - 6; BEL; control code; Esc Y; has the same effect as the; Esc L; BASIC this would be:
10/10/03 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 Proprinter XL commands have reduced effect, or no effect at all. In some cases this is due to the phy...
Page 287 - CHAPTER 7 IBM PROPRINTER - 7; NOTATION USED IN THIS EMULATION DESCRIPTION; Conventions
10/10/03 CHAPTER 7 IBM PROPRINTER - 7 4. NOTATION USED IN THIS EMULATION DESCRIPTION 4.1. Syntax The following conventions are used in this description of the Proprinter XL software commands. A letter, word or number in upright bold text is the literal character which and should be sent to the print...
Page 288 - CHAPTER 7 IBM PROPRINTER - 8
10/10/03 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> N...
Page 289 - CHAPTER 7 IBM PROPRINTER - 9; Automatic line feed; To turn the automatic line feed function ON, set n to 1.; Enable printer; Change emulation mode
10/10/03 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 aut...
Page 290 - CHAPTER 7 IBM PROPRINTER - 10; Paper input control
10/10/03 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/7050/2600CN/3450CN 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 T...
Page 291 - CHAPTER 7 IBM PROPRINTER - 11
10/10/03 CHAPTER 7 IBM PROPRINTER - 11 5.2. Page Format Set page length EscCn (27)(67)n <1Bh><43h>n This command sets the page length in lines. or EscCNULn (27)(67)(0)n <1Bh><43h><00h>n • This command sets the page length in inches. • n is the number of lines that make ...
Page 292 - CHAPTER 7 IBM PROPRINTER - 12; Line spacing and tabs
10/10/03 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 sp...
Page 293 - CHAPTER 7 IBM PROPRINTER - 13; Set horizontal tabs
10/10/03 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 asc...
Page 294 - CHAPTER 7 IBM PROPRINTER - 14; Characters; EscPn; SI
10/10/03 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) <1B...
Page 295 - CHAPTER 7 IBM PROPRINTER - 15; SO
10/10/03 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 co...
Page 296 - CHAPTER 7 IBM PROPRINTER - 16; Underline mode
10/10/03 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. • I...
Page 297 - CHAPTER 7 IBM PROPRINTER - 17; Select a character from the All Character Code table
10/10/03 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 execut...
Page 298 - CHAPTER 7 IBM PROPRINTER - 18; Esc I
10/10/03 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 the...
Page 299 - CHAPTER 7 IBM PROPRINTER - 19; and
10/10/03 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. Si...
Page 300 - CHAPTER 7 IBM PROPRINTER - 20; Set quadruple-density image mode
10/10/03 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 define...
Page 301 - CHAPTER 7 IBM PROPRINTER - 21
10/10/03 CHAPTER 7 IBM PROPRINTER - 21 6. INDEX A Automatic line feed ........................................................... 9 B Backspace.......................................................................... 8 C cancel ..........................................................................
Page 302 - CHAPTER 7 IBM PROPRINTER - 22
Page 303 - CHAPTER 8 BAR CODE CONTROL - 1; CHAPTER 8
10/10/03 CHAPTER 8 BAR CODE CONTROL - 1 CHAPTER 8 BAR CODE CONTROL
Page 304 - CHAPTER 8 BAR CODE CONTROL - 2
10/10/03 CHAPTER 8 BAR CODE CONTROL - 2 C ONTENTS 1. INTRODUCTION...................................................................................................................... 3 2. PRINT BAR CODES OR EXPANDED CHARACTERS ........................................................... 4 3. DEFINIT...
Page 305 - CHAPTER 8 BAR CODE CONTROL - 3
10/10/03 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 306 - CHAPTER 8 BAR CODE CONTROL - 4; PRINT BAR CODES OR EXPANDED CHARACTERS; n”. For further information about
10/10/03 CHAPTER 8 BAR CODE CONTROL - 4 2. PRINT BAR CODES OR EXPANDED CHARACTERS ESC i n ... n \ (27)(105)n ... n (92) <1Bh><69h>n ... n <5Ch> Creates bar codes or expanded characters according to the parameters “n ... n”. For further information about the parameters, see the foll...
Page 307 - CHAPTER 8 BAR CODE CONTROL - 5; DEFINITION OF PARAMETERS; Drawing Shading
10/10/03 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 subsequen...
Page 308 - CHAPTER 8 BAR CODE CONTROL - 6; Bar Code Human Readable Line On or Off
10/10/03 CHAPTER 8 BAR CODE CONTROL - 6 y Line Block Drawing & Box Drawing Shading “S” 1 = Black 2 = Vertical stripes 3 = Horizontal stripes 4 = Cross hatch 3.3. Bar Code Scaling (Width only) n = “mnnn” or “Mnnn” (nnn = 0 ~ 32767) This parameter specifies the bar code width scaling. The unit of ...
Page 309 - CHAPTER 8 BAR CODE CONTROL - 7
10/10/03 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 parameter specifies the offset from the current print position in the “u”- or “U”-specified units. 3.8. Bar Code & Expanded Character Of...
Page 310 - CHAPTER 8 BAR CODE CONTROL - 8
10/10/03 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 by ...
Page 311 - ESC i; “V” or “v” is a terminator.
10/10/03 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 characters ...
Page 312 - CHAPTER 8 BAR CODE CONTROL - 10; PROGRAM
10/10/03 CHAPTER 8 BAR CODE CONTROL - 10 4. EXAMPLE PROGRAM LISTINGS 10 ' Barcode 20 WIDTH "LPT1:", 255 30 ' CODE 39 40 LPRINT CHR$(27); "it0r1s0x00y00b123456\"; 50 'INTER LEAVED 60 LPRINT CHR$(27); "it1r1s0x70y00b123456\"; 70 ' EAN-13 80 LPRINT CHR$(27); "it5r1s0x00y020b...
Page 313 - CHAPTER 9
10/10/03 CHAPTER 9 HP-GL - 1 CHAPTER 9 HP-GL GRAPHICS LANGUAGE
Page 316 - P A 10; -1. Real numbers specified for a parameter that should be an integer; Selection; system
10/10/03 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 mnem...
Page 317 - area; Legal
10/10/03 CHAPTER 9 HP-GL - 5 2.3.2. Printing area a b d c a b c d (mm) A4 4 5 5 5 A3 4 5 5 5 (HL-3400CN/3260N/3450CN) Letter 6 5 5 5 Legal 6 5 5 5
Page 318 - Initialization and Default Setting Instructions
10/10/03 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 plotting ...
Page 319 - Plot Area and Unit Setting Instructions
10/10/03 CHAPTER 9 HP-GL - 7 Function Equivalent Instruction Condition Fill type FT; Bi-directional fill, type 1 Fill distance FT; 1% of distance from P1 to P2 Fill slant FT; 0 degrees Pen thickness PT; Set at 0.3 mm Pen condition PU; Pen up Rotation RO; Set at 0 degrees Scaling points IP; Initializ...
Page 322 - Current position; Plots a straight line only when the pen is down.
10/10/03 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 323 - AR - Draw relative arc
10/10/03 CHAPTER 9 HP-GL - 11 AA - Draw absolute arc AA [ X, Y, qc [, qd ]] [;] X ; Arc centre X coordinate Y ; Arc centre Y coordinate qc ; Arc angle in degrees qd ; Chord angle in degrees • X and Y coordinates are absolute coordinates in user units or graphics units. • Starting from the current po...
Page 324 - Radius
10/10/03 CHAPTER 9 HP-GL - 12 • Plotting is performed only when the pen is down. • When the pen is up, plotting is not performed but the cursor position moves to the plot end point. • When scaling has been performed, the cursor is moved by relative coordinates in user units. • Also, when scaling has...
Page 326 - After plotting the cursor returns to its point of origin.
10/10/03 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,100...
Page 328 - After plotting, the cursor returns to its point of origin.
10/10/03 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 curren...
Page 332 - PT - Pen thickness select; Plot; CS - Standard character set
10/10/03 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 horizont...
Page 334 - Specifies the character plot direction.
10/10/03 CHAPTER 9 HP-GL - 22 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....
Page 335 - X increment; SI - Set absolute character size
10/10/03 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 rise ...
Page 338 - Set High resolution control; EscCRRO; EscCRRL
10/10/03 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 This...
Page 342 - IBM PROPRINTER XL
10/10/03 APPENDIX A -COMPARISON LIST-2 C ONTENTS PCL5/5E ......................................................................... 3 Typeface Selection (PCL) .............................................................16 HP-GL/2 .........................................................................
Page 363 - IBM ProPrinter XL
10/10/03 APPENDIX A -COMPARISON LIST-23 IBM ProPrinter XL COMMAND HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/2400C/2400Ce/3400CN/1650/1670N/3260N/2460/7050/1850/1870N/ 5050/5070N/2600CN/3450CN ESC √ SP √ BS √ CR √ LF √ FF √ Esc 5 n √ DC1 √ Esc Q 22 √ Esc Q 3 √ Esc CR ! #R √ Esc EM n √ Esc C...
Page 381 - PostScript Specific Variables
10/10/03 APPENDIX A -COMPARISON LIST-41 PostScript Specific Variables POSTSCRIPT SPECIFIC VARIABLES HL-1050 HL-1070 HL- 1250/ 1450 HL-1270N/ 1470N HL- P2500 HL-1660e/ 2060/ 2400C/Ce/ 3400CN/ 2600CN/ 3450CN HL- 1650/1670N/ 1850/1870N/ 5050/5070N HL-3260 HL-2460 HL-7050 PRTPSERRS ON, OFF ON, OFF ON, O...
Page 382 - EPSON Specific Variables
10/10/03 APPENDIX A -COMPARISON LIST-42 EPSON Specific Variables EPSON SPECIFIC VARIABLES HL-1050, HL-1070, HL-1250, HL- 1270N/1450/1470N HL-P2500 HL-1660e/2060/ 2400C/Ce/3400CN/ 2600CN/3450CN HL-1650/1670N/ 1850/1870N/ 5050/5070N HL-3260N HL-2460, HL-7050 ORIENTAION PORTRAIT LANDSCAPE PORTRAIT LAND...
Page 383 - IBM Specific Variables
10/10/03 APPENDIX A -COMPARISON LIST-43 IBM Specific Variables IBM SPECIFIC VARIABLES HL-1050, HL-1070, HL-1250, HL- 1270N/1450/1470N HL-P2500 HL-1660e/2060/ 2400C/Ce/3400CN/ 2600CN/3450CN HL-1650/1670N/ 1850/1870N/ 5050/5070N HL-3260N HL-2460, HL-7050 ORIENTATION PORTRAIT, LANDSCAPE PORTRAIT, LANDS...
Page 387 - HOW TO READ THE CARD COMMANDS SPECIFICATION; Command data sequences and syntax.; Devices; Abbreviation Device
10/10/03 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 Ava...
Page 388 - Select Storage Device Command
10/10/03 APPENDIX B - FLASH/PCMCIA CARD COMMANDS - 5 3. COMMANDS 3.1 Select Storage Device Command (For HL-2060/2400C/2400Ce/3400CN/2460/3260N/7050/2600CN/3450CN 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...
Page 389 - Format Command; This command executes a logical format.
10/10/03 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 instal...
Page 390 - Save Data Command; 4 MEMORY FULL
10/10/03 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 the...
Page 391 - This command executes the specified ID data.
10/10/03 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 which is sent from the PC with the specified ID onto the device. If there is insufficient memory in the pr...
Page 394 - This command saves the font with the ID which is specified with the; Error
10/10/03 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 the p...
Page 397 - which is specified with the
10/10/03 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 & f...
Page 399 - USE CARD COMMANDS FROM PCL; The priority for searching is as follows
10/10/03 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 c...
Page 400 - Use Download Fonts
10/10/03 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 th...
Page 401 - USE CARD COMMANDS FROM POSTSCRIPT; Slot 2:
10/10/03 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 devices. (i.e.) Create the file named...
Page 402 - APPENDIX C HBP MODE COMMANDS - 1; APPENDIX C
10/10/03 APPENDIX C HBP MODE COMMANDS - 1 APPENDIX C HBP MODE COMMANDS <For HL-820/1020/1040 Only>
Page 403 - APPENDIX C HBP MODE COMMANDS - 2
10/10/03 APPENDIX C HBP MODE COMMANDS - 2 C ONTENTS 1. DESCRIPTIONS ...................................................................................................................... 3 2. COMMAND TO ENTER HBP MODE......................................................................................
Page 405 - APPENDIX C HBP MODE COMMANDS - 4; COMMAND TO ENTER HBP MODE; The printer enters the HBP mode when this command is received.; Explanation; The printer executes the following HBP commands in HBP mode.
10/10/03 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 command is received. Explanation The printer can rec...
Page 406 - APPENDIX C HBP MODE COMMANDS - 5; List
10/10/03 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 Centron...
Page 407 - APPENDIX C HBP MODE COMMANDS - 6
10/10/03 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 resol...
Page 408 - APPENDIX C HBP MODE COMMANDS - 7; This command sets the sleep time in minutes.; The command is valid until one of the following occurs.
10/10/03 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 printe...
Page 409 - APPENDIX C HBP MODE COMMANDS - 8
10/10/03 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 Ja...
Page 410 - APPENDIX C HBP MODE COMMANDS - 9
10/10/03 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 to ...
Page 411 - APPENDIX C HBP MODE COMMANDS - 10
10/10/03 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%c%...
Page 412 - APPENDIX C HBP MODE COMMANDS - 11; Graphic Data Format
10/10/03 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 fo...
Page 414 - APPENDIX C HBP MODE COMMANDS - 13; RECOMMENDED COMMAND STRING
10/10/03 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 DEFAULT ...
Page 415 - APPENDIX C HBP MODE COMMANDS - 14
Page 416 - APPENDIX D; REFERENCE LIST OF
10/10/03 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 1 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000/ 7000 SERIES UNIQUE COMMANDS
Page 419 - SPECIFICATION; Function Description
10/10/03 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000/7000 SERIES UNIQUE COMMANDS - 4 2. GENERAL SPECIFICATION The Mailbox unit is an option for the HL-2060, HL-2460, HL-3260 or HL-7050 printer and the MX-2000/4000/ 7000 series composed of three types of units. The MX-2001/4100/7000 Lower Mailbox ...
Page 420 - COMMAND REFERENCE LIST; Descriptions; OPTIONALOUTPUTBIN10:; ALLSTACKER
10/10/03 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000/7000 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 ...
Page 423 - This operator selects the specified output tray and output mode.; end
10/10/03 APPENDIX D REFERENCE LIST OF MX-2000/4000/5000/7000 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 ...
Page 426 - APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 1; APPENDIX E
10/10/03 APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 1 APPENDIX E REFERENCE LIST OF FS-5050 UNIQUE COMMANDS
Page 427 - APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 2
10/10/03 APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 2 C ONTENTS 1. INTRODUCTION.....................................................................................................3 2. GENERAL SPECIFICATION .............................................................................
Page 428 - APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 3
10/10/03 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 SPECIFICATION The Finisher/...
Page 429 - APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 4; Select the tray of the Finisher/Stapler unit
10/10/03 APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 4 3.1. Commands Descriptions 3.1.1. PJL output tray Format @PJL SET/DEFAULT OUTBIN=TrayName Parameter TrayName* • FINISHER: Select the tray of the Finisher/Stapler unit Default = ALLSTACKER Explanation • This command selects the ...
Page 430 - APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 5
10/10/03 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 • LOWE...