Quantcast
Channel: Adobe Community : All Content - Acrobat SDK
Viewing all 2571 articles
Browse latest View live

Re: AllowPSFileOps (Mac OS Sierra, Acrobat DC)

$
0
0

I am from Japan.

 

AllowPSFileOps (Mac OS Sierra, Acrobat DC)

 

Thank you very much for many reply.

But, I misunderstood it.

 

Now, I try it Acrobat X on OS X Sierra (not Acrobat DC).

Acrobat X worked on Sierra because I created dummy folders bellow.

 

sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk /System/Library/Java/Support/Deploy.bundle

 

---

OK (-F option  unused):

sudo /Applications/Adobe\ Acrobat\ X\ Pro/Acrobat\ Distiller.app/Contents/MacOS/Distiller /Users/aoki/foo/bar.eps

 

The created PDF has the permission `root/weel'.

 

Error (-F option used):

/Applications/Adobe\ Acrobat\ X\ Pro/Acrobat\ Distiller.app/Contents/MacOS/Distiller -F /Users/aoki/foo/bar.eps

 

Error (-F option used):

open -a Acrobat\ Distiller.app -F /Users/aoki/foo/bar.eps

 

Distiller says:

%%[ Error: undefinedfilename; OffendingCommand: run ]%%

 

`bar.eps' includes in a part:

(/Users/aoki/foo/common/HEAD.eps) run

 

---

Then, must I invoke Distiller every EPS files?

 

Sincerely,

AOKI Yoshihiro

 


Extract named destination list c#

$
0
0

Do not know if this is the right section to ask. I was wondering if there is a way to extract all the named destinations on a PDF file into excel or something similar

Does merge PDF in Acrobat DC work with stub files?

$
0
0

I have an application that uses stub files and some users have problems merging documents that are stub files.

 

Just to be clear, I'm talking about a stub in the metadata-only sense. The way my application works, the files in question appear on the file system as normal but the files have no content until a user opens them, just metadata.

 

When my users try to merge two PDFs via Acrobat, Acrobat errors out.

 

Anyone know if Acrobat DC even supports stub files?

 

The error makes sense to me, the files aren't actually on the file system so Adobe can't merge what isn't there.

 

Just wanting to confirm if this is actually unsupported or if I'm missing something.

Adobe Acrobat Reader DC crashes on copying pdf content with not saved changes to another directory using PDDocCopyToFile method from Adobe plugin.

$
0
0

Currently custom adobe plugin should copy pdf content if pdf document was updated but not saved in Adobe Reader/Acrobat otherwise it continues using original file location. It was tested on different files. This works fine with almost all files except one.

 

From properties of this file I see that this is Adobe LiveCycle Forms 8.2 document with PDF Version 1.7 (Acrobat 8.x).

 

This file works fine with this plugin installed on Reader XI, Reader IX and Adobe Acrobat Pro DC. But when I use Adobe Acrobat Reader DC it crashes.

 

Source code:

 

ASInt32 docFlags = PDDocGetFlags(pdDoc);

 

if ((docFlags & PDDocNeedsSave) != 0) //check if document need to save

{

  IntPtr pTempFile = Marshal::StringToHGlobalAnsi(strTempFile);

  ASPathName asTempPath = ASFileSysCreatePathName(NULL, ASAtomFromString("Cstring"), pTempFile.ToPointer(), NULL);

 

  PDDocCopyParamsRec copyParams;

  memset(&copyParams, 0, sizeof(PDDocCopyParamsRec));

  copyParams.size = sizeof(PDDocCopyParamsRec);

  copyParams.fileSys = ASGetDefaultFileSys();

  copyParams.newPath = asTempPath;

  copyParams.saveChanges = true;

 

  PDDocCopyToFile(pdDoc, &copyParams); // <-- crashes here

 

  Marshal::FreeHGlobal(pTempFile);

  ASFileSysReleasePath(NULL, asTempPath);

}

 

In Adobe Acrobat Reader and Acrobat Pro DC this file is not possible to update (for Acrobat warning message appears, from Reader this file not editable) but docFlags are defined for this doc as need to save. This is not so bad if only plugin not crashes on line PDDocCopyToFile(pdDoc, &copyParams).

Also I noticed that if I change copyParams.saveChanges to false it works fine but it copies file without not saved changes. This is unacceptable.

 

Exception message is "External component has thrown an exception." and type of exception - System.Runtime.InteropServices.SEHException.

 

Previously in plugin was used SDK older than 9 version, so I updated SDK to DC version - this didn't help. Then I used other available in downloads versions of SDK X and XI - the same result.

 

Is it a bug or I'm doing something wrong? Are the any workarounds? Are there any ideas?

Thank you.

취소부탁드립니다.

$
0
0

카드로 결제한거 취소부탁드립니다.

카드로 결제한거 취소부탁드립니다.

$
0
0

카드로 결제 한거 취소 부탁드립니다.

How to programatically create PDF files from LotusScript

$
0
0
Hi,

I am working with Lotus Notes 6.5 and Adobe Acrobat 8.0.

I have installed the Acrobat toolbar within Notes and can carry out PDF creation by selecting an email and clicking on the relevant button. I would now like to find a way to call this 'Convert selected messages to Adobe PDF' action via a LotusScript agent as I would like this agent to automatically run on a mail folder and convert all messages to PDF.

I have noticed that although the PDFMaker actions appear within the 'Actions' menu in Notes, I cannot find them within Lotus Domino Designer. I think that I probably need to call one/some of the functions within the Adobe PDFMaker dll files but I cannot find a list of these functions (with parameters) anywhere.

Has anyone managed to write LotusScript code to create PDF files?
Does anyone know where I can find documentation for the type of functionality I require?

Any help is appreciated, thanks!

Automate Word export

$
0
0

Hello,

I need to automate the Word (docx) export process. After a PDF file is generated from an automated publishing process using FrameMaker, I need to optionally export that PDF as a Word file. This has to be done without any user interaction. Is this possible? There seems to be plenty of ways to control Acrobat through IAC, but I can't see how to do what is needed. The option to export Word files or not will be set in a configuration file.

 

Thanks in advance

Ian


Programatically Set PDF Password Using Visual Studio

$
0
0

Hi,

 

I'm working on a project where we have SQL Server Reporting Services automatically saving a PDF report to a network folder.  We then want to password protect this file and email it to specified recipients.

 

I'm thinking of creating a Windows service that will monitor the network folder and automatically password protect any PDF that enters it.

 

I've downloaded the Acrobat SDK and started reading through the documentation, but I can't figure out if what I'm trying to do is possible.

 

Is it possible to create an app with Visual Studio that can password protect a PDF?  Either in C# or VB.NET?

 

Thanks!

 

 

 

I have Visual Studio 2005 and Adobe Acrobat 8.

How do you get Acrobat pragmatically printing tiled (poster) settings

$
0
0

I

How do you get Acrobat pragmatically printing tiled (poster) settings? I know what the support (reference document for Javascript states). Use TileAll.... that did not work at all. I have large images that I need to add a couple barcodes to the top and then print without changing the size of the image. So they need to print out at 100%. I can do it manually but I need to automate this process ASAP. Can someone help me? Right now I have a C# app that sends the document through OLE to open, now I just need to modify and PRINT tiled. Of course, this process needs to be duplicatable. I wanted to do this all in OLE but I do not see where I can modify the printer settings.... therefore I was thinking OLE to Javascript. I could do OLE to plugins also but I can not get my new plugin (sample for SDK) to even show up.

 

I am using Acrobat Pro DC.

 

Thanks

Kory

How do you get Acrobat pragmatically printing tiled (poster) settings

Wat is the API settings for tiled print in C++ sdk plugins?

$
0
0

I am trying to write a plugin to allow me to silently print in the tiled format, is this possible? I do not see any of the settings I would expect and many of the ones that have 'tiled' in the name are now obsolete.Please, any help would be greatly appreciated.

 

Thanks

Kory

hallo

$
0
0

Ik heb volgend probleem. ik krijg van mijn klant pdf-bestand met embedded lettertypes (SegoeUI TrueType CID Identity-H). Als ik de pdf omzet naar ps en daarna terug naar pdf omzet met de standaard adobe programma's, dan zijn op sommige pagina's van de pdf de tekst met dit lettertype onleesbaar geworden. (idem als ik de originele pdf print naar pdf) De originele pdf va de klant is aangemaakt met iTextSharp 4.1.6 by 1T3XT pdf-version 1.4(Acrobat 5.x). Heeft iemand hier een uitleg voor ?

Acrobat Reduce File Size Function

$
0
0

Hi, as i understand there is a function in Acrobat that allows the user to reduce file size of the PDF document by reducing the Adobe versions the document is compatible with. can i check if there are any sdk, api or licenses available to allow us to incorporate this function into a self-written program?

 

Thanks in advance

I'v wrote a plug-in file (X.api) by Acrobat DC SDK. Could u tell me the steps of using MakeKeys.exe and SignPlugin.exe to identify the file and the fees if it's needed?

$
0
0

I'v wrote a plug-in file (X.api) by Acrobat DC SDK. Could u tell me the steps of using MakeKeys.exe and SignPlugin.exe to identify the file and the fees if it's needed?

Missing ToUnicode After Distillation

$
0
0

Hi,

 

I have some PDFs with Japanese texts. Mostly the texts are in either MS-Mincho or MS-Gothic font. Mostly the fonts are in TrueType (CID) type and Identity-H encoding. I have no problem on copying Japanese texts from Acrobat and pasting them in Notepad. This must be a proof of a proper ToUnicode map in the PDF.

 

However, when I print the PDF into "Adobe PDF" printer driver, the copy & paste no longer works in the PDF output file. Now the Japanese texts are pasted as missing glyph character (a quotation mark in a square) in Notepad. I guess this means ToUnicode map was not created, most probably during the distillation process.

 

On the other hand, I have a PDF with Japanese texts whose font is "MSゴシック" or "MS明朝" (these means MS-Gothic and MS-Mincho, respectively), and more importantly, they are in 90ms-RKSJ-H encoding. I can copy and paste Japanese texts from the "Adobe PDF" printed output of this PDF. One thing weird is, the 90ms-RKSJ-H encoding is now changed in Identity-H in the output PDF. To see if the encoding is causing the issue, I printed this output PDF into "Adobe PDF" once again, but only got an error log from Distiller.

 

I checked a few articles including http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/5411.ToUnicode.pdf  and http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/distfont.pdf but still not sure what the problem is. Do I have to configure or create ToUnicode mapping files? Or is this something cannot be done by the nature of Identity-H encoding? Thank you.

 

- eellor


VBA: use SetPreferenceEx to change Convert From PDF settings?

$
0
0

Hi! Is it possible to use SetPreferenceEx to change Convert From PDF settings?

 

I am using Acrobat XI Pro from VBA to convert a large number of PDFs to Word documents. In order to do this I need to programmatically change "Convert From PDF" settings, in particular disable the OCR.

 

Is SetPreferenceEx the right function for that? Where can I find a list of all preferences that can be set by SetPreferenceEx?

 

Thanks for any help.

PDF file should print from a specific paper tray

$
0
0

Our process flow invovles the following step:

 

Step 1 - Customer uploads PDF document (At max they will be uploading only 3 varieties of PDF documents) and these will be stored in our server

 

Step 2 - Each of these 3 types of PDFs needs to be mapped to a specific printer tray (because each printer tray will be loaded with different paper types)

 

We need a solution that would automate the paper tray assignment  - no manual intervention should be there to select the paper tray

 

Please provide that solution !!

Saving a file as PDF by code

$
0
0

I am trying to convert 3d files to a PDF3D by code.

Untill now, I haven't find any way to make it happen without needing to use Adobe Acrobat Reader, and saving it manually as a PDF.

 

Yet, I've managed to open a 3d file with Adobe Acrobat Reader using my program.

However, it only opens it, and doesn't convert it nor save it as a PDF file.

 

Is there any command that I can write, which saves a file as PDF (After I've opened it as a PDF)?

adobe reader

$
0
0

how do I install Adobe reader on an offline computer?

How to combine pdfs in an automated way

$
0
0

Hi All,

We need to implement a routine to combine several pdfs into a single one in an automated way without user intervention. Is that possible with Adobe Acrobat X?

Is there a server version for it we can use for this task?

 

Many thanks in advance.

 

Harvey

Viewing all 2571 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>