pdf

PDF Form Field Manipulation

I'm making a web interface to autofill pdf forms with user data from a database. The admin needs to be able to upload a pdf (right now targeted at IRS pdf forms) and then associate the fields in the pdf with data fields in the database. I need a way to help the admin associate the field names (stuff like "topmostSubform[0].Page2[0].p2-...

PDF files created on iPad don't display correctly on Windows

My iPhone app creates PDF files (in Arial font). The plain iPhone 3.1.x version works great (other than the known issue that PDF files created on the iPhone can't be viewed correctly in Google Docs or on the BlackBerry). As I am updating my project for OS 3.2 and the iPad, it works just the same, and the PDF files still look great on th...

conversion of html to pdf in python

I need to convert HTML documents into PDF format. Can u help me? ...

Problems reading PDF document using iPhone SDK?

Anyone succesfull tried to read the Catalog dictionary of a PDF document, using iPhone APIs? I'm not getting anything that makes sense: Most dictionaries inside the Catalog are empty. ...

What is the /F function in PostScript?

When coding a PDF file, what is the /F function for in a dictionary? ...

Pipe dynamic PDF into Imagemagick and convert to PNG

I need to create thumbnails from dynamic (database driven) pdf's. I've used a variation of the script below in the past, but this doesn't seem to be working for me now (page just hangs). <?php require_once('./template/all_includes.php'); $descriptorspec = array( 0 => array("pipe", "r"), // stdin is a pipe that the child will read...

Add Javascript to pdf using iTextSharp

Dear All, Is it possible to add javascript to a pdf (open event) using itextSharp? I tried using pdfwriter and PdfAction.Javascript() and it does add the javascript however, the annotation information in the pdf is lost. Is it possible to add javascript using pdfcopy so that the annotation information is preserved? Thanks in advance, ...

Open a PDF file in an external app on iPad

I'd like to make my app to open a specified PDF by an external app of the user's choice on the iPad. How can I do that? Or, is there any open-source PDF reader framework available so that I can put it into my app? My situation in more detail: I'm thinking of porting to the iPad from OS X / rewriting from scratch for the iPad an app whi...

jquery: how to force a pdf download automatically ?

Is there any way to force the user's download-manager to start a download for .PDF instead of showing the .PDF in a new window/tab ? I've seen this function already several times, hope somebody knows a solution ...

pdf2swf: corrupted double-linked list:

I am trying to convert a pdf with pdf2swf.. Normally it works ok but with this PDF I get this, what is a corrupted double linked list and how can I fix this? I have ubuntu server 9.10 and swftool v0.9: * glibc detected pdf2swf: corrupted double-linked list: 0x08d8c220 ** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0xb73f...

How to print PDF on default network printer using GhostScript (gswin32c.exe) shell command

I'd like to print PDF file(s) on windows' network printer via GhostScript. (I dont want to use Adobe Reader) I've read gswin32c.exe which can do the job. I experimented with many commands and coudn't find the way how to force gs to print PDF on my (windows default) network drive. I don't need point exact network printer- default c...

Split a PDF by Bookmarks?

Going to be getting a single PDF that has been created by 'merging' multiple pdf's. When I view the merged PDF each single PDF is displayed as a bookmark. Is there any way to automatically split this up by bookmarks with a script? We would not know the page numbers, so that's not an option. Linux tool would be preferred. ...

How to create a route that catch all pdf file?

I want to have my pdf files sent this way to my users : public ActionResult GetPDF( string filename ) { return File( filename, "application/pdf", Server.HtmlEncode( filename ) ); } But I don't know how to create a route that will catch all the different pdf file in my site? Thanks a lot for the help! ...

How to convert thousands of PDF files to a single Postscript file in a specified order

I've discovered multiple options for convert a few to serveral PDFs into Postscript, but many are command-line programs with command-line limitations (this application lives on .NET). Our application generates tens-of-thousands of PDFs that we need to send to a printer, except BEFORE the Postscript is printed we need to edit the Postscr...

How to shift PDF page using perl (CAM::PDF, PDF::API2)?

Hi all, I have a PDF document which I need to shift the pages to the right several inches. I.e like putting a margin on the left hand side of the page. Can either CAM::PDF or PDF::API2 do it? Or is there anyone have experience with it? Thanks. ...

J2EE: Print pdf on the fly

In my web application(J2EE), I would like to print a pdf file generated on the server side on the fly in the client side without opening it, the files could be one or many, Is it possible ? If yes please let me know how ? Thanks in advance ...

How can can I save my php created pdf file on a specific directory?

Hi, I need to convert a dynamic web page to pdf... So as a start, I use this code for practice, This works fine as long as I use the directory c:/test.php. But everytime I change the directory to something like d:/xampp/htdocs/test.php I get the error message: Fatal error: Uncaught exception 'PDFlibException' with message 'pdf_begin_do...

Jekyll documentation to PDF with TOC

I would like to write documentation using Jekyll with HTML and PDF outputs. Html can have a navigation but the PDF should have table of contents. Is there a free and easy way to do that? The HTML part is easy but I would like to use @media print CSS for making the PDF file. I have a few ideas how to do this. Use PrinceXML, unfortuna...

Adobe acrobat 8 command line switches to recognize ocr text

I want to use command line, to execute licensed adobe acrobat 8 to recognize OCR text a already scanned pdf document and make it fully searchable pdf? Do you know what is the command line switch, parameter? Thanks in advance! ...

VB6 app printing Crystal Report to Adobe Distiller PDF - how to set PDF filename?

I've got a legacy piece-o'-s- app that I'm maintaining. It's a VB6 app that calls a Crystal Report (Crystal 8 it looks like) and then prints programmatically to the default printer, which is set up as Acrobat Distiller (v5.0). When it prints to PDF, it's automatically placing the resulting PDF in a folder (c:\pdf) and naming it as the ...