• Hi,

    I am using:
    Letter.BeginPrint('Batch Print');
    for I:=1 to ...
    begin
    ...
    Letter.Print;
    ...
    end;
    Letter.EndPrint;

    How can I use Letter.PrintDialog once to choose the printer, tray, etc once and then use it's settings for all prints?

    Ken

    • Offizieller Beitrag

    Hi Ken,

    You can use the regular TPrintDialog.Create(nil)

    and then call UpdatePrinterProperties(Printer, 0);

    See also the code in WPCtrRich.pas:
    function TWPCustomRichText.PrintDialog(PageRange: string = ''): Boolean;

    Julian