Create PDF from VBA with the same resolution from the Ribbon

I use Word 2010 and Acrobat X Standard. I wrote a VBA application which creates a Word 2010 document and saves it in PDF format.

I have a problem with export to PDF from Word 2010.

In Word 2010, I've specified to the file, Options, advanced, do not compress the images and my pictures are saved in the Word document with high resolution.

On the Acrobat Ribbon tag, I created my own preferences with any compression and downsample off.

When I create a PDF file from the Ribbon, the resulting resolution of the PDF document is beautiful.

I used the feature to record a Macro of Word to capture the action:

ActiveDocument.ExportAsFixedFormat _

OutputFileName: = "C:\Gary\Book Publishing\Projects\Problem with Images\Sample.pdf", _

ExportFormat: = wdExportFormatPDF _

OpenAfterExport: = False _

OptimizeFor: = wdExportOptimizeForPrint _

Range: = wdExportAllDocument _

From: = 1, _

À : = 1, _

Agenda: = wdExportDocumentContent, _

IncludeDocProps: = False _

KeepIRM: = False _

CreateBookmarks: = wdExportCreateHeadingBookmarks _

DocStructureTags: = True _

BitmapMissingFonts: = False _

UseISO19005_1: = False

When I put this code in my code VBA for Word, the images in the PDF output are at a much lower resolution. It feels like the Preferences are not honored.  Any ideas?

I agree, you do a very reasonable assumption; What happened ago just weird... I don't know if the Adobe is doing, or Word...  In any case, here is the documentation for the method uses the macro, because Adobe do not offer an alternative. http://msdn.Microsoft.com/en-us/library/Microsoft.Office.Interop.Word._Document.exportasfi xedformat.aspx

Tags: Acrobat

Similar Questions

  • Creating PDF from the software Macromedia in MS Outlook 365 convert without images.

    Case 0187809571. Creating PDF from the Macromedia in MS Outlook 365 software works, but the images do not convert. DC Adobe has been bought and installed on 6 May and MS Office 365 has been bought and installed on May 6. The two programs are the latest versions.

    Create a PDF from an email that way (above) results in:

    I tried 2 Chat sessions without resolution. If I "print" to PDF, it's ok:

    Help, please. This happens to all emails with images.

    Hi bethm19302338,

    Start Outlook, click the Adobe PDF tab, click conversion settings.

    Once you see the conversion settings window, check if this option is checked "block download of external content. Try to uncheck and restart outlook and conversion, and then try again.

    Kind regards

    Tariq Dar.

  • Problem in creating several attributes XML with the same name of the attribute

    I am trying without success trying to create several attributes XML with the same name, as shown here in a Microsoft example configuration file:



      
         
         
         
      

    I'm calling the NewDocument GetRootElement functions and then "newelement" (appSetting), "newelement" (add)

    Then I call AddAttribute with add, key & Key0, then with add, value & 0.  This seems to work fine but when I try to add the second pair of key & Key1 and value attributes & 1 for item "Add" replaces ""and I find myself with"" only.

    I do something wrong or CVI is not able to create an XML of this type?

    Thank you

    Here's how you do it. I show not to keep things simple error checking.

    #include

    public static void CreateAddElement (mother of CVIXMLElement, const char * key, const char * value)
    {
    Add the CVIXMLElement;
    CVIXMLNewElement (parent, -1, 'Add', &add);)
    CVIXMLAddAttribute (add, "touch", key);
    CVIXMLAddAttribute (add, "value", value);
    CVIXMLDiscardElement (add);
    }

    void main (void)
    {
    CVIXMLElement root, and appSetting;
    Doc CVIXMLDocument.
     
    CVIXMLNewDocument ("configuration", &doc);)
    CVIXMLGetRootElement(doc, &root);)
    CVIXMLNewElement (root,-1, "appSetting", and appSetting);
    CreateAddElement (appSetting, "Key0", "0");
    CreateAddElement (appSetting, "Key1", "1");
    CreateAddElement (appSetting, "Key2", "2");
    CVIXMLDiscardElement (appSetting);
    CVIXMLDiscardElement (root);
    CVIXMLSaveDocument (doc, 1, "c:\\temp\\temp.xml");
    CVIXMLDiscardDocument (doc);
    }

  • What is the less expensive software or the online application to create PDFs from multiple files?

    What is the less expensive software or the online application to create PDFs from multiple files?

    The service Pack PDF can be used from a web page or of the CD player. Adobe low cost subscription offering that does this. Online PDF converter, convert to web or Acrobat Reader | Adobe PDF Pack to convert things other than Office documents and images, you need the Acrobat application instead.

  • VRA unable to create groups of companies with the same name in different tenants with vRO

    vRA 6.2.2 Build - 2754020

    vRO 6.0.1

    Through the vRA GUI I can create groups of companies with the same names in different tenants as follows:

    Tenant1: BusGroup1, BusGroup2, BusGroup3

    Tenant2: BusGroup1, BusGroup2, BusGroup3


    However, to create business groups with the same names in different tenants via the vRO, specifically the workflow plugin Library / vCloud Automation Center / Administration / Business groups / create a group of companies, fails in the second tenant with the below error:


    [42106] the specified condition is not respected for 'name '. (Name of the dynamic Script Module: createBusinessGroup #12)

    If I change the naming convention to be different by tenant, then I have no problem. I thought it might be a restriction in the product, but as said I was able to create with the names of same origin through the user interface.

    Anyone experience the same thing?

    This is a known problem within IaaS API the plugin vRO uses to manage groups of companies through business groups workflows. You don't have the same problem of the vRA UI because the user interface (according to the 6.x) does not use the same API IaaS to manage groups of companies.

    The only alternative to 6.x for now is to directly use the helper generic entity Manager plug-in itself. You can take a look at the first example in example CRUD Infrastructure tasks management Scripts.

    I hope it helps.

    Sergio

  • Is it possible to create the icon PDF format display with the cover of the document image, when sending via "Mail" on a mac?

    Is it possible to create the icon PDF format display with the cover of the document image, when sending via "Mail" on a mac?

    InDesign has no control on how Apple Mail displays a PDF it creates.

    My experience is that Mail displays a preview of a single PDF page, but not a multiple page PDF. In addition, for a single page PDF, the user may tip if the PDF shows a preview by right-clicking the icon/preview.

  • Windows 8.1 in Adobe Illustrator, I tried to copy my design & tried to paste it, but after sticking the image (file), now the color looks different, drive and lighter. So, kindly inform how to paste the file with 100% same resolution / color / appeara

    Windows 8.1 in Adobe Illustrator, I tried to copy my design & tried to paste it, but after sticking the image (file), now the color looks different, drive and lighter. So, kindly inform how to paste the file with 100% same resolution / color / appearance. Thank you.

    Hi GANESHKUMARAPILLAI CHRYSTELLE,.

    Here is a link for color management workflows in Illustrator.

    It is best to place the image instead of paste into Illustrator. When you paste the images they are in RGB color format. Make sure your document is a RGB file

    Click on these links for more information.

    Understand the workflow of the CC of individual course Illustrator color management: Advanced

    Creative Suite * keeping colors consistent

    Implement the print color management workflow. Illustrator, InDesign, Photoshop

    Concerning

    Scott

  • When I use dreamweaver cs6 browser Checker to find pages, it creates another page starting with the letter T. And he added this page to my folder. How can I prevent that from happening. I use a Mac.

    When I use Dreamweaver cs6 browser Checker to find pages, it creates another page starting with the letter T. And he added this page to my folder. How can I prevent that from happening. I use a Mac.

    Are you spotted with temporary files?  In Edition > Preferences > Preview in browser.

    Nancy O.

  • When you create PDF from WORD 2010 files, can't do the TOC header as hyperlinks entries

    When you create PDF from WORD 2010 files, I can't have the TOC header as hyperlinks entries. I'm used to be able to do this in WORD 2003. I tried to create a PDF file in Acrobat by selecting file > create PDF > navigate to the WORD file > select three check boxes >

    Help them get the entries in TOC topic as hyperlinks?

    Try to do this from Word by using the Ribbon.

  • Cannot create PDF from Office documents

    My Acrobat 9 Std installation was damaged, so I re-installed 9.0 and added all updates to 9.3.4. When I try to create a PDF from an Office document, I get a pop-up window:

    Additional files need to be installed to create PDFS from this file.
    You want to run the Acrobat installer in repair mode?

    I clicked YES, with the CD in the drive; the process lasted more than 15 minutes and ended normally.

    But when I try to create a PDF file, I get the same message again.

    Any thoughts on how to fix?

    Thank you

    -TedMi

    Have you put safety of Ofrfice allow PDF Maker to run?

    Cannot convert PDF | Error "Missing PDFMaker files".

  • Now my Adobe Acrobat 8.1.0 doesn't create pdf from MS Word or MS Excel I updraded to Windows 10.

    Now my Adobe Acrobat 8.1.0 doesn't create pdf from MS Word or MS Excel I updraded to Windows 10.

    Acrobat 8 is not compatible with Windows 10, so this kind of problems is to be expected.

    You must upgrade to the latest version (Acrobat DC) to solve it.

  • Adobe Acrobat 9 Pro won't create PDFs from Word on my new laptop Windows 10.

    Adobe Acrobat 9 Pro won't create PDFs from Word on my new laptop Windows 10.  How can I fix?

    Hi marcw6Colonial,

    Adobe Acrobat 9 is not compatible with Windows 10.

    It may or may not work properly with this OS.

    I would also like to inform you that it is an older version and not support the Adobe Acrobat application.

    Kind regards

    Meenakshi

  • I have Acrobat 9.5 and when I try to create > pdf from a scanner, it shows an error "Adobe acrobat has stopped working". Is it possible that I can use this feature?

    I have Acrobat 9.5 and when I try to create > pdf from a scanner, it shows an error "Adobe acrobat has stopped working". Is it possible that I can use this feature?

    Providing you have Acrobat 9 installed in an operating system for which Acrobat 9 is compatible then you can use the feature.

    So, you need a scanner connected, turned on, and the software installed. Acrobat 9 "prefer" TWAIN drivers.

    Always visit the site of the provider of the Analyzer and download - install the latest version of the greatest software.

    n.b., The Acrobat 9.x product family moved in the middle of the "End of Support" year 2013.

    Thus, the family of products Acrobat 9.x is not compatible with contemporary operating systems.

    Be well...

  • Create PDF from a web page to backend

    Hello, this is my first post on the Adobe Forums

    I'm trying to get a screenshot of a web page using Adobe get 'create PDF from Web Page' However, I can't understand how to capture a page after that I logged on the site. I thought that Adobe Acrobat would recognize that I had connected from Internet Explorer, or my default browser.

    I get the login page of Wordpress. I need to be able to see the dashboard. Find a solution to this will help me to find solutions to my other questions of web capture.

    Kind regards

    Greg

    This is a limitation of the use of this method. One solution is to print to PDF from your browser once you have the page you want to load, but I don't know if this is acceptable to you.

  • Create PDFs from a scanner?

    Can I create a pdf file from my scanner with Adobe Reader 9.0 or which is only available with Adobe Acrobat?  Thank you.

    Adobe Reader cannot create PDFs from a scanner.

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

Maybe you are looking for