Skip to content

Instantly share code, notes, and snippets.

@tkuennen
Last active November 10, 2021 20:28
Show Gist options
  • Select an option

  • Save tkuennen/23491fb48a44b30cc79324c4de14e663 to your computer and use it in GitHub Desktop.

Select an option

Save tkuennen/23491fb48a44b30cc79324c4de14e663 to your computer and use it in GitHub Desktop.
Raspberry Pi Print Server
sudo apt-get install samba cups
sudo usermod –a –G lpadmin pi
# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
printing = cups
printcap name = cups
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = yes
read only = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /usr/share/cups/drivers
browseable = yes
read only = yes
guest ok = no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment