CUPS API: subscribe event

Rytis zibalas at gmail.com
Thu Jun 1 00:19:37 PDT 2006


Uh, it's more complicated than i thought. Anyway, i've rethinked what i whant to do so.. what i need is to get notification whenever printer completes a job. I would also need id of completed job. Is that possible? And how can i achieve that?

> Add a notify-recipient or notify-pull-method attribute/option to
> your print job request.  For ippget notifications, you'll want to
> send the notify-pull-method attribute (IPP_TAG_KEYWORD) with a
> value of "ippget".  For email notifications, you'll want to send
> the notify-recipient attribute (IPP_TAG_URI) with a value of
> "mailto:username at domain.com", where "username at domain.com" is your
> email address.
>
> If you can provide the code you currently use to submit a job and
> the type of notifications you want to get, I can provide the changes
> needed...





More information about the cups-devel mailing list