[Linux-disciples] slow printing with hp842c
Adam Rosi-Kessel
adam at rosi-kessel.org
Sun Oct 30 20:06:11 EST 2005
Hmm. No /proc/parport is not so good. Do you have /proc/ other things?
Karl Sokol wrote:
> 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
> <mailto: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
> <mailto:Linux-disciples at lists.bostoncoop.net>
> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples
> <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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples at lists.bostoncoop.net
> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20051030/9aeaaa96/signature.pgp
More information about the Linux-disciples
mailing list