User manual

User’s Manual InterCon-PrintServer
87
7.10.3 System V Print Spooler lpsched
To install a print server into the system V print spooler
lpsched
please follow these steps:
1. Adjust the printer interface
2. Create a printer device
3. Enter the printers into the spooler system
4. Enable and start the printer
1. Adjust the printer interface
Copy the
/etc/printserver/sys5.sh
file into the subdirectory
/etc/print-
server/interfaces
and rename this copy with the name of the print server to be installed. Now
select the subdirectory
/etc/print server/interfaces
. Depending on the implementation
of the print spooler it might also be necessary also to adjust the permission for the printer interface.
Please refer to the
lpadmin
section in your systems manual.
# cd /etc/printserver
# cp sys5.sh interfaces/<printername>
# cd interfaces
The printer interface in our example is named
/etc/printserver/interfaces/printer
and so the following commands have to be entered:
# cd /etc/printserver
# cp sys5.sh interfaces/printer
# cd interfaces
Some minor changes in the printer interface
/etc/print server/interfaces/<printer-
name>
are necessary. These are described in the appendix. The settings for the variables
HOST,
PORTS, FTP
and possibly
HEADER
and
TRAILER
have to be changed.
2. Generating a Printer Device
The print spooler needs information about a printer device. Due to the fact that the print server doesn’t
need a physical device, a link to the null device is given. Please enter the following command:
# ln -f /dev/null /dev/<printername>
In our example, the command would be:
# ln -f /dev/null /dev/printer
3. Mounting the Printer into the Spooler System