PrintPreviewDialog problem?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm attempting to print graphics to a printer using a PrintPreviewDialog. The PrintPreviewDialog correctly displays what I intend to print, but when I press the Print button on the PrintPreviewDialog the printer spits out a single blank page regardless of how many pages are displayed in the dialog

Below is my button click event. The PrintDocument object has not been modified after dropping it onto the form

private void mniPrint_Click(object sender, System.EventArgs e

tr

PrintPreviewDialog ppd = new PrintPreviewDialog()
ppd.Document = printDocument
ppd.ShowDialog()

catch (Exception ex

// error handle



Are there any known issues with this control

Thanks
Todd.
 
* "=?Utf-8?B?VG9kZA==?= said:
I'm attempting to print graphics to a printer using a PrintPreviewDialog. The PrintPreviewDialog correctly displays what I intend to print, but when I press the Print button on the PrintPreviewDialog the printer spits out a single blank page regardless of how many pages are displayed in the dialog.

Didn't the suggestions I posted some days ago work?!
 
Back
Top