Browse Prior Art Database

Web Application Proportional Printing of Data Content

IP.com Disclosure Number: IPCOM000132336D
Original Publication Date: 2005-Dec-07
Included in the Prior Art Database: 2005-Dec-07
Document File: 3 page(s) / 37K

Publishing Venue

IBM

Abstract

The idea expressed here shows how to calculate the size of text on a web page so that given the paper size and a printer's font definitions, data can always be displayed to fit conveniently within the width (and height) of a single sheet of paper. This is helpful for users who may not have spreadsheet software or would simply like to display data from a web based application in a readable format without having to do additional formatting tasks.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 53% of the total text.

Page 1 of 3

Web Application Proportional Printing of Data Content

Today the content of a web-based application page presented in a browser is in table format. It is common for these tables to have many columns of useful data causing the user to have to scroll the browser view to see all data. Furthermore, when a user wishes to print the data for reporting purposes, the print function of the browser will not allow all of the data to be displayed on a single sheet of paper. The only thing a user can do in this case to print large amounts of data from a web-application page is:

1. The user can use the browser's native print function. If the printed rows of the data within the table exceeds the width of the paper on which it is to be printed, the table data will wrap thus rendering the printed version of the table unreadable.

2. Another solution is to have the table parsed to a text file which is compatible with a spreadsheet application. Once this is done, the data can be printed from the spreadsheet application. With this solution, the same drawbacks apply, if the printed rows of the data within the table exceeds the width of the paper on which it is to be printed, the table data will wrap thus rendering the printed version of the table unreadable.

This is unacceptable. So in an attempt to ease the users' ability to print large data reports in any easily contained fashion, we have devised a way to format any type of a data display to be viewed conveniently on a standard sheet of paper. The formatted data table of a web application is parsed from the markup language used to present it in the browser. After parsing the data, character length of the maximum possible row can be calculated. The font size used to print the resulting document is calculated by taking into consideration the printer paper size, the paper orientation, any desired mar...