Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Printer Ubuntu Apple

Ubuntu 11.10 & 11.04 To Support Apple AirPrint 67

kai_hiwatari writes "According to an email in the Ubuntu-Devel mailing list, AirPrint support is now available for Ubuntu 11.10 'Oneiric Ocelot' and Ubutnu 11.04 'Natty Narwhal' as well — although it is in the testing phase for now. Developer Till Kamppeter sent an email to the mailing list inviting testers to test out his patch that enables AirPrint in Ubuntu."
This discussion has been archived. No new comments can be posted.

Ubuntu 11.10 & 11.04 To Support Apple AirPrint

Comments Filter:
  • by Anonymous Coward on Wednesday June 29, 2011 @05:19PM (#36616656)

    ...complaints about Unity

  • So, now, if I put Ubuntu on my iPad, I can still print via AirPrint?

  • by domatic ( 1128127 ) on Wednesday June 29, 2011 @05:29PM (#36616766)

    I've been doing this for months. Avahi can share any cups queue as an Airprint queue. I used this howto:

    http://www.finnie.org/2010/11/13/airprint-and-linux/ [finnie.org]

    There are also scripts that will autogenerate the Avahi service files for you. The only real new thing here might possibly be a better UI for doing this.

    • by jrumney ( 197329 )
      Or possibly they've got CUPS working with avahi like it used to (before avahi went and removed a bunch of bonjour compatible APIs). I got my printer working with AirPrint soon after iOS4 was released, but I had to configure the avahi part of it manually because CUPS and avahi don't work well together.
  • Then I remembered; I don't care about iAnything. So airprint is meh
  • When will this be merged upstream, if ever? Some of us that use Fedora, OpenSUSE, Arch, and Debian would benefit from this as well.

    • by DrYak ( 748999 ) on Wednesday June 29, 2011 @07:46PM (#36617854) Homepage

      "AirPrint" is just a fancy name for what is basically networked printing using the IPP protocol, with automatic discovery of available printers with zeroconf (using DNS-DS).

      The linux solution uses Avahi for the zeroconf discovery part, and CUPS for the IPP printing service.
      - CUPS can be a vanilla version, as long as the printer is supported.
      - Avahi needs to be manually configured, in order to output the few extra data which is required for an iDevice to recognise it as a AirPrint and list it as a possible printing target.

      Upstream merging shouldn't be too troublesome. Expect AirPort appearing in the next iteration of distros.
      As mentionned elsewhere among the discussion, what would really be needed is a nice interface to help do this configuration. I suspect that openSUSE's YaST will do a nice job here, as usual.

  • by kvvbassboy ( 2010962 ) on Wednesday June 29, 2011 @05:37PM (#36616842)
    Sorry for my ignorance, but I have no idea what this means. And the sentence quoted below from TFA just made my head spin even more.

    With the support for AirPrint, it will now be possible to use an Ubuntu system as a server to allow a printer, that is not compatible with AirPrint, to print using AirPrint.

    So what is AirPrint? Is it software made by Apple which can somehow now run on Ubuntu to support printing over wifi? And how does an incompatible printer suddenly become compatible because of Ubuntu?

    • by h4rr4r ( 612664 )

      So what is AirPrint?
      The service that provides printing to i$stuff

      And how does an incompatible printer suddenly become compatible because of Ubuntu?
      Because it can expose any printer as an airprint device. It basically supplies a generic airprint device, and then prints the data it gets to the printer you already own.

      I am no sure you are aware of this, but there is a new website that can help you with questions like this. It can be found at http://google.com/ [google.com] , all these and many other questions can be answer

    • by Osgeld ( 1900440 )

      its wifi printing over apples BS, it only matters if your an airport user with an apple printer and accessories

      or in other words less than a percentage of your typical apple user cause its on linux and was not installed by a genius

      • its wifi printing over apples BS, it only matters if your an airport user with an apple printer and accessories

        Well, actually, the whole point of TFA is that you can now use it with an AirPrint client (e.g., an iOS device like an iPad, iPhone, or iPod Touch) without the rest of Apple's stack of supporting gadgetry if you have an Ubuntu system and any printer that the Ubuntu system can drive.

        or in other words less than a percentage of your typical apple user cause its on linux and was not installed by a geni

      • by jo_ham ( 604554 )

        It is in fact the total reverse of what you just said. You can now share a non-Airprint compatible printer using a non-Apple machine serving (ie, Ubuntu in this case) so that your iPhone/iPod/iPad can't tell the difference.

        It's hardly surprising, given that Apple uses (and maintains) CUPS and is very fond of zeroconf.

        • by jedidiah ( 1196 )

          ...yet despite this never bothered to include CUPS in PhoneOS directly.

          Instead you have to go through extra uneccessary contortions and proprietary nonsense.

          This Ubuntu patch is for dealing with something that Apple does that is gratuitiously proprietary.

          • by jo_ham ( 604554 )

            Obviously not, since it's trivial to enable for non-Apple devices, and Apple gets to "keep the weight down" on iOS. Have you seen the size of the printer drivers folder in OS X?

            Leave that to the desktop machine, and put something streamlined in iOS. Basing it on CUPS (like their whole print system) just makes it easy to interoperate. "Gratuitously proprietary" would have been to make it use some totally secret, non-standard, very-difficult-to-reverse-engineer protocol, instead of say... zeroconf and CUPS.

            Gu

          • ...yet despite this never bothered to include CUPS in PhoneOS directly.

            You mean unlike Google in Android. Oh, wait....

            But at least there is general support for printing in Android. Wait, what?

          • by node 3 ( 115640 )

            Wow. There's hardly a single thing in this post that isn't 100%, no-questions-about-it, false.

            ...yet despite this never bothered to include CUPS in PhoneOS directly.

            What do you think AirPrint uses? Do you mean that you think Apple should have, instead of making it absolutely *simple* to print to any AirPrint printer, exposed the user to a printer settings panel, and allowed installation of third party drivers, which can take up hundreds of megabytes, on iOS devices?

            Really?

            Instead you have to go through extra uneccessary contortions and proprietary nonsense.

            There is absolutely nothing proprietary about AirPrint. And "extra unnecessary contortions" is the exact

      • Right, because Windows smartphones have printing? Mine don't.

    • AirPrint allows wireless printing from an iOS device to a compatible printer, no drivers or installation needed.

      For older, or incompatible printers, software such as Printopia for Mac allows you to share a printer and 'advertise' it as AirPrint-compatible.

      From what I can tell someone just built something like Printopia for Ubuntu.
    • It's the protocol that advertises printers to iOS over Wifi.

      Basically, allow you to print to a printer hooked up to an Ubuntu PC from your iPod/iPhone/iPad.
    • So what is AirPrint? Is it software made by Apple which can somehow now run on Ubuntu to support printing over wifi? And how does an incompatible printer suddenly become compatible because of Ubuntu?

      AirPrint is a protocol for driving printers over networks, largely intended to allow printing from iOS devices like the iPad or iPhone (it may or may not be usable from other devices, as well.) The Ubuntu software components involved presumably act as a server for AirPrint and then send the actual print job to t

      • by jtara ( 133429 )

        Airprint, like so many Apple services, is a specific configuration of open-standard protocols, APIs, etc. that they've given a a proprietary name to, while trying to convince customers that they've created something unique and proprietary.

        I guess they've judged more of their customers value "unique and proprietary" over "universal". And that those who value the latter "get the joke".

        Other examples of Apple "proprietary" technology that isn't include FaceTime and iMessage.

        I find it amusing when some "hacker"

        • by Qubit ( 100461 )

          Airprint, like so many Apple services, is a specific configuration of open-standard protocols, APIs, etc. that they've given a a proprietary name to, while trying to convince customers that they've created something unique and proprietary.

          While I agree that there might be many Apple services that fit that bill, there are also other ones that have only basic support on things like Ubuntu because the protocols are (AFAIK) truly closed and proprietary, such as AirPlay [wikipedia.org].

          The problem with a lot of these widgety things (whether from Apple or Microsoft or whomever), is that someone buys one of them and then requires all of their underlings (or sidelings, if they're just at the same level in the ladder) to use this item, often by downloading some prop

        • by node 3 ( 115640 )

          Airprint, like so many Apple services, is a specific configuration of open-standard protocols, APIs, etc. that they've given a a proprietary name to, while trying to convince customers that they've created something unique and proprietary.

          Um, no. They generally make a specific *point* of noting that they are using open standards. AirPrint uses two of Apple's own open projects: zeroconf and CUPS.

          Other examples of Apple "proprietary" technology that isn't include FaceTime and iMessage.

          Um... When Apple introduced FaceTime, they made a specific point about how it was built on open standards, and that they were going to fully release the specs soon. It's been over a year now and they still haven't made good on that last part.

          As for iMessage, that's the only example of the bunch where Apple didn't make any mention of it being open. The

          • What do you expect them to do instead? AirPrint won't work with just any zerconf printer. It has to support the AirPrint driver.

            Zeroconf is just a discovery service - it's not a printing protocol.

            • by node 3 ( 115640 )

              What do you expect them to do instead? AirPrint won't work with just any zerconf printer. It has to support the AirPrint driver.

              Zeroconf is just a discovery service - it's not a printing protocol.

              That's exactly my point. In that specific section I was replying to, jtara was talking about zeroconf as though Apple were deliberately breaking/modding/extending/whatever the standard by identifying printers as specifically being AirPrint printers. I was explaining the reason.

    • by DrYak ( 748999 ) on Wednesday June 29, 2011 @07:50PM (#36617878) Homepage

      So what is AirPrint?

      "AirPrint" is just a fancy name for what is basically networked printing using the IPP protocol, with automatic discovery of available printers with zeroconf.

      IPP is simply provided by regular CUPS versions under Linux (nothing new here).
      As mentioned by others, the zeroconf is done by Avahi under linux and a couple of extra fields need to be provided, so an apple device can recognise an avahi-advertised printing queue as "AirPrint".

  • by jtara ( 133429 ) on Wednesday June 29, 2011 @05:42PM (#36616866)

    You just need a properly-configured service file for avahi. There are a couple of fields that are required for Airprint. For reference, here's the printer.service file I've been using. The URF and PDL text records, as well as the tag are needed to keep Airprint happy.

        Samsung CLP-550 on %h
       
            _ipp._tcp
            _universal._sub._ipp._tcp
            631
            txtver=1
            qtotal=1
            rp=printers/CLP-550
            ty=Samsung CLP-550 Printer
            adminurl=http://colossus.local:631/printers/CLP-550
            note=Samsung CLP-550
            priority=0
            product=virtual Printer
            printer-state=3
            printer-type=0x801046
            Transparent=T
            Binary=T
            Fax=F
            Color=T
            Duplex=T
            Staple=F
            Copies=T
            Collate=F
            Punch=F
            Bind=F
            Sort=F
            Scan=F
            pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/urf
            URF=W8,SRGB24,CP1,RS600
       

    • by jtara ( 133429 )

      Oops, sorry, slashdot ate my XML:

      <?xml version="1.0" standalone='no'?><!--*-nxml-*-->
      <!DOCTYPE service-group SYSTEM "avahi-service.dtd">
      <service-group>
      <name replace-wildcards="yes">Samsung CLP-550 on %h</name>
      <service>
      <type>_ipp._tcp</type>
      <subtype>_universal._sub._ipp._tcp</subtype>
      <port>631</port>
      <txt-record>txtver=1</txt-record>

      • by Anonymous Coward
        A CmdrTaco ate your XML?
      • by jrumney ( 197329 )
        What CUPS filter are you using for image/urf? FWIW, I have CUPS working with my iPad without the URF stuff.
  • FYI, Cloud Print service:

    $ git clone https://github.com/armooo/cloudprint.git
    Cloning into cloudprint...
    remote: Counting objects: 109, done.
    remote: Compressing objects: 100% (107/107), done.
    remote: Total 109 (delta 47), reused 0 (delta 0)
    Receiving objects: 100% (109/109), 31.77 KiB, done.
    Resolving deltas: 100% (47/47), done.

    $ cd cloudprint
    $ root python setup.py install
    [snip]

    $ root pip-python install daemon
    Downloading/unpacking daemon
    Running setup.py egg_info for package daemon

    Installing collected packages:
    • by Enry ( 630 )

      How can you print to a Cloud Print printer from Linux? I recently bought a HP printer that has Cloud Print built in and I can print from my Android devices just fine. Printing from my work desktop to home would be nice without having to set up SSH port forwarding or whatnot.

  • by Anonymous Coward

    Sounds yummy for some reason.

  • The good thing about this is that it seems Apple has based AirPrint on existing standards implemented in Free tools. What's odd is that other people are adding this functionality on to CUPS rather than it being released as part of CUPS itself. Apple bought CUPS from Easy Software Products. Though Apple has kept the CUPS going as a Free Software project mostly under GPL and LGPL, they can keep additions they write proprietary if they choose.

    • by node 3 ( 115640 )

      The main reason this isn't in CUPS proper is that it's not even in CUPS on the Mac. This is presumed to be due to a lawsuit (or threat of lawsuit) from someone who holds a patent on network printing that caused Apple to pull AirPrint sharing on OS X at the last minute. There's a small workaround available, but Apple seems to think it's not a feature they can legally provide themselves.

  • Ubuntu is rapidly aspiring to become as proprietary as OS X. That, and an unhealhy obsession with all this Social bullshit.

UNIX enhancements aren't.

Working...