Linux Commands Examples

A great documentation place for Linux commands

foomatic-ppd-options

show the PPD options

Synopsis

foomatic-ppd-options [-d=debuglevel] [ ppdfiles ]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

The foomatic-ppd-options program reads the specified PPD files or stdin and decodes the PPD file to produce a list of options. This is really just a text based version of other print configuration tools.

The output format consists of a set of lines, each starting with a keyword, followed by a set of options and the default value. For example:

makemodel = Tektronix Phaser 350 Foomatic/Postscript (recommended)
name=PageSize; default=Letter; options=Letter (US Letter), \
A4 (A4), 11x17 (11x17), A3 (A3), A5 (A5), B5 (B5 \(JIS\)),...
name=PageRegion; default=Letter; options=Letter (US Letter), A4 (A4), ...

Each option starts with the name tag, followed by a default value (if any), followed by the set of options and a comment describing them. Punctuation in the comment is escaped.

Options
-d
debuglevel

Set the debug level. 0 disables debug messages.

[ files ]

The list of PPD files to read for options. A ’-’ causes STDIN to be read.

exit status

foomatic-ppd-options exits with a 0 status if successful, and nonzero if an error. An error message is also printed on standard error (STDERR).


bugs

Probably. But it has been tested.


author

Patrick Powell <papowell at astart.com>

How can this site be more helpful to YOU ?


give  feedback