Converting a file to pdf using API

I am using APIs for converting a word document into pdf file. I added 2 jar files adobe-convertpdf-client and adobe-generatepdf-client in my application and tried to convert a word document into pdf format. For this requirement should i have install livecycle, application server, Database etc. Can it be done using a java console application by using these jar files. If so Can anyone give me a sample code?

Since cfdocument can render HTML, you may easily convert JPG
to PDF, using
<cfdocument format="PDF">
<img src="myphoto.jpg" alt="my photo">
</cfdocument>
However, converting DOC to PDF or PPT to PDF with Coldfusion
is not currently possible. DOC and PPT have proprietary MS Office
formatting that is foreign to Coldfusion.

Similar Messages

  • Not able to convert word file to PDF using Adobe Acrobat 9 Standard

    Hi,
    I am not able to convert word file to PDF using Adobe Acrobat 9 Standard. When I try to convert, it starts the process and in between I am getting this prompt, as shown in figure below and the conversion process stops. The PDF is not created.
    Note: The filename 'Acr85.doc' in the above prompt keeps changing and is random.
    I tried clicking Yes, No and Cancel on the above prompt, but the conversion process just stops and PDF is not getting generated.
    I am able to create PDFs from web pages. No issues with that. Not working only with Word.
    Can someone help me with this.
    Thanks,
    Vinay Jaassiel Kankipati
    Technical Writer

    In MSWord please changes the settings as "Adobe PDF" menu => "Change Conversion Settings" goto Tab Bookmark and clicks the option Convert Word Bookmarks. Now you convert the Doc to PDF you can achieve the Bookmark.
    Hope this help you
    Sudhakar

  • Convert txt file to pdf using Acrobat Distiller

    Hi,
    We purchase years ago Distiller 8.1.0.
    Now, I try to convert txt file to pdf files, but I always get an error.
    Please Help,
    Hezi

    I have important information: Acrobat is not licensed for use server side, so you must not use it to build that solution, even if it is technically possible.
    Adobe's server side PDF creation product is LiveCycle PDF Generator https://www.adobe.com/sea/products/server/pdfgenerator/
    This comes in three editions. The "PostScript" edition is little more than a server-side version of Distiller, and will not convert TXT. However, the other two editions can convert a wide variety of formats.

  • Converting excel file to PDF using Adobe 9 standard on windows XP

    I have installed office 2010 SP1 on a computer and it already has adobe 9 installed. user never had problem with converting multi sheet excel workbook to PDF using MSoffice 2003.
    Now, when we open excel files in EXCEL 2010 then try to print it to adobe 9, it asks for a filename and we type a name and it convert the first 2 sheet and then it asks again for the other filename and if we enter other name it print other sheets into second file. so basically it splits to 2 PDF files for no reason.
    I tested same file on my laptop with windows 7 and adobe standard 9 and office 2010  and i got same result.
    anybody knows what is the issue?

    Have you updated Acrobat? Have you tried printing to another file format just to see if it is an issue with Acrobat or OFFICE 2010. OFFICE 2010 has forced many folks to upgrade to AA X to obtain compatibility.

  • Converting Doc files to PDF using command line ?

    Hello,
    I need to automate the process of converting (in command line) word files to pdf.
    Is Acrobat distiller Server the right product ? or is there another product from Adobe that would allow me to reach this goal ?
    NB : currently using pdfcreator in command line but have some stability problems now...
    thanks a lot
    Florent

    Acrobat Distiller Server can only convert Postscript to PDF. You may look at this product:
    http://www.adobe.com/products/livecycle/pdfgenerator/

  • Problems with some photos when converting Publisher files to PDF using Acrobat 9

    I tried to make a pdf of a publisher document that has a number of photographs. Two of the photographs appear grey with streaks -looks like some of the colours are not converting properly. The same document works fine with Acrobat 8 but not with version 9. Anybody have this experience?

    Graffit's suggestion did not work for me.
    I work for the Ontario government, and we are still using Office 2003. I am not sure what version of 9 we are using as we get bulk licences to use the program. I only got the program in August 2010. I used the default settings in the program.
    I try to open the publisher document in Adobe. I have also tried opening the publisher document, then converting it to the PDF. Both have two of the photos that don't convert properly. The other photos are fine.
    The two photos in question were given to us by the Communications department. I don't have the originals. The photos were copied from other document. I don't know what the format of the orginal photos were. The person in Communications has not responded to my request yet.

  • Convert .txt file to .pdf using java code

    Hi,
    My requirement is to read the .txt file and convert it into .pdf file after changing certain text.
    Searched the net got a document on iText ..is it the only way for conversion or any other method....please help.
    Thanks in advance.
    Pooja

    Hi.
    You could review this [url|http://www.roseindia.net/java/java-conversion/TextToPDF.shtml].
    It is a good example to use the iText Library.
    The other option could be [PDFBox|http://pdfbox.apache.org/].
    Here some [example code|http://pdfbox.apache.org/userguide/cookbook/creation.html#HelloWorld].
    Another option, but more complicated is [Apache FOP|http://xmlgraphics.apache.org/fop/].
    I hope you can find the right solution.
    Kindest regards, have a great day

  • Converting .doc file to PDF using Word 2008 - does not convert as is..

    I am trying to convert a .doc file (Word 2008) to a PDF file.  I have tried using the save as function and the print function.  Both will work however everytime 2 things happen:
    1.  The PDF file splits into 2 files (the document is 20 pages long)
    2.  In one area of text, two words are overlapped (in the PDF version) but are not overlapped in the .doc version.
    How do I convert the .doc to a PDF with out these two items occuring?
    Thanks in advance for your help
    T.

    I do not think this is an app but rather a function of MS-Word, the very function that does not work with high fidelity on Mac.  Any document of substance (greater than 10,000 words, imbedded images, figures, tables, or high formatting) will not convert accurately to PDF on Macbook Pro. 
    Using newest MS Office with updated service pacs, and experienced users. This is a puzzling incompetency on the Apple team's side. And there have been no fixes.  One could argue this is a MS problem since the software is theirs.  Probably true, but the problem occurs on Mac platforms, not PC platforms.  Apple can drive improvements.  Not sure Apple customers can.

  • Missing page while converting Postscript files to PDF using Distiller 9.

    Hi
    Due to some incorrect hexadecimal code in the post script, one of the pages is not getting created in the full pdf. So, we can say that the page is missing in the complete pdf file.
    Here is my snapshot of the issue:
    1. Offending command issue on a particular post script data is coming up due to some incorrect hexadecimal data.
    2. If I run the postscript through Distiller 8, report is getting generated without any missing data.
    3. Whereas, if I run it throught Distiller 9.1.3, Distiller is ignoring the page due to following warning.
    %%[ Error: typecheck; OffendingCommand: xshow ]%%
    Stack:
    41
    ( À
    4. If I run the same Postscript file in Distiller 9.3 (latest version), issue is going away.
    5. But I have another Report pdf with the same  issue but this time with a different hexadecimal exception.
    %%[ Error: typecheck; OffendingCommand: xshow ]%%
    Stack:
    49
    (à ø&#127;À ø&#127;À øÿ€ üÿ€ üÿ€ üÿ€ üÿ€ þÿ€ þÿ€ þÿ€ þÿÀ þ&#127;À þ&#127;à þ&#127;ø?þ?ÿÿþ?ÿÿþ ÿÿþ ÿÿþ ÿýþ ÿùþ?ð&#127;à ø&#127;À ø&#127;À øÿ€ üÿ€ üÿ€ üÿ€ üÿ€ þÿ€ þÿ€ þÿ€ þÿÀ þ&#127;À þ&#127;à þ&#127;ø?þ?ÿÿþ?ÿÿþ ÿÿþ ÿÿþ ÿýþ ÿùþ ü%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    So, either way, even if I upgrade my version of Acrobat from 9.1.3 to 9.3, issue doesnt go away. I think the new Acrobat Distiller is buggy and introducing new problems when compared to Acrobat Distiller 9.
    1. Works fine Distiller 8.0
    2. More problems with 9.1.3
    3. Lesser problems with 9.3 but I cant upgrade to 9.3 unless i see all the missing page problem going away.
    Can someone urgently look into this?
    Regards
    Hari

    I am calling Distiller using command line.
    "C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrodist.exe" /f/Q/N C:\Reporter\debug\report.dst
    report.dst contains the the names of the post script files.
    (I have already contacted Distiller server forum and I was told to post the request in Acrobat forum)

  • Convert a file to PDF using Acrobat

    This question was posted in response to the following article: http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7f73.w.h tml

    I am not that familiar with AutoCAD, but depending on the version of AutoCAD and Acrobat you may be able to create the files from Acrobat. However, you would need to have the PDF Maker plugin functional in AutoCAD and I think this may be version dependent. For those that can help with that info, you need to provide info on your OS and the versions (& subversions) of both AutoCAD and Acrobat. I have no idea what 1 year subscription you are talking about. Acrobat is a purchase item for several hundred $$.
    In terms of who is here, it is a user forum and only occasionally do Adobe emplyees drop by. This is not the place to ask questions of Adobe, but to questions that other users can answer. So again you need to provide the info on what you are working with and maybe we can help. If you have Acrobat, you can always simply print to the Adobe PDF printer.

  • Converting Framemaker files into PDF progaramatically using publishing server

    Hi All
    Background:
    We are going for upgrade of  Frame maker 8 which is on unix system  to FM 10 or 11. We are using Framemaker mainly for renditions, i.e to convert the fm documents to PDF. To convert fm document to PDF we are using the below mentioned command line utility available in FM 8.(on unix). /opt/app/frame8.0/bin/fmprint -i -p Sample.fm.fmtpl Sample.fm Currently the the fm file which need to converted to PDF and the FM 8(installed) are available on the same unix system ,so we were able to initiate/use the command line utility of FM 8. The rendition of the FM to PDF is On -Demand.( We are not running any batch activities/ bulk renditions).We are rendering the document as soon as the document  is available.
    Requirement:
    As we are going to  upgrade the FM to newer versions which would be installed on the Windows machine as Frame maker 10 or 11 will not support unix plat form, so can you please let us know which option is better to use i.e we want to convert fm file to PDF using java program without any manual intevention using publishing server/client version.
    can any one help us as it is very urgent for us.
    please let us know the ways to do and links for helpful documents .
    thank you very much for your help in advance!!\
    Best reagrds
    Ramesh babu

    Hi Ramesh...
    Another alternative (if you need more control over the doument creation) is to use Leximation's AutoFM ..
        http://leximation.com/tools/info/autofm.php
    Cheers,
    ...scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • Error: EXOpenExport() while converting xlsb file to PDF

    I am getting this error while converting .XLSB file to PDF using IBR :Step PDFExport forced conversion failure by conversion engine because of error: EXOpenExport() failed: no filter available for this file type (0x0004). Can anyone tell me how to resolve this issue.
    Thanks in advance.

    Thank you for all your intrest.
    The error message I get is... "an unexpected error occured. PDFMaker was unable to process the request".
    When I then try to convert again, the system opens the ppt, but then does not do anything, and the error message does not show, for all presentations I try to convert.
    I have also tried using the ribbon, but the button does not do anything once I have clicked.
    I can print to PDF, but this provides an output which is not suitable, because it shows as if it each slide was printed on to paper and then put in PDF.
    I have also uninstalled and reinstalled Acrobat to make sure nothing was corrupt.

  • How to batch convert Word files to pdf

    How do I batch convert Word files to pdf using Automator

    Here is a drag/drop AppleScript solution that uses the command-line LibreOffice capability to convert MS Word (.doc, .docx) files into PDF. Drag/Drop a single file, or a folder of Word documents, and it will write the respective PDF back to the original file location. When it is done, an OS X Notification will slide out onto the Desktop and provide the count of processed files.
    Save this AppleScript as a Desktop application that remains open after running. If you ignore the latter, the notification will not show when it is done. Tested on Mavericks 10.9.5.
    property name_extension : {"doc", "docx"}
    global fileCnt
    on open of finderObjects
        set fileCnt to 0
        repeat with i in (finderObjects)
        if folder of (info for i) is true then
            tell application "Finder" to set temp to (entire contents of i)
            repeat with j in (temp)
                process_files(j)
            end repeat
        else
              process_files(i)
        end if
        end repeat
        display notification "Processed Files: " & fileCnt with title "Word2PDF" subtitle "Processing Complete"
    end open
    on process_files(fname)
         set cmd to "/Applications/LibreOffice.app/Contents/MacOS/soffice "
         set cmdArgs to "--headless --convert-to pdf:writer_pdf_Export --outdir "
         tell application "Finder"
              set nameExt to name extension of fname
              set outDir to do shell script "dirname " & POSIX path of (fname as alias)
              if name extension of fname is in name_extension then
                   try
                        do shell script cmd & cmdArgs & outDir & space & POSIX path of (fname as alias)
                        set fileCnt to fileCnt + 1
                   on error errorMessage number errorNumber
                        display alert "Processing Error: " message "[ " & errorNumber & " ] " & errorMessage
                        error number -128
                   end try
              end if
         end tell
         return
    end process_files

  • How to convert JPG files to PDF

    Suggestions on how to convert JPG files to PDF using Adobe?

    You would either need the PDF Pack service, or Adobe Acrobat or Photoshop.

  • Converting bmp file to pdf

    Hi all,
    Please help me to solve this:
    1) convert bmp file to PDF( using FM) .
    2)There can be many such bmp files ..append them to single pdf file after converting them.
    Thanks and Regards,
    KC

    As has been discussed many times here before, you can't really merge PDF files programmatically in ABAP after they have been created.  Your best bet with this 'unique' requirement is to use a form-based approach I think.
    With a smartform one approach is to create a single page with a window with a graphics node (dynamic name) in it, with the bitmap name specified in the form interface.  Unless you have already loaded the bitmaps in the graphics manager (SE78), you would load the bitmaps at runtime from the presentation server or the application server and then create the graphics dynamically using the methods of class CL_BDS_DOCUMENT_SET prior to calling the form for each bitmap (a topic discussed recently in the ABAP forums or you can view how SE78 does it by checking the code).  Create a merged spool and then use the standard function to convert the OTF data to PDF format.
    A similar approach can be used with Adobe forms, but you would need to load the bitmaps to the web repository, not the graphics manager.
    What exactly is in the bmp files and where are they stored?  Are they form templates?  You may get a better answer with more details.

Maybe you are looking for

  • Java edition compatible with standard edition?

    Hi I have a database created using Java edition 3.2.44 I want to write an application in C++ which reads this database using the standard Berkeley DB (possibly at the same time as the java application is also accessing them). Are the database files c

  • Can I cut-off New G/L migration date during fiscal year ?

    Dear Experts     I know that the principles of migration date of New G/L migration should be on first day of fiscal year and Year-end closing of the old fiscal year must be complete before New General Ledger Accounting is activated.     However, if I

  • Minor problem - side bars not extending to footer

    Hi- I created a page layout that includes two side bars on either side of the "body" area. Normally these have text in them and adjust in height based on what's contained in them. Well my design is one such that there is purposely no text included an

  • Publish action waits for request to get completed in OSB11g

    Hi all, I am using OSB 11g. Following is my scenario: 1) ProxyService1(wsdl based Proxy) publishes to ProxyService2(local Proxy) 2) ProxyService2 routes to an MQ Posting BusinessService In ProxyService1 Response Pipeline, I have configured a dummy re

  • How to generate finite cycles of sine wave using daq mx in vc++

    Hi, How to generate finite cycles of sine wave or for finite duration in vc++ using hardware timer without any sleepfunction in the code. Thanks & Regards, satya