CUPS API: job info

Michael Sweet mike at easysw.com
Wed Apr 26 12:07:01 PDT 2006


Anonymous wrote:
> How do i get from CUPS API the IP of job subsriber and how many pages
> does it contain?

To get the job-originating-host-name attribute for a job, you need to
do an IPP_GET_JOB_ATTRIBUTES request.  Look at the cups/util.c source
file for how the cupsGetJobs() function works.

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




More information about the cups mailing list