Vcl.Printers.AssignPrn

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AssignPrn(var F: Text);

C++

extern DELPHI_PACKAGE void __fastcall AssignPrn(System::TextFile &F);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Printers.pas
Vcl.Printers.hpp
Vcl.Printers Vcl.Printers

Description

Assigns a text file variable to the printer.

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.

See Also