Print page button


#1

Hi,
I need a “print this page button”. How can I implement that? What would be the right javacript??

Thanks for your help!
Uwe


#2

Hi Schahab - Simply drop a button on your page and set the url to

javascript:window.print()

That should do the trick!


#3

Works fine. Thanks a lot!
Is there a script for printing an uploaded file (*.jpg; *.pdf) as well?

Best,
Uwe


#4

Hi Schahab - I’m personally unaware of a script that would do that. I did a search and it appears as it would be considered a “security hole”. Take a look at the discussion at the link below:

http://stackoverflow.com/questions/63…