75
GUI Method
1.
Open a command window from the desktop.
2.
Type [su] to become super user.
3.
Type [admintool] to run the System Administrator Tool.
4.
Select [Browse:Printers].
5.
Select [Edit:Add:Access to Printer...].
6.
Enter the following information into the Access to Remote Printer form:
[Printer Name: queuename]. Where queuename is the name of the queue being created.
[Print Server : hostname]. Where hostname is the machine hostname from the /etc/hosts file. Click
[OK] to complete the form.
7.
Type [sh] to run the Bourne shell.
8.
Type [lpadmin -p queuename -s hostname!lp] to modify the remote queuename.
9.
Type [exit] to exit the Bourne shell and [exit] to exit super user mode.
10. Test the queue created. Type the command [lp -d queuename /etc/hosts].
tty Method
1.
Type [su] to become super user.
2.
Type [sh] to run the Bourne shell
3.
Define the machine as a BSD style printer. Type [lpsystem -t bsd hostname]. Where hostname is the
machine hostname from the /etc/hosts file.
4.
Create the queue. Type [lpadmin -p queuename -s hostname -T unknown -I any]. Where queuename
is the name of the queue being created.
5.
Type [exit] to exit the Bourne shell and [exit] to exit super user mode.
6.
Test the queue created. Type the command [lp -d queuename /etc/hosts]. Verify that the job prints at
the machine.