I need the help of the community. Well, I this the title says it all :)
On my ASP.NET application I need to generate some PDF files, with different layouts. What is, in your oppinion, a good "PDF-maker" sollution for generate PDF files from ASP.NET? I need some tips :)
Of course you will need to learn how to write a proper transform to create an FO document. Its seems complicated at first but once you have the basic tags down its really easy and powerful for formatting PDFs.
I'm just checking out the PDF generator now. Is there a way to set the text color for a table cell?
When your question has been sufficiently answered, please be sure to mark your question as answered. Also, please share your solution if you had to figure it out on your own!
Can you guys please help me regarding the generation of PDF file using c#.
some how i was succeeded in generating the pdf file,
but the problem is when i try to apply the code 39 font to some content in PDF, it's not applying.
why i don't know. i installed that font in the windows\font.
Dim oFontCalibri
As BaseFont = BaseFont.CreateFont("C:\Windows\Fonts\calibri.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED)
Dim font As
New Font(oFontCalibri, 9)
Dim phrase As
New Phrase("Your Text", Font)
Basically change the file name to the font that you want to apply.
I use PDF-Writer.NET component by dbAutoTrack. It provide developers with an easy-to-use tool for creating standard PDF file from .NET Framework Applications - WinForm, ASP.NET, Silverlight & WPF applications.
You can also get 100% source code of this project.
Product provides excellent documentation with over 46 implementation sample
They have excellent Support Team. You can get this component for USD 89 with FREE upgrades.
It support advance features like Digitially Signed PDF, Encryption, AcroForm Framework, Barcodes Framework, Layers & SubLayers, Tiling & Shading, Javacript, Font embedding and Sub-Setting, TTF Fonts, TTC Fonts, CJK Fonts
None
0 Points
1 Post
what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Oct 27, 2006 07:48 AM|sgalmeida|LINK
Greetings
I need the help of the community. Well, I this the title says it all :)
On my ASP.NET application I need to generate some PDF files, with different layouts. What is, in your oppinion, a good "PDF-maker" sollution for generate PDF files from ASP.NET? I need some tips :)
TIA
Almeida
PDF
Star
9003 Points
3145 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Oct 27, 2006 02:43 PM|vivek_iit|LINK
Hi Almeida,
This might help:
http://geekswithblogs.net/vivek/archive/2006/09/26/92316.aspx
Regards,
Vivek
Communifire: Social Networking and Business Collaboration Platform
None
0 Points
76 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Nov 02, 2006 07:48 PM|Marnee|LINK
I have had good luck with nFOP, a J# port fo the JAVA (Apache) FOP:
http://sourceforge.net/projects/nfop/
Example:
http://www.codeproject.com/useritems/nfop.asp
Of course you will need to learn how to write a proper transform to create an FO document. Its seems complicated at first but once you have the basic tags down its really easy and powerful for formatting PDFs.
XSL-FO reference:
http://www.w3schools.com/xslfo/xslfo_reference.asp
Java FOP:
http://xmlgraphics.apache.org/fop/faq.html
nfop xml-fo PDF fop
Contributor
3691 Points
914 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Feb 09, 2007 09:10 AM|CSharpSean|LINK
Open-Source PDF generator. Check it out:
Documentation
Download
Participant
1636 Points
584 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Feb 27, 2007 05:00 PM|Sweeperq|LINK
I'm just checking out the PDF generator now. Is there a way to set the text color for a table cell?
Member
26 Points
243 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Mar 14, 2007 04:19 AM|WimVM|LINK
Have a look at this example, they color the cells and set the text white:
http://itextsharp.sourceforge.net/examples/Chap1011.cs
None
0 Points
4 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
May 23, 2007 04:21 AM|ravi_online|LINK
I think the iText is one of the best solution for pdf printing.
u could download the free version from
http://www.ujihara.jp/iTextdotNET/en/index.html
It has good amount of online documentation also
Member
460 Points
150 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Dec 02, 2007 08:22 AM|praveen.battula|LINK
Can you guys please help me regarding the generation of PDF file using c#.
some how i was succeeded in generating the pdf file,
but the problem is when i try to apply the code 39 font to some content in PDF, it's not applying.
why i don't know. i installed that font in the windows\font.
please help me out,.
thanks
Praveen,
pdf code39 c#.net
Site: Rare Solutions
Member
26 Points
243 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Dec 02, 2007 09:49 AM|WimVM|LINK
How did you apply your font to the text?
This is VB code, but should explain the basics:
Dim oFontCalibri As BaseFont = BaseFont.CreateFont("C:\Windows\Fonts\calibri.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED)Dim font As New Font(oFontCalibri, 9)
Dim phrase As New Phrase("Your Text", Font)
Basically change the file name to the font that you want to apply.
That's it.
Member
460 Points
150 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Dec 03, 2007 07:42 AM|praveen.battula|LINK
thanks for your reply.
i am c# developer. i don't know VB.
i am using the code from Code Project.
FontDict free3of9 = new FontDict();
free3of9.CreateFontDict("T1", "Free 3 of 9");
page.AddResource(free3of9, content.objectNum);
file.Write(free3of9.GetFontDict(file.Length, out size), 0, size);
this is what he is using the code.
textAndtable.AddRow(false, 13, "T1", align, "1234568", "Praveen");
so, T1 is reference to Free 3 of 9 font.
Any font other than this font is coming fine. But barcode font is not coming.
please help me out.
thanks
-Praveen.
code 39 free 3 of 9 barcode c#
Site: Rare Solutions
Member
19 Points
54 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Mar 03, 2008 06:17 AM|arapillai|LINK
Hi,
i used the itext and is working fine in case of a static text , but is there any way to convert a excel file into pdf format.
pls reply
None
0 Points
2 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Mar 17, 2008 03:42 AM|Ferrari_08|LINK
Is the iText Sharp 4.0.8 dll free of cost
Member
19 Points
54 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Mar 18, 2008 02:22 AM|arapillai|LINK
None
0 Points
2 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Mar 18, 2008 02:50 AM|Ferrari_08|LINK
Thanks. We are going to deliver with the iText Sharp 4.0.8 dll,so will the dll act as a trial version or will the dll expire after 30days.
Member
19 Points
54 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Mar 24, 2008 05:04 AM|arapillai|LINK
it's completely free of cost and will not expire after 30 days
None
0 Points
1 Post
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Jan 02, 2009 08:07 AM|singh_ak|LINK
Hi Marnee,
Can you please tell me where can i get latest ApacheFop.Net.dll for ASP.Net 2.0 ?
Thanks in Advance for your help.
Regards,Singh
None
0 Points
3 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Jan 27, 2009 07:34 AM|orhany|LINK
Almeida,
I agree with the folks on itext being a good viable solution if you are looking for some basic PDF creation.
What I found as the issue with iText is that most of the samples floating around are Java samples and the .NET side has been neglected.
I finally switched to a professional pdf component library called PDFTechLib by http://www.pdf-technologies.com and it has surprised me at every turn.
Goof support, good samples. Check it out.
Later!
Orhan
PDF Component for ASP.NET
Member
120 Points
34 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Jan 27, 2010 05:24 AM|Pebble94464|LINK
What about ABCpdf .NET by webSupergoo? I'd like to mention this because it has been designed for use in IIS web server environments and ASP.NET.
There's a live demonstration on their website (www.websupergoo.com), which is included as an example website project and is freely adaptable.
None
0 Points
2 Posts
Re: what is the best sollution for generate PDF files from an ASP.NET 2.0 page?
Aug 29, 2011 07:36 PM|tomx|LINK