HP 3015 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere
HP 3015 - LaserJet B/W Laser Manual
View all HP 3015 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 3015 manual content summary:
- HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 1
HP PCL/PJL Reference Set PCL 5 Printer Language Technical Quick Reference Guide - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 2
- HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 3
using the printer driver or control panel (or remote control panel for LaserJet 4L, 5L, and 5P). ** The font characteristics are determined by the default font. The default font can be the factory default font or the user selected default font from the control panel or from a font cartridge with - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 4
Default Print Environment Feature Settings (PCL) (continued) PRINT MODEL • RASTER WIDTH = Logical Page • RASTER HEIGHT = N/A TROUBLESHOOTING COMMANDS • END-OF-LINE WRAP = OFF • LOCATION UNIT = 0 Factory Default Print Environment Feature Settings (HP-GL/2) LINE AND FILL GROUP • LINE TYPE = Solid - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 5
Factory Default 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 - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 6
Universal Exit Language Causes the printer to exit the current language and return control to PJL. ?% - 1 2 3 4 5 X Configuration (AppleTalk) Allows the user to configure the printer I/O to receive PCL jobs over AppleTalk I/O. ? & b # W [Key][value] # = Number of bytes of [key]/[value] data - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 7
Output Bin (for the LaserJet 5Si, printer top/face-down bin-bin #1) 2 - Rear Output Bin (for the LaserJet 5Si, printer left/face-up bin-bin Selects Bin #11 (HCO #8 face-down bin) Unit of Measure Establishes the unit of measure for the PCL unit. ? & u # D # = Number of units/inch (96, 100, 120, 144, - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 8
Page Control Page Size Designates the physical paper size which in turn defines the 250mm) 101 - Custom (size varies with printer) Correct paper tray must be installed for selected paper source 2 - Feed paper from manual input 3 - Feed envelope from manual input 4 - Feed paper from alternate paper - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 9
Page Control (continued) Page Orientation Designates the logical page position with respect to the physical PCL 5 Comparison Guide) = 31 - Character codes processed as two-byte characters (see PCL 5 Comparison Guide) = 38 - Characters codes processed as two-byte characters (see PCL 5 Comparison Guide - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 10
Page 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 - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 11
# = Decipoint position (1/720 inch), valid to 2 decimal places. Horizontal Cursor Positioning (PCL units) Moves the cursor to a new position along the x-axis. ? * p # X # = Number of PCL units Horizontal Cursor Positioning Control Codes CR - Carriage-Return Moves the cursor to the left margin on the - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 12
(PCL units) Moves the cursor to a new dot position along the y-axis. ? * p # Y # = Number of PCL units 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 = - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 14
the font. ? ( s # T - Primary ? ) s # T - Secondary # = 0 - Line Printer 8 - Prestige 3 - Courier 4099 - Courier (Scalable) 4 - Helvetica 4101 - CG Times 6 - Gothic 4148 - Univers 7 - Script 16602 - Arial See Table C-2 and C-3 in the PCL 5 Comparison Guide for more typeface values. Font - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 15
Provides printing access to all characters in a font including those defined as unprintable. ? & p # X [transparent data ] # = Number of bytes of transparent print data. Underline Controls automatic text underlining. ? & d # D # = 0 - Underline On 3 - Floating Underline On ? & d @ - Underline Off 13 - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 16
and media types. Specifies media selection by the type of media and supports enhancements for the printer disk drive. ? & n # W [operation][string] # = . 100 - Media select Note: See the PCL 5 Printer Language Technical Reference Manual for additional information about the Font Descriptor command - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 17
[symbol set definition data] # = Number of symbol set definition bytes. Symbol Set Control Provides a means for manipulating user-defined symbol sets. ? * c # S # set ID code specified) Soft Font Creation Font Descriptor Downloads the font descriptor to the printer. ? ) s # W [ font descriptor data - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 19
Print Model Source Transparency Mode Sets the source image's transparency mode to transparent or opaque. ? * v # N # = 0 - Transparent for specific operations refer to the PCL 5 Comparison Guide for the logical operation values) Pixel Placement Determines how pixels are rendered in images. ? * l # R - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 21
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 manipulating user-defined (soft) patterns. ? * c # Q # = 0 - Delete - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 22
scaling. ? * t # V # = Height in decipoints Scale Algorithm Selects an algorithm for enhancing details when down-scaling color images having light or dark backgrounds. ? * t # K # = 0 Enhances color source image having a light background # = 1 Enhances color source image having a dark background 20 - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 23
Transfers a row of raster graphics to the printer. ? * b # W [binary data bytes] # = Number of bytes in the raster row End Raster Graphics Signifies the end of a raster graphic image transfer. ? * r B- All LaserJet printers III and newer ? * r C- All LaserJet printers IIISi and newer (Preferred) 21 - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 24
black and white palette 3 - 3 planes, device RGB palette Configure Image Data (CID) The CID command provides configuration information for palette creation and raster data transmission in a single escape sequence by: • designating the color space of the default palette, • designating the size of the - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 25
in the stack (active palette is not affected) = 2 Delete palette specified by Palette Control ID = 6 Copy the active palette to the ID specified by the Palette Control ID Foreground Color Sets the foreground color to the specified index of the curent palette. ? * v # S # = Palette Index number 23 - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 26
300 lpi (device-best dither) Snap to primaries Snap black to white, color to black Device-best dither Error diffusion Monochrome device-best dither Monochrome error tone basic 100 lpi Monochrome continuous tone basic 100 lpi Download Dither Matrix Specifies a single dither matrix for all three - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 27
Color (continued) Monochrome Print Mode Designates either the current rendering mode or a fast gray-scale 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 - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 28
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 value field value back to the host. ? * s # X # = Echo - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 29
Use previous HP-GL/2 pen position 1 - Use current PCL cursor position for HP-GL/2 pen position 2 - Use current PCL dot coordinate system and old HP-GL/2 pen position 3 - Use current PCL dot coordinate system and the current PCL cursor position Enter PCL Mode Causes printer to return to PCL mode from - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 30
as percentage of PCL Picture Frame Input Window 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 - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 31
HP-GL/2 Vector Group Arc Absolute Draws an arc using absolute [,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] | coord pair ; or PE; Flag - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 ] ] [;] - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 33
HP-GL/2 Polygon Group (continued) Polygon Mode Allows creation of user-defined polygons black 3 = Hatched 4 = Cross-hatched 10 = Shading 11 = User-defined 21 = PCL Patterns 22 = PCL Userdefined option1 ignored line spacing line spacing % shading raster-fill index pattern type pattern ID option2 - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 34
HP-GL/2 Line and Fill Attributes Group (continued) Line Attributes Specifies how line ends and joins are shaped. LA [ kind, value...[,kind, value ] ] [;] Attribute = Line Ends = = = = - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 35
HP-GL/2 Line and Fill Attributes Group (continued) Screened PCL Patterns pattern type 22 = PCL User-defined pattern ID Patterns option 2 ignored ignored pen flag ignored ignored Transparency Mode Defines how the white areas of the source graphics image affect the destination graphics image - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 36
HP-GL/2 Character Group Alternate Font Definition Specifies an alternate font for labeling. AD [ kind, 1 (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*]] [;] - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 37
HP-GL/2 Character Group (continued) Relative Label Direction Specifies the slope of Primary Font ID Selects as primary a font previously assigned a PCL font ID number. FI font ID [;] font ID = Font ID number assigned in PCL mode. Select Secondary Font ID Selects as secondary a font previously - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 38
HP-GL/2 Character Group (continued) Label Prints cursor position (see command description in PCL5 Technical Reference Manual). Label Mode Determines how LB (Label) and SM font. row number = indicates the first byte while the LB or SM instruction supplys the second byte. Used only in mode 0 when a 16- - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 39
HP-GL/2 Character Group (continued * * See tables in Appendix C of the PCL 5 Comparison Guide. Absolute Character Size Specifies an absolute character size (in for printing labels. SS [;] Transparent Data Specifies whether control characters perform their function or are printed as characters. - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 40
HP-GL/2 Technical Drawing Extensions Group Merge Control Specifies the logical operation (ROP3) to be performed. MC[ 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 - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 44
printer control panel. Doesn't affect on-line state. @PJL RDYMSG DISPLAY = "message" [] Status Message Displays specified message on printer control panel and takes printer Deletes printer disk files. @PJL FSDELETE NAME = "pathname" [] FSDOWNLOAD Downloads a file to the printer disk - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 data] ?E ? & l # X ? & l # S ? & l # U ? & l # Z ? & a # G ? & l 1 T ? & l # G ? & u # D Page Control Page Size Paper (Media) Source Page Length (Obsolete) Orientation Print Direction Character Text - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 47
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 Select Current Pattern - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 48
Simple Color Configure Image Data Color Component One Color Component Two Color Component Three Assign Color Index Push/Pop Palette Select Palette Palette Control ID Palette Control Foreground Color Render Algorithm Download Dither Matrix Color Lookup Tables Gamma Correction Viewing Illuminant - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 52
Notes 50 - HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 53
- HP 3015 | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - 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