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.

Similar Messages

  • Bitmap image won't show after converting HTML file to pdf

    I have a program which saves a technical report as a HTML file. I don't  have another choice as to file type to save as. This program has a  template which generates the report....and there are fields which are  filled in...some text fields, and one is a company logo. Just to be  clear the logo itself is not in the template, a holding place is there  which points to the location of the logo on my drive. This is all set up  by the program and can't be altered.
    If I save the logo as a jpg, png or tiff file, the logo shows up in the  final HTML report and if I use Adobe Professional (version 7.0 on Win XP)  to create a pdf the  image also shows up - a perfect replica of the report is created in pdf,  making it convenient for printing and email.
    If I save the logo as a bitmap file (which creates a higher resolution  and sharper looking logo) the logo shows up in the initial HTML  technical report, but when I convert this to pdf the file is not found,  instead it shows as a small square red box with the error "Bad file  image" or "unable to download image".
    I can't understand why this would be the case as the logo is saved in  the same location whether it is jpg, png, tiff or bmp. It just seems  that the Adobe Pro doesn't know how to "find" the bitmap logo from the  HTML template. 
    I did try converting the HTML document to Word but it threw the  formatting out and when it was converted to pdf it cropped the page  & I wasn't able to resolve this...maybe it can be done but it is a  long way around in any case, particularly if steps then need to be taken  to correct the formatting.
    At the moment the document can be printed with success from the original  format - then it's a matter of scanning the printed document in order  to email. It can't be emailed directly because of the embedded  information which is lost if then sent to the recipient's computer.  However it would be nice if the doc could be converted to pdf which  would then make it easier to transfer the file to a backup drive or for  email.  Any ideas? Thanks

    Thanks for your response. Yes I did mean .bmp files.
    The problem is not getting it to show in HTML - but Adobe then picking it up from there. I guess though if it is not a standard format for HTML then maybe Adobe has trouble recognising it if it is there. Also, it is possible for Adobe to convert .bmp files if they are inserted in the HTML file, but I have instead a template with the code for the location of the file rather than the graphic itself.  I don't have this problem using the other file formats and getting them into pdf...it's just that the images aren't as sharp as the bmp. I have tried various formats and resolutions so if there isn't a way I can get the bmp from the HTML file into pdf I might just have to live with printing and scanning from the original. Thanks for your input, it confirms what I was thinking. I'll leave this unanswered for now in case someone else has further information.

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

  • Pdf/convert html to pdf butoon option

    Hello I have 2 pages menu page and act_citywide
    Menu page has a menu to select pdf or other 2 option. and a
    button.
    Act_citywide has the query and action.
    I wish to create a button that will have a convert to pdf as
    opposed to these option of radio buttons and button.
    What do I add to this program and where?
    thanks or maybe just add another button that will convert to
    pdf
    Thanks
    Menu Page
    <cfquery name="getCityWideCases" datasource="cts9i">
    SELECT
    --PROP.STR_NBR
    --,PROP.STR_FRAC_NBR
    --,PROP.STR_FRAC_NBR_RNG_END
    --,PROP.STR_DIR_CD
    PROP.STR_NM
    --,PROP.STR_SFX_CD
    --,PROP.STR_SFX_DIR_CD
    --,PROP.STR_UNIT_TYP_CD
    --,PROP.UNIT_NBR
    --,PROP.PROP_ID
    --,PROP.ZIP_CD
    ,CASE.CASE_NBR
    --,CASE.CASE_ID
    --,CASE.CASE_TYP_CD
    ,CASE.CRTN_DT
    --,APLC.PROJ_DESC_TXT
    --,TYP.CASE_TYP_DESC
    FROM
    CTS.TLA_PROP PROP
    ,CTS.TLOC L
    ,CTS.TCASE CASE
    --,CTS.TAPLC APLC
    --,CTS.TREF_CASE_TYP TYP
    WHERE
    PLAN_AREA_NBR = '1'
    AND L.LOC_ID = PROP.PROP_ID
    AND CASE.APLC_ID = L.APLC_ID
    AND PROP.STR_NM != 'TEST'
    --AND CASE.PARNT_CASE_ID IS NULL
    ORDER BY
    <cfswitch expression="#Form.orderBy#">
    <cfcase value="CASENUMBER">
    CASE.CASE_NBR
    </cfcase>
    <cfcase value="CREATIONDATE">
    CASE.CRTN_DT
    </cfcase>
    </cfswitch>
    </cfquery>
    <!---html report--->
    <cfswitch expression="#Form.outputFormat#">
    <cfcase value="HTML,PDF">
    <cfsavecontent variable="htmlData">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Citywide Cases Report</title>
    </head>
    <style type="text/css">
    td{
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    th{
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    font-weight:bold;
    background-color:#FFFF99;
    h2{
    font-family:Arial, Helvetica, sans-serif;
    font-size:14px;
    h3{
    font-family:Arial, Helvetica, sans-serif;
    font-size:15px;
    </style>
    <body>
    <cfoutput>
    <table border="0" cellpadding="3" cellspacing="0">
    <tr>
    <td align="center">
    <h3>Citywide Cases
    Report</h3><br><br></td>
    </tr>
    <tr>
    <td align="center">
    </h2>Your query returned
    #getCityWideCases.RecordCount# records</h2></td>
    </tr>
    <tr>
    <td>
    <table border="2" cellpadding="2" cellspacing="0">
    <tr>
    <th>Record Number</th>
    <th width="120">Case Number</th>
    <TH>Creation Date</TH>
    </tr>
    <cfloop query="getCityWideCases">
    <tr bgcolor="<cfif currentrow mod
    2>GHOSTWHITE<cfelse>WHITE</cfif>">
    <td>#CurrentRow#</td>
    <Td>#CASE_NBR#</td>
    <td>#dateformat(CRTN_DT,"mm/dd/yyyy")#</td>
    </tr>
    </cfloop>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    </cfoutput>
    </cfsavecontent>
    <cfswitch expression="#Form.outputFormat#">
    <cfcase value="HTML">
    <cfoutput>
    #htmldata#
    </cfoutput>
    </cfcase>
    <cfcase value="PDF">
    PDF
    <cfdocument format="pdf">
    <cfoutput>
    #htmldata#
    </cfoutput>
    </cfdocument>
    </cfcase>
    </cfswitch>
    </cfcase>
    <cfcase value="CSV">
    <CFHEADER NAME="Content-Disposition" VALUE="attachment;
    filename=citywide.csv">
    <cfcontent type="application/msexcel">"Case
    Number","Creation Date"
    <cfoutput
    query="getCityWideCases">#ltrim(CASE_NBR)#,"#dateformat(CRTN_DT,"mm/dd/yyyy")#"
    </cfoutput>
    <cfabort>
    </cfcase>
    </cfswitch>
    <cfquery name="getCityWideCases" datasource="cts9i">
    SELECT
    --PROP.STR_NBR
    --,PROP.STR_FRAC_NBR
    --,PROP.STR_FRAC_NBR_RNG_END
    --,PROP.STR_DIR_CD
    PROP.STR_NM
    --,PROP.STR_SFX_CD
    --,PROP.STR_SFX_DIR_CD
    --,PROP.STR_UNIT_TYP_CD
    --,PROP.UNIT_NBR
    --,PROP.PROP_ID
    --,PROP.ZIP_CD
    ,CASE.CASE_NBR
    --,CASE.CASE_ID
    --,CASE.CASE_TYP_CD
    ,CASE.CRTN_DT
    --,APLC.PROJ_DESC_TXT
    --,TYP.CASE_TYP_DESC
    FROM
    CTS.TLA_PROP PROP
    ,CTS.TLOC L
    ,CTS.TCASE CASE
    --,CTS.TAPLC APLC
    --,CTS.TREF_CASE_TYP TYP
    WHERE
    PLAN_AREA_NBR = '1'
    AND L.LOC_ID = PROP.PROP_ID
    AND CASE.APLC_ID = L.APLC_ID
    AND PROP.STR_NM != 'TEST'
    --AND CASE.PARNT_CASE_ID IS NULL
    ORDER BY
    <cfswitch expression="#Form.orderBy#">
    <cfcase value="CASENUMBER">
    CASE.CASE_NBR
    </cfcase>
    <cfcase value="CREATIONDATE">
    CASE.CRTN_DT
    </cfcase>
    </cfswitch>
    </cfquery>
    <!---html report--->
    <cfswitch expression="#Form.outputFormat#">
    <cfcase value="HTML,PDF">
    <cfsavecontent variable="htmlData">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Citywide Cases Report</title>
    </head>
    <style type="text/css">
    td{
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    th{
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    font-weight:bold;
    background-color:#FFFF99;
    h2{
    font-family:Arial, Helvetica, sans-serif;
    font-size:14px;
    h3{
    font-family:Arial, Helvetica, sans-serif;
    font-size:15px;
    </style>
    <body>
    <cfoutput>
    <table border="0" cellpadding="3" cellspacing="0">
    <tr>
    <td align="center">
    <h3>Citywide Cases
    Report</h3><br><br></td>
    </tr>
    <tr>
    <td align="center">
    </h2>Your query returned
    #getCityWideCases.RecordCount# records</h2></td>
    </tr>
    <tr>
    <td>
    <table border="2" cellpadding="2" cellspacing="0">
    <tr>
    <th>Record Number</th>
    <th width="120">Case Number</th>
    <TH>Creation Date</TH>
    </tr>
    <cfloop query="getCityWideCases">
    <tr bgcolor="<cfif currentrow mod
    2>GHOSTWHITE<cfelse>WHITE</cfif>">
    <td>#CurrentRow#</td>
    <Td>#CASE_NBR#</td>
    <td>#dateformat(CRTN_DT,"mm/dd/yyyy")#</td>
    </tr>
    </cfloop>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    </cfoutput>
    </cfsavecontent>
    <cfswitch expression="#Form.outputFormat#">
    <cfcase value="HTML">
    <cfoutput>
    #htmldata#
    </cfoutput>
    </cfcase>
    <cfcase value="PDF">
    PDF
    <cfdocument format="pdf">
    <cfoutput>
    #htmldata#
    </cfoutput>
    </cfdocument>
    </cfcase>
    </cfswitch>
    </cfcase>
    <cfcase value="CSV">
    <CFHEADER NAME="Content-Disposition" VALUE="attachment;
    filename=citywide.csv">
    <cfcontent type="application/msexcel">"Case
    Number","Creation Date"
    <cfoutput
    query="getCityWideCases">#ltrim(CASE_NBR)#,"#dateformat(CRTN_DT,"mm/dd/yyyy")#"
    </cfoutput>
    <cfabort>
    </cfcase>
    </cfswitch>

    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
    ???

  • Solutions for converting HTML to PDF programatically?

    to start off i should say that i am rather new to programming in java.
    here's what i am attempting to do.
    i need to write a java class that will get an HTML string as input... and needs to spit out a PDF file (or outputstream) as output. i have spent the last week or trying to accomplish this using XSL-FO and the FOP library. this solution does not work too well because XSL-FO and FOP do not handle complex table layouts very well (since they require the number of columns and column widths to be known in advance). it seems that FOP (and XSL-FO) is better suited to handling structured XML input... not something unstructured and complex as HTML.
    are there any other libraries/APIs that are out there that are specifically well suited to HTML -> PDF conversion?
    remember this needs to be done programatically, and will probably be invoked as a webservice.
    thanks,
    vivek

    #1 There are definite copyright issues with your
    software. Before you go live with anything like this,
    make sure you're not gonna get reamed.Ehh? I didn't see anything from the OP's question that implied this. Yes, if he uses it to mine commercial web sites and convert them to PDF's there's a problem, but aside from that, where's the danger?
    #2 The PDF part is the easy part. As the other poster
    said, lowagie iText can do PDF. The rendered HTML is
    a much bigger question. The smaller issue is that web
    pages are defined to fit your browser window, so
    you've got to choose a size. The much tougher problem
    is finding a decent HTML renderer in Java. In truth,
    I don't think there is one; JEditorPane is a piece of
    ****, and opera is really not a lot better. Not at all. The OP specifically mentioned web services, so we don't need to assume that Swing is involved. You can, using a 3rd party library (google for java pdf), have a servlet or jsp render its output as a PDF document.

  • 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");
    -----------------------------------------------------------------------------------------------------------------------------------------

  • 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

  • How to convert HTML files to PDF files.

    Hi,
    I have an urgent requirement explained below:
    I need to convert my HTML files to PDF file from JAVA program.
    Please help me with your suggestions.
    Your help is highly appreciated.
    Thanks &Regards
    Ramavardhan

    Try FOP and XSL style sheets. Although RPWithey is
    correct that there is nothing to magically change a
    viewable HTML file to PDF you can convert a single
    HTML file to XML and use FOP to create a PDF. You will
    need to manage the transition though.
    If you want to change a random HTML file into PDF
    dynamically this would take quite a bit more work. You
    might be able to use JTidy to convert the HTML to XML
    and then FOP to get to PDF but it will likely not be
    formatted the way you wish.That's true - FOP does do that, doesn't it. It must have to make certain assumptions about the appearance of the output. If the output from the stylesheet is an HTML file, you might be able to bypass that bit altogether. I haven't really looked at FOP, although I've read the overview. Check it out at http://xml.apache.org/fop/index.html.
    RObin

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

  • 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

  • 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 do i convert a pdf file into a html file?

    need help with question

    Hi Wolfie1234,
    You can use Acrobat 11 to convert a pdf to html.
    Launch Acrobat. Click on File > Save as Other > HTML Web Page

  • How can I convert a .pdf to a single file HTML file in Acrobat 9 Pro?

    I need to convert a .pdf with active links to a single file HTML file.  Any advice?

    LGINSB wrote:
    Yes, but it's saving it with files associated.  I need it to be a single file version.  Thanks for the reply.
    Of course it is. It sounds like what you want would be just a .jpg. Web pages are seldom ever just one file unless they are strictly text. More than likely you have some images (maybe even images of text) involved so you could never get one file.

  • How can I change the size of a pdf source file, or, convert it to Word?

    How can I change the size of a pdf source file, or, convert it to Word?

    A lot depends on the form of the PDF. Is it graphics, a scan of a text file, pure text, or other? What version of Acrobat are you working with.
    You can do a save as to get a WORD file, but do not expect great results. The ability to get a decent WORD file depends on what the form of PDF you are working from. If it was created from WORD with tags and all, you might get good results. If not, you might get a lot of messed up results.
    Explain what you are starting with and your ultimate goal. Also check the audit of the file (should be under PDF Optimize) to see where the file information is concentrated (text, fonts, graphics, other).

  • Convert HTML TO PDF

    Hello Experts,
    I need to convert the document type HTM to PDF then send it thru e-mail as attachment, is there any FM for this?
    I'm looking at this FM CONVERT_ABAPSPOOLJOB_2_PDF, but i think it requires a spool id and the program is required to run in foreground. Any idea?
    Thank you!

    Hi Jerome,
    Click on below two links:
    [How to convert HTML output to pdf output to save the file locally;
    [Convert HTML File to PDF;
    BR
    Dep

Maybe you are looking for

  • Using usb power to charging

    using usb power to charging ipod touch battery life will lasting long or not ?

  • Flash Player Doesn't Work

    I have a dell laptop running win xp and the latest i.e. browser and I've installed the flash player and get that cute spinning sign saying it's installed but when I go to any site that uses flash (examples: youtube.com, karibyron.com) I can't do squa

  • Exporting for Web Usage

    Hi. I have no doubt this has been discussed, but am hoping I can get a more concrete answer. I would like to export some shorts to put on my web site. I know there is a balance to be struck between quality and file size, but the choices that can be m

  • Repeated characters in a string????

    hey guys well i kinda have a little problem figuring out how to find out if there are repeated characters in a string. if anyone can help, would appreciate it. thanks milos

  • ON EXPORT WIDESCREEN/LETTERBOX GOES AWAY?

    Everything when I am editing looks good, it is in widescreen etc. I shot HD with a 1080i 60. When I go to capture using the Easy Setup for 1080 60i everything looks fine, and when I edit everything is fine as well. Its just when its time to export wh