Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

System Administration Guide: Solaris Printing
Previous Next

Setting Up a Print Client

A print client is a system that is not the server for the printer. Yet, this system has access to the printer. A print client uses the services of the print server to spool, schedule, and filter the print jobs. Note that one system can be a print server for one printer and be a print client for another printer.

Access to a printer can be configured on a domain-wide basis or on a per-machine basis. If you add the printer information to the naming service database, access is configured on a domain-wide basis.

The following procedure describes how to use the Solaris Print Manager to add access to a printer on a print client. The example that follows describes how to add printer access by using the lp print service commands.

How to Add Printer Access by Using Solaris Print Manager

  1. Start Solaris Print Manager on the system where you want to add access to a remote printer.

    For instructions, see How to Start Solaris Print Manager.

  2. Select Add Access to Printer from the Printer menu.

    The Add Access to Printer window is displayed.

  3. Type the appropriate data in the entry fields.

    If you need information to complete a field, click the Help button.

  4. Click OK.
  5. Verify that access to the printer is added by checking for the new printer entry in the Solaris Print Manager main window.
  6. Verify that the printer can print requests.
    $ lp -d printer-name filename
  7. Exit Solaris Print Manager.

    Choose Exit from the Print Manager Menu.

How to Add Printer Access by Using LP Print Commands

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Add access to the printer.
    # lpadmin -p printer -s print-server -D description
  3. Set the printer as the system's default printer destination
    # lpamin -d printer
  4. Verify that the printer is ready for printing.
    # lpstat -p printer
Example 4-12 Adding Printer Access by Using lp Print Service Commands

If you want to print to a remote printer, you must add access to the remote printer. This example shows how to configure access to a printer named luna, whose print server is saturn.

# lpadmin -p luna -s saturn (1)
# lpadmin -p luna -D "Room 1954 ps" (2)
# lpadmin -d luna (3)
# lpstat -p luna (4)
  1. Identifies the printer and the print server

  2. Adds a description for the printer

  3. Sets the printer as the system's default printer destination

  4. Verifies that the printer is ready for printing

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire