[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to get cups printing remotely solved



On (05/09/06 03:42), mlaks wrote:
> This letter documents 
> 
> How I set up printing on debian sid remotely ie: 
> from 1 computer running sid to another computer running sid.
> 
> good articles on cups setup remotely
> http://www.linuxquestions.org/linux/answers/Networking/Setting_Up_a_Network_Printer_using_CUPS
> http://www.gentoo.org/doc/en/printing-howto.xml
> http://wiki.archlinux.org/index.php/CUPS_Setup#Linux_to_Linux
> https://help.ubuntu.com/community/NetworkPrintingWithUbuntu
> http://xubuntu.wordpress.com/2006/08/09/howto-print-from-one-ubuntu-printer-to-another-with-xubuntu/
> 
> Here are my brief notes. My network is 192.168.10.* and I have the server set up at 192.168.10.18
> key things are:
> 
> On server: 
> edit /etc/cups/cupsd.conf
> 
> 1) delete the following two lines 
> 	Localhost:631
> 	/var/run/cups/cups.sock
> 
> substitute the line
> 	Port 631
> 
> 2) add the line
> Browsing On
> 
> 3) In Location stanza allow the following
> 
> <Location />
>   Order allow,deny
>   Allow localhost
>   AuthType None
>   Allow From 192.168.10.64
>   Allow From 192.168.10.0/255.255.255.0
> #  alternative Allow From 192.168.*.*
> </Location>
> 
> ????????????? possibly may need a line
> ServerName 192.168.10.18
> 
> ?????????????? possiby  may need a line
> BrowseAddress 192.168.10.255
> 
> 
> ****************
> 
> I then set  up a printer. i called it hplaserjet on the server. 
> I used cups web administration 
> localhost:631
> 
> *****************
Can you print from the server itself (test page from the web interface)?

> 
> On the client machine I created a file called
> /etc/cups/client.conf 
> 
> which has the line
> 
> ServerName 192.168.10.18
> 
> where the ip address is that of your printer server.
> 
> i then needed to go into the web based adminstration module on the client 
> to install the printer  
> in web browser open up
> 
> localhost:631 
> go into administrative module
> 
> i needed to set up the printer. 
> 
> click add a printer
> 
> call it anything you want then 
> enter this location
> 
> ipp://192.168.10.18:631/printers/hplaserjet
> 
This may be where the problem lies.  The location should look someting
like:
ipp://<server>/<printer>

The :631 isn't required.  If you add 192.168.10.18 to /etc/hosts, you
can use the server name rather than IP address.

HTH

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business




Reply to: