blaster
asked on
Setting Printer Margins
When I print a document, MFC changes the origion of the device context to the printable area of a page. The problem is I can't figure out what this origion is. Point (0, 0) doesn't refer to the top, left corner of the page. I've tried using all the CDC Mapping Functions, GetWindowOrg(), GetViewportOrg(), etc, to determine what the origion is set at but they don't appear to return the correct value.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.