Konica Minolta Magicolor 2350 User Manual

®
magicolor
2350
PJL Reference Guide
1800721-001A
Trademarks
KONICA MINOLTA and the KONICA MINOLTA logo are trademarks or registered trademarks of KONICA MINOLTA HOLDINGS, INC.
QCOLOR and magicolor are trademarks or registered trademarks of KONICA MINOLTA PRINTING SOLUTIONS U.S.A., INC.
This product uses Software Developer Kit of Peerless Systems Corporation. Copyright © 2001 Peerless Systems Corporation. All Rights Reserved.
This product uses NEST Office SDK of Novell, Inc. Copyright © 1999 Novell, Inc. NEST is a trademark of Novell, Inc. in the United States and other countries.
Copyright Notice
Copyright © 2003 KONICA MINOLTA BUSINESS TECHNOLOGIES, INC., Marunouchi Center Building, 1-6-1 Marunouchi, Chiyoda-ku, Tokyo, 100-0005, Japan. All Rights Reserved. This document may not be copied, in whole or part, nor transferred to any other media or language, without written permission of KONICA MINOLTA BUSINESS TECHNOLOGIES, INC.
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.
KONICA MINOLTA BUSINESS TECHNOLOGIES, INC.
SECTION 1: Using PJL Commands ...... 1
1.1 Introduction ...................................... 3
1.2 Conventions...................................... 9
1.3 Issuing PJL Commands................. 15
SECTION 2: PJL Commands ............... 19
2.1 PJL Commands .............................. 21
2.2 Status Codes .................................. 55
2.3 PJL/DOC Matrix...................................... 61
Index ...................................................... 67
iii
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 con­ventions that must be used when working with the PJL command set. Also includes informa­tion 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.

Chapter Location

Chapter Title
1.1 Introduction 3
1.2 Conventions 9
1.3 Issuing PJL Commands 15
Begins on page...
Introduction—
About PJL
Printer Job Language (PJL) enables advanced users and software applica­tion 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 com­mands 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 advan­tage 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 sur­rounded 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
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 vari­ables, 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
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
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
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
Conventions
Introduction
Conventions denotes two meanings: 1) How this manual uses character and document formatting to define the PJL commands and variables (see Docu­ment 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 commands 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
PJL Command Syntax
The characters and symbols used when identifying the syntax of PJL com­mands 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, dont 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.
CAPS The complete @PJL command must be in uppercase.
Control Character Definitions
This table defines the control characters used in PJL command syntax.
Control Char­acter
<CR> Carriage
<ESC> Escape 0x1B 27
<FF> Form Feed 0x0C 12
<HT> Horizontal
<LF> Line Feed 0x0A 10
<SP> Space 0x20 32
<UEL> * Universal
Notes: *See Universal Exit Language (<UEL>) Usage on page 12 for complete
Character Descrip­tion
Return
Ta b
Exit Language
UEL usage information.
Hex Code ASCII Code
0x0D 13
0x09 9
0x1B 25 2D 31 32 33 34 35 58 27 37 45 49 50 51 52 53 88
PJL Command Syntax
11
Universal Exit Language (<UEL>) Usage
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 Com­mand.
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 termi­nate 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
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 vari­able 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
as the job sent to the printer. If the PERSONALITY variable is set to AUTO, and no ENTER command is received, Context Language Selec­tion (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 LAN­GUAGE command is not used to identify the job language, the printer samples the incoming data and chooses a language based on its interpre­tation of the sampled data.
Language Configuration14
Issuing PJL
Commands—
Introduction
The following chapters in this guide describe the PJL commands, their vari­ables, 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 com­mands and readback status of the printer to customize application func­tions 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 con­taining 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
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
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

Chapter Location

Chapter Title
2.1 PJL Commands 21
2.2 Status Codes 59
2.3 PJL/DOC Matrix 65
Begins on page...
PJL
Commands—
21
Loading...
+ 57 hidden pages