Printable area
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am printing a piece of text to the printer. By using "GetDeviceCaps", I can get the physical height and width of the paper (PHYSICALHEIGHT and PHYSICALWIDTH). I can also get the left and top margins to the printable area (PHYSICALOFFSETX and PHYSICALOFFSETY), but how do I know the bottom and right margins? (or the width and height of the printable area) I can of course assume a safe margin (like an inch or so), but this would only be a gueass. It does seem strange that the printer can give information about the top and left "non-printable area" size, but says nothing about bottom or right. Does anyone have an idea? Thanks in advance. William