Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Controlling Parallel Port Over the Intyernet

  • 27-07-2004 1:54pm
    #1
    Closed Accounts Posts: 1,541 ✭✭✭


    I want to be able to control a parallel port on my computer with Apache webserver from anywhere in the world. Any ideas anyone? CGI perhaps?


Comments

  • Closed Accounts Posts: 1,651 ✭✭✭Enygma


    I suppose if you know a bit of Perl and find a good module for controlling a parallel port over The Internet (there's bound to be one on CPAN) then why not?

    Me, I'd probably use RMI for the networking end of it and hack together something in Java for the parallel port stuff. (But that's because I'm used to Java and we Java Programmers like to add layers of complexity, just because :) )

    It sounds like a bit of fun, shouldn't be too hard either.

    [edit]
    Oops! I read that as CGI.pm, sorry!
    Before anyone goes flaming me over CGI != Perl.
    [/edit]


  • Closed Accounts Posts: 1,541 ✭✭✭finnpark


    Thanks for that. No I dont know any Perl but could learn. I was thinking of using C++ and CGI or maybe just PHP. Ive never touched Java so Im not sure how that would go. I am more of a hardware sort of guy. I am able to control the parallel port using C++ and Im able to set up Apache with CGI-bin but how do I write a CGI program to call my C++ program?


  • Registered Users, Registered Users 2 Posts: 1,268 ✭✭✭hostyle




  • Closed Accounts Posts: 1,541 ✭✭✭finnpark


    Thanks for that link. Must read it in detail but looks good.


Advertisement