Chris Hettinger
February 29th, 2000, 12:38 PM
I am using GetDeviceCaps to get some information about a printer device context. The items I am interested in are PHYSICALOFFSETX and Y.
The problem is, the HP printer I am working with is returning 0.5 for the size of the page, when in fact it is actually about 0.25 inch. Is there any way to find out the true properties of the printer (without hardcoding specific printer values into your program)?
What i need to do is draw a box which has a left side exactly 0.75 inch from the left side of the page, and also 1 inch from the top of the page.
Any ideas would be appreciated.
Thank you.
Chris Hettinger
The problem is, the HP printer I am working with is returning 0.5 for the size of the page, when in fact it is actually about 0.25 inch. Is there any way to find out the true properties of the printer (without hardcoding specific printer values into your program)?
What i need to do is draw a box which has a left side exactly 0.75 inch from the left side of the page, and also 1 inch from the top of the page.
Any ideas would be appreciated.
Thank you.
Chris Hettinger