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

How can I get supported or find a manual for 3D SDK toolkit?

$
0
0

My company wants to use PDF as the viewer formats of 3D and 2D, like 3D / 2D PDF into our application.

 

So, I was trying to get SDK toolkit for them, but it seems it's not that easy to find it out.

 

Is there anyone using sdk for 3d or 2d? Or knowing download or manual links?

 

Any comment will be very helpful!! Thanks!!


Anyway to get the position and the name of a field in the form?

$
0
0

If there is some fields like the following, is there anyway (maybe using API or SDK) to get the position of the fields (for example left 47.52 pt, ...) and the name of the field (in this case Text1, Text2 and Text5)? I would like to export these information into a text document or XML.

 

Adobe Pro DC comparison commandline

$
0
0

Hi

 

It was interesting to see Adobe Pro DC providing complex feature of comparing 2 pdf documents. I would be more interested in knowing if I can access the same feature using command-line/batch mode, so I can automate the comparison.

 

Thanks.

converting "new.file.name" to ASText results in "new.file"

$
0
0

ASTextSetEncoded(astxt, "new.file.name", (ASHostEncoding)PDGetHostEncoding());

 

astxt becomes "new.file" instead of "new.file.name", i.e. "name" is lost.

 

How do I resolve this?

Generating PDF from Microsoft Word with C#

$
0
0

Hello,

 

We have created web-based system for a customer that stores/handles Microsoft word documents and provides these to users as PDF versions. Unfortunately some problems appear with our third-party component that generates PDF from Word. Our customer has previously used Adobe Acrobat X Pro to manually generate the PDF files and is confident that the output produced this way is valid. Despite searching and reading a lot I can't find any way to determine if (and how) it is possible to automate the process of generating a PDF file from a Microsoft word file using the Adobe engine. There is a lot of SDK documentation, how to control PDF rendering in winforms applications etc. etc. All I want to do is to load an Adobe Acrobat instance, feed it with a word document and save it as a PDF on disk. From a C# app (ASP.NET). Is that possible?

 

Best regards

 

Jan Hansen

CWeb2PDF.NewDocumentWithBase documentation

$
0
0

I'm working with Microsoft Office VBA. In the Acrobat WebCapture 1.0 Type Library (AcrobatWeb2PDF ) there's a function CWeb2PDF with a NewDocumentWithBase method. It takes the arguments pClient, pDocument and basePath. I can't find any documentation on how to use this function. Especially, what are kinds of objects should I be passing as the first two arguments?

1. I've got an Internet Explorer object open that I'm working with -- can that be passed to this function?

2. is the second argument "pDocument" a PDDoc object?

 

Thanks for any help on this. Or pointing me to the documentation for the VBA interface.

How can i insert a cerificate in a pdf automatically with vba, JavaScript etc.?

$
0
0

How can i insert a cerificate in a pdf automatically with vba, JavaScript etc.?

Any ideas on how to run CommonInterfaceAIR.air?

$
0
0

Hi. Currently I am a starter on the Acrobat SDK and going through all the sample codes.

 

When I try to run the CommonInterfaceAIR.air SnippetRunner I get the following error message from Adobe Air.

 

The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author.

 

Any ideas?

 


Is there any API samples on how to create a dialog window/create the side panel in Acrobat?

$
0
0

Hi.

Is there any API samples on how to create a dialog window/create the side panel in Acrobat?

 

I would like to create a dialog window for the user to input their name, age, etc. rather than directly entering in the field. Or it can be a side panel for the user to input the values that they want.

 

Any advice?

 

I appreciate your advice.

Four character prefix for my plug-in.

$
0
0

I am studying the Acrobat DC SDK Documentation, which states that I should register a four character prefix with Adobe for my plug-in.  How is that done?  Whom should I contact?

LNK1104: cannot open file 'libcpmt.lib'

$
0
0

I downloaded the Acrobat SDK samples and opened the 'All' solution.  When I try to build, for example, BatesNumbering, I get a LNK1104 error because it cannot open LIBCPMT.lib.

 

I am using the Visual Studio 2013 (v120) Platform Toolset within Visual Studio 2017.

printing double sided

$
0
0

for some reason the back side prints mirror imaged and upside down which is impossible to read. more looks like Russian! My It guys can not fix it. help!

How install Multimedia.api to Acrobat pro DC?

$
0
0

How install Multimedia.api to Acrobat pro DC? Need to but video acrobat document but plugin not found missing plugin are Multimedia.api where i can get it?

Which calling convention should be used for samples?

$
0
0

The Acrobat SDK documentation mentions that the Pascal calling convention should be used; which I take to mean that the sample project Calling Convention should be set to _sdtcall (/Gz).  However, upon inspecting the Calling Convention properties for the samples, I see __cdecl (/Gd).

Which Acrobat SDK Technology should I use?

$
0
0

I thought that plug-in technology would be the slam-dunk answer to my application needs, but was disappointed when I realized that the x64 third party library that I want to use with my plug-in will not work with Win32.  So how can I get it done?

 

The following is an incomplete list of what I want my application to do:

  1. Give the user a UI/window in which to interact with PDF pages.  This would preferably be Acrobat.
  2. Provide the user with drawing tools with which the user can draw lines, boxes, circles, etc. on pages and have those saved in a layer, with zoom capabilities, for that page.
  3. The user will have access to a "snipping tool", similar to Microsoft's Snipping Tool, used to capture and save images from PDF pages to a library/list of images.
  4. The user will be able to search for text and images on other yet unopened PDF document pages.
  5. The user will be able to use the image library to search for images on pages; including images within images that are on pages.  Here, I assume that the PDF document pages will be converted to binary image format and stored in memory.  The search would be in memory rather than on disk.
  6. Machine learning would be used to search for "similar" text and images within documents.  This is where the above mentioned x64 third party library would come into play.
  7. The user would maintain a list of document filenames which are of interest.
  8. Results of successful searches would record data such as document names, text/image coordinates and other meta data to a database.
  9. The app must utilize multicore processing and GPU acceleration when available.

 

I do not believe that a plug-in alone would give me what I need, especially considering that the third party library is compiled as x64.  IAC looks interesting, but, again, doesn't allow all that I need. 

 

Would some combination of plug-in + IAC + PDF Library be an answer?  Or am I overlooking something that would make this task a lot easier?


Spawn Page from Template with a Custom Name

$
0
0

Using Adobe Acrobat Pro,

 

Ok so most things i've been able to figure out myself, including how to name a page etc. This i can not seem to be able to figure out how to do if it's even possible to do...

I have created 2 pages that are templates, 1 is a calculator, the other is sales... i would like to be able to get it that when the page spawns from a button that it will spawn with the name of the actually page. so when you click on calculator it will spawn a page with the name calculator, and when it's sales it will say sales... There will only be 1 page of each so there will never be multiply pages of the same thing. The document is limited to 3 pages between the buttons that spawn pages.

 

With i also want to be able to have it that when someone pushes down with mouse on a checkmark that the page for example with the name sales will be deleted automatically. i can't do it by page numbers because sometimes there's only 2 pages, sometimes there's 3 and it depends on the spawn order to with one is which so deleting by page numbers isn't helping...

 

Any ideas would be helpful.

 

[Mod: Moved to relevant forum]

How to get / decide value for type_eligible_for_reference variable while reading PRC data from PDF

$
0
0

Hello,

I am writing reader for PRC data to extract the 3D model data from PRC. While doing this I am not getting or decide the value for type_eligible_for_reference variable to decide weather to read the CAD ID and PRC unique ID while reading extra geometry data from PRC.

Please guide me in reading the PRC data from extra geometry file structure section.

Any help in reading the PRC data will be appreciated.

Thanks in Advance.

Adobe Acrobat 5.0 PDFWriter and Windows 10

$
0
0

Hello Adobe Community,

 

I am hoping to get some help with a work problem I recently "inherited"... The company I am working for has rendered my services to help them get their information system application migrated from Windows XP machines to Windows 10 machines. The core components of the program were developed in Visual Basic 6, Crystal Reports 8, and Adobe Acrobat 5. I already know 99% of peoples answers are along the lines of "You need to upgrade" or "Why are you using that?!". For those people, the answer is simply because my immediate need is to use what I was given, and the eventual plan is to migrate everything over to newer versions of these core components.

 

I have made some code adjustments already and found some other updated drivers for other dependencies, and so far through initial testing, it seems the application is performing as expected.

 

Unfortunately, yesterday, I hit a major snag where the application is trying to print to the "Adobe PDFWriter" printer, which doesn't seem to be installed on Windows 10, even though I installed Adobe Acrobat 5.0, as administrator, with the "Include PDFWriter files" option checked during install.

 

  • I can't find the printer in the list of printers.
  • I can't find any specific ports or drivers for Adobe when trying to manually add the printer.
  • The main PDFWriter dll, "pdfddui.dll", and supporting dlls, ("pdfdd.dll", "pdfkd.dll") do not exist under the "Windows\System32\spool\drivers" location, which is where they are found on a working Windows XP machines.
  • The main dlls and supporting dlls mentioned above DO exist under "Windows\System32\spool\drivers\x64"
  • When searching the registry for the main dll or supporting dlls, nothing is found, suggesting the dlls weren't able to successfully register.
  • When trying to manually register the dlls using "\Windows\SysWoW64\regsvr32.exe" it fails.
  • When trying to manually register the dlls using "\Windows\System32\regsvr32.exe" it fails.

 

The code that is executing is doing the following:

  • It dynamically builds a crystal report from a SQL query based on parameters from a form.
  • It uses the crystal reports "SelectPrinter" function to specify the Printer.DriverName, Printer.DeviceName, Printer.Port
  • It uses the crystal reports "PrintOut" function to specify not to prompt the user for any input, i.e. "silent print".

 

The end result, what I need to replicate, and what I need the communities help with is that Crystal Reports:

  • Prints the file as a PDF SILENTLY with NO user action required.
  • Prints the file with a specific filename.
  • Prints the file to a specific location.

 

I have tried using Microsofts built-in Print to PDF, and that works, BUT it prompts the user to save the file, and I see no way to programmatically change that from VB6.

 

I would imagine newer versions of Adobe Acrobat ARE NOT compatible with Visual Basic 6, additionally, the licenses for Adobe Acrobat are kind of pricey when the ONLY functionality I need is the ability to programmatically print to PDF.

 

Any useful comments, suggestions, resolutions will be very much appreciated!

How to modify password and security settings for pdf file in C#?

$
0
0

I'm an intern working on a program that uses the OpenXml SDK to modify some info in a word doc and then convert it to PDF using interop. Unfortunately I am unable to programmatically password-protect the PDF or change any of the security settings with interop. I'm looking for a way to do this that doesn't require me to release my source code or require my employer to pay for a software license. I've heard that I might need to write a plugin in C++ and then use unmanaged exports to call it in C#. Is this true? What are my options?

Getting compilation errors in DC SDK for Java

$
0
0

Hi All,

I am getting below error when compiling DC sdk for java using mvn command:

mvn -X samples/pom.xml exec:java -Dexec.mainClass=com.adobe.dcapi.samples.AddPassword -Dexec.args="/config/default.json /SDK/test-files/foobar.pdf 12345"

Apache Maven 3.3.9

Maven home: /usr/share/maven

Java version: 1.8.0_151, vendor: Oracle Corporation

Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre

Default locale: en_IN, platform encoding: UTF-8

OS name: "linux", version: "4.4.0-112-generic", arch: "amd64", family: "unix"

[DEBUG] Created new class realm maven.api

[DEBUG] Importing foreign packages into class realm maven.api

[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core

[DEBUG]   Imported: javax.enterprise.util.* < plexus.core

[DEBUG]   Imported: javax.inject.* < plexus.core

[DEBUG]   Imported: org.apache.maven.* < plexus.core

[DEBUG]   Imported: org.apache.maven.artifact < plexus.core

[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core

[DEBUG]   Imported: org.apache.maven.cli < plexus.core

[DEBUG]   Imported: org.apache.maven.configuration < plexus.core

[DEBUG]   Imported: org.apache.maven.exception < plexus.core

[DEBUG]   Imported: org.apache.maven.execution < plexus.core

[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core

[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core

[DEBUG]   Imported: org.apache.maven.model < plexus.core

[DEBUG]   Imported: org.apache.maven.monitor < plexus.core

[DEBUG]   Imported: org.apache.maven.plugin < plexus.core

[DEBUG]   Imported: org.apache.maven.profiles < plexus.core

[DEBUG]   Imported: org.apache.maven.project < plexus.core

[DEBUG]   Imported: org.apache.maven.reporting < plexus.core

[DEBUG]   Imported: org.apache.maven.repository < plexus.core

[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core

[DEBUG]   Imported: org.apache.maven.settings < plexus.core

[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core

[DEBUG]   Imported: org.apache.maven.usability < plexus.core

[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core

[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core

[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core

[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core

[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core

[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core

[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core

[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core

[DEBUG]   Imported: org.codehaus.classworlds < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core

[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core

[DEBUG]   Imported: org.eclipse.aether.* < plexus.core

[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core

[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core

[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core

[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core

[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core

[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core

[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core

[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core

[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core

[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core

[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core

[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core

[DEBUG]   Imported: org.eclipse.aether.version < plexus.core

[DEBUG]   Imported: org.slf4j.* < plexus.core

[DEBUG]   Imported: org.slf4j.helpers.* < plexus.core

[DEBUG]   Imported: org.slf4j.spi.* < plexus.core

[DEBUG] Populating class realm maven.api

[INFO] Error stacktraces are turned on.

[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml

[DEBUG] Reading user settings from .m2/settings.xml

[DEBUG] Reading global toolchains from /usr/share/maven/conf/toolchains.xml

[DEBUG] Reading user toolchains from .m2/toolchains.xml

[DEBUG] Using local repository at .m2/repository

[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for .m2/repository

[INFO] Scanning for projects...

[DEBUG] Extension realms for project com.adobe.dcapi:dcapi-java-sdk:pom:0.5.0: (none)

[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[ERROR] Child module /.local/share/Trash/files/SDK.4/java/spring of .local/share/Trash/files/SDK.4/java/pom.xml does not exist @

@

[ERROR] The build could not read 1 project -> [Help 1]

org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:

[ERROR] Child module .local/share/Trash/files/SDK.4/java/spring of .local/share/Trash/files/SDK.4/java/pom.xml does not exist @

 

 

  at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:422)

  at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)

  at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder .java:410)

  at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)

  at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)

  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)

  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)

  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)

  at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:498)

  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

[ERROR]  

[ERROR]   The project com.adobe.dcapi:dcapi-java-sdk:0.5.0 (.local/share/Trash/files/SDK.4/java/pom.xml) has 1 error

[ERROR]     Child module .local/share/Trash/files/SDK.4/java/spring of .local/share/Trash/files/SDK.4/java/pom.xml does not exist

[ERROR]

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 

Please let me know how to resolve this?

 

I want to add password in pdf.

 

 

--

Thanks

Viewing all 2571 articles
Browse latest View live


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