aboutsummaryrefslogtreecommitdiffhomepage
path: root/linux/cups.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2024-11-17 21:19:48 +0000
committerjohannst <johannst@users.noreply.github.com>2024-11-17 21:19:48 +0000
commit6e5044eb4ba064a497699208068d2553ac172f8c (patch)
treed87c8c5d87b2b961cc5aa842b1b829a762d62b09 /linux/cups.html
parent07dda6914ac1354b53da50d1b43cf439102c1bcc (diff)
downloadnotes-6e5044eb4ba064a497699208068d2553ac172f8c.tar.gz
notes-6e5044eb4ba064a497699208068d2553ac172f8c.zip
deploy: deb4619a79deace26923e91a93b6d7bbfce40e78gh-pages
Diffstat (limited to 'linux/cups.html')
-rw-r--r--linux/cups.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/linux/cups.html b/linux/cups.html
index 4df68f2..a047fbb 100644
--- a/linux/cups.html
+++ b/linux/cups.html
@@ -174,12 +174,14 @@ lpadmin -x PRINTER
<h2 id="printer--printing-options"><a class="header" href="#printer--printing-options">Printer &amp; Printing options</a></h2>
<pre><code class="language-sh"># List printer options.
# CHECK printer-make-and-model
-lpoptions -p Brother_MFC_L2750DW_series
+lpoptions -p PRINTER
# List printing options.
-lpoptions -p Brother_MFC_L2750DW_series -l
+lpoptions -p PRINTER -l
+# Set an options, eg duplex mode.
+lpoptions -p PRINTER -o 'Duplex=DuplexNoTumble
# Set the default printer (stored in ~/.cups/lpoptions).
-lpoptions -d Brother_MFC_L2750DW_series
+lpoptions -d PRINTER
</code></pre>
<h2 id="inspect-installed-printer"><a class="header" href="#inspect-installed-printer">Inspect installed printer.</a></h2>
<pre><code class="language-sh"># List default printer.