[Printing-architecture] OpenPrinting News

Till Kamppeter till.kamppeter at gmail.com
Fri Apr 5 15:10:07 UTC 2019


here is the newest development of the last month.



Google Summer of Code 2019

We are currently in the period of the students submitting their 
proposals to Google. Aveek, me, and other mentors are reviewing the 
proposals and working with the students to make them as good as 
possible, so that we get a good count of slots.


I talked with my managers at Canonical and they talked with Trent's 
manager, succeeding that Trent's manager allows him some work time to 
put into the merge of the localhost support.

This resulted in Trent actually starting to work on it.

Trent asked my for some materials and tips for him testing CUPS' 
behavior without needing an appropriate printer.

Finally, he posted some comments on


Look at the comments starting from here:


The patch consists of the localhost support itself, (3 lines which I 
have created something like 2 years ago) and of the renaming of the 
hostname to "localhost" in the DNS-SD records originating from the "lo" 
interface (1 line, contributed by Rithvik, one of our former GSoC students).

Trent considers the second part not correct, but instead, CUPS needs to 
work different when evaluating incoming DNS-SD messages from Avahi, 
especially considering from which interface and address family each 
message comes (and so treat "lo" and also IPv4/IPv6 correctly).

I have also asked Trent whether cups-browsed is doing this correctly (at 
least cups-browsed also works without the second part of the patch).

It is possible that the final settlement will get fought out between 
Trent and Mike Sweet after Mike comes back from his vacation on April 12.

Note that Trent has sometimes very urgent work items in his actual job, 
so progress comes in irregular portions.

OpenPrinting web site

We have moved the Foomatic repositories from BZR to GIT now and so they 
are in the OpenPrinting GitHub now:


With this all active OpenPrinting projects are hosted in our GitHub.

Especially thanks to Dheeraj Yadav (GSoC 2019 candidate student) for 
adding scripts for syncing the database with the GIT repos to the 
Foomatic web app. See:


This means that manufacturer contributions of PPD files and printer 
entries have to get committed to the GIT repos. I have already informed 
the Ricoh guys.


No new releases.

Mike Sweet is on vacation until April 12.


Note that due to the fact that we have given GitHub issues of 
cups-filters to students as assignments for the GSoC 2019 student 
selection process I have checked through the issues and (together with 
issues which I have closed and which I have fixed by myself) reduced the 
number of issues from 26 to 18.

I will release 1.22.4 still for Ubuntu 19.04.

Currently released is 1.22.3.

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


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: 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).


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


No further news.

More information about the Printing-architecture mailing list