Solved

parallel port

Posted on 1998-09-17
10
269 Views
Last Modified: 2013-11-15
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
Comment
Question by:strmtrpr
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 6

Expert Comment

by:snoegler
ID: 1173001
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
 
LVL 6

Expert Comment

by:snoegler
ID: 1173002
.. 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
 

Author Comment

by:strmtrpr
ID: 1173003
thanks

0
 
LVL 22

Expert Comment

by:nietod
ID: 1173004
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
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1173005
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 22

Expert Comment

by:nietod
ID: 1173006
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
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1173007
Writing to the port isn't the problem. Reading is. The port was not decided for two-way traffic altough it is possible.
0
 

Author Comment

by:strmtrpr
ID: 1173008
Thanks to everyone who has helped me

0
 
LVL 13

Accepted Solution

by:
Mirkwood earned 100 total points
ID: 1173009
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
 

Author Comment

by:strmtrpr
ID: 1173010
thanks again I have finding some useful info all over the place,

0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
computer science syllabus 3 70
Dentrix G4 1 47
Itunes > For You > Search Results > Can't Select Multiple Tracks on Win 10 6 80
What is sub-make ? 2 39
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now