Directly Printing a page without having print preview

Posted by Thiru under JavaScript on 7/19/2011 | Points: 10 | Views : 2803 | Status : [Member] | Replies : 0
May i get a code to print a page using js.

Note: i don't want to take print preview and then print. - once i click it shld print the page.
page containing text and image.
i need to have a link for printing the current page.
once i click it shld fetch the data and print.
(without showing content in nextpage as print preview and then requesting to press print option)

using: window.print()
its getting me to print preview page and i have to press print option from browser - right.
i need to print once i click or during page load.

expecting your valuable reply in this regard.


(No response found.)

Login to post response