Sending a byte to the parallel port

Greetings,

A sort of newbie question...

I would like to control a couple of stepper motors via the parallel port using C code. I have discovered in Linux, the ioperm() function is required before the outportb() function can be used to send a byte to the parallel port. My problem is ioperm() can only be executed as root. I have discovered setuid is frowned upon to get root privlidges. Can anyone suggest a simple way to send a byte to the parallel port (with code examples if possible?)

I'm using Fedora 10

TIA

My linux installation has /usr/include/ieee1284.h

Functions include ieee1284_open, _close, _read_data, _write_data, _wait_data, etc.

YMMV

HTH