JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Configuring and Managing Printing in Oracle Solaris 11.1     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Setting Up and Administering Printers by Using CUPS (Overview)

Introduction to CUPS

CUPS Processes

CUPS Services

Setting Up Printers and Print Queues by Using CUPS

Managing Print Requests by Using CUPS

2.  Setting Up Printers by Using CUPS (Tasks)

3.  Administering Printers by Using CUPS Print Manager (Tasks)

Index

Introduction to CUPS

CUPS is a modular and open-source printing system that uses the Internet Printing Protocol (IPP) as the basis for managing printers, print requests, and print queues. CUPS supports network printer browsing and PostScript Printer Description-based printing options. CUPS also provides a common printing interface across a local network.

IPP is the standard protocol for printing on a network. Similar to other IP-based protocols, IPP can be used locally or over the Internet to communicate with remote printers. Unlike other protocols, IPP also supports access control, authentication, and encryption, making it a much more capable and secure printing solution than other protocols. IPP is layered on top of the Hypertext Transfer Protocol (HTTP). HTTP is the basis for web servers that are on the Internet. When IPP is in use, you can verify printer or server status information and manage printers and print jobs through a browser. CUPS is a complete IPP/1.1 based printing system that provides basic, digest, and local certificate authentication and user, domain, or IP-based access control.

CUPS includes support for dynamic printer detection and grouping. CUPS replaces the lpr command with its own command and the LPD printer drivers with its own print drivers. CUPS is similar to the LP print service in that it uses PostScript format as its underlying language for page descriptions. Because CUPS provides both the System V and Berkeley print commands, users and applications can print to CUPS queues with little or no changes to the options that were previously used.

Lastly, CUPS includes application-level interfaces that are used by many open-source applications and toolkits. On the back end, CUPS includes the necessary interfaces for processing the annotated raster image format (RIP). Support for this format and these interfaces is integrated into other critical open-source print driver technologies.

CUPS is the default and the only print service in the Oracle Solaris release, replacing the LP print service. Printing in the Oracle Solaris operating system (OS) by using CUPS is managed by using the following:

CUPS Processes

For CUPS to manage your printing environment, you must first create a print queue under CUPS. The print queue might point to a printer that is connected directly to your system through a USB port or a parallel port. However, the queue can also point to a printer on the network, a printer on the Internet, or multiple printers, depending on how you have configured the application. Regardless of where the queue points, the print queue is treated like any other printer.

CUPS Services

CUPS services are provided through two new Service Management Facility (SMF) services:

The Printer Management profile and the solaris.smf.manage.cups authorization enable users who do not have a root account to manage these SMF services.

Setting Up Printers and Print Queues by Using CUPS

For CUPS to manage your printing environment, you must first create a print queue under CUPS.

You can create a new print queue in one of the following ways:

Managing Print Requests by Using CUPS

Every time you submit a print request, CUPS creates a print job that contains information about the print queue to which you are sending the request, the name of the document, and the page description. Print jobs are numbered, for example, queue-1, queue-2, so that you can monitor each print job as it is printed or cancel the print job, if necessary.

When a print request is submitted, CUPS does the following:

  1. Determines which programs to use (filters, print drivers, port monitors, and back-end programs).

  2. Runs these programs to complete the print job.

  3. Removes the job from the print queue when the print job is complete, and then prints the next print job that is submitted. You can configure CUPS to notify you when a print job is complete or if any errors occur during printing.