[PARPORT] Using C to program printer port

From: Jim Earl (jimearl@attbi.com)
Date: Mon Jan 27 2003 - 18:53:22 EST

  • Next message: Ingo Flaschberger: "Re: [PARPORT] Using C to program printer port"

    Hi again;

    I have successfully taken code from your examples and written a program that
    makes the output lines of the printer port go hi/low as desired and toggle a

    Now, I have two more problems:

    Gora - what you said is correct; I have to be root to get your program to
    work. Otherwise, I get a "segmentation fault" error. How can I get around

    I need to have Apache (which runs as wwwrun) execute this code in my cgi-bin
    directory. I'm setting this up so when someone clicks on a bar
    on the webpage, it pulls in a relay.

    Thanks again for your help.


    -- 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 : Mon Jan 27 2003 - 18:58:30 EST