Page 1 of 2

AirPrint

Posted: Sat Dec 11, 2010 1:02 am
by bulldoglowell
Please add AirPrint support for USB attached printers. QNAP is awesome... this would make it really sweet! :D

Re: AirPrint

Posted: Sat Dec 11, 2010 5:22 am
by spoon.uk
Printer itself has to support AirPrint not the NAS [well it could but its not something software can enable like that]... The idea behind it is that you print directly to the printer from iOS device not to a printer attached to NAS/Mac...

Sure you understand the concept well enough?

Re: AirPrint

Posted: Wed Dec 15, 2010 12:27 am
by supermaitai
I think he means creating a airprint server in QPKG form that will allow all printers on the network to be seen by iOS devices. This is currently possible with a MAC or PC to share local printers to the iOS devices. Would be nice to have on a NAS because it would elimate the need to have a computer on.

Re: AirPrint

Posted: Wed Dec 15, 2010 5:43 pm
by spoon.uk
As long as Apple is willing to give the code out [which I'm sure they won't do] then yeah, I don't see why not...

Re: AirPrint

Posted: Thu Dec 16, 2010 2:02 pm
by ADoko
This is achievable assuming you have CUPS and avahi already setup on your NAS. (The forums have threads for how to do each.)

After that you can follow the instructions here:

http://www.atxconsulting.com/blog/tjfon ... s-printers

The python script this guy provides requires pycups. I've uploaded a version pre-compiled against python2.6 (ARM-based QNAP models only) here: http://ubuntuone.com/p/Tz9/

Code: Select all

ipkg install python26
ipkg install make
wget -O pycups-1.9.52.tar.gz http://ubuntuone.com/p/Tz9/
gunzip -c pycups-1.9.52.tar.gz | tar xf -
cd pycups-1.9.52
make install
After that it's just a matter of running his code and placing the resulting .service files in the avahi services directory.

Maybe QNAP will dump mDNSPosixResponder for avahi and then make CUPS a QPKG. That would make the above extremely easy. As it stands now more people aren't going to want to do this much "linux kung-fu".

:D

Results from avahi-browse:

Code: Select all


[/opt/unstable/bin] # ./avahi-browse --all --terminate
+   eth0 IPv4 Living Room                                   _tivo_videos._tcp    local
+   eth0 IPv4 Living Room                                   _tivo-videos._tcp    local
+   eth0 IPv4 HOME-NAS                                      SFTP File Transfer   local
+   eth0 IPv4 0000000000000000                              iPod Touch Music Library local
+   eth0 IPv4 My Media on HOME-NAS                          iTunes Audio Access  local
+   eth0 IPv4 My Media on HOME-NAS                          _rsp._tcp            local
+   eth0 IPv4 Living Room                                   Web Site             local
+   eth0 IPv4 My Media on HOME-NAS                          Web Site             local
+   eth0 IPv4 AirPrint HP_Photosmart_C4680 @ HOME-NAS       Internet Printer     local
+   eth0 IPv4 HOME-NAS(AFP)                                 Apple File Sharing   local
+   eth0 IPv4 HOME-NAS(UPNP)                                _upnp._tcp           local
+   eth0 IPv4 HOME-NAS(TimeMachine)                         Apple TimeMachine    local
+   eth0 IPv4 HOME-NAS [00:00:00:00:00:00]                  Workstation          local

Re: AirPrint

Posted: Thu Dec 16, 2010 2:27 pm
by QNAPJason
Hi ADoko,
We have integrated cups in the upcoming v3.4.0 firmware.
Currently the beta is available for QNAP Intel-based NAS.

http://forum.qnap.com/viewtopic.php?f=133&t=36763

Re: AirPrint

Posted: Thu Dec 16, 2010 9:56 pm
by ADoko
QNAPJason wrote:Hi ADoko,
We have integrated cups in the upcoming v3.4.0 firmware.
Currently the beta is available for QNAP Intel-based NAS.

http://forum.qnap.com/viewtopic.php?f=133&t=36763
Jason,

That is excellent news and most welcome. I'll be waiting patiently for this firmware to move past the beta stage. Keep up the good work.

Regards,

Anthony

Re: AirPrint

Posted: Thu Dec 23, 2010 4:44 pm
by lihuihz
Any solution for intel-base model QNap such as T259?

Re: AirPrint

Posted: Thu Dec 23, 2010 11:45 pm
by schumaku
lihuihz wrote:Any solution for intel-base model QNap such as T259?
>>>
QNAPJason wrote:We have integrated cups in the upcoming v3.4.0 firmware.
Currently the beta is available for QNAP Intel-based NAS.

http://forum.qnap.com/viewtopic.php?f=133&t=36763
Better here -> http://forum.qnap.com/viewtopic.php?f=151&t=37720

Re: AirPrint

Posted: Fri Dec 24, 2010 5:41 am
by spoon.uk
Not sure what SABnzbd+ has to do with CUPS but hey! :)

[Jason first and then Kurt]

Re: AirPrint

Posted: Fri Dec 24, 2010 5:55 am
by ADoko
spoon.uk wrote:Not sure what SABnzbd+ has to do with CUPS but hey! :)

[Jason first and then Kurt]
Hah! I never checked the link that Jason posted. I just assumed it was to BETA firmware (that I didn't want). I guess I should check that kind of thing before replying. :oops:

Re: AirPrint

Posted: Sat Dec 25, 2010 4:56 am
by schumaku
http://forum.qnap.com/viewtopic.php?f=151&t=37720 ...yes, v3.4 Beta for x86 NAS...

Re: AirPrint

Posted: Sun Mar 13, 2011 7:17 am
by atb
"Airprint" is a new feature of the latest 3.1 firmware on Synology NAS devices. It seems to work well when I tried it with a USB connected colour laser printer and sent colour pictures from iPhone and iPad.

This was on a 1511+ which I found to be very noisy and less well constructed than the QNAP range so (After trying a second unit which was just as noisy) I changed it for a 459 Pro+

Re: AirPrint

Posted: Mon Mar 14, 2011 3:15 am
by rafdalb
Hello,

I see cups as well as Bonjour announcement of the printer over the network, however it seems bonjour announcement message is not correctly interpreted by iDevices. I found a page on internet talking about how to enable airprint on Linux servers, but unfortunately this is based on Avahi that is not mDNSresponderposix used by QNAP devices.

Do you know if anyone is working on how to config mDNSresponder to support airprint?

Thanks.

Re: AirPrint

Posted: Thu Nov 17, 2011 8:11 am
by szpack
How about now?