From 4c11329bb7a31337b66d418b4a143d2c898f6128 Mon Sep 17 00:00:00 2001 From: vitorhcl Date: Thu, 14 Dec 2023 20:56:33 -0300 Subject: [PATCH 01/23] cupsctl: add page --- pages/common/cupsctl.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/cupsctl.md diff --git a/pages/common/cupsctl.md b/pages/common/cupsctl.md new file mode 100644 index 0000000000..84bdbe54a6 --- /dev/null +++ b/pages/common/cupsctl.md @@ -0,0 +1,28 @@ +# cupsctl + +> Update or query a server's cupsd.conf. +> More information: . + +- Display current configuration values: + +`cupsctl` + +- Display the configuration values of a specific server: + +`cupsctl -h {{server[:port]}}` + +- Display current configuration values [E]ncrypting the connection to the scheduler: + +`cupsctl -E` + +- Enable or disable debug logging to the error_log file: + +`cupsctl --debug-logging|--no-debug-loging` + +- 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}'` From fde7b0657c1c44fc6bec1a99f5f9aced272f24a8 Mon Sep 17 00:00:00 2001 From: vitorhcl Date: Thu, 14 Dec 2023 21:48:27 -0300 Subject: [PATCH 02/23] cupsctl: add pt_BR translation --- pages.pt_BR/common/cupsctl.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages.pt_BR/common/cupsctl.md diff --git a/pages.pt_BR/common/cupsctl.md b/pages.pt_BR/common/cupsctl.md new file mode 100644 index 0000000000..a1d8a813e3 --- /dev/null +++ b/pages.pt_BR/common/cupsctl.md @@ -0,0 +1,28 @@ +# cupsctl + +> Atualiza ou consulta o cupsd.conf de um server. +> Mais informações: . + +- Exibir os valores de configuração atuais: + +`cupsctl` + +- Exibir os valores de configuração de um servidor específico: + +`cupsctl -h {{servidor[:porta]}}` + +- Exibir os valores de configuração atuais criptografando a conexão ao scheduler: + +`cupsctl -E` + +- Ativar ou desativar o registro de depuração para o arquivo error_log: + +`cupsctl --debug-logging|--no-debug-loging` + +- Ativar ou desativar a administração remota: + +`cupsctl --remote-admin|--no-remote-admin` + +- Exibir o estado atual do registro de depuração: + +`cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'` From 72eed5d05f80476607b1d81654f6c49483f66e43 Mon Sep 17 00:00:00 2001 From: vitorhcl Date: Thu, 14 Dec 2023 22:19:28 -0300 Subject: [PATCH 03/23] lpq, lprm: add pages --- pages/common/lpq.md | 24 ++++++++++++++++++++++++ pages/common/lprm.md | 25 +++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 pages/common/lpq.md create mode 100644 pages/common/lprm.md diff --git a/pages/common/lpq.md b/pages/common/lpq.md new file mode 100644 index 0000000000..acad673e33 --- /dev/null +++ b/pages/common/lpq.md @@ -0,0 +1,24 @@ +# lpq + +> Show printer queue status. +> More information: . + +- Show the queued jobs of the default destination: + +`lpq` + +- Show the queued jobs of [a]ll printers enforcing [E]ncryption: + +`lpq -a -E` + +- Show the queued jobs in a [l]ong format: + +`lpq -l` + +- Show the queued jobs of a specific printer or class: + +`lpq -P {{destination[/instance]}}` + +- Show the queued jobs once every n seconds until the queue is empty: + +`lpq +{{interval}}` diff --git a/pages/common/lprm.md b/pages/common/lprm.md new file mode 100644 index 0000000000..fcc222bc3d --- /dev/null +++ b/pages/common/lprm.md @@ -0,0 +1,25 @@ +# lprm + +> Cancel queued print jobs of a server. +> See also: `lpq`. +> More information: . + +- Cancel current job on the default printer: + +`lprm` + +- Cancel a job of a specific server: + +`lprm -h {{server[:port]}} {{job_id}}` + +- Cancel multiple jobs with a [E]ncrypted connection to the server: + +`lprm -E {{job_1_id}} {{job_2_id}}` + +- Cancel all jobs: + +`lprm -` + +- Cancel the current job of a specific printer or class: + +`lprm -P {{destination[/instance]}}` From 5a5fadfdd88be670eb5d156663bc8f7f77fd8f7e Mon Sep 17 00:00:00 2001 From: vitorhcl Date: Fri, 15 Dec 2023 03:01:33 -0300 Subject: [PATCH 04/23] lpq, lprm: add pt_BR translations --- pages.pt_BR/common/lpq.md | 24 ++++++++++++++++++++++++ pages.pt_BR/common/lprm.md | 25 +++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 pages.pt_BR/common/lpq.md create mode 100644 pages.pt_BR/common/lprm.md diff --git a/pages.pt_BR/common/lpq.md b/pages.pt_BR/common/lpq.md new file mode 100644 index 0000000000..967ec0f513 --- /dev/null +++ b/pages.pt_BR/common/lpq.md @@ -0,0 +1,24 @@ +# lpq + +> Mostra o estado da fila de impressão. +> Mais informações: . + +- Mostrar os trabalhos na flila do destino padrão: + +`lpq` + +- Mostrar os trabalhos na flila de todas as impressoras usando criptografia: + +`lpq -a -E` + +- Mostrar os trabalhos da fila em um formato [l]ongo: + +`lpq -l` + +- Mostrar os trabalhos da fila de uma impressora ou classe específica: + +`lpq -P {{destino[/instância]}}` + +- Mostrar os trabalhos na fila a cada n segundos até que a fila esteja vazia + +`lpq +{{intervalo}}` diff --git a/pages.pt_BR/common/lprm.md b/pages.pt_BR/common/lprm.md new file mode 100644 index 0000000000..5b86dcafc0 --- /dev/null +++ b/pages.pt_BR/common/lprm.md @@ -0,0 +1,25 @@ +# lprm + +> Cancela trabalhos de impressão na fila de um servidor. +> Veja também: `lpq`. +> Mais informações: . + +- Cancelar o trabalho atual na impressora padrão: + +`lprm` + +- Cancelar um trabalho de um servidor específico: + +`lprm -h {{servidor[:porta]}} {{id_do_trabalho}}` + +- Cancelar múltiplos trabalhos com uma conexão criprografada com o servidor: + +`lprm -E {{id_do_trabalho_1}} {{id_do_trabalho_2}}` + +- Cancelar todos os trabalhos: + +`lprm -` + +- Cancelar o trabalho atual de uma impressora ou classe específica: + +`lprm -P {{destino[/instância]}}` From b3ef12c3830f4de584227d3b8562a10665b4635a Mon Sep 17 00:00:00 2001 From: vitorhcl Date: Fri, 15 Dec 2023 03:02:48 -0300 Subject: [PATCH 05/23] lpadmin, lpopions: add pages --- pages.pt_BR/common/lpq.md | 2 +- pages/common/lpadmin.md | 21 +++++++++++++++++++++ pages/common/lpoptions.md | 21 +++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 pages/common/lpadmin.md create mode 100644 pages/common/lpoptions.md diff --git a/pages.pt_BR/common/lpq.md b/pages.pt_BR/common/lpq.md index 967ec0f513..a6a8da7945 100644 --- a/pages.pt_BR/common/lpq.md +++ b/pages.pt_BR/common/lpq.md @@ -19,6 +19,6 @@ `lpq -P {{destino[/instância]}}` -- Mostrar os trabalhos na fila a cada n segundos até que a fila esteja vazia +- Mostrar os trabalhos na fila a cada n segundos até que a fila esteja vazia: `lpq +{{intervalo}}` diff --git a/pages/common/lpadmin.md b/pages/common/lpadmin.md new file mode 100644 index 0000000000..dcac0e84dd --- /dev/null +++ b/pages/common/lpadmin.md @@ -0,0 +1,21 @@ +# lpadmin + +> Configure cups printers and classes. +> See also: `lpoptions`. +> More information: . + +- Set the default printer: + +`lpadmin -d {{printer}}` + +- [d]elete a specific printer or class: + +`lpadmin -x {{printer|class}}` + +- Add a printer to a [c]lass: + +`lpadmin -p {{printer}} -c {{class}}` + +- [r]emove a printer from a class: + +`lpadmin -p {{printer}} -r {{class}}` diff --git a/pages/common/lpoptions.md b/pages/common/lpoptions.md new file mode 100644 index 0000000000..b95c378c7a --- /dev/null +++ b/pages/common/lpoptions.md @@ -0,0 +1,21 @@ +# lpoptions + +> Display or set printer options and defaults. +> See also: `lpadmin`. +> More information: . + +- Set the default printer: + +`lpoptions -d {{printer[/instance]}}` + +- [l]ist printer-specific options of a specific printer: + +`lpoptions -d {{printer}} -l` + +- Set a new [o]ption on a specific printer: + +`lpoptions -d {{printer}} -o option[=value]` + +- Remove the options of a specific printer: + +`lpoptions -d {{printer}} -x` From a99790b9325cd1cedd428e82ec23dafbd81d5eef Mon Sep 17 00:00:00 2001 From: vitorhcl Date: Fri, 15 Dec 2023 03:09:40 -0300 Subject: [PATCH 06/23] lprm: add ... to jobs placeholders --- pages.pt_BR/common/lprm.md | 2 +- pages/common/lprm.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages.pt_BR/common/lprm.md b/pages.pt_BR/common/lprm.md index 5b86dcafc0..3d213a804b 100644 --- a/pages.pt_BR/common/lprm.md +++ b/pages.pt_BR/common/lprm.md @@ -14,7 +14,7 @@ - Cancelar múltiplos trabalhos com uma conexão criprografada com o servidor: -`lprm -E {{id_do_trabalho_1}} {{id_do_trabalho_2}}` +`lprm -E {{id_do_trabalho_1 id_do_trabalho_2 ...}}` - Cancelar todos os trabalhos: diff --git a/pages/common/lprm.md b/pages/common/lprm.md index fcc222bc3d..3b89dc3fbd 100644 --- a/pages/common/lprm.md +++ b/pages/common/lprm.md @@ -14,7 +14,7 @@ - Cancel multiple jobs with a [E]ncrypted connection to the server: -`lprm -E {{job_1_id}} {{job_2_id}}` +`lprm -E {{job_id1 job_2_id ...}}` - Cancel all jobs: From b469e5bd1522fdc31518f9f340e4569cb79314d6 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 11:12:42 -0300 Subject: [PATCH 07/23] Update pages.pt_BR/common/lprm.md lprm: remove unnecessary _ in pt_BR Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages.pt_BR/common/lprm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages.pt_BR/common/lprm.md b/pages.pt_BR/common/lprm.md index 3d213a804b..731c02897c 100644 --- a/pages.pt_BR/common/lprm.md +++ b/pages.pt_BR/common/lprm.md @@ -14,7 +14,7 @@ - Cancelar múltiplos trabalhos com uma conexão criprografada com o servidor: -`lprm -E {{id_do_trabalho_1 id_do_trabalho_2 ...}}` +`lprm -E {{id_do_trabalho1 id_do_trabalho2 ...}}` - Cancelar todos os trabalhos: From 35a60489c3f2ce110fa7003a3a5ea380fdbb7821 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 11:15:59 -0300 Subject: [PATCH 08/23] Apply suggestions from code review lprm: replace "job_2_id" with "job_id2" Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/common/lprm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/lprm.md b/pages/common/lprm.md index 3b89dc3fbd..f402d9516f 100644 --- a/pages/common/lprm.md +++ b/pages/common/lprm.md @@ -14,7 +14,7 @@ - Cancel multiple jobs with a [E]ncrypted connection to the server: -`lprm -E {{job_id1 job_2_id ...}}` +`lprm -E {{job_id1 job_id2 ...}}` - Cancel all jobs: From bcd0354a0cd893afebec516a071938733fc5d670 Mon Sep 17 00:00:00 2001 From: vitorhcl Date: Fri, 15 Dec 2023 11:29:02 -0300 Subject: [PATCH 09/23] cupsctl, lpoptions: add curly brackets to placeholders --- pages.pt_BR/common/cupsctl.md | 4 ++-- pages/common/cupsctl.md | 4 ++-- pages/common/lpoptions.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pages.pt_BR/common/cupsctl.md b/pages.pt_BR/common/cupsctl.md index a1d8a813e3..b717fc423d 100644 --- a/pages.pt_BR/common/cupsctl.md +++ b/pages.pt_BR/common/cupsctl.md @@ -17,11 +17,11 @@ - Ativar ou desativar o registro de depuração para o arquivo error_log: -`cupsctl --debug-logging|--no-debug-loging` +`cupsctl {{--debug-logging|--no-debug-loging}}` - Ativar ou desativar a administração remota: -`cupsctl --remote-admin|--no-remote-admin` +`cupsctl {{--remote-admin|--no-remote-admin}}` - Exibir o estado atual do registro de depuração: diff --git a/pages/common/cupsctl.md b/pages/common/cupsctl.md index 84bdbe54a6..84e79439e4 100644 --- a/pages/common/cupsctl.md +++ b/pages/common/cupsctl.md @@ -17,11 +17,11 @@ - Enable or disable debug logging to the error_log file: -`cupsctl --debug-logging|--no-debug-loging` +`cupsctl {{--debug-logging|--no-debug-loging}}` - Enable or disable remote administration: -`cupsctl --remote-admin|--no-remote-admin` +`cupsctl {{--remote-admin|--no-remote-admin}}` - Parse the current debug logging state: diff --git a/pages/common/lpoptions.md b/pages/common/lpoptions.md index b95c378c7a..42f6994667 100644 --- a/pages/common/lpoptions.md +++ b/pages/common/lpoptions.md @@ -14,7 +14,7 @@ - Set a new [o]ption on a specific printer: -`lpoptions -d {{printer}} -o option[=value]` +`lpoptions -d {{printer}} -o {{option[=value]}}` - Remove the options of a specific printer: From 5081ac20f0c263c0401a642f2eee375324c97d10 Mon Sep 17 00:00:00 2001 From: vitorhcl Date: Fri, 15 Dec 2023 11:30:46 -0300 Subject: [PATCH 10/23] lpadmin, lpoptions: add pt_BR translations --- pages.pt_BR/common/lpadmin.md | 21 +++++++++++++++++++++ pages.pt_BR/common/lpoptions.md | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 pages.pt_BR/common/lpadmin.md create mode 100644 pages.pt_BR/common/lpoptions.md diff --git a/pages.pt_BR/common/lpadmin.md b/pages.pt_BR/common/lpadmin.md new file mode 100644 index 0000000000..059a1e7444 --- /dev/null +++ b/pages.pt_BR/common/lpadmin.md @@ -0,0 +1,21 @@ +# lpadmin + +> Configura impressoras e classes do cups. +> Veja também: `lpoptions`. +> Mais informações: . + +- Definir a impressora padrão: + +`lpadmin -d {{impressora}}` + +- E[x]cluir uma impressora ou classe específica: + +`lpadmin -x {{impressora|classe}}` + +- Adicionar uma impressora a uma classe: + +`lpadmin -p {{impressora}} -c {{classe}}` + +- Remover uma impressora de uma classe: + +`lpadmin -p {{impressora}} -r {{classe}}` diff --git a/pages.pt_BR/common/lpoptions.md b/pages.pt_BR/common/lpoptions.md new file mode 100644 index 0000000000..6bb38b0dae --- /dev/null +++ b/pages.pt_BR/common/lpoptions.md @@ -0,0 +1,21 @@ +# lpoptions + +> Exibir ou definir opções e padrões de uma impressora. +> Veja também: `lpadmin`. +> Mais informações: . + +- Definir a impressora padrão: + +`lpoptions -d {{impressora[/instância]}}` + +- [l]istar opções específicas de uma impressora: + +`lpoptions -d {{impressora}} -l` + +- Definir uma nova [o]pção em uma impressora: + +`lpoptions -d {{impressora}} -o {{opção[=valor]}}` + +- E[x]cluir as opções de uma impressora específica: + +`lpoptions -d {{impressora}} -x` From 443b46c2fc2819cd9efc4450b45d71358fa1caf7 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:30:52 -0300 Subject: [PATCH 11/23] cupsctl: wrap cupsd.conf inside backticks Co-authored-by: K.B.Dharun Krishna --- pages/common/cupsctl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/cupsctl.md b/pages/common/cupsctl.md index 84e79439e4..dfd4f971ca 100644 --- a/pages/common/cupsctl.md +++ b/pages/common/cupsctl.md @@ -1,6 +1,6 @@ # cupsctl -> Update or query a server's cupsd.conf. +> Update or query a server's `cupsd.conf`. > More information: . - Display current configuration values: From 31f3dc4c269c5684871757b31143bd7316956fca Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:31:55 -0300 Subject: [PATCH 12/23] cupsctl: add article Co-authored-by: K.B.Dharun Krishna --- pages/common/cupsctl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/cupsctl.md b/pages/common/cupsctl.md index dfd4f971ca..c467bf00d4 100644 --- a/pages/common/cupsctl.md +++ b/pages/common/cupsctl.md @@ -3,7 +3,7 @@ > Update or query a server's `cupsd.conf`. > More information: . -- Display current configuration values: +- Display the current configuration values: `cupsctl` From b7712ea2ca744693f8601560bfeafa4816e8ec60 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:32:23 -0300 Subject: [PATCH 13/23] cupsctl: wrap error_log inside backticks Co-authored-by: K.B.Dharun Krishna --- pages/common/cupsctl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/cupsctl.md b/pages/common/cupsctl.md index c467bf00d4..778508f135 100644 --- a/pages/common/cupsctl.md +++ b/pages/common/cupsctl.md @@ -15,7 +15,7 @@ `cupsctl -E` -- Enable or disable debug logging to the error_log file: +- Enable or disable debug logging to the `error_log` file: `cupsctl {{--debug-logging|--no-debug-loging}}` From 771e5c5deed0941e7ea1b6b963582f7aed643c60 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:33:43 -0300 Subject: [PATCH 14/23] lpadmin: capitalize CUPS in pt_BR --- pages.pt_BR/common/lpadmin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages.pt_BR/common/lpadmin.md b/pages.pt_BR/common/lpadmin.md index 059a1e7444..23b86560ed 100644 --- a/pages.pt_BR/common/lpadmin.md +++ b/pages.pt_BR/common/lpadmin.md @@ -1,6 +1,6 @@ # lpadmin -> Configura impressoras e classes do cups. +> Configura impressoras e classes do CUPS. > Veja também: `lpoptions`. > Mais informações: . From 95663f973052f1e6f5537aa990c99d1237770b58 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:34:10 -0300 Subject: [PATCH 15/23] Update pages/common/cupsctl.md Co-authored-by: K.B.Dharun Krishna --- pages/common/cupsctl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/cupsctl.md b/pages/common/cupsctl.md index 778508f135..fcfa20d1b2 100644 --- a/pages/common/cupsctl.md +++ b/pages/common/cupsctl.md @@ -11,7 +11,7 @@ `cupsctl -h {{server[:port]}}` -- Display current configuration values [E]ncrypting the connection to the scheduler: +- Enable encryption on the connection to the scheduler: `cupsctl -E` From 00f7bc3f694756a14ef5594dec2a6180f158121c Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:34:33 -0300 Subject: [PATCH 16/23] lpadmin: capitalize CUPS Co-authored-by: K.B.Dharun Krishna --- pages/common/lpadmin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/lpadmin.md b/pages/common/lpadmin.md index dcac0e84dd..c245195620 100644 --- a/pages/common/lpadmin.md +++ b/pages/common/lpadmin.md @@ -1,6 +1,6 @@ # lpadmin -> Configure cups printers and classes. +> Configure CUPS printers and classes. > See also: `lpoptions`. > More information: . From a69a97865a80dd93fda6344f5dbdc46b6fcc1e53 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:35:23 -0300 Subject: [PATCH 17/23] cupsctl: fix typo Co-authored-by: K.B.Dharun Krishna --- pages/common/cupsctl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/cupsctl.md b/pages/common/cupsctl.md index fcfa20d1b2..cbb148e083 100644 --- a/pages/common/cupsctl.md +++ b/pages/common/cupsctl.md @@ -17,7 +17,7 @@ - Enable or disable debug logging to the `error_log` file: -`cupsctl {{--debug-logging|--no-debug-loging}}` +`cupsctl {{--debug-logging|--no-debug-logging}}` - Enable or disable remote administration: From 492f0eb2c87113238d332950f3bebcfad6df97a3 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:37:30 -0300 Subject: [PATCH 18/23] lpq, lpoptions, lpadmin, lprm: don't highlight mnemonics Co-authored-by: K.B.Dharun Krishna --- pages/common/lpadmin.md | 6 +++--- pages/common/lpoptions.md | 4 ++-- pages/common/lpq.md | 4 ++-- pages/common/lprm.md | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/common/lpadmin.md b/pages/common/lpadmin.md index c245195620..09533e2736 100644 --- a/pages/common/lpadmin.md +++ b/pages/common/lpadmin.md @@ -8,14 +8,14 @@ `lpadmin -d {{printer}}` -- [d]elete a specific printer or class: +- Delete a specific printer or class: `lpadmin -x {{printer|class}}` -- Add a printer to a [c]lass: +- Add a printer to a class: `lpadmin -p {{printer}} -c {{class}}` -- [r]emove a printer from a class: +- Remove a printer from a class: `lpadmin -p {{printer}} -r {{class}}` diff --git a/pages/common/lpoptions.md b/pages/common/lpoptions.md index 42f6994667..84d8807a29 100644 --- a/pages/common/lpoptions.md +++ b/pages/common/lpoptions.md @@ -8,11 +8,11 @@ `lpoptions -d {{printer[/instance]}}` -- [l]ist printer-specific options of a specific printer: +- List printer-specific options of a specific printer: `lpoptions -d {{printer}} -l` -- Set a new [o]ption on a specific printer: +- Set a new option on a specific printer: `lpoptions -d {{printer}} -o {{option[=value]}}` diff --git a/pages/common/lpq.md b/pages/common/lpq.md index acad673e33..416fb204b7 100644 --- a/pages/common/lpq.md +++ b/pages/common/lpq.md @@ -7,11 +7,11 @@ `lpq` -- Show the queued jobs of [a]ll printers enforcing [E]ncryption: +- Show the queued jobs of all printers enforcing encryption: `lpq -a -E` -- Show the queued jobs in a [l]ong format: +- Show the queued jobs in a long format: `lpq -l` diff --git a/pages/common/lprm.md b/pages/common/lprm.md index f402d9516f..7ef7c1f687 100644 --- a/pages/common/lprm.md +++ b/pages/common/lprm.md @@ -12,7 +12,7 @@ `lprm -h {{server[:port]}} {{job_id}}` -- Cancel multiple jobs with a [E]ncrypted connection to the server: +- Cancel multiple jobs with a encrypted connection to the server: `lprm -E {{job_id1 job_id2 ...}}` From e3a550712519eacc1247f6891d7887655307a094 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:38:57 -0300 Subject: [PATCH 19/23] lpoptions: remove "[=value]" Co-authored-by: K.B.Dharun Krishna --- pages/common/lpoptions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/lpoptions.md b/pages/common/lpoptions.md index 84d8807a29..103bb15003 100644 --- a/pages/common/lpoptions.md +++ b/pages/common/lpoptions.md @@ -14,7 +14,7 @@ - Set a new option on a specific printer: -`lpoptions -d {{printer}} -o {{option[=value]}}` +`lpoptions -d {{printer}} -o {{option}}` - Remove the options of a specific printer: From 618b92eab3559dbb2ec350c9f0decac49022725d Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:40:05 -0300 Subject: [PATCH 20/23] lpoptions: don't highlight mnemonics in pt_BR --- pages.pt_BR/common/lpoptions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages.pt_BR/common/lpoptions.md b/pages.pt_BR/common/lpoptions.md index 6bb38b0dae..eb07abffb3 100644 --- a/pages.pt_BR/common/lpoptions.md +++ b/pages.pt_BR/common/lpoptions.md @@ -8,14 +8,14 @@ `lpoptions -d {{impressora[/instância]}}` -- [l]istar opções específicas de uma impressora: +- Listar opções específicas de uma impressora: `lpoptions -d {{impressora}} -l` -- Definir uma nova [o]pção em uma impressora: +- Definir uma nova opção em uma impressora: `lpoptions -d {{impressora}} -o {{opção[=valor]}}` -- E[x]cluir as opções de uma impressora específica: +- Excluir as opções de uma impressora específica: `lpoptions -d {{impressora}} -x` From d1a3f4265ecac714e127027bcfa2fc1bb1baf04c Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:46:47 -0300 Subject: [PATCH 21/23] lpadmin: remove -x mnemonic --- pages.pt_BR/common/lpadmin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages.pt_BR/common/lpadmin.md b/pages.pt_BR/common/lpadmin.md index 23b86560ed..4bd7ed974f 100644 --- a/pages.pt_BR/common/lpadmin.md +++ b/pages.pt_BR/common/lpadmin.md @@ -8,7 +8,7 @@ `lpadmin -d {{impressora}}` -- E[x]cluir uma impressora ou classe específica: +- Excluir uma impressora ou classe específica: `lpadmin -x {{impressora|classe}}` From 69ea78641ecf05865c71c711adb1d9c4fb995d84 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:49:01 -0300 Subject: [PATCH 22/23] lpq: fix typo and remove mnemonic in pt_BR --- pages.pt_BR/common/lpq.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages.pt_BR/common/lpq.md b/pages.pt_BR/common/lpq.md index a6a8da7945..65be846ec7 100644 --- a/pages.pt_BR/common/lpq.md +++ b/pages.pt_BR/common/lpq.md @@ -7,11 +7,11 @@ `lpq` -- Mostrar os trabalhos na flila de todas as impressoras usando criptografia: +- Mostrar os trabalhos na fila de todas as impressoras usando criptografia: `lpq -a -E` -- Mostrar os trabalhos da fila em um formato [l]ongo: +- Mostrar os trabalhos da fila em um formato longo: `lpq -l` From 2b376ebf7d747cb1aef953426e6dff943884af4e Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:50:48 -0300 Subject: [PATCH 23/23] cupsctl: simplify description in pt_BR --- pages.pt_BR/common/cupsctl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages.pt_BR/common/cupsctl.md b/pages.pt_BR/common/cupsctl.md index b717fc423d..b1e0a2e822 100644 --- a/pages.pt_BR/common/cupsctl.md +++ b/pages.pt_BR/common/cupsctl.md @@ -11,7 +11,7 @@ `cupsctl -h {{servidor[:porta]}}` -- Exibir os valores de configuração atuais criptografando a conexão ao scheduler: +- Ativar a criptografia na conexão ao scheduler: `cupsctl -E`