[cups.general] How to retrieve cups job informations on the fly?

Tim Waugh twaugh at redhat.com
Fri Apr 18 03:58:14 PDT 2008


On Thu, 2008-04-17 at 10:27 -0700, Jardel Weyrich wrote:
> I want to know HOW and what's the BETTER way to get the contents from
> the job structure (cups_job_t) in realtime (on the fly). I mean, when
> someone in the network uses the printer (through CUPS obviously), I
> must "log" as many informations as possible about that (# of pages, #
> of copies, colored or not, resolution, paper type, and so on).

How about using IPP subscriptions?  Perform an
IPP-Create-Printer-Subscription request, and periodically perform
IPP-Get-Notifications requests.

Tim.
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.cups.org/pipermail/cups/attachments/20080418/f864f6bb/attachment.bin>


More information about the cups mailing list