PDL Reference Guide for the
WorkCentre 4250/4260 & Phaser 3635MFP
Customer Tips
dc09cc0448
Accessing Extended Features
This document applies
to the stated Xerox
products. It is assumed
that your device is
equipped with the
appropriate option(s) to
support the information
within this document.
Overview
This document enables you to access the extended features of the WorkCentre 4250/4260
& Phaser 3635MFP in environments that do not have a custom print driver.
Note: 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 items are also included:
• A PCL table that describes the PCL features the WorkCentre supports and the syntax to
• A PS table that describes the PS features the WorkCentre supports and the syntax to use
use the feature.
the feature.
September 16, 2009
This document is not intended to be a complete PS or PCL reference manual. It is a guide for
using the PS and PCL commands with the WorkCentre 4250/4260 & Phaser 3635MFP. Refer
to these sources for additional PS and PCL information:
• PostScript Language Reference Manual, Third Edition, ISBN 0-201-38922-8,
• PCL5 Printer Language Technical Reference Manual
http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13208/bpl13208.pdf), a Hewlett-
Packard manual.
Using this Guide
Search the Feature Table to determine whether the feature you wish to use is supported.
Follow across the table to find the syntax listed for the PDL examples shown. Reference
the “Dependencies/Caveats” section when working with PS and/or PCL commands.
dc09cc0448
Customer Support Page 1
PCL
The WorkCentre and Phaser supports PCL5e and PCL XL emulations that enable the features listed in the
following table.
Feature Description
Job Type Indicates that the print job being sent is either a Normal Print job or a Secure
Print job.
Delayed Print Specify the time to print a job.
Sample Set Indicates that the print job is to be printed in draft mode.
Save Job Indicates that the job needs to be saved on the device.
Media Size The size of media on which to print a job.
Media Type Specifies the type of paper stock to be used.
Media Source Specifies the tray to supply the job’s media.
Media Color Specifies the color of the paper the job should be printed on.
Manual Feed Used when a user wants to print a job on a paper that is not loaded in the
machine. The job will be held until the paper is manually fed by the user at
the machine.
Covers Indicates the properties of a cover sheet, if needed.
Interleaving Paper
(transparency
separator)
Copy Count Use this command to specify the number of uncollated sets of a document in
Duplex Delivers two-sided output.
Stapling Indicates use and location of staple(s).
Collate This feature allows users to receive a desired quantity (X) of any number of
Job Offset Specifies how far the image should be shifted on the media.
Toner Saver Produce images that are rendered efficiently and printed at 600 dpi in a
Resolution Resolution used to image a job.
Banner Page Turns on/off the banner sheet that prints at the beginning of every job.
Job Based Accounting Allows entry of an accounting code and user ID.
Standard Accounting
and Auditron
Insert blank media to separate sheets of transparent media.
a print job.
originals (N) to be output as : (a) collated sets [i.e. X sets of {1, 2, 3, ....n}]. or,
( b) uncollated stacks (i.e. X duplicates of 1, X duplicates of 2, ...
manner that minimizes toner consumption.
dc09cc0448
Customer Support Page 2
PCL/PJL Implementation
The following table contains the PCL feature commands and shows the syntax required to use the feature.
After the table are examples of how to use these commands and examples of a PCL file.
216: Postcard (4” x 6”)
26: A4 (210 x 297 mm)
91: Envelope C5 (162 x 229 mm)
100: Envelope B5 (176 x 250 mm)
92: Envelope C6 (114 x 162 mm)
80: Envelope Monarch (3.875 x 7.5”)
90: Envelope DL (110 x 220 mm)
2: Letter (8.5 x 11’’)
301: Oficio (216 x 343 mm)
3: Legal (8.5 x 14’’)
25: A5 (148 x 210 mm)
81: Envelope No. 10 (4.125 x 9.5”)
45: JIS B5 (182 x 257 mm)
1: Executive (7.25 x 10.5’’)
44: 8.5 x 13”
41: Statement (5.5 x 8.5”)
203: A6 (105 x 148 mm)
71: Postcard (100 x 148 mm)
101: Custom Paper
The following PJL comment must
added to the header of the print file:
@PJL COMMENT
OID_ATT_PCL_CUSTOM_DIMENSIONS
(xy);
Where x and y are the dimensions of the
paper expressed as real numbers with at
least one significant digit. This attribute is
ONLY added to the job stream when
custom paper size is selected.
An example for a 6x9" paper size is:
@PJL COMMENT
OID_ATT_PCL_CUSTOM_DIMENSIONS
(152.4 228.6); units are mm.
be
dc09cc0448
Customer Support Page 4
Feature Implementation Values
Media Size
(PCL 6)
[esc]&lvalueA
Where value is one of the following:
216: Postcard (4” x 6”)
2: A4 (210 x 297 mm)
8: Envelope C5 (162 x 229 mm)
12: Envelope B5 (176 x 250 mm)
202: Envelope C6 (114 x 162 mm)
7: Envelope Monarch (3.875 x 7.5”)
9: Envelope DL (110 x 220 mm)
0: Letter (8.5 x 11’’)
153: Oficio (216 x 343 mm)
1: Legal (8.5 x 14’’)
15: A5 (148 x 210 mm)
6: Envelope No. 10 (4.125 x 9.5”)
11: JIS B5 (182 x 257 mm)
3: Executive (7.25 x 10.5’’)
212: 8.5 x 13”
41: Statement (5.5 x 8.5”)
17: A6 (105 x 148 mm)
71: Postcard (100 x 148 mm)
101: Custom Paper
The following PJL comment must be
added to the header of the print file:
@PJL COMMENT
OID_ATT_PCL_CUSTOM_DIMENSIONS
(x y);
Where x and y are the dimensions of the
paper expressed as real numbers with at
least one significant digit. This attribute is
ONLY added to the job stream when
custom paper size is selected.
An example for a 6x9" paper size is:
@PJL COMMENT
OID_ATT_PCL_CUSTOM_DIMENSIONS
(152.4 228.6); units are mm.
PJL command for resetting the PCL tray mappings to factory default values
The PCL tray logic can be set back to factory default without resetting NVRAM. If the “y”
parameter is set “99” in the @PJL DEFAULT LPARM:PCL XPCLPAPERSRCx = y command
structure, it will set the printer default for that tray back to the default tray mapping
parameter. Using the example above, the following PJL command syntax would set the PCL
command of “0” back to “current tray”.
Account Pin up to 32 characters.
AVP"XRX_GENERALACCT,GENERALACCT1"
@PJL COMMENT
OID_ATT_ACCOUNTING_INFORMATION_
Where GROUPACCT1 is the Group
Account Pin up to 32 characters.
AVP"XRX_GROUPACCT,GROUPACCT1"
PJL Template
This section illustrates a standard PJL template that is used to access general print features as well as
product specific features. This template lists each feature and the syntax, both PCL commands and
PJL, required to use these features. The next section of this document contains other examples of
how to use these commands.
Section 1 (Opening Command, Required for all files)
<ESC>%-12345X@PJL JOB MODE=PRINTER
Section 2 (PJL Set Commands)
@PJL SET RESOLUTION=600
@PJL SET COPIES=1
Section 3 (PCL Code used to invoke PCL Language)
@PJL ENTER LANGUAGE=PCL
Section 4 (PCL Data Stream or ASCII Document inserted here for Options such as selection
Different Fonts, Simplex, Duplex, etc.)
,,,,,,,,,,
Section 5 (Closing Command, Required at end of Document)
<ESC>%-12345X@PJL EOJ
Sample PJL Headers
This section contains examples of these commands in use.
Example 1 Simple Print
%-12345X@PJL JOB NAME = "File Name"
@PJL COMMENT XRXbegin
@PJL COMMENT OID_ATT_JOB_OWNER "Owner ID"
@PJL COMMENT OID_ATT_JOB_NAME "File Name "
@PJL COMMENT OID_ATT_JOB_TYPE OID_VAL_JOB_TYPE_PRINT;
@PJL COMMENT OID_ATT_START_SHEET OID_VAL_JOB_SHEET_FULL;
@PJL COMMENT OID_ATT_COLOR_MODE OID_VAL_COLOR_MODE_BLACK_WHITE;
@PJL COMMENT OID_ATT_CONTENT_ORIENTATION
OID_VAL_CONTENT_ORIENTATION_PORTRAIT;
@PJL COMMENT XRXend
@PJL ENTER LANGUAGE = POSTSCRIPT
The following PCL fonts are resident on the device.
The commands in the table reference a 12-point font. If you wish to use any other point size, change
the 12v within the PCL Escape Command to the desired size (.25 – 999.75).
Line Printer (Legal) <esc>(1U<esc>(s0p16.67h8.5v0s0b0T
Line Printer (ISO 8859/2 Latin 2) <esc>(2N<esc>(s0p16.67h8.5v0s0b0T
Line Printer (ISO 8859/9 Latin 5) <esc>(5N<esc>(s0p16.67h8.5v0s0b0T
Line Printer (8859/10 Latin 6) <esc>(6N<esc>(s0p16.67h8.5v0s0b0T
Courier Miriam <esc>(<esc>(s0p12h0s0b295T
Courier Miriam Bold <esc>(<esc>(s0p12h0s3b295T
Swiss 742 Miriam <esc>(<esc>(s1p12v0s0b5159T
Swiss 742 Miriam Bold <esc>(<esc>(s1p12v0s3b5159T
Swiss 742 Miriam Italic <esc>(<esc>(s1p12v1s0b5159T
Swiss 742 Miriam Italic Bold <esc>(<esc>(s1p12v1s3b5159T
Dutch 801 David <esc>(<esc>(s1p12v0s0b5415T
Dutch 801 David Bold <esc>(<esc>(s1p12v0s3b5415T
Dutch 801 David Italic <esc>(<esc>(s1p12v1s0b5415T
Dutch 801 David Italic Bold <esc>(<esc>(s1p12v1s3b5415T
Dutch 801 Frank <esc>(<esc>(s1p12v0s0b5671T
Dutch 801 Frank Bold <esc>(<esc>(s1p12v0s3b5671T
Dutch 801 Frank Italic <esc>(<esc>(s1p12v1s0b5671T
Dutch 801 Frank Italic Bold <esc>(<esc>(s1p12v1s3b5671T
dc09cc0448
Customer Support Page 14
WorkCentre 4250/4260 PCL Font List
The following PCL fonts are resident on the device.
The commands in the table reference a 12-point font. If you wish to use any other point size, change
the 12v within the PCL Escape Command to the desired size (.25 – 999.75).
Dutch 801 David Italic <esc>(<esc>(s1p12v1s0b5415T
Dutch 801 David Italic Bold <esc>(<esc>(s1p12v1s3b5415T
Dutch 801 Frank <esc>(<esc>(s1p12v0s0b5671T
dc09cc0448
Customer Support Page 16
PostScript
The WorkCentre and Phaser supports PS 3 commands that enable the features listed in the following table.
Feature Description
Media Size The size of media on which to print a job.
Media Type Specifies the type of paper stock to be used.
Media Source Specifies the tray to supply the job’s media.
Media Color Specifies the color of the paper the job should be printed on.
Manual Feed Used when a user wants to print a job on a paper that is not loaded in the
machine. The job will be held until the paper is manually fed by the user at
the machine.
Copy Count Use this command to specify the number of uncollated sets of a document in
a print job.
Duplex Delivers two-sided output.
Stapling Indicates use and location of staple(s).
Collate This feature allows users to receive a desired quantity (X) of any number of
originals (N) to be output as : (a) collated sets [i.e. X sets of {1, 2, 3, ....n}]. or,
( b) uncollated stacks (i.e. X duplicates of 1, X duplicates of 2, ...
Job Offset Specifies how far the image should be shifted on the media.
Toner Saver Produce images that are rendered efficiently and printed at 600 dpi in a
manner that minimizes toner consumption.
Resolution Resolution used to image a job.
PostScript Implementation
The following table contains the PostScript commands and shows the syntax required to use the feature.
Following the table are examples of commands and a PS file.
For more details about PostScript commands, refer to the PostScript Language Reference Manual, Third Edition, ISBN 0-201-37992-8.
dc09cc0448
Customer Support Page 17
PostScript Print Features/Implementation
In the following table, default values are marked with an asterisk (*).
Where widthheight are the dimensions
of the following media:
Postcard (4” x 6”)
A4 (210 x 297 mm)
Envelope C5 (162 x 229 mm)
Envelope B5 (176 x 250 mm)
Envelope C6 (114 x 162 mm)
Envelope Monarch (3.875 x 7.5”)
Envelope DL (110 x 220 mm)
Letter (8.5 x 11’’)
Oficio (216 x 343 mm)
Legal (8.5 x 14’’)
A5 (148 x 210 mm)
Envelope No. 10 (4.125 x 9.5”)
JIS B5 (182 x 257 mm)
Executive (7.25 x 10.5’’)
8.5 x 13”
Statement (5.5 x 8.5”)
A6 (105 x 148 mm)
Postcard (100 x 148 mm)
Note: /ImagingBBox null is optional
%%BeginFeature: *CustomPageSize
Custom Page size
[width height 0 0 1]
pop pop pop
2 dict begin
2 array astore
/PageSize exch def
/ImagingBBox null def
currentdict
end
setpagedevice
%%EndFeature
Note: /ImagingBBox null is optional
dc09cc0448
Customer Support Page 18
Feature Implementation Values
Media Source
<</MediaPosition int>> setpagedevice Where int is one of the following:
Font Name Postscript Font Name
Eurostile Extended 2
Eurostile CE
Eurostile CE Bold
Eurostile CE Bold Extended
2
Eurostile CE Extended 2
Geneva
Geneva CE
Gill Sans
Gill Sans Bold
Gill Sans Condensed Bold
Gill Sans Bold Italic
Gill Sans Condensed
Gill Sans Extra Bold
Gill Sans Italic
Gill Sans Light
Gill Sans Light Italic
Gill Sans CE Bold
Gill Sans CE Condensed
Bold
Gill Sans CE Bold Italic
Gill Sans CE Condensed
Gill Sans CE Extra Bold
Gill Sans CE Italic
Gill Sans CE Light
Gill Sans CE Light Italic
Gill Sans CE Roman
Goudy Oldstyle
Goudy Bold
Goudy Bold Italic
Goudy Extra Bold
Goudy Oldstyle Italic
Helvetica
Helvetica Bold
Eurostile CE Bold
Eurostile CE Bold Extended
2
Eurostile CE Extended 2
Geneva
Geneva CE
Gill Sans
Gill Sans Bold
Gill Sans Condensed Bold
Gill Sans Bold Italic
Gill Sans Condensed
Gill Sans Extra Bold
Gill Sans Italic
Gill Sans Light
Gill Sans Light Italic
Gill Sans CE Bold
Gill Sans CE Condensed
Font Name Postscript Font Name
Gill Sans CE Extra Bold
Gill Sans CE Italic
Gill Sans CE Light
Gill Sans CE Light Italic
Gill Sans CE Roman
Goudy Oldstyle
Goudy Bold
Goudy Bold Italic
Goudy Extra Bold
Goudy Oldstyle Italic
Helvetica
Helvetica Bold
Helvetica Bold Oblique
Helvetica Condensed
Helvetica Condensed Bold
Helvetica Oblique
Helvetica CE
Helvetica CE Bold
Helvetica CE Bold Oblique
Helvetica CE Condensed
Helvetica CE Condensed
Bold
Helvetica CE Condensed
Bold Oblique
Helvetica CE Condensed
Oblique
Helvetica CE Narrow
Helvetica CE Narrow Bold
Helvetica CE Narrow Bold
Oblique
Helvetica CE Narrow
Oblique
Helvetica CE Oblique
Hoefler Text Black
Hoefler Text Black Italic
Hoefler Text Italic
Hoefler Ornaments
Hoefler Text
Hoefler Text CE Black
Hoefler Text CE Black Italic
Hoefler Text CE Italic
Hoefler CE Text
Joanna
Joanna Bold
Joanna Bold Italic
Joanna Italic
Joanna CE
Joanna CE Bold Italic
Joanna CE Italic
Letter Gothic
Letter Gothic Bold
Letter Gothic Bold Slanted
Letter Gothic Slanted
Letter Gothic CE
Letter Gothic CE Bold
Letter Gothic CE Bold
Slanted
Letter Gothic CE Slanted
ITC Lubalin Graph Book
ITC Lubalin Graph Book
Oblique
ITC Lubalin Graph Demi
ITC Lubalin Graph Demi
Oblique
ITC Lubalin Graph CE Book
ITC Lubalin Graph CE Book
Oblique
ITC Lubalin Graph CE Demi
ITC Lubalin Graph CE Demi
Oblique
Marigold
ITC Mona Lisa Recut
Monaco
Monaco CE
New Century Schoolbook
Bold
New Century Schoolbook
Bold Italic
New Century Schoolbook
Italic
New Century Schoolbook
Roman
New Century Schoolbook
CE Bold
New Century Schoolbook
CE Bold Italic
New Century Schoolbook
CE Italic
New Century Schoolbook
CE Roman
NewYork
NewYork CE
Optima Roman
Optima Bold
Optima Bold Italic
Optima Italic
Optima CE Bold
Optima CE Bold Italic
Optima CE Italic
Optima CE Roman
Oxford
Palatino Bold
Palatino Bold Italic
Palatino Italic
Palatino Roman
Palatino CE Bold
Font Name Postscript Font Name
Palatino CE Bold Italic
Palatino CE Italic
Palatino CE Roman
Stempel Garamond Bold
Stempel Garamond Bold
Italic
Stempel Garamond Italic
Stempel Garamond Roman
Stempel Garamond CE Bold
Stempel Garamond CE Bold
Italic
Stempel Garamond CE
Italic
Stempel Garamond CE
Roman
Symbol
Taffy
Times Bold
Times Bold Italic
Times Italic
Times Roman
Times CE Bold
Times CE Bold Italic
Times CE Italic
Times CE Roman
Times New Roman CE
Times New Roman CE Bold
Times New Roman CE Bold
Italic
Times New Roman CE Italic
Times New Roman PS Bold
Italic
Times New Roman PS Bold
Times New Roman PS Italic
Times New Roman PS
Univers 55
Univers 65 Bold
Univers 63 Extended Bold
Univers 63 Extended Bold