Free Sample
+ Collection
Code Files

CUPS Administrative Guide

Ankur Shah

A practical tutorial to installing, managing, and securing this powerful printing system
RRP $23.99
RRP $39.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847192585
Paperback248 pages

About This Book

  • Install and configure the CUPS server and set up clients
  • Manage Printers through the command line and web interface and manage users
  • Monitor the CUPS server along with filtering and file typing
  • Secure your CUPS server

Who This Book Is For

This book is for Linux/Unix System Administrators interested in designing and setting up a CUPS network and provides enough knowledge to understand how the technology works, make decisions about deployment, and then implement a stable work environment. No knowledge in CUPS is required but readers need to be comfortable with working in the Linux/Unix environment. On the whole, readers should have basic knowledge of the Linux environment.

Table of Contents

Chapter 1: Introduction
Overview of the CUPS Features
History of Printing in UNIX
Printing with Personal Computers
Evolution of CUPS as a Printing System
CUPS Features
Chapter 2: Building and Installing CUPS
Downloading Source Code
Installing the Software
Installing a Binary Distribution
Installing CUPS Using the Package Manager on Linux
Testing CUPS
Chapter 3: Printer Management
Printer Drivers
Managing Printer through the Command Line
Managing Print Jobs through Command Line
Managing Printers using the CUPS Web Interface
Chapter 4: Managing Multiple Printers at a Time
Configuring Printer Classes
Managing Printer Classes Through Command-Line
Managing Printer Classes Through CUPS Web Interface
Chapter 5: CUPS Server Management
System Requirement
Configuration Files
Classes Directives
Client Directives
Server Directives
Important Directives of cupsd.conf
Printer Directives
Concept of Operation Policies
Chapter 6: Client Setup
Setting up a CUPS Client
Chapter 7: Quota Management
Setting up Quota in CUPS
Correct and Incorrect Accounting
Overview of the page_log file
Flaws of the CUPS Quota system
Other Accounting Tools
Chapter 8: Monitoring CUPS
Using the lpstat Command
Overview of the access_log File
Overview of the error_log File
Overview of snmp.conf
How SNMP Behaves in the CUPS Web Interface
Overview of mailto.conf
Monitoring SNMP Printers
Chapter 9: File Typing and Filtering
Architecture—CUPS Filtering System
An Overview of the mime.types file
An Overview of the mime.convs file
Adding Filetypes and Filters
Overview of Filter in CUPS
Chapter 10: Security
Encryption Support in CUPS
Access Control
Authentication Support

What You Will Learn

  • The unique and powerful features of CUPS
  • Installing and compiling the CUPS server
  • Checking printer status, accepting and rejecting print jobs
  • Restricting user access
  • Setting different printer options, printing multiple copies
  • Classes, client, server, and printing directives
  • Important cupsd.conf directives that will help you manage network, server, browsing, and security options.
  •  Configuring manual and automatic print queues
  • Communicating with single and multiple servers with clients
  • Integrating with other systems like LPDs and Mac

In Detail

The Common UNIX Printing System (CUPS) is software that allows a computer to act as a print server, receiving print jobs from client computers, managing them, and sending them to the appropriate printer. It consists of a print spooler and scheduler, filters to convert print jobs to the format required by each printer, and a backend system to send the data to the chosen printer from client applications. Since every printer manufacturer does things differently, printing can be very complicated, and has always been a hard issue in the UNIX world for this reason. By providing a portable, modular printing layer, CUPS brings printing for UNIX into the modern age. It applies open standards for network printing through the Internet Printing Protocol (IPP) and uses platform-independent drivers (Postscript Printer Definition, PPD) to print. Today, CUPS is the default printing system for a large number of Linux distributions (Ubuntu, Fedora, etc.) and UNIX-based operating systems.

This book assumes that you have no knowledge of CUPS. It starts by telling you the story of how CUPS came to be and why there is such excitement about it. We then move on to installing, compiling, and managing your print network. Haven't you struggled to find the right directives for your printer? Enough of that search, this book will tell you where to find what. Not only that, but widely used directives and their uses are explained here along with directions to use them. There is more: you can learn how to manage the ever increasing print job load, set up your clients, and manage users. All this done, you will learn how to monitor, filter, and secure your CUPS server.


Read More