JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: Common Tasks     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

About This Book

1.  Locating Information About Oracle Solaris Commands

2.  Managing User Accounts and Groups (Overview)

3.  Managing User Accounts and Groups (Tasks)

4.  Booting and Shutting Down an Oracle Solaris System

5.  Working With Oracle Configuration Manager

6.  Managing Services (Overview)

7.  Managing Services (Tasks)

8.  Using the Fault Manager

9.  Managing System Information (Tasks)

10.  Managing System Processes (Tasks)

11.  Monitoring System Performance (Tasks)

12.  Managing Software Packages (Tasks)

13.  Managing Disk Use (Tasks)

14.  Scheduling System Tasks (Tasks)

15.  Setting Up and Administering Printers by Using CUPS (Tasks)

Introduction to CUPS

CUPS Processes

CUPS Services

Setting Up Printers and Print Queues by Using CUPS

Managing Print Requests by Using CUPS

Setting Up Your Printing Environment to Work With CUPS

How to Set Up Your Printing Environment

Setting Up Your Printing Environment for an Upgrade

Setting Up and Administering Printers by Using CUPS Command-Line Utilities (Task Map)

Setting Up and Administering Printers by Using CUPS Command-Line Utilities

CUPS Command-Line Utilities

How to Set Up a Printer by Using the lpadmin Command

Setting a Default Printer

How to Set a Default Printer at the Command Line

How to Print to a Specified Printer

How to Verify the Status of Printers

How to Print a File to the Default Printer

How to Delete a Printer and Remove Printer Access

Setting Up and Administering Printers by Using the CUPS Web Browser Interface (Task Map)

Setting Up and Administering Printers by Using the CUPS Web Browser Interface

Requirements for Using the CUPS Web Browser Interface

Troubleshooting Issues With Accessing the CUPS Web Browser Interface

Print Administration Tasks

About the Administration Tab

About the Printers Tab

How to Add a New Printer

About the CUPS Print Manager GUI

Starting CUPS Print Manager

Setting Up Printers by Using CUPS Print Manager (Task Map)

Setting Up Printers by Using CUPS Print Manager

Local Server Configuration

Remote Server Configuration

How to Configure CUPS to Administer Remote Print Queues

Selecting a Print Device

How to Set Up a New Local Printer

Administering Printers by Using CUPS Print Manager (Task Map)

Administering Printers by Using CUPS Print Manager

Configurable Printer Properties

How to Modify the Properties of a Configured Printer

How to Rename a Printer

How to Copy a Printer Configuration

How to Delete a Printer

How to Unshare or Share a Printer

How to Disable or Enable a Printer

How to Manage Print Jobs for a Specified Printer

16.  Managing the System Console, Terminal Devices, and Power Services (Tasks)

17.  Managing System Crash Information (Tasks)

18.  Managing Core Files (Tasks)

19.  Troubleshooting System and Software Problems (Tasks)

20.  Troubleshooting Miscellaneous System and Software Problems (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 login 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.