Lots of simple electronic circuits to output pulses - i.e. a square wave. Using a 555-timer is one easy option... but you might as well just connect it up to the parallel port. Assuming the driver is opto-isolated it's likely to work connected directly.