471,627 Members | 2,316 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

Printing to file without PrintDialog

Is it possible to print directly to file without PrintDialog or
PrintPreviewDialog?

Have any succeeded to program this feature?

Cheers,
Dec 22 '05 #1
1 2145
Franlin,

On the PrintDocument class, have you changed the PrintToFile and
PrintFileName properties exposed by the PrinterSettings property? You
should be able to set these to indicate you want to print to a file (without
using a PrintDialog).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Franlin W" <wf**@us.yahoo.com> wrote in message
news:do**********@nyytiset.pp.htv.fi...
Is it possible to print directly to file without PrintDialog or
PrintPreviewDialog?

Have any succeeded to program this feature?

Cheers,

Dec 24 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.