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 04:42:49 +00:00
|
|
|
# lpadmin
|
|
|
|
|
|
|
|
> Configura impressoras e classes do CUPS.
|
|
|
|
> Veja também: `lpoptions`.
|
2023-12-28 15:33:50 +00:00
|
|
|
> Mais informações: <https://openprinting.github.io/cups/doc/man-lpadmin.html>.
|
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 04:42:49 +00:00
|
|
|
|
|
|
|
- Define a impressora padrão:
|
|
|
|
|
|
|
|
`lpadmin -d {{impressora}}`
|
|
|
|
|
|
|
|
- Exclui uma impressora ou classe específica:
|
|
|
|
|
|
|
|
`lpadmin -x {{impressora|classe}}`
|
|
|
|
|
|
|
|
- Adiciona uma impressora a uma classe:
|
|
|
|
|
|
|
|
`lpadmin -p {{impressora}} -c {{classe}}`
|
|
|
|
|
|
|
|
- Remove uma impressora de uma classe:
|
|
|
|
|
|
|
|
`lpadmin -p {{impressora}} -r {{classe}}`
|