You can't (as far as I know). IRQs are a voltage level on a wire, and they tend to be rather like inputs in nature.
However, you can wire together two pins of the parallel port (say, connecting the data pin bit 0 to the interrupt pin). You can then trigger an interrupt just by writing to that data pin. Probably a good idea to use a series resistor to prevent you from blowing up the port as well, and you're limited to whichever IRQ line the parallel port is connected to (see /proc/irq), but it should work (after you enable parallel port IRQs in the status register).
See
http://www.tldp.org/HOWTO/IO-Port-Pr...g-6.html#ss6.1 for more.