Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communicate with parallel port
Message
De
10/12/1998 23:51:45
 
 
À
10/12/1998 23:28:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00166401
Message ID:
00166428
Vues:
28
>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
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform