I know that I can print the current page by calling
javascript:windows.print()
Is it possible to print a page without showing it first? I mean if I have a link I would like to send to the printer the content of the target_url.
<a href="target_url">Click to print the target_url</a>
I can load it with ajax, but there’s anyway to send this content to the printer?
Thanks.
What about using an iframe? Load the contents in an iframe that is not visible and then print the iframe.