Apache OpenOffice (AOO) Bugzilla – Issue 34384
printing through kprinter 2-up on A4 prints blank pages
Last modified: 2013-08-07 14:38:26 UTC
Base info: Suse 9.1 kernel 2.6.5-7.95-default kprinter --version Qt: 3.3.1 KDE: 3.2.1 kprinter: 0.0.1 OOo 1.1.2 When printing a 2-page A4 size black and white text document, one page per sheet, everything is OK. When trying to get kprinter to print 2-up on A4 (i.e. 2 at A5 size per sheet, at 71% size) it prints only the second sheet, the first showing as blank. Using OOo 1.1.1, these documents print as expected, both for 1 and 2 per sheet. Looking at the differences between the postscript files generated for the two cases, I notice that for 1.1.2, there are unbalanced square brackets, and that an extra left bracket is introduced where there was no such code from 1.1.1; and there is no ending right bracketfrom 1.1.2. The text for one document is: [{ %%BeginFeature: *PageSize A4 <</PageSize [595 842] /ImagingBBox null>> setpagedevice %%EndFeature } stopped cleartomark %%EndPageSetup Andy.
reassigned to HI.
FYI: OOo can print n'up on its own (Choose page-preview, configure how many pages you want on a single page using the print-options button and hit the "print page view" button)
Passed to JA.
The brackets are supposed to ensure that the PostScript interpreter does not stopped if it cannot understand the code inside the marked section (that begins with '['). The problem why popular n-up filters fail on the code is that the paper size is set in the PageSetup section instead of the Setup section; this is due to the fact that OOo can print documents with differing page sizes and therefore cannot state the page size in the global "Setup" section but only in the "PageSetup" that belongs to each page. I recommend using the OOo's "Page Preview" functionality to produce n-up printouts of OOo documents.
closing
*** Issue 42484 has been marked as a duplicate of this issue. ***