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

Getting the paper size for a custom printer form

P: n/a
Have you successfully added a custom form and then retrieved the paper size
using VB.

I tried
GetDeviceCaps(Hdc, PHYSICALWIDTH)

GetDeviceCaps(Hdc, PHYSICALHEIGHT)

and

DefaultPageSettings.PaperSize

But neither approach returns the correct values.

If you've done the above successfully I'd like to know so I'll keep looking
for a bug.

If you've had problems, that of cause would be good for me to know.

Thanks in advance for any help at all


Mar 29 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I want to make sure I was clear in my post.
I only have problems getting the paper size with my custom forms.


"Allen" <al***********@a-znet.com> wrote in message
news:ua**************@TK2MSFTNGP14.phx.gbl...
Have you successfully added a custom form and then retrieved the paper
size using VB.

I tried
GetDeviceCaps(Hdc, PHYSICALWIDTH)

GetDeviceCaps(Hdc, PHYSICALHEIGHT)

and

DefaultPageSettings.PaperSize

But neither approach returns the correct values.

If you've done the above successfully I'd like to know so I'll keep
looking for a bug.

If you've had problems, that of cause would be good for me to know.

Thanks in advance for any help at all

Mar 29 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.