pdf

IE (HTTPS): generating pdf from php file doesn't work

Here is my issue. I am trying to call a page: foo.php?docID=bar and return a PDF to the screen which is stored as a BLOB in the DB. Here is the portion of my code which actually returns the PDF: $docID = isset($_REQUEST['docID']) ? $_REQUEST['docID'] : null; if ($docID == null){ die("Document ID was not given."); } $results = ge...

Printing Multiple PDFs from Java as a single print job (physical printing)

I would like to print multiple pdfs from java (using the java print service) in a single print job. I would like to send multiple pdfs as a single job to the printer. This is so that all the documents in my 'batch' print together and are not interleaved with someone else's print jobs when I go pick them up from the printer. A batch po...

PDF Text Extraction Approach Using OCR

Has anybody attempted to extract text from a PDF using an OCR library and Java? What did you find to be the most reliable library for text extraction. Most of the approaches I've seen (tesseract, GOCR) are C libraries that would require some JNI code to be written. I'm familiar with pdfbox, which is now an Apache incubator project ...

Asp.Net MVC how to get view to generate PDF.

I would like to call an action on a controller. Have the controller get the data from the model. The view then runs and generates a PDF. The only example I have found is in an article by Lou http://whereslou.com/2009/04/12/returning-pdfs-from-an-aspnet-mvc-action. His code is very elegant. The view is using ITextSharp to generate...

opening pdf documents in asp.net

hi i need a free control for my asp.net pages which would display pdf documents,so that the client can view pdf files without the need of installing any pdf. i tried searching in google but all i get is for windows application. thanks in advance ...

How remove or disable hyperlink events from pdf file.

I has disaply a pdf file from byte[] in asp.net. Problem is that it contains hyperlink, i want to disable or remove these hyperlink events. ...

Creating nice pdfs with ruby

I would like to create pdfs with ruby. One special need is embedding a picture into text (or a textblock), which means I need to be able to let the text flow around the image. E.g. the image should be in the rigth upper corner and the text should start left of the image and continue after the image by using the whole width of the page. H...

Display PDF in Winform C#

Does anyone knows how to display pdf file in winform? i am using c#. i don't want to use activex. maybe some one know good component or library. thanks ...

Firefox and magically appearing character (Â) when unescaping an ®

I'm unescaping an ® (registration character) in firefox to be submitted in a form, since actually typing that character into Javascript causes the script to behave strangely. However, I must use the unescaped(..) version of the character since it is being submitted to the backend (where I have no control) and the output is a pdf file wh...

Printing Without Printers?

Hi, This is the situation I am facing. I have developed a web application that allows users to select existing PDF files to be batch printed on selected printers. However, in the UAT environment, we are not able to attach printers due to the risk to network security. I can arrange to install third-party software, but because of the...

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 ...

Print Embedded Excel sheet

Edit: I have a user control with embedded excel sheet and gridviews ( WinForm). I have a form which has that user control. I have a print button on top and I want to convert the whole form into printable format. Any suggestion on how to move ahead? ...

Iframes, pdfs and focus with internet explorer

So - I have a page which contains a textarea and a dynamically created IFrame which displays a PDF using the adobe acrobat plugin. Initially the textarea is focused. I want the textarea to be focused, but the IFrame steals focus when the pdf is loaded. In firefox it is trivial to reset the textarea as the focused element. I do this...

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? ...

Creating PDF file through ASP.NET

What is required to create a PDF file through an ASP.NET application other than Crystal Reports? ...

What application does google use to show PDF attachments in gmail

I watched the traffic when google displays PDF attachments in gmail in a new window. The content is served as PNG images for each PDF page. And its text can be selected. What does google use on server side to generate a PNG file for a particular page in a pdf file? How does the selection of text on a png file work? Any ideas? ...

Jsp/ Html Page to Pdf

Hi all, How to convert as PDF from my Jsp/Html file?. i want to convert particular part of my webpage to pdf file. is it possible? Gnaniyar Zubair ...

How to automate testing where the quality of results is largely subjective

I have been evolving an automation and statistics generation program through a series of rapid prototypes to see if the license cost of an API generates a good return on investment. The limited time frame, and my own limited experience has led to a useful tool with no automated quality or correctness tests and metrics. The program deals...