Univention Bugzilla – Bug 37889
Support local printers in thinclient scenarios out of the box
Last modified: 2015-08-07 15:48:14 CEST
We should consider a plug&play solution for printing to local printers, at least in UCC thinclient scenarios (assuming proper preparations on the server side).
For example, if we connect a USB printer to an UCC thinclient, an udev rule could configure automatically a cups queue for this device as RAW printer.
The Citrix Receiver will then recognize this cups queue and map it as a printer into the Citrix XenApp session. I'm not sure about RDP sessions, but there should be a similar mechanism.
The DeviceURI for USB cups queues are put together like this:
Of course the DeviceURI needs to be unique per device and an automatic mechanism therefore needs to dynamically read these information from the hardware to be able to create the correct cups queue.
In UCC / Ubuntu, there is already a package called "system-config-printer-udev" available, which automatically detects a printer and configures a cups queue, but relies on PPD files. If the matching PPD file is not present, the automatic creation of the cups queue fails. The PPD files are not needed in this scenario and would only take up valuable disk space. But maybe it's possible to fork this package / mechanism and configure a RAW printer instead of one with a PPD file.
* a new udev rule 70-ucc-raw-printers.rules calls
"univention-uev-usb-raw-printer" upon adding/removing usb printers
* univention-uev-usb-raw-printer adds/removes the local usb printer in cups
- after plugging in a usb printer:
-> lpstat -a
HP_Deskjet_6940_series accepting requests since Fr ...
- after removing the usb printer
-> lpstat -a
lpstat: No destinations added.
The XENAPP Client Printer Redirection did not work for me though. We should check this with the new citrix test environment again.
please test again with the test environment
Worked in HDX tests
OK: package univention-ucc-usb-raw-printer.
UCC 2.1 has been released. If this error occurs again, please use "Clone This Bug".