Cups: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "==Command Line== CLI printing on the laser printer * https://linux.die.net/man/1/lp * https://www.cups.org/doc/options.html 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")
 
No edit summary
 
Line 13: Line 13:


Scan for installed printers
Scan for installed printers
$ lpstat -p -d
 
$ lpstat -p -d


Set a default printer
Set a default printer
$ lpoptions -d printer
 
$ lpoptions -d printer


Print a file  
Print a file  
$ lp filename
 
$ lp filename

Latest revision as of 16:06, 29 November 2022

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