Configuring and Managing Printing in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014

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

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.