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.