Printer Job Language Technical Reference Manual, Hewlett-Packard Company. Printer
Job Language (PJL) was developed by Hewlett-Packard Company. Other product
names mentioned in this manual may also be trademarks or registered trademarks of
their respective owners.
Manual Notice
This guide provides an introduction to the PJL commands that the magicolor 2350
printer supports.
KONICA MINOLTA BUSINESS TECHNOLOGIES, INC. reserves the right to
make changes to this manual and to the equipment described herein without notice.
Considerable effort has been made to ensure that this manual is free of inaccuracies
and omissions. However,
makes no warranty of any kind including, but not limited to, any implied warranties of
merchantability and fitness for a particular purpose with regard to this manual.
KONICA MINOLTA BUSINESS TECHNOLOGIES, INC. assumes no responsibility
for, or liability for, errors contained in this manual or for incidental, special, or
consequential damages arising out of the furnishing of this manual, or the use of this
manual in operating the equipment, or in connection with the performance of the
equipment when so operated.
Index ...................................................... 67
iii
Page 4
Page 5
Using PJL Commands
In Section 1...
Chapter 1.1 — Introduction
Describes PJL, features, and an overview of
the commands available for your printer.
Chapter 1.2 — Conventions
Describes the typographical and context conventions that must be used when working with
the PJL command set. Also includes information about variables and language
configuration.
Chapter 1.3 — Issuing PJL Commands
Identifies the methods that can be used to
send PJL commands to your printer.
Page 6
Chapter Location
ChapterTitle
1.1Introduction3
1.2Conventions9
1.3Issuing PJL Commands15
Begins on
page...
Page 7
Introduction—
Page 8
About PJL
Printer Job Language (PJL) enables advanced users and software application developers to send commands to the printer and receive printer status.
This allows you to control the printer’s configuration for a print job and to
establish two-way communications with the printer. In addition, PJL commands can be used to change the printer’s control panel settings and to
change the printing language from within applications.
In This Guide
This PJL Reference Guide contains information about the PJL commands
that are supported by your printer. Section 1 provides a general introduction
to PJL. Section 2 contains the full list of PJL commands supported by your
printer and describes the function of each command. If you have experience
using PJL commands, you can skip the remainder of this Section and begin
with Section 2.
For customers who have older Crown printers, we’ve also included a
PJL/DOC (Document Option Command) equivalency matrix at the end
of Section 2. (DOC was supported by earlier Crown printers.) You can
use this matrix to find the PJL command that is most equivalent to a
DOC entry.
Online Benefits
If you’re viewing this document using Acrobat Reader, you can take advantage of the hyperlinks that we’ve provided in the Contents and Index pages to
quickly jump to the topics that interest you. Just click on any Contents or
Index entry to open the linked page.
There are also other hyperlinks in this document available
for use. All references to page numbers and any text surrounded by a green box contain a hyperlink to another page.
Linked Text
See the Acrobat Reader online help for information
about the document navigation tools provided in the Reader.
Visit our website (printer.konicaminolta.net/support) for product and
documentation updates for your printer.
About PJL4
Page 9
Overview of PJL
Using PJL to configure or to communicate with your printer requires the use
of PJL commands, which may include the use of PJL environmental variables, modifiers, and parameter values to define the commands given.
Supported PJL Command Set
The following lists identify the PJL commands that are supported by your
KONICA MINOLTA printer.
Additional information about each command is given in Section 2.
Kernel and Job Control Commands
COMMENT
DEFAULT
ENTER
EOJ
INITIALIZE
JOB
PJL
RESET
SET
UEL
Status or Information Request (Readback) Commands
DINQUIRE
ECHO
INFO
INQUIRE
USTATUS
USTATUSOFF
Overview of PJL
5
Page 10
Environmental Variables
Environmental variables are used with the PJL commands to provide
printer-specific controls and additional communication tools your printer can
understand.
The following lists identify the common PJL environmental variables that are
supported by your KONICA MINOLTA printer.
The full list of PJL variables, with additional information about each
variable, is given in Section 2.
Some PJL command variables may appear in more than one of the
following categories.
Accounting Information Variables
CHARGENUMBER
HOST
JOBNAME
USERNAME
Document/Printer Control Variables
CPLOCK
CUSTOMSIZEX
CUSTOMSIZEY
EMAILADDRESS
HELDJOBTIMEOUT
HOLD
HOLDKEY
HOLDTYPE
INTRAY1SIZE (read-only)
INTRAY2SIZE (read-only)*
JOB
JOBID
LANG
LOWTONER
MODELNAME (read-only)
NOTIFY
Overview of PJL6
Page 11
OUTBIN
OUTTONER
PASSWORD
PERSONALITY
POWERSAVE
POWERSAVETIME
REPRINT
TIMEOUT
TRAYMAPPING
USERNAME
Notes: *Optional lower feeder unit and Tray 2 required.
Document Formatting Variables
BINDING*
BITSPERPIXEL
COLORSEPARATION
COLORUCR
COPIES
DUPLEX*
FORMLINES
JOB
LANGUAGE
MEDIASOURCE
MEDIATYPE
ORIENTATION
PAPER
PLANESINUSE
PRINTQUALITY
QTY**
RESOLUTION
TRAYCHAIN
Notes: *With optional duplexer.
**With optional hard disk.
Overview of PJL
7
Page 12
PCL Variables
FONTNUMBER
FONTSOURCE
LINETERMINATION
OPTIMIZEFOR
PCLLINETERMINATION
PITCH
PTSIZE
SYMSET
Lineprinter Variables
AUTOWRAP
CHARMAP
FONTNAME
LINESPERPAGE
LPLINETERMINATION
LPORIENTATION
MARGINS
NUMBERLINES
TABS
PostScript Variables
PRTPSERRS
COLORMATCHING
DESTINATIONPROFILE
KPRESERVE
RGBBLACK
RGBSRCPROFILE
SIMULATIONPROFILE
SIMINRGBLINKS
Overview of PJL8
Page 13
Conventions—
Page 14
Introduction
Conventions denotes two meanings: 1) How this manual uses character and
document formatting to define the PJL commands and variables (see Document Conventions), and 2) How you should enter PJL command text in your
application to ensure the printer recognizes the commands correctly (see
“PJL Command Syntax” on page 11).
Document Conventions
The text describing the available PJL commands and variables in Section 2
appear in tables like the one shown below.
Command
or Variable
Syntax Command Syntax
Response
Syntax
Description Command description
Notes Notes about the command or its usage.
The first row identifies the PJL command or environmental variable
defined in the table.
The Syntax row displays the correct method of entering the command
and any required or optional arguments that are or can be associated
with the command. Unless otherwise noted, all of the text appearing in
this row must be entered on the same line of the PJL job. See the PJL
Command Syntax section for additional information.
Response Syntax identifies the syntax that the printer uses in its
responses to queries.
The Description row defines the command’s function.
Notes contains any additional information, tips, or cautions that may
help you when applying the defined command or its arguments.
Command (or variable) Name
Response Syntax
Introduction10
Page 15
PJL Command Syntax
The characters and symbols used when identifying the syntax of PJL commands is defined in the following table:
[ ]Square brackets enclose any optional arguments that
can be used in conjunction with the command. If you use
optional arguments, don’t type the brackets.
< >Angled brackets enclose control characters. When these
appear in the Syntax, enter the control code only (don’t
type the <> characters). See the next section for control
character definitions.
|Vertical bars appear in command syntax to indicate that
there are multiple optional parameters.
CAPSThe complete @PJL command must be in uppercase.
Control Character Definitions
This table defines the control characters used in PJL command syntax.
Control
Character
<CR>Carriage
<ESC>Escape0x1B27
<FF>Form Feed 0x0C12
<HT> Horizontal
<LF>Line Feed 0x0A10
<SP>Space0x2032
<UEL> * Universal
Notes:*See “Universal Exit Language (<UEL>) Usage” on page 12 for complete
The <UEL> Kernel Command signals to the printer that a PJL job needs to be
processed or has completed processing. This allows the printer to switch
between PJL and its default printing language (for example, PostScript). The
following bullets identify the rules you should follow when using the <UEL>
Command:
Always start and end all PJL jobs with the <UEL> Command. The Syntax
for this command is
<ESC>%-12345X
The <UEL> Command at the beginning of the PJL job must be immedi-
ately followed by the @PJL prefix. No spaces or other characters can be
placed between the <UEL> and the @PJL characters. For example,
<ESC>%-12345X@PJL
Following the text shown in the above example, you can continue
with a <CR> <LF> to begin another PJL command on the next line,
or you can use the @PJL on this line to start another PJL Command.
No characters should follow the <UEL> placed at the end of the PJL job.
Any character after the <UEL> is seen and handled as a new job.
Additional Syntax Rules
The <LF> (Line Feed) control code must be used at the end of each PJL
command to terminate the line.
The only exception to this rule is the <UEL> command, which does
not require the <LF> control code.
The <CR> control character is optional, but can be useful when spacing is
needed between command lines (no blank lines are allowed in PJL jobs).
Always place the optional <CR> before the <LF>, which is used to terminate the line.
A space (ASCII 32, Hex 0x20) or tab (ASCII 9, HEX 0x09) is required
between the @PJL prefix and the PJL command name.
A space (ASCII 32, Hex 0x20) is required between the PJL command
name and command arguments.
12
Universal Exit Language
(<UEL>) Usage
Page 17
Variables and Values
Many PJL commands require the use of variables to assign values to the
command parameters. PJL commands support the use of alphanumeric variable characters when the following rules are applied:
Alpha Characters
All variables must begin with an alpha character.
Do not use spaces in variables.
Alpha characters must be Roman-8 uppercase (characters 65-90).
Numeric Characters
Do not begin variables with a numeric character.
If a decimal is used in a numeric value, a number must precede the deci-
mal point, and only one decimal point is allowed in a value.
Do not use commas in numeric values.
Numeric characters must be Roman-8 numbers 0-9 (characters 48-57).
Strings
Strings are not used in variables but may be used as values.
Strings can use any combination of the alpha and numeric characters that
follow the guidelines described above.
Strings must be placed within double quotation marks.
Quotation marks cannot be used as part of the string.
Control characters are not allowed in strings.
Language Configuration
In order for the printer to correctly interpret the PJL commands that are sent
to it, the printer must recognize or be told which language to use to process
the job. Three methods of language switching can be used.
Explicit Language Selection—This is the recommended method of
switching languages and involves the use of the ENTER LANGUAGE
command to notify the printer of the language to be used.
Implicit Language Selection—If the ENTER LANGUAGE command is
not used, the printer uses the language set as the default language. This
method works fine as long as the default language is the same language
Language Configuration
13
Page 18
as the job sent to the printer. If the PERSONALITY variable is set to
AUTO, and no ENTER command is received, Context Language Selection (described next) is used instead of Implicit Language Selection. This
variable can be set through PJL or user interface (operator control panel
[System Default/Emulations/Default menu], CrownView, and PageScope
Light).
Context Language Selection—When the printer is configured to auto-
matically select the language of incoming jobs and the ENTER LANGUAGE command is not used to identify the job language, the printer
samples the incoming data and chooses a language based on its interpretation of the sampled data.
Language Configuration14
Page 19
Issuing PJL
Commands—
Page 20
Introduction
The following chapters in this guide describe the PJL commands, their variables, and their functions. This chapter looks at the common methods of
sending the PJL command jobs to the printer and receiving readback
responses from the printer.
Sending PJL Commands to the Printer
The three most common methods used to send PJL commands to the printer
are
Creating an ASCII file containing the PJL commands and copying this file
to your printer. Use this method if you want to send configuration changes
to the printer and don’t require readback responses from the printer.
You can also modify your Autoexec.bat file to copy the ASCII file to
the printer each time you boot your workstation.
Embedding PJL commands in an application during development. This
method allows application developers to take advantage of the commands and readback status of the printer to customize application functions that interact with the printer.
Due to the extensive variations in application development, this
method is not documented in detail in this Guide.
Using a utility software application that handles the bidirectional communi-
cation necessary to send and receive information from the printer.
Copying ASCII Files to the Printer
This section describes one method of creating and sending an ASCII file containing PJL commands to your printer from a workstation running a Windows
Operating System.
1 From the Start menu, choose Run.
2 Type edit and then select OK.
The MS-DOS Editor opens.
3 Enter the following on the first line of the new file you are creating.
<ESC>%-12345X@PJL
To create the <ESC> character, hold down the CTRL key and select the P
key, and then press the Esc key.
Introduction16
Page 21
4 On the following lines, enter the PJL commands you want to send to the
printer. See the additional chapters in this guide for information about the
PJL commands supported.
5 On the last line of your file, enter
<ESC>%-12345X
6 Save the file.
7 Copy the file you just saved to the printer using the DOS copy/b com-
mand.*
*If you check accounting, this example shows two jobs due to the
<CR><LF> that the MS-DOS editor automatically adds after the
<UEL>.
Including PJL Commands in Applications
By including PJL commands in the application that you’re developing, you
can take control of most printing configuration settings and retrieve printer
information without having to call on another application.
Using Utility Software
Some utility software allows you to communicate with your printer, including
sending PJL commands and receiving status readback. Depending on your
utility application, you may be able to perform one or more functions using the
utility’s built-in tools rather than directly entering PJL commands.
Example: Status Monitor
This utility, which comes with your printer on the CD-ROM, uses the PJL
readback commands to monitor and display the printer’s current status. This
utility provides additional features but serves as a good example of practical
use of PJL commands in an application.
Sending PJL Commands
to the Printer
17
Page 22
Page 23
PJL Commands
In Section 2...
Chapter 2.1 — PJL Commands
The full listing of PJL commands and
Variables supported by your printer.
Chapter 2.2 — Status Codes
Identifies the printer status messages and
their corresponding status codes.
Chapter 2.3 — PJL/DOC Matrix
Provides DOC users a cross-reference for
PJL commands that have the basic
functionality of DOC commands.
Section 2
Page 24
Chapter Location
ChapterTitle
2.1PJL Commands21
2.2Status Codes59
2.3PJL/DOC Matrix65
Begins on
page...
Page 25
PJL
Commands—
21
Page 26
Introduction
The PJL commands supported by your printer are identified and described in
this chapter. PJL commands are identified first and then followed by the
definition of environmental variables.
The commands and variables in the following sections are listed by name and
in alphabetical order.
Commands
Command COMMENT
Syntax @PJL COMMENT remarks [<CR>]<LF>
Description Comments can be used to insert information within the
lines of a PJL job. This information has no effect on the
printer or on any other commands used in the PJL job.
Information in Comments are primarily used to contain
notes about the preceding or following commands used in
the job.
Notes Remarks can be any text using Roman-8 characters
Description This command can be used to change the User Default
Notes The User Default Settings are also configurable from the
DEFAULT
= value [<CR>]<LF>
settings of the printer. DEFAULT is used with environmental
variables to set the user default value of a printer parameter. See the next section for a listing of variables that are
available for your printer.
printer’s control panel. Using the DEFAULT command does
not affect the Factory Default Settings of the printer.
Changes to the Default Settings are not activated until a
RESET command has been executed, the job ends, or a
<UEL> command is received. See the RESET command
on page 27 for more information.
Introduction22
Page 27
Command DINQUIRE
Syntax @PJL DINQUIRE [LPARM : personality] vari-
able [<CR>]<LF>
Response
Syntax
Description This command requests the current User Default Setting
Notes The printer responds with a question mark (?) if the variable
identified in the command is not supported by the printer.
Command
Syntax @PJL ECHO [<words>] [<CR>]<LF>
Response
Syntax
Description This command causes the printer to respond to the host
Notes Your application needs to be able to handle printer
ECHO
[<words>]
computer with the text sent to it (<words>). This allows you
to synchronize requests for information and the printer
responses.
responses that may be in response to queries that were
executed prior to the last request. For example, if an
application sends a query but the host is shut down or
interrupted before the response is sent, the printer attempts
to deliver the response the next time communication is
reestablished. You can use the ECHO command to validate
that the message received is in response to the query sent
to the printer.
Commands
23
Page 28
Command ENTER
Syntax @PJL ENTER LANGUAGE = personality
[<CR>]<LF>
Description This kernel command is used when setting the printer lan-
guage for the language used in the current print job.
Personality is the language of the print job, such as Lineprinter, PCL, or PostScript.
Notes Immediately following the <LF> code on the ENTER
command line, the printer assumes the language specified
by the personality to process the current print job. The
printer will continue to treat the job in the new language
until another ENTER command, a <UEL> command is
found, or a print job end of file is found.
Command
Syntax @PJL EOJ [NAME = "job name"] [<CR>]<LF>
Description This command indicates the end of the current print subjob.
Notes This command must be used in conjunction with the JOB
EOJ
The optional Name variable should be used if the JOB
command used this option to name the print subjob.
command. Don’t use the JOB or the EOJ command
separately.
Commands24
Page 29
Command INFO
Syntax @PJL INFO category [<CR>]<LF>
Description This command is used to request information from the
printer. The category is the component that you want information about. The following items are the categories that
your printer supports in response to the INFO command:
ID—returns the printer model number.
CONFIG—provides the current printer hardware configura-
tion.
MEMORY—provides the current amount of free memory
space available to the printer.
PAGECOUNT—returns the total number of pages that the
printer has printed.
STATUS—returns the current status of the printer. See
Chapter 2.2 “Status Codes” beginning on page 59 for a list
of the status codes returned by your printer.
VARI A B LES—provides all supported variables and the
values that each variable supports.
USTATUS—returns the unsolicited status variables (variables that automatically send status whenever their status
changes), their optional values, and their current values.
See Chapter 2.2 “Status Codes” beginning on page 59 for a
list of the status codes returned by your printer.
Notes Use just one category per INFO command line. If the printer
doesn’t support a category specified in the INFO command
line, the response will be a question mark (?).
Commands
Items that are not supported by the printer’s current
configuration are not listed in the printer’s configuration
response for information (@PJL INFO CONFIG). For
example, if the duplex unit isn’t installed, the duplex options
don’t appear in configuration query results.
25
Page 30
Command INITIALIZE
Syntax @PJL INITIALIZE
Description This command is used to reset the PJL variables to their
factory settings.
Notes To reset the PJL variables to the User Default values, use
the DEFAULT command instead of the INITIALIZE
command.
Description This command requests the current value of a PJL
Notes A question mark (?) is returned if the printer doesn’t support
INQUIRE
[<CR>]<LF>
@PJL INQUIRE [LPARM: personality] variable
<CR><LF>
value <CR><LF>
<FF>
variable.
LPARM is used to request status on a particular
language-specific variable, such as PCL fonts.
the variable specified in the INQUIRE command line.
The @PJL INFO VARIABLES command returns the status
of all variables.
Commands26
Page 31
Command JOB
Syntax @PJL JOB [NAME = " job name"][START= first
page][END = last page][PASSWORD = number ]
[DISPLAY = " display text"][<CR>]<LF>
Description The JOB command signifies the beginning of a new PJL
subjob to the printer. This command should be used with
the EOJ command to frame the PJL job to prevent multiple
PJL subjobs from being treated as one job.
Notes The default settings for the optional parameters shown in
the Syntax are
NAME= N/A
START=1
END= All pages
PASSWORD=0
DISPLAY= N/A
The use of these parameters is optional.
Always use the JOB command with the EOJ command.
Command
Description This command signals the printer to use its PJL parser to
Command
Description Resets the command settings to the User default settings.
Commands
PJL
Syntax @PJL
interpret the following command lines.
Notes This command must always immediately follow the <UEL>
command (with no white space between these two
commands).
RESET
Syntax @PJL RESET
Notes The SET and RESET commands affect only the current
job.
27
Page 32
Command SET
Syntax @PJL SET [LPARM : personality] variable =
value [<CR>]<LF>
Description Sets the current values until the next reset is received. If a
UEL, JOB, EOJ, INITIALIZE, or RESET command is
received, the default settings of the SET command are
cleared.
Notes The SET and RESET commands affect only the current
job.
Command
Syntax <ESC>%-12345X
Description Universal Exit Language (UEL) signals the printer to exit
Notes See “Universal Exit Language (<UEL>) Usage” in chapter
UEL
the current printer language and begin PJL dialog.
1.2 for more information.
Commands28
Page 33
Command USTATUS
Syntax @PJL USTATUS variable = value [<CR>]<LF>
Response
Syntax
Description Enables unsolicited status readback. Unsolicited status is
Notes *<WS> stands for white space.
@PJL USTATUS variable <CR><LF>
[1 or more lines of printable characters or
<WS>* followed by <CR><LF>]<FF>
an automatic response sent by the printer whenever the
status is changed.
Variables allowed are
DEVICE—Response when device status changes. Choices
are ON, OFF, and VERBOSE.
JOB—Response when the print job is started, completed
or canceled. Choices are ON and OFF.
PAGE —Response whenever a page is fed into the output
tray. Choices are ON and OFF.
TIMED—Sets up a timed interval between automatic status
responses. Choices are 0 and 5 to 300 seconds. 0 is the
default (one status is returned).
The VERBOSE setting returns all PJL parser errors and
warnings and should be used only during application development.
Command
Description Turns off all unsolicited status settings.
Commands
USTATUS DEVICE=ON allows the printer to send
responses when any status changes occur.
USTATUSOFF
Syntax @PJL USTATUSOFF [<CR>]<LF>
Notes You can use the USTATUS command to turn off individual
parameters.
29
Page 34
Environmental Variables
Environmental variables are used in conjunction with other PJL commands to
control printer configuration and to retrieve specific information from the
printer. See the previous section for a description of the PJL commands that
your printer supports.
Changing Printer Environment Parameters
The printing environment is defined as the current printer configuration. Environmental variables are used to configure the printer ’s parameters in the
printing environment. There are 4 types of printing environments that you will
be working with when using PJL commands:
Modified—This environment is established when the ENTER LAN-
GUAGE command is sent to the printer to change the printer language. It
can be changed only by the emulation.
PJL—This environment consists of the configuration changes established
by the parameters sent in the PJL command lines for the current job. Anything set here can be overridden by emulation.
User Default—User default configurations occur when one or more of the
Factory default configuration settings are changed and saved as the
default printer configuration. These changes can be made and saved via
the printer’s controls panel, using a printer management utility application
(for example, PageScope Light), or by using the DEFAULT command.
Typically, the User default environment is configured to benefit the majority of users in a network to prevent making repetitive changes. This can
be changed by PJL, emulation, and user interface.
Factory Default—This environment consists of the configuration settings that
are set by the printer manufacturer. Factory default settings are permanent
and can be applied at any time using the INITIALIZE command. Factory
default can be overridden by user interface, PJL, or emulations.
Language Specific Variables
Additional modifiers are included in the PJL variable set to allow you to make
changes to printer parameters that are specific to the language used by the
printer.
LPARM
The LPARM modifier is used to modify printer configuration that affects the
selected language. For instance, when PCL language is selected, you can
modify the PCL-specific parameters using the LPARM modifier.
Environmental Variables30
Page 35
The language-specific variables for each supported language are shown in
the following table.
The following pages contain the Environmental Variables that are
supported by your printer.
Environmental Variables
31
Page 36
Variable
Choices/
Range
Default LONGEDGE
Description Controls the duplex settings that are available. Use this
Variable
Choices/
Range14
Default 4
Description Used to identify the contone bits per pixel depth.
Variable
Choices/
Range
Default <N/A>
Description Used to identify the charge code used for accounting pur-
BINDING
LONGEDGE
SHORTEDGE
variable with the Duplex variable. Only supported with
optional duplexer.
BITSPERPIXEL
1 — 1 bit per pixel
4 — 4 bits per pixel
CHARGENUMBER
String (up to 8 printable characters)
poses.
Variable
Choices/
RangeNOYES
Default NO
Description Used to identify 4-plane color separation. If set to YES,
COLORSEPARATION
then 4 planes are used. If set to NO, then the normal plane
job prints.
Environmental Variables32
Page 37
Variable
Choices/
Range
Default NORMAL
Description Used to identify the Undercolor Removal (UCR) setting. If
Variable
Choices/
Range
Default 1
Description Controls the number of uncollated copies that are printed.
Variable
Choices/
Range
Default OFF
Description Controls the locking of the printer’s control panel. When
COLORUCR
NORMAL
ALTERNATE
set to NORMAL, then UCR is applied to every scanline. If
set to ALTERNATE, then UCR is applied to every other
scanline.
COPIES
1-999
Use the QTY variable for collated copies.
CPLOCK
OFF
ON
CPLOCK=ON, operators cannot change the printer
configuration via the printer’s control panel keys.
Variable
Choices/
Range
Default 220560900 fundamental units (8.27" or
Description Sets the short edge size of custom media.
Notes 1,050,000 fundamental units=1 millimeter; 26,670,000 fun-
CUSTOMSIZEX
99600000-226800000
210 mm)
damental units=1 inch.
Environmental Variables
33
Page 38
Variable
Choices/
Range
Default 220560900 fundamental units (8.27" or
Description Sets the long edge size of custom media.
Notes 1,050,000 fundamental units=1 millimeter; 26,670,000 fun-
CUSTOMSIZEY
155400000-373800000
210 mm)
damental units=1 inch.
Variable
Choices/
Range
Default OFF
Description Controls the duplex settings that are available. When set to
Variable
Choices/
Range
Default <N/A>
Description Sets the email address for job notification.
Variable
Choices/
Range
Default 60
Description Controls the number of lines for PCL pages. This variable
DUPLEX
OFF
ON
ON, duplex printing is enabled. Use this variable with the
BINDING variable. Only supported with optional duplexer.
EMAILADDRESS
String (up to 129 printable characters--enclose with double-quotes)
FORMLINES
5-128
is automatically adjusted if the PAPER or the ORIENTATION variables are changed.
Environmental Variables34
Page 39
Variable HELDJOBTIMEOUT
Choices/
Range
Default DISABLED
Description Controls the amount of time that passes before a Proof
DISABLED
ONEHOUR
FOURHOURS
ONEDAY
ONEWEEK
then Print job is automatically deleted from the printer.
Variable
Choices/
Range
Default <N/A>
Description Controls the Job Retention feature of the printer. When this
Notes *Refer to “Job Retention Options” on page 200 in the
HOLD*
OFF
ON
STORE
PROOF
variable is set to ON, all copies are printed and the job is
stored on the printer’s hard disk. A job that is STORED is
saved to the printer’s hard disk. PROOF indicates that the
printer is to print one copy of the job and hold the remaining
copies until receiving additional commands through the
printer’s control panel keys. After printing the additional
copies of a PROOF job, the job is removed from the printer.
Reference Guide for Retain job use.
Environmental Variables
35
Page 40
Variable
Choices/
Range
Default <N/A>
Description This variable contains the password for secure print jobs.
HOLDKEY*
0000-9999
To use this variable, set the HOLDTYPE variable to PRIVATE.
By default, all jobs are PUBLIC and do not require a
password.
Notes *Refer to “Job Retention Options” on page 200 in the
Reference Guide for Retain job use.
Variable
Choices/
Range
Default <N/A>
Description Controls the security level of a job. See the HOLDKEY vari-
Notes *Refer to “Job Retention Options” on page 200 in the
HOLDTYPE*
PUBLIC
PRIVATE
able for additional information.
Reference Guide for Retain job use.
Variable
Choices/
Range
Default <N/A>
Description Identifies the Host Name used for accounting purposes.
HOST
String (up to 16 printable characters -enclose with double-quotes)
Environmental Variables36
Page 41
Variable HPPROFILE
Choices/
Range
Default SRGB
Description This variable specifies if using RGB sim links or not.
Description Identifies the media size currently installed in tray 1. This
variable is read-only.
Environmental Variables
37
Page 42
Variable INTRAY2SIZE
Choices/
RangeA4LETTER
Default 110 VoltLETTER
220 VoltA4
Description Identifies the media size currently installed in tray 2. This
variable is read-only.
Variable
Choices/
Range
Default <N/A>
Description Enables or disables the job ID that is returned in the status
Variable
Choices/
Range
Default <N/A>
Description Identifies the name of a Proof then Print job.
JOBID
OFF
ON
readback.
JOBNAME
String
This is not the NAME variable value assigned to
jobs.
Environmental Variables38
Page 43
Variable
Choices/
Range
Default ENGLISH
Description Controls the default language displayed in the printer’s
Variable
Choices/
Range
Default CONTINUE
Description Controls the way the printer treats a Low Toner status. If
LANG
CZECH
ENGLISH
FRENCH
GERMAN
ITALIAN
PORTUGUESE
SPANISH
control panel and used for any unsolicited status readback.
LOWTONER
STOP
CONTINUE
STOP is the chosen value, when a Low Toner condition
occurs the printer will go offline until receiving additional
commands from the printer’s control panel. If CONTINUE is
chosen, the printer remains online when a Low Toner
condition occurs.
Variable
Choices/
Range
Default ON
Description Enables or disables automatic text wrapping when the right
LPARM:LINEPRINTER AUTOWRAP
OFF
ON
margin is reached.
Environmental Variables
39
Page 44
Variable
Choices/
Range
Default ASCII
Description Selects the character map.
LPARM:LINEPRINTER CHARMAP
ASCII
EBCDIC
Variable
Choices/
Range
Default "Courier"
Description Controls the font to be used for the current print job. All
Variable
Choices/
Range
Default 60
Description Identifies the number of lines to print on a page before
Description Sets the default media type for the current job.
Variable
Choices/
Range
Default magicolor 2350
Description Identifies the printer model.
MEDIATYPE
LABELS
PAPER
THICKSTOCK
TRANSPARENCY
MODELNAME
<string>
Environmental Variables
49
Page 54
Variable
Choices/
Range
Default <N/A>
Description Identifies the point in processing that triggers email notifica-
Variable
Choices/
Range
Default SPEED
Description Identifies the default PCL halftone to be used.
Variable
Choices/
Range
Default PORTRAIT
Description Identifies the page orientation.
NOTIFY
JOBEND
tion.
OPTIMIZEPCL
QUALITY
SPEED
ORIENTATION
LANDSCAPE
PORTRAIT
Variable
Choices/
Range
Default UPPER
Description Identifies the default output bin.
OUTBIN
UPPER
Environmental Variables50
Page 55
Variable
Choices/
Range
Default CONTINUE
Description Identifies how the printer is configured to react during a
OUTTONER
STOP
CONTINUE
print job when a toner out condition occurs. If set to STOP,
the printer halts printing when the toner out condition
occurs. If set to CONTINUE, the printer generates a toner
out message but continues printing when a toner out condition occurs.
Description Identifies the default physical paper size.
Environmental Variables52
Page 57
Variable
Choices/
Range
Default "0"
Description Identifies the default password for PJL jobs.
Variable PERSONALITY
Choices/
Range
Default AUTO
Description This variable identifies the personality for implicit switching.
PA SSWO RD
0-65535
AUTO
HEXDUMP*
PCL
PCLXL
PDF
POSTSCRIPT
LINEPRINTER
Implicit switching changes the current personality without
using the @PJL ENTER command.
Selecting AUTO allows the printer to search for
context clues in the job to decide which personality to
assume.
Notes *Hexdump is valid until you reboot.
Variable
Choices/
Range
Default 4
Description Identifies the number of planes of data in a job.
PLANESINUSE
1 (monochrome)
3 (color)
4 (color)
Choices 3 and 4 are treated the same on the
magicolor 2350.
Environmental Variables
53
Page 58
Variable
Choices/
Range
Default ON
Description Enables (ON) or disables (OFF) the power saving feature
Variable
Choices/
Range115
Default 30 minutes
Description Controls the power saving feature of the printer by
Notes *110 V only.
POWERSAVE
OFF
ON
of the printer.
POWERSAVETIME
30
60
120*
180*
identifying the time of printer inactivity that triggers the
power save feature.
Variable
Choices/
Range
Default ENHANCED
Description Controls the print quality settings of the printer for the cur-
PRINTQUALITY
DRAFT (600x600 dpi monochrome)
NORMAL (600x600 dpi color)
ENHANCED (1200x1200 dpi color [PCL])
HIGH (600x600 dpi color with contone imaging mode, or
9600X600 dpi class [PostScript])
rent job.
Environmental Variables54
Page 59
Variable QTY*
Choices/
Range
Default 1
Description Identifies the number of collated copies for the current job.
Notes *Requires hard disk.
1-999
Use the COPY variable for uncollated copies.
Variable
Choices/
Range
Default ON
Description Sets the printer’s action after a media jam. When ON is
REPRINT
OFF
ON
selected, the printer reprints any of the pages that were
jammed.
This feature depends on printer memory
availability—if there isn’t enough free memory to hold
the jammed pages, the pages are not reprinted.
Variable
Choices/
Range
Default 600
Description Sets the printing resolution in dots per inch (dpi) for the cur-
RESOLUTION
600
1200
rent job.
Environmental Variables
55
Page 60
Variable
Choices/
Range
Default 15
Description Sets the time interval that the printer waits to receive data
TIMEOUT
0-999
(seconds)
for the current print job. If the wait time exceeds the value
set, the job ends and the printer is ready to accept other
jobs.
0 = no time out.
Variable
Choices/
Range
Default ON
Description Enables or disables tray chaining. When ON is selected,
TRAYCHAIN
OFF
ON
the printer uses an alternate media tray as the media
source when the primary tray is empty.
Tray chaining occurs only if the alternate tray has the
correct media size and type installed.
Variable
Choices/
Range
Default ON
Description Sets tray mapping to enabled (ON) or disabled (OFF).
Notes Only supported with optional lower feeder unit and Tray 2.
TRAYMAPPING
OFF
ON
Environmental Variables56
Page 61
Variable USERNAME
Choices/
Range
Default <N/A>
Description Identifies the user name for Proof then Print jobs.
String (up to 64 printable characters—
enclose in double-quotes)
Environmental Variables
57
Page 62
Page 63
Status Codes—
Page 64
Introduction
This chapter describes the status codes that are returned following the
transmission of @PJL INFO STATUS and USTATUS commands to the
printer.
Status Codes
CategoryKeypad MessageStatus Code
StandardMAGICOLOR 2350 IDLE10001
WARMING UP10003
INITIALIZING10004
ENERGY SAVER35078
CANCELLING JOB10007
PROCESSING10023
COPYING10023
PRINTING10023
FIRMWARE UPDATE SELECTEDNone
FIRMWARE UPDATE WRITING
IMAGE
FIRMWARE UPDATE DOWNLOAD
IMAGE
FIRMWARE UPDATE FORMATTINGNone
UPDATE FIRMWARE READING
HEADER
UPDATE FIRMWARE READING
IMAGE
STARTING SYSTEMNone
CALIBRATING10031
None
None
None
None
Introduction60
Page 65
CategoryKeypad MessageStatus Code
WarningOPC DRUM LOW10006
CYAN LOW10006
MAGENTA LOW10006
BLACK LOW10006
YELLOW LOW10006
BLACK EMPTY10006
YELLOW EMPTY10006
MAGENTA EMPTY10006
CYAN EMPTY10006
WASTE TONER NEAR FULL10006
DISK NEAR FULL10006
TRAY2 OPEN12201
TIME OF DAY CLOCK FAILURE10001
EMAIL ERROR EVENT NOTIFY10001
EMAIL ERROR ACC DATA TRANS10001
NETWORK CONFIG ERROR10001
CautionEMAIL NOTIFY ERROR JOB-END10001
MEDIA MISMATCH10001
PAPER MISMATCH10001
Operator
Call
CYAN LOW40038
MAGENTA LOW40038
BLACK LOW40038
YELLOW LOW40038
BLACK EMPTY40038
YELLOW EMPTY40038
MAGENTA EMPTY40038
CYAN EMPTY40038
PAPER JAM TRAY140022
PAPER JAM TRAY240022
Status Codes
61
Page 66
CategoryKeypad MessageStatus Code
Operator
Call
(continued)
PAPER JAM DUPLEX40022
PAPER JAM TRANSFER40022
PAPER JAM FUSER40022
PAPER JAM EXIT40022
AIDC ERROR40005
TRAY OPEN40026
PUT_X_IN_Y41000
OPC DRUM MISSING40010
WASTE TONER MISSING40010
CYAN TONER MISSING40010
MAGENTA TONER MISSING40010
BLACK TONER MISSING40010
YELLOW TONER MISSING40010
MAIN UNIT COVER OPEN40021
TRAY2 PATH COVER OPEN40021
REPLACE OPC DRUM40141
REPLACE WASTE TONER40141
DISK ACCESS ERROR
ACCOUNTING
DISKFULL32002
DOWNLOAD IMAGE TO ENET PORT 50500
ERROR LOADING FIRMWARE50500
FIRMWARE UPDATE FORMAT
ERROR
FIRMWARE UPDATE INVALID IMAGE 50500
40083
50500
Status Codes62
Page 67
CategoryKeypad MessageStatus Code
Service
Call
SERVICE CALL 04 ENGINE BOARD50007
SERVICE CALL 05 FLASH ROM50001
SERVICE CALL 08 MAIN MOTOR50000
SERVICE CALL 0B XFER FAN50006
SERVICE CALL 0C PWR SUPPLY
FAN
SERVICE CALL 0E SUCTION FAN50006
SERVICE CALL 10 LASER UNIT50000
SERVICE CALL 12 LASER UNIT50000
SERVICE CALL 14 XFER ROLLER50000
SERVICE CALL 15 XFER BELT50000
SERVICE CALL 16 XFER BELT50000
SERVICE CALL 17 TONER RACK50000
SERVICE CALL 18 FUSER UNIT50003
SERVICE CALL 19 FUSER UNIT50003
SERVICE CALL 1A FUSER UNIT50003
SERVICE CALL 1B FUSER UNIT50003
SERVICE CALL 21 TRANS DET
SENS
SERVICE CALL 29 MEM MALF
COUNTER
SERVICE CALL 2A MEM MALF DATA 50002
SERVICE CALL 2B MEM MALF
ACCESS
FIRMWARE UPDATE WRITING
ERROR
FIRMWARE UPDATE FLASHING
ERROR
NETWORK FATAL ERROR50510
50006
50000
50002
50002
50002
50002
Status Codes
63
Page 68
Page 69
PJL/DOC
Matrix—
Page 70
Introduction
This chapter is for users making the transition from DOC commands to PJL
commands. In this chapter you’ll find common DOC commands and their
nearest equivalent in PJL commands. For information on PJL commands referenced in this chapter, see Chapter 2.1 “PJL Commands.”
DOC/PJL Command Matrix
Not all DOC commands have an equivalent PJL command. If there is
no PJL equivalent for a DOC command, Unsupported appears in the PJL column.
Unless otherwise noted, start all PJL command lines with @PJL (for
example, @PJL SET CHARGENUMBER).
Header/Trailer Page Commands
DOCPJL
%%IncludeFeature:header
%%IncludeFeature:trailer
Header/Trailer Information Commands
DOCPJL
%%Charge NumberSET CHARGENUMBER
%%Creator
%%CreationDate
%%Date
%%ForSET USERNAME
%%HostSET HOST
%%TitleJOB NAME
%%Version
Unsupported
Unsupported
Unsupported
Unsupported
Unsupported
or
SET JOB NAME
Unsupported
Document Control Commands
DOCPJL
%%IncludeFeature@PJL
%%Pages
Unsupported
Introduction66
Page 71
Document Control Commands
DOCPJL
%%PagesUnsupported
%%EndComments
%%EndOfDocument<ESC>%-12345X
<ESC>%-12345X<ESC>%-12345X
%%SessionsJOB
%%NotifySET NOTIFY=JOBEND
Notes: Use @PJL by itself on a
Document Formatting Commands
DOCPJL
%%IncludeFeature:booklet
%%IncludeFeature:collateSET QTY
%%IncludeFeature:colormodelSET RENDERMODE
%%IncludeFeature:copiesSET COPIES
%%IncludeFeature:duplexSET DUPLEX
%%IncludeFeature:emulationENTER LANGUAGE
%%IncludeFeature:inputSET MEDIASOURCE
%%IncludeFeature:mediatypeSET MEDIATYPE
%%IncludeFeature:newlayoutJOB
%%IncludeFeature:offset
%%IncludeFeature:orientationSET ORIENTATION
%%IncludeFeature:output
%%IncludeFeature:pagegrid
%%IncludeFeature:pageoffsets
%%IncludeFeature:pageorientation
%%IncludeFeature:pagerangeJOB START=# END=#
%%IncludeFeature:pagescaling
%%IncludeFeature:pagesize
Unsupported
SET EMAILADDRESS
command line.
Unsupported
or
SET PLANESINUSE
Unsupported
Unsupported
Unsupported
Unsupported
Unsupported
Unsupported
Unsupported
DOC/PJL Command
Matrix
67
Page 72
Document Formatting Commands
DOCPJL
%%IncludeFeature:qualitySET PRINTQUALITY
%%IncludeFeature:resolutionSET RESOLUTION
%%IncludeFeature:staple
HP PCL Commands
DOCPJL
%%IncludeFeature:criscrlfLPARM:PCL SET LINETER-
%%IncludeFeature:font
%%IncludeFeature:install
%%IncludeFeature:lfiscrlfLPARM:PCL SET LINETER-
%%IncludeFeature:pointsizeLPARM:PCL SET PTSIZE
%%IncludeFeature:remove
%%IncludeFeature:symbolsetLPARM:PCL SET SYMSET
Notes:*Use Download Manager.
Lineprinter Commands
DOCPJL
%%IncludeFeature:autowrapLPARM:LINEPRINTER SET
%%IncludeFeature:criscrlfLPARM:LINEPRINTER SET
%%IncludeFeature:ffiscrlfLPARM:LINEPRINTER SET
%%IncludeFeature:fontLPARM:LINEPRINTER SET
%%IncludeFeature:linesperpageLPARM:LINEPRINTER SET
%%IncludeFeature:lpmarginsLPARM:LINEPRINTER SET
%%IncludeFeature:lporientationLPARM:LINEPRINTER SET
SIMINRGBLINKS 31, 48
SIMULATIONPROFILE 31, 48
Space character 11
Status Monitor 17
Status or Information Request 5
Strings 13
Supported PJL Command Set 5
SYMSET 8, 31, 45