Get-Job-Attributes
Michael Sweet
mike at easysw.com
Mon Jan 29 08:36:32 PST 2007
vladimir wrote:
> How can i get the full list of current job attributes?
> I mean, function ippFindAtribute is not satisfy the requirements cause name of an attribute is not known.
Loop through the attributes, e.g.:
for (attr = response->attrs; attr; attr = attr->next)
{
if (attr->group_tag != IPP_TAG_JOB || !attr->name)
continue;
/* look at attr->name and attr->value_tag */
}
--
______________________________________________________________________
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