[gs-bugs] [Bug 692779] Differences in ps2write

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jan 19 09:46:49 UTC 2012


http://bugs.ghostscript.com/show_bug.cgi?id=692779

--- Comment #12 from Ken Sharp <ken.sharp at artifex.com> 2012-01-19 09:46:47 UTC ---
268-03.ps is another case where the code uses /NumCopies or /#copies to produce
multiple pages. ps2write honours these by executing copypage.

The problem is that the semantics of copypage changed in language level 3. In
level 1 & 2 this would correctly have led to multiple identical pages being
produced (and interestingly this is what Acrobat Distiller produces). In level
3, however, what we get is multiple blank pages.

We can't execute setpagedevice to set /NumCopies, because that resets the page
for duplexing, and we know that will break (for example) CUPS.

I've chosen to make ps2write behave like pdfwrite, it will *not* attempt to
preserve /NumCopies or /#copies by default because it is unreliable and may
interfere with other processors (eg CUPS) also setting copies. The DoNumCopies
flag can be used to override this.

Commit: a75b5a720684d6e599c28cae9abb9357aa97d7b3

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list