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.

Similar Messages

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

  • Problem with converting html to pdf using LiveCycle ES Java API

    I am using this code to convert html to pdf.
    * 1. adobe-generatepdf-client.jar
    * 2. adobe-livecycle-client.jar
    * 3. adobe-usermanager-client.jar
    * 4. adobe-utilities.jar
    * 5. wlclient.jar
    import java.io.File;
    import java.util.Properties;
    import com.adobe.idp.Document;
    import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
    import com.adobe.idp.dsc.clientsdk.ServiceClientFactoryProperties;
    import com.adobe.livecycle.generatepdf.client.GeneratePdfServiceClient;
    import com.adobe.livecycle.generatepdf.client.HtmlToPdfResult;
    public class ConvertHTML {
       public static void main(String[] args)
            try{
            //Set connection properties required to invoke LiveCycle ES                             
            Properties connectionProps = new Properties();
            connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "t3://localhost:7001");
            connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);       
            connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "WebLogic");
            connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
            connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
            //Create a ServiceClientFactory instance
            ServiceClientFactory factory = ServiceClientFactory.createInstance(connectionProps);
              //Create a GeneratePdfServiceClient object
            GeneratePdfServiceClient pdfGenClient = new GeneratePdfServiceClient(factory);
           //Get an HTML document to convert to a PDF document a
            String inputFileName = "http://www.adobe.com";
            //String inputFileName = "C:\\Documents and Settings\\venkat\\Desktop\\Adobe.htm";
            String securitySettings = "No Security";
            String fileTypeSettings = "Standard";
    System.out.println("one");
            //Convert HTML content to a PDF document
            HtmlToPdfResult result = pdfGenClient.htmlToPDF2(inputFileName, fileTypeSettings, securitySettings, null, null);
    System.out.println("two");         
            //Get the newly created document
            Document createdDocument = result.getCreatedDocument();
            //Save the PDF document as a PDF file
            createdDocument.copyToFile(new File("C:\\test.pdf"));
        catch (Exception e) {
            System.out.println("Error OCCURRED: " + e.getMessage());
            e.printStackTrace();
    I can able to compile this class but while running i am getting error like below.
    Error OCCURRED: Internal error.
    ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
            at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java
    :160)
            at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat
    cher.java:57)
            at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
            at com.adobe.livecycle.generatepdf.client.GeneratePdfServiceClient.htmlToPDF2(GeneratePdfSer
    viceClient.java:666)
            at ConvertHTML.main(ConvertHTML.java:84)
    Caused by: java.rmi.RemoteException: Remote EJBObject lookup failed for 'ejb/Invocation'; nested exc
    eption is:
            org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 203  completed: No
            at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher.
    java:101)
            at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java
    :130)
            ... 4 more
    Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 203  completed: No
            at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(Unknown Source)
            at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(Unknown Source)
            at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.writeLock(Unknown Source)
            at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendFragment(Unknown Source)
            at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendMessage(Unknown Source)
            at com.sun.corba.se.impl.encoding.CDROutputObject.finishSendingMessage(Unknown Source)
            at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(Unknown Sour
    ce)
            at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(Unkno
    wn Source)
            at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknow
    n Source)
            at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
            at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(Unknown Source)
            at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
            at weblogic.corba.j2ee.naming.Utils.narrowContext(Utils.java:126)
            at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFact
    oryImpl.java:94)
            at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFact
    oryImpl.java:31)
            at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
            at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
            at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
            at javax.naming.InitialContext.init(Unknown Source)
            at javax.naming.InitialContext.<init>(Unknown Source)
            at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initJndiContext(EjbMessageDispat
    cher.java:213)
            at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.getJndiContext(EjbMessageDispatc
    her.java:226)
            at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher.
    java:87)
            ... 5 more
    can u plz give me some way to do the convertion.

    Yes Sir.....Thanks for ur suggestion.....
    But i didn't find exact solution..well..yes i found some but not exactly there were not in the way i required...I jus need to convert HTML to PDF using iText API for java.....I already used some classes in that like HTMLParser.....etc..
    So Any thing else...Any one...Sure can help me in this................

  • Cannot convert webpages to pdf using Acrobat X Pro with IE9 and Windows 7, worked fine until a few m

    Cannot convert webpages to pdf using Acrobat X Pro with IE9 and Windows 7, worked fine until a few months and updates ago

    I tried your suggestion, not knowing that the direct pdf printer would also "save as" PDF, but when I try your suggestion and use the Adobe PDF printer that is a direct creation of the PDF from the browser (IE9), instead of the "black out" areas I get when I use the "Convert to" button, I get missing blocks of the resulting PDF, and only get the first 1/4 to 1/3 of the webpage.
    Just to clarify, when I said I print the webpage and then scan, that is a work around I have to do if I need a scanned version of the way a webpage appears on a particular date and time, instead of the one step process I used to be able to do when Adobe Acrobat would actually convert the webpage to a pdf without blackout areas or, if I try your suggestion, blank spots with a partial webpage. But the idea was one I had not thought of and I appreciated the thought.
    Yes, Acrobat was updated, and is updated, and was working fine until a few months ago, Win 7 and Office 32 bit versions, Office 2010

  • 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

  • Can't convert files to pdf using Acrobat 8 Standard or 9 Pro

    I am having a major problem. I have tried converting both Word 2003 and Excel 2003 documents to pdf using Acrobat 8 Standard (I can't recall which version because I uninstalled and installed a trial version of Acrobat 9 Pro) and Acrobat 9 Pro. I have tried to convert directly from the open document and through Acrobat using create from file. In every instance the process starts and then stops after a few moments. When I try the conversion from within Acrobat, I get the following error message: " Pdf conversion failed, please correct the error and retry." When I try the conversion directly from Word or Excel, the conversion starts, stiops suddenly and gives no error message.  I have had Acrobat 8 Standard installed for a couple of years. It worked fine on this computer until the problem started a week ago or so. There have been no software or hardware changes that woudl trigger suspicion.
    I've tried uninstalling and reinstalling the 8 Standard version. I have uninstalled the 8 Standard version and installed the 9 Pro trial version. I have run the repair module on both versions. I'm sure it is something simple but I just can't figure out what the "error" is that I need to "correct". Any suggestions?
    As an aside, I have several Adobe programs (Photoshop CS5, Contribute 3 and Acrobat), all of them expensive. Their business model of offering no unpaid support (even for this type of problem) is one reason I hate Adobe more than Microsoft... but I rant.

    When you uninstalled, you should have used the MS Installer Cleanup utility. It cleans up a lot of the junk left over in the registry. You should have also deleted the Acrobat folder. Then you would reinstall. You did not indicate your OS and it may be that you need to update the AA8 to get it to work correctly. Also, the installs and uninstalls can mess up your registration process if you are not careful. If you uninstall the AA9 trial, you will not be able to reinstall it for use. At this point, I can only suggest you do a repair of your installation and be sure you have all of the updates.

  • How do I create  a PDF using Acrobat 7.0 in Windows 8 from a Visio drawing on a 64-bit system

    I used to be able to create a PDF using Acrobat 7.0 from a Visio drawing in XP. Now I'm running a 64-bit system, no Adobe printer can be installed, and it is unsupported.  Help?

    On a 32-bit system, there is a workaround. I do not think it is possible to get AA7 to work on a 64-bit system (no one has reported success and only 1 has suggested success with AA8). You may be able to print to a PS file and then open that in Distiller. I suspect that is the only way and you will have to find a decent PS printer driver to do it. I suspect the printer driver (and associated AcroTray) will not work in a 64-bit Win8 -- Acrobat and Distiller may.

  • Creating PDF using Acrobat SDK

    Hello All,
                    I am developing application in VC++ which has requirement to create PDF file programatically and then write that file .
                    I just wanted to know can I use Acrobat SDK to create and Edit PDF file?
                    Please help me as I am new to this.
    Waiting 4 soon reply.......................
    Thanks

    Dear Arthi,
    This is the C++ code which will help u to create the pdf using the VC++ plugin, Hope this helps you,
    PDDoc TargetPDF = PDDocCreate();
    ASFixedRect mediaBox = { fixedZero, ASInt32ToFixed(792), ASInt32ToFixed(612), fixedZero };
    PDPage emptyPage = PDDocCreatePage (TargetPDF, PDBeforeFirstPage, mediaBox);
    PDPageRelease (emptyPage);
    PDDocSave (TargetPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized,
        pdfPathName, ASGetDefaultUnicodeFileSys(), NULL, NULL);
    PDDocClose (TargetPDF);
    ASFileSysReleasePath(fileSys, pdfPathName);
    Regard's
    Amith Sai

  • Can't convert .doc to .pdf using Acrobat 9.4.3.

    Guys,
    Last night for some reason Acrobat 9 suddenly stopped converting any MS Word .docs to .pdfs.  It gives me the following message:
    Acrobat could not open 'XYZ.doc' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    To create an Adobe PDF document, go to the source application. Then print the document to Adobe PDF or use the Acrobat toolbar found in Microsoft Office applications.
    I swear it was working earlier. So I checked for an update and it gave me 9.4.3 so I updated and it didn't fix the problem.  I also tried several different files and got the same message.
    I'm using OS 10.6.7 Acrobat 9.4.3 and MS Word 11.3.5 (2004).
    Thanks,
    Solan

    What version of Word do you Have?
    Word 2004 if you had Acrobat as well the PDFmaker menu bar was installed by Acrobat you could convert a .doc Document to PDF.  It required the use of VBA and and a Macro which created the PDFMaker menu.  I was Secretary and Treasurer of an association for 30 years and I converted many a 2004 Word Document to PDF using PDFMaker.
    You still had the same problems with word converted to PDF as today. If there are any section Breaks or Page breaks the pdfs were broken up into pieces you have to put back together.
    I still have some .Doc files from early 2006 and with Office 2011, I opened one, and just saved it as a Pdf no trouble. I didn't convert it and didn't save it as a Docx.
    I simply went to Save as and chose  PDF.
    And I also went to Print menu> PDF> adobe quality PDF.  and was able to make a PDF.
    Also I just went to print menu > PDF and just chose PDF which makes an Apple version of PDF.
    I don't know where anyone got the idea you can't make a PDF from a Doc File.  Maybe in a future version That doesn't read doc. but for now

  • Get wrong bookmark levels when converting Word to PDF using Acrobat 7.0

    I am using MS Word 2003, Windows XP and Adobe Acrobat 7.0.
    When converting a DOC to PDF, all features are perfect except the bookmarks are located at the wrong level, i.e., the first chapter "Introduction" is the first level, which is desired; but the second chapter and the later will be placed as the subitems of the first one. This is a severe problem for me for I need a very accurate convertion.
    P.S.  I set the convertion level of bookmarks correctly before the convertion.
    So I wonder if there is any solution relating to the settings of Word or Acrobat.
    I am using Acrobat 7 because the later versions(8.0 etc.) has the running header problem. If 7.0 is also problematic. I don't know which version can do a perfect conversion.

    Thank you for your answer Lori. I 've checked all the desired options and have done the conversion in Acrobat 8.0 and got right levels(but that one got problematic running headers). So i think this may be the problem of acrobat 7.0. I will try the other updated versions to see if there is any improvement.

  • How to convert HTML to PDF

    - runs on Linux, 2.4.24 Kernel.
    - We would like to be able convert the HTML report into a PDF file.
    - Ideally we would like to use open source code for the PDF generation
    We would like to be able to include both Text and Bitmaps in the PDF output
    Thanks!
    Message was edited by:
    dragontail77

    HTML to PDF with Java, using OpenOffice.org - example here: [http://www.dancrintea.ro/html-to-pdf/|http://www.dancrintea.ro/html-to-pdf/]
    You can use OpenOffice.org, running as a server and command it remotely for document convertion.
    Besides HTML to PDF, there are also possible other convertions:
    doc --> pdf, html, txt, rtf
    xls --> pdf, html, csv
    ppt --> pdf, swf
    Code example:
    import officetools.OfficeFile; // this is my tools package
    FileInputStream fis = new FileInputStream(new File("c:/test.html"));
    FileOutputStream fos = new FileOutputStream(new File("c:/test.pdf"));
    // suppose OpenOffice.org runs on localhost, port 8100
    OfficeFile f = new OfficeFile(fis,"localhost","8100", true);
    f.convert(fos,"pdf");
    -----------------------------------------------------------------------------------------------------------------------------------------

  • How to break password from PDF using acrobat library?

    I am using "Acrobat.CAcroPDDoc" object and on open method call it is returning false for a password protected file. How can I check the pdf file is password protected by passing the pathname as an argunment? and once identified as a password protected PDF, How can I remove the password using the Acrobat Class?

    If it fails to open, then it’s probably password protected.
    There are no APIs to remove the password, assuming you have it.
    Removing it w/o the actual password would be illegal.

  • How do I edit in PDF using Acrobat X?

    I am using Acrobat X.  There are lines from the scanner on my pdf document.  I tried highlighting but the highlighted area does not delete when I push the delete button.  I tried edit thinking I could select Cut but only Copy is active.  I am somewhat new to Adobe Acrobat.  Can anyone help?

    I do not have Photoshop.  I am using an old copier at work which batch scans documents into either Tiff or PDA files. 
    The copier sometimes leaves black lines or black dots on the document and I am trying to remove them.
    I highlighted a line but Delete does not work.  Tried Edit intending to use Cut but only Copy is active.  Am I doing something wrong or is this something the software cannot do?  Thank you for your help.

  • How do I redact a PDf using Acrobat XI?

    I just upgraded from Acrobat 9 to Acrobat XI and it doesn't seem to have the redaction functions that Acrobat 9 had.  Can anyone tell me where to find them.  Thanks.

    In Acrobat XI Pro, it's in Tools > Protection. But it's not in Acrobat XI Standard.

  • Word 2003 crashes when converting to a PDF in Acrobat 9.3.1

    OS                    :   Windows XP Pro SP3
    Acrobat Version:   Acrobat Pro 9.3.1. 
    M.S. Product     :  Word 2003
    Not every file will crash Word 2003 when converting to a PDF using Acrobat Pro 9.3.1 but this particular file and some others will produce the following error:
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[ Error: syntaxerror; OffendingCommand: )  '$ $ $ &$   ]%%
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    The co-worker was receiving the same error in Adobe Acrobat Pro 9.0 before we updated her to AAP 9.1.3.
    I have read some other threads similar to mine but none of them answer the question well enough to try anything listed there.  My co-worker can email me the Word file and I can print the file to my Adobe PDF printer just fine.  I have Acrobat Pro 7.0.
    Can anyone give me help on the cause and or solution to this problem????

    Hi,
    - syntaxerror indicates the file contains unintelligible PostScript code.
    Any discussion of postscript errors, seem to consistently point to:
    http://kb2.adobe.com/cps/328/328515.html
    A troubleshooting guide is down in the bottom third of the page.
    Be well...

Maybe you are looking for

  • I m having trouble viewing Netflix because it's saying my hdmi doesn't support hdcp

    I'm having trouble viewing Netflix it keeps posting that this content requires HDCP for playback.

  • Essbase_gettingStarted

    I was trying the getting started pdf that links essbase and ODI. I was trying it manually ie. i m not importing models,projects, etc. I am trying to create them on my own. I am using the default context(Global). 1)When i try to reverse the essbase me

  • Itunes shows only 4gb free for my 8gb touch

    My 4th generation ipod touch 8 gb shows only 4gb as total size in itunes. I had recently restored the os to 4.3.3, I also uninstalled all apple products as mentioned in the complete uninstallation guide but the issue still persists. I suspect its the

  • [SOLVED] Android Development Problem with Eclipse

    Hello, Although in the past I had managed to play around with Android in Eclipse, after my clean install of Arch Linux I... cannot. To be more specific I have installed everything ArchWiki suggests (as I have done in the past) but when I open Eclipse

  • How to include a forward slash(/) in my regular expression

    Hai All, I am having a regular expression which should accept only A-Z, 0-9, (underscore) and .(period) . <property name="patterns" value="[A-Z0-9\\._]*" /> Now i need to add /(Forward slash) to this expression. <property name="patterns" value="[A-Z0