Adding a PrintWhatYouLike Link
Conventional web 1.0 design recommended that webmasters make a single consistently printable version of your web page. Dynamic, user-centered content such as DataPages can makes this approach impractical if not obsolete. Several web services have been created to help users isolate and print only the portion of the webpage desired.
Click Here to see an example. This DataPage displays 250 records at a time. By hiding the background and the margins the printed page count is reduced from 10 pages to only 4.
Steps to adding a Print What You Like link:
Add a header and footer section to your DataPage. Copy and paste the following code into the header or footer sections or both. You can update the alert instructions (in red) as needed.
Using the panel on the Left:n
The background, images and margins can be hidden if needed. n
Select an area you would like to print and click Isolate.n
Select an area and click Remove to remove any unwanted sections.n
Click Print or Save As when finished.
">Print this Data</a>
Basic Print Button
If you would like a basic print button that will print out everything on the current webpage, you can just insert the following code into the header or footer of your DataPage:
Which creates a regular HTML button: