home · contact · privacy
Fix printer setup.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 24 Dec 2022 14:14:01 +0000 (15:14 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 24 Dec 2022 14:14:01 +0000 (15:14 +0100)
bullseye/setup_scripts/setup_desktop.sh

index 94962f87b8cd4adc22acd897978704384bc34a68..45aa508c85b86b577c63eb1d8827f3c7324baabd 100755 (executable)
@@ -24,9 +24,11 @@ fi
 # 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
+dpkg --ad-architecture i386
+apt update
+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'