Главная страница | назад





Article #22610: How to assign the Delphi global printer object, to the Quick Reports global printer object.

QUESTION:

How do I assign the Delphi global printer object, to the Quick Report global printer object?

ANSWER:

If you are using Quick Reports and want to use Delphi's print dialogs, then you need to assign Delphi's global printer object to Quick Report's global printer object. Here is a code snippet that shows how to do this.

uses Printers;
ReportForn.QuickRep1.PrinterSettings.PrinterIndex := Printer.PrinterIndex;

Last Modified: 14-AUG-00