From 159dccb52eebf2e3161893e86bdc14d3ec83177a Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Sun, 30 Jan 2022 20:22:24 +0100 Subject: [PATCH] Add Brother printer setup. --- bullseye/setup_scripts/setup_desktop.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/bullseye/setup_scripts/setup_desktop.sh b/bullseye/setup_scripts/setup_desktop.sh index 37a8e20..94962f8 100755 --- a/bullseye/setup_scripts/setup_desktop.sh +++ b/bullseye/setup_scripts/setup_desktop.sh @@ -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" -- 2.30.2