Results 1 to 4 of 4

Thread: Change PDFCreator's ghostscriptversion with VBA

  1. #1

    Question Change PDFCreator's ghostscriptversion with VBA



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hi,

    I've installed two versions of Ghostscript (9.00 & 9.04) with my PDFCreator (ver. 1.2.0 ). Can I change/select the ghostscript-version with VBA, when creating a PDF?

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,251
    Articles
    57
    Blog Entries
    14
    Excel Version
    Excel Office 365 Insider
    I don't believe so. I would have thought that 9.04 would actually overwrite 9.00 on the install to be honest...

    Is there a reason why you'd want to change the ghostscript version at run time?
    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training) or with my book M is for Data Monkey!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  3. #3
    I've to produce multiple PDF for a customer and it seems, that PDF´s could not be opened. The PDF´s, that caused problems were those, produced with 9.04 Ghostscript.
    I can´t uninstall the 9.04 because of missing admin-rights. I've now a "workaround".
    If PDF creator starts to create PDF´s, it uses one of the two installed ghostscript versions for all created PDFs and did not change this. The used version I can query. If it doesn´t match 9.00 the procedure ends with a message. The user can manually change the version and restart. The change of the version seems to be saved within the userprofile of windows.

  4. #4
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,251
    Articles
    57
    Blog Entries
    14
    Excel Version
    Excel Office 365 Insider
    Cool, glad you got it sorted.

    Interesting that the Ghostscript versions can co-exist, and also that they produce different results. I wouldn't have expected either.
    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training) or with my book M is for Data Monkey!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •