Controlling Parallel Ports

I have a project which may require me to write to parallel ports in order to control legacy hardware. I am hoping this can be circumvented, but wanted to check whether this might be possible on either Windows or OS X through a C plugin? Specifically whether this is possible from the Corona side of things, I can’t image the C side causing any issues.