From: msweet Date: Mon, 24 Feb 2014 16:09:05 +0000 (+0000) Subject: "lp -i job-id -H hold" did not work (STR #nnn) X-Git-Tag: v2.2b1~732 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21459fa1fa60e84d375be0534d48968dbfa6b19e;p=thirdparty%2Fcups.git "lp -i job-id -H hold" did not work (STR #nnn) Add Set-Job-Attributes and Set-Document-Attributes to job and document creation operation lists. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11640 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/CHANGES-1.7.txt b/CHANGES-1.7.txt index c3afe3a634..ddc4c4912d 100644 --- a/CHANGES-1.7.txt +++ b/CHANGES-1.7.txt @@ -6,6 +6,7 @@ CHANGES IN CUPS V1.7.2 - Security: The scheduler now blocks URLs containing embedded HTML (STR #4356) - Documentation fixes (STR #3259, STR #4346) + - "lp -i job-id -H hold" did not work (STR #nnn) - CUPS didn't compile on older platforms (STR #4338) - Several libcups files did not have the Apple license exception notice (STR #4361) diff --git a/cups/encode.c b/cups/encode.c index f31c05ac32..fb590246cf 100644 --- a/cups/encode.c +++ b/cups/encode.c @@ -35,6 +35,8 @@ static const ipp_op_t ipp_job_creation[] = IPP_OP_PRINT_URI, IPP_OP_VALIDATE_JOB, IPP_OP_CREATE_JOB, + IPP_OP_HOLD_JOB, + IPP_OP_SET_JOB_ATTRIBUTES, IPP_OP_CUPS_NONE }; @@ -44,6 +46,8 @@ static const ipp_op_t ipp_doc_creation[] = IPP_OP_PRINT_URI, IPP_OP_SEND_DOCUMENT, IPP_OP_SEND_URI, + IPP_OP_SET_JOB_ATTRIBUTES, + IPP_OP_SET_DOCUMENT_ATTRIBUTES, IPP_OP_CUPS_NONE };