threads support

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF PrintManager for .NET (v2)  /  Re: threads support

DynamicPDF PrintManager for .NET (v2) Forum

 May 11 2014 8:43 PM
hello,

we are intresting to purchase the printmanager product and would like to know if the printmanager is thread safe.

thank you..
 May 12 2014 8:49 AM
Posted by a ceTe Software moderator
Hello,

Yes, PrintManager for .NET library is thread safe.

Thanks,
ceTe Software Support Team.
 Jul 07 2017 5:44 AM
When I do something like

        private void printParallelFromMemeory(List<byte[]> listPDFdocs1, string printer)
        {
            Parallel.ForEach(listPDFdocs1, (pdfBytes) =>
            {
                InputPdf pdf = new InputPdf(pdfBytes);
                PrintJob printJob = new PrintJob(printer, pdf);
                printJob.Print();
                pdf.Dispose();
            });
        }

The printed documents do not print properly, sometimes pages are missing and other times pages are blank.
How to I print simultaneously to the same printer from different threads?
 Jul 07 2017 6:02 AM
I have tried it with both version 2.0.2.31598 and 3.0.0.32865 with the .net 40 64bit dll
 May 02 2018 2:51 PM
Posted by a ceTe Software moderator - Commonly asked question
Hello,

We have released a new build v3.0.1.35763 that fixes this issue. You may download it from the product page if you are evaluating the product. If you have a valid license, you can download it from the customer area.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 4:55 AM.