>>I need a way to know if a report has in fact been sucessfully printed. I can't see how VFP can know this, although I would guess you could, through the Win32 API, check the print queue to see if a job
>>is finished. Anybody have any suggestions or code to do this?
>>
>>Thanks
>
>I don't think there is a way to absolutely be sure, even going through the Win API. The report could spool to the printer and Windows would think it printed.
There are ways to do this, but it involves spooler interaction through the API, and it gets complex when networked printers are involved. Bela Bodecs produced an FLL that changed the name of print jobs, so he obviously accessed the spooler interface, as File#
9319, and he provided source, so this might be a good place to start...