abcpdf

Every now and then, ABCpdf runs out of memory

The project I'm on is using a 3rd party component to build dynamic PDFs in a VB.Net web system called ABCpdf.Net. (not a terrible tool, but not a great one either.) Every now and then, for reasons I can't fathom, the document object throws a SEHException. Digging futher, it turns out this is caused by a custom exception in the documen...

How do I turn off ABCpdf's paragraph indenting during a chain?

The project I'm working on uses a 3rd party component called ABCpdf to generate PDF documents. It has this feature where you can "chain" text from one content area to the next, which we're using to flow text across columns. You can also define an indent size to be used at the start of "paragraphs." This is all great, except now I've j...

abcPDF 7 converting HTML to PDF but only getting the first page converted

I'm currently using abcPDF 7 to convert HTML to PDF. This is done via an ASPX page where I override the Render method. Doc theDoc = new Doc(); theDoc.SetInfo(0, "License", m_License ); theDoc.HtmlOptions.Paged = true; theDoc.HtmlOptions.Timeout = 1000000; string callUrl = "http:// my app page"; theDoc.AddImageUrl(callUrl); Response.Cle...

Optimize ABCpdf file size

We've got a web system that generates dynamic pdf files with ABCpdf. While it works... okay, the file sizes are a little large. For example, this morning as a test I generated a 140+ page file with lots of little graphics (actually, the same six little images repeated over and over.) The total file size was 12 megs and change. Taking...

Building PDF Files with C#

Does anyone have experience using the following libraries (or others) to build PDF files in C#? Which have you found to be the easiest and most straightforward? What I would like to do is push some HTML into a library and have it spit out a PDF. Any help would be appreciated. iTextSharp QuickPDF Library DynamicPDF TallPDF ExpertPDF ABC...

C#: byte array in xml CData

Hi all, I have a WCF service that is returning a block of xml. One element is a CData[] section. My application reads an HTML file out of the database and converts it to a PDF byte[] array using ABCPDF. Then in my XmlWriter Im adding the bytes to the CData section. The problem is the resulting xml looks like this: <![CDATA[System.B...

ABCpdf doesn't render images in an web application under IIS6

Hello, I'm trying to render a web page that contains images into a pdf document using ABCpdf. This is done from a web application. When I run the application on my development machine in IIS5, everything is fine. When I deploy the application on IIS6, the images don't appear in the pdf. To reproduce the problem, I made a simple web ap...

ABCpdf copying document properties

I'm trying to copy a PDF using ABCpdf's AddImageDoc. Doesn't look like any document properties (like "/Rotate") get copied along. It looks like I have to copy these properties manually from old document to new using SetInfo method. Like so: foreach page...{ newPdfDoc.Page = newPdfDoc.AddPage(); newPdfDoc.AddImageDoc(existingPdfD...

Save HTML to Pdf ABCPdf 4

Hello All, I'm using following code to save html to pdf file. But it fails to compile at if (!theDoc.Chainable(theID)). I do have using WebSupergoo.ABCpdf4; added at the begining of the code. Is this version issue? Is there any other method to save HTML string to pdf file in ABCPdf 4. Error Message is "'WebSupergoo.ABCpdf4.Doc' does no...

Exception converting Office files to PDF using ABCpdf.NET onWindows Server 2008

Has anyone delt with this exception from ABCpdf? We're running on Server 2008 and only have issues converting Office files (Word and Excel). This all worked well on Server 2003. Because we're only having issues with Office files I wonder if it's related to the XPS support on Server 2008? The code that calls into this function is runni...

ABCpdf attach Doc to email

I've used ABDpdf to render a pdf and stream it to the browser, but I'm wondering if I can attach the rendered pdf to an email. Has anyone ever done that? I'm hoping there is a way that doesn't require me to save the pdf to a temp directory then attach the file, then delete it. ...

ABC PDF - create 256 color images

I am using ABCpdf7 to create pdf documents on the fly - Here is something that I do not understand. When I create the pdf document from a url - the images in the pdf document seems to be 256 colors. Does anyone know how I can set ABCpdf to create full color images. If I spesify the image url - the image gets created at full color - but...

PDF Report generation

EDIT : I completed this project using ABCpdf. For anyone interested, I love this product and their support is A+. Everything I listed as a 'Con' for the HTML -> PDF solution was easily doable in ABCpdf. I've been charged with creating a data driven pdf report. After reviewing the plethora of options, I have narrowed it down to 2. I ne...

Convert HTML to PDF

In reference to an earlier post (http://stackoverflow.com/questions/1980890/pdf-report-generation) I have decided to use a solution similar to http://www.alistapart.com/articles/boom For those of you who don't want to read either reference - I'm creating a report and need it as a PDF. I've decided to go the HTML -> PDF route using .NE...

AbcPdf - document not applying CSS

This may be more of a tech support issue, but I'm wondering if any other developers have come across this: I'm using Abcpdf in my ASP.NET code to generate a PDF from HTML. It works fine, but one user is generating PDFs that don't have the CSS applied (IE8, Adobe Acrobat latest version - same as everyone else). Since this is the only u...

Tell abcPdf to scale the html to fit on a single pdf page

I am using abcPdf to convert an HTML report into a pdf file. The pdf has to be a single landscape A4 page. Do you know if there is any way to tell abcPdf to scale the HTML page to fit on a single page in the pdf? I tried using the Magnify() method, and it scales the content but still breaks it into pages, even though it would fit on one...

ABCpdf converting html anchors to jump to another page in the same PDF

Hello everyone, I'm dynamically generating a PDF using ABCpdf which contains a table of contents that would link to other pages within the same PDF. The problem is that the path of the anchor tags in the HTML get changed to an absolute path to a temporary file. For example, ABCpdf would render the link's href: <a href="#elementId">Lin...

Add background-image to <td> in PDF (ABCpdf)

I'm dynamically creating a pdf using ABCpdf (HTML -> PDF) I'm trying to create a Table Of Contents (with leaders), and I think the easiest way to get the leaders is using a repeat-x background-image. Here is my file structure: /Web    GenReport.aspx    /images       tocback.gif /Data    template.html GenReport uses an html template, ...

Is it possible to modify PDF Form Field Names?

Here's the situation. I have a PDF with automatically generated pdf form field names. The problem is that these names are not very user friendly. They look something like : topmostSubform[0].Page1[0].Website_Address[0] I want to be able to change them so that they are something like WebsiteAddress. I have access to ABCPDF and I have...

Extra blank page when converting HTML to PDF using abcPDF.

I have an HTML report, with each print page contained by a <div class="page">. The page class is defined as width: 180mm; height: 250mm; page-break-after: always; background-position: centre top; background-image: url(Images/MainBanner.png); background-repeat: no-repeat; padding-top: 30mm; After making a few changes to my report cont...