Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communicate with parallel port
Message
De
11/12/1998 00:01:09
 
 
À
10/12/1998 23:51:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00166401
Message ID:
00166429
Vues:
22
>>Try:
>>
>>SET PRINTER TO LPTx
>>SET DEVICE TO PRINTER
>>
>>And use @...SAY commands to send data to printer.
>>
>Hi Vlad,
>
>Actually, I believe you will have to use the ?? operator to send escape codes to a printer, i.e.
>
>SET PRINTER ON
>SET PRINTER TO LPTx
>?? CHR(27) + CHR(XX) + CHR(YY)
>
>Used to work in DOS, anyway.
>
>regards,
>
>jim

I believe you don't need to send escape sequences if the device on lpt is not a printer. Just the ascii codes needed to control the device.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform