» Sign-in with HP Passport | » Register
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
Search:
More options
 
hp.com home


HP Support document

» 

Business Support Center

HP Passport Sign-in

» Sign-in with HP Passport
» Register
» Learn more...

Tasks

» Download drivers and software
» Troubleshoot a problem
» Setup, install, and configure
» Discover and use a product
» Perform regular maintenance
» Upgrade and migrate
» Recycle and dispose
»

Resources

» Customer Self Repair
» Diagnose problem or Chat (HP Instant Support)
» Support Forums
» Guided troubleshooting
» Manuals
» Submit a support case
» See more...
» Help
» Site map
» HP Support Center

HP LaserJet Printers - Editing DEFAULTS.PJL to Change Printer Settings

ISSUE:
Editing DEFAULTS.PJL to change printer settings on the HP LaserJet 5P, 5MP, 5L, 5L-FS, 5L Xtra, 6P, 6L, 1100, 1200, 2100, 2200, and 3200 family printers.
SOLUTION:
When operating in a DOS environment and the Remote Control Panel is not functional or accessible, you may set printer defaults by editing the DEFAULTS.PJL file that is located on the DOS-Utilities disk. This file can be copied to the hard drive and accessed using the DOS Editor. If it has already been copied to the hard drive, this file may exist under the root directory or in the HPLJUTIL directory.
To copy the DEFAULTS.PJL file from the DOS-Utilities disk to the hard drive, use the following command: C:\> COPY A:\DEFAULTS.PJL C:\
NOTE: For the HP LaserJet 1100 and HP LaserJet 2100 the DEFAULTS.PJL file is located on the CD in the DOS/ENGLISH directory for the HP LaserJet 1100 and the ENGLISH/DOS directory for the HP LaserJet 2100. After copying the file to the hard drive uncheck “Read - only�? in the file properties.
This allows the original file to remain on your disk for backup purposes, and places a copy on the root directory, so it may be accessed from the C:\> prompt.
To edit the DEFAULTS.PJL file, use the following command to retrieve the file. If it has been copied into a directory, you will have to change to that directory first:
C:\> EDIT DEFAULTS.PJL
In DOS edit, modify the desired field, as necessary. Save the changes by pressing File Save . Send the changes to the printer by pressing File Print

and print the complete document. Print a Self-Test page to verify changes. Exit DOS editor by pressing File Exit .

To make the new defaults automatically download to the printer, include it in the AUTOEXEC file with the following command: C:\> EDIT AUTOEXEC.BAT
In DOS edit, add a line below the "PATH" line by moving to the end of the "PATH" line with the cursor and press ENTER. Add the following command: COPY DEFAULTS.PJL LPT1
NOTE: For DOS printing in Windows NT 4.0, set the default printer driver Print Processor to RAW.
Save the file: File Save , then exit DOS editor: File Exit .
NOTE: Restarting the PC at this point will download the defaults to the printer.
The DEFAULTS.PJL file includes the variables in Table 1, which may be modified to alter the printer defaults:
Table 1: DEFAULTS.PJL file variables
COPIES=1 (variables of 1 to 999)
ORIENTATION=PORTRAIT (variables of portrait or landscape)
PAPER=LETTER (variables of letter, legal, executive, Com10, B5, A4, A5, C5, DL, and Monarch), JISEXEC ( 8.5 X 13 )
MPTRAY=FIRST (variables of cassette, manual, or first)
MANUALFEED=OFF (variables of on or off)
FORMLINES=60 (variables of 5 to 128)
LPARM:PCL SYMSET=PC8 (variables of ROMAN8, ISOL1, ISOL2, ISOL5, PC8, PC8DN PC850, PC852, PC8TK, WINL1, WINL2, WINL5, DESKTOP, PSTEXT, VNINTL, VNUS, MSPUBL, MATH8, PSMATH, VNMATH, PIFONT, LEGAL, ISO4, ISO6, ISO11, ISO15, ISO17, ISO21, ISO60, ISO69, WIN30)
LPARM: PCL PITCH = 10.00 (variables of .44 to 99.99) Set to 16.67 for condensed printing.
LPARM: PCL FONTSOURCE=I (variables depend on font sources available) I=internal font
LPARM: PCL FONTNUMBER=0 (variables depend on fonts available--may be determined from typeface list)
ECONOMODE=OFF (variables of off or on)
DENSITY=5 (variables of 1, 2, 3, 4, or 5)
RET=MEDIUM (variables of off, light, medium, or dark)
RESOLUTION=600 (variables of 600 or 300)
PAGEPROTECT=AUTO (variables of auto, A4, letter, legal, or off)
AUTOCONT=OFF (variables of on or off)
TIMEOUT=15 (variables of 5 to 300)
NOTE: The following commands are not included in the DEFAULTS.PJL file for the HP LaserJet 6P (they can be added if needed): Ec%-12345X@PJL DEFAULT DENSITY=3 Ec%-12345X@PJL DEFAULT MPTRAY=FIRST Ec%-12345X@PJL DEFAULT COURIER=REGULAR (variables of REGULAR or DARK) Ec represents the escape character. In DOS Edit, the escape character can be entered by pressing CTRL and tapping the letter P, release both keys and press the ESC key. An arrow pointing to the left should appear.
The DEFAULTS.PJL file for the HP LaserJet 1200, 1220, and 2100 contains additional variables not listed above. Table 2 lists the additional variables available for these printers.
Table 2: Additional DEFAULTS.PJL file variables for the HP LaserJet 1200, 1220 and 2100 printers.
PERSONALITY=AUTO Variables of AUTO, PS, or PCL.
DUPLEX=OFF Variables of OFF or ON
POWERSAVE=ON This command is not active, yet is listed in the DEFAULTS.PJL file.
POWERSAVETIME=30 This command is not active, yet is listed in the DEFAULTS.PJL file.
COURIER=REGULAR Variables of REGULAR or DARK
INTRAY1=UNLOCKED Variables of UNLOCKED or LOCKED
INTRAY2=UNLOCKED Variables of UNLOCKED or LOCKED
INTRAY3=UNLOCKED Variables of UNLOCKED or LOCKED (HP LaserJet 1200/1220 only)
IOBUFFER=AUTO This command is not active, yet is listed in the DEFAULTS.PJL file.
WIDEA4=NO Variables of NO or YES
REPRINT=AUTO Variables of AUTO, NO or YES
TRAY1TEMP=MEDIUM Variables of LOW, MEDIUM, and HIGH
TRAY2TEMP=MEDIUM Variables of LOW, MEDIUM, and HIGH
INTRAY3TEMP=MEDIUM Variables of LOW, MEDIUM, and HIGH (HP LaserJet 1200/1220 only)
LANG=ENGLISH This command is not active, yet is listed in the DEFAULTS.PJL file. (HP LaserJet 1200/1220 only)
BINDING=LONGEDGE This command is not active, yet is listed in the DEFAULTS.PJL file. (HP LaserJet 1200/1220 only)
NOTE: The .PJL files for the HP LaserJet 1200 and 1220 products are Read Only and will need to be renamed on the desktop before editing. These settings may be modified by editing the DEFAULTS.PJL file in DOS edit and saving the changes made. If the DEFAULTS.PJL file is already referenced in the AUTOEXEC.BAT file, there is no need to make any other changes within the system. Remember that you will need to restart the system after making these changes for them to download to the printer.

   Content feedback
To help us improve our content, please provide your feedback below.

1. How does the information on this page help you?

   very helpful somewhat helpful not helpful
 

2. Was it easy to find this document?

   easy not easy

3. If you selected not easy for question 2, in which section did you expect to find it?

     

4. Comments:

 
 
- Your feedback will be used to improve our content. Please note this form is for feedback only, so you will not receive a response.
Contact HP if you need technical assistance.

Printable versionPrintable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2013 Hewlett-Packard Development Company, L.P.