We use Raster-XChange to generate tiff-based custom reports for our customers. We have noticed that if our application crashes, it orphans a printer instance which is visible from the Windows Printers And Faxes dialog. During testing of our application on Windows7 we were unable to generate a tiff file with Raster XChange if one of these orphaned printers existed. We also notice that PDF-XChange has an interface that exposes a RemoveOrphanPrinters method that cleans up these orphaned instances. We see no such method for Raster X-Change. While we wish our app would never crash, the reality is that it will at some point for some users and we need a programmatic way of removing orphaned instances of Raster XChange. What do you suggest?
Here’s our sample code for instantiating a Raster XChange printer:
this is definitely a question that the dev team are going to have to answer. Unfortunately Easter is upon us and it may be next week before you get an answer. If you are OK with that I'll let this post sit until then otherwise please let me know and I'll see if I can't find someone to take a look,
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Orphaned Raster-XChange printers are deleted automatically in about 10 minutes after the COM client crashes. They are also deleted on spooler restart.
I'll add your request for a programmatic method to the next release schedule of Raster-XChange.
Tracker Software Products
Please ZIP any files uploaded to this forum or they will not be posted !
You may also use a RAR or 7Z archive format