System Administration Guide: Solaris Printing

ProcedureHow to Start Solaris Print Manager

  1. Verify that the following prerequisites are met. To use Solaris Print Manager, you must meet the following requirements:

    • Have a bitmapped display monitor, such as the standard display monitor that comes with a Sun workstation. Solaris Print Manager can be used only on a system with a console that is a bitmapped screen.

    • Be running an X Window System, such as the GNOME Desktop Environment, or be using the remote display feature on a system running an xhost environment.

    • Be logged in as superuser or an equivalent role on the print server to install an attached or network printer, or on the print client to add access to a printer.

    • Have the required access privileges for managing the LDAP, NIS, or NIS+ database.

      • If your naming service is LDAP, you must have the following items.

        • The distinguished name (DN) of a printer administrator and password in the directory.

        • The name or IP address of an LDAP server hosting the administered domain. This information is usually displayed and selected automatically.

      • If your naming service is NIS, you must have the root password for the NIS master.

      • If you naming service is NIS+, you might need to complete the following steps.

        1. Log in to the NIS+ master as superuser.

        2. Identify the group that owns the printers table.


          # niscat -o printers.org_dir.domain-name.com
                      .
                      .
                      .
                   Group		: "admin.domain-name.com"
        3. If necessary, add the system that runs Solaris Print Manager to the NIS+ admin group authorized to update the printers.org_dir.<domain> file.


          # nisgrpadm -a admin.domain-name.com hostname
          
        4. As superuser, log in to the system that runs Solaris Print Manager. Your NIS+ configuration might make it necessary to run the /usr/bin/keylogin command. For more information, see the keylogin(1) man page.

    • Have the SUNWppm package installed.


      # pkginfo | grep SUNWppm
      system      SUNWppm        Solaris Print Manager
  2. Start Solaris Print Manager by using one of the following methods:

    • Select the Solaris LP Print Manager in the GNOME Desktop.

      System -> Administration -> Solaris LP Print Manager

    • Type the following command:


      # /usr/sbin/printmgr &
      

      Note –

      You can also start Solaris Print Manager by using the original path of the printmgr command:


      # /usr/sadm/admin/bin/printgr &
      

      The Select Naming Service window overlays the Solaris Print Manager main window.

    If Solaris Print Manager fails to start from the GNOME Desktop menu or from the command line, check the following:

    • Superuser (root) might not have permission to connect to the X-server process on the local system or the remote system. In this case, type the following:


      $ ssh -Xhostname
      $ su
      (Enter root's password)
      # /usr/sbin/printmgr &
      

      Replace hostname with either the local system name or the remote system name before restarting Solaris Print Manager.

    • Verify that the SUNWppm package is installed on the local system or the remote system.


      $ pkginfo | grep SUNWppm
      
  3. Select the naming service that is used in your network from the Select Naming Service window. The choices are: LDAP, NIS, NIS+, or files.

  4. Check that the domain name is correct.

    The Solaris Print Manager main menu is displayed after the naming service is loaded successfully.