In order to create the circuitry below, you need a computer software that will control your parallel port. It will cost you about 30 US$. For example, a transistor (model number 2N2222) costs ~50, a DPDT relay, ~1. 75$ (this is maybe the most expensive....