Nicholas,
&h0378 is the most common port address for LPT1, but it could use any
port address, and many newer boards do. E.g., I know of two LPT
adapters that use port addresses &hD010 and &hD100.
Typically, you may find the LPT port address from the Windows Device
Manager, on the Resources tab for your LPT adapter. Note however that
this may not work in all cases, we had one LPT adapter that did not show
a Resources tab, and we had to resort to other tricks to find the port
address in that case (I don't remember the trick offhand).
If at all possible, however, I would revise the program to use the much
superior Task Events feature. Then you would not need to deal with port
addresses anymore.
---------------
David McFarlane
E-Prime training online:
http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (
https://twitter.com/EPrimeMaster)