Board index » Web Programming » create pdf from asp.net

create pdf from asp.net

Web Programming439
I am looking to create a pdf from ASP.NET which is based on a word or pdf

document plus some data that will be added at runtime. Is there any

code/components that allow this to be achieved?


-
 

Re:create pdf from asp.net

Hi Robin,



You didn't say what your budget is. If you need it to be free, try this:



sourceforge.net/projects/itextsharp/">sourceforge.net/projects/itextsharp/



If you want to go first class and have money, try this:



www.cete.com/Products/Generator/">www.cete.com/Products/Generator/



Ken



"Robin" <robin9876@hotmail.com>wrote in message

Quote
I am looking to create a pdf from ASP.NET which is based on a word or pdf

document plus some data that will be added at runtime. Is there any

code/components that allow this to be achieved?







-

Re:create pdf from asp.net

"Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca>wrote in message



Quote
If you want to go first class and have money, try this:



www.cete.com/Products/Generator/">www.cete.com/Products/Generator/



This doesn't actually convert a Word document to PDF, though...





-

Re:create pdf from asp.net

re:

Quote
This doesn't actually convert a Word document to PDF, though...



This one does :

neevia.com/developer/">neevia.com/developer/



So does Aspose.Word :

www.aspose.com/">www.aspose.com/









Juan T. Llibre

ASP.NET MVP

===========

"Mark Rae" <mark@mark-N-O-S-P-A-M-rae.co.uk>wrote in message

Quote
"Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca>wrote in message

news:%23K1wTRiCFHA.1188@tk2msftngp13.phx.gbl...



>If you want to go first class and have money, try this:

>

>www.cete.com/Products/Generator/">www.cete.com/Products/Generator/



This doesn't actually convert a Word document to PDF, though...







-

Re:create pdf from asp.net

"Juan T. Llibre" <nomailreplies@nowhere.com>wrote in message



Quote
>This doesn't actually convert a Word document to PDF, though...



This one does :

neevia.com/developer/">neevia.com/developer/



Yep - and as soon as they have a native .NET assembly version available

instead of the current ActiveX control version, I'll be purchasing it.



Quote
So does Aspose.Word :

www.aspose.com/">www.aspose.com/



Does it?





-

Re:create pdf from asp.net

re:

Quote
Does it?



www.aspose.com/Products/Aspose.Word/Intro/Overview.html">www.aspose.com/Products/Aspose.Word/Intro/Overview.html



Open Word 97, Word 2000,

Word XP and Word 2003 documents.



Save documents in plain text, HTML or Aspose.Pdf.Xml format

that can be used by Aspose.Pdf to produce PDF files.





It looks like you need both Aspose.Word and Aspose.pdf

to do a full conversion, but you *can* get there from here.



:-)



re:

Quote
Yep - and as soon as they have a native .NET assembly version available

instead of the current ActiveX control version, I'll be purchasing it.



Good choice.



Disclaimer : I'm not connected to either company.



Good luck !







Juan T. Llibre

ASP.NET MVP

===========

"Mark Rae" <mark@mark-N-O-S-P-A-M-rae.co.uk>wrote in message

Quote
"Juan T. Llibre" <nomailreplies@nowhere.com>wrote in message

news:ucflJviCFHA.3688@TK2MSFTNGP14.phx.gbl...



>>This doesn't actually convert a Word document to PDF, though...

>

>This one does :

>neevia.com/developer/">neevia.com/developer/



Yep - and as soon as they have a native .NET assembly version available

instead of the current ActiveX control version, I'll be purchasing it.



>So does Aspose.Word :

>www.aspose.com/">www.aspose.com/



Does it?





-

Re:create pdf from asp.net

"Juan T. Llibre" <nomailreplies@nowhere.com>wrote in message



Quote
>Yep - and as soon as they have a native .NET assembly version available

>instead of the current ActiveX control version, I'll be purchasing it.



Good choice.



Actually, extremely BAD choice! I've just had an email from Neevia support

that they don't intend to release a native .NET assembly because they can't

see the point of doing so...



Talk about blinkered!





-

Re:create pdf from asp.net

Don't despair.



Com Interop/DCOM work pretty good in ASP.NET

They have full instructions at their website.



Are you concerned about performance ?







Juan T. Llibre

ASP.NET MVP

===========

"Mark Rae" <mark@mark-N-O-S-P-A-M-rae.co.uk>wrote in message

Quote
"Juan T. Llibre" <nomailreplies@nowhere.com>wrote in message

news:ObUGhajCFHA.3596@TK2MSFTNGP12.phx.gbl...



>>Yep - and as soon as they have a native .NET assembly version available

>>instead of the current ActiveX control version, I'll be purchasing it.

>

>Good choice.



Actually, extremely BAD choice! I've just had an email from Neevia support

that they don't intend to release a native .NET assembly because they

can't see the point of doing so...



Talk about blinkered!





-

Re:create pdf from asp.net

"Juan T. Llibre" <nomailreplies@nowhere.com>wrote in message

Quote
Don't despair.



Com Interop/DCOM work pretty good in ASP.NET

They have full instructions at their website.



Are you concerned about performance ?



No - I'm concerned about the fact that I can't install software on my public

website because my ISP won't allow me to.



Here's a reply from their technical support which makes hilarious reading...



"a .NET assembly will not solve your problem - you will also have to install

the full DC Pro installer on that server - the reason for this is that

Document Converter Pro requires some PostScript printer drivers in order to

convert ms office documents and these drivers are installed by the main

installer. I don't think that any ISP will allow you to do that.



PS. DC Pro has a Adobe Distiller-like workflow, this means that in order to

convert a ms word document into PDF it will first open this document in ms

word, print it into a postscript file and then convert the resulting PS file

into PDF."



Not only do they expect me to install their ActiveX control on my public

hosted site; they also need Microsoft Office too.





-

Re:create pdf from asp.net

Aargh!



If you're not allowed, by your ISP, to install software,

then you're pretty much up a creek, since the Aspose

Word/PDF combo would need installation, too.









Juan T. Llibre

ASP.NET MVP

===========

"Mark Rae" <mark@mark-N-O-S-P-A-M-rae.co.uk>wrote in message

Quote
"Juan T. Llibre" <nomailreplies@nowhere.com>wrote in message

news:upF3TujCFHA.3592@TK2MSFTNGP09.phx.gbl...

>Don't despair.

>

>Com Interop/DCOM work pretty good in ASP.NET

>They have full instructions at their website.

>

>Are you concerned about performance ?



No - I'm concerned about the fact that I can't install software on my

public website because my ISP won't allow me to.



Here's a reply from their technical support which makes hilarious

reading...



"a .NET assembly will not solve your problem - you will also have to

install the full DC Pro installer on that server - the reason for this is

that Document Converter Pro requires some PostScript printer drivers in

order to convert ms office documents and these drivers are installed by

the main installer. I don't think that any ISP will allow you to do that.



PS. DC Pro has a Adobe Distiller-like workflow, this means that in order

to convert a ms word document into PDF it will first open this document in

ms word, print it into a postscript file and then convert the resulting PS

file into PDF."



Not only do they expect me to install their ActiveX control on my public

hosted site; they also need Microsoft Office too.







-

Re:create pdf from asp.net

"Juan T. Llibre" <nomailreplies@nowhere.com>wrote in message



Quote
If you're not allowed, by your ISP, to install software,

then you're pretty much up a creek, since the Aspose

Word/PDF combo would need installation, too.



I don't think that's particularly unusual... I can understand totally why

ISP's don't allow software to be installed - just think of the damage that

could be done!



Oh well - no doubt someone someday will write a native .NET PDF converter...

:-)





-

Re:create pdf from asp.net

It is hard (if at all possible) to convert a .doc file to WordML format

without Word, however, you can require your users to save the word file as

Word XML before uploading the file to your web app. In your webapp, u can

have a custom XSL transform that converts Word XML to whatever format TallPDF

expects.



"Mark Rae" wrote:



Quote
"Matt Berther" <mberther@hotmail.com>wrote in message

news:8276680632434581444979091@news.microsoft.com...



>TallPDF is a native .NET assembly that you just drop into the bin folder.



Yes indeed.



>With a little research, Im sure you could find an XSLT to get doc files

>into WordML.



Well, I've done a shedload of research, and damned if I can find anything...



>Then the only responsibility you have would be to generate the XSLT to

>transform the WordML file to the format required by TallPDF.



Hmm...







-