TPrintDialog and Copies in Delphi 5

After 10 years of using Delphi I just discovered that using TPrintDialog to set the printer and then using TQuickRep.PrinterSettings.PrinterIndex := Printer.PrinterIndex doesn’t set the number of copies specified by the user to TPrintDialog.  This has to be done manually like this: TQuickRep.PrinterSettings.Copies := TPrinterDialog.Copies.

I guess you really do learn something new everyday.

One Response to “TPrintDialog and Copies in Delphi 5”

  1. MARGORIE Says:

    I have been hunting all over for this! Thank goodness I found it on Yahoo.

    Thx

    me
    [url=http://lefthandedguitar.blogz.cz/page/2/ ]Hydrolyze[/url]

Leave a Reply