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)

2.  Setting Up Printers by Using CUPS (Tasks)

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 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 Network Printers by Using CUPS Commands

How to Add a Network Printer on a Different Subnet by Using CUPS Commands

How to List the Available Drivers and Devices

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

3.  Administering Printers by Using CUPS Print Manager (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 2-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, be sure 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.