Issue 19994 - Printing option settings apply only to the first page of the document
Summary: Printing option settings apply only to the first page of the document
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC4
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1.2
Assignee: philipp.lohmann
QA Contact: issues@gsl
URL: http://qa.mandrakesoft.com/show_bug.c...
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-24 16:07 UTC by tillkamppeter
Modified: 2004-01-27 10:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tillkamppeter 2003-09-24 16:07:40 UTC
When printing with OpenOffice.org 1.1.0 ("File"/"Print") and changing option
settings using the "Properties" button in the printing dialog, the settings
apply only to the first page and not to the subsequent pages.

The problem is caused by the way how OpenOffice.org generates PostScript. It
puts the PostScript commands (taken from the PPD file) which are supposed to
apply to the whole document into the "%%BeginPageSetup ... %%EndPageSetup"
section of the first page and not into the "%%BeginSetup ... %%EndSetup" before
the first page. This way the options apply only to the first page.

See also the document about DSC comments on Adobe's site:

http://partners.adobe.com/asn/tech/ps/technotes.jsp
Comment 1 christof.pintaske 2003-09-26 16:33:23 UTC
cp->pl: please have a look
Comment 2 philipp.lohmann 2003-10-06 11:31:52 UTC
.
Comment 3 philipp.lohmann 2003-10-31 14:10:19 UTC
There was a bug that would prevent the features that are only allowed
in DocumentSetup from being emitted at all (broken since OOo1.1beta2).
Aside from that OOo puts all features that are marked either
"PageSetup" or "AnySetup" into the first pagesetup where they are
changed from the default or the value of the last page setup.

committed in CWS vcl7pp1r3
Comment 4 philipp.lohmann 2003-11-13 13:10:04 UTC
verified changes in CWS vcl7pp1r3
Comment 5 philipp.lohmann 2004-01-27 10:29:15 UTC
merged in 645m25s1