From 3d420ecff985528b707cc5091014be0fa334c170 Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Sat, 24 Dec 2022 15:14:01 +0100 Subject: [PATCH] Fix printer setup. --- bullseye/setup_scripts/setup_desktop.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bullseye/setup_scripts/setup_desktop.sh b/bullseye/setup_scripts/setup_desktop.sh index 94962f8..45aa508 100755 --- a/bullseye/setup_scripts/setup_desktop.sh +++ b/bullseye/setup_scripts/setup_desktop.sh @@ -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' -- 2.30.2