beautypg.com

Xerox 4112-4127 Enterprise Printing System-192 User Manual

Page 340

background image

Specifying print format parameters

4-100

Using LCDS Print Description Language

PDE command: points to note

You may code PDEs as part of the JSL or create them as
separate files so that they may be referenced by one or more
JDLs or by DJDEs. PDEs are invoked by the OUTPUT
FORMAT parameter or by the FORMAT DJDE. A PDE must
have been previously compiled for a DJDE to access it.

You can create a PDE as a separate disk file and use it as if it
were part of the JDL that references it. To do this, create a
JSL file containing only PDE commands and use the “xjdc”
command to compile it. Refer to “Compiling a JSL” in the
“PDL principles and procedures” chapter for information on
using xjdc to compile files.

For each PDE command, xjdc creates a file with the .PDE
extension, in the “lcds” folder on the system disk. The PDE
command identifier becomes the PDE file name.
When the system encounters a reference to a PDE in a JDL,
it searches the “lcds” resources folder for the PDE that was
specified. If it finds it, the system loads the PDE into memory
for use in processing the report.

PDE command examples

Example 1

Two PDEs are defined and are referenced in separate JDEs.
PDE1 specifies a landscape page and two landscape fonts;
PDE2 defines a portrait page and two portrait fonts with override
line spacing.

PDE1: PDE

PMODE=LANDSCAPE, BEGIN=(.861,.7),
FONTS=(L0112B, L01BOB);

PDE2: PDE

PMODE=PORTRAIT, BEGIN=(1.3,.37),
FONTS=((P08TYA,6.8), (P080AA,6.8));

L1:

JDE;

OUTPUT

FORMAT=PDE1;

P1:

JDE;

OUTPUT

FORMAT=PDE2;