Closed michaelrsweet closed 1 year ago
OK, the current code allows up to 128k of text per attribute, and I've updated it to reallocate as needed when printing the value (128k remains for reporting EXPECT failures since there we report a single value/collection).
[master bb5eb6d6b] Support extremely long attribute values in ipptool output (Issue #5)
From @wifiprintguy in ippsample issue 241:
I used the attached .test file to perform a Get-Printer-Attributes on a printer I have, requesting "media-col-database" among other attributes. Unfortunately, while the response included a "media-col-database" attribute and value (large collection), ipptool failed to present it in its textual output.
Here's the textual output:
Notice the line:
gpa-media-col-and-printer-input-tray copy.test.txt ipptool-query-and-response-no-media-col-database-presented-packet-capture.pcapng.gz