aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-11-16 23:36:09 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-11-16 23:36:09 +0100
commit3887dedcdd7fcf1df5295c44ba9e56c27642752d (patch)
tree75d24418d92b69a154845f91f1f23c2d1d881bf1 /src
parent3d599bcbf6771def1076c3e9561bc748956dfc94 (diff)
downloadnotes-3887dedcdd7fcf1df5295c44ba9e56c27642752d.tar.gz
notes-3887dedcdd7fcf1df5295c44ba9e56c27642752d.zip
cups: minor cleanup, add example to set printer option
Diffstat (limited to 'src')
-rw-r--r--src/linux/cups.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/linux/cups.md b/src/linux/cups.md
index 9fb2458..75b436e 100644
--- a/src/linux/cups.md
+++ b/src/linux/cups.md
@@ -22,12 +22,14 @@ lpadmin -x PRINTER
```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
```
## Inspect installed printer.