CompuServe Messages

print page size

    08-Jul-94 17:13:52
Sb: print page size
Fm: George Roberts 73164,3142
To: sysop
Can one get the size of the paper in device units (pixels) such that OnPrepareDC can set the viewport extent to be appropriate for the printer paper and not the screen? I also tried using m_rectDraw, but the data that it returned didn't seem useful. The function is supposed to return the data in logical coordinates. I can't use LPtoDP, because it translates based on the screen, not the printer. – George Roberts