Give Me Sample Script to Call Print Preview, Please.... !! IF me Using PHP or Just HTML ...
-
the-edmeister 5 years ago Make the "call" from where? Are you wanting to take a screenshot of a visitor's browser from a webpage?
-
finitarry 5 years ago If you want a print preview, can you not just use File > Print > Preview? Works for me.
-
cor-el 5 years ago 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);
-
imanpriyadi 5 years ago 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...
-
cor-el 5 years ago There are some extensions that you can look at to see if you can modify them to suit your needs.
- Print / Print Preview (Update): https://addons.mozilla.org/firefox/addon/print-print-preview-update/
- Print Preview: https://addons.mozilla.org/firefox/addon/printprint-preview/ (toolbar-button/menu,context)