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
.\"
-.\" "$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).
.\"
.I destination
] [ \-h
.I server
-] [ \-i
-.I job-id
] [ \-m ] [ \-n
.I num-copies
[ \-o
.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
.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.
.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 $".
.\"
/*
- * "$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).
*
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)
/*
- * 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 $".
*/