Printing via Shell Scripts
Print Server Installation Manual 4-37
3. Change the default values of the HOST, PORTS, and FTP
variables in the new shell script.
4. Change the access rights of this file:
Syntax:
chmod 2555 /etc/printserver/interfaces/<script name>
chown bin /etc/printserver/interfaces/<script name>
chgrp printq /etc/printserver/interfaces/<script name>
Example:
chmod 2555 /etc/printserver/interfaces/my_script
chown bin /etc/printserver/interfaces/my_script
chgrp printq /etc/printserver/interfaces/my_script
4.6.4.2. Creating the Printer Device
The print spooler requires a printer device. Due to the fact that the
print server does not need a physical device, a link is made to a
zero device.
Procedure Proceed as follows:
1. Enter the following command:
Syntax: ln -sf /dev/null /dev/<zero device name>
Example: ln -sf /dev/null /dev/my_device
4.6.4.3. Entering the Printer into the Spooler System
The AIX print spooler is administered by means of the 'mkque'
command.