Note:
This print job specifies
the following items:
•
Job owner
•
Job name
•
11 x 17 paper size
•
Heavyweight
•
Green paper
•
1 staple
•
Draft mode
Note:
The quotations in the Job
Name and Job Owner lines
are required.
CQ8700-8900
Customer Support
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 every product model.
Section 1 (Opening Command, Required for all files)
<Esc>%-12345X
Section 2 (PJL Set Commands)
@PJL SET RESOLUTION=600
@PJL SET COPIES=1
@PJL SET DENSITY=4
@PJL SET JOBOFFSET=ON
Section 3 (XRXbegin – Opening Comment Statement, Required)
@PJL COMMENT XRXbegin
Section 4 (PJL Comments)
@PJL COMMENT OID_ATT_JOB_NAME "Readme.txt";
@PJL COMMENT OID_ATT_START_SHEET OID_VAL_JOB_SHEET_NONE;
@PJL COMMENT OID_ATT_JOB_OWNER "John Smith";
@PJL COMMENT OID_ATT_JOB_TYPE OID_VAL_JOB_TYPE_PRINT;
@PJL COMMENT OID_ATT_DEFAULT_MEDIUM_TYPE "Cardstock";
@PJL COMMENT OID_ATT_DEFAULT_MEDIUM_COLOUR "Green";
@PJL COMMENT OID_ATT_PRINT_QUALITY OID_VAL_PRINT_QUALITY_DRAFT;
@PJL COMMENT OID_ATT_FINISHING OID_VAL_FINISHING_STAPLE;
@PJL COMMENT XRXSTAPLE=PORTRAIT;
Section 5 (XRXend - Closing Statement for Comment Section, Required)
@PJL COMMENT XRXend
Section 6 (PCL Code used to invoke PCL Language)
@PJL ENTER LANGUAGE=PCL
Section 7 (PCL Data Stream or ASCII Document inserted here for Options
such as Selecting Different Fonts, Simplex, Duplex, etc.)
[Document or Text to print inserted here]
Section 8 (Closing Command, Required at end of Document)
<Esc>%-12345X
Page 23