Printer Job Language
Technical Reference Manual
Copyright and
License
© 2003 Hewlett-Packard
Development Company, LP
All Rights Reserved.
Reproduction, adaptation, or
translation without prior written
permission is prohibited, except
as allowed under the copyright
laws.
The information contained in
this document is subject to
change without notice.
Publication Number: 5021-0380
Edition 12, 6/2003
Trademarks
Adobe, PostScript, and the
PostScript logo are trademarks
of Adobe Systems Incorporated,
which may be registered in
certain jurisdictions. AppleTalk
is a registered trademark of
Apple Computer, Inc.
Centronics is a U.S.
registered trademark of
Centronics Data Computer
Corporation. HP Explorer
Software is a trademark and
PCL and Resolution
Enhancement are registered
trademarks of Hewlett-Packard
Company. Epson is a registered
trademark of Epson America,
Inc. Harvard Graphics is a
registered trademark of
Software Publishing
Corporation. IBM is a registered
trademark and ProPrinter is a
trademark of International
Business Machines
Corporation. Lotus and 1-2-3
are registered trademarks of
Lotus Development
Corporation. Microsoft is a
registered trademark and Word,
Windows, MS-Mincho, and MS-
Gothic are trademarks of
Microsoft Corporation. ESC/P is
a trademark of Seiko-Epson
Corporation. WordPerfect is a
registered trademark of Corel
Corporation or Corel
Corporation Limited.
EN iii
Inside This Manual
What You Can Learn From This Manual
Printer Job Language (PJL) was developed by Hewlett-Packard to
provide a method for switching printer languages at the job level, and
for status readback between the printer and the host computer. PJL
offers application programs an efficient way to remotely control
Hewlett-Packard printers. Using PJL, developers can provide
applications with the ability to programmatically switch printer
languages, monitor printer status, request the printer model and
configuration, change control panel default settings, modify control
panel messages, and more.
This manual is written for experienced users such as application
developers and technical support personnel. Before using PJL
commands, programmers should be familiar with the introductory
information in Chapters 1, 2, and 3, and with the programming tips in
Chapter 11. In addition, users of this manual should be acquainted
with the HP LaserJet printer language (PCL) and with LaserJet printer
features.
Application Developers
This PJL Technical Reference Manual provides developers with all
the information necessary to add PJL to their applications. Examples
are used throughout the manual to help developers write efficient and
properly functioning code.
Technical Support Personnel
This manual provides reference information for network
administrators and other technical support personnel who manage
multi-user systems. PJL provides the potential for significantly
enhancing network printer operation.
Non-Technical Users
Non-technical users can use the features of PJL by using HP Explorer
Software, or by using software that supports PJL. Since improperly
used PJL commands can cause problems in a network situation,
inexperienced users are advised against using PJL commands on
any system other than a dedicated workstation.