From: R. Ramesh (ramesh@utdallas.edu)
Date: 12/16/92


From: ramesh@utdallas.edu (R. Ramesh)
Subject: Re: /dev/lp1 (HP Deskjet 500) VERY slow in 0.98p6 and 0.99
Date: Wed, 16 Dec 1992 16:48:10 GMT

In article <koenig.724500211@nova>, koenig@nova.tat.physik.uni-tuebingen.de (Harald Koenig) writes:
|> When I upgraded to 0.96p6 (and now 0.99, has the same lp code),
|> parallel line printer driver got VERY slow (printing bitmaps an a NEC
|> P6 or a HP DeskJet takes 1 or more MINUTES per line).
|>
|> Using /usr/src/linux/kernel/chr_drv/lp.c and /usr/include/linux/lp.h
|> from 0.98p5 (or earlier) works with both 0.98p6 and 0.99.
|>
|> Is there a fix for the "new" broken lp driver?
|>
|> Thanks,
|> Harald
|> --
|> Harald Koenig, Inst.f.Theoret.Astrophysik (koenig@tat.physik.uni-tuebingen.de)
|> "#define no_bdev_def() dev_disk_init(0)"
|> Congratulations! If AT&T wins its suit against BSDI, you've guaranteed that
|> you can never write OS software again, just by reading the previous line!

The lp driver changed to a new tunable driver somewhere in pl5-6 time. You
need a command called tunelp and need to tune to your lp (the default
values chosen at boot time seems to be way off for deskjet 500.) Here is
what I use with my 500 and works just fine.

tunelp /dev/lp -w 0
tunelp /dev/lp -c 350
tunelp /dev/lp -t 5

Ramesh