Posted 23 January 2024, 11:13 am EST
Hi, i have this problem when i try to print pdf files,
i think the problem is about dll version.
C1PdfDocumentSource pdfDocumentSource = new C1PdfDocumentSource();
pdfDocumentSource.LoadFromFile(path_file);
var localPrintServer = new LocalPrintServer();
var printQueue = localPrintServer.GetPrintQueue(printer_name);
var printoptions=new C1PrintOptions();
printoptions.PrintQueue = printQueue ;
pdfDocumentSource.Print(printoptions);
-
In a simple application everything works, I installed only the wpf library (c1.wpf.document)
last version (8.0.20233.702) and the active report dependencies automatically installed are 5.2.0.800 version -
In the real application i have both wpf and active reports library (last version)
wpf (8.0.20233.702) and active reports (17.2.2), here i receive the error “Object reference not set to an instance of an object”
can you confirm that the problem is the active report dll version ?
and eventually help me to manage these two versions needed ?
Thanx