Hello!
A great recommendation by Victor Font is PrintJs and I've successfully used to it in simple views. But in views with tables or backgrounds or that include shorcodes all the styles are ignored. Not even the zebra background of the tables. (Of course it is not a matter of printing the backgrounds).
I use the basic html printing;
<form method="post" action="#" id="printJS-form">
content to print</form>
<button type="button" onclick="printJS('printJS-form', 'html')">
Print Form
</button>
And in the PrintJS page, there are some instructions like:
"Configuration
Print.js will accept an object as argument, where you can configure some options:
But I really couldn't make it work. I'm positive answer must be simple. Any help will be greatly appreciated.
Please login or Register to submit your answer