DeskTux

Linux on Desktops

User Tools

Site Tools


apps:printserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
raspi:printserver [2014-06-26 22:27] – [Server installation and configuration] jensraspi:printserver [2014-07-17 20:42] – Fixing minor errors and authentication issues jens
Line 6: Line 6:
   - On your Raspberry, install CUPS: <code>sudo apt-get install cups</code>   - On your Raspberry, install CUPS: <code>sudo apt-get install cups</code>
   - After the installation go to the dicectory ''/etc/cups'' and edit the ''cupsd.conf''. Edit the following lines: <code>Listen localhost:631</code> must be <code>Listen *:631</code>   - After the installation go to the dicectory ''/etc/cups'' and edit the ''cupsd.conf''. Edit the following lines: <code>Listen localhost:631</code> must be <code>Listen *:631</code>
-  - Look for any section beginning with ''<Location>'' and add the following line as a last line in that section to allow printing from the local network: <code>Allow @Local</code> +  - Look for all sections beginning with ''<Location>'' and add the following line as a last line in that section to allow printing and administration from the local network: <code>Allow @LOCAL</code> 
-  - Afterwards, restart ''cupsd'' <code>/etc/init.d/cupsd restart</code>+  - Add the user ''pi'' to the group ''lpadmin'' so you can use this username for the web interface: <code>sudo adduser pi lpadmin</code> 
 +  - Afterwards, restart the CUPS daemon: <code>service cups restart</code>
   - Finally, go to the CUPS webinterface "Administration" tab on your Pi through ''<nowiki>https://RaspberryPi-IP-or-Name:631/admin</nowiki>'' and check the following:   - Finally, go to the CUPS webinterface "Administration" tab on your Pi through ''<nowiki>https://RaspberryPi-IP-or-Name:631/admin</nowiki>'' and check the following:
     * Share printers connected to this system     * Share printers connected to this system
     * Allow remote administration     * Allow remote administration
     * Allow users to cancel any job (not just their own)\\ This shouldn't matter much in your home network, if you are concerned you can of course leave this off.     * Allow users to cancel any job (not just their own)\\ This shouldn't matter much in your home network, if you are concerned you can of course leave this off.
-  - Click "Change Settings" and the server is ready to go.+  - Click "Change Settings" and the server is ready to go. Just add you printer(s) as needed.
  
 ===== Client configuration ===== ===== Client configuration =====
apps/printserver.txt · Last modified: 2024-05-18 20:35 by jens