| 1 |
.\" Copyright (C) 2000-2004 Roger Leigh <[email protected]> |
| 2 |
.\" |
| 3 |
.\" This program is free software; you can redistribute it and/or modify |
| 4 |
.\" it under the terms of the GNU General Public License as published by |
| 5 |
.\" the Free Software Foundation; either version 2, or (at your option) |
| 6 |
.\" any later version. |
| 7 |
.\" |
| 8 |
.\" This program is distributed in the hope that it will be useful, |
| 9 |
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 |
.\" GNU General Public License for more details. |
| 12 |
.\" |
| 13 |
.\" You should have received a copy of the GNU General Public License |
| 14 |
.\" along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 15 |
.TH CUPS\-GENPPD "8" "@RELEASE_DATE@" "Version @GUTENPRINT_VERSION@" "Gutenprint Manual Pages" |
| 16 |
.SH NAME |
| 17 |
cups\-genppd \- generate Gutenprint PPD files for use with CUPS |
| 18 |
.SH SYNOPSIS |
| 19 |
.B cups\-genppd |
| 20 |
[\fI\-c localedir\fR] [\fI\-l locale\fR] [\fI\-p prefix\fR] [\fI\-q\fR] |
| 21 |
[\fI\-v\fR] \fImodel1\fR \fI[model2, ...modeln]\fR |
| 22 |
.br |
| 23 |
.B cups\-genppd |
| 24 |
\fI\-L \fR[\fI\-c localedir\fR] |
| 25 |
.br |
| 26 |
.B cups\-genppd |
| 27 |
\fI\-M \fR[\fI\-v\fR] |
| 28 |
.br |
| 29 |
.B cups\-genppd |
| 30 |
\fI\-h\fR |
| 31 |
.br |
| 32 |
.B cups\-genppd |
| 33 |
\fI\-V\fR |
| 34 |
.SH DESCRIPTION |
| 35 |
\fBcups\-genppd\fR generates \fIGutenprint\fR PPD files for use with CUPS. |
| 36 |
The default behavior is to output PPD files for all models of printer |
| 37 |
that the \fIGutenprint\fR printer driver library supports. You may |
| 38 |
restrict the models by listing either the driver names or the full names |
| 39 |
of the printers you wish to generate PPD files for after any options. |
| 40 |
Additionally, the PPD files may be \fIlocalised\fR, that is, |
| 41 |
translated, to use your native language rather than US English. There |
| 42 |
are commands to find out what printer models and languages are |
| 43 |
supported. |
| 44 |
.SH EXAMPLES |
| 45 |
.TP |
| 46 |
.B cups\-genppd \-v bjc\-6200 'Epson Stylus Photo 1280' 'HP DeskJet 850C' |
| 47 |
verbosely generate three PPD files, listing the driver name in the |
| 48 |
first case, and the full name in the second. |
| 49 |
.TP |
| 50 |
.B LANG=de_DE genppd \-p ppd \-c /usr/share/locale |
| 51 |
generate PPDs for all available models, in directory \fIppd\fR using |
| 52 |
the locale data found under \fI/usr/share/locale\fR. The language to |
| 53 |
use is taken from the environment (de_DE). |
| 54 |
.TP |
| 55 |
.B cups\-genppd \-L \-c /usr/local/share/locale |
| 56 |
list available languages using the locale data found under |
| 57 |
\fI/usr/local/share/locale\fR. |
| 58 |
.TP |
| 59 |
.B cups\-genppd \-M \-v |
| 60 |
list available drivers, with long model descriptions |
| 61 |
.SH COMMANDS |
| 62 |
.TP |
| 63 |
\fB\-h\fR |
| 64 |
show a help message |
| 65 |
.TP |
| 66 |
\fB\-L\fR |
| 67 |
list available translations (message catalogs). If a locale is used |
| 68 |
for which there is not a corresponding translation, then then US |
| 69 |
English will be used. |
| 70 |
.TP |
| 71 |
\fB\-M\fR |
| 72 |
list available printer models. By default, only driver names are |
| 73 |
listed; if verbose mode is used, the full model name will also be |
| 74 |
printed |
| 75 |
.TP |
| 76 |
\fB\-V\fR |
| 77 |
show version information and defaults |
| 78 |
.IP |
| 79 |
The default behavior is to output PPDs if no command is given. |
| 80 |
.SH OPTIONS |
| 81 |
.TP |
| 82 |
\fB\-c\fR \fIlocaledir\fR |
| 83 |
use \fIlocaledir\fR as the base directory for locale data |
| 84 |
.TP |
| 85 |
\fB\-l\fR \fIlocale\fR |
| 86 |
output PPDs translated with messages for \fIlocale\fR. Note that \fIlocale\fR |
| 87 |
\fBmust\fR be a locale as shown by \fIlocale \-a\fR. For example, the \fIde\fR |
| 88 |
translation is used by the \fIde_DE\fR locale; \fIde\fR alone will not work. |
| 89 |
.TP |
| 90 |
\fB\-p\fR \fIprefix\fR |
| 91 |
output PPDs in directory \fIprefix\fR. Directories are \fBnot\fR recursively |
| 92 |
created. |
| 93 |
.TP |
| 94 |
\fB\-q\fR |
| 95 |
Quiet mode. |
| 96 |
.TP |
| 97 |
\fB\-v\fR |
| 98 |
Verbose mode. |
| 99 |
.TP |
| 100 |
.B models |
| 101 |
a list of printer models, either the driver or quoted full name. |
| 102 |
.SH SEE ALSO |
| 103 |
CUPS Software Administrators Manual, http://localhost:631/documentation.html |
| 104 |
.SH COPYRIGHT |
| 105 |
Copyright \(co 1992\-2002 Michael Sweet ([email protected]) |
| 106 |
.PP |
| 107 |
This program is free software; you can redistribute it and/or modify |
| 108 |
it under the terms of the GNU General Public License, version 2, as |
| 109 |
published by the Free Software Foundation. |
| 110 |
.PP |
| 111 |
This manual page was written by Roger Leigh ([email protected]). |
| 112 |
.\"# |
| 113 |
.\"# The following sets edit modes for GNU EMACS |
| 114 |
.\"# Local Variables: |
| 115 |
.\"# mode:nroff |
| 116 |
.\"# fill-column:79 |
| 117 |
.\"# End: |