
It’s not uncommon to come across a PDF file that demands an advanced PDF reader. P.StartInfo.Arguments = "/t \"Label.pdf\" \"HP4000\" \"HP LaserJet 4100 Series PCL6\" \"out.If you’re looking for a powerful program to read PDF files, I’d like to recommend Adobe Acrobat Reader. P.StartInfo.FileName = Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" Probably using the CreateNoWindow of the Process StartInfo. (Here are the docs on registry keys involved regarding PersistentHandlers) Problem 2 I'm not 100% on any of this, but seems plausible (though you're going to have to verify on multiple environments to confirm that in-fact locates the process you're looking for). Within that key you can look for LocalServer32 and find the default string value pointing to the current exe path. Either the CLSID folder of the same key, or (for 64 bit systems) one step down in Wow6432Node\CLSID then in that CLSID's key.

In HKEY_CLASSES_ROOT\.pdf\PersistentHandler\(Default) you should find a CLSID that points to a value found in one of two places.

You may be able to work your way around the registry. = ", flagNoSplashScreen, flagOpenMinimized, flagPrintFileToPrinter) = Files (x86)\Foxit Software\Foxit Reader\Foxit Reader.exe" This is the code I'm using to print via FoxIt in C#: Process pdfProcess = new Process() I ended up bailing on Adobe Acrobat here and going with FoxIt Reader (Free pdf reader) to do my pdf printing. Is there any other solution besides going out and killing the process programmatically? It prints out fine but it still leaves the acrobat window up.

I'm trying to launch adobe acrobat from the command line with the following syntax:Ĭ:\Program Files (x86)\Adobe\Reader 10.0\Reader>AcroRd32.exe /t "Label.pdf" "HP4000" "HP LaserJet 4100 Series PCL6" "out.pdf" I thought that the command line parameters I was using would suppress all of this but apparently not. My second problem is the fact that whenever I launch acrobat and print it still leaves the acrobat window open. I'm also concerned with them installing this on machines with different versions of windows (install paths are different in 64 bit environment vs. Is there an easy way to launch the newest version of acrobat on a machine without specifying full path names? I'm worried that the client is going to do an update and break my code that launches this. I assume it doesn't add it to your path when you install it.

The first issue is that I cannot launch Adobe Acrobat without specifying the full path to the executable. I'm printing the pdfs using Process.Start(). I'm having 2 issues when trying to print a pdf silently in C# using adobe acrobat.
