Starting Solaris Print Manager

To start Solaris Print Manager, either select Printer Administrator from the CDE Workspace menu or start the Print Manager from the command line. See the following procedure for details.

How 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 CDE environment, or be using the remote display feature on a system running an xhost environment.

    • Be logged in as superuser or assume 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 name 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 name service is NIS, you must have the root password for the NIS master.

      • If you name 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 Printer Administrator from the Tools option of the CDE Workspace menu.

    • Select the Applications menu from the CDE front panel. Then, click the Printer Administrator icon in the Application Manager's System Admin window.

    • Type the following command.

      # /usr/sadm/admin/bin/printmgr &
      

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

    • If you want to use Solaris Print Manager from a remote system, use the xhost command on the local system to give the remote system display access.

      # xhost +
      remote-system
      

      Then log in to the remote system, set the DISPLAY environment variable, and start Solaris Print Manager:

      # DISPLAY=
      local-system:display-number
      # export DISPLAY
      # /usr/sadm/admin/bin/printmgr &
      

    Note

    If Solaris Print Manager fails to start from the CDE 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:

      $ xhost +
      hostname
      $ su
      (Enter root's password)
      # /usr/sadm/admin/bin/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 name 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 name service is loaded successfully.