View Single Post
  #1  
Old 08-20-2010, 10:58 AM
bholas bholas is offline
Award Winner
 
Join Date: Apr 2010
Posts: 4,977
Default How to print in a hurry

If you want to print text in a hurry without fancy formatting or setting up, try something like:
var
f : TextFile;
begin
AssignFile( f, 'LPT1' );
Rewrite( f );

//
// do your printing here...
//
WriteLn( f, 'hello, world!');

CloseFile( f );
end;

Reply With Quote