Re: [PARPORT] Simple C prog needed

From: Calle Be (
Date: Sun Jan 05 2003 - 21:20:09 EST

  • Next message: Blaise Gassend: "Re: [PARPORT] Simple C prog needed"

    --- Tim Waugh <> wrote:
    > On Sun, Jan 05, 2003 at 02:43:11AM -0800, Calle Be wrote:
    > > I'm using floppyfw as a firewall (it's a linux firewall-on-a-disk)
    > > and want it to send some data to the parallel port via a shell
    > > script for me. As this firewall only fits on a floppy disc I don't
    > > have enough room for gcc, and I don't have linux on any other
    > > computer, I wonder if it would be possible to get some program
    > > compiled for me.
    > Isn't /dev/lp0 what you want?
    > Tim.

    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

    /Calle Be

    Do you Yahoo!?
    Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

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

    This archive was generated by hypermail 2b29 : Sun Jan 05 2003 - 21:26:28 EST