FOOMATIC-PPD-OPTIONS(1)

πŸ’– FOOMATIC-PPD-OPTIONS πŸ’–

okay bestie, so this is a page from the General Commands Manual β€” it's the manual for foomatic-ppd-options, and I'm gonna walk you through it like we're texting at 2am. πŸ¦‹


✨ NAME ✨

foomatic-ppd-options β€” it shows you the PPD options. that's the whole job. no cap. πŸ’…


✨ SYNOPSIS ✨

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

✨ DESCRIPTION ✨

so the foomatic-ppd-options program reads the PPD files you hand it β€” or reads from stdin β€” and decodes the PPD file so it can spit out a list of options. it's literally just a text-based version of all those other print configuration tools. lowkey iconic of it. πŸ‘‘

the output format is a bunch of lines, and every line starts with a keyword, then a set of options, then 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, then a default value (if there is one), then the set of options, then a comment describing them. and bestie β€” the punctuation in that comment? it's escaped. so don't come for it. πŸŽ€

🌸 Options 🌸

  • -ddebuglevel β€” sets the debug level. a 0 disables debug messages entirely, so it goes fully silent on you. 🀫
  • [ files ] β€” the list of PPD files to read options from. and here's the cute part: a - makes it read from STDIN instead. πŸ“

✨ EXIT STATUS ✨

foomatic-ppd-options exits with a 0 status when everything slays, and nonzero if there's an error. and when there IS an error, it also prints an error message on standard error (STDERR). so you'll know. trust. 😭


✨ AUTHOR ✨

Patrick Powell <papowell at astart.com> β€” we love them for this fr fr. 🫢


✨ BUGS ✨

probably. πŸ’€ but it has been tested. so like… mostly fine.

and that's the whole vibe check, bestie. this page came from the Foomatic Project, dated 2003-09-16 β€” an absolute vintage queen, periodt. πŸ’œβœ¨πŸŽ€