By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,569 Members | 1,321 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,569 IT Pros & Developers. It's quick & easy.

when I check PageSize im mPD the custom size is not there

P: n/a
I run the code below and in the diialog box I click Properties and set a
custom page size.

But when I check PageSize in mPD the custom size is not there.

Any help for this?


Private mPD As New PrintDocument

Dim PD As New PrintDialog

With PD

'If .PrinterSettings is used the system-wide printer preferences are changed

'If .Document is used changes only effect this app

..Document = mPD

If .ShowDialog() <DialogResult.OK Then


Exit Sub

End If

....use mPD
Apr 9 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.