System Administration Guide, Volume 2

How to Start Solaris Print Manager

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

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

    • 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 on the printer 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 NIS, NIS+, or NIS+ (xfn) database:

      • 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 do the following:

        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 host_name
          
        4. Log in to the system that runs Solaris Print Manager as superuser. Depending on your NIS+ configuration, you might also need to run the /usr/bin/keylogin command. See keylogin(1) for more information.

      • If your name service is NIS+ (xfn), you might need to do the following:

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

        2. Identify the group that owns the federated naming table:


          # niscat -o fns.ctx_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 fns.ctx_dir.<domain> file.


          # nisgrpadm -a admin.domain_name.com host_name
          
        4. Log in to the system that runs Solaris Print Manager as superuser. Depending on your NIS+ configuration, you might also need to run the /usr/bin/keylogin command. See keylogin(1) for more information.

    • Have the SUNWppm package installed.


      # pkginfo | grep SUNWppm
      system      SUNWppm        Solaris Print Manager
  2. Start Solaris Print Manager by selecting Printer Administration from the Tools option of the CDE Workspace menu. Or, select the Applications menu from the CDE front panel, and click the Printer Administration icon in the Application Manager's System_Admin window. You can also start Solaris Print Manager by using 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, set the DISPLAY environment variable, and then start Solaris Print Manager:


    # DISPLAY=hostname: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:

    1. Superuser (root) might not have permission to connect to the Xserver process on the local or remote system. If this happens, type this command:


      $ xhost +hostname
      $ su
      (Enter root's password)
      # /usr/sadm/admin/bin/printmgr &
      

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

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


      $ pkginfo | grep SUNWppm
      

  3. Select the name service used in your network from the Select Naming Service window. Choices are: NIS+ (xfn), 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.