peter_sm Posted June 20, 2015 Share Posted June 20, 2015 I looged in to the docker and executed hp-setup -i, this however finds my printer, but some error at the end.... root@Tower:/# hp-setup -i HP Linux Imaging and Printing System (ver. 3.14.3) Printer/Fax Setup Utility ver. 9.0 Copyright (c) 2001-13 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. (Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.) -------------------------------- | SELECT CONNECTION (I/O) TYPE | -------------------------------- Num Connection Description Type -------- ---------- ---------------------------------------------------------- 0* usb Universal Serial Bus (USB) 1 net Network/Ethernet/Wireless (direct connection or JetDirect) 2 par Parallel Port (LPT:) Enter number 0...2 for connection type (q=quit, enter=usb*) ? 1 Using connection type: net Using device: hp:/net/Photosmart_C6100_series?ip=192.168.0.163 Setting up device: hp:/net/Photosmart_C6100_series?ip=192.168.0.163 --------------------- | PRINT QUEUE SETUP | --------------------- Please enter a name for this print queue (m=use model name:'Photosmart_C6100'*, q=quit) ? Using queue name: Photosmart_C6100 Locating PPD file... Please wait. Found PPD file: drv:///hpcups.drv/hp-photosmart_c6100_series.ppd Description: Note: The model number may vary slightly from the actual model number on the device. Does this PPD file appear to be the correct one (y=yes*, n=no, q=quit) ? y Enter a location description for this printer (q=quit) ?home Enter additonal information or notes for this printer (q=quit) ? Adding print queue to CUPS: Device URI: hp:/net/Photosmart_C6100_series?ip=192.168.0.163 Queue name: Photosmart_C6100 PPD file: drv:///hpcups.drv/hp-photosmart_c6100_series.ppd Location: home Information: Traceback (most recent call last): File "/usr/bin/hp-setup", line 610, in <module> utils.sendEvent(EVENT_CUPS_QUEUES_ADDED,print_uri, printer_name) File "/usr/share/hplip/base/utils.py", line 2010, in sendEvent SystemBus().send_message(msg) File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 194, in __new__ private=private) File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 122, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory root@Tower:/# Quote Link to comment
gfjardim Posted June 20, 2015 Share Posted June 20, 2015 Can your try to map /var/run to the container ? Quote Link to comment
peter_sm Posted June 21, 2015 Share Posted June 21, 2015 Never mind, I installed my printer in my Ubuntu VM, working perfect from my I-devices :-) How do I map /var/run to the container ? //Peter Quote Link to comment
gfjardim Posted June 21, 2015 Share Posted June 21, 2015 Never mind, I installed my printer in my Ubuntu VM, working perfect from my I-devices :-) How do I map /var/run to the container ? //Peter Add -v /var/run/dbus:/var/run/dbus to Extra Parameters Quote Link to comment
MyKroFt Posted June 21, 2015 Share Posted June 21, 2015 Added my HP Color via its lan port and cups sees its just fine. But when I tell it to do a test print etc - it thinks it is printing it and completes with no job errors - but it never shows up at the printer. Any ideas what to look for? Thanks Myk Quote Link to comment
peter_sm Posted June 21, 2015 Share Posted June 21, 2015 Never mind, I installed my printer in my Ubuntu VM, working perfect from my I-devices :-) How do I map /var/run to the container ? //Peter Add -v /var/run/dbus:/var/run/dbus to Extra Parameters With this command I now can discover my printers, they show up in the list Discovered Network Printers: but printing I see this error message in the print job. "Failed to connect to system bus" One thing that are different from Ubuntu VM and this docker, is in Ubuntu I can see the driver for my C6180 All-In-One, but in the docker only C6100-series //Peter Quote Link to comment
gfjardim Posted June 22, 2015 Share Posted June 22, 2015 Never mind, I installed my printer in my Ubuntu VM, working perfect from my I-devices :-) How do I map /var/run to the container ? //Peter Add -v /var/run/dbus:/var/run/dbus to Extra Parameters With this command I now can discover my printers, they show up in the list Discovered Network Printers: but printing I see this error message in the print job. "Failed to connect to system bus" One thing that are different from Ubuntu VM and this docker, is in Ubuntu I can see the driver for my C6180 All-In-One, but in the docker only C6100-series //Peter That's weird. Which Ubuntu version are you using? Quote Link to comment
sparklyballs Posted July 9, 2015 Share Posted July 9, 2015 @gfjardim nicked your disable dbus in avahi line and the linking of dbus to unraid dbus to get avahi-daemon running in a container of mine.. thanks. Quote Link to comment
rara1234 Posted October 3, 2015 Share Posted October 3, 2015 adding the dbus change also fixed the discovery error for me. Now, however, when i go to add the discovered printer I see this: Add Printer OKI_DATA_CORP_C531 Error Unable to get list of printer drivers: Broken pipe restarting the container fixes it. After adding the printer, i sent a test print and now see this error: processing since Sat 03 Oct 2015 11:25:16 AM UTC "Unable to locate printer "oki-c531-2e94ba.local"." Quote Link to comment
johner Posted March 29, 2017 Share Posted March 29, 2017 Hi All, did these issues get resolved? container stable etc.? Thanks Quote Link to comment
Flyinace2000 Posted December 27, 2020 Share Posted December 27, 2020 Is this still available? I don’t see CUPS or anything print related under “gfjardim” name in the APPS tab. Quote Link to comment
Squid Posted December 27, 2020 Share Posted December 27, 2020 8 hours ago, Flyinace2000 said: Is this still available? I don’t see CUPS or anything print related under “gfjardim” name in the APPS tab. If you do a docker hub search within Apps (enable it in options), there's far more up to date versions of CUPS than what was available within apps. 1 Quote Link to comment
Flyinace2000 Posted December 28, 2020 Share Posted December 28, 2020 23 hours ago, Squid said: If you do a docker hub search within Apps (enable it in options), there's far more up to date versions of CUPS than what was available within apps. Thanks got it. is there a GUI or just command line for CUPS? If just command line is cups.org the place to read up? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.