Convert HTML page to PDF without using itextsharp.dll in asp.net - c#

I am using asp.net with C#. I want to convert my html page to pdf. But I don't want to use "itextsharp.dll" for the same.
I went to lot of Google and sites. I am looking for some free one.

There is no such inbuilt functionality available in asp.net by default. You have to use any third party dll for this one. I would advice to take a look on the PDFSharp library

Take a look at PdfSharp. It's an open source library that easily creates PDF documents from any .NET language.

Related

Create PDF report in ASP C# by using database

i'm trying to create a PDF by using database in ASP C#. PDF will include just titles and contents so what do i have to use to do such a thing and can you provide me a some examples? Thank you.
You can use iTextSharp which is an open source pdf library.
You can find a documentation format here.
Book reference : iText in Action
Generate PDF using iTextSharp can be a good startup on how to use iTextSharp to generate PDF using asp.net.
I would go for html -> pdf conversion. You can use a free command line utility wkhtmltopdf for it.
If you want something more complex like prepare multiple templates or store history of pdf outputs. Look at free reporting server jsreport. ( I am the author)

Creating and Emailing a PDF via .Net Webpage

I have a project that requires me to create a webpage that would allow users to fill-in information in a web page, create a pdf of the information( could be the whole HTML ), and email the pdf to someone.
I'm using c# and .Net. Does anyone know of a way to do this or could point me in the right direction.
easy stuff: you need to configure your SMTP to send emails. Then use ASPOSE. This program does exactly that: creates PDFs and joins them together.
Unfortunately, I have searched for a way to do this for myself and have not been able to find a way directly in .Net without the use of a 3rd party library.
Right now I am using a library called iTextSharp with pretty good success. http://sourceforge.net/projects/itextsharp/
Another one I have used in Classic ASP applications (that does have a .Net component, but is not free), that was really good is Web Super Goo's ABCPdf http://www.websupergoo.com/abcpdf-1.htm
Good luck.

Sign a PDF using C# and a free 3rd party component?

is there a reliable way to sign PDFs from a commercial ASP.NET (C#) application? The component should be free to use. I saw iText, but its not free for commercial use.
Thanks
You can use ITextSharp as long as you use version 4.1.6 or older. Unfortunately, they have removed it from sourceforge but you can download it (with a sample application) at https://web.archive.org/web/20211020001758/https://www.4guysfromrolla.com/articles/030911-1.aspx.
I have been using it for filling pdf forms and it works like a charm :-).
Try PDF Sharp : http://www.pdfsharp.net/.

Open PDF and print to PDF programmatically C#

I am developing an application that is able to open and display PDFs after I open them and print them to another PDF using CutePDF, but the originals are not viewable.
I am looking for a way to programmatically open a PDF file, and print to another PDF file (not necessarily using CutePDF, just printing to another PDF is the desired functionality).
This will be integrated into a C# .NET project. Are there any suggestions how to go about doing this?
Thanks.
You could use Office Interop and generate the PDF, when you say "print to another pdf", I imagine you mean just generate? Or are you saying spool them to a pdf print driver that essentially will just create a PDF to be saved.
Use iText, which is available in Java and C# versions. I have used the Java version successfully. I recommend the iText in Action book to help you get up to speed with iText faster. The book discusses only the Java API, but I imagine you will be able to learn the principles of iText from the book and then figure out the minor differences for the C# version.
To implement this you can use PDFFlow library for generating PDF files from C#. It has easy fluent syntax and many features.
Here are many examples of real complex PDF documents: examples
Good luck :)

what is a free PDF create library for asp.net

I want to create some reports on my asp.net website in PDF format. I need a way to do this easy. I am not using fancy text directions or things like that. What do you recommand I should choose?
iTextSharp is free.
However, any PDF library will require you to define fonts etc.

Categories