CUPS Printing within Raspbian Wheezy
(Starting with 2012-10-28-wheezy-raspbian.img and as performed upon raspired.)
First update and upgrade Wheezy via apt-get:
|
|
pi@raspired ~ $sudo apt-get update |
pi@raspired ~ $apt-get update |
... |
... |
pi@raspired ~ $sudo apt-get upgrade |
pi@raspired ~ $apt-get upgrade |
(This will take a few minutes)
At this point it's probably worth rebooting to ensure all upgrades are in force.
Although all the CUPS packages etc. can be installed via apt-get or aptitude, it's much easier to do so via aptitude's "GUI" equivalent synaptic, hence install that next:
|
|
pi@raspired ~ $sudo apt-get install synaptic |
pi@raspired ~ $apt-get install synaptic |
Now you should be able to find in the preferences menu.
On running this you should see the following prompt:
|
Your normal user (pi) password is required. Now use synaptics' Search function to find CUPS associated packages:
|
Mark the cups package and accept the additional changes ...
|
You may also wish to add the cups-bsd package ...
|
Downloading and package installation will take some time, so take a coffee break? ...
|
Add printer user(s) (pi) to the lpadmin group ...
|
... and reboot for this to take effect ...
|
In principle, it should be possible to add or configure printers via the CUPS webtool ...
|
but printer (auto-)detection is easier if you also install the system-config-printer utilities ...
so use synaptics' Search function again to find "printer" associated packages, and then install those utilities:
|
|
Printer detection and configuration will require entry of the user (pi) password several times ...
|
|
|
|
|
|
|
|
Finally, open the printer properties dialog to print a test page or adjust printer specific options etc.
|
Whilst the above illustrates the configuration of a directly connected (USB/Parallel port) printer, CUPS also supports networked printers as shown below from raspiblue's setup: