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.
Page 6
Chapter Location Chapter Title Introduction Conventions Issuing PJL Commands Begins on page...
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...
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.
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.
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 LANGUAGE MEDIASOURCE MEDIATYPE ORIENTATION PAPER PLANESINUSE PRINTQUALITY QTY** RESOLUTION TRAYCHAIN Notes: *With optional duplexer. **With optional hard disk.
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.
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, don’t type the brackets.
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>...
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.
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).
Sending PJL Commands to the Printer The three most common methods used to send PJL commands to the printer 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.
On the last line of your file, enter <ESC>%-12345X Save the file. 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>.
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.
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.
Page 27
<FF> Description This command requests the current User Default Setting value of the specified variable. Notes The printer responds with a question mark (?) if the variable identified in the command is not supported by the printer. ECHO Command Syntax @PJL ECHO [<words>] [<CR>]<LF>...
Page 28
Command 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 Line- printer, PCL, or PostScript.
Page 29
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 (?).
Page 30
LPARM is used to request status on a particular language-specific variable, such as PCL fonts. Notes A question mark (?) is returned if the printer doesn’t support the variable specified in the INQUIRE command line. The @PJL INFO VARIABLES command returns the status of all variables.
Page 31
Always use the JOB command with the EOJ command. Command Syntax @PJL Description This command signals the printer to use its PJL parser to interpret the following command lines. Notes This command must always immediately follow the <UEL> command (with no white space between these two commands).
Page 32
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 the current printer language and begin PJL dialog. Notes See “Universal Exit Language (<UEL>) Usage” in chapter 1.2 for more information.
Page 33
[1 or more lines of printable characters or <WS>* followed by <CR><LF>]<FF> Description Enables unsolicited status readback. Unsolicited status is 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.
Page 34
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.
Page 35
Lineprinter-specific AUTOWRAP CHARMAP FONTNAME LINESPERPAGE LPLINETERMINATION PCLLINETERMINATION RGBSRCPROFILE LPORIENTATION MARGINS NUMBERLINES POINTSIZE TABS The following pages contain the Environmental Variables that are supported by your printer. Environmental Variables PCL-specific FONTNUMBER COLORMATCHING FONTSOURCE KPRESERVE FORMLINES PRTPSERRS LINETERMINATION RGBBLACK PITCH SIMINRGBLINKS...
Page 36
BINDING Variable Choices/ LONGEDGE Range SHORTEDGE Default LONGEDGE Description Controls the duplex settings that are available. Use this variable with the Duplex variable. Only supported with optional duplexer. BITSPERPIXEL Variable Choices/ Range Default 4 Description Used to identify the contone bits per pixel depth. 1 —...
Page 37
Use the QTY variable for collated copies. CPLOCK Variable Choices/ Range Default OFF Description Controls the locking of the printer’s control panel. When CPLOCK=ON, operators cannot change the printer configuration via the printer’s control panel keys. CUSTOMSIZEX Variable Choices/ 99600000-226800000 Range Default 220560900 fundamental units (8.27"...
Page 38
CUSTOMSIZEY Variable Choices/ 155400000-373800000 Range Default 220560900 fundamental units (8.27" or 210 mm) Description Sets the long edge size of custom media. Notes 1,050,000 fundamental units=1 millimeter; 26,670,000 fun- damental units=1 inch. DUPLEX Variable Choices/ Range Default OFF Description Controls the duplex settings that are available. When set to ON, duplex printing is enabled.
Page 39
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.
Page 40
HOLDKEY* Variable Choices/ 0000-9999 Range Default <N/A> Description This variable contains the password for secure print jobs. To use this variable, set the HOLDTYPE variable to PRI- VATE. Notes *Refer to “Job Retention Options” on page 200 in the Reference Guide for Retain job use. HOLDTYPE* Variable Choices/...
Page 41
HPPROFILE Variable Choices/ NONE Range SRGB Default SRGB Description This variable specifies if using RGB sim links or not. INTRAY1SIZE Variable Choices/ Range CHINESE16K CHINESE32K CHOKEI3 CHOKEI4 COM10 CUSTOM EXECUTIVE FOLIO FOOLSCAP GOVTLEGAL GOVTLETTER JISB5 JPOST LEGAL LETTER MONARCH SPFOLIO STATEMENT UKQUARTO Default 110 Volt...
Page 42
INTRAY2SIZE Variable Choices/ Range LETTER Default 110 Volt 220 Volt Description Identifies the media size currently installed in tray 2. This variable is read-only. JOBID Variable Choices/ Range Default <N/A> Description Enables or disables the job ID that is returned in the status readback.
Page 43
Range CONTINUE Default CONTINUE Description Controls the way the printer treats a Low Toner status. If 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.
Page 44
Variable Choices/ String Range Any valid PostScript font name. Default "Courier" Description Controls the font to be used for the current print job. All printer-resident fonts can be used. LPARM:LINEPRINTER LINESPERPAGE Variable Choices/ 1-128 Range Default 60 Description Identifies the number of lines to print on a page before automatic page eject.
Page 45
LPARM:LINEPRINTER LPORIENTATION Variable Choices/ LANDSCAPE Range PORTRAIT Default PORTRAIT Description Controls the default page orientation. LPARM:LINEPRINTER TOPMARGIN Variable Choices/ 0–79200 centipoints Range (1 centipoint=1/7200 inches or 0.003528 mm) Default 7200 (= 1 inch or 25.4 mm) Description Sets the top margin of the logical page. LPARM:LINEPRINTER BOTTOMMARGIN Variable Choices/...
Page 46
LPARM:LINEPRINTER RIGHTMARGIN Variable Choices/ 0–79200 centipoints Range (1 centipoint=1/7200 inches or 0.003528 mm) Default 7200 (= 1 inch or 25.4 mm) Description Sets the right margin of the logical page. LPARM:LINEPRINTER NUMBERLINES Variable Choices/ Range Default NO Description Enables and disables line numbering. LPARM:LINEPRINTER POINTSIZE Variable Choices/...
Page 47
LPARM:PCL FONTNUMBER Variable Choices/ 0-65535(dependent on FONTSOURCE and Range SYMSET--see note) Default 0 Description Selects the PCL font to be used for the current job. This variable is used with the FONTSOURCE variable to identify the specific font to be used. The recommended order of setting the variables affecting the font is SYMSET, FONTSOURCE, and then FONTNUMBER.
Page 48
LPARM:PCL PCLLINETERMINATION Variable Choices/ CRISCRLFISLF Range CRISCRLFLFISLF CRISCRLFISCRLF CRISCRLFLFISCRLF Default CRISCRLFISCRLF Description Sets the line termination value. LPARM:PCL PITCH Variable Choices/ 0.44-99.99 cpi Range Default 2 Description Controls the font pitch in characters per inch (cpi). The font must be a fixed-pitch scalable font. Notes cpi = characters per inch.
Page 50
WINL2 Choices/ WINL5 Range WIN3J (continued) PC862HEB ISOHEB HEBREW8 HEBREW7 PC864ARA ARABIC8 HPWARA ISOCYR PC866CYR PC866UKR WINCYR GREEK8 WINGRK PC851GRK PC8GRK ISOGRK Default PC8 Description Sets the symbol set to be used. LPARM:POSTSCRIPT COLORMATCHING Variable Choices/ Range Default YES Description Enables and disables the color matching. LPARM:POSTSCRIPT KPRESERVE Variable Choices/...
Page 51
LPARM:POSTSCRIPT PRTPSERRS Variable Choices/ Range Default ON Description Enables and disables the PostScript error page. LPARM:POSTSCRIPT RGBBLACK Variable Choices/ BLACKANDGRAY Range BLACKONLY COMPOSITEBLACK Default BLACKANDGRAY Description Specifies how RGB black mapping is performed. LPARM:POSTSCRIPT Variable RGBSRCPROFILEG Choices/ APPLE Range BRGB COLORMATCH NONE PREPRESS...
Page 52
LPARM:POSTSCRIPT Variable RGBSRCPROFILEI Choices/ APPLE Range BRGB COLORMATCH NONE PREPRESS SRGB VIVID Default SRGB Description Selects the RGB source profile for images. LPARM:POSTSCRIPT Variable SIMULATIONPROFILE Choices/ NONE Range SWOP EURO COMM TOYO Default NONE Description Selects the simulation profile. LPARM:POSTSCRIPT SIMINRGBLINKS Variable Choices/ Range...
Page 53
Use TRAYCHAINING to set tray switching. MEDIATYPE Variable Choices/ LABELS Range PAPER THICKSTOCK TRANSPARENCY Default PAPER Description Sets the default media type for the current job. MODELNAME Variable Choices/ <string> Range Default magicolor 2350 Description Identifies the printer model. Environmental Variables...
Page 54
NOTIFY Variable Choices/ JOBEND Range Default <N/A> Description Identifies the point in processing that triggers email notifica- tion. OPTIMIZEPCL Variable Choices/ QUALITY Range SPEED Default SPEED Description Identifies the default PCL halftone to be used. ORIENTATION Variable Choices/ LANDSCAPE Range PORTRAIT Default PORTRAIT Description Identifies the page orientation.
Page 55
Range CONTINUE Default CONTINUE Description Identifies how the printer is configured to react during a 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 condi- tion occurs.
Page 56
PAPER Variable Choices/ Range CHINESE16K CHINESE32K CHOKEI3 CHOKEI4 COM10 CUSTOM EXECUTIVE FOLIO FOOLSCAP GOVTLEGAL GOVTLETTER JISB5 JPOST LEGAL LETTER MONARCH SPFOLIO STATEMENT UKQUARTO Default 110 Volt 220 Volt Description Identifies the default physical paper size. LETTER Environmental Variables...
Page 57
Default 4 Description Identifies the number of planes of data in a job. Environmental Variables Selecting AUTO allows the printer to search for context clues in the job to decide which personality to assume. Choices 3 and 4 are treated the same on the...
Page 58
NORMAL (600x600 dpi color) ENHANCED (1200x1200 dpi color [PCL]) HIGH (600x600 dpi color with contone imaging mode, or 9600X600 dpi class [PostScript]) Default ENHANCED Description Controls the print quality settings of the printer for the cur- rent job. Environmental Variables...
Page 59
Use the COPY variable for uncollated copies. Notes *Requires hard disk. REPRINT Variable Choices/ Range Default ON Description Sets the printer’s action after a media jam. When ON is selected, the printer reprints any of the pages that were jammed. RESOLUTION Variable Choices/ Range...
Page 60
Range (seconds) Default 15 Description Sets the time interval that the printer waits to receive data 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.
Page 61
USERNAME Variable Choices/ String (up to 64 printable characters— Range enclose in double-quotes) Default <N/A> Description Identifies the user name for Proof then Print jobs. Environmental Variables...
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 Category Keypad Message Standard MAGICOLOR 2350 IDLE WARMING UP INITIALIZING ENERGY SAVER CANCELLING JOB PROCESSING...
Page 65
Category Keypad Message Warning OPC DRUM LOW CYAN LOW MAGENTA LOW BLACK LOW YELLOW LOW BLACK EMPTY YELLOW EMPTY MAGENTA EMPTY CYAN EMPTY WASTE TONER NEAR FULL DISK NEAR FULL TRAY2 OPEN TIME OF DAY CLOCK FAILURE EMAIL ERROR EVENT NOTIFY EMAIL ERROR ACC DATA TRANS NETWORK CONFIG ERROR Caution...
Page 66
Category Keypad Message Operator PAPER JAM DUPLEX Call PAPER JAM TRANSFER (continued) PAPER JAM FUSER PAPER JAM EXIT AIDC ERROR TRAY OPEN PUT_X_IN_Y OPC DRUM MISSING WASTE TONER MISSING CYAN TONER MISSING MAGENTA TONER MISSING BLACK TONER MISSING YELLOW TONER MISSING MAIN UNIT COVER OPEN TRAY2 PATH COVER OPEN REPLACE OPC DRUM...
Page 67
Category Keypad Message Service SERVICE CALL 04 ENGINE BOARD Call SERVICE CALL 05 FLASH ROM SERVICE CALL 08 MAIN MOTOR SERVICE CALL 0B XFER FAN SERVICE CALL 0C PWR SUPPLY SERVICE CALL 0E SUCTION FAN SERVICE CALL 10 LASER UNIT SERVICE CALL 12 LASER UNIT SERVICE CALL 14 XFER ROLLER SERVICE CALL 15 XFER BELT...
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 ref- erenced in this chapter, see Chapter 2.1 “PJL Commands.” DOC/PJL Command Matrix Not all DOC commands have an equivalent PJL command.
Page 71
Document Control Commands %%Pages %%EndComments %%EndOfDocument <ESC>%-12345X %%Sessions %%Notify Notes: Document Formatting Commands %%IncludeFeature:booklet %%IncludeFeature:collate %%IncludeFeature:colormodel %%IncludeFeature:copies %%IncludeFeature:duplex %%IncludeFeature:emulation %%IncludeFeature:input %%IncludeFeature:mediatype %%IncludeFeature:newlayout %%IncludeFeature:offset %%IncludeFeature:orientation %%IncludeFeature:output %%IncludeFeature:pagegrid %%IncludeFeature:pageoffsets %%IncludeFeature:pageorientation %%IncludeFeature:pagerange %%IncludeFeature:pagescaling %%IncludeFeature:pagesize DOC/PJL Command Matrix Unsupported Unsupported <ESC>%-12345X <ESC>%-12345X SET NOTIFY=JOBEND SET EMAILADDRESS Use @PJL by itself on a command line.
Page 72
Document Formatting Commands %%IncludeFeature:quality %%IncludeFeature:resolution %%IncludeFeature:staple HP PCL Commands %%IncludeFeature:criscrlf %%IncludeFeature:font %%IncludeFeature:install %%IncludeFeature:lfiscrlf %%IncludeFeature:pointsize %%IncludeFeature:remove %%IncludeFeature:symbolset Notes: Lineprinter Commands %%IncludeFeature:autowrap %%IncludeFeature:criscrlf %%IncludeFeature:ffiscrlf %%IncludeFeature:font %%IncludeFeature:linesperpage %%IncludeFeature:lpmargins %%IncludeFeature:lporientation %%IncludeFeature:lsiscrlf SET PRINTQUALITY SET RESOLUTION Unsupported LPARM:PCL SET LINETER- MINATION Unsupported Unsupported* LPARM:PCL SET LINETER- MINATION LPARM:PCL SET PTSIZE Unsupported*...
Page 73
Lineprinter Commands %%IncludeFeature:map %%IncludeFeature:number %%IncludeFeature:pointsize %%IncludeFeature:tabs CALS Commands %%IncludeFeature:autorotation %%IncludeFeature:autorotation %%IncludeFeature:autoscaling TIFF Commands %%IncludeFeature:autoscaling %%IncludeFeature:sheetsel %%IncludeFeature:tag DOC/PJL Command Matrix LPARM:LINEPRINTER SET CHARMAP LPARM:LINEPRINTER SET NUMBERLINES LPARM:LINEPRINTER SET PTSIZE LPARM:LINEPRINTER SET TABS Unsupported Unsupported Unsupported Unsupported Unsupported Unsupported...
Page 77
Header/Trailer Information Commands 66 Header/Trailer Page Commands 66 HP PCL Commands 68 Lineprinter Commands 68 TIFF Commands 69 DOC/PJL Command Matrix Document Control Variables Document Conventions Response Syntax 10 Syntax 10 Document Formatting Variables DOS copy/b command DUPLEX ECHO EMAILADDRESS Embedding PJL commands ENTER ENTER LANGUAGE...
Page 78
JOB NAME JOBID JOBNAME JOBS Kernel Command COMMENT 22 ENTER 24 UEL 12 KPRESERVE LANG Language- and Port-specific Variables Language Configuration Context Language Selection 14 Explicit Language Selection 13 Implicit Language Selection 13 Language switching LEFTMARGIN Line Feed character Lineprinter Variables Lineprinter-specific LINESPERPAGE LINETERMINATION...
Page 80
SIMINRGBLINKS SIMULATIONPROFILE Space character Status Monitor Status or Information Request Strings Supported PJL Command Set SYMSET TABS TIMED TIMEOUT TOPMARGIN Universal Exit Language character User Default USERNAME USTATUS DEVICE 29 JOB 29 PAGE 29 TIMED 29 USTATUSOFF Utility Software Utility software Variable AUTOWRAP 39 BINDING 32...