Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting LPT

Status
Not open for further replies.

MechanicalBoy

Technical User
Aug 11, 2002
11
0
0
PL
I wanna write a program (using C++Borland) wich would get full access to LPT.

Can anybody commend me any good resource on this ??

Thank in advance!
 
What do you mean by full access? You can use streams to open LPT ports:
Code:
std::ofstream OFile; // stream set up
OFile.open("LPT1:"); // Send to lpt1:
James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top