×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

LPT port in VB 5

LPT port in VB 5

LPT port in VB 5

(OP)
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.

RE: LPT port in VB 5

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources