Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PrintStatus() always returns .T.
Message
 
 
À
16/03/2007 11:40:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01204202
Message ID:
01204619
Vues:
21
>> This returned Ready for one printer and no status for others...
>I also get ready for one printer but nothing for others.
>And the only one printer with status ready is the local one who is disconnected (OFF). Then all is wrong again with that code.

Well, according to Sergey Re: Printer Status Thread #1118502 Message #1119276 the status is not determined by this method and according to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_82cy.asp.

It looks like http://vb.mvps.org/samples/project.asp?id=PrnInfo site was a bit changed. I didn't try to download the file and look into it myself, but may be you can do it and see, what changes have to be done in the code to make it work reliably?

See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_1gky.asp
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform