Quantcast
Channel: Adobe Community : Unanswered Discussions - Acrobat
Viewing all articles
Browse latest Browse all 73766

Error (InvalidArgsError) when Printing to a file with Adobe Acrobat 9.0 Interop SDK

$
0
0

Hi,

 

i am getting a error (Invalid arguments) when trying to print to a file with the Adobe Acrobat  SDK 9.0. When i use Adobe Acrobat 7.0 it works correctly. I set the fileName Property as follow:

 

printerParamsType.InvokeMember("fileName", BindingFlags.SetProperty, null, printerParams, new object[] { path2RawFile });

 

fileName has the value:  /c/temp/Rawfiles/df76eccc-2465-4f60-a4e7-d11d8da6ed64.prn

   

[9464] System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.Runtime.InteropServices.COMException (0x000003E9): InvalidArgsError: Invalid arguments.

 

thanks


Viewing all articles
Browse latest Browse all 73766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>