PageSetupDialog "Printer..." button disabled

  • Thread starter Thread starter Joel Moore
  • Start date Start date
J

Joel Moore

This is driving me nuts. What would cause the "Printer..." button on the
PageSetupDialog to be disabled? I've got the AllowPrinter property set to
True but the button still won't enable.

Joel Moore
 
This is driving me nuts. What would cause the "Printer..." button on
the PageSetupDialog to be disabled? I've got the AllowPrinter
property set to True but the button still won't enable.

Joel Moore

Dammit!! Not two minutes after I posted this did I find the answer.

My app is using both the PageSetupDialog and the PrintPreviewDialog and I
never set the Document property for the PageSetupDialog. I was simply
setting the PageSetupDialog.PageSettings to
PrintDocument.DefaultPageSettings and then copying them back after
receiving a DialogResult.OK from PageSetupDialog.ShowDialog.

Hopefully that helps someone as dense as myself confused by this issue.

Joel Moore
 

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