I want to programmatically access Adobe's default print folder location if such is set. Is there a way to do that with C#?
I think I will be fine with just knowing what its set to, but if its possible to set this setting from my app, then that would be great too.
Thank you,
I sorry, but I don't think that's possible.
You cannot directly set any of these options (in any case, print driver options are very problematic as they are handled by a level of indirection in Windows and the registry keys can vary).
https://forums.adobe.com/thread/1079735
Most of the settings in that dialog box live in the registry at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\Adobe PDF
and
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\Adobe PDF\PrinterDriverData
Specifically, the "Port" key which has Documents\*.pdf
is the one you want.
Note: Since these are HKLM keys, they will require administrator rights to change
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With