Mastodon
Programmierung

Using the default-printer-dialog for QuickReport

If you are using a standard Delphi printer setup dialog, the way to do
it is:

[code lang=”delphi”]If PrinterSetupDialog.Execute then
begin
Report.PrinterSettings.PrinterIndex := Printer.PrinterIndex;
Report.Print;
end;
[/code]
Remember to include the Printers unit in your uses clause.

[tags]Delphi, Printing[/tags]

0 Kommentare zu “Using the default-printer-dialog for QuickReport

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.