Very difficult to do. Some programmers have attempted to make plugins that create temporary iframes, but the browser support is spotty and the plugins are not properly maintained. That is, many have been abandoned because they are so difficult to get right and to keep up with browsers. It's also noteworthy that people are much more computer savvy these days and more people than not understand how to select parts of a page. Then they can either copy the selection and paste it into another app or print just the selection. A lot of the print functionality you see on the web is ancient and involves server-side scripting to create a temporary page with specific content. You can also devise a print media style sheet that sets everything on the page to display none, except for what you want people to print. Another tactic would be to create specific page that open in new windows based on a user clicking a specific print button that you define. The page that opens is formatted to print something very specific.