|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
PDF conversion on web serverHi,
I'd like to know the cleanest approach to generating PDF files on a web server. I am looking at converting multiple document types, but for now I'd like to know about .doc files. Basically, the user would upload their original file, and it would be handed back to them as a PDF. Does MS Office need to be installed on the server? Is there a way to do this without Office? Do I really need a third party component, or is it possible to do this conversion without investing months of time? There could be potentially over 100 simultaneous requests, and I'm concerned about being able to serve all requests at once. thanks, Keith I'm sure you'll need Word to print.
While this is not that difficult to do (com object or shellexecute api > "print" instead of : "open") will print. Here is a topic for ASP.NET which shows how to print to PDF using ghostscript: http://www.hellobasic.com/cgi-bin/forum/YaBB.pl?board=dotnet;action=display;num=1134897582 <keith.lan***@gmail.com> schreef in bericht Show quoteHide quote news:1135437686.297130.29200@g44g2000cwa.googlegroups.com... > Hi, > > I'd like to know the cleanest approach to generating PDF files on a web > server. I am looking at converting multiple document types, but for > now I'd like to know about .doc files. Basically, the user would upload > their original file, and it would be handed back to them as a PDF. > Does MS Office need to be installed on the server? Is there a way to > do this without Office? Do I really need a third party component, or > is it possible to do this conversion without investing months of time? > There could be potentially over 100 simultaneous requests, and I'm > concerned about being able to serve all requests at once. > > thanks, > Keith > Given office doesn't convert to PDF (yet), you need some third party
component like ActivePDF. You may however wish to consider installing and automating staroffice which does doc to PDF output and having a crack at invoking it via interop. -- Show quoteHide quoteRegards John Timney Microsoft MVP <keith.lan***@gmail.com> wrote in message news:1135437686.297130.29200@g44g2000cwa.googlegroups.com... > Hi, > > I'd like to know the cleanest approach to generating PDF files on a web > server. I am looking at converting multiple document types, but for > now I'd like to know about .doc files. Basically, the user would upload > their original file, and it would be handed back to them as a PDF. > Does MS Office need to be installed on the server? Is there a way to > do this without Office? Do I really need a third party component, or > is it possible to do this conversion without investing months of time? > There could be potentially over 100 simultaneous requests, and I'm > concerned about being able to serve all requests at once. > > thanks, > Keith >
Other interesting topics
Custom HttpHandler and Server.Transfer
expected identifier error DataGrid DataSource is null on postback Writing data back to a database CodeBehind File not getting executed How do I debug this... HtmlImage and asp:Image servent onclick event Upload a directory structure in ASP.Net Reg:vs.net 2005 app_code dataview transfer |
|||||||||||||||||||||||