parallel port

Discussion in 'Programmer's Corner' started by Osama Mostafa, Mar 13, 2011.

  1. Osama Mostafa

    Thread Starter New Member

    Oct 15, 2010
    3
    0
    I want to know how i can enable parallel port using C++ .
    I mean what is the code i need to help me in programming ?
     
    Last edited by a moderator: Mar 16, 2011
  2. Papabravo

    Expert

    Feb 24, 2006
    10,136
    1,786
    I didn't know they had to be enabled. Aren't they available all the time?
     
  3. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Osama Mostafa likes this.
  4. kingdano

    Member

    Apr 14, 2010
    377
    19
    having done some VB6 code to do bit banging on a parallel port (unfortunately - i knew little else at the time- VB is annoying at times) i recall having to select and enable a port before use, i believe this grants access (through windows layers at least) to a program to transmit and receive signals on the port.

    might be wrong though, but i do remember there being a find port and select port function in this book:

    http://www.amazon.com/Parallel-Port-Complete-Programming-Interfacing/dp/0965081915

    which was very helpful
     
Loading...