Page 1 of 1

Printer Dialog

Posted: Wed May 19, 2010 8:19 pm
by hcourcelles
Hi,

I've post this question earlier but in the ScaleRichView section which was not my intention. Sorry!

Here is my question?

If I do RVPrint1.Print('',1,False) it print directly to the printer without any printer dialog that shows.


How can I print with a print dialog prior to send to printer so that user can choose on which printer to print?

Best regards,

Helene

Posted: Wed May 19, 2010 9:00 pm
by Sergey Tkachenko
Use TPrintDialog or TPrinterSetupDialog components.

Code: Select all

if PrintDialog1.Execute then
  <print>
Or use RichViewActions, they include actions for printing, page setup and preview.

Posted: Thu May 20, 2010 12:02 am
by hcourcelles
Thank you.

It is working!

Best regards,

Helene