How to print without print preview?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

How to print without print preview?

Postby jginis » February 1st, 2006, 3:33 pm


First of all many thanks for all your work here. I suppose that a lot of people, including me of course, are very happy because you share your ideas just to help, just for fun or whatever. It's a great thing!

I would like to ask a question which may be stupid but...

Can I use PrintPreview to print, a document lets say, without previewing it?
I want to implement a toolbar button that will act as the Print button in MS Word standard toolbar. Just to send all pages to the default printer.
If not then I would be very pleased if you could help with relative resources.

Thanks in advance.
Posts: 1
Joined: February 1st, 2006, 2:37 pm

Postby Kambiz » February 2nd, 2006, 9:42 pm

Hi jginis and thank you very much for your kind words.

Yes, you can. Just set DirectPrint property to True. That's all!

User avatar
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Return to DELPHI AREA Projects

Who is online

Users browsing this forum: Bing [Bot] and 3 guests