Howto write on parallel port
Liakakis Kostas
kostas at rincewind.techpath.gr
Thu Mar 27 00:56:16 EET 1997
On Tue, 25 Mar 1997, Compulink Gateway of Florina wrote:
> Gia xara se olous
>
> 8a h8ela an 3erei kaneis na mou pei pws mporw mesa apo
> kapoio programma grameno se C na grapsei dedomena
> kateu8eian sthn parallhlh porta (LPT1 h LPT2).
> Dokimazw me thn outp kai thn outportb alla den yparxoun
> se kamia library sto linux.
Anoigeis to /dev/lp1 me open() kai grafeis ekei. Apo thn allh mporeis
apla na kaneis system("cat datafile > /dev/lp1");
- -K.
==================================================================
For help on using this list (linux-greek-users), send a message to
"majordomo at argeas.argos.hol.gr" with one line of text: "help".
For any problem send e-mail to owner-linux-greek-users
==================================================================
More information about the Linux-greek-users
mailing list