Re: [PARPORT] How to slow down parport?

From: Tim Waugh (twaugh@redhat.com)
Date: Sat Jun 09 2001 - 13:38:27 EDT

  • Next message: Michael Lindner: "Re: [PARPORT] How to slow down parport? (and a note to Epson 740 owners)"

    On Sat, Jun 09, 2001 at 10:20:34AM -0400, Michael Lindner wrote:

    > I have a Dell Dimension 8100 and an Epson 740 printer. "Out of the
    > box" it won't print under Linux (Red Hat 7.1 with 2.4.4 kernel), but
    > will under Windows. After some experimentation I discovered that if
    > I save the output of "gs" and send the characters to /dev/lp0 slowly
    > enough, it prints. So, is there any way to control the speed at
    > which characters are sent out?

    I'm glad you got to the bottom of this. That's fairly strange
    though..

    Can you try a change to drivers/parport/ieee1284_ops.c please?
    Basically, at line 130 or so there is a line:

                    udelay (1); /* hold */

    Try changing the '1' to a higher number, like 100. See how high it
    needs to be before it starts working. Let me know if you need help
    building a kernel to test.

    (This is particularly weird because I also have this printer.)

    Thanks,
    Tim.
    */



    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Sat Jun 09 2001 - 13:44:19 EDT