Implement a 'Print' button for table listings
|Print package v1.0
There is a problem with the current BASE GUI implementation when printing. Due to the use of <frames> and absolutely positioned content, scrolling happens in a <div> tag when the information doesn't fit inside the visible browser window. This affects printing and browsers will only print the first page since from their point of view that is the only page.
This makes it impossible to print for example list pages since only a given number of lines will fit into a single page.
The current idea is to open a new window and then copy the printable contents into that window. This has the added benefit that it will allow us to get rid of the menu and other things that are generally not needed/wanted in the printed output.
Simply copying the innerHTML is a good starting point, but we probably need to style certain elements a bit differently for better printing.