Summary: | Wrong page size with laserjet.ppd | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Till Kamppeter <till.kamppeter> |
Component: | CUPS driver | Assignee: | Michael Sweet <mike> |
Status: | NOTIFIED WORKSFORME | ||
Severity: | normal | CC: | mike |
Priority: | P4 | ||
Version: | master | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.cups.org/str.php?L1794 | ||
Customer: | Word Size: | --- | |
Bug Depends on: | |||
Bug Blocks: | 689315 | ||
Attachments: |
Offending PS file
Fixes media size setting |
Description
Till Kamppeter
2007-07-04 08:54:51 UTC
Created attachment 3151 [details]
Offending PS file
Created attachment 3152 [details]
Fixes media size setting
Ghostscript _can_ do correct media matching _IF_ the InputAttributes dictionary is populated correctly by the device driver. See the src/gdevclj.c for an example of this. Disabling the media matching (as the patch does) is NOT acceptable. The 'cups' device should set the InputAttributes dictionary using its knowledge of the actual printer page sizes. Alternatively, the client (CUPS) can set the Policy for PageSize to 7 before sending a job. This bug will be closed as INVALID once a corresponding bug is open against CUPS The only external in gdevdcrd.c is sample_device_crd_get_params which is only used in these modules: src/gdevbit.c src/gdevdcrd.c src/gdevdcrd.h src/gdevdevn.c src/gdevrinkj.c src/gdevxcf.c All of these devices _should_ include the gdevdcrd.$(OBJ) in the dependency list The psd device has gdevcrd.h, but we don't know why (as well as some other modules that include it as well). Comment #5 is for another bug (OOPS) Since CUPS (ESP) Ghostscript custom modifications have now been integrated to Artifex/GPL Ghostscript, I am closing this issue. If the problem persists, please re-open or submit a new bug. |