Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cups-genppd(8) [debian man page]

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

NAME
cups-genppd - generate Gutenprint PPD files for use with CUPS SYNOPSIS
cups-genppd [-c localedir] [-l locale] [-p prefix] [-q] [-v] model1 [model2, ...modeln] cups-genppd -L [-c localedir] cups-genppd -M [-v] cups-genppd -h cups-genppd -V DESCRIPTION
cups-genppd generates Gutenprint PPD files for use with CUPS. The default behavior is to output PPD files for all models of printer that the Gutenprint printer driver library supports. You may restrict the models by listing either the driver names or the full names of the printers you wish to generate PPD files for after any options. Additionally, the PPD files may be localised, that is, translated, to use your native language rather than US English. There are commands to find out what printer models and languages are supported. EXAMPLES
cups-genppd -v bjc-6200 'Epson Stylus Photo 1280' 'HP DeskJet 850C' verbosely generate three PPD files, listing the driver name in the first case, and the full name in the second. LANG=de_DE genppd -p ppd -c /usr/share/locale generate PPDs for all available models, in directory ppd using the locale data found under /usr/share/locale. The language to use is taken from the environment (de_DE). cups-genppd -L -c /usr/local/share/locale list available languages using the locale data found under /usr/local/share/locale. cups-genppd -M -v list available drivers, with long model descriptions COMMANDS
-h show a help message -L list available translations (message catalogs). If a locale is used for which there is not a corresponding translation, then then US English will be used. -M list available printer models. By default, only driver names are listed; if verbose mode is used, the full model name will also be printed -V show version information and defaults The default behavior is to output PPDs if no command is given. OPTIONS
-c localedir use localedir as the base directory for locale data -l locale output PPDs translated with messages for locale. Note that locale must be a locale as shown by locale -a. For example, the de translation is used by the de_DE locale; de alone will not work. -p prefix output PPDs in directory prefix. Directories are not recursively created. -q Quiet mode. -v Verbose mode. models a list of printer models, either the driver or quoted full name. SEE ALSO
CUPS Software Administrators Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright (C) 1992-2002 Michael Sweet (mike@easysw.com) 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.4 26 Jul 2009 CUPS-GENPPD(8)

Check Out this Related Man Page

cups-driverd(8) 						    Apple Inc.							   cups-driverd(8)

NAME
cups-driverd - cups driver daemon SYNOPSIS
cups-driverd cat ppd-name cups-driverd list request_id limit options DESCRIPTION
cups-driverd shows or lists PPD files. It is run in response to CUPS-Add-Modify-Printer or CUPS-Get-Devices requests. The first form ("cups-driverd cat ppd-name") writes the named PPD file to stdout. The output format is an uncompressed PPD file. The second form lists the available manufacturers or PPD files to stdout as indicated by the options argument. The output format is an IPP response message. The request_id argument is the request ID from the original IPP request, typically 1. The limit argument is the limit value from the original IPP request - 0 means no limit. Finally, the options argument is a space-delimited list of attributes ("name=value name=value ...") that were passed in with the request. Currently cups-driverd looks for the ppd-make and requested-attributes attributes and tailors the output accordingly. DRIVERS
Drivers can be static PPD files under the /usr/share/cups/model directory or programs under the /usr/lib/cups/driver directory. Static PPD files must conform to the Adobe PPD File Format Specification version 4.3 and may be compressed using the gzip(1) program. Driver programs must implement the command-line interface shown in the next section. DRIVER PROGRAMS Driver programs provide an interface to dynamically-generated PPD files. The following arguments are currently defined: drivername list Lists the supported PPD files to stdout. drivername cat ppdname Writes the named PPD file to stdout. LISTING FILES (drivername list) When run with the single argument "list", the program must list the available PPD files it can generate to stdout using the following for- mat: "drivername:ppdname" language "make" "make and model" "1284 device id" Drivername is the name of the driver program. Ppdname is the name used to select the given driver. Language is the locale associated with the default language of the PPD file, typically "en". Make is the Manufacturer name from the PPD file. Make and model is the NickName name from the PPD file. 1284 device id is the 1284DeviceId from the PPD file, if any. WRITING FILES (drivername cat ppdname) When the driver program is run with the "cat ppdname" arguments, it must write the named PPD file to stdout, uncompressed. If the named PPD file does not exist, the driver program must not write any output to stdout and report the error to stderr instead. DRIVER ERROR MESSAGES Error messages can be relayed back to cupsd by writing them to stderr. The following prefixes are recognized: DEBUG: [drivername] Debugging messages ERROR: [drivername] Error messages INFO: [drivername] Informational messages SEE ALSO
cupsd(8), cupsd.conf(5), cupstestppd(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2009 by Apple Inc. 16 June 2008 CUPS cups-driverd(8)
Man Page