I am developing application wich produce a report with graph. I read about free C# libraries to create PDF but I can't see any completely FREE geenrator to use in application that I want to sell. Can you give me one?
Other problem is to generate a simple chart. What are the tools to create such a graph? I need to put it into pdf document after generating it.
Thx for help!
PDF reporting could be done using nfop. I know someone who has done PDF with that, but I do not know more.
Regarding the charting: you could use Microsoft Chart controls, render to an image and include an image in the PDF.
Related
I'm looking for the best way to display pdf document on a website. Surely I need to convert it to jpeg or gif for the browser to handle it. I read few posts but most refer to GhostScript and its pdf2image. But that solution calls for starting a process that would save a copy of pdf doc to the file system and then would have to be loaded back into memory for displaying. Frankly I find it a bit clumsy. For those of you who have done it, what library you used and if you could attach a link to some examples, I'd greatly appreciate it.
I'm developick a web application that helps manage manufacturing process and is accessed fron android tablets. Company has a stockpile of documentation in pdf files that is to be delivered to production managers. I'd love the solution to be akin Crystal Report Viewer contron but I I understand that I have to stick to pdf to image conversion. Please give me some advise here.
My advice is don't over think this.
You can simply add a link to the PDF file, which will open on a new tab.
You can take a look at http://mozilla.github.io/pdf.js/ which will allow you to render a PDF on the client side.
Or if you decide to go with a Ghostscript, you can take a look at http://ghostscriptnet.codeplex.com
By all accounts the PDF Focus .NET library seems to be the best solution. A wrd of advice is to add a cleanup method to the page unload to delete all temporary files that were used to feed source into image controls when displaying pictures on a website.
I want to ask for the best way to generate a PDF and Microsoft Word Documents using ASP.NET.
I have used XSLT transformation, but the results was not good, and the major of XSLT processors are commercial and not free.
I need to create a simple document have a header, footer and some tables and images.
can anyone provide me with the best technology to do this job.
Thanks
I had this question a little while ago.
I wrote some really neat stuff for PDF generation.
iTextSharp or XSL-FO to create a PDF dynamically with fillable forms?
PM me and I can send you some files.
IText is a good free library for creating PDF documents.http://itextpdf.com. Works great with both WinForms and ASP.Net.
This is my first stackoverflow question.
After days of research, I am still lost on how this can be done, if its even possible.
I am trying to create a PDF document using either iTextSharp or XSL-FO (FO.NET is what I am using currently). Creating the documnet is no problem. I need this documnet to have fields that the user can still fill in.
I am aware of the ability to create a PDF form using acrobat, then using iTextSharp to fill in those fields. This can then be saved and the user can open the document and edit it.
The problem with this is, anytime the PDF "template" needs to be changed, someone has to edit the PDF document, then change the backend logic to handle the new field.
I am looking for a 100% dynamic solution.
Ideally I would use XSL and FO to create this document without the need for an exisiting PDF document. I have found no way to create a fillable form using FO.NET, or even iTextSharp, without already having an exisiting PDF "template".
Thanks in advance.
I believe both the RenderX XEP and Antenna House FO processors support PDF Forms. They aren't free and additional output modules may be required for PDF Forms.
I would like to create a PDF from the data i have in a microsoft access database. Can someone please tell me what I should use to make this happen? Any tips and steps are appreciated.
One way of doing it is creating a report (you can use CrystalReports) against your AccessDB data, and then exporting that report to PDF.
Other way of doing it is creating a little program in C# and generate a PDF using an Open Source PDF generator like iTextSharp, PDFCreator or Report.NET. There are also a lot of commercial libraries available.
Other way of doing it is creating a little Java program and generate PDF using iText.
Other way of doing it is creating a little insert your favorite programming language here and generate a PDF using a suitable library for it.
try this old link I have used this and it produces PDF direcly fron access full credits to Mr Lebans just follow his clear instructions
http://www.lebans.com/reporttopdf.htm
I've searched Stackoverflow and google and found many ways
how I can print stuff in C#.
The best way for me would be to populate blank white windows form
with some label, textbox and picturebox elements and print it as a windows form.
This way is very poor because it prints in 72 DPI, and is not flexible for multiple
pages print.
Next way that I found that would be good is using iTextSharp, but there is a problem
that iTextSharp only generates PDF-s, and you have to open it in PDF viewer and print
from there.
I love this way of thinking where I create a paragraph, and then fill it with text and graphic, so I found this thread
http://www.devarticles.com/c/a/C-Sharp/Printing-Using-C-sharp/
where it discusses how to create your own printing engine in C#, something like iTextSharp,
but very lightweight...
Now that I've said that, I want to know is there any ready to use printing engine that would be like iTextSharp, made for printing, not for PDF generation? What is the best way to print something, without using reporting services like CrystalReports.
I think Crystal Reports wouldn't work for my case cause I don't want to print generic reports, but some text and graphics that I need to dynamicaly generate every time I need to print.
I found that it was much easier to do printing using the printing stuff in WPF.
EDIT
XPS is the page description format that Microsoft included into .NET with .NET 3.0. It is nominally part of WPF, and is integrated with the WPF form layout model. But you can create XPS documents in memory and send them to printers, from any .NET app, including a WinForms App.
An example:
http://statestreetgang.net/post/2008/03/Creating-an-XPS-document-in-memory-via-the-DOM.aspx
It is approximately equivalent to the iTextSharp capability you explored, except:
you can do it all in memory if you like, no need to save to a filesystem file. Of course if you want to save to a filesystem file, you can do that too.
you don't need an external viewer in order to start the print.
If you are new in programming and you have some data like from Data Base, and you want to print it after retrieving it from Data Base. Then just follow this link it will guide you step by step.
Print Data in Dot Net (C#,Vb.net)