What you need
Load factor: 0.05- 0.99
Packages required: Samba server, SWAT
Command count: 7
The fine print
To install printers, you will need to use CUPS, which has
its own web interface running on port 631, accessed by typing 'https: //
ipaddressofserver: 631’.
Like SWAT, it's locked down and only accessible from the
machine it is installed on by default. (You may find yourself thinking 'Are
Linux users a teensy bit paranoid?' The answer is yes, but these tools are
really designed for corporate networks.). We need to edit the cupd. Coif file
to allow access from the local network. Again, we use the Nano editor:
sudo nano /etc/cupsd.conf
You need to change several lines. First find this section:
# only listens for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.Sock
Change it to (insert the IP address of your own server:
#Listen for connections from the local network.
Listen 192.168.0.95:631
Listen /var/run/cups/cups. sock
Edit the following sections by adding Allow@LOCAL to allow
remote administration, so that they look like this:
# restricts access to the server...
<Location />
Order allow,deny Allow @LOCAL
</Location>
# restricts access to the admin pages...
<Location /admin>
Order allow, deny Allow @LOCAL
</Location>
# Restrict access to configuration files... <Location
/admin/conf> AuthType Default Require user @SYSTEM Order allow,deny Allow
@LOCAL </Location>
Save the changes with Ctrl+O, Enter to confirm, and Ctrl+X
to exit. Then restart CUPS: sudo cups restart
Log in via a web browser with https://192.168.0.95:63.
Note: For security reasons, CUPS won't allow logins from users without
passwords. The CUPS web interface is fairly straightforward, and can be used
to add, configure and share local or network printers.
Unfortunately, it would need another article to encompass
all of the different printer types and connection methods, but there's good
information on the internet for most printers. www.cups. org is a good
starting point, as is the Linux Foundation's open printing page at tinyurl
.com/72obv3z.
|