Z
Zucker
- Jan 1, 1970
- 0
First, I would like to thank everyone who helped me with my initial post.
Using your suggestions, I decided to use a third party dll (inpout32.dll) to
access the parallel port using VB6.
My next question is...if I'm only interested in using the eight data pins of
the parallel port, what do I do with the status and control pins? Do I tie
them to Vcc or Ground? Can I leave them floating?
This website (http://www.logix4u.net/parallelport1.htm) states that the port
must be set to bidirectional mode before the data pins can be read into a VB
application. At the bottom of the page it states "To enable Biirectional
data transfer just set the "Bidirectional" bit (bit 5) in control register.
This is done by writing 32 to control register." Writing 32 to the control
register is done with VB code. I'm worried that any external hookup to the
control pins would conflict with the VB code.
Thanks again for your help.
Steve
Using your suggestions, I decided to use a third party dll (inpout32.dll) to
access the parallel port using VB6.
My next question is...if I'm only interested in using the eight data pins of
the parallel port, what do I do with the status and control pins? Do I tie
them to Vcc or Ground? Can I leave them floating?
This website (http://www.logix4u.net/parallelport1.htm) states that the port
must be set to bidirectional mode before the data pins can be read into a VB
application. At the bottom of the page it states "To enable Biirectional
data transfer just set the "Bidirectional" bit (bit 5) in control register.
This is done by writing 32 to control register." Writing 32 to the control
register is done with VB code. I'm worried that any external hookup to the
control pins would conflict with the VB code.
Thanks again for your help.
Steve