Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect if a printer is offline or online
Message
 
À
24/07/2002 09:41:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00681960
Message ID:
00682226
Vues:
28
You're right. I never considered that. Is there an API that can do it?

Thanks,
Arriyel

>Meseems this is the same as PrintStatus() - Windows will always report that the printer is on-line (if the printing queue is enabled).
>
>Hilmar.
>
>>Hi,
>>
>>Have you tried SYS(13)? It returns the status of the current printer.
>>
>>HTH,
>>Arriyel
>>
>>>Any one who knows a function to detect if a printer is online of offline?
>>>The printstatus() function of foxpro always returns online even if the printer is not connected or offline.
>>>
>>>I need a function to detect if the printer is offline because in one of my transaction module i want to require the user to make the printer online before proceeding to transaction.
Speak using soft and sweet words in case you have to eat them later.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform