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

Classes Directives


As we have seen in the last chapter, the printer class defines the information for a group of printers. This information is placed in the classes.conf file. In this section, we are going to discuss some of the important directives that determine the behavior of the CUPS classes. The printer classes can be managed either directly by editing the classes.conf file or through the command line (lpadmin).

In the following section, we will cover both these methods and explain the following directives in detail:

  • Accepting

  • Printer

  • Class

  • DefaultClass

  • AllowUser

  • DenyUser

  • Info

  • Location

  • JobSheets

  • KLimit

  • PageLimit

  • QuotaPeriod

  • State

  • StateMessage

Accepting

The Accepting directive will start or stop accepting print jobs for the printer group. It defines the initial Boolean value for the printer-is-accepting-job attribute that can be set by the accept and reject commands. These accept and reject commands set the value for these directives to "yes" and "no" respectively...