in reply to Writing to LPT1 in Win32

I guess it would be much better to use Device::ParallelPort than to try some lowlevel ways. Windows usualy do not like treating serial or parallel ports as normal files.

Jenda
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
   -- Rick Osborne

Edit by castaway: Closed small tag in signature