December 10th, 2013, 10:47 AM
printing with pdfcreator, wrong value from GetClipBox
I have a problem with printing, but only with pdfcreator and the user-defined paper size.
If I use the predefined sizes (A0, A1.. A4, and so on), everything is fine.
But if I use user-defined size (for plotter with endless paper) with e.g. 1500mm x 4500mm, I get wrong values from GetClipBox in my OnDraw()-function.
The m_rectDraw value of CPrintInfo (within OnPrint-function) is correct.
Any ideas why?
Where are the values calculated?
is the printer-driver buggy?
How do m_rectDraw and the value from GetClipBox() interfere?
thx for any hint.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!