CHANGES-1.1.txt
---------------
+CHANGES IN CUPS V1.1.14
+
+ - The IPP backend did not pass the requesting user name
+ when checking on the print job status. This prevented
+ it from waiting for the job to complete when
+ communicating with some IPP implementations that
+ require it.
+
+
CHANGES IN CUPS V1.1.13
- The lpstat command did not report jobs submitted to
/*
- * "$Id: ipp.c,v 1.38.2.6 2002/01/30 18:31:23 mike Exp $"
+ * "$Id: ipp.c,v 1.38.2.7 2002/02/06 19:21:42 mike Exp $"
*
* IPP backend for the Common UNIX Printing System (CUPS).
*
ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id",
job_id);
+ if (argv[2][0])
+ ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name",
+ NULL, argv[2]);
+
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD,
"requested-attributes", NULL, "job-state");
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri",
NULL, uri);
+ if (argv[2][0])
+ ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name",
+ NULL, argv[2]);
+
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD,
- "requested-attributes", NULL, "job-state-reasons");
+ "requested-attributes", NULL, "printer-state-reasons");
/*
* Do the request...
/*
- * End of "$Id: ipp.c,v 1.38.2.6 2002/01/30 18:31:23 mike Exp $".
+ * End of "$Id: ipp.c,v 1.38.2.7 2002/02/06 19:21:42 mike Exp $".
*/