aboutsummaryrefslogtreecommitdiffhomepage
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-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.