Printing to a remote Cups queue
electroglas
ulist at gs1.ubuntuforums.org
Tue Nov 30 06:57:03 UTC 2004
Here's the answer from http://tinyurl.com/65qop
Linux to Linux
Once you have CUPS setup on your Linux print server, sharing the
printer with another Linux box is relatively easy. There are several
ways to configure such a scenario, here we will describe the manual
setup. On the server computer (the one managing and connecting to the
printer) simply open up the /etc/cups/cupsd.conf file and allow access
to the server by modifying the location lines. For instance:
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 10.0.0.*
</Location>
Add the IP address of the client computer by doing Allow From
client_ip_address. After you make your modifications, you will want to
restart CUPS by doing:
# /etc/rc.d/cups restart
On the client side, open up /etc/cups/client.conf and edit the
ServerName? option to match the ip address or the name of your server.
For instance I named my server beast and have entry in my hosts file to
point to it. So in my client.conf file, I just editted this line:
ServerName beast
Next, run the following command to update the client computer:
# lpq
You should see something like this:
# ml1250 is ready
no entries
There are more configuartion possibilities including an automatic
configuration which are described in detail on
http://localhost:631/sam.html#CLIENT_SETUP (this link works on your
printer server).
That's it for Linux to Linux printer sharing.
--
electroglas
More information about the ubuntu-users
mailing list