07.06.2014 Views

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.7. Printer Configuration<br />

Printer configuration used to cause a great many headaches for administrators and users alike.<br />

These headaches are now mostly a thing of the past, thanks to the creation of cups, the free print<br />

server using the IPP protocol (Internet Printing Protocol).<br />

This program is divided over several Debian packages: cups is the central print server; cups-bsd<br />

is a compatibility layer allowing use of commands from the traditional BSD printing system (lpd<br />

daemon, lpr and lpq commands, etc.); cups-client contains a group of programs to interact with<br />

the server (block or unblock a printer, view or delete print jobs in progress, etc.); and finally,<br />

cups-driver-gutenprint contains a collection of additional printer drivers for cups.<br />

COMMUNITY<br />

CUPS<br />

CUPS (Common Unix Printing System) is a trademark filed by the Easy Soware<br />

Products company, when cups was created.<br />

➨ http://www.easysw.com/<br />

NOTE<br />

CUPS and CUPSYS<br />

The packages containing cups are currently called cups, cups-client, cups-bsd,<br />

etc. In the Debian versions before Lenny, the packages had names built on<br />

the basis of cupsys. You may still find transition packages installed on some<br />

relatively old machines that have been updated over time.<br />

After installation of these different packages, cups is administered easily through a web interface<br />

accessible at the local address: hp://localhost:631/. There you can add printers (including<br />

network printers), remove, and administer them. You can also administer cups with<br />

the system-config-printer graphical interface (from the Debian package of the same name),<br />

which is installed by default if the “Desktop environment” task is chosen.<br />

NOTE<br />

Obsolescence of /etc/<br />

printcap<br />

cups no longer uses the /etc/printcap file, which is now obsolete. Programs<br />

that rely upon this file to get a list of available printers will, thus, fail. To avoid<br />

this problem, delete this file and make it a symbolic link (see sidebar “Symbolic<br />

links” (page 167)) to /var/run/cups/printcap, which is maintained by<br />

cups to ensure compatibility.<br />

8.8. Configuring the Bootloader<br />

It is probably already functional, but it is always good to know how to configure and install the<br />

bootloader in case it disappears from the Master Boot Record. This can occur after installation<br />

of another operating system, such as Windows. The following information can also help you to<br />

modify the bootloader configuration if needed.<br />

160 The Debian Administrator's Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!