what is the cord needed to plug into my printer from my computer
A parallel cable contains one 25-pin connector with pins on one end that plug into your computer's parallel port and a 25-pin connector on the other end that doesn't contain pins that plugs into your printer. You cannot swap the cable's ends, since the cable's ends fit in only one way.