Electronic Support Center Homepage The Hewlett-Packard Homepage Feedback About This Site HP Copyright Information Electronic Support Center Homepage The Hewlett-Packard Homepage HP LaserJet Printers - Common PJL Commands
HP Electronic Support Center - Top Banner
Search HP
Search Support
Home
Help
All-in-One Products
Copiers
Faxes
Information Storage
Large-Format Printers
Network Connectivity
Network Printing
Networked Storage
Personal Computing
PC Photography
Printers
Printer-Copiers
Scanners
Servers


HP LaserJet Printers - Common PJL Commands


 

 

TABLE OF CONTENTS

 

Copies

Manual Feed

Paper Size

Orientation

Formlines

Symbol Set

Font Number

Pitch Size

Point Size

DARK Courier

EconoMode

Autocont

Density

Resolution

Resolution Enhancement

Job Offset (HP LaserJet 4SI, 4SI MX Printers)

Outbin (HP LaserJet 4SI, 4SI MX Printers)

Duplex (HP LaserJet 4 PLUS, 4M Plus, 4SI, 4SI MX, 5SI, 5SIMX Printers)

Duplex Binding (HP LaserJet 4 Plus, 4M Plus, 4SI, 4SI MX, 5SI, 5SI MX Printers)

Ready Message Display

Reset

Additional Commands For the HP LaserJet 5P and 6P Family Printers

Printer Name Definition

Printing Self-Test Pages

Memory Booster Technology

 

 

The following are commonly used PJL commands to change default menu settings for the HP LaserJet 4 printer family and above. The command used is the "DEFAULT" command which permanently changes the default menu setting.

 

NOTE: Not all commands are supported on all HP LaserJet printers and some commands are "Read Only." For a complete listing of PJL commands, see the Printer Job Language Reference Manual, which is part of the Technical Reference Manual bundle.

 

NOTE: The HP LaserJet 4L/5L/6L printers will be reset to factory defaults if the printer is manually reset or unplugged.

 

To change default settings for just the current job, replace "DEFAULT" with the "SET" command.

 

Copies

 

Ec%-12345X@PJL DEFAULT COPIES=1 to 999

 

Ec%-12345X

 

Manual Feed

 

Ec%-12345X@PJL DEFAULT MANUALFEED=ON or OFF

 

Ec%-12345X

 

Paper Size

 

The following command permanently changes the default menu setting of the HP LaserJet 4 and 5 printer family to a paper size of legal.

 

Ec%-12345X@PJL DEFAULT PAPER=LEGAL

 

Ec%-12345X

 

NOTE: Variables are Letter, Legal, Executive, Ledger, Com10, B4, B5, Custom, JISB4, JISB5, JPost, JPostD, A3, A4, C5, DL and Monarch

 

Not all paper sizes work on all printers. Check the User's Manual for supported paper sizes.

 

Orientation

 

The following command permanently changes the default menu setting of the HP LaserJet 4 and 5 printer family to Landscape orientation.

 

Ec%-12345X@PJL DEFAULT ORIENTATION=LANDSCAPE

 

Ec%-12345X

 

Formlines

 

The following command permanently changes the front menu panel of the HP LaserJet 4 and 5 printer family to 66 lines per page.

 

Ec%-12345X@PJL DEFAULT FORMLINES=66

 

Ec%-12345X

 

NOTE: Variables are 5 to 128.

 

Symbol Set

 

The following command permanently changes the default menu setting of the HP LaserJet 4 and 5 printer family to the PC-8 symbol set.

 

Ec%-12345X@PJL DEFAULT LPARM : PCL SYMSET=PC8

 

Ec%-12345X

 

Font Number

 

The following command permanently changes the default menu setting of the HP LaserJet 4 and 5 printer family to font number 2.

 

Ec%-12345X@PJL DEFAULT LPARM : PCL FONTNUMBER=2

 

Ec%-12345X

 

Pitch Size

 

The following command permanently changes the default menu of the HP LaserJet 4 and 5 printer family to a pitch size of 16.67.

 

Ec%-12345X@PJL DEFAULT LPARM : PCL PITCH=16.67

 

Ec%-12345X

 

NOTE: Variables are .44 to 99.99.

 

Point Size

 

The following command permanently changes the default menu of the HP LaserJet 4 and 5 printer family to point size 20.

 

Ec%-12345X@PJL DEFAULT LPARM : PCL PTSIZE=20

 

Ec%-12345X

 

NOTE: Variables are 4 to 999.75

 

DARK Courier

Ec%-12345X@PJL DEFAULT COURIER=DARK

 

Ec%-12345X

 

EconoMode

 

Ec%-12345X@PJL DEFAULT ECONOMODE=ON or OFF

 

Ec%-12345X

 

Autocont

 

Ec%-12345X@PJL DEFAULT AUTOCONT=ON or OFF

 

Ec%-12345X

 

Density

 

Ec%-12345X@PJL DEFAULT DENSITY=1, 2, 3, 4 or 5

 

Ec%-12345X

 

NOTE: Not supported on HP LaserJet 4Si, 4Si MX printers.

 

Read-only on the HP LaserJet 4, 4M printers.

 

Resolution

 

Ec%-12345X@PJL DEFAULT RESOLUTION=300 or 600

 

Ec%-12345X

 

NOTE: Not supported on HP LaserJet 4L and 4ML printers.

 

Resolution Enhancement

 

Ec%-12345X@PJL DEFAULT RET=OFF, LIGHT, MEDIUM OR DARK

 

Ec%-12345X

 

NOTE: On the HP LaserJet 4Si and 4Si MX printers, the variables are ON or OFF only.

 

Job Offset (HP LaserJet 4SI, 4SI MX Printers)

 

Ec%-12345X @PJL DEFAULT JOBOFFSET=ON or OFF

 

Ec%-12345X

 

Outbin (HP LaserJet 4SI, 4SI MX Printers)

 

Ec%-12345X@PJL DEFAULT OUTBIN=UPPER or LOWER

 

Ec%-12345X

 

Duplex (HP LaserJet 4 PLUS, 4M Plus, 4SI, 4SI MX, 5SI, 5SI MX Printers)

 

Ec%-12345X@PJL DEFAULT DUPLEX=ON or OFF

 

Ec%-12345X

 

Duplex Binding (HP LaserJet 4 Plus, 4M Plus, 4SI, 4SI MX, 5SI, 5SI MX Printers)

 

Ec%-12345X@PJL DEFAULT BINDING=LONGEDGE or SHORTEDGE

 

Ec%-12345X

 

Ready Message Display

 

Ec%-12345X@PJL RDYMSG DISPLAY="MESSAGE"

 

Ec%-12345X

 

NOTE: Not supported on HP LaserJet 4 and 4ML printers.

 

Reset

 

Use the following command at the end of PJL jobs that use the PJL SET command to set the printer back to its default state:

 

Ec%-12345X@PJL INITIALIZE

 

Ec%-12345X

 

NOTE: Use Initialize, not Reset, on the HP LaserJet 4, 4 Plus, 5L, 5P and 5MP printers.

 

Additional Commands For the HP LaserJet 5P and 6P Family Printers

 

MP Tray as a Cassette or First Tray

 

This command sets the configuration of Tray 1 (MP Tray) as either a FIRST tray or a CASSETTE tray. The command is as follows:

 

Ec%-12345X@PJL DEFAULT MPTRAY=FIRST or CASSETTE

 

Ec%-12345X

 

NOTE: The default value is FIRST.

 

Printer Name Definition

 

This command changes the printer name to anything up to 32 characters. The command is as follows:

 

Ec%-12345X@PJL DEFAULT PRINTERNAME=XXXXXXX

 

Ec%-12345X

 

Put in the desired printer name for the XXXXXXX values.

 

NOTE: This change will be reflected in all places that the printer name appears.

 

Printing Self-Test Pages

 

This PJL command instructs the printer to print any of the six self-test pages or the continuous self-test. The command is as follows:

 

Ec%-12345X@PJL SET TESTPAGE=SELFTEST or other variable

 

Ec%-12345X

 

Substitute the variable for the particular test desired:

 

SELFTEST PCL Self Test

 

CONTSELFTEST Continuous Self Test

 

PCLTYPELIST PCL Typeface list

 

PCLDEMOPAGE PCL Demo Page

 

PSCONFIGPAGE PostScript Configuration Page

 

PSTYPEFACELIST PostScript Typeface List

 

PSDEMOPAGE PostScript Demo Page

 

Memory Booster Technology

 

This command sets the Memory Booster Technology to On, Off or Auto. The command is as follows:

 

Ec%-12345X@PJL DEFAULT PS:MBT=ON, OFF, or AUTO

 

Ec%-12345X



Copyright Ó Hewlett-Packard Co. 1996
This information is subject to change without notice and
is provided "as is" with no warranty.
Hewlett-Packard shall not be liable for any direct,
indirect, special, incidental or consequential damages
in connection with the use of this material.
FAQ

HP Support - Bottom Banner