Xerox Paris, a document system Support & Software Mode D'Emploi
Job Definitions
The Paris Spooler Technical Manual
101
How the Paris Engine uses entries from an LPR Control file
The Paris Engine is able to use the entries from an LPR Control file when printing
the associated data file. The Engine can use the control file entries in two different
ways, through Fields and through the Environment Info function.
the associated data file. The Engine can use the control file entries in two different
ways, through Fields and through the Environment Info function.
Control file entries are added to the printing info system by either:
1.
Creating a field that uses the LPRData calculation function to access the
Control file entries then adding the field to an LPR Defaults text box in the
Environment Info dialog in the Paris Designer.
Control file entries then adding the field to an LPR Defaults text box in the
Environment Info dialog in the Paris Designer.
2.
Enter the appropriate <@LPRxxx> option directly into the relevant LPR
Defaults text box in the Environment Info dialog in the Paris Designer.
Defaults text box in the Environment Info dialog in the Paris Designer.
The first is the most flexible, and allows the user the most options for formatting
the entry. However, it forces the user to create at least 1 field.
the entry. However, it forces the user to create at least 1 field.
The second is quicker, and does not require the creation of a field. However, there
is not ability to modify or concatenate entries.
is not ability to modify or concatenate entries.
1. Fields
Any Control file entry can be used in the calculation string of a Field. The
calculation function which makes the various entry values available is:
calculation function which makes the various entry values available is:
LPRData(entry)
The ‘entry’ parameter is a number indicating which field should be returned. The
possible values are:
possible values are:
0 - The Host Name.
1 - The User Name.
2 - The Class name.
3 - The Job Name
4 - The Input File Name
5 - The Title
If the requested entry does not exist in a particular control file, then the function
returns an empty string. By using standard field calculation operations, it is
possible to build custom combinations if required, such as Host + User, or
Class+Title.
returns an empty string. By using standard field calculation operations, it is
possible to build custom combinations if required, such as Host + User, or
Class+Title.
The contents of a field can be used in text blocks, test comparisons and
Environment Information strings. By adding the contents of the Control file to
the field system, the control file entries can now also be used in each of these
areas.
Environment Information strings. By adding the contents of the Control file to
the field system, the control file entries can now also be used in each of these
areas.