Troubleshooting - Sun Microsystems Sun Workstation 100U System Manager's Manual

Table of Contents

Advertisement

Line Printer Administration
Line Printer Spooler Manual
Enable and di,ab/e allow spooling in the local queue to
be
turned on/off. This will
allow / prevent lpr from putting new jobs in the spool queue. It is frequently convenient to
turn spooling off while testing new line printer filters since the root user can still use Ipr to
put jobs in the queue but no one else can. The other main use is to prevent users from put-
ting jobs in the queue when the printer is expected to be unavailable for a long time.
restart
Restart allows ordinary users to restart printer daemons when Ipq reports that there is no
daemon present.
stop
Stop is used to halt a spooling daemon after the current job completes; this also disables
printing. This is a clean way to shutdown a printer in order to perform maintenence, etc.
Note that users can still enter jobs in a spool queue while a printer is .topped.
topq
Topq places jobs at the top of a printer queue. This can be used to reorder high priority
jobs since Ipr only provides first-come-first-serve ordering of jobs.
7. Troubleshooting
There are a number of messages which may be generated by the the line printer system. This
section categorizes the most common and explains the cause for their generation. Where the
message indicates a failure, directions are given to remedy the problem.
In the examples below, the name printer is the name of the printer. This would be one of the
names from the printcap database.
LPR
6
Ipr: printer: unknown printer
The printer was not found in the p,.·ntcap datab88e. Usually this is a typing mistake; how-
ever, it may indicate a missing or incorrect entry in the /etc/printcap file.
Ipr: printer: jobs queued, but cannot start daemon.
The connection to lpd on the local machine failed. This usually means the printer server
started at boot time has died or is hung. Check the local socket /dev /printer to be sure it
still exists (if it does not exist, there is no Ipd process running). Use
%
ps ax
I
fgrep Ipd
to get a list of process identifiers of running Ipd's. The IpJ to kill is the one which is not
listed in any of the "lock" files (the lock file is contained in the spool directory of each
printer). Kill the master daemon using the following command.
%
kill pid
Then remove /dev/printer and restart the daemon (and printer) with the following com-
mands.
%
rm / dev / printer
. %
/usr /lib/lpd
27 July 1983

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents