Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Communicate with parallel port
Message
From
11/12/1998 00:04:52
 
 
To
11/12/1998 00:01:09
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00166401
Message ID:
00166431
Views:
15
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform