print to file

  • Thread starter Thread starter fbouabcha
  • Start date Start date
F

fbouabcha

Hi all,
Could anyone tell me how to print to file with printdocument?

Thanks
 
in this case you should add a printdialog and set the
PrinterSettings.PrintFoFile Boolean property to true

Once the PrintDocument object is ready, you must pass it to the Print dialog
box. To do that, assign the name of the PrintDocument variable to the
PrintDialog.Document property.

regards

Michel Posseth [MCP]
 

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