Solaris Trusted Extensions Administrator's Procedures

ProcedureHow to Enable a Trusted Extensions Client to Access a Printer

Initially, only the zone in which a print server was configured can print to the printers of that print server. The system administrator must explicitly add access to those printers for other zones and systems. The possibilities are as follows:

Before You Begin

A print server has been configured with a label range or a single label, and the printers that are connected to it have been configured. For details, see the following:

You must be in the System Administrator role in the global zone, or be able to assume the role.

  1. Complete the procedures that enable your systems to access a printer.

    To use the Print Manager instead of the lpadmin command, see Example 21–1.

    • Configure the global zone on a system that is not a print server to use another system's global zone for printer access.

      1. On the system that does not have printer access, assume the System Administrator role.

      2. Add access to the printer that is connected to the Trusted Extensions print server.


        $ lpadmin -s printer
        
    • Configure a labeled zone to use its global zone for printer access.

      1. Change the label of the role workspace to the label of the labeled zone.

        For details, see How to Change the Label of a Workspace in Solaris Trusted Extensions User’s Guide.

      2. Add access to the printer.


        $ lpadmin -s printer
        
    • Configure a labeled zone to use another system's labeled zone for printer access.

      The labels of the zones must be identical.

      1. On the system that does not have printer access, assume the System Administrator role.

      2. Change the label of the role workspace to the label of the labeled zone.

      3. Add access to the printer that is connected to the print server of the remote labeled zone.


        lpadmin -s printer
        
    • Configure a labeled zone to use an unlabeled print server for printer access.

      The label of the zone must be identical to the label of the print server.

      1. On the system that does not have printer access, assume the System Administrator role.

      2. Change the label of the role workspace to the label of the labeled zone.

        For details, see How to Change the Label of a Workspace in Solaris Trusted Extensions User’s Guide.

      3. Add access to the printer that is connected to the arbitrarily labeled print server.


        $ lpadmin -s printer
        

Example 21–1 Using the Print Manager to Enable Printer Access

Rather than run the lpadmin command, choose the Add button from the Print Manager. The Print Manager must be started in the same zone at the same label as the lpadmin -s  printer command.