Skip to content

Releases: OpenPrinting/cups-filters

cups-filters 1.22.6

15 May 20:07
Compare
Choose a tag to compare

Bug fix release, to address a further issue of cups-browsed removing user-created print queues, to make grayscale/monochrome PostScript jobs of colored input file actually output grayscale/monochrome files, to fix several bugs when using MuPDF as PDF renderer, and to silence compiler warnings.

  • rastertops: Fixed PageSize settings in the PostScript output (Must be in points not in pixels).
  • pdftops, mupdftoraster: Produce actual grayscale/monochrome PostScript (and not only instructions to print grayscale/monochrome) for jobs to be printed in grayscale/monochrome (Issue #96, Pull request #115).
  • mupdftoraster: Fixed filter not producing output at all.
  • Build system: ENABLE_DRIVERLESS got only defined with CUPS 1.6 and newer, not with older CUPS versions (Issue #111).
  • pdftopdf, imagetopdf, imagetoraster: Silenced compiler warnings.
  • cups-browsed, driverless: Replaced httpConnect() calls by httpConnect2() calls as the former CUPS library function is deprecated.
  • Build system: Compile everything using the CUPS libraries with '-D_PPD_DEPRECATED=""' for the time being until the deprecated PPD API calls get replaced, to stop the flooding with PPD API deprecation warnings making more important warnings being overlooked.
  • cups-browsed: When removing a local queue on shutdown or when DNS-SD reports the printer as disappeared check whether the local queue got overwritten by an external process as sometimes the shutdown or disappearing event comes too close for cups-browsed receiving a printer-modified notification from CUPS before (Ubuntu bug #1731417).

cups-filters 1.22.5

07 Apr 15:12
Compare
Choose a tag to compare

Bug fix release, to make foomatic-rip working with Ghostscript 9.27 and later.

  • foomatic-rip: Changed Ghostscript call to count pages in a PDF file to use "runpdfbegin" and not the undocumented Ghostscript internal "pdfdict", so that it works with Ghostscript 9.27 and later (Debian bug #926576, Arch Linux bug #62251).

cups-filters 1.22.4

05 Apr 19:15
Compare
Choose a tag to compare

Bug fix release, to fix various bugs in cups-browsed and in the filters.

  • cups-browsed: Fix broken trailing space removal on "NickName" (Pull request #103).
  • pdftops: Emit PostScript Level 2 instead of Level 3 for Brother PostScript printers as at least some of them report to support level 3 but ontly work with Level 2 (Ubuntu bug #1306849, comment 42).
  • bannertopdf: When multiplying the page for N-up or Duplex printing one page too much was generated (Issue #102).

cups-filters 1.22.3

26 Mar 12:29
Compare
Choose a tag to compare

Bug fix release, to fix crashes and hangs on broken GIF files and also to improve the documentation of cups-browsed.

  • libcupsfilters: Added error checks for processing GIF, to avoid crashes or hangs on broken GIF files (Issues #81, #82, Pull request #100).
  • cups-browsed: Added hint to the man page and configuration file that with "DebugLogging stderr" the logging output goes to journal or syslog if cups-browsed is running as system service (Issue #28).

cups-filters 1.22.2

15 Mar 19:01
Compare
Choose a tag to compare

Bug fix release, mainly to a crash bug when using the "Cluster" directive in the cups-browsed configuration and to make the printing of jobs in printer clusters more reliable. Also improvements on the image filters and an update of the man page for the "driverless" utility.

  • cups-browsed: Let distribution of jobs sent to queues with "implicitclass" backend (usually clusters) be done by a "job-state" CUPS notification and not by "printer-state-changed" any more. The "job-state" notification already contains the job ID. Before we had to poll the job ID from CUPS via IPP which was sometimes unreliable (Issue #97).
  • imagetopdf, imagetoraster, pdftopdf, libcupsfilters: Added new page scaling options: "fill" scales the input page (typically a photo) so that the output page (typically with different aspect ratio) gets completely filled, aloowing for some content of the input page getting lost. "crop-to-fit" allows for easy printing of documents on slightly different output page sizes (A4 <-> Letter) maintaining the size and centering and cropping into the destination page. Thanks to Dheeraj Yadav (dhirajyadav135 at gmail dot com) for the patch (Pull request #92).
  • cups-browsed: Do not do IPP request for printer-is-shared option for remote cups queues with CUPS 2.2.x and newer (Pull request #91).
  • cups-browsed: Fix crash bug when reading "Cluster" directive from configuration file (Issue #94).
  • driverless: Updated man page as now also Mopria and Wi-Fi Direct printers are supported. Mentioned also ippusbxd.

cups-filters 1.22.1

15 Feb 19:00
Compare
Choose a tag to compare

Bug fix release, mainly to let the get-printer-attributes IPP requests for auto-generating PPD files for driverless IPP printing use the same attributes as CUPS uses. There are also some small enhancements for Braille support.

  • braille: Use sort command with LC_ALL=C for reproducibility of the genrated files, needed for distribution packaging.
  • cups-browsed, driverless: When polling the printer's capabilities via get-printer-attributes IPP request for driverless printing, use the attributes "all" and "media-col-database". Without "all" some printers do not report "urf-supported" and without "media-col-database" not all paper size and marging info gets reported (Issue #22, Pull request #86, CUPS issue #5484).
  • braille: Document how to rework output before embossing. Thanks to Samuel Thibault for this patch (Pull request #90).

cups-filters 1.22.0

18 Jan 12:56
Compare
Choose a tag to compare

From this release on the pdftopdf filter flattens interactive PDF forms and annotations internally, using QPDF, instead of calling external utilities. This especially eliminates slowing factors as additional piping of the data and unneeded use of PDF interpreters. Using external utilities for flattening is still possible in case of problems. In addition, a crash bug in cups-browsed got fixed and compatibility of the filters with Poppler 0.72 assured.

  • pdftopdf: Use QPDF for flattening interactive PDF forms (Issues #2, #23, #36, Pull request #88).
  • pdftopdf: Fixed bug of closing temporary file prematurely when external PDF form flattening utilities fail (Thanks to Tobias Hoffmann for finding this, see pull request #88).
  • pdftoopvp: More fixes for building with Poppler 0.72 (Pull request #83, Issue #75).
  • pdftoraster, pdftoijs, pdftoopvp: Removed support for Poppler 0.18 (Pull request #83).
  • cups-browsed: Fixed crash in applying the BrowseFilter cups-browsed.conf directives (Debian bug #916765).

cups-filters 1.21.6

17 Dec 17:05
Compare
Choose a tag to compare

Bug fix release, mainly for cups-browsed to avoid crashes and infinite printer removal/re-creation loops and spurious local queues for local CUPS printers. Also expanded PostScript interpreter bug workaround to more Apple LaserWriter models.

  • cups-browsed: To find out whether a DNS-SD-discovered printer is from the local machine, use not only the flags in the Avahi lookup result but also check the host name.
  • cups-browsed: When a local CUPS queue pointing to a remote CUPS printer was removed and re-created to make it a permanent queue, on_printer_deleted() was triggered by cupsd's notification to re-create a lost queue. Now on_printer_deleted() checks whether the queue is really gone and only re-creates then (Issue #80).
  • cups-browsed: When updating the CUPS queues, also removed and unregistered queues and not only created queues got checked for HTTP timeouts, which caused crashes on shutdown (Issue #79, Debian bug #916149).
  • pdftops: Use the PS interpreter of Poppler for all Apple LaserWriter 16/600, 4/600, 12/640, 12/600, 12/660 as they all seem to not work with Ghostscript's PS output (Issue #76).
  • cups-browsed: On shutdown queues got removed even if they still had jobs (Debian bug #908147).

cups-filters 1.21.5

05 Dec 17:17
Compare
Choose a tag to compare

Bug fix release, to build with Poppler 0.71 and with cups-browsed converting temporary CUPS queues reliably to permanent queues.

  • cups-browsed: We cannot reliably determine whether a CUPS queue is temporary, so we apply the procedure to make a temporary queue permanent to any unshared queue (Debian bugs #910882, #905850, #908604).
  • pdftoraster, pdftopdf, pdftoijs, pdftoopvp: Do not use the Poppler-specific "GBool", "gFalse", "gTrue" any more, as Poppler has switched to standard "bool", "false", "true" in version 0.71.0 (Issue #69).

cups-filters 1.21.4

23 Nov 21:30
Compare
Choose a tag to compare

Bug fix release, mainly to prevent cupsd taking all CPU when cups-browsed is hammering on it, by correcting cups-browsed's way to handle timeouts. Fixes in pdftopdf and the PPD generator for driverless printing to avoid duplicate application of multiple copies options by both the filter and the printer. Code updates to build with newest versions of Poppler.

  • cups-browsed: Limit the number of retries for creating a print queue when it comes to HTTP timeouts. Number of retries given by HttpMaxRetries directive in cups-browsed.conf. Thanks to Zdenek Dohnal for the patch (Pull request #73, Red Hat bug #1648697).
  • cups-browsed: Read out current time right before setting the timeouts. Thanks to Zdenek Dohnal for the patch (Pull request #71, Red Hat bug #1648697).
  • libcupsfilters: In the PPD generator for driverless IPP printing let "*cupsManualCopies: true" lines get added to the PPD if printing is done in a raster format as then pdftopdf needs to generate the copies.
  • pdftoraster, pdftoopvp, pdftoijs: Fix build with Poppler >= 0.70 (Issue #69, Pull request #70).
  • pdftopdf: Fixed printing multiple copies on driverless IPP printers. When printing collated copies the multiple copies got applied twice, resulting in n*n instead of n copies (CUPS issue #5433).
  • pdftoraster, pdftoopvp, pdftoijs: Poppler removed memCheck and gMemReport functions, remove appropriate calls (Issue #62, Pull request #66).