Using the cups-config Utility for Debugging

The cups-config utility has several parameters that can be handy while troubleshooting. The options are described in Table 18-2.

Table 18-2. Options to cups-config

Option

Description

--cflags

Displays the necessary compiler options.

--datadir

Displays the default CUPS data directory.

--help

Displays the program usage message.

--ldflags

Displays the necessary linker options.

--libs

Displays the necessary libraries to link to.

--serverbin

Displays the default CUPS binary directory, where filters and backends are stored.

--serverroot

Displays the default CUPS configuration file directory.

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.