搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

print buttons on web pages do not work

  • 2 个回答
  • 2 人有此问题
  • 20 次查看
  • 最后回复者为 seatommyboy

more options

My job uses a print button on their web pages for certain things. When I click on the print button, nothing happens. I can print the web page use ctrl+p or selecting print from the menu, but it doesn't print the webpage correctly. The print button works fine in IE and edge, but I do not wish to use either of those browsers. Any ideas on how to ge this to work? I must add, my work has relied on IE for years but now that IE is going away, they are redesigning the web pages to work with other browsers. So, I think it is quite possible that this is an issue with their web sites.

My job uses a print button on their web pages for certain things. When I click on the print button, nothing happens. I can print the web page use ctrl+p or selecting print from the menu, but it doesn't print the webpage correctly. The print button works fine in IE and edge, but I do not wish to use either of those browsers. Any ideas on how to ge this to work? I must add, my work has relied on IE for years but now that IE is going away, they are redesigning the web pages to work with other browsers. So, I think it is quite possible that this is an issue with their web sites.

所有回复 (2)

more options

You can check the Web Console for possible related messages.

You can right-click and select "Inspect Element" to open the builtin Inspector with this element selected to see if Firefox at least sees this button and whether there is an onclick handler attached to it or an event label appended.

more options

Unfortunately, I'm not fully sure what you're talking about for the handler, but this si what I see when I use the Inspect Element <input type="button" value="Print Page Click Here" class="initial2" onclick="javascript:document.execCommand('print',false,null);" id="btnPrintPage" name="btnPrintPage"> At the end of that is a button that says event, when I click it: function onclick(event) {

 javascript: document.execCommand('print', false, null);

}

There is also a web address in the event part, but I don't think I can share that site here.