[cups.development] [RFE] STR #1466: Use connecting-to-device reason for better sleep management

jlovell.apple jlovell at apple.com
Tue Mar 7 11:40:37 PST 2006


[STR New]

Backends should use the connecting-to-device printer-state-reason to
indicate when they are not yet connected to a printer -- therfore allowing
better sleep management in cupsd.

Patch file attached that does the following:

backend/scsi-irix.c:
backend/scsi-linux.c:
backend/usb-darwin.c:
backend/usb-unix.c:
  - print_device(): Set & clear connecting-to-device printer-state-reason.

backend/ieee1394.c:
backend/parallel.c:
backend/serial.c:
backend/socket.c:
  - main(): Set & clear connecting-to-device printer-state-reason.

backend/lpd.c:
  - lpd_queue(): Set & clear connecting-to-device printer-state-reason.
  - Reformat conditional to allow editor brace matching.

backend/ipp.c:
  - main(): Set & clear connecting-to-device printer-state-reason.
  - compress_files(): Printf format warning.

scheduler/sysman.c:
  - cupsdUpdateSystemMonitor(): Add test for connecting-to-device when
looking at active printers.

Comments?

Thanks!

Link: http://www.cups.org/str.php?L1466
Version: 1.2-feature
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: connecting.patchfile
URL: <https://lists.cups.org/pipermail/cups/attachments/20060307/a7a996f4/attachment.ksh>


More information about the cups mailing list