Summary: | MediaType parameter lost | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Andreas Gruenbacher <andreas.gruenbacher> |
Component: | CUPS driver | Assignee: | Till Kamppeter <till.kamppeter> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | htl10, mike, sphinx.pinastri |
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: |
This is the expected result
This is what GhostScript produces instead Patch |
Description
Andreas Gruenbacher
2020-02-11 03:12:13 UTC
Created attachment 18843 [details]
This is the expected result
Note that 'strings foo.cups.good' will show the string "Square".
Created attachment 18844 [details]
This is what GhostScript produces instead
Ghostscript has a special option for cups: -dNOMEDIAATTRS . This option disables normal media selection and passes media attributes to cups driver, as requested by the bug report. In short, Ghostscript works as designed. Created attachment 19577 [details]
Patch
This is a partial clean-up of macros in the cups driver. It helped me to solve this case, and may be worth to adopt to the code base.
Closing as 'works for me' per Peter's comment #3 |