[Linux-disciples] slow printing with hp842c

Karl Sokol revkarl at gmail.com
Sat Oct 29 23:44:55 EDT 2005


I do not have a /proc/parport. Is that a problem?

>From man tunelp, I read:

"-i <IRQ>
specifies the IRQ to use for the parallel port in question. If
this is set to something non-zero, -t and -c have no effect. If
your port does not use interrupts, this option will make print‐
ing stop. The command tunelp -i 0 restores non-interrupt driven
(polling) action, and your printer should work again."

Sounds great. But...

nahash at ubuntu:/$ tunelp /dev/lp0 -i 0
tunelp: ioctl: Invalid argument
/dev/lp0 using IRQ 7
nahash at ubuntu:/$

Others have the problem
http://www.linuxarkivet.se/mlists/suse-linux-e/0306/msg01023.html
http://www.mail-archive.com/linux-setup@senator-bedfellow.mit.edu/msg01559.html

But noone seems to have the solution.

Any other suggestions?
Thanks.


On 10/18/05, Adam Rosi-Kessel < adam at rosi-kessel.org> wrote:
>
> Karl Sokol wrote:
> > My printer works ok for the most part- except that it is extremely
> > slow. From what I could find googling around, there is a timing issue
> > peculiar to some hp models when the printer is in 'interrupt-driven'
> mode.
> >
> > The solution that is regularly presented is to set the printer into
> > 'poll' mode by...
> >
> > $ lptcontrol -p -d /dev/lpt0
> >
> > However, it seems like the program lptcontrol is a BSD program and not
> > in the debian archive. Before I look for a source for lptcontrol or
> > start fiddling with the kernel (which I would rather not do), is there
> > an easy way to change the printer's mode?
>
> I have an unconfirmed suspicion that you might be able to change it
> somewhere under /proc/parport/. Have you checked there?
>
> Also, there is a command tunelp that I think should be included in
> standard
> Linux installations that probably does the same thing as lptcontrol.
>
>
>
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples at lists.bostoncoop.net
> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples
>
>
>
>


--
Grace and Peace,
Karl Sokol

We've heard that a million monkeys at a million keyboards
could produce the complete works of Shakespeare;
now, thanks to the Internet, we know that is not true.
- Robert Wilensky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20051029/f473b3fd/attachment.html


More information about the Linux-disciples mailing list