In a follow up to thread "Active Printer Ne Issue: Moved from XP/Office2003 to Win7/Office2007"...
The NE0 number for Acrobat changed again over the weekend. I finally searched and found code that will programatically identify the NE0 number so that I don't have to hard code the value and hopefully this will allow printing to PDF to work in the future without having to occasionally search for the NE0 number.
Here is the link to the code for identifying the Printer Number:
In the actual code for doing the printing, make the following change:
to
The NE0 number for Acrobat changed again over the weekend. I finally searched and found code that will programatically identify the NE0 number so that I don't have to hard code the value and hopefully this will allow printing to PDF to work in the future without having to occasionally search for the NE0 number.
Here is the link to the code for identifying the Printer Number:
In the actual code for doing the printing, make the following change:
Code:
Application.ActivePrinter = [red]"Adobe PDF on Ne04:" 'or whatever Ne0 number it is[/red]
Code:
Application.ActivePrinter = [red]FindPrinter("Adobe PDF") [/red]