Skip Navigation Links | |
Exit Print View | |
Transitioning From Oracle Solaris 10 to Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library |
1. Transitioning From Oracle Solaris 10 to an Oracle Solaris 11 Release (Overview)
2. Transitioning to an Oracle Solaris 11 Installation Method
6. Managing Software and Boot Environments
7. Managing Network Configuration
8. Managing System Configuration
Comparing Oracle Solaris 10 System Configuration to Oracle Solaris 11 System Configuration
System Configuration Changes and Migration of System Configuration to SMF
System Console, Terminal Services, and Power Management Changes
System Console and Terminal Services Changes
Power Management Configuration Changes
System Configuration Tools Changes
System Registration and System Support Changes
System Boot, Recovery, and Platform Changes
GRUB, Firmware, and Disk Labeling Changes
How to Boot From a Backup BE for Recovery Purposes
How to Boot the System For Recovery Purposes
Boot, Platform, and Hardware Changes
Printer Configuration and Management Changes
Removal of the LP Print Service
How to Set Up Your Printing Environment After Installing Oracle Solaris 11
Internationalization and Localization Changes
Locale and Time Zone Configuration Changes
10. Managing Oracle Solaris Releases in a Virtual Environment
The legacy LP print service has been replaced by the Common UNIX Printing System (CUPS). CUPS is a modular, 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.
The following important changes are a result of the removal of the LP print service:
Solaris Print Manager is no longer available in the desktop. CUPS Print Manager replaces this tool. See Setting Up Printers by Using CUPS Print Manager in Oracle Solaris Administration: Common Tasks.
Several LP print commands, files, and services are no longer available. Some LP print commands, for example lp, lpadmin, lpc, lpr are still available. However, these commands are now managed by CUPS. For a complete list of the commands, services, and files that have been removed, refer to Removal of Legacy System Management Commands, Tools, Services, and Files.
Printer configuration that is stored in the NIS naming service in Oracle Solaris 10 is not used by CUPS. CUPS auto-discovers printers on a network, enabling you to print to these printers without any manual configuration. Administrators can share network printers that are configured by using CUPS by turning on the sharing feature. See How to Unshare or Share a Printer in Configuring and Managing Printing in Oracle Solaris 11.1.
In Oracle Solaris 10 and previous releases, the /etc/printers.conf file is where details about all of the printers that are set up by using the LP print service is stored. In Oracle Solaris 11, this file is no longer generated after a fresh installation. Any information about printers that were configured by using lp print commands is removed. The resulting behavior is as though these printers were never configured on the system. Any previously configured printers must be reconfigured by using CUPS. Note that you do not need to delete existing printers prior to reconfiguring them. For information about setting up your printing environment to work with CUPS, see How to Set Up Your Printing Environment After Installing Oracle Solaris 11.
Printers that are configured on a per-user basis in the ~/.printers file no longer work. Printer configuration is now solely managed by using CUPS. The default printer can be set on a per-user basis, by setting either the LPDEST or PRINTER environment variables, or by using the new lpoptions command. The lpoptions command creates an ~/.lpoptions file that has the default printer entry listed within that file. By default, all print jobs are directed to this printer.
List specific options for a printer as follows:
# lpoptions -l printer-name
Set the default destination or instance for the default printer by using the -d option:
# lpoptions -d printer-name
See Setting a Default Printer in Configuring and Managing Printing in Oracle Solaris 11.1.
The lp entry in the /etc/passwd file is now as follows:
lp:x:71:8:Line Printer Admin:/:
The lp entry in the /etc/group file remains as it is in previous releases.
Use the following procedure to set up your printing environment to work with CUPS after a fresh installation.
# svcs -a | grep cups/scheduler # svcs -a | grep cups/in-lpd
# svcadm enable cups/scheduler # svcadm enable cups/in-lpd
# pkg info print/cups/system-config-printer
# pkg install print/cups/system-config-printer
Next Steps
For instructions, see Setting Up and Administering Printers by Using CUPS Command-Line Utilities in Oracle Solaris Administration: Common Tasks.