acrobat

Starting serverside print job via PHP

亡梦爱人 提交于 2019-12-10 15:46:48
问题 This is most likely not an easy one but here is the situation: I have written a C# command line application which: creates a PDF using ITextSharp writes it to disk uses Acrord32.exe (this is Acrobat Reader) via System.Diagnostics.Process in order to silently print the generated PDF If I build my solution and double click the pdfGen.exe , it works as expected. The PDF is created and printed. Now, my app has to be deployed on a internal server with Windows Vista running IIS 7. This server has

PDF: How can I override/fix searchable text in a scanned image + OCR file?

纵然是瞬间 提交于 2019-12-10 13:53:06
问题 I'm trying to create an index on a PDF file that I scanned as images from an old original manuscript, then put through character recognition in Adobe Acrobat Pro. The problem is some of the words were spaced funny so the OCR ended up with flaws. I used the find and fix suspects tool but there are still problems. Case in point... The text " FOR EXAMPLE " was spaced funny in the original document (and its image of course) so that Adobe reads it as three words " FOR EX AMPLE " which then results

How to display a PDF document in a Microsoft Surface application?

馋奶兔 提交于 2019-12-10 13:02:23
问题 I want to display a PDF document in my Microsoft Surface application. I did some searching and found a lot of possibilities, but all of the seem to have a little drawback if used in Microsoft Surface. This insteresting approach seems nice, but I have trouble to check how to enable scrolling. Any idea how to enable scrolling in there? 回答1: In our application we have the need to display a lot of content that is provided as PDF from our customers. Instead of directly displaying the PDF we create

File Does Not Begin With '%PDF-'

微笑、不失礼 提交于 2019-12-10 10:06:47
问题 I had a peculiar problem yesterday. A customer put one of my Delphi apps on some Toshiba laptops, and all was fine until it was time to generate some Acrobat files as a Rave 7 report, which produced the subject error. The laptops had Acrobat 7 Standard installed with XP SP3 and IE8. I uninstalled Acrobat 7 Standard, put in Acrobat 5 Reader which they had lying around, and the problem went away. However, the customer doesn't see backtracking Acrobat as a solution, because the usual environment

Attachment damages signature

╄→尐↘猪︶ㄣ 提交于 2019-12-08 18:16:25
I have PDF document. 1) Adobe reader reads document well. 2) I sign document (using pdfbox) and everything is well 3) I try to attach file to original pdf (Code is written in the pdfbox web page - in the cookBook). 4) Adobe reader reads attached document well. everything is well. 5) Now I have document with attachment. 6) I try to sign that document (I mean document with attachment). And I have 2 problem: First: when I open document, Adobe reader tells me that signature byte range is invalid. Second: when I try to close document (I mean to close adobe reader), Adobe reader tells me that: Do

How can I edit the search text of a searchable PDF?

扶醉桌前 提交于 2019-12-08 12:18:37
问题 I have access to a scanner at my library which can create "searchable PDFs." These are PDFs that show the exact image of a scanned document, but there is a kind of hidden text in the PDF that can be selected when you try to select a portion of the image that contains text. In this way you can copy and paste text or search for text in the scanned document. This is VERY useful. It's an awesome improvement over raw scanned images. I also have several apps on my mac that can create this kind of

Dynamically generated PDF files working in most readers except Adobe Reader

馋奶兔 提交于 2019-12-08 03:31:00
问题 I'm trying to dynamically generate PDFs from user input, where I basically print the user input and overlay it on an existing PDF that I did not create. It works, with one major exception. Adobe Reader doesn't read it properly, on Windows or on Linux. QuickOffice on my phone doesn't read it either. So I thought I'd trace the path of me creating the files - 1 - Original PDF of background PDF 1.2 made with Adobe Distiller with the LZW encoding. I didn't make this. 2 - PDF of background PDF 1.4

Search subdirectories for Inno Setup DestDir

徘徊边缘 提交于 2019-12-08 03:17:05
问题 I am attempting to use Inno Setup to distribute a file used as a plug-in by another application. If it cannot find the plug-in destination, it should still install itself into the Program Files directory, providing the user with manual instructions. Hats off to Tlama for providing some code that was used in a similar problem: Inno Setup find subfolder. The follow script lays out the basic setup I am hoping to achieve, with comment where the script is incomplete. I'm just in over my head. :-)

How to use PDFBox to create a link that goes to *previous view*?

空扰寡人 提交于 2019-12-08 01:08:53
问题 By using PDFBox, it is easy to create a link that goes a particular page or page view by using PDPageDestination . For example, the following code will make a link that goes to page 9: PDAnnotationLink link = new PDAnnotationLink(); PDPageDestination destination = new PDPageFitWidthDestination(); PDActionGoTo action = new PDActionGoTo(); destination.setPage(document.getPage(9)); action.setDestination(destination); link.setAction(action); Problem: Instead of going to a particular page, I would

pdftk + xfdf + php can't handle umlauts

狂风中的少年 提交于 2019-12-07 21:45:01
问题 I'm using XFDF files to fill out PDF-forms serverside with PHP and pdftk but my problem is that no non-english characters (ä, ö, å etc.) are printed to the form fields. Here is the function I use to parse the XFDF file: function createFDF($file,$info,$enc='UTF-8'){ $data='<?xml version="1.0" encoding="'.$enc.'"?>'."\n". '<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">'."\n". '<fields>'."\n"; foreach($info as $field => $val){ $data.='<field name="'.$field.'">'."\n"; if(is_array(