Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cups-config(1) [mojave man page]

cups-config(1)							    Apple Inc.							    cups-config(1)

NAME
cups-config - get cups api, compiler, directory, and link information. SYNOPSIS
cups-config --api-version cups-config --build cups-config --cflags cups-config --datadir cups-config --help cups-config --ldflags cups-config [ --image ] [ --static ] --libs cups-config --serverbin cups-config --serverroot cups-config --version DESCRIPTION
The cups-config command allows application developers to determine the necessary command-line options for the compiler and linker, as well as the installation directories for filters, configuration files, and drivers. All values are reported to the standard output. OPTIONS
The cups-config command accepts the following command-line options: --api-version Reports the current API version (major.minor). --build Reports a system-specific build number. --cflags Reports the necessary compiler options. --datadir Reports the default CUPS data directory. --help Reports the program usage message. --image When used with --libs, adds the CUPS imaging library to the list of libraries. --ldflags Reports the necessary linker options. --libs Reports the necessary libraries to link to. --serverbin Reports the default CUPS binary directory, where filters and backends are stored. --serverroot Reports the default CUPS configuration file directory. --static When used with --libs, reports the static libraries instead of the default (shared) libraries. --version Reports the full version number of the CUPS installation (major.minor.patch). EXAMPLES
Show the currently installed version of CUPS: cups-config --version Compile a simple one-file CUPS filter: cc `cups-config --cflags --ldflags` -o filter filter.c `cups-config --libs` SEE ALSO
cups(1), CUPS Online Help (http://localhost:631/help) COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc. 15 April 2014 CUPS cups-config(1)

Check Out this Related Man Page

CUPS-GENPPDUPDATE(8)					      Gutenprint Manual Pages					      CUPS-GENPPDUPDATE(8)

NAME
cups-genppdupdate - update CUPS+Gutenprint PPD files SYNOPSIS
cups-genppdupdate [-h] [-n] [-N] [-q | -v] [-s ppd-directory] [-s output-directory] [PPD-FILES or QUEUES...] DESCRIPTION
cups-genppdupdate regenerates the Gutenprint PPD files in use by CUPS, using the PPD files under /usr/share/cups/model/gutenprint as tem- plates. The new PPD file replaces the old PPD file under /etc/cups/ppd, but all the options set in the old PPD will be merged into the new PPD, provided that they are still valid in the new file. If no files or queue names are specified, cups-genppdupdate updates all Gutenprint PPD files in /etc/cups/ppd. Otherwise, cups-genppdup- date updates all files or queues listed on the command line. cups-genppdupdate does not update Foomatic PPD files or PPD files from Gimp-Print 4.2 or earlier. cups-genppdupdate does not restart cupsd. cupsd will need manually reloading (or send SIGHUP) once cups-genppdupdate has completed. OPTIONS
-h Show a help message. -n No action. The program will run, but the old PPD files will not be replaced. -q Quiet mode. No messages will be issued, apart from errors. -v Verbose mode. More informative messages will be issued. Note that extremely verbose output may be turned on by setting $debug=1 in the source, but this output will not be of use to the average user. -s ppd-directory Use ppd-directory as the base directory to read PPD files from. By default, the base directory is /usr/share/cups/model/gutenprint. Under this directory, the PPD files are located in subdirectories according to language code and territory. -o output-directory Place updated PPD files in output-directory. By default, this is the same as the input directory. -N Reset all options to their defaults (do not merge options from the current PPD file) SEE ALSO
cups-genppd(8), cups-genppdconfig(8), CUPS Software Administrators Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright (C) 2002-2006 Roger Leigh (rleigh@debian.org) and Robert Krawitz (rlk@alum.mit.edu) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This manual page was written by Roger Leigh (rleigh@debian.org). Version 5.2.9 07 Jul 2012 CUPS-GENPPDUPDATE(8)
Man Page