'How to set active printer to microsoft print to pdf without the "on XXXX:"
I'm needing to set my printer to "Microsoft Print to PDF" but how would I know which port it will be on? It could be different on another machine. I need to it to be able to set it without knowing the port "on XXXX:" part like this:
Application.activeprinter = "Microsoft Print to PDF"
Any help would be appreciated. Thanks
?ActivePrinter 'show active printer "XXXXXX on XXXX:"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
