diff --git a/pages/common/cups-config.md b/pages/common/cups-config.md new file mode 100644 index 0000000000..e0d43c744a --- /dev/null +++ b/pages/common/cups-config.md @@ -0,0 +1,24 @@ +# cups-config + +> Show technical information about your CUPS print server installation. +> More information: . + +- Show the currently installed version of CUPS: + +`cups-config --version` + +- Show where CUPS is currently installed: + +`cups-config --serverbin` + +- Show the location of CUPS' configuration directory: + +`cups-config --serverroot` + +- Show the location of CUPS' data directory: + +`cups-config --datadir` + +- Display all available options: + +`cups-config --help` diff --git a/pages/common/cupsd.md b/pages/common/cupsd.md new file mode 100644 index 0000000000..b9e0bbb080 --- /dev/null +++ b/pages/common/cupsd.md @@ -0,0 +1,36 @@ +# cupsd + +> Server daemon for the CUPS print server. +> More information: . + +- Start `cupsd` in the background, aka. as a daemon: + +`cupsd` + +- Start `cupsd` on the [f]oreground: + +`cupsd -f` + +- [l]aunch `cupsd` on-demand (commonly used by `launchd` or `systemd`): + +`cupsd -l` + +- Start `cupsd` using the specified [`c`]`upsd.conf` configuration file: + +`cupsd -c {{path/to/cupsd.conf}}` + +- Start `cupsd` using the specified `cups-file`[`s`]`.conf` configuration file: + +`cupsd -s {{path/to/cups-files.conf}}` + +- [t]est the [`c`]`upsd.conf` configuration file for errors: + +`cupsd -t -c {{path/to/cupsd.conf}}` + +- [t]est the `cups-file`[`s`]`.conf` configuration file for errors: + +`cupsd -t -s {{path/to/cups-files.conf}}` + +- Display all available options: + +`cupsd -h` diff --git a/pages/common/lpinfo.md b/pages/common/lpinfo.md new file mode 100644 index 0000000000..f9f35da47a --- /dev/null +++ b/pages/common/lpinfo.md @@ -0,0 +1,16 @@ +# lpinfo + +> List connected printers and installed drivers for the CUPS print server. +> More information: . + +- List all the currently connected printers: + +`lpinfo -v` + +- List all the currently installed printer drivers: + +`lpinfo -m` + +- Search installed printer drivers by make and model: + +`lpinfo --make-and-model "{{printer_model}}" -m`