https://learn.microsoft.com/en-us/windows-hardware/drivers/d...
This includes intercepting the raw XPS data being sent to the printer and modifying it.
It looks like these things are lightly sandboxed, but that’s not enough. These apps get access to extremely sensitive data, and they should be very sandboxed. IMO it should have input access to the document and printer settings, output access to what gets printed, and that’s it. No network, no storage, no Windows API, etc. Think wasm-style sandboxing.
But I don’t think MS thinks like this.