Cups

From XPUB & Lens-Based wiki

Command Line

CLI printing on the laser printer

First you need to install the printer to your system.

Add the HP2055dn printer to your system

use the cups web interface on port 631!, see: https://www.suse.com/support/kb/doc/?id=000017214

Scan for installed printers

$ lpstat -p -d

Set a default printer

$ lpoptions -d printer

Print a file

$ lp filename