Printing to file without PrintDialog

  • Thread starter Thread starter Franlin W
  • Start date Start date
F

Franlin W

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

Have any succeeded to program this feature?

Cheers,
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top