hi,
an lpc abort <printer>;lpc redo <printer> should do the same for you
probably a lpc redo <printer> is eaven enough, maybe your problem could
be solved by using :lpd_force_poll:\
:lpd_poll_time=60:\
this will force the daemon to look periodically for inactive jobs in the
queue and resend them. If your job is stalled, it will probably not do
anything though :-(
regards
~christoph
"Blom, Wayne" schrieb:
>
> Some time ago I asked this question but there were no helpful replies.
>
> Basically. We are running LPRng version 3.6.19 on True64 Unix. So far so
> good.
> The setup includes printers (lexmark & hp) plus print servers for both
> parallel and serial printers.
>
> 1. Occasionally, for a variety of reasons the printserver supported serial
> printers go offline. LPRng times out the connection and the result is a
> stalled queue eg;
>
> 2. We then get a call and check the queue eg; lpq -Pp-unddsp1. This gives a
> printer with a stack of jobs listed with the first one showing a status of
> stalled.
> 3. We then do; lpc status lp270 (lp270 being the first printer identifier in
> the printcap file) the reason for this is that other alias names do not show
> the status correctly
> 4. We then kill the uid number of the subprocess listed by the lpc status
> command. ie; kill -1 2466
>
> The result is the queue goes active and all the jobs print.
>
> I have tried changing the timeout parameter in lpd.conf and resetting
> everything but no better.
>
> Do you have any ideas that I should look into.
>
> Wayne Blom
> Systems Specialist
> IT@Healthcare
> F H Faulding & Co Limited
>
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
>
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> with: | example:
> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems, send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
>
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
>
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> with: | example:
> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems, send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
>
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
>
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> with: | example:
> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems, send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
--
/* Christoph Beyer | Office: Building 2b / 23 *\
* DESY | Phone: 040-8998-2317 *
* - IT - | Fax: 040-8994-2317 *
\* 22603 Hamburg | http://www.desy.de */
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------