that your device is
equipped with the
appropriate option(s)
to support the
information within this
document.
. It is assumed
…for the use
PDL Reference Guide for the
WorkCentre 5222/5225/5230
Accessing Extended Features
Overview
This document enables you to access the extended features of the WorkCentre
5222/5225/5230 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 use the feature.
•A PS table that describes the PS features the WorkCentre supports and the syntax to
use the feature.
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 5222/5225/5230. 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.
dc08cc0440
Customer Support Page 1
Using this Guide
Search the Feature Table to determine whether the feature you wish to use is supported.
Verify that the feature is supported by the platform. For example, the WorkCentre must have an optional
finisher installed to use stapling commands.
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.
PCL
This WorkCentre supports PCL5e and PCL XL emulations that enable the features listed in the following
table.
Feature Description
Job Name The value for Job Name is stored for printing on the banner page.
Custom Paper Size Customer designated paper size on which to print a job.
Media Size The size of media on which to print a job.
Media Source Specifies the tray to supply the job’s media.
Output Location Indicates the output bin where the completed print job is sent.
Stapling Indicates use and location of staple(s).
Punch Indicates use, location, and number of holes to be punched.
Booklet This command enables you to print documents as booklets. The pages are
reordered sequentially and are oriented so when folded, the paging is
correct.
Quantity Use this command to specify the number of collated sets of a document.
Resolution Resolution used to image a job.
Bits Per Pixel This command sets the color depth value.
Copies Use this command to specify the number of uncollated sets of a document
in a print job.
Simplex Delivers one-sided output.
Duplex Delivers two-sided output.
Orientation Delivers output in landscape or portrait orientation.
Force Short Edge
Feeding
Job Mode Specifies the Job Mode.
Job Type Specifies Confidential Print or Proof Print.
Interleaving Paper
(transparency
separator)
Job Based
Accounting
Auditron
Delayed Print Specify the time to print a job.
Banner Sheet Turns on/off the banner sheet that prints at the beginning of every job.
Rotates orientation of job.
Insert blank media to separate sheets of transparent media.
Allows entry of an accounting code and user ID. To enable this feature the
optional Network Accounting kit is required.
dc08cc0440
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.
Feature Implementation Values
Job Name
Custom
Paper Size –
available only
for PCL
@PJL SET JOBNAME =
"jobname-string"
You have to specify by PCL:
<ESC>&l101A
Where jobname-string is a maximum of 32
characters
Width of Custom Paper is specified by
<ESC>&f#I
where # equals decipoints (88.9 mm –
297.0 mm).
Length of Custom Paper is specified by
<ESC>&f#J
where # equals decipoints (98.4 mm –
432.0 mm).
For instance:
4.25-inch x 5.5-inch will give
<ESC>&f3060I3960J by
4.25-inch x 720 decipoints/inch = 3060
and
5.5-inch x 720 decipoints/inch = 3960.
dc08cc0440
Customer Support Page 3
Feature Implementation Values
Media Size @PJL SET PAPER = value Where value is one of the following:
A3: A3 (297 x 420mm)
A4: A4 (210 x 297mm)
A5: A5 (180 x 210mm)
JISB4: B4 (257 x 364mm)
JISB5: B5 (182 x 257mm)
STATEMENT: Statement (5.5 x 8.5”) †
EXECUTIVE: Executive (7.25 x 10.5”)
LETTER: Letter (8.5 x 11”)
JISEXEC: 8.5 x 13”
LEGAL: Legal (8.5 x 14”)
LEDGER: Tabloid (11 x 17”)
COM10: No. 10 Envelope (4.1 x 9.5”)
DL: DL Envelope (110 x 220mm)
MONARCH: Monarch Envelope (3.9 x 7.5”)
C5: C5 Envelope (162 x 229mm)
CUSTOM: Custom paper
†: Whether each paper is available depends
on NV memory setting.
The following paper sizes are only available with
bi-pass tray.
A6: A6 (105 x 148mm)
JISB6: B6 (128 x 182mm)
A4COVER: A4 Cover (223 x 297mm)
POSTCARD: Postcard (4 x 6")
50X70: 5 x 7”
8X10: 8 x 10”
SPANISH: 215 x 315mm
LETTERCOVER: 9 x 11”
11X15: 11 x 15”
JPOST: Postcard (100 x 148mm)
JPOSTD: Postcard (148 x 200mm)
TYOUKEI3: Envelope (120 x 235mm)
dc08cc0440
Customer Support Page 4
Feature Implementation Values
<ESC>&l int A Where int is one of the following:
27: A3 (297 x 420mm)
26: A4 (210 x 297mm)
25: A5 (180 x 210mm)
46: B4 (257 x 364mm)
45: B5 (182 x 257mm)
41: Statement (5.5 x 8.5”) †
1: Executive (7.25 x 10.5”)
2: Letter (8.5 x 11”)
18: 8.5 x 13”
3: Legal (8.5 x 14”)
6: Tabloid (11 x 17”)
81: No. 10 Envelope (4.1 x 9.5”)
90: DL Envelope (110 x 220mm)
80: Monarch Envelope (3.9 x 7.5”)
91: C5 Envelope (162 x 229mm)
101: Custom paper
†: Whether each paper is available depends
on NV memory setting.
The following paper sizes are only available with
bi-pass tray.
24: A6 (105 x 148mm)
44: B6 (128 x 182mm)
200: A4 Cover (223 x 297mm)
216: Postcard (4 x 6")
204: 5 x 7”
208: 8 x 10”
43: 215 x 315mm
201: 9 x 11”
217: 11 x 15”
71: Postcard (100 x 148mm)
72: Postcard (148 x 200mm)
218: Envelope (120 x 235mm)
Media
Source
@PJL SET MEDIASOURCE
= value
Where value is one of the following:
TRAY1: Feed from paper tray1
TRAY2: Tray2
TRAY3: Tray3
TRAY4: Tray4
SMH: Tray5 (Bypass)
TRAY6: Tray6
dc08cc0440
Customer Support Page 5
Feature Implementation Values
<ESC>&l int H Where int is one of the following:
0: Feed paper from default tray
4: Tray1
1: Tray2
5: Tray3
8: Tray4
7 or 20 = Auto
2 or 3 or 6 = Tray5 (Bypass)
21: Tray6
Output
Location
@PJL SET OUTBIN = value Where value is one of the following:
UPPER: Center output tray (w/o finisher)
MAINTRAY: Center output tray (w/o
finisher)
CENTERTRAY: Center output tray (w/o
finisher)
MAINTRAY2: Center output tray (w/ BFinisher)
LOWER: Side Tray (facing up) (w/ side tray)
SIDETRAY: Side Tray (facing up) (w/ side
tray)
OUTBIN101: Finisher tray (w/ finisher)
<ESC>&l int G Where int is one of the following:
0: Automatic Selection
1: Center output tray (w/o finisher)
2: Side Tray (facing up) (w/ side tray)
4: Center output tray (w finisher)
6: Finisher tray (w/ finisher)
Stapling @PJL SET STAPLE = value Where value is one of the following:
print)
The HOLDKEY variable acts as a password
without encryption to protect a held job.
Four-digit string can be any four-digit value
from 0000 to 9999. The default value is "".
When "" (null) is specified, no password is
required.
Interleaving
Paper(Transp
@PJL SET SLIPSHEET =
value
Where value is one of the following:OFF:
arency
Separator)
Job Based
Accounting
Or
Auditron
@PJL SET JOBATTR =
"@JOAU = string1"
@PJL SET JOBATTR =
"@JOAP = string2"
@PJL SET JOBATTR =
"@DAID = string3"
Where string1 is a maximum of 32 characters
(ASCII characters in the range 20h - 7Eh are
allowed Only) as job owner (Capital character
& small character is distinguished)
Where string2 is a maximum of 12 characters
(ASCII characters in the range 20h - 7Eh are
allowed Only) as password without encryption.
It can be null (zero length string)
Where string3 is a maximum of 32 characters
(ASCII characters in the range 20h - 7Eh are
allowed Only) as account ID. It can be null
(zero length string)
Note: Auditron and JBA cannot be used at the
same time. So the same command works for
both modes.
Delay Print @PJL SET JOBATTR =
"@PRTM =
YYYY:MM:DD:hh:mm"
YYYY:MM:DD:hh:mm
YYYY: year(AD 2000~2099)
MM: month (1~12)
DD: day (1~31)
hh: hour(0~23)
mm: minute(0~59)
dc08cc0440
Customer Support Page 8
Feature Implementation Values
Banner Sheet @PJL SET JOBATTR=
"@BANR=value"
@PJL SET JOBATTR=
"@BCMT=comment string"
Where value is one of the following:
START: start sheet
DEVICE: depend on device setting
OFF: no banner sheet
Where string is a maximum of 255 characters
(ASCII characters in the range 20h - 7Eh are
allowed Only) as comment for banner.
PJL Template
This section illustrates a standard PJL template that is used to access general print features as
well as WorkCentre 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
<ESC>%-12345X@PJL JOB MODE=PRINTER<CR><LF>
@PJL COMMENT Beginning PCL Job<CR><LF>
@PJL SET OUTBIN=MAINTRAY<CR><LF>
@PJL SET QTY=1<CR><LF>
@PJL SET RESOLUTION=600<CR><LF>
@PJL SET JOBATTR="@JOAU=John"<CR><LF>
Example 2 Finishing Options (Stapling)
<ESC>%-12345X@PJL JOB MODE=PRINTER<CR><LF>
@PJL SET OUTBIN=OUTBIN101<CR><LF>
@PJL SET FINISH=ON<CR><LF>
@PJL SET STAPLE=TOPLEFT<CR><LF>
dc08cc0440
Customer Support Page 9
Loading...
+ 19 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.