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);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!