Printing via Shell Scripts
Print Server Installation Manual 4-33
Procedure 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
4.6.3.3. Creating the Spool Directory
You must now create a spool directory with access rights for the
print server.
Procedure 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
4.6.3.4. Entering the Spooler into the Printer System
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