nerdexam
Linux_Foundation

LFCS · Question #44

Which file inside the CUPS configuration directory contains the definition of the printers?

The correct answer is D. printers.conf. In CUPS (Common Unix Printing System), the printers.conf file, located within the CUPS configuration directory, stores the definitions and configurations for all installed printers. This file is critical for CUPS to manage printing services and queues.

Submitted by haru.x· Apr 18, 2026Service Configuration

Question

Which file inside the CUPS configuration directory contains the definition of the printers?

Options

  • Acups-devices.conf
  • Bsnmp.conf
  • Cprintcap.conf
  • Dprinters.conf
  • Ecupsd.conf

How the community answered

(18 responses)
  • A
    6% (1)
  • B
    6% (1)
  • D
    89% (16)

Why each option

In CUPS (Common Unix Printing System), the `printers.conf` file, located within the CUPS configuration directory, stores the definitions and configurations for all installed printers. This file is critical for CUPS to manage printing services and queues.

Acups-devices.conf

`cups-devices.conf` is not a standard CUPS configuration file for printer definitions.

Bsnmp.conf

`snmp.conf` is typically related to SNMP (Simple Network Management Protocol) configuration, not directly to printer definitions within CUPS.

Cprintcap.conf

`printcap.conf` is associated with the older BSD LPD printing system, not the modern CUPS system.

Dprinters.confCorrect

The `printers.conf` file is the primary configuration file within the CUPS directory (e.g., `/etc/cups/`) that stores the detailed definitions, options, and states for each printer configured on the system.

Ecupsd.conf

`cupsd.conf` is the main configuration file for the CUPS daemon itself, controlling server-wide settings, logging, and security, but not the individual printer definitions.

Concept tested: CUPS printer configuration file

Source: https://www.cups.org/doc/man-printers.conf.html

Topics

#CUPS#Printing#Configuration files#Service configuration

Community Discussion

No community discussion yet for this question.

Full LFCS Practice