Re: [PARPORT] Simple C prog needed

From: Tim Waugh (twaugh@redhat.com)
Date: Fri Jan 10 2003 - 04:15:22 EST

  • Next message: Calle Be: "Re: [PARPORT] Simple C prog needed"

    On Thu, Jan 09, 2003 at 04:48:03PM -0800, Calle Be wrote:

    >
    > Hi there Joe,
    >
    > Many thanx for your answer. Tim's and mine mail volley continued outside of the
    > mailing list and finally he answered the following:
    >
    > echo -ne \\377 | dd of=/dev/port bs=1 seek=$((3*256+7*16+8))
    >
    > which I couldn't really follow until your reply. Well, I _still_ doesn't really
    > follow Tim's line but now it seems I've got myself a better way. Your
    >
    > echo -e "\577\c" > /dev/lp0

    That does a printer handshake (strobe, ack, etc) as well though, which
    I didn't think you wanted?

    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 : Fri Jan 10 2003 - 04:18:33 EST