X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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

Post a Reply

Additional System Details

Installed Plug-ins

  • Google Update
  • Next Generation Java Plug-in 10.10.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Shockwave Flash 11.5 r502
  • GEPlugin
  • BlackBerry WebSL Browser Plug-In
  • 5.1.10411.0
  • Foxit Reader Plug-In For Firefox and Netscape
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • DRM Netscape Network Object
  • Npdsplay dll
  • DRM Store Netscape Plugin

Application

  • User Agent: Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0

More Information

the-edmeister
  • Top 10 Contributor
  • Moderator
2743 solutions 21572 answers
Posted

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

Was this helpful to you? 0
Reply
finitarry
  • Top 25 Contributor
140 solutions 1946 answers
Posted

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

Was this helpful to you? 2
Reply
cor-el
  • Top 10 Contributor
  • Moderator
8272 solutions 78272 answers
Posted

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);
Was this helpful to you? 0
Reply
Posted

Question owner

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...

Was this helpful to you? 0
Reply
cor-el
  • Top 10 Contributor
  • Moderator
8272 solutions 78272 answers
Posted

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

Was this helpful to you? 0
Reply

Post a Reply

You must log in to your account to reply to posts.

Don't have an account? You can create a free account now.