As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Anyone here knows how to generate PDF using ASP? My system is about car rental online. When user choose car,date and services offered, there will be a 'CONFIRM' button which it will generate PDFs after user click it. I don't ask for you to write me the code, I just need you to provide with some helps,tips and reference as I am not familiar with this. Looking forward to hear from you. Have a good ones. Cheers.
You can use ITextsharp from here http://sourceforge.net/projects/itextsharp/ it will help u to generate pdf.
And this tutorial will help u
http://www.mikesdotnetting.com/Article/80/Create-PDFs-in-ASP.NET-getting-started-with-iTextSharp
This is a list of free libraries that help you implement PDF generation in any type of aplication (including ASP) .
A bit of reading is required, but in the end its your choice wich one you are going to use:
http://csharp-source.net/open-source/pdf-libraries
From personal experience I can recomment ABCPdf.Net (paid) and iTextSharp (free)
Use EVO PDF
http://www.evopdf.com/
Or
Use Winnovative
http://www.winnovative-software.com
Use following to generate PDF it works with multilingual with great easy.. It is the best free dll i have used so far
WKhtmltopdf convert html file to pdf
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Can you recomend any PDF API for C#. Free is the best, but I don't mind paying for it.
I used PdfSharp. It's free, open source and quite convenient to use, but I can't say whether it is the best or not, because I haven't really used anything else.
Update:
I'm not sure when or if the license changed for the iText# library, but it is licensed under AGPL which means it must be licensed if included with a closed-source product. The question does not (currently) require free or open-source libraries. One should always investigate the license type of any library used in a project.
I have used iText# with success in .NET C# 3.5; it is a port of the open source Java library for PDF generation and it's free.
There is a NuGet package available for iTextSharp version 5 and the official developer documentation, as well as C# examples, can be found at itextpdf.com
My work uses Winnovative's PDF generator (We've used it mainly to convert HTML to PDF, but you can generate it other ways as well)
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am looking for a free open source .Net based, preferably C#, pdf printer such as CutePDF's Custom PDF Writer with programmatic access that will allow me to save a xps document to a pdf format. I have found many alternatives that are capable of converting xps documents to pdf formats, but they are not open source. I was curious to know if anyone is aware of an open source library that will allow me to accomplish this.
For any of you out there attempting to convert XPS to PDF using an open source means, I was able to successfully do so using PDFSharp version 1.31. It successfully upgraded to .NET 4.5 and I included the PdfSharp.Xps project into my solution. Once you include all the references, you only need a single line to link to your XPS file.
XpsConverter.Convert("D:\\Example\\test.xps");
Note: There are also other constructors available but I used the most simplistic one in my example.
Hope this helps!
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm looking for a program that provides me a functionality to build help documentation that can be viewed in a browser.
It should be lookin like a standard help, mean: topics, sub categories etc. Which can include
graphics, can format text etc.
I found a few nice looking, but they cost like houndreds of dollars.
Also found freeware, but that program wasn't what im looking for.
Any suggestions guys (girls)?
EDIT:
This is not a duplicate. I didnt precise, but i dont want to make documentation from source code.
Forget about source code.
My documentation can be about frogs, butterflies or something else. I added tag c# because there is no tag "documentation". (and colorlire c# code would be useful).
I just need progrma like this:
http://www.softany.com/winchm/screenshots.htm
But i need something really good, with alot of features.
:S (I promise my english will be better asfet post 1000 questions^^)
Assuming that you mean building help files from XMLDoc comments in code files, SandCastle will do this
Sandcastle is great, but is complex and hard to work with.
Sandcastle HelpFile Builder makes it a lot easier. You can style the generated HTML files or use one of the existing templates.
I have successfully used NDOC 3 in the past.
Don't forget MAML for portability and standardization (plus it works well with Sandcastle).
What is the recommended help file format to use in a modern Windows app?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Is there a .dll I can use which uses a PDF file as an input and HTML file as an output?
I want to convert from PDF to HTML. My colleague says that it's very difficult going step by step, getting text/font/image/margins/links etc. from PDF and then creating new HTML file with the same content. He says it's nearly impossible. So I was thinking - if there's some dll which I can use as a reference to do that?
Writing a program to do it is definitely not trivial. If you don't find any .NET Library to do this (I couldn't, at least not free), I would just download this and invoke it programmatically to get my html.
If you have the time to spare and/or PDFToHtml does not produce acceptable output for you, you could use iText to write the program yourself. It's a very mature free pdf library. I've used it in the past to manipulate PDFs (merge, create, etc).
UPDATE
As noted in the comment by Quandary, the PDFSharp library offers a more relaxed license (MIT) compared to the Commercial or AGPL license offered by iText. Keep this is mind when choosing your library. I have not used the PDFSharp library myself and I don't know how they compare in terms of functionality.
You can download this free tool: PDFToHTML
Then in your program just fork a new process and run the executable passing the PDF file. I just tested it now and it seems to work ok.
If you don't mind paying, Aspose offers a very good solution, this is what we use at my company.
http://www.aspose.com/categories/.net-components/aspose.pdf-for-.net/key-features.aspx
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Are there any free libraries that would "print" to a PDF without actually having to install a PDF printer on the system. I want something that can be completely self contained in my application. The reason I say I want it to "print" is that I've tried and tried to find a solution for directly converting from HTML with CSS to PDF, but it does't seem very possible. So I want to use the System.Windows.Forms.WebBrowser control to render the page first and then output that rendering to PDF. I just don't want the user to be required to install a PDFPrinter.
PDFsharp
Does it have to be free? Last time I looked at ABCpdf it looked quite good, and claims to support css (here).
HTMLDOC should support css at some point, but last time I checked the css stuff was still in beta. And has been for "some time"; I've given up waiting... It isn't .NET, but you can use Process to invoke it.
http://www.html-to-pdf.net/ - This isn't free but its preety cheap and effective. I am using it now to convert HTML with CSS to PDF. Essentially we display the page to the user and then with a click of a button they can download a PDF of the page.
http://itextsharp.sourceforge.net/ is really excellent. You can see how to use it in the repository at stochfit.sourceforge.net
Another tool (not free): http://www.winnovative-software.com/