From: Christian Heller Date: Sun, 30 Jan 2022 19:22:24 +0000 (+0100) Subject: Add Brother printer setup. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/error?a=commitdiff_plain;h=159dccb52eebf2e3161893e86bdc14d3ec83177a;p=config Add Brother printer setup. --- 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"