[cups.general] Delay before printing in more recent Linux distributions?

Helge Blischke h.blischke at acm.org
Thu Dec 2 15:31:26 PST 2010


Nick Rahl wrote:

> This is the SNMP code getting the final page count; add "*cupsSNMP: False"
> to your PPD file and the delay will disappear.
> 
> 
> Thanks Michael,
> 
> I added:
> 
> *cupsSNMP: False
> 
> To the bottom of the PPD file just before:
> 
> *% End of ZEBRAEP2.PPD, 67437 bytes.
> 
> In /etc/cups/ppd/
> 
> ...and restarted cups, but the delay is still present, and I'm still
> getting the error in my log.
> 
> What am I doing wrong?
> 
> I'm using CUPS 1.4.5. My printer is a Zebra/Eltron 2844. This
> delay/error is also present in 1.4.3, but is NOT present in 1.3.8.
> 
> And once the printer light starts blinking (after the SNMP delay), is it
> normal for it to take another 5 seconds to download the data before
> printing it? It's a one page, 70K .png file. Are there any network
> settings that could be tweaked, like compressing the file, changing
> packet size, etc?
> 
> 3 seconds is spent on the loop:
> 
> I [02/Dec/2010:15:20:41 -0500] [Job 3195] Printing page 1, 65% complete...
> D [02/Dec/2010:15:20:41 -0500] Discarding unused job-progress event...
> D [02/Dec/2010:15:20:41 -0500] Discarding unused printer-state-changed
> event...
> I [02/Dec/2010:15:20:41 -0500] [Job 3195] Printing page 1, 67% complete...
> 
> and 3 more seconds on the loop:
> 
> D [02/Dec/2010:15:20:43 -0500] [Job 3195] Wrote 8192 bytes of print
> data... D [02/Dec/2010:15:20:43 -0500] [Job 3195] Read 8192 bytes of print
> data... D [02/Dec/2010:15:20:44 -0500] [Job 3195] Wrote 8192 bytes of
> print data... D [02/Dec/2010:15:20:44 -0500] [Job 3195] Read 8192 bytes of
> print data...
> 
> Thanks again,
> Nick

greping through the 1.4.5 sources revealed that cupsSNMP appeared nowhere,
but there is some handling of cupsSNMPSupplies. I don't know if that affects 
the delay as well.

Helge





More information about the cups mailing list