From 72eed5d05f80476607b1d81654f6c49483f66e43 Mon Sep 17 00:00:00 2001 From: vitorhcl Date: Thu, 14 Dec 2023 22:19:28 -0300 Subject: [PATCH] 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]}}`