Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing to a file

Status
Not open for further replies.

stefanlechner

Programmer
Jun 5, 2001
7
DE
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top