Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

LPT port in VB 5 1

Status
Not open for further replies.

100k

Electrical
Jan 26, 2005
1
Hi !
How can read a lpt port ? I have a motorola 68hc912xxx programer connected to a pc ( rs232 -> adapter to lpt port),
and i need to 'see' the lpt? how can i do that in Vb, Mscomm does not support the plt , am i right? Any hint ?
I'm a newbee ..so sorry if the question seems stupid.
Thanx for your answers.
 
Replies continue below

Recommended for you

Hi,VB for windows did not support INPUT and OUTPUT used to communicate with parallel port in DOS mode because windows will not allow applications to "direct access" hardware without a driver.
Parallel Port Complete book has an accompaning disk with 2 dll's one for 16 bit applications and one for 32 bit application which will do exactly this function for you, also it has ready code to use in vb5 to monitor your parallel port.I wonder if you can download them from their website.

Please note that since the 1st PC model, parallel port was re-designed 3 times, i.e. we have 3 different modes of operation for any new pc parallel port, the older did not support bi direction so you can not read it, so actually those code test your port, set the proper mode for communication, and then monitor or do what you want..

Any more help, I will be glad

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor