blob: 44e9d24487b3e067dd2715e676cc89b748b885ce [file] [log] [blame]
Haibo Huang13e4b5b2019-12-13 16:47:52 -08001.\"
2.\" ppdc man page for CUPS.
3.\"
4.\" Copyright © 2007-2019 by Apple Inc.
5.\" Copyright © 1997-2007 by Easy Software Products.
6.\"
7.\" Licensed under Apache License v2.0. See the file "LICENSE" for more
8.\" information.
9.\"
10.TH ppdc 1 "CUPS" "26 April 2019" "Apple Inc."
11.SH NAME
12ppdc \- cups ppd compiler (deprecated)
13.SH SYNOPSIS
14.B ppdc
15[
16\fB\-D \fIname\fR[\fB=\fIvalue\fR]
17] [
18.B \-I
19.I include-directory
20] [
21.B \-c
22.I message-catalog
23] [
24.B \-d
25.I output-directory
26] [
27.B \-l
28.I language(s)
29] [
30.B \-m
31] [
32.B \-t
33] [
34.B \-v
35] [
36.B \-z
37] [
38.B \-\-cr
39] [
40.B \-\-crlf
41] [
42.B \-\-lf
43]
44.I source-file
45.SH DESCRIPTION
46\fBppdc\fR compiles PPDC source files into one or more PPD files.
47\fBThis program is deprecated and will be removed in a future release of CUPS.\fR
48.SH OPTIONS
49\fBppdc\fR supports the following options:
50.TP 5
51\fB\-D \fIname\fR[\fB=\fIvalue\fR]
52Sets the named variable for use in the source file.
53It is equivalent to using the \fI#define\fR directive in the source file.
54.TP 5
55\fB\-I \fIinclude-directory\fR
56Specifies an alternate include directory.
57Multiple \fI-I\fR options can be supplied to add additional directories.
58.TP 5
59\fB\-c \fImessage-catalog\fR
60Specifies a single message catalog file in GNU gettext (filename.po) or Apple strings (filename.strings) format to be used for localization.
61.TP 5
62\fB\-d \fIoutput-directory\fR
63Specifies the output directory for PPD files.
64The default output directory is "ppd".
65.TP 5
66\fB\-l \fIlanguage(s)\fR
67Specifies one or more languages to use when localizing the PPD file(s).
68The default language is "en" (English).
69Separate multiple languages with commas, for example "de_DE,en_UK,es_ES,es_MX,es_US,fr_CA,fr_FR,it_IT" will create PPD files with German, UK English, Spanish (Spain, Mexico, and US), French (France and Canada), and Italian languages in each file.
70.TP 5
71.B \-m
72Specifies that the output filename should be based on the ModelName value instead of FileName or PCFilenName.
73.TP 5
74.B \-t
75Specifies that PPD files should be tested instead of generated.
76.TP 5
77.B \-v
78Specifies verbose output, basically a running status of which files are being loaded or written.
79.B \-z
80Generates compressed PPD files (filename.ppd.gz).
81The default is to generate uncompressed PPD files.
82.TP 5
83\fB\-\-cr\fR
84.TP 5
85\fB\-\-crlf\fR
86.TP 5
87\fB\-\-lf\fR
88Specifies the line ending to use - carriage return, carriage return and line feed, or line feed alone.
89The default is to use the line feed character alone.
90.SH NOTES
91PPD files are deprecated and will no longer be supported in a future feature release of CUPS.
92Printers that do not support IPP can be supported using applications such as
93.BR ippeveprinter (1).
94.SH SEE ALSO
95.BR ppdhtml (1),
96.BR ppdi (1),
97.BR ppdmerge (1),
98.BR ppdpo (1),
99.BR ppdcfile (5),
100CUPS Online Help (http://localhost:631/help)
101.SH COPYRIGHT
102Copyright \[co] 2007-2019 by Apple Inc.