Instances of Printer are not deleted

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, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan

Post Reply
AnMuWK
User
Posts: 6
Joined: Thu Dec 19, 2019 2:20 pm

Instances of Printer are not deleted

Post by AnMuWK » Thu Dec 19, 2019 7:52 pm

We are using the Printer SDK to created new Printers and e.g. print to a specific filename or add an overlay to PDF files.

In the moment we call CPXCControlEx.get_Printer(...) a kind of copy of the printer is created, which then is named "PDF-XChange Standard V7 (1)". So far so good.

Our Problem now is, that this instance is not deleted at a specific time. Some of our customers have to Restart the Spooler Service, than all instances are gone and only the main/original instance is left.
Especially on a terminal Server (which normally wont get restartet) many Printers are then in the list of Printers e.g. when you want to print a word document. That is Kind of anoying for our customers.

In the software we know exact the moment when we do not need the printer anymore. Is there a specific call to the api we can make so that the instance will be deleted?

We tried this with the latest release we could download today from your website. We also used the sample app you are providing and it also happens there. Even if the process already has shut down, the printers still are left in the system.

Happens on several windows versions, desktop or client.

We are using C# and COM objects to access printers.

Best Regards
Andreas

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 3165
Joined: Wed Jan 03, 2018 6:52 pm

Re: Instances of Printer are not deleted

Post by TrackerSupp-Daniel » Thu Dec 19, 2019 8:06 pm

Hello AnMuWK,

Please see this article: https://www.tracker-software.com/knowle ... pplication

Let me know if this helps!
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Post Reply