Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

access Adobe Printing Preferences output folder

Tags:

c#

printing

adobe

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.

enter image description here

Thank you,

like image 865
konrad Avatar asked Jul 06 '16 17:07

konrad


2 Answers

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

like image 90
Mikael Avatar answered Sep 20 '22 10:09

Mikael


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

like image 43
egray Avatar answered Sep 20 '22 10:09

egray