beautypg.com

Xerox 4112-4127 Enterprise Printing System-192 User Manual

Page 349

background image

Specifying print format parameters

Using LCDS Print Description Language

4-109

The MAIN and AUX stocks and their preferred trays have
already been defined in the operating system software when
the printing system is delivered. However, you can change
their specifications at the user interface, using the Stock
Manager windows. (You cannot, however, delete them.)

STOCKSET command example

The STOCKSET command is similar to the PDE and CME
commands, because it produces a file you can compile
separately from the JDL. For each STOCKSET encountered
before an initial JDL or SYSTEM command, PDL creates a file of
the type .STK, which contains information about the stockset.
You can then reference the .STK file in multiple JSL source files.

In the example above, a stockset called BILLS is created.

BILLS consists of four stocks: F1302, F1415, F6204, and
F9999.

Stock references are created for these four stocks: COVER
for F1302, BODY and SUMMARY for F1415, LATE for
F6204, and DISCON for F9999.

In the absence of a specific parameter of the FEED
command at the start of the report, INIFEED directs output to
feed from the stock referred to by COVER.

A system page will print on the stock referenced as COVER.

You could use this stock set in a billing application by coding an
OUTPUT STOCKS = BILLS command in the JDE. Through
successive FEED DJDEs, the stock set directs feeding the
cover, body and summary, late notice, and disconnect pages
from the stock referenced by COVER, BODY, SUMMARY,
LATE, and DISCON, respectively.
Alternatively, the FEED DJDE record could refer directly to
stocks by name, such as FEED= 'F1302'. Note that the use of
stock references is preferred over stock names, because stock
references provide flexibility.

BILLS:

STOCKSET

ASSIGN = ('F1302', COVER),
ASSIGN = ('F1415',(BODY, SUMMARY)),
ASSIGN = (('F6204', LATE),
('F9999', DISCON)),
INIFEED = COVER,
/*INIFEED='F1302' works as well*/
SYSPAGE = COVER;END;