Hi,

Can any body tell me how to use winio in case the parallel port is a parallel printing cable(bafo 1284).
I want to use this as a parallel port to access PIC programmer from my laptop. My laptop is having XP operating system.

Best regards
rohit
Posted on 2010-01-03 01:14:09 by rohitd
rohitd,

Since you are using a parallel port emulator, I'm not sure that using WinIO will work--it might but I would suggest using standard Windows calls:

CreateFile - use LPT# as the filename and windows will take care of the translation to the cable you are using
WriteFile
etc.

I do this with both USB->Serial port cables and USB->Parallel port cables. 

See this post for further info that might help:

http://www.asmcommunity.net/board/index.php?topic=21143.msg160418#msg160418

hth,

farrier
Posted on 2010-01-03 10:07:15 by farrier