We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

I want to know to make call print preview on firefox using HTML or PHP ???

  • 5 个回答
  • 5 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

Give Me Sample Script to Call Print Preview, Please.... !! IF me Using PHP or Just HTML ...

Give Me Sample Script to Call Print Preview, Please.... !! IF me Using PHP or Just HTML ...

所有回复 (5)

more options

Make the "call" from where? Are you wanting to take a screenshot of a visitor's browser from a webpage?

more options

If you want a print preview, can you not just use File > Print > Preview? Works for me.

more options

You can only open the print dialog with JavaScript code on a web page.

You would need an extension to open the Print Preview window.

  • PrintUtils.printPreview(PrintPreviewListener);
more options

I make simple web application..... and I want to make a simple button and then if I click that button will display a preview page, just like we go to menu on firefox..... FILE->PrintPreview .....

Just like That... Its make me Confuse ... I have to try browsing on Google..... but i didn't find yet ... this solution...

they just suggest a button with window.print(); Ex : <button name='name' value='value' onclick='window.print();'>

but I want to make preview page before Printing...

Help Me..... !! Thanks...

more options

There are some extensions that you can look at to see if you can modify them to suit your needs.