issue #22237: printing bugfixes
issue #22237: printing bugfixes
issue #22267: jsdocument exposed function
Merge pull request #1241 from shackbarth/22237

issue #22237: printing bugfixes