Category: Software
-
Python bindings for libsmbclient
I’ve just put together some minimal Python bindings for libsmbclient, following on from what I said earlier. All that’s wrapped is enough for it to be useful for discovering printer shares, so that’s: the SMB context object, the opendir() method and the getdents() method. There’s an example included called test.py, which shows it in action.…
-
Tasks for fixing SMB printer browsing
I’ve been investigating the problems with trying to print to a Windows print share from Fedora. The main problems are to do with authentication, both when browsing to find the printer and when submitting a print job. See below for the problems and the steps required to fix them.
-
Print job failure alerts
I’ve just added print job failure alert messages to the system-config-printer applet, and this is what one looks like. Part of the work involved in doing this was to switch from repeatedly polling the CUPS server for the entire job list (which can be slow and resource-intensive) to using IPP notifications to find out what’s…
-
Trouble-shooting screenshots
Here are some screenshots of the new trouble-shooter in system-config-printer. The actual framework is not specific to printing or CUPS at all, but provides a way of stringing together question screens while collecting diagnostic output along the way.
-
Trouble-shooting
I’ve added a simple trouble-shooting mode to system-config-printer in version 0.7.80. It’s not very sophisticated, but I hope it will be useful. It is a “wizard”-type dialog with forward and back buttons, and the Python source code allows for question screens to be slotted in fairly easily. If it can’t work out the problem it…
