Getting the paper size for a custom printer form

  • Thread starter Thread starter Allen
  • Start date Start date
A

Allen

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
 
I want to make sure I was clear in my post.
I only have problems getting the paper size with my custom forms.
 
Back
Top