Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A way to determine whether a report has finished printin
Message
De
15/11/1999 21:36:09
 
 
À
15/11/1999 19:59:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00291255
Message ID:
00291355
Vues:
23
>>>
>>>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.

Yep, our 5si's definitely report early completion, but request a resent if they run out of paper or jam.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform