Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A way to determine whether a report has finished printin
Message
From
15/11/1999 19:59:40
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00291255
Message ID:
00291343
Views:
25
>>
>>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...

Seems to me that you still can't guarantee that it will always work. The printer will have to provide that information back to the OS. I know, for example, that our HP 4 will hold several pages in memory, but the OS thinks that print job is complete, when in fact it isn't.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform