Skip to content

agyago/pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

USING RASPBERRY PI as a Print Server

playing around pi

** always update first: sudo apt-get update **

  1. cheezychinito@cheezychinitopi:~ $ sudo apt-get install hplip
  2. cheezychinito@cheezychinitopi:~ $ sudo apt-get install cups

** as a best practice add your user to the linux admin group "lpadmin". You can verify if lpadmin is added by typing "groups": cheezychinito@cheezychinitopi:~ $ groups. This requires a reboot **

  1. cheezychinito@cheezychinitopi:~ $ sudo usermod -a -G lpadmin cheezychinito

** CUPS can be accessed through web, but we need to edit some settings to cups config file first **

  1. cheezychinito@cheezychinitopi:~ $ nano /etc/cups/cupsd.conf

#Only listen for connections from the local machine.

Port 631 Listen /var/run/cups/cups.sock

#Show shared printers on the local network.

Browsing On

BrowseLocalProtocols dnssd

BrowseRemoteProtocols CUPS dnssd

BrowseAddress @LOCAL

#Restrict access to the server...

Order allow,deny Allow all

#Restrict access to the admin pages...

<Location /admin> #Order allow,deny

  1. Exit and restart service cheezychinito@cheezychinitopi:~ $ sudo service cups reload

  2. Go the web browser and type the IP address or hostname of your PI print server using port 631 https://cheezychinitopi:631

  3. From the admin page, select "add printer".

  4. Authenticate using your username and password

  5. Follow the procedures and use your Printer device and model

About

playing around pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published