How to access the parrallel port
Hi Guy's I want to write a visual C++ program for accessing the parrallel port and i don't have any background about how to access PC Ports(serial,parralle,USP) via C++,so if any one can write a s mall code for explaining i will be very thanks to him,please help regards :)
# 1 Re: How to access the parrallel port
I recently used PortTalk ( http://www.beyondlogic.org/porttalk/porttalk.htm) and was pretty satisfied.
It gives you simple functions to use parallel port. Won't take more than 5 mins to set it up.
# 2 Re: How to access the parrallel port
C++ does not support port but most platforms treat ports sort of like a file (providing you read/write commands or allowing you to open the port as a filename to use those read/write commands). Parallel ports are harder than serial so if you have no experience you will want to use someone else's code or start with a serial port and work your way up.
jonnin at 2007-11-11 21:02:30 >

# 3 Re: How to access the parrallel port
Thanks for the advises but if any one have an article or document about such a thing please send it
with my best regards :WAVE:
# 4 Re: How to access the parrallel port
Thanks for the advises but if any one have an article or document about such a thing please send it
with my best regards :WAVE:
I gave you a link. Did you care to look at it. It has help file(pdf) and sample codes.
# 5 Re: How to access the parrallel port
hello all,
even i was looking for material onthis. Nokia2280, porttalk link is pretty exhaustive. will read it and come back. :)
# 6 Re: How to access the parrallel port
hello all,
even i was looking for material onthis. Nokia2280, porttalk link is pretty exhaustive. will read it and come back. :)
You don't even need to read it full.
Just read this paragraph
The driver can also be installed manually using the registry file included. Copy the PORTTALK.SYS to your /system32/drivers directory and click on the PORTTALK.REG file to load the required registry keys. Then reboot the computer and on boot-up the PORTTALK.SYS driver will load and start automatically. This is recommended for classroom/corporate use where the driver can be stored away securely in the system directory.
And then run the sample code given after it
i.e
Talking to the Device Driver - User Mode APIs
That will start your things running in no time.