Windows 10 - Orphan Drivers not cleaned up.

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
sooprcow
User
Posts: 15
Joined: Fri Oct 01, 2010 3:25 pm

Windows 10 - Orphan Drivers not cleaned up.

Post 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
Attachments
UM and MC PDF driver malfunctioning.jpg
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8371
Joined: Wed Jan 03, 2018 6:52 pm

Re: Windows 10 - Orphan Drivers not cleaned up.

Post 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?
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
sooprcow
User
Posts: 15
Joined: Fri Oct 01, 2010 3:25 pm

Re: Windows 10 - Orphan Drivers not cleaned up.

Post 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.
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8371
Joined: Wed Jan 03, 2018 6:52 pm

Re: Windows 10 - Orphan Drivers not cleaned up.

Post 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
~
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
sooprcow
User
Posts: 15
Joined: Fri Oct 01, 2010 3:25 pm

Re: Windows 10 - Orphan Drivers not cleaned up.

Post by sooprcow »

Yes, I can confirm that is the function we're calling and that we're calling it before the GetPrinter call.
User avatar
Roman - Tracker Supp
Site Admin
Posts: 302
Joined: Sun Nov 21, 2004 3:19 pm

Re: Windows 10 - Orphan Drivers not cleaned up.

Post by Roman - Tracker Supp »

Hi sooprcow,
We will try to reproduce the issue and figure out further steps on this.
sooprcow
User
Posts: 15
Joined: Fri Oct 01, 2010 3:25 pm

Re: Windows 10 - Orphan Drivers not cleaned up.

Post by sooprcow »

Any status update on this one?
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17765
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Windows 10 - Orphan Drivers not cleaned up.

Post 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
User avatar
Roman - Tracker Supp
Site Admin
Posts: 302
Joined: Sun Nov 21, 2004 3:19 pm

Re: Windows 10 - Orphan Drivers not cleaned up.

Post 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.
Post Reply