Mar 11 2021 06:47 AM
Mar 11 2021 06:47 AM
we are testing our custom Universal Print connector, which updates the printers' attributes using the ones coming from the printers via IPP.
We were able to print on some of the printers, specifically the ones for which the attribute "media-type-supported" was of type "1setOf(keyword)". Instead, we couldn't print on the printers which had "1setOf(nameWithoutLanguage)" as a type for that attribute: the spooler failed to send the print job to Universal Print.
Is this behavior intentional? Considering the IPP document describing that attribute, "keyword" and "name" (i.e. "nameWithLanguage" or "nameWithoutLanguage") should be allowed.
As a workaround, at the moment we are overriding that tag, but in the future we would like to validate the attributes using a fixed criterion, that's why we are reporting this issue.
Mar 11 2021 06:18 PM
Hello, we are also experiencing the same problem. Same printer but we cannot print on windows 20H2 and window 2004 versions.
When the media-type-supported property is overridden, only the first job can be sent to the Universal Printer, and from the second job no status or error messages are returned.
Do you have such a situation.
Can you send me the value you override?
Mar 12 2021 02:55 AM - edited Mar 12 2021 02:59 AM
Hi, I just want to point out that we are not overriding its value (or rather values, since it's a list) but its IPP tag(s). The values comes straight out of the printer, but sometimes they come with the tag "nameWithoutLanguage" (which byte value is 0x41), instead of "keyword" (0x44). So the only thing we do is changing that 0x41 bytes into 0x44.
However, you can find a json file in the attachments with such values and tags.
By the way - as far as I know - I can print multiple times when that workaround is used.
Mar 16 2021 04:08 PM
Mar 17 2021 01:36 AM - edited Mar 17 2021 01:38 AM
thank you for confirming that.
Can you tell me if there is a way to know in advance which types and values are allowed/supported by Universal Print for the attributes to provide when registering the printer? It would be very helpful to perform some sort of validation before registering the printer.
For example, we are having issues with the attribute "pclm-strip-height-supported" which the IPP specification says should be of type integer (and be a power of 2), but supplying such values results in an error response.