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

Setting Up Your Printing Environment to Work With CUPS

In previous Oracle Solaris releases, the LP print service was the default print service. Starting with the Oracle Solaris 11 release, the LP print service is removed. The default and only available print service in Oracle Solaris 11 is CUPS. If you are performing a fresh installation of Oracle Solaris 11 and have any existing printers that were configured by using the LP print service, you need to reconfigure those printers by using CUPS after the installation.

If you are upgrading from Oracle Solaris 11 Express to Oracle Solaris 11, see How to Set Up Your Printing Environment.

Switching to the CUPS print environment has resulted in the following changes:

How to Set Up Your Printing Environment

To transition your current printing environment to work with CUPS, you must reconfigure your existing printers.

  1. Ensure that the cups/scheduler and the cups/in-lpd SMF services are online.
    $ svcs -a | grep cups/scheduler
    online 18:18:55 svc:/application/cups/scheduler:default
    
    $ svcs -a | grep cups/in-lpd
    online Sep_29 svc:/application/cups/in-lpd:default
  2. To enable these services, type the following commands:
    # svcadm enable cups/scheduler
    # svcadm enable cups/in-lpd
  3. Determine whether the printer/cups/system-config-printer package is installed on your system.
    $ pkg info print/cups/system-config-printer
    • If the package is already installed, configure your printer by using CUPS.

      Printers can be configured by using either the lpadmin command, or by using the CUPS web browser interface at http://localhost:631, or by using CUPS Print Manager, which is accessible in the desktop.

    • If the package is not installed, install the package.
      $ pkg install print/cups/system-config-printer

See Also

Additional CUPS documentation can be found at:

Next Steps

You can now configure printers by using CUPS. You can set a default printer by specifying either the LPDEST or PRINTER environment variables, or by using the lpoptions command. For instructions, see How to Set a Default Printer at the Command Line and Example 15-6.

Setting Up Your Printing Environment for an Upgrade

If you are running unmodified Oracle Solaris 11 Express, CUPS is already the default print service. If you upgrade to Oracle Solaris 11, you do not need to reconfigure any existing print queues by using CUPS. However, if you switched to the LP print service and configured printers by using the lp print commands, you must reconfigure these existing printers by using CUPS after the upgrade.


Caution

Caution - If you are running the LP print service, ensure to back up your /etc/printers.conf file before upgrading, as the upgrade process removes this file.


To determine which print service is enabled on your system, type the following command:

$ /usr/sbin/print-service -q

Reconfigure your existing printers by using any one of the methods that is described in this chapter.