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.
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.
Add access to the printer.
# lpadmin -p printer -s print-server -D description
Set the printer as the system's default printer destination.
# lpamin -d printer
Verify that the printer is ready for printing.
# lpstat -p printer
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)
Identifies the printer and the print server
Adds a description for the printer
Sets the printer as the system's default printer destination
Verifies that the printer is ready for printing