Have following code:
Response.Write "<input type='button' value='Print artikel' onclick='window.print()'"
Response.Write " id='button'1 name='button'1>"
it simply places a button on the page, when clicked the page prints.
3 questions:
1. How do I avoid the print dialog to popup, have the page print directly
2. how do I get rid off the header and footer using window.print command
3. How do I avoid the button itself is printed
Gracia experts for helping me out and maybe you could also point me in the right direction for docu bout printing using javascript, first time I have to deal with printing pages
Response.Write "<input type='button' value='Print artikel' onclick='window.print()'"
Response.Write " id='button'1 name='button'1>"
it simply places a button on the page, when clicked the page prints.
3 questions:
1. How do I avoid the print dialog to popup, have the page print directly
2. how do I get rid off the header and footer using window.print command
3. How do I avoid the button itself is printed
Gracia experts for helping me out and maybe you could also point me in the right direction for docu bout printing using javascript, first time I have to deal with printing pages