Appendix A Programming Guide
A-5
A-2 List of Supported PJL Control Functions
The Fanfold Laser Printer provides limited support of Printer Job
Language (PJL). PJL topics which are described in this chapter are:
Basic Rules for PJL Programming
– PJL Environments
– List of supported PJL Commands
– List of supported PJL Variables and Values
– List of supported PJL Variables and Values for PCL Personality
For more information on topics covered in this section, please refer to the
Printer Job Language Technical Reference Manual from Hewlett-Packard, Inc.
A-2.1 Basic Rules for PJL Programming
Printer Job Language (PJL) commands sequences are used to define all specific
parameters for one print job. PJL commands provide the following major functions:
– Printer language switching between jobs
– Job separation
– Printer configuration
– Status read back from the printer to the host
At the beginning of each print job the UEL command (ESC % - 1 2 3 4 5 X) is used to
switch from the print emulation (PCL, Postscript, HEXDUMP...) to the PJL command
level.
A-2.1.1 PJL Syntax Rules
– Use only uppercase characters
– All parts of a PJL command line must be separated by a <SP> (Space)
– Every PJL command line must start with the prefix @PJL.
– Every PJL command line must end with <LF> (Line Feed)
Sample of typical PJL command line:
@PJL <SP>DEFAULT<SP> LPARM : PCL <SP> PTSIZE = 12<LF>
PREFIX <SP> COMMAND <SP> Com. Modifier : Value <SP> Variable = Value<LF>
Not
e: The fist PJL command after the UEL must start with @PJL....! (no <SP>)