How to Use Acrobat SDK for Automation Using VB or Perl

Hi Forum,
I am a new bie, just 2 days old to acrobat and javascript, and I am basically a perl developer
I am using Adobe Acrobat 9 Pro,
I downloaded Acrobat SDK, but i don't know what else to do further, how to use??
I tried to start learning SDK, but no proper documents i found to learn and start using SDK,
Please suggest some guide or documentation for start learning Acrobat SDK (Step by Step guide)
Here with I have created a small script to merge two pdf
// Create a new PDF document:
var newDoc = app.newDoc();
// Insert doc1.pdf:
newDoc.insertPages({
nPage : -1,
cPath : "/d/sathish/1.pdf",
// Insert doc2.pdf:
newDoc.insertPages({
nPage : newDoc.numPages-1,
cPath : "/d/sathish/2.pdf",
// Save the new document:
newDoc.saveAs("/d/sathish/myNewDoc.pdf");
My code is working fine and merging properly,
Is there any way to execute this script through commandline or using some other scripting languages like perl or through VB
My objective is to automate the merging process without any manual intervention, I don't want to open acrobat manually to execute this javacript, i want to automate that process too,
Please suggest me which will be very helpful to me,
Thanks in advance
Thanks & Regards
Sathish V.

It is a big SDK and to learn its features requires a lot of reading. But to start with I guess I should start with "Introduction to SDK".
Since you want to control Acrobat from another application you should consider this under "Interapplication communication". You will be using OLE/COM.

Similar Messages

  • Using Acrobat SDK for Unix development environment

    Hi,
    Can it be possible for me to use Acrobat SDK for Unix development environment as a server application??If yes, what are the things that should be installed on the client side to make sure that the client should be able see the produced PDF files?? Kindly help me in this regard..
    Deepak

    lAnubisl wrote:
    My customer's solution has several issues generating PDF files and we are looking at the Acrobat SDK as at the instance of the final truth.
    I use Interop.Acrobat.dll as a .NET project reference to open and resave PDF documents. I'd like to do all things I mentioned above.
    After years and years, I have concluded that if you do serious PDF development, you need a set of libraries. For instance, if you are doing typesetting type of work ("vertical center", "horizontal center", "margin", etc., etc) , there is an excellent library from a guy in Germany (land of Johannes Gutenberg and printing presses)...
    ... which turned out to be useless in my next project which dealt with AcroForms.
    I know exactly what you mean by "the final truth", sometimes I wish Adobe had some sort of official validating tool (like XML does).
    Per your comments, I would recommend you to consider this library. It is available in all languages and its output is the same quality as Adobe's or at least in the same league:
           http://www.pdftron.com/pdfnet/index.html
    If you want to comment further, we must go to a different forum, since we are not supposed to discuss any non-Adobe products here.

  • How to enable forms extenstion for adobe reader using Acrobat SDK?

    Adobe acrobat GUI tool  enables PDF forms designers to extend the use of Adobe Reader and allow the end user to save the PDF form locally using the Reader.
    Is it possible to do the same kind of fuctionality at run time on the server using Acrobat SDK?.
    We are creating several PDF Form on the server, is there any way we can use Acrobat SDK to enable form's extenstions programatically on the server after the PDF is created.
    If Yes How? any code example?

    Not using the Acrobat SDK, no.
    However, Adobe sells the LiveCycle Reader Extensions Server that can be
    used on a server for exactly this purpose.

  • How to convert html to pdf using acrobat sdk 8.0?

    hi
    I am a beginner of acrobat sdk .
    I want to know How to use acrobat sdk 8.0 to convert html to pdf?
    herere some questions :
    1:How to support navigation inside PDF file that generated using acrobat sdk 8.0? For example: theres catalog in the top of HTML file, customer hopes can navigate inside the PDF file just like navigating inside the HTML file.
    2:How to support operating some controls in the PDF file that generated using acrobat sdk 8.0? For example: therere some drop down list and text box in HTML file, customer hopes can input text in the text box, click the drop down list to see available options in it just like in HTML file.
    Thanks in advance for any help and suggestion.

    Hello,
    I want a system to re-brand my 37 pages PDF for affiliates.
    I want a php dynamic link in the PDF online in order to personalize automatically the PDF for each affiliate. I need to change 2 links each time. The affiliate ID and the Paypal email (payment button) in page 36.
    Can you help?
    Please let me know
    Thank you
    Alex
    PS My system is online and i can give you the url if it helps.

  • How to use Acrobat sdk features in java application?

    Hi
    In my project i have an requirement to make static pdf in to dynamic form  , So how can i make static PDF to dynamic one as my project platform is purely  in java . How can i make use Acrobat SDK  InterAppCommunicationSupport/ samples in my java code ?
    Thanks & Regards,
    Prashant P M.

    Hi Leonard,
    Thanks for your kind reply , I am attaching  a sample SchollForm static PDF with this post, where it consist of student details like Name ,lastName ,section etc.
    I like to convert this static PDF in to dynamic PDF means above field should be fillable ,So Using Acrobat SDK is it possible to achieve this above stuff.
    If yes then Please can you give a brief idea how to do this one using Acrobat SDK with java? .
    Thanks in Advance.
    Prashant P M.

  • How to create a blank PDF using acrobat SDK in perl or c#

    please help me with creating blank pdf using acrobat SDK in c# or in perl

    Hi, can you please let me know which version of Adobe you used in this tutorial?
    I have the Adobe Reader XI - is there a similar tutorial for this version?
    Thank you.

  • Can I use Adobe acrobat SDK for commercial products of our company.

    Hi Adobe guys,
    One of our new project need to  print a pdf file (Application form) from local computer. So I'm looking for some API to print PDF files and I heard about acrobat SDK provide by Adobe. So my question is can I use this SDK for our companey commercial product development?

    Sure.
    Of course, the user will need to have either Acrobat or Reader installed – depending on which APIs you choose to use.

  • How to OCR  using Acrobat SDK

    Hi All,
    I am C# DotNet developer new to Acrobat Pro X SDK.
    I need to know how to achieve OCR extraction using Acrobat SDK?
    Please provide any link or samples to start with.
    I searched the web and not able to find any specific samples or documentation on how to use the SDK.
    Thanks in Advance
    SRR

    Read this:
    http://forums.adobe.com/thread/676594?tstart=0

  • Getting Error:Digitally Signing documents using Acrobat SDK

    I am using following API's to digitally sign a document using Acrobat SDK but getting error(return code -2) while making a call to folllowing API DigSigCommitSigRefDict(ASAtomFromString("DocMDP"), tempDict, &pOutRefDict);
    What am i missing?
    Here's my code.
        CosObj sigDict = CosNewDict(cosDoc, true, 1L);                         //Signature Dictionary Cos Object
        CosObj  sigRefDict= CosNewDict(cosDoc, true, 1L);                    //Signature Reference Dictionary Cos Object
        CosDictPut(sigRefDict, ASAtomFromString("TransformMethod"), CosNewName(cosDoc, false, ASAtomFromString("DocMDP")));
        CosDictPut(sigRefDict, ASAtomFromString("Type"), CosNewName(cosDoc, false, ASAtomFromString("SigRef")));
        refArrayObj = CosNewArray(cosDoc, false, 1L);                         //Reference array object inside signature dictionary
        CosArrayInsert(refArrayObj,1, sigRefDict);
        CosDictPut(sigDict, ASAtomFromString("Reference"), refArrayObj);
        CosDictPut(sigDict, ASAtomFromString("Type"), CosNewName(cosDoc, false, ASAtomFromString("Sig")));  
        CosDictPut(sigField, ASAtomFromString("V"), sigDict);               //SigField is an AcroForm object
        DSSigRefDictParamsRec myDSSigRefDictParams;
        myDSSigRefDictParams.size = sizeof(DSSigRefDictParamsRec);
        myDSSigRefDictParams.cosDoc  = PDDocGetCosDoc(pdDoc);
        myDSSigRefDictParams.rootObj   = cRoot;
        myDSSigRefDictParams.sigDict   = sigDict ;
        myDSSigRefDictParams.transformMethod   = ASAtomFromString("DocMDP");
        //myDSSigRefDictParams->transformParams   =
        myDSSigRefDictParams.bIndirect    = true;
        DSSigRefDictErrParams errParams;
        DSRetCode retCode = DigSigNewSigRefDict(&myDSSigRefDictParams,errParams);
        CosObj pOutRefDict;
        retCode = DigSigCommitSigRefDict(ASAtomFromString("DocMDP"),sigDict , &pOutRefDict);
        retCode = DigSigFinishSigRefDict(ASAtomFromString("DocMDP"), sigDict , pOutRefDict,errParams);
    -amit

    Thanks for the tip George. I'm using Acrobat Pro X to create a form. Can you tell me how to make the form reader-enabled so that it can be digitally signed?
    Josh

  • Unable to use RAS SDK for server-side printing for XI 3.1

    Hi all,
    I am using RAS SDK for server-side printing.  Here are my codes:
    ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();
    IEnterpriseSession enterpriseSession = sessionMgr.logon("Administrator", "", "cdi5boe", "secEnterprise");
    IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
    //out.println("Current User is = " + enterpriseSession.getUserInfo().getUserName());
    //out.println ("<br>");
    IInfoObjects infoObjects = iStore.query("SELECT * FROM CI_INFOOBJECTS WHERE SI_Kind='CrystalReport' AND SI_NAME = 'Sales Print'");
    IInfoObject infoObject = (IInfoObject)infoObjects.get(0);    
    IReportAppFactory reportAppFactory = (IReportAppFactory) enterpriseSession.getService("RASReportFactory");
    ReportClientDocument rcd = new ReportClientDocument();
    rcd = reportAppFactory.openDocument(infoObject,0, java.util.Locale.US);
    //Create print options to use when printing.
    PrintReportOptions printOptions = new PrintReportOptions();
    printOptions.setPrinterName("
    cdi5boe
    HPLaserJ");
    printOptions.setJobTitle("Test Printer Job");
    printOptions.setPrinterDuplex(PrinterDuplex.horizontal);
    printOptions.setPaperSource(PaperSource.auto);
    printOptions.setPaperSize(PaperSize.paperLetter);
    printOptions.setNumberOfCopies(1);
    printOptions.setCollated(false);
    PrintReportOptions.PageRange printPageRange = new PrintReportOptions.PageRange(1,1);
    printOptions.addPrinterPageRange(printPageRange);
    //Print report.
    rcd.getPrintOutputController().printReport(printOptions);
    When I run the report, I got the following errors:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKPrinterException: com.businessobjects.crystalreports.printer.bean.ReportPrinter---- Error code:-2147215357 Error code name:internal
    I consult the Diamond Technical Community and I found the issue related to printer name:
    https://boc.sdn.sap.com/node/498
    However, I did check the printer name, it is accessible via Windows Explorer.
    Anyone knows how to resolve this?
    Regards,
    Derek

    It doesn't appear to be listed as a dependency in the developer docs, but would you try putting the ReportPrinter.jar in your RAS app?
    Sincerely,
    Ted Ueda

  • Rendering the PDF page to Bitmap object using Acrobat SDK DrawEx() or CopyToClipboard()

    I am trying to find whether each page in PDF document is color or monochrome.
    For doing this I am rendering the PDF page to Bitmap object using Acrobat SDK DrawEx() or CopyToClipboard()
    Once after rendering the PDF page, I am using GetPixel() to read each pixel value to decide about color or Monochrome.
    Problem:
    When I read the pixel to decide about the page color or monochorme, in some XP machines it is showing the PDF page as color and in some PC it is showing it as Monochrome.  Color quality in both the system is kept as 32 Bit.
    After this I tried copying the PDF page directly into clipboard and then take the clipboard image to decide about color and monochorme, but even this also behaves in the similar way.
    Question:
    Why rendering the PDF page to Bitmap object using DrawEx() or CopyToClipboard() is behaving differently in each machines.
    If required I will send my sample project.
    With regards,
    Rajeshrv.

    In SDK documentation, there is no methods are defined for getting the color of the page.  In color spaces and color values, we can set the color for drawing operations. A method AVPageViewSetColor is used for setting the color. 
    But there is no methods defined for getting the color in the page.  Please let me know , is there any alternative way.
    Thanks in advance.

  • Creating DLL using Acrobat SDK

    Hi,
    I want to create one DLL using Acrobat SDK and VS 2010 Win32. If i use this dll in our program it should show functions for opening pddoc, total number of annots, Can I do this using Acrobat SDK. I know we can create plug-in extension with .API.
    Please let me know can i do this using Acrobat SDK.
    Thanks,
    Kruthi

    Please use the forum for Acrobat SDK.

  • Problem on setting pagelabel using acrobat sdk

    hi all,
    On setting pagelabel into the pdf file using acrobat sdk 9, we have an issue while opening the pdf file in notepad we got the value of pagelabel as <</P(CoverNUL)>> for your reference i have attached the screenshot and my code is below
    ASInt32 textSt;
    ASText prefix =  ASTextFromScriptText("Cover",NULL);
    PDPageLabel textLabel;
    textLabel = PDPageLabelNewASText (pdDoc,ASAtomFromString("None"), prefix,NULL);
    if(PDPageLabelIsValid(textLabel)==true)
    PDDocSetPageLabel (pdDoc,0,textLabel);
    PDDocSave (pdDoc, PDSaveFull | PDSaveLinearized, pathName, ASGetDefaultUnicodeFileSys(), NULL, NULL);
    PDDocClose(pdDoc);
    Please, can any one help me on this.
    Regards,
    Jayakrishnan

    Use this it will work..
    ASInt32 iTemp = PDDocGetNumPages (pdDoc);
      PDPageLabel pageLabel;
      pageLabel = PDPageLabelNew (pdDoc,ASAtomFromString(lblList), NULL,NULL, startPoint);
      if(PDPageLabelIsValid(pageLabel)== true)
        PDDocSetPageLabel (pdDoc,0,pageLabel);
        PDDocSave(pdDoc, PDSaveFull, path3, ASGetDefaultFileSys(), NULL, NULL);
        AVDocClose (avDoc, true);
    Be Well

  • Draw line using  Acrobat SDK

    I want to draw line on pdf page. I have x,y coordinate depend upon that i want to draw line on page. please reply
    Thanks in advance

    Thanks Leonard..
    This is my Circle draw code.. but it's not working properly..
    moveto() and CurveTo() are mwthod it is defined like Draw Curve. please give me some suggestion about it..
    ASFixed inCenterX = mediaBox.left;
    ASFixed inCenterY = mediaBox.top;
    ASFixed inRadius = ASInt32ToFixed(2);
    PDEPath mov = MoveTo( inCenterX + inRadius, inCenterY );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)mov);
    PDEPath rect1 = CurveTo( inCenterX + inRadius, inCenterY + inRadius * ARC_MAGIC, inCenterX + inRadius*ARC_MAGIC, inCenterY + inRadius,
    inCenterX, inCenterY + inRadius );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)rect1);
    PDEPath rect2 = CurveTo( inCenterX - inRadius*ARC_MAGIC, inCenterY + inRadius, inCenterX - inRadius, inCenterY + inRadius*ARC_MAGIC,inCenterX - inRadius, inCenterY );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)rect2);
    PDEPath rect3 = CurveTo( inCenterX - inRadius, inCenterY - inRadius*ARC_MAGIC, inCenterX - inRadius*ARC_MAGIC, inCenterY - inRadius,inCenterX, inCenterY - inRadius );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)rect3);
    PDEPath rect4 = CurveTo( inCenterX + inRadius*ARC_MAGIC, inCenterY - inRadius, inCenterX + inRadius, inCenterY - inRadius*ARC_MAGIC,
    inCenterX + inRadius, inCenterY );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)rect4);
    PDEPath close = CloseTo(inCenterX + inRadius, inCenterY );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)close);
    HOw to draw circle using Acrobat SDK?
    Thanks in advance..

  • Remove all the hidden objects in PDF using acrobat SDK

    Hi Friends
                   How to remove all the hidden objects in PDF using acrobat sdk 11

    Sorry if I re open this old thread, but I am interested in the 'Remove Hidden Information' command.
    Which is the AVCommand to run this feature?
    Thanks

Maybe you are looking for

  • Is there a qualitative difference between scaling in AE vs. PP? (CS4)

    I frequently customize 1920x1080 AE templates and export them as movies for use in PP. Until now, I have always resized to 1280x720 using AE's "Stretch" option in the Output Module Settings. My other option is to render it at 1920x1080 and "Scale to

  • PO approver with WBS Element authorisations

    Good afternoon We have as a step in the approval of the Purchase Order, the approver for the WBS Element. We need to restrict this approval based on the WBS Element, which means that we should avoid a user to approve a Purchase Order if that Purchase

  • About BADIs

    Hi, Can anyone tell me what BADIs are and some information about them...

  • Can I have a link to the Hangtime site please

    Just need to be able to access answers as quickly as before this change in forum format. Thanks!

  • Security, htmlentities question

    I've been reading about how htmlentities is supposed to convert special characters into harmless versions when used with inserts and updates, etc. So, I tested an insert form of mine with a script that redirects to an example.com site. (I found the s