Lp

From XPUB & Lens-Based wiki

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!)

$ sudo apt install cups

Scan for installed printers

$ lpstat -p -d

Set a default printer

$ lpoptions -d printer

Print a file

$ lp filename

From: https://pad.xpub.nl/p/SI19-prototyping-10