NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on August 29, 2012, 12:20:19 PM
-
Hi,
Using Firefox, you can go to the menu/print/preview and see and customize the print.
How can I add a button in my pages which fires that menu item automatically?
Thanks
-
Create an Other button, set type to button.
On the "OnClick" tab, set
onClick: [JavaScript]
to
'window.print()'
Cheers
Bruce
-
THnanks Bruce,
That works OK but what I need is fired the print "Preview"
I search the Firefox help but I found nothing.
Any Idea?
-
The short answer is that there's no way to access the Print Preview functionality directly from the web page.
The slightly longer answer is that it's possible to do it for specific browsers based on that browser. For example if the user is using FireFox, with a plugin that exposes that function, then you can support that. for IE it needs an ActiveX control and so on.
Cheers
Bruce