Go Back   Wiki NewForum | Latest Entertainment News > Career Forum & Tips > Tech Forum & Tutorial > Oracle Database, SQL, Application, Programming


How to print in a hurry


Reply
Views: 1474  
Thread Tools Rate Thread
  #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
Reply

Tags
programming tips

New topics in Oracle Database, SQL, Application, Programming





Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
WikiNewForum)