
Appendix A Programming Guide
A-7
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
S
PJL Environments
S
List of supported PJL Commands
S
List of supported PJL Variables and Values
S
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) command sequences are used to define all specific
parameters for one print job. PJL commands provide the following major
functions:
S
Printer language switching between jobs
S
Job separation
S
Printer configuration
S
Status readback from the printer to the host
At the beginning of every 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
S
Use only uppercase characters
S
All parts of a PJL command line must be separarted by a <SP> (Space)
S
Every PJL command line must start with the prefix @PJL.
S
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>
Note:
The fist PJL command after the
UEL
must start with
@PJL....!
(no
<SP>)
Appendix A Programming Guide
A-8
A-2.1.2
PJL Environments
The factory default is stored in the flash
memory of the printer and can not be
changed by the user
After power on or after
RECALL
FACTORY
or after
@PJL INITIALIZE
the printer default settings are copied
from the Factory Defaults Environment
into the User Default Environment
The User Default Environment settings
are modified using the operator panel
keys and/or the
@PJL DEFAULT
command
When a
PJL
reset occurs, the User
Default Environment settings are
loaded into the PCL Current
Environment
The PCL commands as part of the
application data streams changes the
PJL Current Environment settings
using the
@PJL SET
command
settings
A language reset (
ESC E
or
@PJL
ENTER LANGUAGE
) loads the PJL
Current Environment settings into the
Modified Print Environment