Re: [HIGH] STR #4118: Unable to print documents with more than one copy (cups-lpd)
Michael Sweet <[email protected]>
| Newsgroups | gmane.comp.printing.cups.bugs |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L4118 Version: 1.5.3 Fix Version: 1.6-current (r10524) _______________________________________________ cups-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/cups-bugs
str4118.patch
(text/plain, 798 B)
Index: scheduler/cups-lpd.c
===================================================================
--- scheduler/cups-lpd.c (revision 10522)
+++ scheduler/cups-lpd.c (working copy)
@@ -3,7 +3,7 @@
*
* Line Printer Daemon interface for CUPS.
*
- * Copyright 2007-2011 by Apple Inc.
+ * Copyright 2007-2012 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
@@ -744,8 +744,7 @@
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE,
"document-format", NULL, format);
- if (last)
- ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", 1);
+ ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", last);
/*
* Do the request...