Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing data to lpt port using CreateFile(), is it possi
Message
From
17/04/1998 14:20:08
 
 
To
16/04/1998 04:19:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00092263
Message ID:
00092979
Views:
32
>Hi Andrus,
>If you're trying to print plain ASCII such as .prg or .txt you could use :
>

>set headings off
>set console off
>type myfile.ext to printer [prompt]
>set console on

Cetin,

type replaces non-printable characters.
How to send pure binary data dynamically (after each key pressed from keyboard) to lpt port? Converting each keypress to file and send this through DOS is too slow. "???" command seems not to work always. For com, i found opencomm()/writecomm(). Are such things available to lpt also?
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform