This script allows you to print from the steam deck to any local printer on your network. After installing, please open your browser with: http://localhost:631/admin there you can “Add Printer”, after that you can now easily print from your steam deck.
Thanks LittleJawa for the script! Edit: I fixed the Parameters (there were to much spaces) and added some files that need to be removed if you need to reinstall cups because of steam deck update.
Source: Steam Forum
sudo steamos-readonly disable # Delete old files if persistent because you had cups prev. installed before sudo rm /etc/cups/cups-files.conf.default sudo rm /etc/cups/cupsd.conf.default sudo rm /etc/cups/snmp.conf.default sudo rm /etc/xdg/autostart/print-applet.desktop sudo rm /etc/cupshelpers/preferreddrivers.xml # initialize and populate pacman PGP keys sudo pacman-key --init sudo pacman-key --populate archlinux # CUPS + KDE printer manager GUI PACKAGES="cups print-manager system-config-printer" # Auto-discovery via DNS # https://wiki.archlinux.org/title/Avahi#Hostname_resolution PACKAGES="$PACKAGES nss-mdns" # WARNING: requires to update the /etc/nsswitch.conf file # use the following: # sed -i s/mymachines resolve/mymachines mdns_minimal #[NOTFOUND=return] resolve/ /etc/nsswitch.conf # Optionals (helpful) # foomatic pre-built ppd drivers PACKAGES="$PACKAGES foomatic-db-engine foomatic-db-ppds foomatic-db-nonfree-ppds" # ghostscript for non-pdf printers PACKAGES="$PACKAGES ghostscript" # cups-filters for driverless printers PACKAGES="$PACKAGES cups-filters" sudo pacman -Sy $PACKAGES sudo systemctl enable --now avahi-daemon sudo systemctl enable --now cups # re-lock the filesystem sudo steamos-readonly enable
Leave a Reply