Configuring and Managing Printing in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Setting Up Printers by Using CUPS Command-Line Utilities (Task Map)

Task
Description
For Instructions
Set up a new locally attached printer.
You can set up a new locally attached printer by using the lpadmin command.
Set the default printer for a system at the command line.
You can set a default printer destination for a user by specifying the LPDEST and PRINTER environment variables, and by using the lpoptions command.
Verify the status of printers.
You can verify the status of all printers or a specific printer by using the lpstat command. This command enables you to determine which printers are available for use and enables you to examine the characteristics of those printers.
Print a file by using CUPS commands.
You can print a file by using the lp and lpr commands.
Delete a printer and remove printer access.
You can delete a printer and remove printer access by using the lpoptions command.
Add a network printer that is on a different subnet.
You can add a network printer that is on a different subnet by using the lpadmin command. CUPS automatically discovers printers that are identified in the same subnet.
List the available drivers and devices.
You can list the available drivers and devices by using the lpinfo command.