C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




print pdf file


Posted Date: 05 Aug 2008      Total Responses: 1

Posted By: raghavendra       Member Level: Bronze     Points: 1



Hi All

i am using Asp.net2.0

i have a pdf(Acrobat reader) file in "c:" drive. if i click on a image button in .aspx file it should go to print without opening the file (by asking how many pages like "ctrl+p" button)

pls help me

thanking you
Raghavendra





Responses

Author: ANIL PANDEY    06 Aug 2008Member Level: DiamondRating:     Points: 4

hi u can try this Code

AcroPDFLib.AcroPDFClass test = new AcroPDFClass();
test.LoadFile("hello.pdf");
test.printAll();


for this u need to add a com component in ur project, then only u will be able to access the this library..

You can put Acrobat Reader on your form with GUI editor - simply customize your toolbox by adding COM 'Adobe Acrobat Control for ActiveX'.

Regards
Anil

Thanks & Regards
Anil Kumar Pandey



Post Reply
You must Sign In to post a response.
Next : how to change value of one template control depending on another template control
Previous : wizard control
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use