Support
Statement
HP LaserJet P2014
Printer Job Language
(PJL) to Change Print
Use
Settin
Security Level: Public
Date Written/Updated: November 8, 2007
Document Number: c01285654
Firmware date code: 20071001
Document Summary
D Change print settings using PJL code
s
Description
Users have a number of methods to change print settings in the firmware. Print settings can be
configured in the embedded Web server (EWS), for the network model only. Print settings can also
be changed in the print driver; however, not all settings are available. This document explains how
to use PJL commands to configure print settings for a HP LaserJet P2014 printer which can be
connected directly through a parallel or a USB cable. Below is a list of supported settings.
Table 1 A List of PJL Environment Variables Supported by HP LaserJet P2014
PJL Environment Variables
Variable Description Sample Value/Range
DENSITY Print density setting 1, 2, 3, 4, 5
AUTOCONT Auto continue configuration ON, OFF
TIMEOUT I/O timeout in seconds 5 to 1800
PAPER Default paper size LETTER, A4, LEGAL,
EXECUTIVE, A5, B5, etc
INTRAY1SIZE Tray 1 paper size LETTER, A4, LEGAL,
EXECUTIVE, A5, B5, etc
INTRAY1SIZE Tray 2 paper size LETTER, A4, LEGAL,
EXECUTIVE, A5, B5
ORIENTATION Page orientation PORTRAIT, LANDSCAPE
MANUALFEED Manual feed mode ON, OFF
COPIES Number of uncollated
copies for each page of the
job.
LPARM : PCL PITCH Pitch of the default font in
units of characters per inch
(the default font must be a
1 to 999
0.44 to 99.99
Page 1 of 3
fixed-pitch scalable font).
The pitch value can be
specified to two decimal
places.
LPARM : PCL PTSIZE Height of the default font in
4 to 999.75
units of points (the default
font must be a proportional
scalable font). The point size
is significant to a quarter of
a point.
LPARM : PCL SYMSET Symbol set ROMAN8, ISOL1, ISOL2,
ISOL5, ISOL6, PC775, PC8,
PC8DN, PC850, PC852,
PC8TK, PC1004, WINL1,
WINL2, WINL5, DESKTOP,
PSTEXT, MSPUBL, MATH8,
PSMATH, PIFONT, LEGAL,
ISO4, ISO6, ISO11,
ISO15, ISO17, ISO21,
ISO60, ISO69, WIN30,
WIN31J, WINBALT,
GB2312, MCTEXT
FORMLINES Number of lines per page 5 to 128
ECONOMODE Economode toner-saving
ON, OFF
feaure
WIDEA4 Changes the
NO, YES
margins/printable area of
A4 paper so that 80 10pitch characters may be
printed on a line.
Instructions
1. Compose a PJL command file in MS-DOS Editor. From the DOS prompt type: edit
pjlcommands and press the ENTER key.
2. At the Edit screen enter PJL commands. Figure 1 below is a working PJL command file which
demonstrates how to configure variables in Table 1.
Figure 1 Working PJL Command Test File
%-12345X@PJL
@PJL DEFAULT DENSITY = 3
@PJL DEFAULT AUTOCONT = OFF
@PJL DEFAULT TIMEOUT = 480
@PJL DEFAULT PAPER = LETTER
Page 2 of 3