Re: Pantum M7300FDW

Alexander Pevzner <[email protected]> Tue, 19 Mar 2024 16:37:01 +0300
Newsgroups dev.linux.lists.printing-architecture
Message-ID <[email protected]>
Hi Zdenek!

On 3/19/24 16:25, Zdenek Dohnal wrote:
> That's great! To have a way how to configure this behavior is ideal from 
> POV - we can ship the safe way as default (IMO sanitize option should 
> insert message into the log - admin would like to know whether something 
> is not correct, instead of silently workaround issue) and if the user 
> has problems, they can switch the quirk anytime.

It actually writes messages to the log:

   IPP sanitize: 1511 bytes replaced with 1621 -- IPP message was fixed
   IPP sanitize: not needed - message is OK, no need to sanitize

When ipp-usb receives IPP response, it attempts to parse it with and 
without workarounds. If message can be parsed without workarounds, it is 
bypassed as is, byte by byte, without any modifications.

So I believe, this quirk is safe when enabled.

-- 

	Wishes, Alexander Pevzner ([email protected])