Network Printing
You want to print to a network printer using your Raspberry Pi.
Use CUPS (Common Unix Printing System).
Start by entering the following command into a Terminal to install CUPS. This may take some time.
$ sudo apt-get install cups |
Give yourself admin privileges for CUPS by entering the following command:
$ sudo usermod -a -G lpadmin pi |
CUPS is configured via a web interface. Neither the Midori or Dillo web browsers work very well with the CUPS administration pages, but Iceweasel works just fine. You can install the Iceweasel browser by entering the following command:
$ sudo apt-get install iceweasel |
Start Iceweasel from the Internet group of your Start menu and navigate to the address http://localhost:631.
Go to the Administration tab and choose the Add Printer option. This will display a list of printers that are on the network or connected directly to the Raspberry Pi’s USB port (Figure 2-13).
Follow the series of dialogs to set up the printer.
Discussion
When you’re finished, you can test out the printer by firing up AbiWord (see Recipe 4.2). Type some text and when you’re ready to print it, you should see your newly added printer available for printing (Figure 2-14).
See Also
See also the official CUPS website.