• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

parallel port

Is there any routines in c or c++ I can use to send files
from my desktop to my laptop through the parallel ports.
0
strmtrpr
Asked:
strmtrpr
  • 3
  • 3
  • 2
  • +1
1 Solution
 
snoeglerCommented:
In standard C/C++, no. And even for windows 95/nt there aren't any functions for that, as
far as i know. I think you've to do it by yours
0
 
snoeglerCommented:
.. by yourself ... I think there are some commercial tools for that, but i don't remember right
now. (Sorry, just hit the mouse when it was over 'Submit' :-)
0
 
strmtrprAuthor Commented:
thanks

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
nietodCommented:
It depends on what you mean.  The parallel ports are treated as files.  You can use C++ to open the associated file and read and write to the file in order to read and write to the port.  C++ doesn't give you any options for configuring the port however.  If you are working in windows, there are functions for doing so.
0
 
MirkwoodCommented:
Whatever you create, it will not work under NT without a device driver.
Search on the net for a program called Flying Dutchman. It is an old dos program which does this for you. (I used to work on this application as a developer).
0
 
nietodCommented:
MirkWood, you can't open a parallel port with CreateFile() under NT?  The documentations doesn't indicate this is a problem.  (Actually, it seems to suggest this is the only way.)
0
 
MirkwoodCommented:
Writing to the port isn't the problem. Reading is. The port was not decided for two-way traffic altough it is possible.
0
 
strmtrprAuthor Commented:
Thanks to everyone who has helped me

0
 
MirkwoodCommented:
You wanted the routines.
Here you can find them http://www.lvr.com/parport.htm
or an OCX
http://www.infinet.com/~dhoehnen/software/


0
 
strmtrprAuthor Commented:
thanks again I have finding some useful info all over the place,

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now