D-Bus system services for print queues

Sunday, July 26th, 2009

Further to the recent work on replacing hal-cups-utils, I’ve now split out the parts that use CUPS into a D-Bus system service. This allows udev to simply call the D-Bus methods and let the activated service deal with the potentially time-consuming bits. It also makes it a bit easier to get the SELinux security labelling right.

The interface is simple:

bus com.redhat.PrinterConfig
object /com/redhat/PrinterConfig
interface com.redhat.PrinterConfig

UsbPrinterAdd (STRING devpath, STRING deviceid)
UsbPrinterRemove (STRING devpath)

Next step: a D-Bus service for finding an appropriate PPD file for a given IEEE 1284 Device ID. This would allow the PrinterConfig implementation to avoid running a Python helper script to actually add the queue. The same goes for bluetooth devices.

Screenshots: system-config-printer 1.1

Tuesday, February 3rd, 2009

As part of my work for Red Hat I’ve been working on the printing configuration program, system-config-printerFedora 10 came with version 1.0 of this application, which provides a notification area print icon as well as the ability to configure printers, and I made the 1.1 version available earlier this year.  The most recent release is 1.1.3.

I’ve taken some screenshots of system-config-printer 1.1, and this version will be in Fedora 11 when it is released this year.

Screenshots below.  As an aside, I have to say that taking screenshots is one of the most rapid methods of finding bugs I know!
(more…)

Reporting ink levels

Wednesday, January 14th, 2009

ink levels

I’ve just added support to system-config-printer for displaying ink and toner levels for printers.  It’s in the 1.1.x branch and will appear in 1.1.2.

(more…)

Epson Stylus Photo 1270 versus pencil

Monday, August 18th, 2008

from Kith-Kin (via things magazine)