This class can be used to make a browser print a given HTML document.
It generates HTML with special Javascript code and CSS style sheet that includes the whole page in a non-printable section and adds a new page section with given HTML that you want to print, but it is not displayed in the browser.
The class can also generate links of form buttons that when clicked trigger the execution of the generated Javascript code making the browser printing dialog open to print the HTML document section that it is intended to be printed.
Each page may have multiple print links or form buttons to print distinct HTML documents.
March 2008
Number 8
Prize: http://www.apress.com/ |
Often users want to print contents of Web pages. A page can easily be printed using a button attached with some Javascript code. However, usually not everything displayed on a Web page is intended to be sent to the printer.
This class implements a clever solution that makes use of Javascript and CSS to send to the printer only the relevant parts of the page content.
Manuel Lemos |
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|