Community
Participate
Working Groups
A postscript file created by brit engine, does print correctly when the report has difference size paper in the report. Example Page A - 8.5*11 Page B - 11*17 page A prints fine Page B prints on 8.5*11 crop the the page
BIRT layout the report on the master page defined in the report design, so it won't changed with the page size of the printer. If the print size is different with the master page, you should change the master page size in the design.
(In reply to comment #1) > BIRT layout the report on the master page defined in the report design, so it > won't changed with the page size of the printer. > > If the print size is different with the master page, you should change the > master page size in the design. Page A Master page is set to 8.5*11 Page b Master page is set to 11*17 The printing error still occurs
Can you attach your report design? It seems that your content exceeds the master page size. If so, you need adjust the content size in the design.
Created attachment 187038 [details] test file
run test file as postscript and try to print
As BIRT doesn't know the printer setting, such as if we need choose customer paper from some tray or just scale it to fit the page size etc, so it is better to insert postscript command into the BIRT generated ps file before sending it to the printer. I find a article from the internet and hope it helps. http://www.tek-tips.com/viewthread.cfm?qid=1325467&page=3
Add a new render option, IPostscriptRenderOption.AUTO_PAPER_SIZE_SELECTION, which means select paper size according to page size automatically. This option is set to true by default.
Add another new render option, IPostscriptRenderOption.FitToPaper, which means scale the page content to fit paper size. Its default value is false. But this render option is not exposed on UI, user can only set it by API. To make this option work, a paper size should be specified together.