Xerox 4112-4127 Enterprise Printing System-192 User Manual

Page 33

Advertising
background image

PDL principles and procedures

Using LCDS Print Description Language

1-7

Example:

Variable references
In creating your JSLs, you will often include variable
references, which may be either file names of resources
stored on the system disk (forms, CMEs, PDEs, stocksets,
and so on) or identifiers for commands coded previously in
the JSL.
Example:

OUTPUT FORM=FORM1,

MODIFY=CME12;

NOTE: In some cases, such as in the MODIFY= command
shown in the example above, the variable (CME12) could be
either a file name or an identifier for a CME coded earlier in
the JSL. In other cases, such as in the FORM= command,
the variable (FORM1) can only be a file name.

Value constants
Value constants have arithmetic values. Value constants
should be expressed as decimal numbers. They may also be
expressed as hexadecimal values, octal values, or character
values, but these expressions are not recommended.
Decimal numbers may be signed and may have fractional
digits.
Example:

To express value constants as hex, octal, or characters, you
use string constants to define one or two bytes of data.

String constants
String constants are used to specify a sequence of
characters. The length of string constants is important.
Ways to express string constants

String constants may be expressed as any of the
following:

Hexadecimal

ASCII

ABNORMAL

ERROR=CONTINUE, OTEXT=(... WAIT);

ACCT

USER=BOTH;

PDE

BEGIN=(1.1,.37);

RECORD

LENGTH=132;

OUTPUT

IMAGE=(1.30 CM,0.85 IN);

Advertising