Jump to content

Printing from a web page via Javascript


Recommended Posts

I am updating my cycling clubs website and we show our newsletters in HTML, I have created a CSS format that will print just the newsletter and none of the menus or buttons etc, I have got this line in my HTML:

<a href="java script: window.print()" title="Print this screen">*** PRINT ***</a>

When the user clicks on this link, it pops open the Print Dialog, which is fine, however I was wondering if it was possible to this but activate the "print preview" rather than the Print Dialog using Javascript??

Thanks

TC.

Edited by TomcaT
Link to comment
Share on other sites


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...