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 19:59:40
 
 
À
15/11/1999 18:34:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00291255
Message ID:
00291343
Vues:
24
>>
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform