Summary: | Duplex working in 8.56 version, broke in 8.6x versions | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marvin Steakley <msteakley> |
Component: | Printer Driver | Assignee: | Ray Johnston <ray.johnston> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.60 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Customer: | 351 | Word Size: | --- |
Description
Marvin Steakley
2008-08-25 18:32:56 UTC
The /Duplex key was added to the .outputattrkeys list in gs_setpd.ps with the massive 'cups merge' (rev 8026). This broke Duplex for all devices since it would be forced false by the .presentspecial logic invoked by .prepareparams This may be a factor in several other open bugs that mention Duplex: 689048 Duplex not working with pswrite device 689174 Pages 689363 Duplex information embedded within the document not honored 689729 Preserve copy count when converting PostScript to PCL-XL Since there is no detailed documentation on this change, I recommend the following patch. Then we can re-evaluate all of the other bugs and close those that are fixed. Log message: Revert .outputattrkeys to the list prior to rev 8026 to fix problems with Duplex introduced with that change. Index: Resource/Init/gs_setpd.ps =================================================================== --- Resource/Init/gs_setpd.ps (revision 9084) +++ Resource/Init/gs_setpd.ps (working copy) @@ -421,7 +421,7 @@ % Define the keys used in output attribute matching. /.outputattrkeys [ - /OutputType /Duplex /Tumble /ManualFeed + /OutputType ] readonly def } ifelse -------------------------------------------------------------------------- Assigning to Alex for patch review. Upping the priority since a customer has reported the same issue. I agree with the patch. PLRM (p. 416) says that /OutputType is the only attribute in the subdirectories of /OutputAttributes dictionary. Patch committed as rev. 9350. Changing customer bugs that have been resolved more than a year ago to closed. |