pdf-generation

Keep table in one pice MigraDoc / PDFsharp

Hello! I am using PDFsharp / MigraDoc's to write tables and chart's to PDF files. This worked great so far, however MigraDoc's will always split my tables (vertically) when it should move the whole table to the next page in the document. How do I make sure the table will stay in one piece? Table class of MigraDoc.DocumentObjectModel.Ta...

Will iTextSharp work with Bitmap objects not generated from a file?

I want to create and insert a lot of images into a PDF and iTextSharp looks promising for this. Their tutorial discusses adding a .net Bitmap object to the document, however, the Bitmap they use is one generated from an existing supported image file. Can iTextSharp take a Bitmap object that is directly generated by a graphics object? Th...

How to convert RTF to PDF in Grails?

Hi, we are programming in Grails and as part our system requirement we need to have the option to convert a RTF document to PDF. We found a service in OpenOffice that does the job, but would like to have something that doesn't depend on other application's services. Any ideas? Thanks. ...

ItextSharp and PDftable

I have situation and I seek solution for that. I have an application (.net) that generates PDF file in that pdf file we have some pages as portrait and some are landscape. I rotate the pages to fit the requirement. We are having issue when printing this document, problem is that the header of landscape page is printing on the right han...

Generate dynamic PDF from ASP content

I'm trying to dynamically create a PDF from a background image and some text from a database. When a user visits our site, they can click on a button to print a voucher that can be redeemed in store. The voucher consists of a background image and some text printed over the top of it; Name, Voucher Code (generated from a hash algorithm) ...

Printing HTML, with faithful CSS formatting, from IE/Delphi?

I've got a small program that displays third-party generated HTML pages. It's really just a wrapper around a locked-down TWebBrowser component (which is just an IE wrapper, I believe). The client wants to print these pages now too - but the TWebBrowser print method doesn't render all of the CSS. For instance, where the client uses block...

Template system to create pdf in php

I am looking for an open source template engine in the style of smarty or dwoo (preferable dwoo due to its inheritance features) that can be used to create pdf files instead of html. I am not talking about just a pdf library that allows the creation of the function/method calls, but something that allows to create the page content in a s...

Given a form normally filled out by hand, how can I print out information on that form programatically?

I have a PDF document that represents a print form that is normally filled out by hand. I want to to programatically populate certain text fields in the document (it is not a PDF form, just a plain PDF document) and fill it out with data specific to each user of the site. I want the end form to look like it was passed through a typew...

Open source component to develop multi-page PDFs from HTML

Does anyone know of an open source solution for generating multi-page PDFs from HTML server-side? iTextSharp etc. are all about composing page-by-page. Please don't suggest a PDF Printer. I know of store-bought solutions that achieve this very well, but there has got to be a free component. Regards. ...

Open-source pdf library in c

Hi folks, I am currently looking for open-source pdf generation (and manipulation) library written in C. I found libHaru which seems to be quite nice. I actually do not need all the features of pdf and libHaru seems to be very low-level. Are there any good alternatives you could recommend and that are maybe a little bit more abstract? ...

jmeter - able to render PDF?

Is there an add-on or a config setting that will allow Jmeter to Render PDF output? I am testing a web tool that exports report data to various outputs (excel, pdf, csv, etc.) and would love to setup an assertion to verify all outputs return the same value. The hitch is that Jmeter can't render pdf. Any thoughts? ...

winforms report generator for pdf output

Need to generate some financial report where the formatting is controlled by the data haven't done reporting in a while but does any reporting support that e.g. based on a flag in the source dataset the row text could be bold the row could have an underlining the report could start a new group header etc. ...

How to stop flying Saucer (xhtmlrender) PDFs showing border around hyperlinks on MacOS X?

I am using Flying Saucer (xhtmlrenderer) to create a PDF that contains a hyperlink. When the PDF is viewed in Adobe Reader it looks as expected, but when viewed in Preview.app on the mac it displays a thin black border around the hyperlink. How do I get Flying Saucer to render the PDF such that this border is not displayed? From some f...

How can I programmatically create PDF bookmarks from PDF file?

So, I have used Pdf995's PDF print driver from a web browser to print web pages and eventually use PdfEdit995 to join these various PDF files into one large PDF. Now I have a lot of large PDF documents that I wish to add bookmarks to, but am hoping there is a relatively easy way of doing this programmatically (using C#, preferably) - b...

how to get pdfcrop2 script

I'm often interested in cropping pdfs,* and one tool I use to do this is Heiko Oberdiek's script pdfcrop.pl. I would like to try pdfcrop2, a fork of pdfcrop.pl, but the Google Code page (the only source of information I've found about pdfcrop2) only has patches to an old version of pdfcrop.pl, which I can't find a copy of. Does anybody k...

Set default print paper size when printing a pdf generated from crystal reports?

I am using crystal reports (the version that comes with visual studio 2008) to generate a pdf in an asp.net which then gets pulled into a client's browser. Some of these reports are on legal size paper. This means that for these reports our clients have to manually change the paper size in the print dialog every time they print. Of co...

Using Ghostscript to convert PDF to JPEGs. The PDF contains some Dropshadow effects on Images. These shadows transfer as black areas onto the generated JPEG

So I'm working on a CMS module for a newspaper site. I'm enabling the editors with the option to upload a PDF of the entire newspaper, which will then be converted into a page-flipping digital online newspaper. The page-flipping trick is done with flash and is just an .swf that I use for all the editions. My problem is with the PDF 2 ...

iTextSharp C#, adding limitless text area

Hi all. I am trying to add a block of text to an existing pdf template. I want to be able to set the left margin and right margin, but the amount of text is undetermined, so I need the box to expand in relation to the input text. I have managed to position the text area on the template and insert text, but doing it this way needs me t...

Directly convert .aspx to .pdf

A project I am working on requires me to build a report that is output in both HTML (.aspx) and as a PDF. Is there a solution available that allows me to feed the output of an .aspx page to a PDF generation utility? Full support of HTML and CSS would be ideal. Thanks! ...

How to write content into pdf use iText ?

Right now i use iText to generate a pdf automatically. And my problem is that when the content is really very large, i need to calculate the content's height and width, and then add new page... this is really very inconvinent. so I wonder whether or not there is a method like: Document.add("a very very large article"); and after this , ...