Using Entity Print 8x-2.1, I’ve got everything working great (thanks to the developoers of that module) except it does not appear to support loading the javascript portion of attached libraries. CSS is loading and rendering as expected from my print_styling library, but the custom.js below is not only not executing, it doesn’t even appear to be loaded when I check “sources” under chrome’s developer tools from the entity print /debug page. When I look in the code, it doesn’t appear to even try loading js assets. Am I right that entity print is punting on loading js, or is it possibly just an issue with the base url? If js support is not yet implemented in entity_print, is just a matter of needing someone to develop it, or is there a fundamental limitation that prevents using js with wkhtmlpdf and entity_print? It appears so from my reading of the wkhtmltopdf docs that it could support js, though it needs a config setting for the javascript-delay to make sure execution completes before the pdf is generated.
print_styling: css: theme: css/print2.css: {} js: js/custom.js: {}