Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cups-genppd(8) [centos man page]

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

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 ( 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 ( Version 5.2.9 07 Jul 2012 CUPS-GENPPD(8)

Check Out this Related Man Page

cupsfilter(8)							    Apple Inc.							     cupsfilter(8)

cupsfilter - convert a file to another format using cups filters SYNOPSIS
cupsfilter [ --list-filters ] [ -D ] [ -U user ] [ -c config-file ] [ -d printer ] [ -e ] [ -i mime/type ] [ -j job-id[,N] ] [ -m mime/type ] [ -n copies ] [ -o name=value ] [ -p filename.ppd ] [ -t title ] [ -u ] filename DESCRIPTION
cupsfilter is a front-end to the CUPS filter subsystem which allows you to convert a file to a specific format, just as if you had printed the file through CUPS. By default, cupsfilter generates a PDF file. The converted file is sent to the standard output. OPTIONS
--list-filters Do not actually run the filters, just print the filters used to stdout. -D Delete the input file after conversion. -U user Specifies the username passed to the filters. The default is the name of the current user. -c config-file Uses the named cups-files.conf configuration file. -d printer Uses information from the named printer. -e Use every filter from the PPD file. -i mime/type Specifies the source file type. The default file type is guessed using the filename and contents of the file. -j job-id[,N] Converts document N from the specified job. If N is omitted, document 1 is converted. -m mime/type Specifies the destination file type. The default file type is application/pdf. Use printer/foo to convert to the printer format defined by the filters in the PPD file. -n copies Specifies the number of copies to generate. -o name=value Specifies options to pass to the CUPS filters. -p filename.ppd Specifies the PPD file to use. -t title Specifies the document title. -u Delete the PPD file after conversion. EXIT STATUS
cupsfilter returns a non-zero exit status on any error. ENVIRONMENT
All of the standard cups(1) environment variables affect the operation of cupsfilter. FILES
/etc/cups/cups-files.conf /etc/cups/*.convs /etc/cups/*.types /usr/share/cups/mime/*.convs /usr/share/cups/mime/*.types NOTES
Unlike when printing, filters run using the cupsfilter command use the current user and security session. This may result in different out- put or unexpected behavior. EXAMPLE
The following command will generate a PDF preview of job 42 for a printer named "myprinter" and save it to a file named "preview.pdf": cupsfilter -m application/pdf -d myprinter -j 42 >preview.pdf SEE ALSO
cups(1), cupsd.conf(5), filter(7), mime.convs(7), mime.types(7), CUPS Online Help (http://localhost:631/help) COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc. 11 June 2014 CUPS cupsfilter(8)
Man Page

Featured Tech Videos