Team LiB
Previous Section Next Section

Chapter 12: Printing

Overview

The printing process on Unix works roughly as follows:

  1. An application generates a document to print.

  2. You or the application sends the document to a print server by means of a print client program.

  3. The print server puts the document on a queue.

  4. When it is the document's turn to print, the print server sends the document through a print filter program.

  5. The print filter changes the document to make it acceptable to a printer.

  6. If the printer does not understand PostScript (the standard document format in Unix), another print filter must rasterize the document into a bitmap form that the printer understands.

  7. The print server sends the result to the printer device.

Making your printer work on a Unix system can be a trying experience. There are several problems:

With all of this said, you may not even want to bother to learn how printing works. To be perfectly honest, if your distribution's printer setup tool works for you, it may not be worth going any further, as long as you know how to firewall the print server's network port. However, when things don't work according to plan, the information in this chapter will help you find out where the problem lies.

This chapter first explains the pieces of the printing system on Linux and then shows you how to put everything together using CUPS (Common Unix Printing System). The best place to start is the print code that applications create, PostScript.


Team LiB
Previous Section Next Section