Is there a magical way I could add a Print icon on a html document embedded into a page which would enable someone to click and would only print out the html document ?
For example on this page I would only want to print the section titled ‘conditions of engagement …’
Without getting into some deeper waters of CSS, no. But you could make this for yourself in Freeway by following these steps.
Make a new page with only the part you want to print in it. Make this page a good size for printing (test this) and use only black and white.
Back on your page, make a button or text link using the Spawn New Window Action. You want it to open in a new window, so don’t use the iPad-friendly option.
Test this in your browser – the new window should open containing only the printable part of the page.
On the print-only page, use the Page / Extended menu item to open the Extended interface. Click new, then enter the following name/value pair exactly:
Name: onload
Value: window.print()
Test this again, and when you pop open the new window, it should immediately request that you choose your printer and so forth.
Walter
On May 28, 2014, at 9:04 AM, Steve Ainsworth wrote:
Hello,
Is there a magical way I could add a Print icon on a html document embedded into a page which would enable someone to click and would only print out the html document ?
For example on this page I would only want to print the section titled ‘conditions of engagement …’