CUPS API: Wait for event?

Michael Sweet mike at easysw.com
Thu Apr 27 07:19:41 PDT 2006


Anonymous wrote:
> Well... i need to be able to reject certain user print requests after
> he printed n pages. But i don't want to check how many pages he has
> printed every 2 seconds, i would rather do that after each print. It
> that possible?

With CUPS 1.2, you can subscribe to job-completed events and then
act on them as needed...

You might also want to look at the Pykota stuff on the CUPS links
page...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups-devel mailing list