Slashdot Mirror


Apple Releases CUPS 2.0

kthreadd writes: 15 years after the release of CUPS 1.0, Apple has now released version 2.0 of the printing system for GNU/Linux and other Unix-style operating systems. One of the major new features in 2.0 is that the test program for ippserver now passes the IPP Everywhere self-certification tests. Also, they've made an interesting blog post looking at the past and future of printing. Since the first major release in 1999, printing has become much more personal. Printer drivers are going away, and mobile usage is now the norm."

9 of 178 comments (clear)

  1. OpenSSL support dropped... by Anonymous Coward · · Score: 1, Informative

    Dafuq with dropping OpenSSL support in favor of GnuTLS only?? Does somebody think GnuTLS never had a single vulnerability?

    1. Re:OpenSSL support dropped... by uglyduckling · · Score: 3, Informative

      Calm down, GnuTLS supports SSL, they've just decided that they're happier using GnuTLS as their encryption backend.

    2. Re:OpenSSL support dropped... by kthreadd · · Score: 3, Informative

      GnuTLS is just one of the supported TLS toolkits. It uses the Security framework on OS X, and SChannel on Windows.

  2. Re:Wait... by RR · · Score: 5, Informative

    Apple is not the developer of CUPS. Apple bought CUPS back in 2007 and hired its main developer.

    CUPS is an example of the sort of hairy mess that open-source developers don't like to deal with, like OpenSSL. It was the inspiration for Eric Raymond (the main guy of the Open Source movement) to scold the OSS community back in 2004. I think Eric Raymond's ire is misplaced; CUPS was uniquely horrible back then. But printing in Unix has always been bad, and CUPS made it much better than before, so everybody standardized on it.

    --
    Have a nice time.
  3. Re:Web server for printing... by Anonymous Coward · · Score: 5, Informative

    Because it makes the printer a standalone computer and allows usage without the need of any extra driver, therefore not only your mac/pc but any smartphone, game console, electric car, smart rice cooker, etc can use it without support from the actual printer manufacturer. That is particular important as the number of computing platforms is increasing, and the cost to support every single one of them is not small. We've came in to an age that even a dollar ARM cortex M3 CPU can host a web server. Why not use this abundant extra computing power? Security? The incompetence with computers of strangers is not my concern.

  4. Re:Where? by uglyduckling · · Score: 3, Informative

    It's a classic 'responsive' layout that probably looks great at standard widths, but in between weird things happen, such as buttons just disappearing. I've edited many Wordpress themes that have this issue and I've been generally astonished that developers think that it's OK for UI elements to just disappear. It's also stupid that the CUPS website has their download button only appear as a top menu item and as a 'call to action' type button. It should also be there as a standard anchor in paragraph text since it's kind-of important.

  5. Re:Web server for printing... by fisted · · Score: 3, Informative

    not exactly, the web interface is just secondary, mostly because it doesn't allow for automation.
    The canonical way are lpstat, lpadmin, lpoptions and friends

  6. Re:Wait... by UnknowingFool · · Score: 5, Informative

    No. If Apple had developed it, it would not have had any command-line interface except for XML files and the "defaults" program, its interfaces would have been proprietary to Apple,

    Yes that's why LLVM, Clang, OpenCL, Zero-Configuration, and WebKit only works on Apple machines.

    and it would have been even more confusingly documented.

    Yes because all open source software is meticulously documented.

    It would never have become widely adopted across the Unix world, partly because Apple would not have chosen GPLv2.

    Yes Apple would never choose GPLv2 unlike all the other GPLv2 software they've chosen to use.

    CUPS was widely used before Apple bought it. Apple can't turn it into an Apple-like program without causing a user revolt, so it's still very much like how it was before Apple bought it.

    Yes Apple is EVIL for not completely changing the software they own to be proprietary and they are also EVIL for forking software they didn't own (WebKit). Face it folks, Apple can do no right.

    --
    Well, there's spam egg sausage and spam, that's not got much spam in it.
  7. Re:Wait... by printman · · Score: 4, Informative

    IPP doesn't use XML, it uses a (flat) binary message encoding. I imagine that had IPP been developed a few years later things would have been different... And while it definitely supports what is needed in the enterprise, it also satisfies the consumer space - ~500 million printers in service today (from consumer inkjets to big iron office copiers) support IPP, as does *every* consumer and enterprise computer and mobile device (billions of devices). IPP scales well.

    The problem with LPRng was that it was a mess of scripts and hacks to make a variety of printers work. Every "driver" worked differently, and (having spent a fair amount of time with it 20 years ago) making it all work without an expert supporting it was basically impossible. It continued to use an extended version of the LPD protocol (which has nothing other than an informative RFC to document it, with most implementations varying from the RFC in some way) and did not address some pretty basic security issues like hiding job information from other users.

    Back in 1998 there was little support for standard languages or doing a proper protocol so that you could monitor a printer's state or cancel a job. Vendors used proprietary languages and protocols to lock you into their drivers, their platform, their products. The whole point of CUPS was to define a standard interface with standard options for drivers while providing a better security model. Yes, that did make it more complicated than LPD/LPRng, but that complexity was needed since printing is *hard* and the software needed to support it is non-trivial. IPP was chosen as the underlying protocol and model because it offered everything needed from regular users to enterprise.

    Ultimately CUPS succeeded because it allowed people to print without becoming experts. It allowed Linux distributors to actually support printing, and for printer manufacturers and third parties to provide drivers that "just worked". And it did it using public standards and the very UNIX-y interface of piped commands.

    While CUPS continues to carry some old baggage around to keep supporting old printers, the day will come when that is no longer necessary and a leaner version (possibly based on the ippserver code) will be able to replace it. Today the economics favor printers implementing common, open standards so that all platforms can support them without extra, expensive development. Within a few years, it should be possible to retire printer drivers entirely.

    --
    I print, therefore I am.