Several print issues (bugs and features) |
Post Reply |
Author | |
Michl
Senior Member Joined: 14 September 2007 Status: Offline Points: 138 |
Post Options
Thanks(0)
Posted: 14 May 2014 at 4:32am |
The print preview mode don't works well.
It is possible that page breaks wrong (rows jumps from one to next page if scaling is "fit to page" and you resize window or changing zoom levels below 100%) or - more worse - last row on a page will not print. Both problems have the same origing. Calculation of font height can vary on different zoom levels (<100%). Windows font mapper change intelligent the next font size if size has fraction. So it can happen, that in calculation of printable page height the height differ for some pixels. Especially if you using header and footer text in different font size. Solution for missing rows: Pagination must be in 100% mode! So, rcClient.bottom don't have different values between pagination and drawing and function breaks not too early.
Solution for wrong page breaks: Zoom modes below 100% should be render in 100% in a bitmap and scaling the bitmap. Additional, if you using time in header or footer it will be modified if you resize preview window or is different between preview and printed page. A nice feature would be, if empty groups will be wrapped to next page. It's ugly if group row is on previous page and records on next page. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |