Yes you can. All you need to do is look for the app that the manufacturer of you printer has made in the app store for what type of phone you have. Also you would be best to check if your printer is supported.
Most that I have seen will allow you to print the photos and documents you have stored on your phone but not your text messages.
Don't expect too many features, most seem to give you the bare basics.