ASP.Net Convert and merge documents into a single PDF file

I need to be able to convert and combine various documents into one Pdf.

Documents can be of different types, such as Word, Open Office, Images, Text, Web-pages (by URL), and PDF usually consists of 2-3 documents.

We are currently using BCL Technologies easyPDF with Microsoft Office installed on the server. This processes most documents, but we have not done Open Office yet.

We currently produce about 100-1000 of these PDF files per day.

The reason I ask the question is because performance is a key issue. PDF is created for users on the fly, so the waiting time that we currently receive 30-60 seconds, becomes unacceptable.

We perform caching of documents when they are uploaded to the network, therefore the main tasks that arise when a user requests a Pdf combine several already generated Pdfs.

Does anyone have other tools that they used that work reliably for most common types of documents and, above all, quickly? When this is done, it seems to me that I ask a lot!

Edit: Thanks for the great advice, I will review some of them and compare performance.

Just to add to all this, money is not really an object. We are more than happy to pay for various applications for each task, as well as for various equipment options to maximize the load.

+3
5

PDF ( , ), - iTextSharp ( .NET iText), - PDF, , .

, X PDF, , PDF-, PDF.

:

  • (, Office)

, , ? , PDF- , ​​ ( ), PDF.

+3

ABC Pdf. , , , , .

+2

, , PDF, . PDF4NET, 500 , . , .

O2 - PDF4NET

, . , , 2 .

        PDFFile.MergeFilesToDisk( "append.pdf", "unicode.pdf", "multicolumntextandimages.pdf" );
        PDFDocument doc =  PDFFile.MergeFilesToDoc( "append.pdf", "unicode.pdf", "multicolumntextandimages.pdf" );
        doc.SaveToStream( stream );
+2

, Microsoft Office , , , PDF.

(html/xml/database), , PDF ?

+2

While I have no suggestions for converting PDFs, I can say that this problem sounds like one that can be distributed across several nodes. Do you find that PDF generation is CPU related or are there other limiting factors? Before you spend too much effort rewriting the PDF library interface, you can see what bottlenecks are.

-1
source

Source: https://habr.com/ru/post/1703504/


All Articles