[lkml]   [2001]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: lpr to HP laserjet stalls
Am Montag 03 September 2001 23:11 schrieb Tim Waugh:
> On Mon, Sep 03, 2001 at 11:05:29PM +0300, Michael Ben-Gershon wrote:
> > It is intermittent, but very frequent. It is difficult to print more
> > than about 10 sheets without it happening sometime.
> Take a look at Documentation/parport.txt: see the 'Troubleshooting'
> section.
I had the same problem here with my Epson Stylus Color 600. I did not matter
whether I sent the output directly to the printer (cat file.txt > /dev/lp0)
or used cups or lpd. It just stuck in random places. Fiddling with parport
settings did not change anything.

In debugging the problem I found out that if one attaches an strace to the
stuck output process (strace -p pid) the output continues. The strace always
consisted of either write or read calls (can't remember right now, though
write seems more logical) the first of which after attaching with strace was
a request for 8192 Bytes which returned short with usually some 100 bytes.
All folowing calls had the full 8192 requested Bytes as return value.

All of this vanished, when I replaced all occurrences of /dev/lp0 in my
printer configuration by /dev/par0. I has been working flawlessly since then.

I have changed quite a bit on my system since that time, but using
/dev/printers/0 under devfs also works fine here.

> Tim.
> */

Patrick Dreker
> Is there anything else I can contribute?
The latitude and longtitude of the bios writers current position, and
a ballistic missile.
Alan Cox on
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:02    [W:0.087 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site