home · contact · privacy
Add Brother printer setup.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 30 Jan 2022 19:22:24 +0000 (20:22 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 30 Jan 2022 19:22:24 +0000 (20:22 +0100)
bullseye/setup_scripts/setup_desktop.sh

index 37a8e209206d2819a442de4bc3caeeef0ce5e58d..94962f87b8cd4adc22acd897978704384bc34a68 100755 (executable)
@@ -21,9 +21,14 @@ else
   ./setup.sh "${system_name}" "" user desktop "${system_name}"
 fi
 
-# # Set up printer.
-# lpadmin -p 'HP_Deskjet_F300_series' -m 'drv:///hpcups.drv/hp-deskjet_f300_series.ppd' -o 'OutputMode=NormalGray' -E
-# service cups restart
+# Set up printer.
+ppd_deb="hll2350dwpdrv-4.0.0-1.i386.deb"
+wget "https://download.brother.com/welcome/dlf103566/${ppd_deb}"
+apt install -y "./{ppd_deb}"
+lpadmin -p 'Brother HLL2350DW' -m 'brother-HLL2350DW-cups-en.ppd'
+service cups restart
+rm "./{ppd_deb}"
+# TODO explore potential lpadmin options like -o 'OutputMode=NormalGray'
 
 # Set up user environments.
 secrets_dev="sdb"