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
PDF aggregation
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
Re: PDF aggregation
Please consider this issue resolved. Programmer error.