drivers api on windows 2003 server

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: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange

gjw31
User
Posts: 23
Joined: Wed Oct 18, 2006 4:40 am

drivers api on windows 2003 server

Post by gjw31 »

I have developed an application that generates invoices and uses the pdf-xchange driver api to 'print' files to disk.

The application is written in C# in .NET 2.0. I have attached a class that encapsulates the api / printing process. This class is instantiated once per invoice run amd is closed at the end of the run.

The development environment is windows xp pro.

When I execute the app on the development machine it works perfectly (100's of invoices).

When executed on a windows 2003 server the print to disk process regularly 'hangs'. (The runtime distribution has been installed).
Occasionally the invoice print run completes successfuly; other times it hangs at different points in the invocing process.

Any advice on what might be happening and/or suggestions to debug this?

gjw
You do not have the required permissions to view the files attached to this post.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: drivers api on windows 2003 server

Post by Ivan - Tracker Software »

1. Which build of the driver do you use?
2. Please try to turn off option 'AutoUnload' into the driver (run pdfSaver4.exe with command line parameter /Show, and on Setting page uncheck "Auto Unload" option).
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
gjw31
User
Posts: 23
Joined: Wed Oct 18, 2006 4:40 am

Re: drivers api on windows 2003 server

Post by gjw31 »

as per pdfSaver the build is 0149.

Unfortunately I cannot use pdfsaver on the windows 2003 server until tomorrow (7:30pm here now).

Do pdfsaver settings affect use of the api in code? that is, does this establish default behaviour that may be overridden in code?

What is the expected result of changing the autounload setting?

gjw
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: drivers api on windows 2003 server

Post by Ivan - Tracker Software »

pdfSaver is a part of PDF-XChange driver. Its task is to produce PDF files from the data generated by the driver.
Also, pdfSaver is a COM server for driver's ActiveX control.
Sometimes, when AutoUnload is turned on, it is possible that pdfSaver will unload itself when it should not do this.
We are working on fixing this, and turning off the AutoUnload feature is a workarround for now.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.