Yep but you cant just use a PC supply just like that, you need to short some pins so it will start and sometimes you need to introduce a load so the voltage will be stable. If you have the money get a nice LED power supply from ebay. If you want it faster I have also seen them on Amazon but they cost a bit more.
A 12volt 30a supply should be able to supply both your printer and the heat bed.