attachment-0001
<DIV>
<DIV> </DIV>
<DIV>Thanks Ira,<BR></DIV>
<DIV>All of them are parallel printers. The configuration<BR>I have in both sides, server and client, is very simple.<BR></DIV>
<DIV>Please tell me if you need to know anything else.</DIV>
<DIV> </DIV>
<DIV>Regards and thanks in advance,</DIV>
<DIV> </DIV>
<DIV>Martin.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>/etc/cups/printers.conf (server side - extract):</DIV>
<DIV> </DIV>
<DIV><Printer sales1><BR>Info Epson FX-890<BR>Location Rose Kellner (rkellner - IPP)<BR>DeviceURI ipp://rkellner.neukont.com/printers/lp<BR>State Idle<BR>Accepting Yes<BR>JobSheets none none<BR>QuotaPeriod 0<BR>PageLimit 0<BR>KLimit 0<BR></Printer></DIV>
<DIV><BR> </DIV>
<DIV>/etc/cups/printers.conf (client side):</DIV>
<DIV> </DIV>
<DIV><DefaultPrinter sales1><BR>Info EPSON FX-890 (filtered)<BR>Location Rose Kellner (rkellner)<BR>DeviceURI parallel:/dev/lp0<BR>State Idle<BR>Accepting Yes<BR>JobSheets none none<BR>QuotaPeriod 0<BR>PageLimit 0<BR>KLimit 0<BR></Printer></DIV>
<DIV><Printer lp><BR>Info EPSON FX-890 (raw)<BR>Location Rose Kellner (rkellner)<BR>DeviceURI parallel:/dev/lp0<BR>State Idle<BR>Accepting Yes<BR>JobSheets none none<BR>QuotaPeriod 0<BR>PageLimit 0<BR>KLimit 0<BR></Printer></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>
<TABLE cellSpacing=0 cellPadding=0 width=500 border=0>
<TBODY>
<TR><!-- +++++++ CONTENT +++++++ -->
<TD class=txt width=100 bgColor=#d8d8d8><FONT face="Trebuchet MS; verdana; arial" size=2><B>De:</B></FONT></TD>
<TD class=txt width=400 bgColor=#d8d8d8><FONT face="Trebuchet MS; verdana; arial" size=2>"McDonald, Ira" imcdonald@sharplabs.com</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>
<TABLE cellSpacing=0 cellPadding=0 width=500 border=0>
<TBODY>
<TR>
<TD class=txt width=100 bgColor=#d8d8d8><FONT face="Trebuchet MS; verdana; arial" size=2><B>Para:</B></FONT></TD>
<TD class=txt width=400 bgColor=#d8d8d8><FONT face="Trebuchet MS; verdana; arial" size=2>"'Mike Sweet'" mike@easysw.com,"McDonald, Ira" imcdonald@sharplabs.com,"'Martin Schwarzkopf'" mschwarzkopf@terra.com</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>
<TABLE cellSpacing=0 cellPadding=0 width=500 border=0>
<TBODY>
<TR>
<TD class=txt width=100 bgColor=#d8d8d8><FONT face="Trebuchet MS; verdana; arial" size=2><B>Copia:</B></FONT></TD>
<TD class=txt width=400 bgColor=#d8d8d8><FONT face="Trebuchet MS; verdana; arial" size=2></FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>
<TABLE cellSpacing=0 cellPadding=0 width=500 border=0>
<TBODY>
<TR>
<TD class=txt width=100 bgColor=#d8d8d8><FONT face="Trebuchet MS; verdana; arial" size=2><B>Fecha:</B></FONT></TD>
<TD class=txt width=400 bgColor=#d8d8d8><FONT face="Trebuchet MS; verdana; arial" size=2>Mon, 22 Nov 2004 08:49:50 -0800</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>
<TABLE cellSpacing=0 cellPadding=0 width=500 border=0>
<TBODY>
<TR>
<TD class=txt width=100 bgColor=#d8d8d8><FONT face="Trebuchet MS; verdana; arial" size=2><B>Asunto:</B></FONT></TD><!-- +++++++ CONTENT +++++++ -->
<TD class=txt width=400 bgColor=#d8d8d8><FONT face="Trebuchet MS; verdana; arial" size=2>FW: IPP> CUPS printer "is not ready" -- how to make it ready?</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>
<TABLE cellSpacing=0 cellPadding=0 width=500 border=0>
<TBODY>
<TR>
<TD width=100 bgColor=#e8e8e8> </TD>
<TD width=400 bgColor=#e8e8e8> </TD></TR></TBODY></TABLE></DIV>
<DIV>> Hi Martin,</DIV>
<DIV>> </DIV>
<DIV>> I'm forwarding your question directly to Michael Sweet </DIV>
<DIV>> (principal author of CUPS), for his comments.</DIV>
<DIV>> </DIV>
<DIV>> You might also want to visit the CUPS Support link:</DIV>
<DIV>> </DIV>
<DIV>> http://www.cups.org/support.php</DIV>
<DIV>> </DIV>
<DIV>> The IPP WG mailing list is really the wrong place for</DIV>
<DIV>> CUPS support questions.</DIV>
<DIV>> </DIV>
<DIV>> Cheers,</DIV>
<DIV>> - Ira</DIV>
<DIV>> </DIV>
<DIV>> Ira McDonald (Musician / Software Architect)</DIV>
<DIV>> Blue Roof Music / High North Inc</DIV>
<DIV>> PO Box 221 Grand Marais, MI 49839</DIV>
<DIV>> phone: +1-906-494-2434</DIV>
<DIV>> email: imcdonald@sharplabs.com</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> -----Original Message-----</DIV>
<DIV>> From: owner-ipp@pwg.org [mailto:owner-ipp@pwg.org]On Behalf Of Martin</DIV>
<DIV>> Schwarzkopf</DIV>
<DIV>> Sent: Monday, November 22, 2004 2:28 AM</DIV>
<DIV>> To: ipp</DIV>
<DIV>> Subject: IPP> CUPS printer "is not ready" -- how to make it ready?</DIV>
<DIV>> Importance: High</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> Perhaps this is a little long to explain but I need</DIV>
<DIV>> to do it this way so you can have a complete idea of</DIV>
<DIV>> my problem.</DIV>
<DIV>> </DIV>
<DIV>> I am in charge of a 25 PC network at the place I work,</DIV>
<DIV>> 23 PCs have Linux installed as Operating System and</DIV>
<DIV>> 2 of them have Windows XP. The server is also a Linux</DIV>
<DIV>> box running an application made in Cobol. All the</DIV>
<DIV>> Linux boxes have SuSE Linux 9.1.</DIV>
<DIV>> </DIV>
<DIV>> We have around a dozen matrix printers (Epson FX-890)</DIV>
<DIV>> connected to some linux stations and a laser printer</DIV>
<DIV>> (HP LaserJet 1300) connected to one of the windows PCs.</DIV>
<DIV>> </DIV>
<DIV>> All the PCs connect to the Linux server through a ssh</DIV>
<DIV>> session.</DIV>
<DIV>> </DIV>
<DIV>> At the Linux Server, all the printers (Linux and Windows)</DIV>
<DIV>> are declared as remote raw printers so that the users</DIV>
<DIV>> can print from the Cobol application.</DIV>
<DIV>> </DIV>
<DIV>> This server application sends pure text to the remote</DIV>
<DIV>> printers. At the server, the remote queues are declared</DIV>
<DIV>> as with CUPS at the Linux PCs and with SMB at the</DIV>
<DIV>> windows one.</DIV>
<DIV>> </DIV>
<DIV>> Each Linux workstation printer has 2 queues defined.</DIV>
<DIV>> One raw queue called "lp" to receive the jobs sent</DIV>
<DIV>> by the server and one filtered queue for the local</DIV>
<DIV>> printing (usually jobs from OpenOffice). This queue</DIV>
<DIV>> is usually named according to the labour of the user</DIV>
<DIV>> (sales5, credit2, control1, etc)</DIV>
<DIV>> </DIV>
<DIV>> The laser printer connected to the Windows PC works</DIV>
<DIV>> fine. ALWAYS. The matrix printers work only perfectly</DIV>
<DIV>> when the user sends a local print job (OpenOffice,</DIV>
<DIV>> Mozilla, Gimp, etc). The problem is that when the</DIV>
<DIV>> server sends a raw print job to the remote queues,</DIV>
<DIV>> frecuently, the printer status turns to "Printer is</DIV>
<DIV>> not ready" without any reason. This happens more or</DIV>
<DIV>> less after 3 or 4 print jobs sent to same remote</DIV>
<DIV>> queue.</DIV>
<DIV>> </DIV>
<DIV>> Sometimes the queue looks empty, and some others don't.</DIV>
<DIV>> The strange thing is that the user gets a complete and</DIV>
<DIV>> normally printed job, but when the printer turns to the</DIV>
<DIV>> "Printer is not ready" state, even when the report seems</DIV>
<DIV>> to be finished, sometimes it still appears in the queue.</DIV>
<DIV>> </DIV>
<DIV>> The only way I found to solve this, was creating a</DIV>
<DIV>> script to modify the /etc/cups/printers.conf file</DIV>
<DIV>> to turn it to "Printer IS ready" and to restart the</DIV>
<DIV>> daemon. (CUPS 1.1). This script checks the queue</DIV>
<DIV>> every minute.</DIV>
<DIV>> </DIV>
<DIV>> It doesnt matter if the jobs was still appearing in</DIV>
<DIV>> the queue, if the printer turned to the "is not ready"</DIV>
<DIV>> state, it will be printed again when I restart the</DIV>
<DIV>> daemon!!! So, if the user is printing numbered</DIV>
<DIV>> invoices or in a different kind of paper, they waste</DIV>
<DIV>> resources ans time.</DIV>
<DIV>> </DIV>
<DIV>> If the report is quite long (3 or more minutes), the</DIV>
<DIV>> printer queue will turn again into the "not ready"</DIV>
<DIV>> state before it finishes and the cron daemon will</DIV>
<DIV>> restart the cups daemon and I that user will have</DIV>
<DIV>> 3 or more copies of the same report.</DIV>
<DIV>> </DIV>
<DIV>> Can anybody lend me a hand? We were working with</DIV>
<DIV>> SuSE 8.0 before and this didn't happen. I have this</DIV>
<DIV>> problem since the upgrade to 9.1</DIV>
<DIV>> </DIV>
<DIV>> I think that the "Job Persistence" feature of cups is, in</DIV>
<DIV>> part, cause of my problem. Do you know how to disable it?</DIV>
<DIV>> I will appreciate any help anyone can give to me.</DIV>
<DIV>> </DIV>
<DIV>> Thanks a lot in advance,</DIV>
<DIV>> </DIV>
<DIV>> Martin Schwarzkopf</DIV>
<DIV>> mschwarzkopf@terra.com</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> ___________________________________________________</DIV>
<DIV>> ¡Sobre autos lo sabemos todo, y te podemos ayudar!</DIV>
<DIV>> Ya sea para comprar, vender o comparar autos, entra en el canal de autos de</DIV>
<DIV>> Terra.com</DIV>
<DIV>> Te aconsejamos, te informamos y te mostramos todo lo que necesitas saber.</DIV>
<DIV>> http://www.terra.com/autos</DIV></DIV><BR>
___________________________________________________<BR>
¡Sobre autos lo sabemos todo, y te podemos ayudar!<BR>
Ya sea para comprar, vender o comparar autos, entra en el canal de autos de Terra.com<BR>
Te aconsejamos, te informamos y te mostramos todo lo que necesitas saber.<BR>
<a href="http://www.terra.com/autos">http://www.terra.com/autos</a>