Skip to content

Instantly share code, notes, and snippets.

@otherjustin
Forked from dcasati/airprint on raspberry pi
Created November 24, 2024 15:43
Show Gist options
  • Save otherjustin/55fd4d90e45bcc3b1b9034b447dcfd4f to your computer and use it in GitHub Desktop.
Save otherjustin/55fd4d90e45bcc3b1b9034b447dcfd4f to your computer and use it in GitHub Desktop.
# These steps are known to work on a rpi1,2 and 3.
# tested with the Samsung SCX-3400 are needed
sudo apt install avahi-daemon cups printer-driver-splix
sudo usermod -a -G lpadmin pi
sudo cupsctl --remote-any
# enable the daemons
sudo systemctl enable cups
sudo systemctl enable avahi-daemon
# start them
sudo systemctl start cups
sudo systemctl start avahi-daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment