On Tue, 9 Nov 2004 06:46, Jack Malone wrote:
A friend of mine is having this problem. When cups stops printing, I think you will find /usr/bin/enable <printer> (you will have to use the full path else bash will complain) will get the printers working again without restarting cups.
Secondly you could try using the IPP protocol from the Window boxes instead of using samba for printing. I believe this may prevent the printer stopping for unknown reasons.
Hey Graham, the ipp setup is new to me. what do I need to do to set this up so the windows clients can print this way. I want to try it out an see if it solves my problem.
thanks
jack
Jack, Firstly regarding the lockups with cups, try using lpstat -t to see the status of your printers before killing cups. If the printers are disabled (as I found on my friends box) use the command /usr/bin/enable <printer> I don't have any Window boxes here, so haven't got a working URL here. I found the following on the net which should be sufficient to get you going. If you use google you will find quite a few hits. http://www.linuxquestions.org/questions/showthread.php?s=&forumid=55&threadid=247114 ======================================================= Connect to the linux server with IPP. Just make sure that cupsd.conf accepts ip's in your LAN, accepts raw. Configure your windows client by add network printer. URL = http://serverhostname:631/name_of_printer Map the server name to the server name's ip address in c:\windows\system32\drivers\etc\hosts then install the driver on the win box, and it should start working. Samba is not necessary at all except for file sharing. ==================================================== You may have to change the URL given above to URL = http://serverhostname:631/printers/<printer> Change /printers/ to the class of printer if you are using that option. If you install the native printer driver on XP you must make sure that Cups is configured to print raw data. Look at /etc/cups/mime.convs and mime.types The other thing you may try is to install the Adobe postscript drivers on XP instead of the native printer driver. I suggest you experiment with one Windows box and see which of the above is better. -- Regards, Graham Smith ---------------------------------------------------------