打印当前页面打印当前页面<!DOCTYPE html><html><head><script>function printPage() { window.print();}</script></head><body> <input type="button" value="打印此页" onclick="printPage()" /> </body></html>