acrobat

itextsharp and livecycle

i've managed to create a template (for an invoice) in livecycle. i've choosed dynamic pdf instead of static pdf because of a few fields that needed to autoresize (like address, product name). now i use itextsharp to complete the fields, and it works if i save the pdf as acrobat 7 dynamic xml form. the problem is that the fields are edit...

Acrobat-like javacript image viewer

I have been tasked with recreating the Acrobat Reader with javascript. However, my "reader" will not present PDFs. Instead, my reader will present images that have been rasterized from PDFs. When I say recreate Acrobat, I need something that has these features: Display a series of images vertically Zoom and Pan on the images Paging ...

IMessageFilter's message filter not working for active x control

Hi All I am displaying acrobat reader 5.0 active x control in windows form. I inherited my form class with IMessageFilter and implement the PreFilterMessage function as given below. if (m.Msg == 513)//left button click { int mouseY = HiWord(m.LParam.ToInt32()); int mouseX = LoWord(m.LParam.ToInt32()); // where axAcroPDF1 is pdf contro...

Printing Adobe Portfolio from Acrobat reader via command line or programmatically

Hello We want to print all the documents in the portfolio using command line or other programatic options. We are trying it using the following command line option acrord32.exe /p /h "pdffile.pdf" doesn't print the entire portfolio. It only prints the first document or the cover page. Any ideas? Thanks, Krantz ...

Acrobat SDK File Compression

Can someone please help me with how to compress a pdf file using Acrobat SDK. I am using CAcroApp acroApp = new AcroAppClass(); acroApp.MenuItemExecute("ReduceFileSize"); which brings up the "Make Compatible With" dialog to specify the version and I do not know what to do next. I want to, given a new file name and version, create a...

Programmatic Way To Link Text Within A PDF

I am looking for some way to code a function (I'm open to any language or library at this point) to take an already existing PDF file as input and return a modified PDF file that links certain words to different URLs. I know PHP and ColdFusion both have good tools for dealing with PDF's, but I haven't been able to find anything that wor...

PDF Colo(u)r Analysis (without Acrobat itself ?)

Hi - Is there a library/tool which would list all colours used in a PDF document ? I'm sure Acrobat itself would do this but I would like an alternative (ideally something that could be scripted). So the idea is if you have a very simple PDF document with four colours in it the output might say : RGB(100,0,0) RGB(105,0,0) CMYK(0,0,0,...

postMessage to PDF in an iFrame

Here's my situation. I had a webpage with an embedded PDF form. We used a basic object tag (embed in FF) to load the PDF file like this: <object id="pdfForm" height="100%" width="100%" type="application/pdf" data="..url"></object> On this webpage was an Html Save button that would trigger some Javascript which used the postMessage A...

Create an Acrobat button to insert the current date

I'm building a report form in Acrobat and have a date field that I want to update by pressing form button on the page. (What I was thinking was a non-printing button.) What Javascript would I need to place in the button to make it insert the current date in the date form field. ...

Acrobat Opening in Full Screen Mode

I am having an issue with displaying a PDF in an iframe in asp.net. When the pdf shows up it is showing up without the Acrobat toolbar that allows the user to zoom and print. This is causing a major hassle for our customers because they cannot read the PDF in the size that it is. If you try and set Acrobat to not show the PDF in the b...

Can a downloaded, fillable PDF form submit data to a server via JavaScript?

Although it would be nice to not use PDF, we are using a legacy system that only generates PDF forms. I am working with some PDF forms that embed JavaScript to submit data back to a server. The form works when viewed and filled out in the browser. Unfortunately, our users like to download the forms to their computer, fill them out comp...

Acrobat Javascript Save & Exit Button

I have a writeable pdf form created in acrobat pro. Now, i added a button which has to change a fields value, save the pdf and close it. I decided to do this as following: var fieldX = this.getField("xxxxField"); fieldX.value = 1; app.execMenuItem("Save"); this.closeDoc(true); But this doesn't save the pdf. I don't want to have a ...

How do I detect the difference between Adobe Acrobat versions higher than 8 in non-IE browsers with JavaScript

I know that starting with version 8, the name of the Adobe Reader plugin was changed to "Adobe PDF Plug-In for Firefox and Netscape", and does not include any version information. However, the version information does appear in the "Plugins" tab when viewing Firefox Add-ons. Does anyone know where that information comes from, and if it...

Obtaining full name of PDF file from within Acrobat

When I open a PDF document in Acrobat Pro, how can I obtain the full name of the file including its absolute location (full directory listing)? For example, if I open up myfile.pdf, I want to know that its full name is S:\Company Data\Reports\Project1\myfile.pdf . The Document Properties lists both the short file name (myfile.pdf) a...

Reloading embed PDF in a DIV (empty Accrobat Reader error popup)

Hello, I have a web application coded in C#/ASP.NET. The application basically exports a PDF file when the user click on Save. It then reloads a DIV, putting the EMBED (with the src pointing to the newly generated pdf file) in it. Sometimes the embed area just gets black and I get this window from Acrobat Reader: http://img180.imagesh...

How to embed PDF in a web page using Acrobat Reader instead of Acrobat.

I have a pdf form that uses Acrobat 8 features. The form contains Javascript that interacts with the hosting web page. Some of my Windows users have both Adobe Acrobat and Acrobat Reader installed, and need Adobe Acrobat to be the default handler for pdf files. The users with Adobe Acrobat 7 are unable to use the form, even though they ...

can you customize adobe acrobat reader "security warning"

We need to insert a web beacon (i know taboo) in to adobe PDFs to know when they are opened, as one of our clients is moving to a model of "giving" their documents away and following up repeat viewers for subscriptions. Its not enough to be able to provide a download, they want to attach the PDF to an email and "blast" to directed recip...

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

Not able to instantiate PDF browser control from AcroPDF.dll using COM and .NET interop

When I try to instantiate a PDF browser control like this in C#: AcroPDFLib.AcroPDFClass acrobat = new AcroPDFLib.AcroPDFClass(); I get a COMException with this message: Creating an instance of the COM component with CLSID {CA8A9780-280D-11CF-A24D-444553540000} from the IClassFactory failed due to the following error: 80004005. ...

PDF document in webBrowser control cause 'The memory could not be "read"' error when closing application

I am using a webBrowser control to open PDF document in winforms, it works fine but when closing the application I get sometimes an error : "The Instruction at "0x2d864aa2" referenced memory at "0x00000008". The memory could not be "read". Is there a solution for this problem? Regards. ...