Xerox Paris, a document system Support & Software User Guide

Page of 245
Job Definitions 
 
The Paris Spooler Technical Manual 
99
P
A R I S   A N D  
LPR C
O N T R O L  
F
I L E   P R O C E S S I N G
 
Paris offers support for LPR Control files. In an LPR/LPD conversation, LPR 
Control files are received and stored along with the Data files. The file is written 
to the ‘LPD’ subdirectory, with an extension of ‘ctl’. It will often, but not always, 
have the same name as the data file (this is because the file names are based on the 
time the file first arrives).  
The Spooler will keep track of each data file and its associated control file and will 
maintain and delete the control file as required. 
How Paris reads an LPR Control File 
The LPR Control file is a text file containing a number of entries. Each entry is a 
single line of text in the control file.  
• 
The first character of the control file is the ‘key’ character. This character  
determines the entry type of this line. 
• 
The rest of the line is the ‘value’ of this entry.  
RFC1179 specifies a number of ‘standard’ entries, most of which are optional.  
Different implementations of LPR/LPD may also add custom entries. Most entries 
are ‘optional’ and often it is necessary to use special command line options when 
running the LPR program in order to get various entries to appear in the control 
file. Which entries are available in a control file and what LPR options are 
necessary to activate these entries is an LPR-specific detail.  
Paris will look for and use only the following entries from an LPR control file: 
H = Host: 
The name of the host on which the LPR is running.  
   
This entry should always be available. 
P = User Name: 
The user name of the logon account used to run the LPR  
   
program. This entry should always be available. 
C = Class Name: 
The ‘class’ name for banner page processing. Optional. 
J = Job Name: 
The Job Name to be printed on a banner page. Optional. 
N = Input File Name:  The name of the original data file submitted to the  
   
LPR program. Optional
T = Title: 
The title of the job, for banner page processing. Optional. 
If there are any other entries in a control file, they will be ignored.