Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing data to lpt port using CreateFile(), is it possi
Message
De
17/04/1998 14:20:08
 
 
À
16/04/1998 04:19:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00092263
Message ID:
00092979
Vues:
34
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform