locked
How to direct output through printer or parallel port in 'C'? RRS feed

  • Question

  • Hello friends, can anyone plz tell me how can i direct the output through the printer or parallel port of the computer? It is not for printer purpose but for the electrical purpose. I mainly need the electrical signals after the computer takes the decision then use it. Hope i am clear. U can also give me a site related to this.
    Saturday, March 17, 2007 3:11 PM

Answers

  • Ya it is possible...

    u can use outport function for eg. outport(address of parallel port,Data)
    B4 that u must know abt the parrallel port pins - Data pins...

    Data u r giving in outport function will be out in parallel port's data pins in binary form...

    Google will give u more...

    Saturday, March 17, 2007 4:08 PM

All replies

  • Ya it is possible...

    u can use outport function for eg. outport(address of parallel port,Data)
    B4 that u must know abt the parrallel port pins - Data pins...

    Data u r giving in outport function will be out in parallel port's data pins in binary form...

    Google will give u more...

    Saturday, March 17, 2007 4:08 PM
  • ya u can make use of the outp() function to perform such activities...if u r very good at the internal details then u may invoke it through bios system calls...
    Sunday, March 18, 2007 11:05 AM