CUPS-GENPPDUPDATE(8)

πŸ’… CUPS-GENPPDUPDATE(8) β€” Gutenprint Manual Pages πŸ’…

okay bestie, this is cups-genppdupdate from the Gutenprint Manual Pages, section 8 β€” the CUPS+Gutenprint PPD updater that gives your printer config a lil refresh ✨

🌸 NAME 🌸

cups-genppdupdate β€” update CUPS+Gutenprint PPD files.

✨ SYNOPSIS ✨

cups-genppdupdate [-h] [-n] [-N] [-q | -v] [-s ppd-directory] [-s output-directory] [PPD-FILES or QUEUES...]

πŸ’– DESCRIPTION πŸ’–

okay so cups-genppdupdate regenerates the Gutenprint PPD files that CUPS is using, and it uses the PPD files under /usr/share/cups/model/gutenprint as templates 🌈 The new PPD file replaces the old PPD file under /etc/cups/ppd, but all the options set in the old PPD will be merged into the new PPD, provided that they are still valid in the new file. Merging? Yes. Blindly copying? No. Valid options only, periodt πŸ’…

If no files or queue names are specified, cups-genppdupdate updates all Gutenprint PPD files in /etc/cups/ppd 🫢 Otherwise, cups-genppdupdate updates all the files or queues listed on the command line. All of them. Main character energy.

cups-genppdupdate does not update PPD files from Gimp-Print 4.2 or earlier. Nope. Not those. πŸ™ˆ

cups-genppdupdate does not restart cupsd. cupsd will need manually reloading (or send SIGHUP) once cups-genppdupdate has completed. So bestie, do not forget the reload 😭

πŸŽ€ OPTIONS πŸŽ€

  • -h β€” show a help message.
  • -n β€” no action. The program will run, but the old PPD files will not be replaced. It's giving "look but don't touch" πŸ‘€
  • -q β€” quiet mode. No messages will be issued, apart from errors.
  • -v β€” verbose mode. More informative messages will be issued. Note that extremely verbose output may be turned on by setting $debug=1 in the source, but this output will not be of use to the average user. So yes, that extra-spicy debug output exists, but it's not for the average user πŸ’€
  • -s ppd-directory β€” use ppd-directory as the base directory to read PPD files from. By default, the base directory is /usr/share/cups/model/gutenprint. Under this directory, the PPD files are located in subdirectories according to language code and territory. Organized treasure hunt, love that for us 🌸
  • -o output-directory β€” place updated PPD files in output-directory. By default, this is the same as the input directory.
  • -N β€” reset all options to their defaults (do not merge options from the current PPD file). Fresh slate, no leftovers ✨

πŸ¦‹ SEE ALSO πŸ¦‹

Copyright Β© 2002-2006 Roger Leigh (rleigh@debian.org) and Robert Krawitz (rlk@alum.mit.edu)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

This manual page was written by Roger Leigh (rleigh@debian.org).


that's the whole page, bestie 🫢 Version 5.3.5, dated 12 Mar 2025, from the Gutenprint Manual Pages β€” CUPS-GENPPDUPDATE(8) out πŸ’…βœ¨

πŸ“¦ where this page comes from