Click here to Skip to main content
15,907,149 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Have Requirement like these ....when user clicks on Print button,I want to open the print dialog to select the format of which format of he want to print like pdf,,printer and some other format ...I am used "window.print()" .it print current page i don't want to to print current page based on selection..i want to print Data Based save information...and also I am used ...print dialog ..but it's working local machine or not website.....how achieve print dialog functionality ..in web site.....any one can know ...replay to me.


Once check-->onlinesbi.com-->lo-gin-->personal lo-gin-->print last transaction ---->we got some print pop up in browser like that, I need same thing.
Posted

1 solution

Hi,

Check with this,

HTML
<a href="javascript:window.print();return false;">Click me to print</a> 
 
Share this answer
 
Comments
sairam pamidi 31-May-13 8:25am    
Hello Rockstar I want to show print Dialog window for user based on selection i want to print
format the ...document.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900