Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

window.print() fails in downloaded pages and maybe also with File => Print ...

more options

Clicking the menu button File=Print... has for a long time failed to provide useful information on any of my printers, including CutePDF and physical printer. Even a short web-page seems to be converted to a single long page perhaps with something at the bottom which never shows.

The failure of window.print() has been pointed out and 'solved' by


Chosen Solution

You use document.getElementById("btnPrint"), but you only specify the NAME attribute in the input tags and not the ID.

So you will have to add the ID as well to make Firefox find that element.


which of course it utterly useless for others than the page's author and certainly not for the File=>Print ... in Firefox.

Presently I'm hit with a need to print the reaction on my annual tax-report. Scaring.

Clicking the menu button File=Print... has for a long time failed to provide useful information on any of my printers, including CutePDF and physical printer. Even a short web-page seems to be converted to a single long page perhaps with something at the bottom which never shows. The failure of window.print() has been pointed out and 'solved' by ------------------------ Chosen Solution You use document.getElementById("btnPrint"), but you only specify the NAME attribute in the input tags and not the ID. So you will have to add the ID as well to make Firefox find that element. ---------------------- which of course it utterly useless for others than the page's author and certainly not for the File=>Print ... in Firefox. Presently I'm hit with a need to print the reaction on my annual tax-report. Scaring.

Chosen solution

Sorry to have asked!

Solution: modify the configuration for printing. CutePDF Writer now set as default. Problem probably caused by replacement of printer.

Skaityti atsakymą kartu su kontekstu 👍 0

All Replies (2)

more options

Chosen Solution

Sorry to have asked!

Solution: modify the configuration for printing. CutePDF Writer now set as default. Problem probably caused by replacement of printer.

more options

Can you please share the screenshot of your problem ?