alexfusion
Programmer
Hello Everyone:
This is a simple question.
I would like to print a html page using a javascript link.
I define a typical function including the following code:
<script language="javascript">
function printmypage()
{
window.print()
}
</script>
This works just fine but, the browser open the print option dialog.I would like to avoid this,so the visitor click on the link and the page is printed directly,not showing the printing dialog,and I can customize the printer friendly page to mi liking.
How can I solve this problem?
Thank you in advance
alexfusion
mixale@hotmail.com
This is a simple question.
I would like to print a html page using a javascript link.
I define a typical function including the following code:
<script language="javascript">
function printmypage()
{
window.print()
}
</script>
This works just fine but, the browser open the print option dialog.I would like to avoid this,so the visitor click on the link and the page is printed directly,not showing the printing dialog,and I can customize the printer friendly page to mi liking.
How can I solve this problem?
Thank you in advance
alexfusion
mixale@hotmail.com