简体   繁体   中英

Print web page (HTML 5 canvas) without printer prompt

I'm able to print HTML5 Canvas content. But every time when I click print a window prompts to select printer and settings.

How to make silent printing? I need the browser to print in default printer without prompt.

I need the solution for IE 10 and later, Edge and Chrome.

This won't work as granting the web page access to printing without a prompt would be a security problem.

There may however be an option (flag) for disabeling the printing dialog in your browser. But this would affect all websites viewed in this browser.

From a web application you cannot access resources on local machine like file system or installed applications. If you need this capability in your web application, you need to develop some browser plugin which can do this job.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM