HP LaserJet 3020 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui
HP LaserJet 3020 - All-in-One Printer Manual
View all HP LaserJet 3020 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP LaserJet 3020 manual content summary:
- HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 1
HP PCL/PJL Reference Set PCL 5 Printer Language Technical Quick Reference Guide - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 2
- HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 3
CODE = 0 • SYMBOL SET ID = 0 MACRO • MACRO ID = 0 Note: Feature support varies with each printer. See the PCL 5 Comparison Guide for specific feature support information. * For these items, select User Default values using the printer driver or control panel (or remote control panel for LaserJet - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 4
0 • RASTER WIDTH = Logical Page • RASTER HEIGHT = N/A TROUBLESHOOTING COMMANDS • END-OF-LINE WRAP = OFF • DISPLAY FUNCTIONS = OFF STATUS READBACK • CURRENT LOCATION TYPE = 0 • CURRENT LOCATION UNIT = 0 Factory Default Print Environment Feature Settings (HP - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 5
Print Environment Feature Settings (HP-GL/2) (continued) CONFIGURATION AND STATUS GROUP • SCALE MODE = Off • WINDOW = PCL default picture frame (PCL default logical page, less 1/2 inch at the top and bottom) • COORDINATE SYSTEM ORIENTATION = Same as PCL default logical page • P1,P2 Lower left - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 6
Top (Short-Edge) Offset Registration Adjusts the position of the logical page across the length of the page. ? & l # Z # = Number of decipoints (1/720 inch) [+ or - specifies the plus or minus move direction (for example, # = -10).] Note: The printer ignores any commands sent to it that it does not - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 7
a non-duplex printer receives this command, it performs a page eject. Job Separation Toggles the printer's job separation mechanism. ? & l 1 T Output Bin Selects the output paper bin for paper output. ? & l # G # = 0 - Automatic selection 1 - Upper Output Bin (for the LaserJet 5Si, printer top/face - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 8
B5 (176mm x 250mm) 101 - Custom (size varies with printer) Correct paper tray must be installed for selected paper size. Page Length (Obsolete-see Paper Size) Selects the logical page length in lines (one logical page per physical page) ? & l # P # = Number of Lines Paper (Media) Source Designates - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 9
Direction Specifies the direction text is printed on the page, providing a means of printing using either a codes. ? & t # P # = 0, 1 - All character codes processed as one-byte characters = 21 - Character codes processed as two-byte characters (see PCL 5 Comparison Guide) = 31 - Character codes - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 10
Control (continued) Top Margin Designates number of lines between top of logical page to top of text area. ? & l # E # = Number of lines Clear Horizontal Margins Resets left and right margins to their default settings. ? 9 Horizontal Motion Index (HMI) Designates - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 11
move distances referenced from the left edge of the logical page and the top margin. Relative positioning specifies cursor move axis. ? * p # X # = Number of PCL units Horizontal Cursor Positioning Control Codes CR - Carriage-Return Moves the cursor to the left margin on the current line. (Operation - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 12
Moves the cursor to the same horizontal position at the top of the next text area. Line Termination Controls the way the printer interprets CR, LF, and FF control codes. ? & k # G # = 0 - CR = CR, LF = LF, FF = FF 1 - CR = CR+LF, LF = LF, FF = FF 2 - CR = CR, LF = CR+LF, FF = CR+FF 3 - CR - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 13
0O - OCR A 10U - PC-8 1E - ISO 4: United Kingdom 1G - ISO 21: German 1U - HP US Legal 0U - ASCII 19U - Windows ANSI See Table C-1 in the PCL 5 Comparison Guide for more symbol sets. Spacing Designates either a fixed or proportionally spaced font. ? ( s # P - Primary ? ) s # P - Secondary - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 14
Italic 8 - Compressed, Extra Condensed 24 - Expanded 32 - Outline 64 - Inline 128 - Shadowed 160 - ? ) s # T - Secondary # = 0 - Line Printer 8 - Prestige 3 - Courier 4099 - Courier (Scalable) Table C-2 and C-3 in the PCL 5 Comparison Guide for more typeface values. Font Selection by ID # - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 15
Font Selection (continued) Select Default Font Sets all font characteristics (except orientation) to those of the default font. ? ( 3 @ Default primary font characteristics ? ) 3 @ Default secondary font characteristics Transparent Print Data Provides printing access to all characters in a font - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 16
font (last ID specified) 3 - Delete Character Code (last ID and character code) 4 - Make soft font temporary (last ID selection by the type of media and supports enhancements for the printer disk drive. ? & n # W See the PCL 5 Printer Language Technical Reference Manual for additional information - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 17
specified) 4 - Make symbol set temporary (last symbol set ID code specified) 5 - Make symbol set permanent (last symbol set ID code specified) Soft Font Creation Font Descriptor Downloads the font descriptor to the printer. ? ) s # W [ font descriptor data ] # = Number of font descriptor data bytes - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 18
Macros Macro ID # Specifies an ID # for a macro for use in subsequent macro commands. ? & f # Y # = Macro ID # (0 through 32767) Macro Control Provides the mechanism for definition, invocation, and deletion of macros. ? & f # X # = 0 - Start macro definition (for last ID specified) 1 - Stop macro - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 19
defined pattern to select via Select Pattern command. See the following page for command description. Select Current Pattern Identifies the type of - 255 (for specific operations refer to the PCL 5 Comparison Guide for the logical operation values) Pixel Placement Determines how pixels are rendered - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 20
Rectangular Area Fill Graphics Horizontal Rectangle Size (Decipoints or Dots) Specifies the rectangular fill area width in decipoints or dots. ? * c # H - Decipoints # = Number of decipoints (1/720 inch) ? * c # A - Dots # = Number of dots (see Unit of Measure Command) Vertical Rectangle Size ( - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 21
fill 1 - Solid white area fill 2 - Shading fill 3 - Cross-hatch pattern fill 4 - User-defined pattern 5 - Current pattern User Defined Pattern Downloads binary data that defines a user-defined pattern. ? * c # W [pattern data] # = 0 - Number of pattern data bytes Pattern Control Provides a means for - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 22
Raster Graphics Presentation Mode Specifies the presentation of the raster image on the logical page. ? * r # F # = 0 - image printed in the current print direction. 3 - image printed along the width of physical page. Source Raster Height Specifies the height in raster rows (pixels) of the raster - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 23
(start raster at logical page left boundary) 3 vertical movement. Compression Method Determines how the printer interprets (decodes) the binary data in a plane of raster data to the printer. ? * b # V [data] Row/Block Transfers a row of raster graphics to the printer. ? * b # W [binary data bytes] - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 24
Color Simple Color Creates a fixed-size palette whose color specifications cannot be modified. ? * r # U # = -3 - 3 planes, device CMY palette 1 - Single plane black and white palette 3 - 3 planes, device RGB palette Configure Image Data (CID) The CID command provides configuration information for - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 25
Color (continued) Push / Pop Palette Pushes or pops the palette from the palette stack. The last item pushed is the first item popped. ? * p # P # = 0 - Push (save) palette = 1 - Pop (restore) palette Select Palette Selects a new active palette by ID. The previously active palette is unchanged. ? & - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 26
page. ? * t # J #= 0 = 1 = 2 = 3 = 4 = 5 = 6 = 7 = 8 = 9 = 10 = 11 = 12 = 13 = 14 = 15 = 16 = 17 = 18 = 19 Continuous tone detail 300 lpi (device-best dither) Snap to primaries Snap black to white, color to black Device-best dither Error tone basic 100 lpi Download Dither Matrix Specifies a - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 27
# = * Invalid location = * Currently selected = * All Locations = 0 All internal = 0 All downloaded = 1 Temporary downloaded = 2 Permanent downloaded = 0 All cartridge = 1 Highest priority cartridge :: n Lowest priority cartridge = 0 All SIMMs = 1 Highest priority SIMM :: n Lowest priority SIMM 25 - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 28
set 4 - Font extended Free Space Returns the amount of total available user memory and the largest block available. ? * s 1 M Flush All Pages Suspends accepting I/O data until all pages currently in printer are printed. ? &r # F # = 0 - Flush all complete pages 1 - Flush all pages Echo Echoes the - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 29
/2 drawing being imported into PCL. ? * c # K # = Horizontal size in inches HP-GL/2 Plot Vertical Size Specifies the vertical size of the HP-GL/2 drawing being imported into PCL. ? * c # L # = Vertical size in inches Enter HP-GL/2 Mode Causes printer to begin interpreting the incoming data stream as - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 30
Sets up a window (soft-clip limits). IW [ XLL, YLL, XUR, YUR] [;] XLL = X coordinate (lower left) YLL = Y coordinate (lower left) XUR = X coordinate (upper right) YUR = Y coordinate (upper right) Rotate Coordinate System Rotates the HP-GL/2 coordinate system. RO [ angle ] [;] angle = 0, 90, 180 - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 31
HP-GL/2 Vector Group Arc Absolute Draws an arc using absolute coordinates. 0,0]). PA [ X, Y... [,X,Y ] ] [;] Pen Down Lowers the logical "pen" to the page. PD [ X, Y... [,X,Y ] ] [;] Polyline Encoded Encodes common HP-GL/2 commands to increase throughput. PE [flag] [val] | coord pair... [flag] [val - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 32
HP-GL-2 Vector Group (continued) Plot Relative Enables movement relative to the current pen location. PR [ X,Y... [,X,Y ] ] [;] Pen Up Lifts the logical "pen" from the page. PU [ X,Y...[ ,X,Y ] ] [;] Relative Arc Three Point Draws an arc from the current pen location through two relative points. RT - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 33
HP-GL/2 Polygon Group (continued) Polygon Mode Allows creation of user-defined polygons in the polygon buffer. PM polygon definition [;] polygon definition = 0 (Clears polygon buffer and - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 34
HP-GL/2 Line and Fill Attributes Group (continued) Line Attributes Specifies how line ends (default) 2 - Mitered/beveled 3 - Triangular 4 - Round 5 - Beveled 6 - No join applied 3, 1 to 32,767 - Max. length of miter (miter length/pen width ratio) (default = 5) Line Type Selects the line pattern to - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 35
HP-GL/2 Line and Fill Attributes Group (continued) Screened Vectors Selects type of area fill for vectors (lines, hatch lines, arcs, circles, edges of polygons, rectangles, - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 36
HP-GL/2 Character Group Alternate Font Definition Specifies an alternate font for labeling. AD [ kind italic) 0 (medium); 3 (bold)* * * See tables in Appendix C of the PCL 5 Comparison Guide. Character Fill Mode Specifies how outline fonts will be rendered. CF [ fill mode [,edge pen*]] [;] fill - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 37
HP-GL/2 Character Group (continued) Relative Label Direction Specifies the slope of labels relative to P1 and P2 locations. DR [ run,rise] [;] run = percentage of distance - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 38
HP-GL/2 Character Group (continued) Label cursor position (see command description in PCL5 Technical Reference Manual). Label Mode Determines how LB (Label) and byte while the LB or SM instruction supplys the second byte. Used only in mode 0 when a 16-bit character set is selected. Select Alternate - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 39
HP-GL/2 Character Group (continued) Standard Font Definition Specifies the standard font for printing labels. SD (medium); 3 (bold)* * * See tables in Appendix C of the PCL 5 Comparison Guide. Absolute Character Size Specifies an absolute character size (in centimeters). SI [ width, height] [;] - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 40
HP-GL/2 Technical Drawing Extensions Group Merge Control Specifies the logical operation ( -Of-Line Wrap 1 - Disables End-Of-Line Wrap Display Functions Causes all escape sequences and control codes to be printed instead of executed. ? Y - Enables Display Functions ? Z - Disables Display Functions 38 - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 41
allows naming of the job; supports non-printing mode. Also, used for providing the password for PJL security. [NAME= "job name"] @PJL JOB [START= first page ] [CR] [END= last page ] [PASSWORD = number ] End-Of-Job Tells printer the job has completed, resets - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 42
PJL Environment Initialize Resets current and default PJL variables to factory default values. @PJL INITIALIZE [] Reset Resets current PJL variables to default values. @PJL RESET [] Default Sets default value for environment variables. @PJL DEFAULT [LPARM : personality | IPARM : port - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 43
"words" portion of the command to the host computer. @PJL ECHO [] [] Response @PJL ECHO [] Ustatus Allows printer to send unsolicited status messages. @PJL USTATUS variable = value [] Response @PJL USTATUS variable [1 or more lines of printable - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 44
>] Response @PJL STMSG DISPLAY = "message" key File System FSDELETE Deletes printer disk files. @PJL FSDELETE NAME = "pathname" [] FSDOWNLOAD Downloads a file to the printer disk file system. @PJL FSDOWNLOAD FORMAT:BINARY [SIZE=int] [] FSINIT Initializes the - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 45
PCL C O M M A N D S U M M A R Y Job Control Universal Exit Language Configuration (I/O) Printer Reset Number of Copies Simplex/Duplex Long-edge Offset Registration Short-edge Offset Registration Duplex Page Side Selection Job Separation Output Bin (Media Bin) Unit-of-Measure ? % - 1 2 3 4 5 X ? & - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 46
Return Space Backspace Horizontal Tab Vertical Cursor Positioning Rows Decipoints Units-of-Measure Half Line-Feed Control Codes Line-Feed Form-Feed Line Termination Push/Pop Cursor Position ? & a # C ? & a # H ? * p # X CR SP BS HT ? & a # R ? & a # V ? * p # Y ? = LF FF ? & k # G ? & f # S Symbol - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 47
Font Creation Font Descriptor /Data Character Code Character Descriptor/Data ?) s # W [descriptor data ] ? * c # E ? ( s # W[binary data ] Macro ID # (specify) Macro Control Macros ? & f # Y ? & f # X Print Model Source Transparency Mode Pattern Transparency Mode Pattern (Area Fill) ID - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 48
Algorithm Download Dither * i # W [data] ? &b # M Set Location Type Set Location Unit Inquire Entity Free Space Flush All Pages Echo Status Readback ? * s # T ? * s # U ? * s # I ? ? * c 0 T HP-GL/2 Plot Horizontal Size ? * c # K HP-GL/2 Plot Vertical Size ? * c # L Enter HP-GL/2 Mode ? % # - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 49
Relative P1 and P2 Input Window Rotate Coordinate System Scale DF[;] IN[;] IP[XP1, YP1[,XP2,YP2 ] ] [;] IR[XP1, YP1[,XP2,YP2] ] [;] IW[ XLL,YLL,XUR,YUR] [;] RO[ angle] [;] SC[ X1,X2,Y1,Y2 [,type[,left bottom ]]] [;] or SC XMIN,XFCTR,YMIN,YFCTR, type[;] Vector Group (HP-GL/2) Arc Absolute Arc - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 50
[;] FP fill method[;] PM polygon definition[;] RA X,Y[;] RR X,Y[;] WG radius, start angle, sweep angle [,chord angle] [;] Line and Fill Attributes Group (HP-GL/2) Anchor Corner Fill Type Line Attributes Line Type Pen Width Raster Fill Definition Symbol Mode Select Pen Screened Vectors Transparency - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 51
Technical Drawing Extensions Group (HP-GL/2) Merge Control Pixel Placement MC[mode[,opcode]]; PP[mode]; Programming Hints End-Of-Line Wrap Display Functions - Enable - Disable ? & s # C ? Y ? Z 49 - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 52
Notes 50 - HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 53
- HP LaserJet 3020 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Qui - Page 54
Printed on Recycled Paper Copyright© 1999 Hewlett-Packard Co. Printed in USA
PCL/PJL
ReferenceSet
HP
PCL 5
Printer Language
Technical
Quick Reference
Guide