General information
Category:
Windows API functions
>>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only