Go Back   Wiki NewForum > Career Forum > Tech Forum & Tutorial > Oracle Database, SQL, Application, Programming

How to print in a hurry


Reply
Views: 637  
Thread Tools Rate Thread Display Modes
  #1  
Old 08-20-2010, 10:58 AM
bholas bholas is offline
Award Winner
 
Join Date:
Apr 2010
Posts: 5,181
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
Reply

Tags
programming tips

New topics in Oracle Database, SQL, Application, Programming

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump


Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2019, vBulletin Solutions, Inc.