Homelite 2400C - Manuals
Homelite 2400C – Manual in PDF format online.
Manuals:
Manual Homelite 2400C
Summary
i TABLE OF CONTENTS GLOSSARY CHAPTER 1 INTRODUCTION 1. ABOUT THE MANUAL ----------------------------------------------------------------------------------- 3 2. AREAS OF USE ------------------------------------------------------------------------------------------- 4 CHAPTER 2 PCL 1. COMMAND LIST --...
ii CHAPTER 6 EPSON FX-850 1. COMMAND LIST ------------------------------------------------------------------------------------------ 3 2. INTRODUCTION ------------------------------------------------------------------------------------------ 5 3. EMULATION DETAILS -----------------------------------...
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...
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...
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...
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...
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...
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...
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...
10/10/03 CHAPTER 1 INTRODUCTION - 1 CHAPTER 1 INTRODUCTION
10/10/03 CHAPTER 1 INTRODUCTION - 2 CONTENTS1. ............................................................................................. ABOUT THE MANUAL 3 2. AREAS OF USE ........................................................................................................4 2.1 Using Word Pro...
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...
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...
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...
10/10/03 CHAPTER 2 "PCL" - 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE
10/10/03 CHAPTER 2 "PCL" - 2 C ONTENTS 1. COMMAND LIST .................................................................................................................. 7 2. INTRODUCTION ...........................................................................................................
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...
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
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...
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...
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...
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...
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...
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...
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 ← ← ←...
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...
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 ...
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...
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...
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 ...
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, ...
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...
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...
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...
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...
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) &...
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...
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...
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...
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 ...
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...
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...
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 ...
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...
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...
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...
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...
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 ...
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 --...
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...
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...
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...
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...
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...
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...
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...
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...
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)(...
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...
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...
10/10/03 CHAPTER 2 "PCL" - 102 9. INDEX A adaptive compression ...................................................... 78 anchor point..................................................................... 87 AppleTalk configuration ................................................. 92 APT ........
10/10/03 CHAPTER 2 "PCL" - 103 HP-GL/2 mode ................................................................ 86 I internal font ..................................................................... 36 italic ................................................................................ 46 ...
10/10/03 CHAPTER 2 "PCL" - 104 status response................................................................. 94 memory ..................................................................... 101 status response syntax ..................................................... 95 stroke weight .....
10/10/03 CHAPTER 3 "PCL5C" - 1 CHAPTER 3 PCL5C
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 ...
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...
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...
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. • ...
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...
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...
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 =...
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...
10/10/03 CHAPTER 3 "PCL5C" - 18 7. INDEX A algorithm ......................................................................... 13 B B/W mode ......................................................................... 4 black value ..................................................................
10/10/03 CHAPTER 4 HP-GL/2 - 1 CHAPTER 4 HP-GL/2 GRAPHICS LANGUAGE
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...
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...
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 ...
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...
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...
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 ...
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...
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...
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 ...
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...
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...
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;...
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 ...
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...
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...
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. • ...
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 ...
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,...
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...
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 "...
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...
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 = ...
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...
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...
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. ...
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#&...
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 ...
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...
10/10/03 CHAPTER 5 PJL - 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE
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...
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...
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...
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 ...
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...
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...
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> ...
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...
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...
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...
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...
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...
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...
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...
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...
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 ...
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...
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...
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>...
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&...
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...
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...
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...
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>...
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&...
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...
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...
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 <...
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...
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...
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 ...
10/10/03 CHAPTER 6 EPSON - 1 CHAPTER 6 EPSON FX-850
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...
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...
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...
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...
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);...
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...
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...
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...
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...
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...
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 •...
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 ...
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...
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...
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...
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...
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...
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 ...
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...
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...
10/10/03 CHAPTER 6 EPSON - 27 7. INDEX 9 9 bit image ....................................................................... 24 A absolute print position ..................................................... 10 B Backspace.......................................................................... 9 C...
10/10/03 CHAPTER 7 IBM PROPRINTER - 1 CHAPTER 7 IBM PROPRINTER XL
10/10/03 CHAPTER 7 IBM PROPRINTER - 2 C ONTENTS 1. COMMAND LIST................................................................................................................... 3 2. INTRODUCTION ..........................................................................................................
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...
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
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...
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...
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...
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...
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...
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...
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 ...
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...
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...
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...
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...
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...
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...
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...
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...
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...
10/10/03 CHAPTER 7 IBM PROPRINTER - 21 6. INDEX A Automatic line feed ........................................................... 9 B Backspace.......................................................................... 8 C cancel ..........................................................................
10/10/03 CHAPTER 8 BAR CODE CONTROL - 1 CHAPTER 8 BAR CODE CONTROL
10/10/03 CHAPTER 8 BAR CODE CONTROL - 2 C ONTENTS 1. INTRODUCTION...................................................................................................................... 3 2. PRINT BAR CODES OR EXPANDED CHARACTERS ........................................................... 4 3. DEFINIT...
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.
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...
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...
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 ...
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...
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 ...
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 ...
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...
10/10/03 CHAPTER 9 HP-GL - 1 CHAPTER 9 HP-GL GRAPHICS LANGUAGE
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...
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
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 ...
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...
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 ' **...
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...
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...
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...
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...
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...
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....
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 ...
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...
10/10/03 APPENDIX A -COMPARISON LIST-2 C ONTENTS PCL5/5E ......................................................................... 3 Typeface Selection (PCL) .............................................................16 HP-GL/2 .........................................................................
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
10/10/03 APPENDIX C HBP MODE COMMANDS - 1 APPENDIX C HBP MODE COMMANDS <For HL-820/1020/1040 Only>
10/10/03 APPENDIX C HBP MODE COMMANDS - 2 C ONTENTS 1. DESCRIPTIONS ...................................................................................................................... 3 2. COMMAND TO ENTER 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...
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...
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...
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...
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...
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 ...
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%...
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...
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 ...
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
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 ...
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 ...
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 ...
10/10/03 APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 1 APPENDIX E REFERENCE LIST OF FS-5050 UNIQUE COMMANDS
10/10/03 APPENDIX E REFERENCE LIST OF FS-5050 SERIES UNIQUE COMMANDS - 2 C ONTENTS 1. INTRODUCTION.....................................................................................................3 2. GENERAL SPECIFICATION .............................................................................
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/...
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 ...
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...
Homelite Manuals
-
Homelite UT32600
User Manual
-
Homelite UT32600
Manual
-
Homelite UT10910
User Manual
-
Homelite UT41110
User Manual
-
Homelite UT32650
User Manual
-
Homelite UT32650
Manual
-
Homelite UT80546
User Manual
-
Homelite UT80546
Manual
-
Homelite UT80977
User Manual
-
Homelite UT80977
Manual
-
Homelite UT08511
Manual
-
Homelite UT09510
Manual
-
Homelite CSP4520 - UT74127A
Manual
-
Homelite UT20697
Manual
-
Homelite UT80953
Manual
-
Homelite 32" Snow Thrower
Manual
-
Homelite UT32050
Manual
-
Homelite ut43100
Manual
-
Homelite CSP3816
Manual
-
Homelite UT44170
Manual