lprm hangs printer

Robert Hamilton rh at cs.paisley.ac.uk
Thu Mar 20 22:11:32 AEST 1986


In article <256 at entropy.UUCP> hubert at entropy.UUCP writes:
>I presume that this is a well-known problem, but I have not
>seen a fix or an explanation for it myself.  When the 4bsd (4.[23])
>line printer spooler is printing a job and you lprm the active job
>it will hang the printer queue as often as not.  Has anyone looked
>into what is happening and perhaps come up with a fix or am I doing
>something wrong that is causing the problem?
>
>Also, when the system crashes while a job is actively printing the
>queue will often be hung after reboot.
>
I don't know if its the same problem but we had a something similar:
After lprm on an active job lpd was restarted with printer {hostname}
In our case paisley.
I added the alias paisley in /etc/printcap and it seemed to work ok.
Thus:

lp|paisley|local line printer:\
	:lp=/dev/lp:sd=/usr/spool/lpd:lf=/usr/adm/lpd-errs:\
        :rf=/usr/ucb/fpr:
Hope this is some help!

-- 
UUCP:	...!seismo!mcvax!ukc!paisley!rh
DARPA:	rh%cs.paisley.ac.uk		| Post: Paisley College
JANET:	rh at uk.ac.paisley.cs		|	Department of Computing,
Phone:	+44 41 887 1241 Ext. 219	|	High St. Paisley.
					|	Scotland.
					|	PA1 2BE



More information about the Comp.bugs.4bsd.ucb-fixes mailing list