Computing.Net > Forums > Programming > Sending data to the parallel port

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Sending data to the parallel port

Reply to Message Icon

Name: Benny
Date: March 13, 2003 at 01:33:40 Pacific
OS: xp pro
CPU/Ram: 2GHZ 256 MB
Comment:

Hi

I am looking for code that can send data to the parallel port (in VB or C).
at WIN Xp and WIN98

Best regards



Sponsored Link
Ads by Google

Response Number 1
Name: elric
Date: March 13, 2003 at 05:13:38 Pacific
Reply:

G'day

What exactly do you want to achieve?
You can send (and recieve) data from / to the parallel port using 'C' functions outp() and inp().
With VB(x) it is a little diferrent; you need a DLL that will allow IO data exchange (Microsoft removed the QBasic INP and OUTP functions from all VB versions)
Let us know what it is that you want to do.
regards,
Elric


0

Response Number 2
Name: egkenny
Date: March 15, 2003 at 20:23:58 Pacific
Reply:

WinIo - This library allows direct I/O port and physical memory access under Windows 9x/NT/2000 and XP. Version 2.0 provides faster I/O port access, better memory mapping support and can be used from non-administrative accounts under Windows NT/2000 and XP.

http://www.internals.com/

I have used it with Windows NT 4.0 and Windows XP to communicate with the parallel port. The DLL can be used with Visual C++ or Visual Basic.

I have written some example programs in Visual Basic 6.0 and Visual C++ 6.0 using the WinIo DLL. If you would like to download them you can get them here:
http://mywebpages.comcast.net/egkenny/files/WinIoExamples.zip


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Sending data to the parallel port

Parallel Port Access in Assembly www.computing.net/answers/programming/parallel-port-access-in-assembly/11861.html

programming the parallel port www.computing.net/answers/programming/programming-the-parallel-port/9314.html

Parallel port communication in VB5 www.computing.net/answers/programming/parallel-port-communication-in-vb5/4260.html