Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PrintStatus() always returns .T.
Message
 
 
À
15/03/2007 16:01:32
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:
01204206
Vues:
23
>I did a SET PRINTER TO NAME MyLocalPrinter.
>I checked with SET('printer',3) to make sure.
>Everything was ok... then PrintStatus() return .T.
>I put printer offline... then PrintStatus() return .T.
>I put printer OFF... then PrintStatus() return .T.
>I disconnect printe... then PrintStatus() return .T.
>I put the printer in the garbage... and PrintStatus() return .T. again :-(
>Why?

It almost never returns .f. There is no easy way for checking printer status from VFP, though this topic was discussed here several times.

See Re: Printer Status Thread #1118502 Message #1118795 for solution.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform