Home / RaspberryPi /

RPi Print Server

  1. sudo apt update && sudo apt upgrade -y
  2. If the printer is USB, you can use lsusb to confirm the printer is connected
  3. Install CUPS
  4. Add your user to the printer admin group
  5. Before you can setup the printer, you need to edit the conf file:

  6. After editing, restart CUPS
  7. Open a browser and navigate to the IP of the Pi on port 631
  8. Under the Administration tab you should be able to add a printer after logging on with your Pi user credentials
  9. If you're not using Windows clients, you're done apart from setting up the printers on the client computers! If you are, samba needs a bit of tweaking yet...
  10. Open the samba settings:
  11. In the print section, match these settings:

    # 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
  12. Restart samba and setup client computers!

reference


this document last modified: October 29 2017 23:55

Home / RaspberryPi /