HP 2300l HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer
HP 2300l - LaserJet B/W Laser Printer Manual
View all HP 2300l manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 2300l manual content summary:
- HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 1
HP PCL/PJL Reference Set PCL 5 Printer Language Technical Quick Reference Guide - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 2
- HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 3
= 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 4L, 5L, and 5P). ** The font - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 6
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 (count space ). Printer Reset Restores the User Default Environment, deletes temporary fonts - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 8
250mm) 101 - Custom (size varies with printer) Correct paper tray must be installed for one of four paper sources for paper feed. ? & l # H # = 0 - Print current page (paper source remains unchanged) 1 - Feed paper from main paper source 2 - Feed paper from manual input 3 - Feed envelope from manual - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 9
processed as one-byte characters = 21 - Character codes processed as two-byte characters (see 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) Left Margin - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 and right margins to their default settings. ? 9 Horizontal Motion Index (HMI) Designates the distance between columns. ( - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 11
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 current line. (Operation of CR may be modified-see Line Termination command.) SP - Space Moves the cursor one column right on the current - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 12
# = Number of PCL units Half Line-Feed Moves the cursor to the same character position one-half line down (distance 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 = - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 17
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 Character Code Establishes the decimal character code that will be associated - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 19
Logical Operation Specifies the logical operation (ROP3) to be performed. ? * l # O # = 0 - 255 (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 # = 0 - Grid intersection (default - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 21
Rectangular Area Fill Graphics (continued) Fill Rectangular Area Causes the defined rectangular area to be filled with the specified rule pattern. ? * c # P # = 0 - Solid area fill 1 - Solid white area fill 2 - Shading fill 3 - Cross-hatch pattern fill 4 - User-defined pattern 5 - Current pattern - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 23
by Row/Block 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 - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 24
how primary components are combined to yield the raster presentation. ? * v # W [binary data] # = Number of data bytes Color Component One Specifies the first component of any new color entry of the palette. ? * v # A # = First component Color Component Two Specifies the second component of any new - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 25
Color (continued) Push / Pop Palette Pushes or pops the palette from the palette stack. The last item pushed is 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 - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 26
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 a single dither matrix for all three primaries, or three matrices (one for each primary) which may have different sizes and contents. ? - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 27
Color (continued) Monochrome Print Mode Designates either the current rendering mode or a fast gray-scale equivalent. ? & b # M # = 0 # = 1 Print in mixed render algorithm mode Print everything in gray - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 35
HP-GL/2 Line and Fill Attributes Group (continued) Screened Vectors Selects type of area 1 = Shaded fill % shading 2 = User defined index no. 21 = PCL Patterns pattern type 22 = PCL User-defined pattern ID Patterns option 2 ignored ignored pen flag ignored ignored Transparency Mode - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 39
HP-GL/2 Character Group (continued) Standard Font Definition Specifies the standard font for printing labels. SD ) 0 (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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 40
HP-GL/2 Technical Drawing Extensions Group Merge Control Specifies the logical operation (ROP3) to be performed. MC[mode[,opcode]]; mode = 0 - opcode value ignored (ROP set to - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 41
end with this command. % -12345X Enter Language Causes PJL to enable the specified language. @PJL ENTER LANGUAGE = PCL POSTSCRIPT [CR] others Comment Allows one line of comment text to be entered in PJL. @PJL COMMENT comment text . . . [CR] Job Separation - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 42
| IPARM : port] ~ variable [] Response @PJL DINQUIRE [LPARM : personality | IPARM : port] ~ variable value ~ - Indicates that the following data is part of the preceding line. 40 - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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- - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 46
Cursor Positioning Horizontal Cursor Positioning Columns Decipoints Units-of-Measure Control Codes Carriage 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 - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 47
T Source Raster Width Destination Raster Height Destination Raster Width Scale Algorithm Start Raster Graphics ? * r # S ? * t # V ? * t # H ? * t # K ? * r # A Y Offset Set Compression Mode Transfer Raster Data End Raster Graphics ? * b # Y ? * b # M ? * b # W [raster data ] ? * r B ? * r C 45 - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 48
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 Monochrome Print - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 49
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 Relative Absolute Arc Three Point Bezier Absolute Bezier Relative Circle Plot Absolute Pen Down AA XCTR,YCTR,sweep angle [,chord angle - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 52
Notes 50 - HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - Page 53
- HP 2300l | HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refer - 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