Procedure
4.6.3.3. Creating the Spool Directory
Procedure
4.6.3.4. Entering the Spooler into the Printer System
Print Server Installation Manual
Proceed as follows:
1. Enter the following command:
Syntax:
ln -f /dev/null /dev/<zero device name>
Example: ln -f /dev/null /dev/my_device
You must now create a spool directory with access rights for the
print server.
Proceed as follows:
1. Enter the following command:
Syntax:
mkdir /usr/spool/<spool dir. name>
chmod 770 /usr/spool/<spool dir. name>
chown daemon /usr/spool/<spool dir. name>
chgrp daemon /usr/spool/<spool dir. name>
Example: mkdir /usr/spool/my_spool
chmod 770 /usr/spool/my_spool
chown daemon /usr/spool/my_spool
chgrp daemon /usr/spool/my_spool
In order to enter the printer into the spooler system, a new entry
must be made into the '/etc/printcap' file.
The first line of this entry must start at the beginning of the line,
the following entries are preceded by a tab character. All lines
belonging to one entry must have a backslash (\) character at the
end of a line. No other character is allowed between the last
Printing via Shell Scripts
4-33