I am doing a web project.
Is there any method to print web pages with support of page breaks and without printer prompt diaglog e.g.like window.print() (or close immediately) by just clicking a button on the webpage?
[ammend] For page breaks, I know
can be used. How about close the pop-up print dialog and print the web pages (or directly print out web pages)?
Thanks.
Is there any method to print web pages with support of page breaks and without printer prompt diaglog e.g.like window.print() (or close immediately) by just clicking a button on the webpage?
[ammend] For page breaks, I know
HTML:
<div></div>
Thanks.
Last edited: