pdf

Creating a gradient fill in a PDF file using reportlab

Is it possible to create a gradient fill in a PDF using ReportLab (python)? ...

How can I tell the resolution of scanned PDF from within a shell script?

I have a large collection of documents scanned into PDF format, and I wish to write a shell script that will convert each document to DjVu format. Some documents were scanned at 200dpi, some at 300dpi, and some at 600dpi. Since DjVu is a pixel-based format, I want to be sure I use the same resolution in the target DjVu file as was used...

Client side report printing from PHP web apps

I was looking for a solution for client side printing of reports and pre formatted forms from a PHP web based app. Note that these are not printing of HTML pages. Rather nicely aligned fixed formated Receipts, Order Forms, Ledger etc. Something that I have though of. Using PDF: Is there a simple one click way to print the report from c...

Is there an application that generates an HTML form from a PDF?

Is there an application out there that Generates an HTML form from a PDF file? Also, it would need to generate the HTML form so that it would be able to submit to the PDF to fill out the fields inside the PDF. PDF is not so good at validation and it's just a kluge interface to begin with. ...

Photo extraction from pdf file

Hello, Does anyone know of a way i can extract all jpg images from a pdf file? I am currently using Acrobat and i have a file that contains about 1500 photos that i need to extract but doing them one at a time would be much too time consuming. Any ideas? Thanks. ...

Cropping pages of a .pdf file

I was wondering if anyone had any experience in working programmatically with .pdf files. I have a .pdf file and I need to crop every page down to a certain size. After a quick Google search I found the pyPdf library for python but my experiments with it failed. When I changed the cropBox and trimBox attributes on a page object the resu...

How do I save a Silverlight 2.0 canvas to a database and export it to PDF

I have a Silverlight 2.0 project that allows a user to add text and images to a canvas. They can move, rotate and resize the text/images. I was wondering the best way to serialize the Silverlight objects to a database and also be able to generate a PDF of the canvas to be printed. I've read some articles about calling a web-service ...

c# Read line from PDF

Hi, for some monitoringproject I want to be able to read line by line from a pdf, compare it to a string( a filename), and if the string appears in that line, write that line to a list. So far I had a quick look at ITextSharp and at PDFSharp, but it doesn't seem like these are the right tools for the job as they focus most on altering ...

Howto open a link in a pdf-file in a new window?

I have a link in a pdf-document (PDF1), which is embedded in a browser instance. Or let's say the Adobe Reader is embedded in a browser window. In this pdf-document (PDF2) is a link to a servlet, which view opens another pdf-file. Now the new pdf-document is opened in a embedded Adobe Reader in the same browser window. How can this doc...

Best tool to check and ensure PDF/A compatibility under Linux

I am working on an online portal, where researchers can upload their research papers. One requirement is, that all PDFs are stored in PDF/A-format. As I can't rely on the users to generate PDF/A conforming documents, I need a tool to check and convert standard PDFs into PDF/A format. What is the best tool you know of? Price Quality Sp...

Gluing (Imposition) PDF documents

I have several A4 PDF documents which I would like (two into one) "glue" together into A3 format PDF document. So I will get from 2PDFs A4 a single one sided PDF A3. I have found the excellent utility PDFToolkit and some others but none of them can be used to "glue" side by side two documents. ...

What is the best way to parse Microsoft Office and PDF documents?

I'm developing a Desktop Search Engine using VB9 (VS2008) and Lucene.NET. The Indexer in Lucene.NET accepts only raw text data and it is not possible to directly extract raw text from a Microsoft Office (DOC, DOCX, PPT, PPTX) and PDF documents. What is the best way to extract raw text data from such files? ...

Creating pdf files at runtime in c#

Is there a pdf library attached/that can be attached to .NET 3.5 that allows creation of pdf files at runtime i.e opening a new pdf file, writing to it line by line, embedding images, etc and closing the pdf file all in C# code? What I want is a set of tools and specifications which allow me to implement a customised pdf writer in C# wi...

reading/writing xmp metadatas on pdf files through pypdf

I can read xmp metadatas through pyPdf with this code: a = pyPdf.PdfFileReader(open(self.fileName)) b = a.getXmpMetadata() c = b.pdf_keywords but: is this the best way? And if I don't use the pdf_keywords property? And is there any way to set these metadatas with pyPdf? ...

How can I embed a PDF in an Email?

I've already referred to this: http://stackoverflow.com/questions/104177/how-do-i-embed-an-image-in-a-net-html-mail-message I've been embedding images using an AlternateView for PNG files. Now I'm wondering how to do it with PDFs. Should it work, for the LinkedResource, to just say: Dim document As New LinkedResource(pdfFilePath, "i...

How do I convert a PDF document to a preview image in PHP?

Our environment is a LAMP stack. I'm wondering what libraries/extensions etc. would be required to convert a portion of a PDF document into an image file? Most PHP PDF libraries that I have found center around creating PDF documents, but is there a simple way to render a document to an image format suitable for displaying on a web page...

Can I create a thumbnail of a PDF file on the fly using PHP?

sample: I have a list of PDF documents and which to list them as thumbnails, can I create a thumbnail of those PDf files the same way I could create the thumbnail of a jpg? thank you! ...

Rasterizing PDF documents programatically

I'm currently working on a project where I've been tasked with implementing a feature that will allow users to flip through a book in PDF format. I've tried searching for existing software and components that would help with this task, and I've found a few... The problem though, is that the client is quite rigid about how they want thi...

How do I print a set of sheets to PDF in Excel 2002?

I've tried CutePDF, but programmatic access needs to happen via registry entries, which isn't thread safe. I've also tried PDF Writer, but program has serious problems when multiple users are logged into the same machine trying to print at the same time. I'm looking for an easy C# or VBA command to which i can say -- print this .xls, a...

How do I force formatting and calculations in a PDF when filling other fields using iTextSharp?

I have a PDF form with a number of text fields. The values entered in these fields are used to calculate values in other fields (the calculated fields are read-only). When I open the form in Adobe Reader and fill in a field, the calculated fields automatically re-calculate. However, I am using iTextSharp to fill in the fields, flatten ...