convert html to pdf in asp.net application

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
sandyH
Posts: 5
Joined: Mon Mar 22 2004

convert html to pdf in asp.net application

Post by sandyH »

I have installed PDF Converter on window 2000 server, I created an asp.net application (c# codebehind), What I want to achieve is that after user accesss an aspx page, when they click print button on tool bar, they can view the page in pdf format and print them in pdf format. Could somebody tell me what steps to take to achieve that? Thanks in advance.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

I didn't really get your question. If you need the user to generate pdf files than view these files in Acrobat Reader or any other PDF Viewer you can do this by using the PostProcessing attribute of FileNameOptions. For more information please check the Developers' manual "Common Driver Interface 210.pdf" -page 22-

If you are evaluating the PDF Converter and need some specific 'how to' information or some sample code please feel free to send an e-mail to Support@amyuni.com

Have a nice day!
sandyH
Posts: 5
Joined: Mon Mar 22 2004

Covert html to pdf

Post by sandyH »

Thanks for replying. I need the user to generate pdf files than view these files in Acrobat Reader, I read the documentation, but I still don't have a clear picture how to use it, such as how to create CDIntfEX object,etc, could you give me an simple sample code? Thanks.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Please feel free to download any of our technical notes from: http://www.amyuni.com/en/support/technotes.html

Each of these technical notes contains a corresponding sample. TN01 contains an ASP sample that may be helpful.

Also please note that we have a tool called HTML2PDF that enables you to convert html files to pdf from DOS prompt, if this would help you please feel free to downlaod that tood at: http://www.amyuni.com/en/support/downloads.html

If you need further help please don't hesitate to contact our Technical Support Department at support@amyuni.com

Hope this helps.
Post Reply