Collect the required information.
All that is required is the name of the printer and the name of the server for that printer.
Define the printer by using the lpadmin command.
# lpadmin -p printer_name -s server_name
(Optional) Add a description to the printer.
# lpadmin -p printer_name -D "description"
Verify the printer is correctly configured by using the lpstat command.
# lpstat -p printer-name |
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. The system saturn becomes a print client of the printer luna.