1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-27 08:13:23 +02:00
tldr/pages/common/cupsctl.md
Vitor Henrique c19522da75
cupsctl, lpq, lprm, lpadmin, lpoptions: add pages (#11745)
* cupsctl: add page

* cupsctl: add pt_BR translation

* lpq, lprm: add pages

* lpq, lprm: add pt_BR translations

* lpadmin, lpopions: add pages

* lprm: add ... to jobs placeholders

* Update pages.pt_BR/common/lprm.md

lprm: remove unnecessary _ in pt_BR

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* Apply suggestions from code review

lprm: replace "job_2_id" with "job_id2"

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* cupsctl, lpoptions: add curly brackets to placeholders

* lpadmin, lpoptions: add pt_BR translations

* cupsctl: wrap cupsd.conf inside backticks

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cupsctl: add article

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cupsctl: wrap error_log inside backticks

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* lpadmin: capitalize CUPS in pt_BR

* Update pages/common/cupsctl.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* lpadmin: capitalize CUPS

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cupsctl: fix typo

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* lpq, lpoptions, lpadmin, lprm: don't highlight mnemonics

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* lpoptions: remove "[=value]"

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* lpoptions: don't highlight mnemonics in pt_BR

* lpadmin: remove -x mnemonic

* lpq: fix typo and remove mnemonic in pt_BR

* cupsctl: simplify description in pt_BR

* cupsctl, lpadmin, lpoptions, lpq, lprm: fix verb tenses and typos in pt_BR

Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>
2023-12-17 01:42:49 -03:00

28 lines
639 B
Markdown

# cupsctl
> Update or query a server's `cupsd.conf`.
> More information: <https://www.cups.org/doc/man-cupsctl.html>.
- Display the current configuration values:
`cupsctl`
- Display the configuration values of a specific server:
`cupsctl -h {{server[:port]}}`
- Enable encryption on the connection to the scheduler:
`cupsctl -E`
- Enable or disable debug logging to the `error_log` file:
`cupsctl {{--debug-logging|--no-debug-logging}}`
- Enable or disable remote administration:
`cupsctl {{--remote-admin|--no-remote-admin}}`
- Parse the current debug logging state:
`cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'`