Home » U++ Library support » RichText,QTF,RTF... » Weird problems with Report / PDF Export / Printing, sometimes even crashes
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes [message #39056 is a reply to message #39000] |
Mon, 11 February 2013 19:58 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
1. Problems with ChooseDefaltPrinter/ChoosePrinter - these were bugs in POSIX version of PrinterJob, now fixed (with some additional improvements). (Commited to svn).
2. The page size issue - this one is quite tricky.
The main issue to consider here is that physical size of paper is not the same as printable area and that we do not really know what printable area is. In this sense, ChoosePrinter / ChooseDefaultPrinter do not quite do the correct thing (they are added to much later), as they set the report page size to physical size...
Anyway, under normal circumstances, the page size is decision of program (well, mostly we want consistent report output at all times, do not we?). There is some conservative default value for pagesize, which can be increased by Report::SetPageSize.
What happens during printing process (in POSIX it is CUPS doing) is that pages are rendered to this SetPageSize size, then printed centered with the physical page size.
Margin then is only simple too to move top-left offset instead of centering.
I have also tested Pdf output, it seems quite consistent with printed output (BTW, in my Linux PDF viewer there is "Fit to page" option that is on by default, it can skew results when testing).
|
|
|
|
|
Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: frozen on Tue, 05 February 2013 21:15
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: deep on Wed, 06 February 2013 14:53
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: frozen on Wed, 06 February 2013 18:37
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: frozen on Fri, 08 February 2013 01:06
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: mirek on Mon, 11 February 2013 19:58
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: frozen on Mon, 11 February 2013 21:17
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: mirek on Mon, 11 February 2013 21:20
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: frozen on Mon, 11 February 2013 21:45
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: mirek on Mon, 11 February 2013 23:38
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: frozen on Tue, 12 February 2013 00:18
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: mirek on Tue, 12 February 2013 08:08
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: unodgs on Tue, 12 February 2013 08:16
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: mirek on Tue, 12 February 2013 08:20
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: unodgs on Tue, 12 February 2013 10:07
|
|
|
Re: Weird problems with Report / PDF Export / Printing, sometimes even crashes
By: frozen on Tue, 12 February 2013 08:28
|
Goto Forum:
Current Time: Mon May 06 00:23:52 CEST 2024
Total time taken to generate the page: 0.02622 seconds
|