One feature curiously missing from OS X is the ability to highlight some text on a web page or in an email and then choose to print only that. However, the feature can be added easily.
Download the free Print Selection Service add-on and install it (you’ll need to right-click the installation package and select Open). Log out when prompted, then open Terminal (it’s in the Utilities folder of Applications) and paste in the following, which is again a single line:
sudo cp -r /Library/Services/Print Selection.service ~/Library/Services/
Type your login password when prompted, then log out and back in a second time. Open System Preferences and click the Keyboard icon. Click the Shortcuts tab and then the Services entry in the list on the left. Put a tick alongside Print Selection.
From now on, simply select the text you want to print, right click the selection, select the Services submenu, and select Print Selection. Alternatively, tap Shift+Cmd+T.
how to install AirPrint on any Printer]