Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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

  • 2 ответа
  • 1 имеет эту проблему
  • 34 просмотра
  • Последний ответ от Bala Subramaniyan

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.

Выбранное решение

Sorry to have asked!

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

Прочитайте этот ответ в контексте 👍 0

Все ответы (2)

more options

Выбранное решение

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 ?