Re: [PARPORT] Simple C prog needed

From: Blaise Gassend (
Date: Mon Jan 06 2003 - 00:56:25 EST

  • Next message: Tim Waugh: "Re: [PARPORT] Simple C prog needed"

    > I dunno. Do you mean that:
    > echo 255 > /dev/lp0
    > would set all eight data pins high (=send 255 to the parallel port)? If so,
    > then that would indeed be enough. Is it really that simple? Is that why I
    > couldn't find any simple c prog, because such a program isn't needed?
    > Oki, I'll try it right away (well, maybe not right away cause I'm goiong to
    > bed...).

    The program will set the data bits, send a strobe, and wait for an ack
    before sending the next byte. So be sure to send that ack, or things
    won't work too well.

    Blaise Gassend

    -- To unsubscribe, send mail to: --
    -- with the single word "unsubscribe" in the body of the message. --

    This archive was generated by hypermail 2b29 : Mon Jan 06 2003 - 02:57:42 EST