Word to PDF - Performance

Hello

We have written a custom in .NET application that allows to convert a set of word document in pdf format. The piece of PDF generation takes about 10 to 15 seconds per document and also causing some performance issue in terms of CPU usage and not being able to open WORD or PDF in the desktop pc, when the application runs.

Here is the piece of code for WORD to PDF generation logic. Please indicate if there are problems in how the API is used and also recommend if there is any other way that would have generated a PDF file with a minimum of time.

Dim AcroApp As Acrobat.AcroApp
Dim AcroAVDoc As Acrobat.CAcroAVDoc
Dim AcroPDoc As Acrobat.CAcroPDDoc

As Boolean Dim being

AcroApp = CreateObject ("AcroExch.App")
AcroAVDoc = CreateObject ("AcroExch.AVDoc")
AcroPDoc = CreateObject ("AcroExch.PDDoc")

For each doc file As String In Directory.GetFiles (ConfigurationSettings.AppSettings ("mailmergeletterspath"))

Being = AcroAVDoc.Open (a document, "")

AcroPDoc = AcroAVDoc.GetPDDoc

AcroPDoc.Save (1, Path.Combine (ConfigurationSettings.AppSettings ("doc2pdfpath"), Path.GetFileNameWithoutExtension (docFile) & ".pdf"))

AcroPDoc.Close)

AcroAVDoc.Close (True)

Next

Thank you

Ashok

That is right.

All documents, code examples, etc is in the Acrobat SDK kit which (if

you already did) you can download from our site.

Tags: Acrobat

Similar Questions

  • How can I bulk convert word into PDF documents?

    I recently installed the Adobe Standard 11 in windows 7 OS. I need to convert more than 4K of word in PDF documents. I was able to convert each person opening the word document by clicking on the banner of Adobe and convert to pdf, BUT how can I bulk convert them without having to perform this task individually?

    The steps and advice would be greatly appreciated.

    Thank you in advance.

    HI nenbori,

    Why, Yes, you can do it!

    1. In Acrobat, choose file > create > create several batch files.
    2. Click Add files to add files (or a folder containing the files) that you want to convert, and then click Add.
    3. Choose where you want the PDF files to be stored and how you want the files to be named.
    4. Click OK.

    I'm not sure that you will be able to convert all 4K at a time, but you can certainly make a few batches of good size. It really depends on your operating system.

    Please let us know how it goes.

    Best,

    Sara

  • Problems with word and PDF after computer crash. Error "user has access privileges."

    Problems with word and PDF after crash

    My computer crashed and I had to run the recovery disk, the repair option, so he could run again. It does not format my computer but I had to re - install several programs. I reinstalled my copy of office for example.  I have an external hard drive where I put most of my files but since installing the recovery disc, it does not open some Word documents and gives a message error "user has not access privilege." It's the same thing with some pdf files. What can I do?  Please help because I can't open some of my documents from the University.

    Hello world
    I would like to just say thank you for your help and the problem is now solved.  In the end I paid someone to sort it out.  He explained that it was something like permissions for some of my files were owned by my old operating system and after that my computer crashed and I had to put through the recovery disc these permissions have been lost.  He told me that he had a program that looked for the old existing and re-installed.
    Thank you.

  • How to convert Microsoft Works document in Word or PDF format?

    A document on my computer is in Microsoft Works. Sent in the email that the receiver cannot open. Must be Word or PDF. How can I change the document to one of them?

    * original title - Mailing/opening files / Documents *.

    Copy the text into a word document or
    Use your PDF Creator to convert to PDF format.

  • psc 1200 printer does not print from a word or pdf file

    I have printer HP PSC 1200. recently, I loaded the driver for windows 7.

    the problem that I face is that I am not able to print word or pdf files. I need to convert XPS file & then I am able to print.

    Welcome to the bakulgupta forums

    I noticed that you are not able to print PDF or MS Word files. I recommend that you first update Adobe if you have not already.

    Also, try to run the HP print and Scan Doctor

    Have a great weekend

  • Hello guys, I made a resume in the mac notebook and want a doc word or pdf by e-mail if they can read it, does anyone know how to edit this file to a word doc?

    Hi guys I was wondering if someone can help, make a resume in the mac notebook and want as a document word or pdf by e-mail if they can read it, does anyone know how to edit this file to a word doc?

    On Thu, 20 Sep 2012 10:06:18 + 0000, samburns987 wrote:

    Hi guys I was wondering if someone can help, make a resume in the mac notebook and want as a document word or pdf by e-mail if they can read it, does anyone know how to edit this file to a word doc?

    I don't know anything about Macintosh or its files, but if it isn't
    a standard .txt file, simply read it in Word, and then do a backup with regard
    Save it as a .doc or .docx file.

    Ken Blake, Microsoft MVP

  • Since I load Acrobat Reader DC, when I try to save the document, word to PDF, the pdf file pages are cut on the width. I use Microsoft Office Word 2007 and I have no problem with the previous version of Adobe Reader. Should what settings I adjust?

    Since I load Acrobat Reader DC, when I try to save the document, word to PDF, the pdf file pages are cut on the width. I use Microsoft Office Word 2007 and I have no problem with the previous version of Adobe Reader. Should what settings I adjust?

    Hi judithl34724699,

    If you want to convert Word files to PDF with the Adobe Reader application then it is possible with the service Pack of PDF. Try to use the service on the web: https://cloud.acrobat.com/convertpdf

    Also try to use a different file type.

    Thank you

    Abhishek

  • can I sync my microsoft word and PDF files on my palm?

    I'm new to the family of Plam and I have a question.  I use my Palm for bussiness because I can't do most of us, but can I sync my microsoft word and PDF files in my Palm?

    I use the contract all the time and I need to show a contract from time to time, I don't know how to synchronize those files on my palm... is the windows mobile palm?

    If I could get as much information as possible on all the how of that would be great!

    Thank you and I have a lot of aprecaite it!

    Paul

    Hey Paul, welcome to the forums of Palm.

    Your Verizon Pre Plus runs a mobile operating system called webOS HP/Palm.  The current version is the 1.4.5.  The phone can connect to a Microsoft Exchange Enterprise Server.  When this happens, it uses a timing called "Exchange Active Sync" technology, but your phone does not have the operating system Windows Mobile or Windows Phone.

    Synchronization of Microsoft Office and PDF documents from sort of an adventure the Pre debuted more than 18 months ago.

    DataViz, the application of the notice of Doc officials, was partially acquired by RIM, the fact of BlackBerry and decided to not release a full version of Documents To Go for webOS devices.  Palm in collaboration with manufacturers of QuickOffice to provide the full support of the office for webOS documents in the future.

    For now, if you put Office and PDF documents in the area of storage USB of your pre, see Doc or PDF is to find them and allow you to view them on your Pre.  I put all my documents in a folder simply called 'Documents '.

    If you connect the charging/sync cable for your pre and then attach to your Mac or Windows PC, you will have a choice to activate the USB Drive mode.  When you do, you will be able to work with your pre as you would with a standard USB.  Eject the meadow of your desktop PC when you have finished and you should be ready.

    Hope that helps.

    Alan G

  • I have a subscription to Acrobat DC which ends November 24. Since that night, I can't convert WORD into PDF files. I got a message that my subscription has ended. Please help me because I have an urgent document to convert to PDF

    I have a subscription to Acrobat DC which ends November 24. Since that night, I can't convert WORD into PDF files. I got a message that my subscription has ended. Please help me because I have an urgent document to convert to PDF

    Some general information for a subscription of cloud

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -https://helpx.adobe.com/creative-cloud/help/sign-in-out-activate-apps.html

  • How can I change the words in pdf format

    can someone help me, I want to change the words I pdf

    Hello

    You must have the full Acrobat application rather than just drive.

    PDF Editor, edit the text in PDF files. Adobe Acrobat DC

  • michaelp70541244. I have converted a word to pdf doc, but none of the embedded fonts.

    Anyone know the answer?

    Hi michaelp70541244,

    What did you use to convert Word to PDF doc? Whatever the method used, however, some fonts will be never incorporated, if the licenses for these fonts.

    Best,

    Sara

  • Need to the tab of each document (Word or PDF) being converted/combined into a single PDF file. Only have an online account. Is this possible online

    Need to the tab of each document (Word or PDF) being converted/combined into a single PDF file. Only have an online account. Is this possible online?

    Hi pjj,.

    When you open the Bookmarks pane (the second icon from the top in the column the leftmost in Acrobat), you will see a bookmark for each file that has been attached to create the PDF. If you have created the combined file from Acrobat.com, however, file names are changed, it won't be as easy to say what are the components. If you create the file in Acrobat, then bookmarks retain the name of the original file, so your customer will be able to tell at a glance if everything was included.

    Best,

    Sara

  • How can I save my word to PDF document and save it on my USB instead of online?

    How can I save my word to PDF document and save it on my USB instead of online?

    Hi imanip57749641,

    Could if it you please let me know this Adobe online service that you have subscribed?

    You may be able to connect to your account using the Adobe ID credentials to convert word to PDF file.

    After conversion, you can download and save the converted file on your computer and transfer it to the flash drive.

    You can even locate all your converted files by clicking on the "Files" tab

    Hoping to hear from you.

    Kind regards

    Ana Maria

  • I have previously a POWER1) product allows me to digitally sign a PDF document? (2) convert a word to PDF doc?

    I have previously a POWER1) product allows me to digitally sign a PDF document? (2) convert a word to PDF doc?

    Hi robertb48724220,

    I checked your account. You have an active subscription to Adobe PDF package, which allows you to convert files to PDF format, both signing (the fill & sign on Acrobat.com does not require a subscription). You can access your account at https://cloud.acrobat.com/. Just sign in with your Adobe ID and password.

    Please let us know if you have any additional questions.

    Best,

    Sara

  • Word to PDF

    How to convert my word in PDF document?

    Hi cashrange2,

    You can use the built-in "Save as PDF" feature of Microsoft or can use Adobe Acrobat for the purpose.

    If you install Acrobat, you can use the pdfmaker toolbar to convert to pdf or simply print on 'Adobe PDF' printer

    Please see:
    http://wwwimages.Adobe.com/www.Adobe.com/content/dam/Adobe/en/products/Acrobat/PDFs/Adobe-Acrobat-XI-create-PDF-files-tutorial-UE.PDF

    Or you can even opt for subscription Createpdf from Adobe for the purpose. Please visit: https://www.acrobat.com/createpdf/en/convert-word-doc-to-pdf-converter.html

Maybe you are looking for

  • Why can I not view my communities

    Twice in the last two weeks, I tried to post to the communities and received the answer that I can't update this post. I have yet to submit the post Help It seems that I have to select a community AND there is NOT one for Iphone ***

  • I can't get the tabs to work, opening with the mouse, cannot be closed only in groups that market

    I was obliged to upgrade of hate, has lost most of my applications, cannot get tabs to work, cannot change the tabs with the mouse, cannot close the tabs,UNLESS I go to the tab and then group I have a button close the tab or change the tabs but that

  • No sound through HDMI - Satellite P300-135

    When I plug the HDMI cable from the laptop to my tv, I have no sound in the speakers on the TV, I only got sound in the laptop speakers. Could you help me solve this problem?Notepad is Satellite P300-135.

  • HP Envy 700-215xt: hardware upgrade

    Hello I just wanted to know if there are restrictions on the upgrade of my 600w PSU and my graphics card for a GTX 980. I've been looking around and see some messages on Web sites saying that some HP computers are not extensible or use special connec

  • computer laptop screen divided to 6 screens!

    Hi guys I have a big problem with my laptop screen. my notebook is HP G60-120US when the laptop starts up the screen divided to 6 screens like this I have now, it is the feature of hp or my screen problem Thank you guys.