renaming jobs
Michael Sweet
mike at easysw.com
Wed Jul 28 10:42:03 PDT 2004
pieterjandeboeck at yahoo.co.uk wrote:
> Anyone know how to correct this:
>
> I want to rename a job. I have the job id and destination.
>
> I use the operation:
>
> request->request.op.operation_id = IPP_SET_JOB_ATTRIBUTES;
>
> and
>
> ...
>
> ippAddString(request , IPP_TAG_OPERATION, IPP_TAG_NAME,
> "job-name" , NULL, newName );
>
> ...
>
> CupsDoRequest() returns IPP_OK
>
> yet the name remains the same ???
> Any idea anyone,
Put the job-name attribute in the IPP_TAG_JOB group; it only
goes in the operation group when you create a job...
You'll find a description of this in RFC 2911 and 3380.
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Printing Software for UNIX http://www.easysw.com
More information about the cups-devel
mailing list