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??



Edited by TomcaT
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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