parallel port proramming for sun ultra

Hi I'm trying to look for information about reading/writing to the parallel port of a Sun Ultra 5 running Solaris 8. I'd just like to see some basic programs written in C, nothing fancy, just reading and wrting to the port, getting the port address etc. toggling the lines.
I've tried searching for this information and there is plenty of information about PC parallel port programming with windows or Linux. But there seems to be little for Sun's

Thanks if you can help.

:slight_smile:

I don't see much either. Solaris 9 has "man prnio". Prior to that "man ecpp" is all I see.

Is there any way that I can just read or write 8 bit data from the parallel port while its in ECPP_DIAG_MODE.