It seems that the server part of this is already correct. The client just needs to add printable=1 to requests for JS-wrapped CSS should include printable=1, when the page is in print mode (printabable=yes).
This is necessary to make sure that screen CSS is omitted and print CSS is not wrapped in @media print for this use case.
Version: 1.22.0
Severity: normal