Printing Text Files from Linux Terminal with lp and CUPS
The lp command is the standard tool for printing from the Linux command line. It interfaces with CUPS (Common Unix Printing System), the printing backbone on virtually all modern Linux distributions. Basic Printing Send a file to your default printer: lp text-file.txt Specify a particular printer: lp -d printer-name text-file.txt List available printers and identify…
