| 1 |
.\" Copyright (C) 2000 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\-GENPPDUPDATE "8" "@RELEASE_DATE@" "Version @GUTENPRINT_VERSION@" "Gutenprint Manual Pages" |
| 16 |
.SH NAME |
| 17 |
cups\-genppdupdate \- update CUPS+Gutenprint PPD files |
| 18 |
.SH SYNOPSIS |
| 19 |
.B cups\-genppdupdate |
| 20 |
[\fI\-h\fP] |
| 21 |
[\fI\-n\fP] |
| 22 |
[\fI\-N\fP] |
| 23 |
[\fI\-q\fP | \fI\-v\fP] |
| 24 |
[\fI\-s ppd-directory\fP] |
| 25 |
[\fI\-s output-directory\fP] |
| 26 |
[\fIPPD-FILES or QUEUES...\fP] |
| 27 |
.SH DESCRIPTION |
| 28 |
\fBcups\-genppdupdate\fP regenerates the \fIGutenprint\fP PPD files in use by |
| 29 |
CUPS, using the PPD files under \fI@cups_conf_datadir@/model/gutenprint\fP as |
| 30 |
templates. The new PPD file replaces the old PPD file under |
| 31 |
\fI@cups_conf_serverroot@/ppd\fP, but all the options set in the old PPD will |
| 32 |
be merged into the new PPD, provided that they are still valid in the new file. |
| 33 |
.PP |
| 34 |
If no files or queue names are specified, \fBcups\-genppdupdate\fP updates all |
| 35 |
Gutenprint PPD files in \fI@cups_conf_serverroot@/ppd\fP. Otherwise, |
| 36 |
\fBcups\-genppdupdate\fP updates all files or queues listed on the command |
| 37 |
line. |
| 38 |
.PP |
| 39 |
\fBcups\-genppdupdate\fP does not update PPD files from Gimp-Print 4.2 or earlier. |
| 40 |
.PP |
| 41 |
\fBcups\-genppdupdate\fP does \fBnot\fP restart cupsd. cupsd will need |
| 42 |
manually reloading (or send SIGHUP) once \fBcups\-genppdupdate\fP has |
| 43 |
completed. |
| 44 |
.SH OPTIONS |
| 45 |
.TP |
| 46 |
.B \-h |
| 47 |
Show a help message. |
| 48 |
.TP |
| 49 |
.B \-n |
| 50 |
No action. The program will run, but the old PPD files will not be replaced. |
| 51 |
.TP |
| 52 |
.B \-q |
| 53 |
Quiet mode. No messages will be issued, apart from errors. |
| 54 |
.TP |
| 55 |
.B \-v |
| 56 |
Verbose mode. More informative messages will be issued. Note that extremely |
| 57 |
verbose output may be turned on by setting $debug=1 in the source, but this |
| 58 |
output will not be of use to the average user. |
| 59 |
.TP |
| 60 |
.B \-s \fIppd-directory\fP |
| 61 |
Use \fIppd-directory\fP as the base directory to read PPD files from. By |
| 62 |
default, the base directory is \fP@cups_conf_datadir@/model/gutenprint\fP. |
| 63 |
Under this directory, the PPD files are located in subdirectories according to |
| 64 |
language code and territory. |
| 65 |
.TP |
| 66 |
.B \-o \fIoutput-directory\fP |
| 67 |
Place updated PPD files in \fIoutput-directory\fP. By default, this is the |
| 68 |
same as the input directory. |
| 69 |
.TP |
| 70 |
.B \-N |
| 71 |
Reset all options to their defaults (do not merge options from the current PPD |
| 72 |
file) |
| 73 |
.SH SEE ALSO |
| 74 |
.BR cups\-genppd (8), |
| 75 |
.BR cups\-genppdconfig (8), |
| 76 |
CUPS Software Administrators Manual, http://localhost:631/documentation.html |
| 77 |
.SH COPYRIGHT |
| 78 |
Copyright \(co 2002\-2006 Roger Leigh ([email protected]) and Robert Krawitz |
| 79 |
([email protected]) |
| 80 |
.PP |
| 81 |
This program is free software; you can redistribute it and/or modify |
| 82 |
it under the terms of the GNU General Public License, version 2, as |
| 83 |
published by the Free Software Foundation. |
| 84 |
.PP |
| 85 |
This manual page was written by Roger Leigh ([email protected]). |
| 86 |
.\"# |
| 87 |
.\"# The following sets edit modes for GNU EMACS |
| 88 |
.\"# Local Variables: |
| 89 |
.\"# mode:nroff |
| 90 |
.\"# fill-column:79 |
| 91 |
.\"# End: |