What you're trying to use is the feature called by Apple AirPrint. You have to have a recent printer which can connect wirelessly. Most older printers don't do that.
However, you might look into the excellent program called Printer Pro which works with most other printers. It costs about $9.99 in the US.