Index: doc/help/spec-ipp.html
===================================================================
--- doc/help/spec-ipp.html (revision 7941)
+++ doc/help/spec-ipp.html (working copy)
@@ -793,16 +793,16 @@
attributes as described in section 3.1.4.1 of the IPP Model and
Semantics document.
+
"first-printer-name" (name(127)):CUPS 1.2
+
+ The client OPTIONALLY supplies this attribute to
+ select the first printer that is returned.
+
"limit" (integer (1:MAX)):
The client OPTIONALLY supplies this attribute limiting the
number of printers that are returned.
- "printer-info" (text(127)):CUPS 1.1
-
- The client OPTIONALLY supplies this attribute to
- select which printers are returned.
-
"printer-location" (text(127)): CUPS 1.1.7
The client OPTIONALLY supplies this attribute to
@@ -827,6 +827,11 @@
responds as if this attribute had been supplied with a value of
'all'.
+ "requested-user-name" (name(127)) : CUPS 1.2
+
+ The client OPTIONALLY supplies a user name that is used to filter
+ the returned printers.
+
CUPS-Get-Printers Response
@@ -1052,15 +1057,16 @@
attributes as described in section 3.1.4.1 of the IPP Model and
Semantics document.
+ "first-printer-name" (name(127)):CUPS 1.2
+
+ The client OPTIONALLY supplies this attribute to
+ select the first printer that is returned.
+
"limit" (integer (1:MAX)):
The client OPTIONALLY supplies this attribute limiting the
number of printer classes that are returned.
- "printer-info" (text(127)): CUPS 1.1.7
- The client OPTIONALLY supplies this attribute to
- select which printer classes are returned.
-
"printer-location" (text(127)): CUPS 1.1.7
The client OPTIONALLY supplies this attribute to
select which printer classes are returned.
@@ -1081,6 +1087,11 @@
interested. If the client omits this attribute, the server responds as
if this attribute had been supplied with a value of 'all'.
+ "requested-user-name" (name(127)) : CUPS 1.2
+
+ The client OPTIONALLY supplies a user name that is used to filter
+ the returned printers.
+
CUPS-Get-Classes Response
Index: CHANGES.txt
===================================================================
--- CHANGES.txt (revision 7941)
+++ CHANGES.txt (working copy)
@@ -1,9 +1,11 @@
-CHANGES.txt - 2008-09-07
+CHANGES.txt - 2008-09-16
------------------------
CHANGES IN CUPS V1.3.9
- - Documentation updates (STR #2904)
+ - Documentation updates (STR #2904, STR #2944)
+ - The scheduler did not support destination filtering using
+ the printer-location attribute properly (STR #2945)
- The scheduler did not send the server-started,
server-restarted, or server-stopped events (STR #2927)
- The scheduler no longer enforces configuration file
Index: scheduler/ipp.c
===================================================================
--- scheduler/ipp.c (revision 7941)
+++ scheduler/ipp.c (working copy)
@@ -6746,8 +6746,8 @@
{
if ((!type || (printer->type & CUPS_PRINTER_CLASS) == type) &&
(printer->type & printer_mask) == printer_type &&
- (!location || !printer->location ||
- !strcasecmp(printer->location, location)))
+ (!location ||
+ (printer->location && !strcasecmp(printer->location, location))))
{
/*
* If HideImplicitMembers is enabled, see if this printer or class
@@ -7734,6 +7734,9 @@
cupsdSaveJob(job);
+ cupsdLogMessage(CUPSD_LOG_INFO, "[Job %d] Queued on \"%s\" by \"%s\".",
+ job->id, job->dest, job->username);
+
/*
* Start the job if possible...
*/