![background image](http://html1.mh-extra.com/html/xerox/workcentre-75xx-series/workcentre-75xx-series_reference-manual_4278004024.webp)
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 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;
"6.15.0.128.95.124.157.20.0.1.11.4";
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]
_%1BINWU0PW0,0PW0,1UL1,60,40UL2,12.5,12.5,12.5,12.5,12.5,12.5,12.5,12.5UL3,
40,25,10,25UL4,35,15,10,15,10,15LT0,10,1LTLA1,4,2,1SP1TR0CF2_%1A_&l1X_&l1S
_&l0H_&l0o6a4d1E_*t600R_*v1onT_*rF_*c7181x4609Y_*p162x555Y_*cT_*pxY_%1BI
P0,0,1016,1016SC0,600,0,600;_%1A_*v1O_*v1T_%0BFT10,0;_%0A_*p544x855Y_*c
2160a3200b1P_(19U_(s4099t0b0s20.00h0P_*vT_%0BFT;_%0A_*p544x883Y
Section 8 (Closing Command, Required at end of Document)
<ESC>%-12345X
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.
dc10cc0470
Customer Support
Page 24