pdf-generation

Using iText, generate on memory a PDF that is generated on disk instead.

Hello, I'm just wondering how to do this: I'm generating a PDF from a Java application. (And works great) the problem is that the PDF generated is generated on disk as: Document documento = new Document(PageSize.A4, 25, 25, 25, 25); PdfWriter writer = PdfWriter.getInstance(documento, new FileOutputStream("/Users/sheldon...

Dynamically Generate Editable PDF

Is there a way to create an editable PDF programmatically? By editable, I mean you can click in a text area and type in your name, that kind of thing. I'm using Ruby and have found PrinceXML and Princely to be nice projects. I'm wondering if they could do that? ...

DOMPDF set font for entire page?

Hi Im using DOMPDF over at http://www.digitaljunkies.ca/dompdf/ I am struggling how to set the font for the entire page. In the template I have made I have the font set to Helvetica in the CSS but when it generates the PDF it defaults to Times New Roman. When I try <script type="text/php">{literal}if ( isset($pdf) ) { $font = Fo...

django - pisa : adding images to PDF output

I'm using a standard example from the web (http://www.20seven.org/journal/2008/11/pdf-generation-with-pisa-in-django.html) to convert a django view / template into a PDF. The mechanics work wonderfully. Thanks! My question: Is there an "easy" way to include images (either from a url or a reference on the server) in the template so th...

Anyway to automatically convert DWF to PDF?

Hi all, Our eTendering solution, www.monaqasat.com, currently works exclusively with PDF documents for various reasons, some of them being security. We are being asked if we can support DWF documents. For this to happen, we would need to find a way to automatically convert DWF documents to PDF, using some kind of Unix application. Does...

Batch Decollating Directory of PDFs and Bar Code Imposing

I have a directory of PDFs. They are all different, but they all have 5 pages. I need to insert a bar code on each page for each PDF. After this process I need to combine and decollate every PDF. Essentially there would be 5 different PDFs created. The first would contain all page ones from every PDF, the second the second page, etc....

ItextSharp nested table on multiple pages causes NullReferenceException

I am getting a NullReferenceException when the following code is executed. I have also noticed that the nested table appeared on a new page when I added in the code that wrote cells to the main table. It doesn't occur if I take out the two loops that write cells to the main table. <%@ Page Title="" Language="C#" MasterPageFile="~/Main...

Create PDF and suppress subsequent Save and display interactions - Acrobat 9

I am automating a now-manual process that creates PDFs by printing to the Adobe PDF driver installed by the Adobe Acrobat 9 installation (on Windows XP). The programming works fine. The questions I am presenting are how to suppress (a) the Save dialog (even though I am providing a fully-qualified path/filename), and (b) the display of e...

PHP F-PDF Scripting Possibilities

I need to know if there is a way to either a) Prevent a PDF from being saved to a client's computer (disable the save button) or b) Script the PDF to open, print, then close with no user interaction. I know this is a bit of a long shot, but I have to ask in case there is a way to do this. I am using F-PDF to create the pdf. Thanks ...

PDF: is this a valid font name ? - #82l#82r#82o#83S#83V#83b#83N

I am using a PDF converter library to embed fonts in a PDF file. However there is a problem with some documents (japanese?) where the library cannot recognize a fontname correctly /FontName /#82l#82r#82o#83S#83V#83b#83N is this a valid name for a font ? If yes - could someone give me a reference ? ...

Changing or eliminating Header & Footer in TCPDF

AddPage() in tcpdf automatically calls Header and Footer. How do I eliminate/override this? ...

PDF 3D image doesn't move properly

I'm trying to put a 3D model into a PDF file. When I load the PDF file in Acrobat, it comes up. However, when I use the rotate, spin, or hand control, the 3D image stays in the same orientation while the camera viewpoint seems to point in different directions, so even a slight rotate will send the image off the screen unless I zoom way...

sphinx (python) pdf generator

Hi, I use sphinx python documentation generator. Creating pdf documents are very easy and simple but.... i have one problem. All generated pdf documents have english words like "chapter", "release", "part". Is it possible change it? How set another words or remove it? ...

Python, generating PDF using ReportLab.Platypus SimpleDocTemplate, date/time in header

Hi, I'm working on a project in Python/Django which uses ReportLab's SimpleDocTemplate to generate PDF documents. All the documents generated have the current date/time printed in the top right corner. I can't see that it's being done anywhere in my code, is this a default behaviour in the SimpleDocTemplate object? How do I get rid o...

Export JSP output to a PDF on click of a button

I have created a JSP with various fields. I want to provide an option to export the page to a PDF before submit but after the user fills in the form. How can this be achieved? I am struggling with this problem past many days and not able to get solution. ...

Aligning two PDFs for a merge using Cairo and pyPDF

I need to programmatically add additional graphical elements onto an existing, static PDF book cover. Right now I use pycairo to draw onto a transparent PDFSurface, then merge it into the existing static PDF using pyPdf. This way, the PDFSurface works as an overlay. However, the transparent PDF is exactly the same size as the static PDF...

Are PDF box coordinates relative or absolute?

I want to programmatically edit a PDF using pyPDF. Currently, I'm struggling with interpreting the various PDF boxes' (TrimBox, MediaBox etc.) dimensions. Each box has four dimensions stored as a four-tuple, e.g.: TrimBox: 56.69 56.69 1040.31 751.18 According to the PDF specification, these are supposed to describe a r...

How to edit a pdf in the browser and save it to the server.

Here are the requirements, the users needs to be able to view uploaded PDFs in the browser. They need to be able to add notes to the PDF and save the updated PDF to the server without having to save it to their machine and open it outside the browser. Any ideas on how to achieve this are welcomed. by the way I am working with an as...

Is it possible to convert a Microsoft Word document to PDF with ColdFusion?

The above question says it all. I know you can create a PDF from an image file or HTML in ColdFusion 8 using CFPDF, but I'm wondering if it's possible to create a PDF from a MS Word document directly - in CF8 or CF9. Could you import the Word document and convert it to HTML or an image file, and then do the conversion? Or is there a sho...

Grails and pdf generation

Hi, any experiences creating pdfs programmatically in Grails using some of the numerous java libs available ? Snippets are welcomed ! Thanks ...