What model printer is it exactly? You might have to play with the wiring to get it to work correctly, sometimes you need a null modem cable or other times you need a straight through cable. Try to check the manual.
Also make sure your COM ports are enabled in the BIOS.
<i>It's always the one thing you never suspected.</i>