Apache OpenOffice (AOO) Bugzilla – Issue 22389
Postscript output is not DSC conforming
Last modified: 2004-01-16 15:53:53 UTC
The OOo generates the folowing lines, in the Poscript output, which are not DSC conforming: showpage grestore grestore %%PageTrailer ---cut from DSC--- If the showpage operator is used in combination with save and restore, the showpage should occur after the page-level restore operation. The motivation for this is to redefine the showpage operator so it has side effects in the printer VM, such as maintaining page counts for printing n-up copies on one sheet of paper. If showpage is executed within the confines of a page-level save-restore, attempts to redefine showpage to perform extra operations will not work as intended. This also applies to the BeginPage and EndPage parameters of the setpagedevice dictionary. The above discussion also applies to gsave-grestore pairs. ---cut from DSC--- According to the DSC the operator showpage should be moved after grestore. The current state makes problems on some printers. For example we have problems to use the native HPnup ability from HP_LaserJet_4050_Series.ppd. If we try to print a postscript generated by OOo as two pages per sheet then each second page is printed over the first one.
Created attachment 11199 [details] This patch fixed the problem for us.
Created attachment 11200 [details] This patch fixed the problem for us.
Confirmed. Redbook (second edition), page 628 at the bottom. Set target to 1.1.1 because this is very simple.
cp->pl: please have a look at it and verify that this is really the page level restore (there are two). 1.1.1 is only acceptable if there is no danger of regression.
.
accepting
fixed in CWS vcl7pp1r3
pl->us: please verify in CWS vcl7pp1r3
this can generate two blank pages at begging of printing ? with OOo 1.1 I had this problem . OOo generate a ps (or printing direcly) that when I send to print gives me the 2 pages in blank before printing correctly. with other application I don't have this problem. thanks in advance
US->JA: could you pls. take over. Come back to me or PL if you have questions.
JA: verified in vcl7pp1r3 cws. The command "showpage" now appears after the two "grestore"'s.
JA: verified within integration build src645m25s1. Closing issue