Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communicate with parallel port
Message
De
11/12/1998 00:04:52
 
 
À
11/12/1998 00:01:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00166401
Message ID:
00166431
Vues:
23
>>>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.
>
Hi Vlad,

Yep, but whether it's an escape sequence or other ascii code, I still think you have to use the ?? operator rather than @SAY...

What are you doing awake at this hour?

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
Répondre
Fil
Voir

Click here to load this message in the networking platform