Link to home
Start Free TrialLog in
Avatar of rdima
rdima

asked on

How to access lpt from visual basic

I want to write value to parallel port (lpt)
How can I do it in win NT an 95

thanks in advance

ASKER CERTIFIED SOLUTION
Avatar of byte_me
byte_me

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you need to just send text to the printer port, you can either use the Printer object that's native to VB, or you can use the old file I/O method of simply Opening the "lpt1:" (or whatever port number) for output, then using the Print #<file number> statement to send data.

Binary data might be a different story, though. :)