A few questions
1 Have you installed the printer driver on all PCs?
2 Have you set the printer up as shared
3 I assume that the printer is connected to the desktop pc, if so is that pc switched on whilst trying to print from say the laptop.
4 When the above have been checked try test printing from each of the pcs to the printer