Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking LPT1 printer online
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00308803
Message ID:
00312713
Vues:
51
>Andrus,
>
>I have been looking at some stuff, and its possible the EnumPrinter API call will give you a status on the printer, if you ask for a PRINT_INFO_2 struct.
>
>I have gotten side tracked, and I am also getting up to speed with Christof's struct class in order to access this API call, so I haven't verified this yet.
>
>Its documented in the MSDN lib if you are interested.
>
>HTH,

Bill,

You can get the same structure info from the GetPrinter() API call. Unfortunately, it's been my experience that the status member of the structure is only valid during the course of printing something.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform