I want to send a byte ,word something to the LPT . Do u know how can i use the LPT ? Can i use some windows functions or i should use some old stuff (port's and linke ) ?
Posted on 2002-03-29 18:44:24 by Rosky
Rosky,

From memory, you can just open "LPT1" as a file and send byte data to it.

Regards,

hutch@movsd.com
Posted on 2002-03-29 19:13:24 by hutch--
Or just




mov edx,378h
in al,dx
and eax,011110111b
out dx,al



for win 9...
Posted on 2002-03-30 04:08:12 by forge
Afternoon, Rosky.

I've attached a proggy which uses the windows print dialog. It just prints text to the printer.

Cheers,
Scronty
Posted on 2002-03-30 04:35:17 by Scronty