RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Printers.AssignPrn Function

Assigns a text file variable to the printer.

Pascal
procedure AssignPrn(var F: Text);
C++
AssignPrn(Text F);

Printers

In Delphi code, Call AssignPrn to cause all information written to the text file variable F to be directed to the printer. After the variable is assigned, the application must call the Rewrite procedure. 

 

Rewrite

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!