October 22, 2013 PDL Reference Guide for ® ® Xerox ConnectKey Products Customer Tip
©2013 Xerox Corporation. All rights reserved. Xerox®, Xerox and Design®, CentreWare® and ConnectKey® are trademarks of Xerox Corporation in the United States and/or other countries. BR8133 Other company trademarks are also acknowledged. Document Version: 1.1 (October 2013).
Table of Contents Accessing Extended Features .............................................................................. 4 Overview.................................................................................................................................................... 4 Using this Guide .................................................................................................................................... 4 Feature Listing ..........................................................
Accessing Extended Features Overview ® ® This document describes how to access the extended features of the Xerox ConnectKey Products for environments that do not have a custom driver. Some of the commands & syntax used in this document requires familiarity with PostScript (PS) or Printer Command Language (PCL). This document provides the Printer Description Language (PDL) commands and syntax for each feature.
Comment Commands To process all PJL COMMENT commands and DSC, enclose them with XRXBegin and XRXEnd commands. Example for a PCL or ASCII print job: @PJL COMMENT XRXbegin @PJL COMMENT OID_ATT_START_SHEET OID_VAL_JOB_SHEET_NONE; @PJL COMMENT XRXend Example PS print job: %%XRXbegin %%OID_ATT_START_SHEET OID_VAL_JOB_SHEET_NONE; %%XRXend 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.
Reference Topics XRXBegin When interpreter receives XRXBegin it begins to parse PJL COMMENT commands checking 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.
DSC Command %%OID_ATT_START_SHEET OID_VAL_JOB_SHEET_”string”; 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 Commands Media Source This command specifies the tray to supply the job’s media.
PCL5 Command Tray Mapping Tool A user with Administrator access rights to the device has the opportunity to change the PCL5 command used to identify a specific paper tray. ® ® A user can do this by opening Xerox CentreWare Internet Services by entering the printer’s IP address in their favorite Web browser. To get to the PCL Tray Mapping page select the Properties tab Services Printing Page Description Languages PCL Tray Mapping.
Media Size This command specifies the size of media on which to print the job. Note: some sizes may not apply to every printer model. PCL5 &l#A Where # is the number from the table below. PS <> setpagedevice Where width and height [w h] are the numbers from the table below. PCL6 Defined Paper Size ubyte_array ubyte ## string attr_ubyte MediaSize example: 0xc8 0xc0 ## string 0xf8 0x25 where ## string is from the table below.
Envelope Sizes PCL5 # PCL6 ## String PS [w h] Points #9 ½ Booklet 9 x 12” (228 x 304 mm) 180 0x10 na-9x12-envelope [648 864] #10 4.125” x 9.5” 81 0x05 COM10 [297 684] C4 (229 x 324 mm) 171 C5 (162 x 229 mm) 91 0x02 C5 [459 649] DL (110 x 220mm) 90 0x02 DL [312 624] Monarch 3.875” x 7.5” 80 0x07 MONARCH [279 540] 0x12 iso-c4-envelope-c4 [649 918] Custom Media Sizes This command specifies the custom media size on which to print the job.
Formatting Commands Feed Edge The values indicate the feed edge to use. Feeds paper so that Leading Edge of paper is the shorter side.
Output Destination Indicates the output bin where the print job is sent.
Hole Punch This command indicates hole punches for a print job on a device with hole punch capability. Note: Some hole punch options may not be available on every product model. PJL COMMENT Command DSC Comment Command @PJL COMMENT OID_ATT_PUNCH int; %%OID_ATT_PUNCH int; Where int is: 0 = Punch Off 1 = Punch On, 2 = Use 2 Hole Punch 3 = Use 3 Hole Punch, 4 = Use 4 Hole Punch Note: int 1 will be emitted to invoke the default punch setting on the device.
® Internal Auditron or Xerox Standard Accounting ® This PJL command sends the users pin number for use by devices that support the Internal Auditron or Xerox Standard Accounting (XSA). You must provide at least a valid USERID. You may also provide a GENERAL Account number or GROUP Account number if required.
• Use one of the following methods to specify media selection: – Describe the media attributes with size, color, and type to allow the device to select the matching source tray. If this media description method is used, leave the tray source command out of the job, or set to Auto. If not, the tray source command takes precedence over the tray selection capabilities of the device. – Indicate the tray source for the job.
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 & commands that do not exist on all products. This print job specifies the following items: Job owner; Job name; 11 x 17 paper size; Heavyweight, Green paper, 1 staple, draft mode.
Section 8 (Closing Command, Required at end of Document) %-12345X Sample PJL Headers Note: This section is only an example that may include features and commands that do not exist for every product model.
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 every product model.
Example 1 Header for Simple Print0 %!PS %%XRXbegin %%OID_ATT_JOB_OWNER “John Smith”; %%OID_ATT_JOB_NAME “Print Job”; %%OID_ATT_COPY_COUNT 1; %%XRXend Example 2 Header for Proof Print %!PS %%XRXbegin %%OID_ATT_JOB_TYPE OID_VAL_JOB_TYPE_PROOF_PRINT; %%OID_ATT_COPY_COUNT 6; %%XRXend Example 3 Header for Finishing Options This job header specifies the following items: 10 copies; Duplex; Collated; Staples; Sent to the main tray; Job name; Bold image quality Note: To use the staple and collate features, you mus