Automating CUPS with shell commands

Print on Command

A Raspberry Pi is an ideal print server on a small network with the CUPS printing system controlled by a fully automated shell script.

The Raspberry Pi lends itself well for use as a small print server, connecting printers to a number of computers on a network. The classic software solution for Linux print servers is the Common Unix Printing System (CUPS), which replaces less convenient printing services from the Linux and Unix environment, like lpd and lprng. Although many Linux users control CUPS in a web interface or with GUI programs, most of the steps involved in both of these approaches can be fully automated with a shell script.

To install CUPS, enter the commands:

$ sudo apt update
$ sudo apt dist-upgrade
$ sudo apt install cups printer-driver-gutenprint

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF

Pages: 6

Price $2.95
(incl. VAT)

Buy Raspberry Pi Geek

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content