From 3887dedcdd7fcf1df5295c44ba9e56c27642752d Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sat, 16 Nov 2024 23:36:09 +0100 Subject: cups: minor cleanup, add example to set printer option --- src/linux/cups.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/linux') 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. -- cgit v1.2.3