PDF aggregation

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

PDF aggregation

Post by gjw31 »

I have a problem in printing 3 successive 'files' in append mode and saving the results to disk.

Background.

1. .NET 2.0 application
2. C#
3. Windows XP Pro/Windows 2003
4. Printing reports from Crystal reports and saving to disk via the API.
5. Print 3 reports one after the other, in append mode.
6. Wait until the OnFileSaved event confirms the file is saved between prints.

If I step through the code in debug mode the final result is absolutely correct.

If I execute the code without debugging the final result is corrupted every time.

Putting a sleep in the OnFileSaved event to simulate the delay in stepping through the code makes no difference.
The OnFileSaved event is trapped every time.

I have tried using the same virtual printer for each file and also the one virtual printer for all files.

Regards

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

Re: PDF aggregation

Post by gjw31 »

Please consider this issue resolved. Programmer error.
Tom - Tracker

Re: PDF aggregation

Post by Tom - Tracker »

Thanks for letting us know :)