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

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

Instances of Printer are not deleted

Post by AnMuWK »

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: 8371
Joined: Wed Jan 03, 2018 6:52 pm

Re: Instances of Printer are not deleted

Post by TrackerSupp-Daniel »

Hello AnMuWK,

Please see this article: https://www.pdf-xchange.com/knowle ... pplication

Let me know if this helps!
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
Post Reply