← Back to team overview

desktop-packages team mailing list archive

[Bug 1452193] Re: Backends can't look at FINAL_CONTENT_TYPE to determine MIME type of job

 

Looks like the offending patch was imported from Red Hat, where it was
later reverted since it never worked properly. Might want to take
another look at this.

-- 
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


References