pdf-generation

Metadata in PDF Files

I want to be able to store some plugin specific data in a PDF so that I can read it back when that PDF is loaded back BUT I dont want the user to see this This information has to be in the PDF File because when the file gets passed around I still need that metadata about certain objects in the file How can I do this TIA ...

Problem with HTML_ToPDF class (PHP)

Hello! In my project, I'm using HTML_ToPDF PHP class, which uses html2ps script to convert from HTML to PDF file. Recently I upgrated my production server to Debian 5 (lenny) and, after that, HTML_ToPDF is no longer working: convert() method from HTML_ToPDF class is returning this error: Error: there was a problem running the html2ps...

HTML to PDF - Bad performance

I´m using ExpertPDF (library for .NET C#) for converting HTML to PDF and my problem is that it takes a lot of time to do this. Are there any customizations that will improve the conversion? The HTML-page contains table-data with just a few images, so it is not that complex. Have anyone else ever experienced this problem, or do you re...

Tool or method to download any section of MSDN documentation and convert to pdf?

Reading the online MSDN docs is a great way to learn more about .NET and other MS technologies. However sometimes I need to read it in an offline mode, like when using an eReader. Is there a tool, software or some code which can be used to download a section of the MSDN library and convert it to a pdf, by starting from a url in the msd...

How do I tell if an HTML element has gone off the bottom of a page?

I have a system that takes dynamic data, puts it in HTML for layout and then converts that to PDF. However the problem I am having is that if an element becomes too big for the remaining page space or pushes something else off the bottom how can I detect this and move the element myself to the right position on the next page? (Currently ...

How to put an image url from internet in tcpdf file?

Hi I want to put an image into the pdf file I'm making using TCPDF. It is an image generated by an online API so I cannot store in my webhost. But when I put the image url for creating i'm getting error while generating the PDF file. ...

How to copy an AcroForm using iText?

I have a pdf with an acroform. I'm using iText to open this pdf and fill the form fields with some data. Sometimes I need to generate more pages than the original pdf. To do that I create one page and replace with an existing page using this code: OutputStream output = new FileOutputStream("C:\\newFile.pdf"); PdfStamper stamper ...

How to generate a PDF from an HTML / CSS (including images) source in Python?

Let's say I've got an HTML / CSS page with some images in it, and I wanted to generate a PDF from that source in Python - possible? ...

Creating on-demand, print-quality PDFs (preferably in Ruby if feasible)

Main-Question What's your fast and reliable (as in "stable") solution to create on-demand, newspaper-like (as in "using advanced layout or typesetting") PDFs out of an application on a Linux server? Therefore: No, HTML2PDF is not the solution I'm looking for. ;-) Bonus-Question And if it's not Ruby-based: Is there a way to steer ...

How to convert SVG images for use with Pisa / XHTML2PDF?

I'm using Pisa/XHTML2PDF to generate PDFs on the fly in Django. Unfortunately, I need to include SVG images as well, which I don't believe is an easy task. What's the best way to go about either a) converting the SVGs to PNG / JPG (in Python) or b) including SVGs in the PDF export from Pisa? ...

Add a pdf to a Reporting Services report after rendering report as pdf

We are using Reporting Services to generate a purchase order, which is rendered as pdf before displaying on the screen. The report works well, as is, except that now we have to add a Terms & Conditions page to every PO. I've tried placing it in the footer, setting it to display only on the last page--this didn't work. I've also tried a...

C# ActivePDF PrintImage Corrupt Memory Problem

Hi, I am having a problem using the PrintImage function of the ActivePDF C# library. When I use it to try to place a .gif image on the PDF I receive this error message: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." I am able to use the PrintJPEG and PrintTIFF image functions wi...

Spinning PDF's by passing a URL and $_GET parameters?

Hey all, I have spent a lot of time trying to get dompdf (http://www.digitaljunkies.ca/dompdf/) to work but I keep running into problems. I am trying to generate a PDF from a PHP script which generates a fairly complex, filled out web form. The script accepts a $_GET parameter (record number) and fills out the form accordingly with da...

Multi-job pooled printer control

We've got 4 printers with identical trays/paper configured in a pool. Multiple jobs can be submitted and it will kind of round-robin send the jobs to the printers per whichever one is idle. That works good, but.. We're working on a new application that is web-based and produces PDF output files. A "set" of data might involve 3 different ...

Can anyone recomend a Python PDF generator with OpenType (.OTF) support?

After asking this question back in November, I've been very happy with ReportLab for all of my python pdf-generation needs. However, it turns out that while ReportLab will use regular TrueType (TTF) fonts, it does not support OpenType (OTF) fonts. One of the current widgets I'm working on is going to need to use some OpenType fonts, an...

Document template engine

I need to choose a good template engine to generate documents in our application. The requirements are: Generate Microsoft Word and PDF at least Good templating capabilities including support for simple replacable parameters, arrays/lists, and hierarchies if possible Allow to include custom graphics Ideally templates should be editable...

Java in a Microsoft shop

I've been introduced to this wonderful project, xhtmlrenderer; the flying saucer project. Problem is, is that where I work, it's strictly a microsoft shop and I haven't done any java development since college, and a smidge of WebSphere a few years back. I was wondering what it takes these days to do java development? I set up a quick p...

Is there a good ActiveX/COM component to "print" to PDF?

Clutching at straws here, I think I remember seeing a solution to this somewhere but can't find it now. The issue is that I need a Windows application (not .Net) to be able to generate PDFs. The "standard" solution is to use something like PDF995 or CutePDF which create a dummy printer that your application can then print to and it is ...

How can I print a full sized A4 page?

I need to print 24 labels (37x70mm) on a A4 page. I generate html for a table with size of an A4 page. I tried to print the page from a browser but no success: the page doesn't start from the top although I set top margin to 0 (for html page and for browser too). I tried to generate a pdf file with abcpdf, half succes here, the page s...

Solutions for document generation in a Java server app

I've been looking at various pdf generating libraries for use a Java based application. The primary requirement is produce letters and insurance documentation. Ideally the design of the documents should be quite easy to change, with out a new release of the code. So far I've looked at: Jasperreports - solid library used it before, not...