1FOOMATIC-PPD-TO-XML(1)      General Commands Manual     FOOMATIC-PPD-TO-XML(1)
2
3
4

NAME

6       foomatic-ppd-to-xml - Generate Foomatic printer XML from a PPD
7

SYNOPSIS

9       foomatic-ppd-to-xml OPTIONS [DRIVER:]PPD [[DRIVER:]PPD ...]
10
11       foomatic-ppd-to-xml -h
12
13

DESCRIPTION

15       The  first  form  of  the  foomatic-ppd-to-xml command creates Foomatic
16       printer XML corresponding to a given PPD file.
17
18
19       If DRIVER is specified, it is the driver to which the PPD  file  should
20       get assigned. If not supplied, the first driver in the driver list sup‐
21       plied via the -d option is used. Note that the PPD  files  have  to  be
22       supplied to different drivers, so drivers need to be specified if using
23       more than one PPD.
24
25
26       The second form prints a help message and exits.
27
28
29   Options
30       -d DRIVERS
31            Comma-separated list of drivers  with  which  the  printer  works.
32            First  driver  is the one for which the PPD file is. If not other‐
33            wise stated by the -r option, this is also the recommended driver.
34            Drivers  already  specified  together  with PPDs do not need to be
35            specified with this option again. The  option  is  not  needed  if
36            drivers are specified for all PPDs.
37
38
39       -r DRIVER
40            Recommended driver.
41
42
43       -p PDLS
44            Comma-separated  list  of  known Page Description Languages (PDLs)
45            which the printer supports. This will add all suitable drivers  to
46            the  XML  entry. Currently supported are: Postscript, PCLXL, PCL6,
47            PCL5e, PCL5c, PCL5, and PCL4.
48
49
50       -l   Add a link to the PPD file to the driver entry in the XML file.
51
52
53       -b DIRECTORY
54            Base directory for a relative link to the PPD. If the base  direc‐
55            tory  is given, the link set via the -l option is relative to this
56            directory (and not relative to the current directory). With a base
57            directory  given the PPD can also be given relative to this direc‐
58            tory.
59
60
61       -D   Add only the driver requested by -d and -r to the driver  list  in
62            the  XML  file,  do not add drivers based on PDLs, not even on the
63            PDLs supplied by the -p option.
64
65
66       -c COMMENT
67            Add the given comment to the comment field of the XML  file.  Com‐
68            ments are in HTML.
69
70
71       -C   Suppress  any default comments (max paper width, pages per minute,
72            automatically generated XML, ...). Does not suppress  the  comment
73            supplied with -c.
74
75
76       -f DIRECTORY
77            Directory  in  which  to write the resulting XML file. The name of
78            the file will be the printer ID with the ".xml" extension.
79
80
81       -n   Do not write modified versions of existing XML files, only  create
82            XML files for printers for which there is no XML file yet.
83
84
85       -x   Create  XML  files independent of whether or not there are already
86            XML files for the printers covered by  the  PPD.  This  makes  the
87            process vastly faster if you have PPD files for printers which are
88            definitely not yet in the Foomatic database.
89
90

EXIT STATUS

92       foomatic-ppd-to-xml returns 0 on success, 1 otherwise.
93
94

BUGS

96       None so far.
97
98       Please post bug reports on
99
100       http://lists.freestandards.org/mailman/listinfo/printing-foomatic
101
102
103
104
105Foomatic Project                  2014-08-21            FOOMATIC-PPD-TO-XML(1)
Impressum