sacky
asked on
How to access to LPT Port
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 ?
Do you need it for printing text???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hello...just for an idea you could alos use this...
procedure Print;
var
F: TextFile;
begin
AssignFile(F, 'LPT1');
Rewrite(F);
WriteLn(F,'Hello world');
CloseFile(F);
end;
Haven;t tasted that but you could give it a shot ;->
procedure Print;
var
F: TextFile;
begin
AssignFile(F, 'LPT1');
Rewrite(F);
WriteLn(F,'Hello world');
CloseFile(F);
end;
Haven;t tasted that but you could give it a shot ;->
https://www.experts-exchange.com/topics/comp/lang/delphi/Q.10062242