We help IT Professionals succeed at work.

Using LPT port for transffering info

meir_tseitlin
on
Medium Priority
330 Views
Last Modified: 2012-06-27
How can I use LPT cable for transffering Information
between two computers via Turbo Pascal

(I mean more than 256bit, got it?)
Comment
Watch Question

Commented:
Are you talking about like doing serial communications?  Why would you not want to use your com ports?
What exactly are you doing?  A program like interlnk? or a game(or something else?)  If it is a game I wouldn't use the Lpt port.

Commented:
No I don't get >256bits ...
Can you be more specific, but I guess you just want to know how you must program the LPT port, am I right ?
If that's the only thing you want to know then I can send you the program for it right away
Commented:
do it like this:

in the source computer:

assign (f,'LPT1');
rewrite(f);
writeln (f,'example');

in the desternation computer:

assign(f,'LPT1');
reset(f);
readln(f,st);

now st='example';

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.