delay in raw print after upgrade 1.3.10 -> 1.4.6

Franta Hanzlik franta at hanzlici.cz
Thu Mar 3 00:59:06 PST 2011


(@Jiří Popelka: You are right, Fedora's cups-1.4.6 already contain str3495.patch)

Mike, many thanks! Your deduction is violent! When I aply this little patch:

--- backend/snmp-supplies.c~	2011-03-02 03:21:00.000000000 +0100
+++ backend/snmp-supplies.c	2011-03-02 19:05:46.671504999 +0100
@@ -401,6 +401,9 @@
   * See if we should be getting supply levels via SNMP...
   */

+  /* temporary disable cupsSNMPSupplies */
+  return;
+
   if ((ppd = ppdOpenFile(getenv("PPD"))) != NULL &&
       (ppdattr = ppdFindAttr(ppd, "cupsSNMPSupplies", NULL)) != NULL &&
       ppdattr->value && strcasecmp(ppdattr->value, "true"))


(only immediate return from backend_init_supplies() function), then delay is away and printing start immediately. I'm not programmer and not understand cups code, but I think this fully confirms Your conclusion.
Then I just will try file this bug, as You recommends.
Once more thanks for You brilliant problem solving.

> Franta,
>
> I think the issue is the SNMP supplies/status support that was added in =
> 1.4.x. By default it is turned on unless you have "*cupsSNMPSupplies: =
> False", but for a raw queue there is no PPD file.
>
> Please file a bug for this at:
>
>     http://www.cups.org/str.php
>
> I think the resolution for this should be that the SNMP supplies/status =
> support is not enabled for non-PPD/raw queues at all.
>
> On Mar 1, 2011, at 12:27 AM, Franta Hanzlik wrote:
>
> > Mike, thank for Your suggestion. CUPS logs w. debug enabled  are here:
> > http://www.hanzlici.cz/hentam/
> > I'm sorry - I forgot say one thing which maybe can affect this problem =
> - all described printers are connected over Jetdirect (emulated on other =
> Linux boxes).
> >=20
> >=20
> >> Enable debug logging (cupsctl --debug-logging) and then post a link =
> to your e=3D
> >> rror_log file - that should show where the delay is.
> >>=20
> >> On Feb 28, 2011, at 6:39 AM, Franta Hanzlik <franta at hanzlici.cz> =
> wrote:
> >>=20
> >>> We have two serial-line cash text printers and one PCL USB printer, =
> on whi=3D
> >> ch are printing from DOS application running on Linux under DOSEMU. =
> All prin=3D
> >> ters are in CUPS configured as "raw queue".
> >>> When we run on old (Fedora 9/i386 w. cups-1.3.10) configuration, =
> data to a=3D
> >> ll printers was sent almost immediately (within cca 1 sec serial =
> printers st=3D
> >> art print).
> >>> Now after upgrade to newer distro (Fedora 14/i386 w. cups-1.4.6), we =
> notic=3D
> >> ed significant (about further 5-6 second) delay until printing start.
> >>> Please, is there any option which can solve this issue? Or, can =
> someone re=3D
> >> commend any method for debugging this problem?
> >>> =3D20
> >>> I tried find some info, maybe http://www.cups.org/str.php?L3744 or =
> http://=3D
> >> www.cups.org/str.php?L3495 reports can relate with, but not sure. Any =
> sugges=3D
> >> tion for this bug?
> >>> _______________________________________________
> >>> cups-bugs mailing list
> >>> cups-bugs at easysw.com
> >>> http://lists.easysw.com/mailman/listinfo/cups-bugs
> >>=20
> >=20
> > _______________________________________________
> > cups-bugs mailing list
> > cups-bugs at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups-bugs
>
> __________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>





More information about the cups-devel mailing list