Web pages are typically formatted in a standard landscape or portrait fashion. Landscape formatted web pages provide a user with a monitor displayed content that is wider than it is high. Portrait formatted web pages provide a user with a monitor displayed content that is higher than it is wide. Most web pages are formatted in a landscape fashion to accommodate the demands of a landscape dimensioned screen.
Printers typically have the ability to print in a landscape or portrait formatted fashion. However, most printers have their default format set to print in a portrait mode because this is the typical formatting requirement for word processing software applications and other similar text based software applications.
To print a web page, a user typically will follow a standard procedure for printing files that does not include the selection of an appropriate formatting, i.e. either landscape or portrait. Consequently, the default printing format will be a portrait formatted print job. Because most web pages are formatted in a landscape fashion, the printed web page will normally be printed in a portrait formatted fashion and a right portion of the web page will not be printed.
One way to insure all the content of a landscape formatted web page is printed involves the use of wrap around text, whereby the content of the landscape formatted web page outside of the portrait formatted margin is wrapped around to the next line within the portrait formatted margins. Some web sites are configured to provide this wrap around feature, however many do not wrap around the web content and the portrait formatted printer output excludes the right portion of the landscape formatted web page.
A computer program product comprising a computer-usable data carrier storing instruction that, when executed by a computer, causes the computer to perform a method comprising capturing the content of a web page; determining if a portrait formatted representation of the said web page and a landscape formatted representation of the said web page, include equivalent content; and outputting the portrait formatted representation of the web page if the said portrait formatted representation has the equivalent content of the said landscape formatted representation, otherwise outputting a landscape formatted representation of the said web page.
A printing method comprising capturing the content of a web page; determining if a portrait formatted representation of the said web page and a landscape formatted representation of the said web page, include equivalent content; and outputting the portrait formatted representation of the web page if the said portrait formatted representation has the equivalent content of the said landscape formatted representation, otherwise outputting a landscape formatted representation of the said web page.
Provided below is a detailed description of various exemplary embodiments of this disclosure. These embodiments provide a printing apparatus and method for printing a web page that includes printing the web page with the appropriate printed page format.
With reference to
With further reference to
Subsequent to generating the output data file discussed in the preceding paragraph, the computer program outputs the data file to a printing device which produces a portrait or landscape formatted printed output. In effect, this printing method and apparatus provides a web page printed output which more accurately reproduces the original web page formatting. More specifically, if the web page format is portrait, the printing method and apparatus produces an output data file representative of the web page portrait formatted. If the web page portrait formatted is landscape, the printing method and apparatus produces an output data file representative of the web page landscape formatted.
To better illustrate the printing method and apparatus described with reference to
With reference to
As briefly explained in the Background section of this disclosure, a problem associated with printing a web page as illustrated in
To provide a landscape formatted print output for a landscape formatted web page, and a portrait formatted print output for a web page portrait formatted, the printing method and apparatus previously described with reference to
Initially, the computer program product captures the content of a web page 4 to be printed. This includes Area 162 and Area 264 as illustrated in
With reference to
The computer program initially captures 72 the content of a web page for printing. Next, the computer program generates 74 a data file representative of the captured web page content portrait formatted, and the computer program generates 76 a data file representative of the captured web page content landscape formatted. Next, the portrait formatted data file and landscape formatted data file are compared 78 to determine 80 if the files have equivalent content. If the portrait and landscape formatted data files have equivalent content, the computer program outputs 82 a portrait data file for printing. If the portrait and landscape formatted data files do not have equivalent content, the computer program outputs 84 a landscape data file for printing.
With reference to
Initially, the computer program captures 92 the content of a web page for printing. Next, the computer program creates 94 a first data file including the content of the web page outside the margins of a portrait formatted web page. Next, the computer program determines 96 if the first data file includes web page content. If no web page content is included, the computer program outputs 98 a portrait formatted data file for printing. If the first data includes web page content, the computer program creates 100 a second data file of the web page portrait formatted.
The web content of a second data file is then compared 102 with the web content of the first data file. If the second data file does not include the web content of the first data file, the computer program outputs 110 a landscape formatted data file. It should be noted that comparing the portrait formatted web page content, i.e. second data file, with the content of the web page outside the margins of a portrait formatted web page, i.e. first data file, provides a basis for determining if web content is omitted form the portrait formatted web page. If the computer program determines the second data file includes the web content of the first data file, then the computer program creates 104 a third data file representative of the web page landscape formatted.
Next, the computer compares 106 the second data file with the third data file to determine if the portrait formatted web page content, i.e. second data file, includes the content of the landscape formatted web page, i.e. third data file. If the second data file does not include the web content of the third data file, the computer program outputs 110 a landscape formatted data file for printing. If the second data file does include the web content of the third data file, the computer program outputs 108 a portrait formatted data file for printing.
With reference to
Initially, the computer program captures 122 the content of a web page to be printed. Next, the computer program determines 124 if there is an image within Area 2 of the captured web content. If there is no image within Area 2 of the captured web content, the computer program outputs 126 a portrait formatted data file. If there is image within Area 2 of the captured web content, the computer program goes to an image type comparison 128 step.
The computer program determines 128 the image types included within Area 2 of the landscape formatted web page. Image types could include half tone, line graphics, etc. The computer program also determines 128 if Area 1 of a portrait formatted web page includes the image types of Area 2 of the landscape formatted web page. If Area 2 of the landscape formatted web page includes image types not within Area 1 of the portrait formatted web page, the computer program outputs 130 a landscape formatted data file. Alternatively, if Area 1 of the portrait formatted web page includes the image types within Area 2 of the landscape formatted web page, the compute program counts 132 the number of occurrences of the image types within each respective area.
If the number of occurrences of each image type within the respective areas are equal, the computer program outputs 134 a portrait formatted data file. Alternatively, if the number of occurrences of each image type within the respective areas are not equal, the computer program outputs 130 a landscape formatted data file.
With reference to
Initially, the computer program captures 142 the content of a web page to be printed. Next, the computer program determines 144 if there is an image within Area 2 of the captured web content. If there is no image within Area 2 of the captured web content, the computer program outputs 146 a portrait formatted data file. If there is image within Area 2 of the captured web content, the computer program goes to an image feature comparison 148 step.
The computer program determines 148 the image features included within Area 2 of the landscape formatted web page. The computer program also determines 148 if Area 1 of a portrait formatted web page includes the image features of Area 2 of the landscape formatted web page. If Area 2 of the landscape formatted web page includes image features not within Area 1 of the portrait formatted web page, the computer program outputs 154 a landscape formatted data file. Alternatively, if Area 1 of the portrait formatted web page includes the image features within Area 2 of the landscape formatted web page, the compute program counts 150 the number of occurrences of the image features within each respective area.
If the number of occurrences of each image feature within the respective areas are equal, the computer program outputs 152 a portrait formatted data file. Alternatively, if the number of occurrences of each image feature within the respective areas are not equal, the computer program outputs 154 a landscape formatted data file.
Other techniques for comparing the content of a portrait formatted data file and landscape formatted data file, representative of a captured web page image, include vertical line comparison, pixel value summation comparison and accessing a knowledge base.
A vertical line comparison printing apparatus and method determines if the number of web content dividing vertical lines within the portrait formatted data file is equivalent to the number of content dividing vertical lines within the landscape formatted data.
A pixel value summation comparison printing apparatus and method determines if the sum of the pixel values within the portrait formatted data file is approximately equal to the sum of the pixel values within the landscape formatted data file.
A knowledge base printing apparatus and method accesses a knowledge base to determine if the portrait formatted data file is equivalent to the landscape formatted data file.
It will be appreciated that various of the above-disclosed and other features and functions, or alternatives thereof, may be desirably combined into many other different systems or applications. Also that various presently unforeseen or unanticipated alternatives, modifications, variations or improvements therein may be subsequently made by those skilled in the art which are also intended to be encompassed by the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5519436 | Munson | May 1996 | A |
5842793 | Katayama et al. | Dec 1998 | A |
5995201 | Sakaguchi | Nov 1999 | A |
6343277 | Gaus et al. | Jan 2002 | B1 |
6560621 | Barile | May 2003 | B2 |
7002703 | Parry | Feb 2006 | B2 |
7210099 | Rohrabaugh et al. | Apr 2007 | B2 |
7287220 | Kaasila et al. | Oct 2007 | B2 |
7412647 | Sellers et al. | Aug 2008 | B2 |
20020135806 | Yoshino | Sep 2002 | A1 |
20030009740 | Lan | Jan 2003 | A1 |
20030011823 | Quintana et al. | Jan 2003 | A1 |
20030051615 | Denoue et al. | Mar 2003 | A1 |
20030128873 | Bronson | Jul 2003 | A1 |
20040071478 | Katamoto | Apr 2004 | A1 |
20040105127 | Cudd et al. | Jun 2004 | A1 |
20040177323 | Kaasila et al. | Sep 2004 | A1 |
20060106838 | Ayediran et al. | May 2006 | A1 |
20060200763 | Michaelsen et al. | Sep 2006 | A1 |
20060212410 | Tokarski et al. | Sep 2006 | A1 |
20060221369 | Inoue | Oct 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20070143670 A1 | Jun 2007 | US |