Page 1 of 1

Windows 10 - Orphan Drivers not cleaned up.

Posted: Wed May 02, 2018 7:28 pm
by sooprcow
My company is seeing an uptick in reports from our customers who are using Windows 10 that PDF generation is not working at all. When digging into this a bit we've noticed that drivers are being orphaned. See the attachment below for a screenshot of an extreme example of this.

We are calling the "RemoveOrphanPrinters" function on the COM object but it just doesn't seem to do anything. We are aware that we're using an older version of the PDF-XChange driver (4.0 build 195) but we're hopeful we can find a solution that doesn't involve upgrading to a newer version of the tool.

Thanks

Re: Windows 10 - Orphan Drivers not cleaned up.

Posted: Wed May 02, 2018 7:41 pm
by TrackerSupp-Daniel
Hello sooprcow,
I notice that all except one of the print queues in your list there are from competitors products.
Can you confirm that ours is also causing this problem?

Re: Windows 10 - Orphan Drivers not cleaned up.

Posted: Wed May 02, 2018 8:37 pm
by sooprcow
The "RcApiPDFDriver" and the "UltramatePDFDriver" are the orphaned instances of your "PDF-XChange 4.0" driver that we instantiate programmatically via the CPXCControlEx's GetPrinter(..) function. Both are from the same the same application but use different workflows.

Re: Windows 10 - Orphan Drivers not cleaned up.

Posted: Thu May 03, 2018 6:46 pm
by TrackerSupp-Daniel
Hi again sooprcow,
Can you validate that you have used the "RemoveOrphanPrinters" function as detailed in this article?
https://www.pdf-xchange.com/knowle ... pplication
It seems that iPXCC.RemoveOrphanPrinters('') needs to be called before iPXCC.Get_Printer in order for it to work.
Waiting patiently for your response
~

Re: Windows 10 - Orphan Drivers not cleaned up.

Posted: Thu May 03, 2018 8:10 pm
by sooprcow
Yes, I can confirm that is the function we're calling and that we're calling it before the GetPrinter call.

Re: Windows 10 - Orphan Drivers not cleaned up.

Posted: Fri May 04, 2018 9:42 pm
by Roman - Tracker Supp
Hi sooprcow,
We will try to reproduce the issue and figure out further steps on this.

Re: Windows 10 - Orphan Drivers not cleaned up.

Posted: Thu May 10, 2018 3:55 pm
by sooprcow
Any status update on this one?

Re: Windows 10 - Orphan Drivers not cleaned up.

Posted: Thu May 17, 2018 11:40 am
by Tracker Supp-Stefan
Hello sooprcow,

Roman is in our Canadian office, and it's currently the middle of the night there, but I will leave him a note and ask him to post an update here as soon as he can later today!

Cheers,
Stefan

Re: Windows 10 - Orphan Drivers not cleaned up.

Posted: Thu May 17, 2018 5:28 pm
by Roman - Tracker Supp
Hello sooprcow,
Can we arrange a remote debug session on one of your machines that has this issue?
See here for details.