Printer Dialog

General TRichView support forum. Please post your questions here
Post Reply
hcourcelles
Posts: 16
Joined: Wed Aug 26, 2009 7:58 pm

Printer Dialog

Post 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
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Last edited by Sergey Tkachenko on Thu May 20, 2010 9:29 am, edited 1 time in total.
hcourcelles
Posts: 16
Joined: Wed Aug 26, 2009 7:58 pm

Post by hcourcelles »

Thank you.

It is working!

Best regards,

Helene
Post Reply