[REQUEST] AirPrint container


Recommended Posts

There have been ways for a while of running software on a desktop machine to allow iOS devices to print to non-AirPrint printers. This of course requires the desktop to be on when you want to print. Since my unRAID runs 24x7, it's the logical place for this service to live.

 

I don't know if this is even possible in a container (I'm a hardware guy, not a programmer), or whether this is better suited for a very lean VM. I suspect since any number of different printer drivers would be required that a VM is the way to go, but I hoping you all can enlighten me.

Link to comment

This looks useful. Shouldn't be hard to make into a container...

 

I'll have a go! I have no way to test it though.

 

how about printer drivers though ?

 

That's what I was wondering.  Perhaps include the Universal driver for the major brands?  In my case it's an HP laser, so the HP universal driver should work just fine.

 

You'd also have to be able to configure the printer, but assuming this could be handled in an X window thanks to hurricanehernandez's base image?

Link to comment

This looks useful. Shouldn't be hard to make into a container...

 

I'll have a go! I have no way to test it though.

 

how about printer drivers though ?

 

 

That's what I was wondering.  Perhaps include the Universal driver for the major brands?  In my case it's an HP laser, so the HP universal driver should work just fine.

 

You'd also have to be able to configure the printer, but assuming this could be handled in an X window thanks to hurricanehernandez's base image?

 

 

 

it's my understanding with dockers that the driver needs to be present on the host system.

 

the airprint software setup is reasonably easy, done it myself a few times.

 

a printer available on your network will work, but i'm unsure about printers directly connected.

Link to comment

it's my understanding with dockers that the driver needs to be present on the host system.

 

If that's the case, I'm guessing that pretty much makes it unfeasable.

 

the airprint software setup is reasonably easy, done it myself a few times.

 

a printer available on your network will work, but i'm unsure about printers directly connected.

 

Mine is a network printer.  I don't think anyone would have a printer directly connected to the unRAID server as the OS doesn't have CUPS or any printing functionality.

Link to comment

it's my understanding with dockers that the driver needs to be present on the host system.

 

If that's the case, I'm guessing that pretty much makes it unfeasable.

 

the airprint software setup is reasonably easy, done it myself a few times.

 

a printer available on your network will work, but i'm unsure about printers directly connected.

 

Mine is a network printer.  I don't think anyone would have a printer directly connected to the unRAID server as the OS doesn't have CUPS or any printing functionality.

 

you need cups (or the last time i set this up, you did, for it to work) but cups is software.. and there exist already a few cups dockers, not geared for unraid, just general dockers.

Link to comment

 

you need cups (or the last time i set this up, you did, for it to work) but cups is software.. and there exist already a few cups dockers, not geared for unraid, just general dockers.

 

I have a working container with AirPrint and CloudPrint working, will update it and release something soon.

Link to comment

Just wondering if there have been any updates on this gfjardim, possibly in another thread that I missed?

 

Thanks!

 

I'm testing it. Will run for a few days before I release it.

 

I am looking forward to using this one as well!  Thanks for you hard work!

 

 

Link to comment

gfjardim said he has a working container he is testing and will post it up at some point. 

 

In the meantime, I created a Ubuntu 14.04 VM and have AirPrint working through that.  It's definitely consuming far more resources than would be necessary for a Docker container, but it'll do until someone releases an AirPrint Docker.

Link to comment
  • 3 weeks later...
  • 2 weeks later...

I can't find my WIFI printer (HP Photosmart c6100 Series) from this docker, adding it manually, I can see the printer on my iPhone, but when printing nothing happens on my printer, this is some rows in the error log .....

 

 

E [20/Jun/2015:15:00:07 +0200] Unable to open listen socket for address [v1.::]:631 - Address family not supported by protocol.
E [20/Jun/2015:15:00:07 +0200] Unable to communicate with avahi-daemon: Daemon not running
E [20/Jun/2015:15:00:41 +0200] [cups-deviced] PID 54 (dnssd) stopped with status 1!
[20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-300sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-310sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-320sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-360sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-600sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-610sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-620sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-660sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-216xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3160sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3170sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3180sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-6220sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M262xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M267xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M332xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M337xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2160sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2540sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2950sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-3400sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-4650sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-470xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-472xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SF-760sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-300sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-310sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-320sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-360sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-600sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-610sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-620sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-660sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-216xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3160sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3170sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3180sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-6220sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M262xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M267xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M332xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M337xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2160sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2540sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2950sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-3400sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-4650sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-470xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-472xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SF-760sc.cts"!

Link to comment

I can't find my WIFI printer (HP Photosmart c6100 Series) from this docker, adding it manually, I can see the printer on my iPhone, but when printing nothing happens on my printer, this is some rows in the error log .....

 

 

E [20/Jun/2015:15:00:07 +0200] Unable to open listen socket for address [v1.::]:631 - Address family not supported by protocol.
E [20/Jun/2015:15:00:07 +0200] Unable to communicate with avahi-daemon: Daemon not running
E [20/Jun/2015:15:00:41 +0200] [cups-deviced] PID 54 (dnssd) stopped with status 1!
[20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-300sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-310sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-320sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-360sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-600sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-610sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-620sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-660sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-216xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3160sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3170sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3180sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-6220sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M262xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M267xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M332xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M337xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2160sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2540sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2950sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-3400sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-4650sc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-470xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-472xsc.cts"!
E [20/Jun/2015:15:05:42 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SF-760sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-300sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-310sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-320sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-360sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-600sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-610sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-620sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLP-660sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-216xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3160sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3170sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-3180sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/CLX-6220sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M262xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M267xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M332xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/M337xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2160sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2540sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/ML-2950sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-3400sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-4650sc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-470xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SCX-472xsc.cts"!
E [20/Jun/2015:15:05:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/suld/cms/SF-760sc.cts"!

 

This error log is normal; first error is due to IPv6, second due to avahi not running (it uses unRAID's avahi service) and the third is Samsung driver error.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.