PrintPreviewDialog problem?

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.
 
H

Herfried K. Wagner [MVP]

* "=?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?!
 

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

Top