On Tue 06 Aug 2002 09:10:50 NZST +1200, Patrick Powell wrote:

[USB printer hangs part-way through job]

> I suspect that you have a hardware problem or a data transmission problem.
> Since you are using USB, I am not surprised.  The latest USB drivers
> are a lot more 'robust' than the original ones,  but if you have a
> hardware error when communicating to a device you usually need to 
> close the connection and reopen it.
> 
> > How to go about debugging it?
> 
> Ummm....  truss,  I am afraid,  is the only thing that
> will help at this point if it is what I think it is. See below.

Thanks for you answer Patrick. I didn't think there is a truss for
Linux, but strace will do. It's difficult to distinguish between
transmission errors due to signal distortion (bad cable etc) and actual
hardware errors of the USB ports. I didn't think an Intel 440BX chipset
could have a faulty USB port, but then Intel isn't known for bugless
silicon.

As parallel printers aren't necessarily supported under lprng and USB
printers are unreliable, there doesn't seem to be much choice left for
the home user. Printers with network cards are far too expensive.

> > The debugging option are a bit unclear to me, the docs are a bit brief.
> > is "lpc debug queue 5" the same as as lpc debug
> > lpr+5,lprm+5,network+5,..."? Does lpr+5,network+2 set the debug level
> > for "lpr" to 5, for "network" to 2, and all others to 0? With lpc debug
> > all 2 nothing is written to the log at all during the 20min the job
> > needs to print, which means what I am really interested in is missing.

Can the docs about this please be extended?

> >   |-lpd,1361)
> >   |   `-lpd,3661)
> >   |       `-lpd,5522)
> >   |           `-if,5523) /usr/lib/lpdfilter/bin/if -Avolker@ruru+878 -CA -D2002-
> 
>                                  ^^^^^^^^^^^^
> The 'if' filter is the one that is locking up or hanging up.

How can you tell - because you know the lprng software well?

> Try doing 'lpc kill printername' and see if this fixes it.  This will
> restart the queue and try reprinting the job.

Yes that works, but I'd like to fix the problem because ink is
expensive.

Volker

-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.orcon.net.nz/             Please do not CC list postings to me.


-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to