acrobat

How to diagnose cause, fix, or work around Adobe ActiveX / COM related error 0x80004005 progmatically?

删除回忆录丶 提交于 2019-12-20 23:26:52
问题 I've built a C# .NET app that uses the Adobe ActiveX control to display a PDF. It relies on a couple DLLs that get shipped with the application. These DLLs interact with the locally installed Adobe Acrobat or Adobe Acrobat Reader installed on the machine. This app is being used by some customer already and works great for nearly all users ( I check to see that the local machine is running at least version 9 of either Acrobat or Reader already ). I've found 3 cases where the app returns the

How to open a pdf in fullscreen view via command line

空扰寡人 提交于 2019-12-20 23:21:24
问题 I have been able to open a pdf document through command line by using: start test.pdf But I would like to open it in full screen mode via command line, does anyone have any idea how to do so? [edit] I need a windows command... 回答1: This should do it. start "" /max "c:\nameofpdf.pdf" This has the advantage that it should work if the user is using other pdf document readers that are not adobe reader. It should just use the default pdf reader on the machine. 回答2: Windows 10: explorer.exe "file:\

How to write a text file in Acrobat Javascript

泪湿孤枕 提交于 2019-12-20 10:39:48
问题 I am using acrobat XI I have tried output a text file like this var cMyC = "abc"; var doc = this.createDataObject({cName: "test.txt", cValue: cMyC}); this.exportDataObject({cName: "test.txt", nLaunch:0}); This is working , but I would like to provided a fixed path and no dialog is popup to request the user choose a saving path Are there any way to fix the problem? thanks 回答1: All Acrobat JavaScript functions that write a file to the user’s local disk pose a security risk, so there are some

How to export pdf form fields to xml automatically

风格不统一 提交于 2019-12-18 15:18:24
问题 I have a pdf file including form fields and need to export the data into a xml file AUTOMATICALLY . Here is a screen of a sample form I created for testing: Note: It works great exporting it MANUALLY using Acrobat Professional by clicking on Tools > Form > Export Form Data and finally chose xml extension for file output. This is the result I'm getting when I export it manually: <?xml version="1.0" encoding="UTF-8"?> <fields> <first_name>John</first_name> <last_name>Doe</last_name> </fields>

How can I hide the Adobe Reader toolbar when displaying a PDF in the .NET WebBrowser control?

末鹿安然 提交于 2019-12-17 23:25:30
问题 I am trying to load a PDF document inside a .NET web browser control. In versions of Adobe Reader prior to v10 (aka "X"), the PDF loaded without the toolbar displayed—you would just see the PDF document. In the newly-released Reader v10, there is a toolbar that I do not wish to see. I am wondering if anyone knows how to hide this toolbar. I'm thinking that the answer may lie in the Registry, as there is no direct code that I am using to access Reader. Everything is handled by mime types

“name” web pdf for better default save filename in Acrobat?

霸气de小男生 提交于 2019-12-17 22:38:47
问题 My app generates PDFs for user consumption. The "Content-Disposition" http header is set as mentioned here. This is set to "inline; filename=foo.pdf", which should be enough for Acrobat to give "foo.pdf" as the filename when saving the pdf. However, upon clicking the "Save" button in the browser-embedded Acrobat, the default name to save is not that filename but instead the URL with slashes changed to underscores. Huge and ugly. Is there a way to affect this default filename in Adobe? There

Debugging PDF for error

不问归期 提交于 2019-12-13 11:43:49
问题 I'm creating PDF files using PDFClown java library. Sometimes, when openning these files with Adobe Acrobat Reader I get the famous error message: "An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem." The error shows while reading (with Adobe) the attached file only when scrolling down to the 8'th page, then scrolling back up to 3'td page. Alternatively, Zooming out to 33.3% will also produce

Acrobat XI Pro: checking status of a checkbox to affect calculation

梦想与她 提交于 2019-12-13 06:53:05
问题 I'm trying to add calculations to a form someone else created, and I'm a little stuck on the JS. One set of fields has two possible calculations depending on whether the associated checkbox is Checked or Unchecked. How do I a) check to see the status of the checkbox, and b) have that affect the calculation? I know that for part b I will use some kind of if-else statement, and I've already got something coded that should work, but part a has me totally confused. It's been a while since I last

Fixing a filemaker script with Embeded Applescript and Global Field

半腔热情 提交于 2019-12-13 04:41:59
问题 With a great deal of help from @Chuck I have written this filemaker script which is supposed to find related PDF attachments in container fields and export them to a temporary folder then trigger an applescript which will open & print the documents using adobe acrobat. Unfortunately the script will not work and although I have used script debugger and tried to follow advice I am still having difficulty. Any assistance in telling me exactly where I'm going wrong would be appreciated. Go to

How to search multiple PDF's in a folder

て烟熏妆下的殇ゞ 提交于 2019-12-13 04:08:50
问题 Using Adobe Acrobat Reader how do I search multiple PDF's in a folder? 回答1: In Adobe Acrobat reader: Press Shift+Ctrl+F to open the Search panel. Select the All PDF Documents in option. Click the dropdown list arrow to show all drives. Find the folder you want to search. Enter the text you want to search for. Click OK. You will see the results box. Expand the nodes to see the details. 来源: https://stackoverflow.com/questions/57909414/how-to-search-multiple-pdfs-in-a-folder