desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #117671
[Bug 1452193] [NEW] Backends can't look at FINAL_CONTENT_TYPE to determine MIME type of job
Public bug reported:
We have a custom cups backend ("thinlocal") that looks at
FINAL_CONTENT_TYPE to find out whether the submitted job is
application/pdf and if so, take special actions. The PPD for this
backend accepts PDF:s directly through this line:
*cupsFilter: "application/pdf 0 -"
However, FINAL_CONTENT_TYPE is always set to printer/thinlocal, so the
backend can't possibly determine the input format by looking at the
FINAL_CONTENT_TYPE.
This is broken with (at least):
- Ubuntu 14.04 (cups 1.7.2),
- Ubuntu 14.10 (cups 1.7.5)
- Ubuntu 15.04 (cups 2.0.2).
Related bug reports, upstream and elsewhere:
- https://www.cups.org/str.php?L4494
- https://bugzilla.redhat.com/show_bug.cgi?id=1010580
- https://bugzilla.redhat.com/show_bug.cgi?id=1149244
** Affects: cups (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1452193
Title:
Backends can't look at FINAL_CONTENT_TYPE to determine MIME type of
job
Status in cups package in Ubuntu:
New
Bug description:
We have a custom cups backend ("thinlocal") that looks at
FINAL_CONTENT_TYPE to find out whether the submitted job is
application/pdf and if so, take special actions. The PPD for this
backend accepts PDF:s directly through this line:
*cupsFilter: "application/pdf 0 -"
However, FINAL_CONTENT_TYPE is always set to printer/thinlocal, so the
backend can't possibly determine the input format by looking at the
FINAL_CONTENT_TYPE.
This is broken with (at least):
- Ubuntu 14.04 (cups 1.7.2),
- Ubuntu 14.10 (cups 1.7.5)
- Ubuntu 15.04 (cups 2.0.2).
Related bug reports, upstream and elsewhere:
- https://www.cups.org/str.php?L4494
- https://bugzilla.redhat.com/show_bug.cgi?id=1010580
- https://bugzilla.redhat.com/show_bug.cgi?id=1149244
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1452193/+subscriptions
Follow ups
References