PDL Reference Guide for the
Xerox WorkCentre 57xx Series
Customer Tip
dc10cc0465
September 10,
Accessing Extended Features
Overview
This document describes how to access the extended features of the WorkCentre 57xx Series in environments for which
Xerox does not make a custom driver.
Note: Some of the commands and syntax used in this document requires familiarity with either PostScript (PS) or Printer
Command Language (PCL).
This document provides the Printer Description Language (PDL) commands and syntax for each feature. The following
tables are also included:
features supported by the WorkCentre 57xx Series
commands to use in a PCL print job
2010
commands to use in a PS print job
This document is not intended as a PS or PCL reference manual, but a guide for using the extended features in PS, PCL or
ASCII print jobs.
Using this Guide
1. Refer to the Feature List for the feature you wish to implement. Select the page number to jump to that page.
2. Follow the syntax listed for the command you selected. Read the “Dependencies/Caveats” section. You can access
features using several methods:
PCL or PS commands
PJL SET commands
Xerox specific COMMENT command.
Feature Listing
PCL and ASCII print jobs can use PJL commands or PCL commands to access the attributes of the device. If there is more
than one method listed to access a specific feature, determine the best method for your application and use that method.
PostScript print jobs can use Document Structuring Commands (DSC) or PS commands. If there is more than one method
listed to access a specific feature, determine the best method for your application and use that method.
For this document, both PJL COMMENT and DSC are referred to as Comment commands.
dc10cc0465
Customer Support Page 1
Getting Started
PCL and ASCII print jobs can use PJL commands or PCL commands to access the attributes of the device. If there is more
than one method listed to access a specific feature, determine the best method for your application and use that method.
Comment Commands
To process all PJL COMMENT commands and DSC, enclose them with XRXBegin and XRXEnd commands. The following
example shows a PCL or ASCII print job:
The first parameter of the command is an attribute followed by a value.
Comment commands must end with a semicolon except for the XRXbegin and XRXend commands.
A comment command not enclosed by XRXbegin and XRXend is NOT a Xerox specific command and is treated as a real
comment with no functional attachment to its contents.
The comment commands are specific to the WorkCentre 57xx Series.
PJL SET Commands
PJL SET commands are available for some features. If you choose to use these commands, do not enclose them with the
XRXBegin and XRXEnd commands.
PJL SET commands do not require a semicolon at the end of the command line.
PCL Commands
PCL commands are available for some features. If you choose to use these commands do not enclose them with the
XRXBegin and XRXEnd commands. Refer to a PCL reference manual for more specific information regarding PCL commands.
PS Commands
PS commands are for some features. If you choose to use these commands, do not enclose them with the XRXBegin and
XRXEnd commands. Refer to a PS reference manual for more specific information regarding PS commands.
Using this Guide....................................................................................................................................................................1
PJL SET Commands.........................................................................................................................................................2
Table of Contents........................................................................................................................................................................3
General Comment Commands.............................................................................................................................................4
Media Comment Commands................................................................................................................................................7
MEDIA SOURCE..........................................................................................................................................................7
MEDIA SIZE.....................................................................................................................................................................8
MEDIA TYPE...................................................................................................................................................................9
MEDIA COLOR..............................................................................................................................................................9
When the interpreter receives this command it begins to parse PJL COMMENT commands to check for Xerox-specific
commands until it receives the command to stop parsing.
PJL COMMENT Command DSC Comment Command
@PJL COMMENT XRXbegin %%XRXbegin
XRXEnd
When the interpreter receives this command it stops parsing PJL COMMENT commands.
PJL COMMENT Command DSC Comment Command
@PJL COMMENT XRXend %%XRXend
General Comment Commands
JOB NAME
The value for Job Name is stored for printing on the banner page.
Where string is a maximum of 40 characters. This appears as the first item on the banner sheet.
The value for Job Owner is stored for printing on the banner page.
PJL COMMENT Command DSC Comment Command
@PJL COMMENT
OID_ATT_JOB_OWNER “string”;
Where string is a maximum of 40 characters. This appears as the second item on the banner sheet.
%%OID_ATT_JOB_OWNER ”string”;
dc10cc0465
Customer Support Page 4
COPIES
With COPIES specified, the device renders X number of copies of page 1 of the document, X number of copies of page
2, and so on. Use the COLLATION command in conjunction with the COPIES command to set a collate value.
PJL SET PCL Cmd PS Cmd
@PJL SET COPIES=int; <esc>&lintX <</NumCopies int>>
setpagedevice
or
int /languagelevel where {pop
languagelevel}{1} ifelse
2 ge { 1 dict dup /NumCopies 4 1 roll put setpagedevice }{
userdict /#copies 3 -1 roll put }
ifelse
Where int is 1 to 9999.
JOB TYPE
The Job Type command indicates a job that requires special handling.
Where string is one of the following:
PRINT Indicates a normal print job.
PROOF_PRINT Comparable to Sample Set in a driver. This job type allows you to specify multiple copies
with the @PJL SET COPIES command. One set prints for review. Then you can release
or delete the job.
FAX_SEND This job type directs a print job to use the embedded fax board and fax the job to a phone
number instead of printing the job. See the FAX SEND command for the commands to
provide the phone number and other fax options.
%%OID_ATT_JOB_TYPE OID_VAL_JOB_TYPE_string;
DELAY PRINT
Delays printing a job until the time specified by the command.
Where yyyy=year, mm=month, dd=day, hh=hours, mm=minutes, ss=seconds
%%OID_ATT_JOB_PRINT_AFTER
“yyyymmddhhmmss”;
dc10cc0465
Customer Support Page 5
FAX SEND
Must use with the FAX_SEND Job Type command. This command is only valid for devices that have a fax from the PC
desktop function. The WC/WC Pro 2xx series fax-enabled systems support the FAX_SEND job type.
Minimum commands required to send a simple fax job are shown in the next sections of this table. The commands
Where xxxx is the credit card or charge code required to send the fax. Select this option and enter the credit
card number (up to 16 digits) if you want to charge the fax call to a credit card. The credit card number is
concealed on confirmation reports.
Characters for phone numbers, prefix numbers, credit cards, and other numeric entries.
= Wait for dial tone.
! Used to designate a mailbox signal.
, Used to initiate a pause period; default pause period is 3 seconds.
/ Used to delineate private data.
$ Signifies to wait for a confirmation dial tone.
<1> Use preceding a fax number to specify which fax line should be used on systems that support dual fax lines.
<2> Use preceding a fax number to specify which fax line should be used on systems that support dual fax lines.
dc10cc0465
Customer Support Page 6
BANNER SHEET (START SHEET)
This command turns on/off the banner sheet that prints at the beginning of every job. It only applies to the job that
contains the command; it does not affect any other jobs. If the device is configured to disable banner sheets, this
command is ignored.
Where string is:
NONE Do not create a banner sheet for this job.
FULL Create a banner sheet for this job. By default, if the START SHEET comment is not included a
banner sheet is generated unless the device has banner sheet disabled.
USER A custom start sheet is included in this job.
Media Comment Commands
MEDIA SOURCE
This command specifies the tray to supply the job’s media. These are PCL commands rather than PJL commands. Insert
this command within the PCL portion of the print job.
NOTE: When sending a job with a tray selection, issue a MEDIA COLOUR “Unspecified” and MEDIA TYPE “Unspecified”
PJL COMMENT in the PDL.
dc10cc0465
Customer Support Page 7
MEDIA SIZE
This command specifies the size of media on which to print the job. These are PCL commands rather than PJL commands.
Insert a media size command within the PCL portion of the print job.
This attribute controls the collation status of the output. COLLATE results in sets of pages, for example two copies of a 3page job results in pages 1 through 3 printed, then pages 1 through 3 printed again. NO_PAGE COLLATE results in page 1
printing twice, page 2 printing twice and page 3 printing twice.
PJL COMMENT Command DSC Comment Command
@PJL COMMENT OID_ATT_OUTPUT string; %%OID_ATT_OUTPUT string;
Where string is one of the following:
Locate all PJL commands in the first 64KB of the job.
To combine printer escape commands (not including PJL commands):
The first two characters after the <esc> MUST be the same.
All alpha characters MUST be lowercase, except the final terminating character.
The commands are read left to right. Combine them in the order you wish them executed.
For example, print 5 copies (<ESC>&
In case of duplicate commands, the last one requested takes precedence.
l5X) and use letter size (<ESC>&l2A) is combined as: <ESC>&l5x2A
The @PJL SET COPIES takes precedence over the PCL Escape Command (<ESC> &
l int X>) to determine number of
copies. In general, a PJL command takes precedence over a PCL command.
When printing a job with an odd number of pages and duplex front and back imaged covers, the printer always prints
on both sides of the front and back covers. The remaining pages are printed on the document body media type and
color with a blank page inserted to allow an image on both sides of the back cover.
When using the Blank Front or the Blank Front & Back Cover command, the Cover Media Size command is optional. If
the cover size command is not in the PDL, the printer assumes the cover media size is the same as the document
body.
Use one of the following methods to specify media selection:
Describe the media attributes with size, color, and type and allow the device to select the matching source tray. If
the media description method is used, leave source tray selection out of the request or set to Auto. If not, the tray
selection defeats the auto tray selection capabilities of the device.
Indicate the tray to supply media. If the source tray method is used, the system automatically defaults paper
type to the defined SYSTEM DEFAULT unless specified otherwise. This prevents inadvertent use of special paper
types. To override, include a paper type specification of UNSPECIFIED in the job.
DSC/PS Dependencies/Caveats
All %% commands (DSC comments) must be in the first 64KB of the job.
WorkCentres supports PostScript resolutions up to and including 1800 x 1800. Some PostScript jobs may not print if
the high resolution is indicated. If this occurs, print the same job at a lower resolution.
The following media sizes do not print duplex and do not support staple commands: A6, B6, 5 x 7" Postcard (4.5 x 6"),
envelopes and any custom sized media where the page width is less than 5.5". A request to duplex or staple these
media sizes is ignored.
Jobs that indicate Transparencies, Labels, Envelopes or Tab-Stock do not support duplex commands. The duplex print
request is ignored when any of these media types are used.
When printing an odd number of pages in a document with duplex front and back imaged covers, the printer always
prints on both sides of the front and back covers. The remaining pages print on the document body media type and
color with a blank page inserted to allow an image on both sides of the back cover.
When using the Blank Front or the Blank Front and Back Cover command, the Cover Media Size command is optional.
If the Cover Media Size command is not in the PDL, the printer assumes the cover media size as that of the document
body.
Use one of the following methods to specify media selection:
Describing the media attributes with size, color, and type and allowing the device to select the matching source
tray. If the media description method is used, leave source tray selection out of the request or specifically set to
Auto. Otherwise, the tray selection defeats the auto tray selection capabilities of the device.
Specifically indicate the tray to feed from. If the source tray method is used, the system automatically defaults
paper type to the defined SYSTEM DEFAULT unless specified otherwise. This occurs to prevent inadvertent use of
special paper types. To override, include a paper type specification of UNSPECIFIED in the job.
dc10cc0465
Customer Support Page 15
Note:
This print job specifies
the following items:
Job owner
Job name
11 x 17 paper size
Heavyweight
Green paper
1 staple
Sample set
Draft mode
Note:
The quotations in the Job
Name and Job Owner lines
are required.
Examples
Basic PCL/PJL Template
This section illustrates a standard PCL template example that is used to access general
print features. This example lists each feature and the syntax, both PCL commands and
PJL, required to use these features.
Note: This section is only an example that may include features and commands that do
not exist for this product.
Section 1 (Opening Command, Required for all files)
<ESC>%-12345X@PJL JOB
Section 2 (PJL Set Commands)
@PJL SET RESOLUTION=600
@PJL SET COPIES=1
@PJL SET DENSITY=4
@PJL SET JOBOFFSET=ON
Section 8 (Closing Command, Required at end of Document)
<ESC>%-12345X
dc10cc0465
Customer Support Page 16
Note:
This is a simple print job
header specifying the
Job Owner and Job
Name and one copy.
The quotations in the
Job Owner and Job
Name lines are required.
Sample PCL Headers
Note: This section is only an example that may include features and commands that do
not exist for this product.
Example 1 Header for Simple Print
<ESC>%-12345X@PJL JOB
PJL SET COPIES= 1
@
@PJL COMMENT XRXbegin
@PJL COMMENT OID_ATT_JOB_OWNER “John Smith”;
@PJL COMMENT OID_ATT_JOB_NAME “Print Job”;
@PJL COMMENT XRXend
[Insert document or text to be printed here]
<ESC>%-12345X
Note:
This is a proof print job
header that requests 6
copies.
<ESC>%-12345X@PJL JOB
PJL SET COPIES= 6
@
@PJL COMMENT XRXbegin
@PJL COMMENT OID_ATT_JOB_TYPE OID_VAL_JOB_TYPE_ PROOF_PRINT
@PJL COMMENT XRXend
[Insert document or text to print here]
<ESC>%-12345X
Example 3 Header for Finishing Options
Example 2 Header for Proof Print
Note:
This is a proof print job
header requesting the
staple option. You must
send the job to the
stacker using the native
PCL command.
dc10cc0465
Customer Support Page 17
<ESC>%-12345X@PJL JOB
PJL COMMENT XRXbegin
@
@PJL COMMENT OID_ATT_JOB_OWNER “John Smith”
@PJL COMMENT OID_ATT_JOB_TYPE OID_VAL_JOB_TYPE_PROOF_PRINT;
@PJL COMMENT OID_ATT_FINISHING OID_VAL_FINISHING_STAPLE;
@PJL COMMENT XRXSTAPLE=PORTRAIT;
@PJL COMMENT XRXend
<ESC>\027&l2G
[Insert document or text to print here]
<ESC>%-12345X
Note:
The print job specifies
the following items:
• Job owner
• Job name
• 11 x 17 paper size
• Drilled
• Ivory paper
• 1200 x 1200
resolution
• Staple off
• Landscape
• Sample set
• Draft mode
• Offset off
• Banner sheet off
• Duplex long edge
• One copy
The quotations in the
Job Name and Job
Owner lines are required.
Basic PostScript/DSC Template
This section is an example of a standard PostScript template that is used to access general
print features. This template lists each feature and the syntax, both Postscript commands
and DSC (Document Structuring Conventions) required.
Note: This section is only an example that may include features and commands that do
not exist for this product.
Identifying Trademark Typeface Identifying Trademark Typeface
Albertus Medium ITC Avant Garde DemiBold
Albertus Extra Bold ITC Avant Garde DemiBold Oblique
Antique Olive ITC Bookman Light
Antique Olive Italic ITC Bookman Light Italic
Antique Olive Bold ITC Bookman DemiBold
Arial ITC Bookman DemiBold Italic
Arial Italic Letter Gothic
Arial Bold Letter Gothic Bold
Arial Bold Italic Letter Gothic Italic
CG Omega Line Printer
CG Omega Italic Marigold
CG Omega Bold New Century Schoolbook Roman
CG Omega Bold Italic New Century Schoolbook Italic
CG Times New Century Schoolbook Bold
CG Times Italic New Century Schoolbook Bold Italic
CG Times Bold Palatino Roman
CG Times Bold Italic Palatino Italic
Clarendon Condensed Palatino Bold
Coronet Palatino Bold Italic
Courier Symbol
Courier Italic Symbol PS
Courier Bold Times Bold Italic
Courier Bold Italic Times New Roman
Courier PS Times New Roman Italic
Courier PS Oblique Times New Roman Bold
Courier PS Bold Times New Roman Bold Italic
Courier PS Bold Oblique Times Roman
Garamond Antiqua Times Roman Italic
Garamond Kursiv Times Roman Bold
Garamond Halbfett Univers Medium
Garamond Kursiv Halbfett Univers Medium Italic
Helvetica Univers Bold
Helvetica Oblique Univers Bold Italic
Helvetica Bold Univers Medium Condensed
Helvetica Bold Oblique Univers Medium Condensed Italic
Helvetica Narrow Univers Bold Condensed
Helvetica Narrow Oblique Univers Bold Condensed Italic
Helvetica Narrow Bold Wingdings
Helvetica Narrow Bold Oblique Zapf Chancery Medium Italic
ITC Avant Garde Black Zapf Dingbats
ITC Avant Garde Black Oblique
dc10cc0465
Customer Support Page 21
Additional Information
You can reach Xerox Customer Support at http://www.xerox.com or by calling Xerox Support in your
country.
Xerox Customer Support welcomes feedback on all documentation - send feedback via e-mail to:
USA.DSSC.Doc.Feedback@xerox.com.
Other Tips about Xerox multifunction devices are available at the following URL: