]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Send requesting-user-name attribute for set-job-attributes requests.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 9 Mar 2001 14:26:54 +0000 (14:26 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 9 Mar 2001 14:26:54 +0000 (14:26 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@1625 7a7537e8-13f0-0310-91df-b6672ffda945

CHANGES.txt
man/lp.man
systemv/lp.c

index 1c54fa8e54e8c7346856df186d3573f1bfca0d69..7064a5d1743670d4228f28e9abae7f8df6d2d2df 100644 (file)
@@ -88,6 +88,8 @@ CHANGES IN CUPS V1.1.7
          could cause it to crash.
        - The LPD backend now sanitizes the job title to avoid
          potential problems on remote LPD servers.
+       - The lp command did not send the requesting-user-name
+         attribute when altering a job.
 
 
 CHANGES IN CUPS V1.1.6-3
index a2576247fd80067e9b754b3ac56aea46056a7240..edfd8c6d904c3a17c4376c16b190c0bec0b3826d 100644 (file)
@@ -1,5 +1,5 @@
 .\"
-.\" "$Id: lp.man,v 1.5 2001/01/23 17:36:21 mike Exp $"
+.\" "$Id: lp.man,v 1.6 2001/03/09 14:26:54 mike Exp $"
 .\"
 .\"   lp/cancel man page for the Common UNIX Printing System (CUPS).
 .\"
@@ -32,8 +32,6 @@ cancel \- cancel jobs
 .I destination
 ] [ \-h
 .I server
-] [ \-i
-.I job-id
 ] [ \-m ] [ \-n
 .I num-copies
 [ \-o
@@ -50,6 +48,25 @@ cancel \- cancel jobs
 .I file(s)
 ]
 .br
+.B lp
+[ -E ] [ \-c ] [ \-h
+.I server
+] [ \-i
+.I job-id
+] [ \-n
+.I num-copies
+[ \-o
+.I option
+] [ \-p/q
+.I priority
+] [ \-t
+.I title
+] [ \-H
+.I handling
+] [ \-P
+.I page-list
+]
+.br
 .B cancel
 [ \-a ] [ -h
 .I server
@@ -61,7 +78,7 @@ cancel \- cancel jobs
 .I destination-id
 ]
 .SH DESCRIPTION
-\fBlp\fR submits files for printing.
+\fBlp\fR submits files for printing or alters a pending job.
 .LP
 \fBcancel\fR cancels existing print jobs. The \fI-a\fR option will remove
 all jobs from the specified destination.
@@ -135,5 +152,5 @@ http://localhost:631/documentation.html
 .SH COPYRIGHT
 Copyright 1993-2001 by Easy Software Products, All Rights Reserved.
 .\"
-.\" End of "$Id: lp.man,v 1.5 2001/01/23 17:36:21 mike Exp $".
+.\" End of "$Id: lp.man,v 1.6 2001/03/09 14:26:54 mike Exp $".
 .\"
index 11c83efa5cb4f485a2cfa8f712189d61a87368fd..dc185a67ba01e74fa564fd7f7c0188cc3ae2ae99 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: lp.c,v 1.28 2001/02/06 23:40:10 mike Exp $"
+ * "$Id: lp.c,v 1.29 2001/03/09 14:26:54 mike Exp $"
  *
  *   "lp" command for the Common UNIX Printing System (CUPS).
  *
@@ -598,6 +598,9 @@ set_job_attrs(int           job_id, /* I - Job ID */
   ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI,
                "job-uri", NULL, uri);
 
+  ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME,
+               "requesting-user-name", NULL, cupsUser());
+
   cupsEncodeOptions(request, num_options, options);
 
   if ((response = cupsDoRequest(http, request, "/jobs")) != NULL)
@@ -647,5 +650,5 @@ sighandler(int s)   /* I - Signal number */
 
 
 /*
- * End of "$Id: lp.c,v 1.28 2001/02/06 23:40:10 mike Exp $".
+ * End of "$Id: lp.c,v 1.29 2001/03/09 14:26:54 mike Exp $".
  */