Chapter | 5 | Configuring the Internal Ethernet Adapter for TCP/IP |
|
|
|
|
|
|
System V UNIX
Printing in a System V environment requires the use of an interface file. It also consists of:
•the lp printer interface program
•the lpsched printing scheduler
•a set of programs acting as interfaces between the scheduler and printing device.
The scheduler copies the files into a spooling directory and calls the interface program when the job is ready to go the Internal Ethernet Adapter. It processes the job according to the script’s setting and sends it to the printer for printing.
The interface script is usually kept in /usr/spool/lp/admins/lp/ interfaces and carries the same name as the associated printer. It is copied from the original interface file in /usr/spool/lp/model when the lpadmin command is executed.
The interface script is called with the following syntax:
ps203 reqid username copies options file1 ...
where: |
|
ps203 | Name of the interface script which is also the printer name |
| on the host |
requid | Print job identification |
username | ID of the user requesting the job |
title | Title of the print job required |
copies | Number of copies for each file to be printed |
options | Additional switches for any extra job processing options |
file1 | spool file |
... | Indicates additional spool files |
164