Currently printer applications don't offer persistent configuration options for the server, just persistent state. The lprint and hp-printer-app snaps expose configuration settings but that doesn't help non-snapped deployments.
Add support for finding configuration files (and options) in /etc, /usr/local/etc. /Library/Application Support (macOS), $XDG_CONFIG_HOME (Linux), $HOME/Library/Application Support (macOS), $USERPROFILE/AppData/Local (Windows), $SNAP_COMMON (snaps), and $HOME/.config (others). The config filename is "PRINTERAPP.conf" (where "PRINTERAPP" is the base name of the printer application) and the format is basically:
Currently printer applications don't offer persistent configuration options for the server, just persistent state. The lprint and hp-printer-app snaps expose configuration settings but that doesn't help non-snapped deployments.
Add support for finding configuration files (and options) in
/etc
,/usr/local/etc
./Library/Application Support
(macOS),$XDG_CONFIG_HOME
(Linux),$HOME/Library/Application Support
(macOS),$USERPROFILE/AppData/Local
(Windows),$SNAP_COMMON
(snaps), and$HOME/.config
(others). The config filename is "PRINTERAPP.conf" (where "PRINTERAPP" is the base name of the printer application) and the format is basically:The order of precedence for options is: