Cannot print to a networked printer

I have a MacBook running on Mac OSX Snow Leopard. I have tried connecting to a network that has a printer and although my computer is connected, I cannot send anything to the printer. All my friend’s laptops are working fine, I have counterchecked their settings with mine, and nothing seems to be wrong. What could be the cause of this problem? Is there a way that I can solve it?
