Note: This is a really simple howto. I thought that it would be posted already. However, after a few searches, I couldn't find a similar howto, so I'm posting this one. If it exists already, then I apologize.
This guide will tell you how to use a printer that is not connected to your computer, but connected to a different computer on the same network. I have the home or small office network in mind while writing this.
This guide assumes that you're using CUPS:
1. Log on to the computer that the printer is connected to.
2. Open your CUPS daemon configuration file:
Code:
gksudo gedit /etc/cups/cupsd.conf
3. Hit Ctrl+F and search for Then close the Search dialogue. You should see something that looks like this:
Code:
# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
Allow @LOCAL
</Location>
4. Edit it to look like this:
Code:
<Location />
Order Deny,Allow
Allow From 127.0.0.1
Allow From 192.168.1.*
</Location>
Note: the IP address will vary based on your network settings. If you want to allow all interfaces on the network, you can do this:
Code:
<Location />
Order Deny,Allow
Allow From @LOCAL
</Location>
5. IF YOU'RE USING DAPPER - Open your CUPS Port Configuration file:
Code:
gksudo gedit /etc/cups/cups.d/ports.conf
IF YOU'RE USING A LATER RELEASE- Open this file again:
Code:
gksudo gedit /etc/cups/cupsd.conf
6. Replace the line with this: Note: This tells CUPS to listen to port 631 for any requests. This is a potential security risk-
Enabling LAN printers detection will open port 631 on your system. This exposes you to the risk of exploiting any security vulnerabilities of the printing system. Remote attackers could potentially gain access to your system with the privileges of the "cupsys" user.
Now, go on the computer(s) which you want to remotely print from.
1. Go to System > Administration > Printing, or launch 2. Go to 'Global Settings'
3. Click 'Detect LAN Printers'
You should now be able to print from any computer on the network.
Bookmarks