Overview of Linux Printing Systems
Today, the PostScript language stays the primary interface for printing in the UNIX world. All major applications will output at least generic PostScript that will then be processed by the printing system until it gets printed. This is obviously very limited, because applications have no unified way of querying printing features, or even know if a job printed correctly. Very few applications are able to use PPD files to access printer features, although StarOffice and OpenOffice are notable exceptions.
But the situation is improving. For instance, CUPS provides a basic C API that allows applications to be integrated more easily with their printing system. This API includes functions to communicate with a CUPS daemon through IPP, as well as functions to read and parse PPD files, and thus gather detailed information about printers and their capabilities. This still stays quite limited for the application developer, as this only works with CUPS and similar IPP servers.
On the free software side, the Gnome and KDE desktop projects now both include middle-level layers to facilitate printing : KDEPrint and Gnome-Print. These frameworks propose to provide a unified APIs to the applications, by abstracting the underlying printing system.
Things are much better than they were just a few years ago with the emergence of more advanced printing systems. As this is a subject essential to enterprises, we are beginning to see support from big name vendors like HP or IBM that strive to improve on this infrastructure.
Moreover, the Free Standards Group is working on the OpenPrinting project, whose stated goal is to define the next generation of the printing infrastructure for the Linux operating system. Gathering many experts from the industry, this workgroup is defining APIs and standards that will bring Linux up to speed with its competitors.
Stephane Peter is a senior software engineer working for Codehost, Inc in Culver City, CA. When not playing with printing systems, he can be found playing his guitar or biking around in Southern California.
email: speter@codehost.com
- « first
- ‹ previous
- 1
- 2
- 3
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Designing Electronics with Linux
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Dynamic DNS—an Object Lesson in Problem Solving
- Linux Systems Administrator
- Using Salt Stack and Vagrant for Drupal Development
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Reply to comment | Linux Journal
1 hour 16 min ago - Dynamic DNS
1 hour 50 min ago - Reply to comment | Linux Journal
2 hours 48 min ago - Reply to comment | Linux Journal
3 hours 38 min ago - Not free anymore
7 hours 40 min ago - Great
11 hours 28 min ago - Reply to comment | Linux Journal
11 hours 36 min ago - Understanding the Linux Kernel
13 hours 50 min ago - General
16 hours 20 min ago - Kernel Problem
1 day 2 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?



Comments
Also dont forget about xprint
Another alternative printing system based on X
http://xprint.mozdev.org/
Re: ESP Print Pro
Hi, I bought a copy of ESP Print Pro in 1999, to help support this effort (I don't know C C++), I'm glad that CUPS has flourished.
Re: Overview of Linux Printing Systems
Also seems to have missed a very simple system that does not even require you to have root (admin) privliges.
A small overview http://pdq.sourceforge.net:
Throw away lpr, lp, lpq, lpstat, and lprm, and start planning your vacation! Pdq is guaranteed to be the most straightforward, flexible print subsystem you have ever used, or your money back! (Actually pdq is free software, distributed without warranty.)
Features:
* modular driver and interface support
* jobs can be monitored through completion
* job status can be checked after completion
* users can only print files of declared types
* users can define their own printers
* multitasking, with no queues to get clogged
* scripts can be embedded in the rc files
* custom command-line options
* root privileges not required
This is amazing stuff, I have been using it for years in all kinds of companies/schools/home environments.
Why do it the hard way, when it can be so simple?
Eric Schabell
PDQ is not wide-spread enough
While I agree with your points, and was fully aware of PDQ when I started writing this article, I chose not to mention it and instead focus on the printing systems that are commonly bundled on most Linux distributions.
AFAIK, PDQ used to be offered as a choice in earlier Mandrake distributions, but I think most distros these days just offer CUPS (or sometimes LPRng).
Re: Overview of Linux Printing Systems
Agreed. I have been using pdq for the past year with a variety of printers and it has performed admirably while maintaining simplicity. I cannot understand why this application does not get more recognition.
Re: Overview of Linux Printing Systems
Why anyone is still using anything other than CUPS is beyond me.
While CUPS itself is listed as relatively new, I've been using it for at least 4 years, so in comparison to lpr, it's new.
The browsing functionality of IPP allows users with laptops to instantly see what printers are available on the network, and adding a new printer to everyone's desktop is as easy as adding it to one location.
Support for Postscript-capable printers is very well done, and there's always foomatic and other drivers for inkjet and other non PS printers.
In addition is the support for SSL encryption and authentication, if desired. This can limit who prints, but could allow you to print from anywhere on the Internet.
The only downside to IPP is that Windows does not support browsing, nor does it support encryption or authentication. You can, however, have Samba export printers listed in CUPS and print that way.
Re: Overview of Linux Printing Systems
> Support for Postscript-capable printers is very well done
It could be much better I think. It is not possible to define per-printer PostScript filters without modifying the PPD. If one uses the web interface to modify a configuration, your filter additions get overwritten and you have to add all your diffs back into the PPD.
That being said, CUPS still has many nice attributes. gnulpr is another project I keep tabs on. (ppdfilt is a nice little utility.)
Re: Overview of Linux Printing Systems... You Forgot One....
Try TurboPrint (http://www.turboprint.de/english.html) I've used it for Client sites that have wierd printer configurations or international printers. It's as easy to use as the HTML GUI for CUPS and has plenty of conf./drivers.
It's a commercial product but there is a free version.
Cheers,
Nick
Re: Overview of Linux Printing Systems
Excuse the word but what a lot of wank ? - you can either produce an O/S that has universal printing abilaties or you can not - all this advance talk about it is just a failing of the volanteer code writers who can only do half a job - as an end users I do not care for the excuses (the manufacture has not relesed the code) - it either works or it does not work - complcated solutions are un-acceptable. I can either download a bianary installer as a RPM, DEB or tar.gz and have it work imediately or it is not worth bothering with the O/S.
Raise your standards - Computing in todays world is for idiots - not for Geeks
Re: Overview of Linux Printing Systems
If u want something to work just right out of the box make sure u pay for it. go for some proprietary os that does that and quit whining about oss not meeting YOUR standards. Oss will reach its destination once its ready. Rather than giving opinion based on facts don't whine on things. Remeber that
Re: Overview of Linux Printing Systems
BITE ME, luser.
Then you don't use Windows either, do you?
because when I did Win support on my last job the printing almost never worked right out of the box.
Re: Overview of Linux Printing Systems
The printing abilities exist, it's just the user interfaces that suck.
I must ask the question: Did you even read that?
Stuff doesn't work immediately anywhere. I don't know if you've noticed, but you're supposed to know a little bit about your system even when installing Mac applications. Grow up.
As for standards; They're already almost so high as to above everyone's heads. It takes time to implement them, buddy; we're almost there.
Cups/Linux as Windows replacement
I work in a small educational institution and have been trying to slowly integrate linux into an all Win98 environment. Printing remains one of the biggest obstacles for the extremely NON-technical students (its a religious institution.) I had thought that Cups would solve this problem but I have a major problem with canceling print jobs. Cups works great as long as everyone does everything just right. However, if someone has turned the printer off or just wants to cancel the job because s/he forgot to change something in the document then all hell breaks loose. Either the printer starts spewing junk or refuses to quit printing even though the Cups web interface indicates the jobs have been cleared. The only solution for a none tech person is a reboot - yuck. I have tried kups but the results are the same. This is all that is holding me back from employing it as a print server. Any thoughts anyone?
Re: Cups/Linux as Windows replacement
There may be a parellel process that you can kill instead of rebooting. This happens because the "job" has already left the CUPS queue and been sent to the printer port. Killing the parellel process with the printer off should fix the issue. You do not need to reboot linux machines!
Re: Cups/Linux as Windows replacement
Printing remains one of the biggest obstacles for the extremely NON-technical students (its a religious institution.)
What does that have to do with anything? Are you saying that you can't be religious and a geek at the same time?
Re: Cups/Linux as Windows replacement
Gee, there's always someone with a chip on the old shoulder.