Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6: Checking for LPT port status
Message
De
03/01/2001 15:42:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00458542
Message ID:
00459096
Vues:
25
David,

Do you have any documentation for the printer?

You might be able to open the port, send the appropriate escape code and read the response. I think you can still talk to directly to parallel and comm ports with the FoxPro low level file functions.

Jim



>According to the Hacker's Guide to VFP 6.0, SYS(13) and PRINTSTATUS() always return READY or .t..
>
>>David,
>>
>>Have you tried SYS(13)?
>>
>>Jim
>>
>>
>>>I am sending a text file to a Zebra Z4000 label printer. The problem is if the printer is off or not connected then my app locks up and it is not responding. I am using the CopyFile Win32API function to print. Any ideas?
>>>TIA!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform