We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


How to access to LPT Port

sacky asked
Medium Priority
Last Modified: 2010-04-06
I need to know how I can access directly to the LPT-Port in Delphi 3.0 We developed a program in Borland Pascal 7.0 and then transfered it to Delphi. In Pascal we used the "port" command. So what do we use in Delphi ?
Watch Question

Do you need it for printing text???
Unlock this solution and get a sample of our free trial.
(No credit card required)
Hello...just for an idea you could alos use this...

procedure Print;
     F: TextFile;
     AssignFile(F, 'LPT1');
     WriteLn(F,'Hello world');

Haven;t tasted that but you could give it a shot ;->
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

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


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.