Excel VBA help: change resolution & compression settings programmatically

Hello, I am looking for some VBA code to create a PDF from Excel (2010) but to first change the resolution and compression programmatically. My spreadsheet has an PNG format logo that requires turning the compression off, to keep it from pixelating. I am running Windows 7 and Acrobat 9 Pro  on my laptop, and Windows 8 and Acrobat X Pro on my PC, if that matters.
I've been hoping to find something on the internet I could just copy & paste for my spreadsheets but have not found anything so far. I have found some VBA for some non-Acrobat products, but consider that a last resort, since I am already using Acrobat Pro. I am not asking anyone to write anything for me, but hopefully you can point me in the right direction, please, with some links or copying of your own!

You don't have direct programmatic access to these settings.
But each setting is included in a job options file and you CAN choose the job option to use when running Distiller.
Basic method:
1. print to file using the Adobe PDF printer (standard Excel or Windows techniques). This will make a PostScript file.
2. run Distiller to convert the PostScript to PDF, with your selected job options. This is described in the SDK.
Important note: the result will be like what you get when printing to PDF. Check this is suitable. You cannot do this, so far as I can see, like the Create PDF button/menu item with its extra features you might wish for.

Similar Messages

  • I need help changing the sequence settings to my video

    I shot on a JVC Everio in 720x480 29.97fps. I normally shoot in 1080x420 so I know the picture quality isn't going to be AS good. Normally, when I drag my clips into the timeline Premiere changes the sequence settings for me and everything looks fine. However when I drag  this footage (the 720p) in, it becomes elongated and fuzzy.
    I've messed around with the sequence settings by using DV-NTSC widescreen 48kHz and DVCPRO50 480i NTCS widescreen. When I drag my clips in they're cropped really close and they still look a bit off when I change the image to fit the screen (DVCPRO 50 looks a little bit better).
    When I shot the video it looked crisp and clear on the monitor. I'm wondering if it looks strange because of the sequence settings and if so, what would be the best settings for this video.
    The final video is going on youtube and I would like to make it look as good as possible!
    Please let me know if you can help me out!

    However when I drag  this footage (the 720p) in, it becomes elongated and fuzzy.    
    What 720p? You gave us two frame sizes. Neither of them are 720p.
    1080X420 is a very strange frame size. And you say it is normal? A 720p video is 1280X720 non-interlaced.
    Chances are very good that it is 480i video you shot with a frame size of 720X480 and it is interlaced.
    That video should be interpreted with a Pixel Aspect Ratio (PAR) of 0.9091 (rectangular pixels that are taller than they are wide) - and what that means is that it isn't 16:9 it is 4:3 and should be edited in a 4:3 sequence. If, however, Premiere Pro is seeing the footage as having a PAR of 1.0 (square pixels) then you may have to right click on the clip in the Project Panel and select Modify|Interpret Footage and set it to D1/DV NTSC (0.9091)

  • How do I change my printer settings programmatically ?

    How do I open a print menu, to change the printer, the orientation and the number of pages to be printed out during the execution of a LabVIEW program ?

    Check out the example at:
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3DFC656A4E034080020E74861&p_node=DZ52084&p_submitted=N&p_rank=&p_answer=&p_source=External
    If you set the VI to display the printer dialog you can set the printer and the print orientation from there...the number of pages should be possible to control from what you actually put in the VI to be printed.
    MTO

  • Excel VBA & Current View

    Hi
    Is there a commend in Excel VBA for changing the BPC Current View selections ?
    Thanks in advance for your help.
    KInd Regards
    Gav

    Thanks for your reply, is there any way to actually change the current view itself from within VBA.
    I have a sheet with many EvDREs in it, and would like my macro to cycle through selections in the current view and expand-all after each ( it then emails out the reports after each refresh ), so ideally I need to be able to change the Current View using the macro, rather than the EvCVW cells in the workbook itself.
    Thanks for your help.

  • HT5731 How do I change my iTunes settings to lower the resolution of movies I download to reduce the download time?

    How do I change my iTunes settings to lower the resolution of movies I download to reduce the download time?

    If you're buying HD movies, you can change the setting in the Store preferences in iTunes to prefer 720p. Or you can just buy SD versions.
    Regards.

  • Changing Resolution Settings Within Project

    Hi Guys,
    Ok, here's my problem.....
    I have captured my footage at 1920 x 1080 25fps and 48Khz with my Canon DSLR and imported it into my FCP project.  I deliberately created my sequence settings at 1280 x 720 25fps as this was to be the output format and when I added the 1920 footage to the timeline, FCP asks me nicely if I would like to change the sequence settings to match the footage - to which I politely decline (mistake, I know now...)
    This had the effect of scaling down my 1920 footage to 1280, which was fine.  The issue I now have is when I want to export it as a reference movie for DVD creation, it takes hours as the reference movie is taking the settings from the project, which is 1280 x 720 and my footage is still 1920, which means lots of re-rendering to do.  Took me ages to figure out why the ref movies were taking so long to export! 
    So I have been trying to figure out a way to somehow change all of my completed timeline that consists of 1920 x 1080 footage downscaled to fit in my 1280 x 720 timeline back to full 1920.  Still with me??
    I have tried manually resizing the individual clips using their Motion tab (they are at 66.6% now as they are squeezed into a 1280 x 720 timeline) back to 100% which works, but leaves me with e green proxy render bar above the clip.  The same happens when I copy and paste the footage into a fresh sequence set to match the clip at 1920 - green proxy render bar and loads of rendering time.
    So if there is any way I can grab my completed, edited timeline and somehow revert it and the footage back to full 1920 resolution, it would save me a load of time in rendering and output!
    Anyone any ideas??

    Hi Tom,
    Thanks for youe suggestion.  I did just that an the only discrepancy I can see between the footage and sequence settings seems to be in the audio format.  The sequence is 32 bit floating point whilst the footage is 16 bit integer.
    I can's imagine this will be the problem as if I start a new project and use the full 1980 clips,  I can export reference files no problem.

  • Changing resolution programmatically

    Hello all,
    Does anybody know how to change resolution programmatically using java.
    Even in C or C++ so that i can use JNI.
    I can get the resolution by
    java.awt.Toolkit.getDefaultToolkit().getScreenSize();
    but i am not able to set the resolution. Please suggest the solution for java 1.3

    Not currently possible. Planned for a future release.
    Regards,
    Jerry

  • In iPhoto '11 I cannot change the book settings. For example, adding page numbers. There is no "option" button as is suggested by the help item.

    In iPhoto '11 I cannot change the book settings. For example, adding page numbers. There is no "option" button as is suggested by the help item. How can I change to book settings?

    The "options" button should appear at the bottom of the iPhoto window, when you view your book, then the Book Settings Button should be available and you can activate page numbers.
    But remember, that the settings available will depend on the Book Theme you selected. The above shows the settings for one of the "Travel" themes. In a Picture Book Theme, e.g. you cannot add page numbers.
    What theme and book size are you using?
    Regards
    Léonie

  • TS1424 apple store,just wanted to check on how to change my area settings in itunes from United States to United Arab Emirates(that's where i stay).it got changed when i tried to download google maps from the US store in itunes.please help me out here.Tha

    Apple store,just wanted to check on how to change my area settings in itunes from United States to United Arab Emirates(that's where i stay).it got changed when i tried to download google maps from the US store in itunes.please help me out here.Thanks

    Please please help me, if you know how.

  • Why I can't change on the settings ,I cloud ,advanced l, mail and then email address there I can't change ? Help please

    Why I can't change on the settings ,I cloud ,advanced l, mail and then email address there I can't change ? Help please?

    You can't change that address by design, but Apple allows you to create another two addresses and use instead they call those aliases and you can create and use those different for different people with the same account. Instructions here
    http://support.apple.com/kb/ph2622

  • Change the Locale settings when scheduling the report with an Excel format?

    Hi,
    My reports have been scheduled with Excel format, however, when the report is viewed in Excel, the date fields are in the format "mm/dd/yyyy" i.e. English(United States) and they need to be in the format "dd/mm/yyyy" i.e. English (Ireland).
    I am wondering if there is any way to change the Locale settings within Business Objects?
    For the time being users have been advised to manually change the format within excel, however, this is not the preferred option.
    Any ideas?

    Hi,
    Thanks for the reply.
    The cell format is set as "Date dd/mm/yyyy" but it still runs as an Excel doc with the format mm/dd/yyyy.
    When I schedule the report to run as a Web Intelligence document and then manually export it to Excel, the Date format is correct i.e. dd/mm/yyyy.
    Any more ideas?
    Regards.

  • Mac Mail Issue: I was having trouble sending to hotmail accounts from my Earthlink account, they had me go into Mac Mail preferences and make changes, now Mac Mail doesn't work AT ALL - any help changing the settings back to correct Mac Mail settings? I c

    I was having trouble sending to hotmail accounts from my Earthlink account, they had me go into Mac Mail preferences and make changes (because they claimed it was Mac Mail's fault, even though the hotmail error code said it's because Earthlink is blocked by hotmail), now Mac Mail doesn't work AT ALL - any help changing the settings back to correct Mac Mail settings? I can provide a transcript of the entire tech chat session, if that will help...

    both apostrophes are used correctly, thanks
    doesn't = does not (this is called a contraction)
    it's = it is
    Mac Mail's fault = possessive
    any help with the actual issue? thanks!

  • Every time I sign in, it signs me out immediately. I've tried deleting the opm file and it's unable to do so because "Adobe CC is currently running this file." I've also changed my LAN settings and downloaded something else that was supposed to help me ou

    Every time I sign in, it signs me out immediately. I've tried deleting the opm file and it's unable to do so because "Adobe CC is currently running this file." I've also changed my LAN settings and downloaded something else that was supposed to help me out but nothing seems to fix the problem.

    I think you'll find that the official Adobe advice here is misguided.  First, deleting bits of the program and program data is, as you've noted, perilous and often impossible.  Shame on Adobe for doing such a poor job of coding that such steps are needed.
    The solution I recommend is as follows:
    Restart your Windows machine and boot in "Safe Mode" with networking using the F8 key just as Windows starts.
    Go to the Control Panel and select Programs. Find and Uninstall "Adobe Creative Cloud Desktop". 
    Reinstall it by downloading it from the website  https://creative.adobe.com/products/creative-cloud
    Restart your machine.
    Only in "Safe Mode" are you likely to be able to accomplish these tasks reliably.

  • How do I change compression settings without massive image distortion?

    So I took at file at 1920x1080i mistakenly edited it in a sequence with the Apple Intermediate Codec. When I tried to change the sequence settings, it resulted an incredibly condensed image. When I tried to copy and paste the edited clips into another sequence with the correct format, it resulted in the same thing. However, when I put the raw files into the same "correct" sequence, they looked fine.
    Is there any way for me to get the editied sequence to be 1920x1080i? I would HATE to have to re-edit the entire thing, but so far it seems my only option.
    Thanks

    Create a sequence with the settings you want (the correct settings).
    Return to you original sequence with the incorrect settings and click anywhere on the timeline.
    Type Command + A to select all the clips.
    Once selected, type Command + C to copy the clips.
    Now go to your newly created correct (empty) sequence, and click anywhere in the sequence.
    Type Command + V.
    If the clips are distorted or sized incorrectly in the new sequence, click anywhere on the timeline and type Command + A to select all the clips.
    One selected, Control-click on any one of the selected clips, and from the drop down menu choose "Remove Attributes"
    When the Remove Attributes pane opens, check the boxes for Basic Motion and Distort, if available.
    Click OK. This should modify all the clips that were selected (the entire timeline).
    Does this help?
    MtD

  • I have a mac 10.5 and need help figuring out how to change my email settings so it does not automatically delete my inbox every 30 days.  How to I adjust the mail settings?

    I have a mac 10.5 and need help figuring out how to change my email settings so it does not automatically delete my inbox every 30 days.  How to I adjust the mail settings?

    I think it must be an IMAP account then, & in Mail>Preferences>Accounts>Advanced>Keep copies for Offline viewing:>Don't keep copies, then on the Server, or maybe it's just this one itself, but on the Server you have a setting to remove eMails after 30 days.
    If it's a POP account we'd have to investigate that... but you didn't say so I'm guessing here.

Maybe you are looking for

  • HELP!! Mail won't open, keeps crashing!

    Hi Guys, All of a sudden when I open mail it opens up, I see a screen, then 1 sec later it crashes. I can't get to my mail now. I did an archive and a reinstall and nada. I also removed spam sieve and still it crashes, repaired permission, ran script

  • How to use trigger to catch the sum of a column is greater than 1

    Here is my problem. I create a table, which is preference( name char, percentage real); the sum of the percentage for some user(name) should be 1; And one user can have many records in the table as needed. I should to validate the insert data which i

  • Error message when installing the OS Lion.

    When trying to install the OS Lion an error message occurred saying "The software could not be verified. It may have been corrupted or tampered with during downloading." On the app store it says it was already installed.  What could be the problem? W

  • "Error = -39" while trying to download podcast-episodes

    It seems that lately, more and more episodes from podcasts that I'm subscribed to won't download, giving an error: "(error = -39)" (or fout = -39, since I'm using the Dutch version of iTunes). *What does this error mean?* When I open the feed of such

  • To get Query cost

    Hi all, Am having postgres as database.In order to find the query cost i use explain and then give the query.At this juncture i have couple of doubts : 1) What is the difference between hash join and merge join 2) What is to be considered, to arrive