ppdc(1)

πŸ“¦
version 2.4.19 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– ppdc β€” the cups ppd compiler (deprecated, bestie 😭)

okay so real talk, this is ppdc, the OpenPrinting PPD compiler. She compiles PPDC source files into one or more PPD files. And yes, before you get attached β€” this program is deprecated and will be removed in a future release of CUPS. So like, admire her, use her, but don't build your whole personality around her, yk? πŸ’…


✨ SYNOPSIS ✨

ppdc [ -D name[=value] ] [ -I include-directory ] [ -c message-catalog ]
[ -d output-directory ] [ -l language(s) ] [ -m ] [ -t ] [ -v ] [ -z ] [
--cr ] [ --crlf ] [ --lf ] source-file

🌸 DESCRIPTION 🌸

ppdc compiles PPDC source files into one or more PPD files. That's the whole gig, and she eats every single time. πŸ’…

But listen β€” this program is deprecated and will be removed in a future release of CUPS. So if you're out here starting something new with her... girl. read the room. πŸ™ˆ


πŸŽ€ OPTIONS πŸŽ€

ppdc supports the following options, and we're going through all of them because that's what she deserves:

  • -D name[=value] β€” sets the named variable so the source file can use it. It's giving exactly the same energy as using the #define directive in the source file. same thing, different doorway. ✨
  • -I include-directory β€” points at an alternate include directory. And you can stack multiple -I options to add extra directories, so go off, add as many as your heart wants. πŸ¦‹
  • -c message-catalog β€” names a single message catalog file for localization, in either GNU gettext (filename.po) format or Apple strings (filename.strings) format. one catalog, two possible vibes. πŸ’–
  • -d output-directory β€” sets the output directory for the PPD files. The default output directory is "ppd", if you don't say anything. no thoughts, just ppd. 🫢
  • -l language(s) β€” picks one or more languages to use when localizing the PPD file(s). Default language is "en" (English, iconic, classic). Separate multiple languages with commas. For example:
de_DE,en_UK,es_ES,es_MX,es_US,fr_CA,fr_FR,it_IT

and that will create PPD files with German, UK English, Spanish (Spain, Mexico, and US), French (France and Canada), and Italian languages in each file. multilingual queen. πŸ‘‘

  • -m β€” says the output filename should be based on the ModelName value instead of FileName or PCFileName. name her after the model, not the file. main character naming energy. ⭐
  • -t β€” says the PPD files should be tested instead of generated. vibe check first, output later. πŸ”₯
  • -v β€” verbose output, which is basically a running status of which files are being loaded or written. she's live-commentating. πŸ’€
  • -z β€” generates compressed PPD files (filename.ppd.gz). The default is to generate uncompressed PPD files. zip it or don't, no judgment. 🌈
  • --cr β€” specifies the line ending to use: carriage return. πŸš—
  • --crlf β€” specifies the line ending to use: carriage return and line feed. πŸš—πŸ’¨
  • --lf β€” specifies the line ending to use: line feed alone. The default is to use the line feed character alone. so --lf is the unbothered default, fr fr. 🌸

πŸ’€ NOTES πŸ’€

PPD files are deprecated and will no longer be supported in a future feature release of CUPS. not a drill. 😭

Printers that do not support IPP can be supported using applications such as ippeveprinter(1). there's your plan b, bestie. πŸ’œ


πŸ¦‹ SEE ALSO πŸ¦‹

go read the whole friend group, they're all iconic. iykyk. πŸ’…


Copyright Β© 2020-2024 by OpenPrinting.


and that's the whole page, bestie!! πŸŽ€ this was brought to you by the CUPS girlies, dated 2021-02-28, and honestly she's a deprecated legend β€” slay, stay safe, and always read your manpages πŸ’–βœ¨

πŸ“¦ where this page comes from