Get-Job-Attributes
vladimir
vova25 at gmail.com
Tue Jan 30 04:48:18 PST 2007
Thank you very much.
> 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