cups-config, cupsd, lpinfo: add page (#6623)
This commit is contained in:

committed by
GitHub

parent
7d92295ce7
commit
79591fecf6
24
pages/common/cups-config.md
Normal file
24
pages/common/cups-config.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# cups-config
|
||||
|
||||
> Show technical information about your CUPS print server installation.
|
||||
> More information: <https://www.cups.org/doc/man-cups-config.html>.
|
||||
|
||||
- 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`
|
36
pages/common/cupsd.md
Normal file
36
pages/common/cupsd.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# cupsd
|
||||
|
||||
> Server daemon for the CUPS print server.
|
||||
> More information: <https://www.cups.org/doc/man-cupsd.html>.
|
||||
|
||||
- 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`
|
16
pages/common/lpinfo.md
Normal file
16
pages/common/lpinfo.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# lpinfo
|
||||
|
||||
> List connected printers and installed drivers for the CUPS print server.
|
||||
> More information: <https://www.cups.org/doc/man-lpinfo.html>.
|
||||
|
||||
- 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`
|
Reference in New Issue
Block a user