Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
CUPS Administrative Guide

You're reading from  CUPS Administrative Guide

Product type Book
Published in Sep 2008
Publisher
ISBN-13 9781847192585
Pages 248 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Ankur Shah Ankur Shah
Profile icon Ankur Shah

Table of Contents (16) Chapters

CUPS Administrative Guide
Credits
About the Author
1. Acknowledgement
About the Reviewer
2. Preface
1. Introduction 2. Building and Installing CUPS 3. Printer Management 4. Managing Multiple Printers at a Time 5. CUPS Server Management 6. Client Setup 7. Quota Management 8. Monitoring CUPS 9. File Typing and Filtering 10. Security

Printer Directives


Adding a new printer using the CUPS web interface is very easy. However, you can also configure your printers manually through the configuration files. To do this, you first need to backup your existing configuration, in case you make a mistake and need to restore the original file later.

$sudo cp /etc/cups/printers.conf /etc/cups/printers.conf.original
$sudo vi /etc/cups/printers.conf

The details for each of the printers is stored in the printers.conf file. The configuration directives needed in the configuration file are very simple, and can be explained further by accessing the man page by typing man printers.conf at the command prompt. Here are some of the important directives in the printers.conf file:

  • Accepting

  • Printer

  • DefaultPrinter

  • DeviceURI

  • AllowUser

  • DenyUser

  • Info

  • Location

  • JobSheets

  • KLimit

  • PageLimit

  • QuotaPeriod

  • State

  • StateMessage

Accepting

The Accepting directive is used to define the initial Boolean value for the printer-is-accepting...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}