stefanlechner
Programmer
Hi all,
I added the function PrintToFile instead of BeginDoc to the standard TPrinter component. It does nothing else than also fill in the lpszOutputName in the TDocInfo structure.
That's no problem and works fine.
But now I've a general question about printing to files.
Does windows block the EndDoc function until the file has been entirely written to the disk, or do I need to check the job state ?
Any ideas ?
thanx in advance
Stefan
I added the function PrintToFile instead of BeginDoc to the standard TPrinter component. It does nothing else than also fill in the lpszOutputName in the TDocInfo structure.
That's no problem and works fine.
But now I've a general question about printing to files.
Does windows block the EndDoc function until the file has been entirely written to the disk, or do I need to check the job state ?
Any ideas ?
thanx in advance
Stefan