Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

PDF print dialog question

edited April 2008 in General
Hello.

Is it possible to get the print dialog to open (as per the Help file) ready
to print a report to a PDF file but with the PrintToFile box unticked?

I want the defaule option to be to print to the printer but if the user
wants he can tick the PrintToFile checkbox and get a PDF output. I can only
get the dialog to open with the default option being to print to PDF. The
use has to untick if he wants to sent the report to the printer.

I have tried the following

procedure TfrmInvoiceS.ppRepInvoicePrintDialogCreate(Sender: TObject);
begin
ppRepInvoice.PrintDialog.PrintToFile := False;
end;

but it does not work. The checkbox is still ticked.

Thanks.

Comments

This discussion has been closed.