There might be a
hint of a solution here:
viewtopic.php?t=442&highlight=print++chapter
Quote:
Looking at the actions on the second button along titled "Write doc to disk" you will see its action writes the contents of the variable document to a html file called document.html.
The third button simple takes you to the next page.
On page two you will see a browser window. Once the html file is created by the previous page it will show in this window.
The button at the bottom of the page simply prints the doc view window above.
There are other related posts.... Searchterms: print chapter