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 revision
Previous revision
apps:printserver [2019-11-09 08:29] – Adapt for usage in apps jensapps:printserver [2024-05-18 18:35] (current) – Add discussion jens
Line 7: Line 7:
   - 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>   - 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>
   - On a Raspberry Pi, add the user ''pi'' to the group ''lpadmin'' so you can use this username for the web interface: <code>sudo adduser pi lpadmin</code>   - On a Raspberry Pi, 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>+  - Afterwards, restart the CUPS daemon: <code>systemctl restart cups</code>
   - Finally, go to the CUPS webinterface "Administration" tab on your server through ''<nowiki>https://Server-IP-or-Name:631/admin</nowiki>'' and check the following:   - Finally, go to the CUPS webinterface "Administration" tab on your server through ''<nowiki>https://Server-IP-or-Name:631/admin</nowiki>'' and check the following:
     * Share printers connected to this system     * Share printers connected to this system
Line 20: Line 20:
   - Create the file ''~/.cups/client.conf'' with the following content: <code>ServerName RaspberryPi-IP-or-Name</code> It is possible that the directory ''~/.cups'' doesn't exist, just create it. If you prefer that to be a global setting, create that same file in ''/etc/cups''.   - Create the file ''~/.cups/client.conf'' with the following content: <code>ServerName RaspberryPi-IP-or-Name</code> It is possible that the directory ''~/.cups'' doesn't exist, just create it. If you prefer that to be a global setting, create that same file in ''/etc/cups''.
   - That's it, now you're good to go!   - That's it, now you're good to go!
 +
 +~~DISCUSSION~~
apps/printserver.1573288147.txt.gz · Last modified: 2019-11-09 08:29 by jens