Need help - CONVERTING HTML to PDF

A friend of mine has tasked me to research on a Java API that converts HTML files to PDF... Does anyone know about this?
I've been browsing the net for an hour now and i still haven't got a plausible solution to his problem... Can you guys help me with this?!? Any help would be greatly appreciated... Thanks... :)

Done, I'd be glad to send
you the spanish MX properties
version, where can I send it
to you?great, please use email address [email protected], thanks
Strangely, many options that
work fine as standalone, appear
to be disabled now, options
like... in menu Edition: Undo,
Redo; in menu Format: Table, Link;
all the Table menu options.Undo and redo are active if there is something to undo or redo only. As well many table actions are only active when the caret is inside a table. See also the source code: class FrmMain contains almost all actions as inner classes (a design I changed in later applications). Each action class has a method 'update' which takes care of enabling or displaing an action depending on certain conditions.
HTH
Ulrich

Similar Messages

  • Need Help Converting large size PDF

    My PDF document is 153 MB. I want to convert it to MS Word document.
    The system limits me to only 100 MB. What should I do?

    Please try Acrobat XI Pro. http://www.adobe.com/downloads.html?promoid=JZEFS.
    Thanks,
    Wenlan

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

  • Need help converting a PDF to excel

    Need help converting a PDF to excel, the icon to convert dissappeared suggestions?

    Open the file in Acrobat, use File --> Save As... --> Microsoft Word.
    Mylenium

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

  • I need help viewing password protected PDF files on my tablet

    I need help veiwing password protected PDF files on my tablet

    Any free apps available especially for this purpose?
    not that i know of. but i think _*Documents To Go*_ will be worth the expenditure.
    JGG
    edited by the Jolly Green Giant (where Green stands for environmentally friendly)

  • I need help.  Can LiveCycle PDF Generator accept network print jobs from a PCL only source?

    I need help.  Can LiveCycle PDF Generator accept network print jobs from a PCL only source?

    More information about this game:
    The game should generate a random obstacle course for the player. The first column of the grid, however, should consist of all empty pieces, with the exception of the upper left-hand corner, which is the grid location where the player initially resides.
    Enter a loop in which the following things happen (not necessarily in this order):
    Print the current board configuration. Additionally, a key should be printed describing what each piece is.
    Get an action from the user. The player can move up, down, left, or right. Use the following controls: up = 'i', down = 'm', left = 'j', right = 'k'. The player can move at most one block at a time. Of course, if the player tries to move into a spot occupied by an immovable block, the player will not move.
    Inform the player whether they have won, or if they have lost (a player loses if they step on a bomb piece).
    If the player types 'q', the game should terminate.
    I am still stuck on this maze generator stuff.... Please help me....

  • I need help opening up the pdf doc that i just saved. i need to open it up with excel?

    I need help opening up the pdf doc that i just saved. i need to open it up with excel?

    Yes, I need help configuring the settings.
       Re: I need help opening up the pdf doc that i just saved. i need to
    open it up with excel?  created by David Kastendick<http://forums.adobe.com/people/dave_m_k>in
    Adobe ExportPDF - View the full discussion<http://forums.adobe.com/message/4711293#4711293

  • Is anybody programmatically converting HTML to PDF? If so, how?

    Is anybody programmatically converting HTML to PDF? If so, how?
    With InDesign, or something else?
    As long as the application (InDesign or something else) has a command-line interface, i'd like to know about it.
    Am using .NET, but we still want to know what you're doing even if you aren't.
    Source data is HTML pages from random sources, so it's not necessarily XHTML unfortunately, though i could tidy it into a consistent form.

    thanks, but what i'm looking for here is programmatic usage -- that is, scripted or command-line -- not having a human user choosing menu options, etc
    so as to your two suggestions ...
    this would appear to be NOT programmatic ...
    > And Acrobat will install a PDF convert toolbar for Internet Explorer to do this right from the browser.
    and this might or might not be possible to program -- i don't know if people are somehow running Acrobat programmatically, would appreciate further information
    > Acrobat has a Create PDF from Web Page function

  • Trouble in fop(convert html 2 pdf) source.

    to convert html 2 pdf file I found the article from javaworld.
    (http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html)
    unfortunately I can't seem to find the two classes below even though import all fop 0.94 library files.
    are there something I'm missing?
    Thanks.
    import org.apache.fop.apps.Driver;
    import org.apache.fop.tools.DocumentInputSource;

    Much thanks for your timely reply.  The scanner software requires that one must scan to an application.  The configuration has to point to an executable.  In program files I must select an executable,  in this case acrobat.exe.   Have been using this for years and never have seen a problem.  Continues guidance sought.

  • Need help converting from 4.0 to 2011

    hello,
    Need help converting files from 4.0 to 2011.
    thank you
    Solved!
    Go to Solution.
    Attachments:
    noise source.vi ‏73 KB
    8673D.vi ‏30 KB
    8970 FREQ.vi ‏26 KB

    attached as 8.2, which you can open
    missing some subVIs - not sure if you already have them
    Attachments:
    8673D.vi ‏13 KB
    8970 FREQ.vi ‏11 KB
    noise source.vi ‏24 KB

  • I need help converting a PDF to a word file. I purchased Acrobat for this purpose?

    I need help using this download. I purchased Acrobat because I need to convert a PDF file to a word file. Can you give me instruction on how to do this.
    Thank you,

    Open the file in Acrobat, use File --> Save As... --> Microsoft Word.
    Mylenium

  • Help converting html/xhtml to pdf with bfo pdf lib or other tools?

    Hi,
    I need to convert from xhtml to pdf. I tried parsing it with xerces and crimson but wouldnt work. So the samples coming with big faceless pdf library dosent work. Is there any other method to convert html/xhtml to pdf - any libraries for direct conversion. BFO pdf report generator takes xml as i/p to convert to pdf.
    Thanks for any help

    Look here:
    http://www.adobe.com/sea/products/server/pdfgenerator/

  • Convert HTML to PDF or AFP

    As part of the project we have to convert html documents to PDF or AFP. We tried with different tools like HTMLDOC and we are not able to get the perfect matching tool. Any help on finding the best tool for conversion of HTML to PDF or AFP will be appreciated.
    My basic requirement is
    1) The conversion process needs to be automated
    2) the tool has to run on Linux.
    3) Everything in the page (text, image etc) should be extracted in a single file
    Background
    A batch job which runs on Q&R cache servers to run every evening. The job has a list of 1500 symbols which iterates through and does an http get of the Stock Summary page for each ticker in the list. The next step is to launch HTMLDOC or another tool to convert to PDF, APF, or other format.
    Regards,
    Jags.

    I'm not sure it'll help you, but take a look at
    http://xml.apache.org/fop/index.html
    maybe you can go this way
    XHTML->XML->FOP->PDF
    ???

  • Automate converting HTML to PDF

    Hi,
    I'm using my iPad to write documents using Byword that I export using HTML (export to PDF doesn't take account of HTML headers and rendering MathJax).
    Lets say that the text file therefore is called MathJax.txt and is in the location such that it's file path is Dropbox/Byword/MathJax.txt
    This HTML file is saved straight onto my Dropbox in the current location. (i.e. Dropbox/Byword/MathJax.html )
    If anyone can help, I'm looking for a way to convert the HTML to PDF with the MathJax rendered, either with cli, applescript or automator - just some way I can activate it with Hazel.
    I've seen wkhtmltopdf which looks like it would do the bit I'm missing, but I'm not very knowledgeable and have no idea how to use it.
    Any advice would be much appreciated!
    Freddie

    There is an app version in Google code…
    https://code.google.com/p/wkhtmltopdf/
    I downloaded it & opened it & it appeared to do nothing! However I also did right click > (or ctrl+click) Show Package contents… and navigated to Contents/MacOS/wkhtmltopdf. That is a compiled binary that will run in Terminal.
    To use the binary drop it into Terminal, and then drop your PDF into there (to enter the path) and then enter a file destination & name (ensuring a space after the PDF path).
    My command looked like…
    /Volumes/wkhtmltopdf/wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf /Users/dru/Desktop/pdfroff\(1\)\ Mac\ OS\ X\ Manual\ Page.html /Users/dru/Desktop/test2.pdf
    The backslashes escape the spaces & other special characters, Terminal will deal with all that if you drag & drop to create the path. The hardest part is setting the destination - it's simplest to use an existing file & delete the end part & add a new name.
    Hit return & you get a PDF, I don't know if this covers MathJax formatting, I have never heard of that sorry.
    One good thing about this is that you can automate it with Automator, Hazel or a shell script etc.
    I expect you'll need further help so ask away.
    Frankly it is a little bit kludgy, you should really download the source & compile it, but that is rather involved.
    There are a few html to PDF apps, but they appear to be $20 up to several hundred & it isn't clear if they can automate the process.
    P.S. I tested this on my 10.6 system that has lots of tools installed, so I may have items that you don't, note any errors & I'll try to help, otherwise wait for a better idea.

Maybe you are looking for

  • Sales order quantity & delivery Qty

    Hi In delivery we can increase the materia qty other then sales order qty. For e.g  in sales order qty is 100 pc for material Z but in delivery we can increase the qty 150 pc. Where to make the settings so that sales order qty will be  equal to or le

  • Wireless printing from HP Photosmart 6520

    I'm trying to set up my new HP Photosmart 6520 printer to print wireless.  I have the Wireless Direct turned on. The trouble happens when I go to the wireless radio and click on the name of the printer. I get an exclamation point in the middle of the

  • Help Please! Trying to do a clean install of Snow Leopard on a new drive

    I'm trying to help a family member with his Mac Mini. He installed a new HD and we're trying to do a clean install of Snow Leopard from the DVD. I've tried booting to the DVD by holding the C key during boot up and that does nothing. I've tried mount

  • Monitoring Output Post Processor(OPP) log?

    Hi All, We have had some issues where the Output Post Processor manager went down and ultimately prevented all XML printing. I would like to know of any experiences monitoring this manager by using a script to watch the following logs: $APPLCSF/$APPL

  • Is Adobe Censoring Negative Reviews of its Features?

    What's interesting is that it was "rejected" 2 1/2 months after being posted. If the "moderator" has an ounce of courage, kindly contact me off-forum and I'd be happy to give you the names of a dozen highly respected experts who feel the same way I d