执行页面打印

1:  window.print();

2:document.execCommand("print");


原文地址:https://www.cnblogs.com/chenlongsheng/p/10748471.html