How to print without print preview?

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

How to print without print preview?

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

Hello,

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.
jginis
Member
Member
 
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!

Greetings
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest