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
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
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
Summary: Hi again, I was told by Elric that using parallel ports are better than serial ports, so I did some research to try to find out how to send data to them. After hours of surfing the internet I used thi...
Summary: Hi, i need to write a program that transmits (4) 32 bits of data through the parallel port to a device,,, the (4) packets of data cannot be sent sequentially, that is one after another... instead they...