Page is set to @media print
The page is set to print after running the preview, is it possible that it stays as screen?
I have a requirement that the HTML will only converted once the page is being printed, but I can't seem to find any solution. Hence, here's what I did:
- Create a new node template that copies from the existing innerHTML that requires to be printed
- Query the template and set it to render to a custom div (Id: renderTo)
- When I'm printing, I just need to print the div with Id renderTo, the others being hidden But right now, if I set to body to hidden and renderTo Id to visible, the page is not visible after running previewer.preview. I've tried Chunker.flow too but I need the pagination counter.