[IPP] printing job with different finishings
Michael Sweet
msweet at msweet.org
Sun May 12 22:55:44 UTC 2024
Tobias,
> On May 11, 2024, at 6:26 PM, Tobias Wendorff via ipp <ipp at pwg.org> wrote:
>
> Dear Michael,
>
> bad news.
>
> On 09.05.2024, at 15:48, Michael Sweet wrote: > With overrides you would do something like this:
>> ATTR keyword sides two-sided-long-edge
>> ATTR enum finishings 4 # staple
>> ATTR keyword print-color-mode monochrome
>> ATTR collection overrides {
>> MEMBER rangeOfInteger document-numbers 1-1
>> MEMBER rangeOfInteger pages 1-2
>> MEMBER keyword sides one-sided
>> MEMBER enum finishings 3 # none
>> MEMBER keyword print-color-mode color
>> }
>
> While "Validate-Job" passes, "Print-Job" fails with a "client-error-bad-request".
>
> I tried to remove single members, but only dropping the complete collection made the job pass.
>
> Who's the client in this context? Do you need a traffic dump?
The Client would be ipptool. And a wireshark/tcpdump dump might be useful along with the output of:
ipptool --ippserver printer.conf PRINTER-URI get-printer-attributes.test
where "PRINTER-URI" is the URI you are using for the printer. The "--ippserver" option creates a dump of the attributes...
________________________
Michael Sweet
More information about the ipp
mailing list