If a job contains two documents, one is created by Send-Document, the other is created by Add-Document-Images. I want to know how could I handle "input-attributes-actual" in the response of Get-Job-Attributes ?
Because I think job attributes are general for all documents in the same job, and the document attributes are for the specific document. I feel a little confused for "input-attributes-actual".
发件人: Walter Zhou
发送时间: 2014年12月5日 8:48
收件人: Michael Sweet
抄送: ipp at pwg.org
主题: 答复: "pwg-raster-document-type-supported" issue
Thanks for your comment. Your comments are very valuable for my work.
Do you mean I should not return "input-attributes-actual" attribute as Document Description Attribute in Add-Document-Image response ?
发件人: Michael Sweet [msweet at apple.com]
发送时间: 2014年12月4日 20:52
收件人: Walter Zhou
抄送: ipp at pwg.org
主题: Re: "pwg-raster-document-type-supported" issue
For implementations that support the document object, input-attributes-actual is reported as a Document Description attribute in response to a Get-Documents or Get-Document-Attributes request.
All implementations can report input-attributes-actual as a Job Description attribute in response to a Get-Jobs or Get-Job-Attributes request.
> On Dec 4, 2014, at 4:14 AM, Walter Zhou <walterzh at marvell.com> wrote:
>> Hi Michael
>> Thanks for your comments.
>> Could you comment on "input-attributes-actual" attribute ? According to [PWG5100.15], the attribute could be as both Job Description Attribute and Document Description Attribute.
>> When I implement Add-Document-Image (AddFaxOutHardCopyDocument) operation, should I return the attribute in Group 3 (Document Description Attributes) ?
>> And how could I understand it is a Job Description Attribute ? I mean under what circumstances, I should return the Job Description Attribute ?
>> On 2014年12月01日 20:12, Michael Sweet wrote:
>>>>> On Dec 1, 2014, at 4:17 AM, Walter Zhou <walterzh at marvell.com> wrote:
>>>>>> Hi Michael
>>>>>> Could you give more detail description for "pwg-raster-document-type-supported" attribute [PWG5102.4] or give a sample ?
>> This attribute just lists the color spaces and bit depths your printer supports. For example, a B&W printer might list the values 'black_1' and 'sgray_8' to indicate that it accepts 1-bit B&W and 8-bit grayscale raster data.
>>>> Similarly, a color printer might list 'black_1', 'cmyk_8', 'sgray_8', and 'srgb_8' to indicate suppport for 1-bit B&W and 8-bit per component grayscale and color raster data (8 bits total for grayscale, 24 bits for sRGB, and 32 bits for CMYK).
>> Michael Sweet, Senior Printing System Engineer, PWG Chair
Michael Sweet, Senior Printing System Engineer, PWG Chair