Book Image

CUPS Administrative Guide

By : Ankur Shah
Book Image

CUPS Administrative Guide

By: Ankur Shah

Overview of this book

Table of Contents (16 chapters)
CUPS Administrative Guide
Credits
About the Author
Acknowledgement
About the Reviewer
Preface

Server Directives


The Common UNIX Printing System server's behavior is configured through the directives contained in the /etc/cups/cupsd.conf file. The CUPS configuration file follows the same syntax as the primary configuration file for the Apache web server. Users familiar with editing Apache's configuration file should feel at ease when editing the CUPS configuration file.

Note

Warning: Prior to editing the configuration file, you should make a copy of the original file and protect it from writing, so you will have the original settings as a reference, and can re-use it as necessary. Copy the /etc/cups/cupsd.conf file and protect it from writing with the following commands:

$sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original
$sudo chmod a-w /etc/cups/cupsd.conf.original

You can then edit the file with your favorite editor.

Editing the cupsd.conf File Via the Web Interface

Type the following URL in your favourite web-browser:

http://localhost:631/admin

Click on the Administration...