Bug#961458: ippusbxd: Please consider installing a systemd service file by default

2020-05-24 Thread Till Kamppeter
I have done this already for Ubuntu in the 1.34-2ubuntu1 package. "dpkg 
-L ippusbxd" gives the following 4 non-documentation files in the package:


/.
/etc
/etc/apparmor.d
/etc/apparmor.d/usr.sbin.ippusbxd
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/ippusbxd@.service
/lib/udev
/lib/udev/rules.d
/lib/udev/rules.d/55-ippusbxd.rules
/usr
/usr/sbin
/usr/sbin/ippusbxd

With this USB printers supporting IPP-over-USB will get their ippusbxd 
started when plugged in. And as ALL IPP-over-USB support driverless 
printing (and scanning if they have a scanner) you can easily print and 
scan via the emulated IPP device. Note that for scanning you need SANE 
1.0.29 or sane-airscan, and for auto-discovery (independent of whether 
you want to print or scan) you need Avahi 0.8.0 or newer.


You can even fax without driver (at least from the command line) 
following my simple test described in this GSoC project listing:


https://wiki.linuxfoundation.org/gsoc/google-summer-code-2020-openprinting-projects#support_for_ipp_fax_out

So you simply need to sync with this Ubuntu package ...

Also make sure to overtake the latest changes on system-config-printer 
from Ubuntu (version 1.5.11-4ubuntu2 or newer, replace 
33_ipp-over-usb-support.patch by 
33_no-usb-queues-for-ipp-over-usb-printers.patch), so that 
system-config-printer does not try to start ippusbxd or auto-create 
print queues for IPP-over-USB-capable printers. Due to not being sure 
about Debian's system-config-printer I did the ippusbxd change 
Ubuntu-only, also as it was close before our Feature Freeze for 20.04.


   Till



Bug#961458: ippusbxd: Please consider installing a systemd service file by default

2020-05-24 Thread Brian Potkin
Package: ippusbxd
Version: 1.34-2
Severity: wishlist


An installed ippusbxd can be started by a user with root privileges with
'ippusbxd'. The ippusbxd package contains

 /usr/share/doc/ippusbxd/examples/ippusbxd@.service

Having the package installation put this file in /lib/systemd/system/
should give automatic access to IPP-over-USB printers when the printer
is plugged in.

This would put a modern USB-connected printer on the same par as a
network-connected printer.

Regards,

Brian.