8 TCP/IP Host Configuration (UNIX)
Adding an LPD queue in Solaris
Add the printer to the host table. This is done by either editing the local host table /etc/hosts (if not running yp or NIS), or updating the NIS data base on the NIS (yp) server.
Here is an example of how to add a PostScript queue named phaser printing to a printer named tektronix while in the Bourne shell.
/bin/sh
lpsystem
lpadmin
The queue name can be anything you want. The printer name should be the same name used in the host table.
The !PS names the remote queue name. There are four valid remote printer names: PS, HPGL, PCL, and AUTO.
Use the following commands to enable the new queue:
lpshut /usr/lib/lpsched
enable phaser
accept phaser
If Solaris 2.2/2.3 print jobs get stuck in the queue
1.Change directory (cd) to this
2.To remove any jobs, type:
rm
3.Change directory (cd) to this
4.To remove any jobs, type:
rm
5.Type:
kill
where pid is the process ID number /usr/lib/lpsched.
6.To restart lpsched, type:
/usr/lib/lpsched
7.Remove any jobs that have not printed from the Print Tool.