Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[REQUEST] AirPrint container

Featured Replies

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:/#

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

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

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

 

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

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?

  • 3 weeks later...

@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.

  • 2 months later...

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"."

  • 1 year later...

Hi All, did these issues get resolved? container stable etc.?

 

Thanks

 

  • 3 years later...

Is this still available? I don’t see CUPS or anything print related under “gfjardim” name in the APPS tab.

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.

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?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.