User manual

User’s Manual InterCon-PrintServer
90
7.10.4 BSD Print Spooler lpd
To install the print server into a BSD print spooler lpd, please follow these steps:
1. Adjust the output filter
2. Create a printer device
3. Create the spool directory
4. Enter the printer into the spooler system
5. Enable and start the printer
1. Adjusting the Output Filter
Copy the
/etc/printserver/bsd.sh
file into the subdirectory
/etc/printserver/
interfaces
and rename this copy with the name of the print server to be installed. Now select the
subdirectory
/etc/print server/interfaces
to edit the file mode of the created file.
# cd /etc/printserver
# cp bsd.sh interfaces/<printername>
# cd interfaces
# chmod 755 <printername>
The output filter of our example is named
/etc/printserver/interfaces/printer
so the
following commands would be entered:
# cd /etc/printserver
# cp bsd.sh interfaces/printer
# cd interfaces
# chmod 755 printer
Some minor changes in the output filter
/etc/printserver/interfaces/<printername>
are necessary. They are described in the appendix. The settings for the variables
HOST
,
PORTS
,
FTP
and possibly
HEADER
and
TRAILER
have to be changed.
2. Creating the 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