Patent Publication Number: US-2010123938-A1

Title: Web page display controller, method for displaying web page, and computer-readable storage medium for computer program

Description:
This application is based on Japanese patent application No. 2008-294504 filed on Nov. 18, 2008, the contents of which are hereby incorporated by reference. 
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a device, a method, and the like for causing a display to display a web page. 
     2. Description of the Related Art 
     Image forming apparatuses called “multifunction devices”, “Multi-Function Peripherals (MFPs)”, or the like have recently come into widespread use in offices of business and homes. Such image forming apparatuses are configured to integrate, thereinto, a variety of functions, such as copying, network printing (PC printing), faxing, and scanning. 
     Such an image forming apparatus is generally provided with a display such as a touch screen to enhance the user interface thereof. Such a display is configured to produce a color display, have a high resolution, and produce a display of sharper images than before. The image forming apparatus is compatible with Transmission Control Protocol/Internet Protocol (TCP/IP), which enables the image forming apparatus to perform communication with other devices via the Internet. An image forming apparatus having a web browser function is proposed in Japanese Laid-open Patent Publication No. 2008-180894. 
     An image forming apparatus that includes a display and a web browser, and is compatible with TCP/IP enables a user to browse a web page publicized by a web server on the Internet. Such an image forming apparatus is also configured to print the web page onto paper. 
     The performance of a display included in an image forming apparatus has increased; however, the resolution thereof is often lower than that of a display included in a personal computer. One reason for this is that a user edits and browses an image quite often by using a personal computer rather than an image forming apparatus, and therefore, a high-resolution display tends to be provided in the personal computer rather than in the image forming apparatus. Another reason is that a space-saving image forming apparatus is generally preferred, and therefore, it is difficult to provide a large display in an image forming apparatus. 
     Web pages are usually created based on the assumption that a user uses a personal computer to browse the web pages. Accordingly, a web page is not fully displayed on a display more often in the case of using an image forming apparatus to browse the web page than in the case of using a personal computer to browse the web page. As a result, the user is forced to often scroll the display of the image forming apparatus or to perform another operation. 
     A method for reducing a burdensome task of scrolling through a web page in information equipment in which a low-resolution display is provided is proposed in Japanese Laid-open Patent Publication No. 2006-209538. According to the method, a page storing part to temporarily store a web page at the time of browsing the web page is provided in a portable terminal. When the same web page as that previously stored in the page storing part is browsed again, a control part compares the details of the web page browsed this time with the details of the web page previously stored. Then, the control part moves a display range in such a manner that the updated portion is displayed at a predetermined position on a display part, and displays the web page browsed this time on the display part accordingly. 
     Incidentally, in some cases, a web page is very seldom updated after it has been publicized on a web server. The method described in Japanese Laid-open Patent Publication No. 2006-209538 is not so effective in the case of browsing a web page with a low update frequency. 
     SUMMARY 
     The present disclosure is directed to solve the problems pointed out above, and therefore, an object of an embodiment of the present invention is to improve the user-friendliness for a case in which a user uses a low-resolution display to browse a web page. 
     A web page display controller according to one aspect of the present invention is a web page display controller for causing a display to display a web page in a state that is set in accordance with an operation performed by a user. The web page display controller includes a display state storage portion that stores the state of the web page, and a web page redisplay controller that causes, when the web page is specified again as a target to be displayed on the display, the display to display the web page in the state of the web page that is stored in the display state storage portion. 
     These and other characteristics and objects of the present invention will become more apparent by the following descriptions of preferred embodiments with reference to drawings. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  is a diagram illustrating an example of a network system including an image forming apparatus. 
         FIG. 2  is a diagram illustrating an example of the hardware configuration of an image forming apparatus. 
         FIG. 3  is a diagram illustrating an example of the functional configuration of an image forming apparatus. 
         FIG. 4  is a diagram illustrating an example of a browser window. 
         FIG. 5  is a diagram illustrating an example of a display conditions setting screen. 
         FIG. 6  is a diagram illustrating an example of a display history table. 
         FIG. 7  is a diagram illustrating an example of a browser window. 
         FIG. 8  is a flowchart illustrating an example of the flow of a display process for a case in which a web page is accessed again. 
         FIG. 9  is a diagram illustrating an example of a printing conditions setting screen. 
         FIG. 10  is a diagram illustrating an example of a printing history table. 
         FIG. 11  is a diagram illustrating an example of a printed material printed in a thumbnail print mode. 
         FIG. 12  is a diagram illustrating an example of a printed material printed in a plural parts print mode. 
         FIG. 13  is a flowchart illustrating an example of the overall processing flow of an image forming apparatus. 
         FIG. 14  is a flowchart illustrating an example of the overall processing flow of an image forming apparatus. 
         FIG. 15  is a flowchart illustrating an example of the flow of a display change process. 
     
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       FIG. 1  is a diagram illustrating an example of a network system including an image forming apparatus  1 ;  FIG. 2  is a diagram illustrating an example of the hardware configuration of the image forming apparatus  1 ; and  FIG. 3  is a diagram illustrating an example of the functional configuration of the image forming apparatus  1 . 
     The image forming apparatus  1  illustrated in  FIG. 1  is an apparatus generally called a multifunction device, a Multi-Function Peripheral (MFP), or the like. The image forming apparatus  1  is configured to integrate, thereinto, a variety of functions, such as copying, network printing (PC printing), faxing, and scanning. Further, the image forming apparatus  1  has a web browser function, which enables the image forming apparatus  1  to download a web page from a web server  2  via a communication line  3 , e.g., the Internet, and to display the web page thus downloaded. 
     Referring to  FIG. 2 , the image forming apparatus  1  is configured of a Central Processing Unit (CPU)  10   a , a Random Access Memory (RAM)  10   b , a Read-Only Memory (ROM)  10   c , a mass storage  10   d , a scanner  10   e , a printer  10   f , a network interface  10   g , a touch screen  10   h , a modem  10   i , a control circuit, and so on. 
     The scanner  10   e  is a device that optically reads images printed on paper, such as photographs, characters, drawings, diagrams, and the like, and creates image data thereof. 
     The printer  10   f  serves to print, onto paper, the image obtained by scanning with the scanner  10   e , or print, onto paper, a web page downloaded from the web server  2 . 
     The touch screen  10   h  displays, for example, a screen for giving a message or instructions to a user, a screen for the user to enter details of setting and processes to be performed, and a web page. The touch screen  10   h  also detects a position thereof touched by the user with his/her finger and sends a signal indicating a result of the detection to the CPU  10   a.    
     The network interface  10   g  is a Network Interface Card (NIC) for communicating with the web server  2  via the communication line  3 . 
     The modem  10   i  is a device for transmitting image data via a fixed-line telephone network to a different facsimile terminal and vice versa based on a protocol such as G 3 . 
     The ROM  10   c  or the mass storage  10   d  stores an operating system and programs for implementing a web browser function, for example, functions of a browsing operation monitoring portion  101 , a web browsing control portion  102 , a display control portion  103 , a print control portion  104 , a history registration process portion  105 , and a history storage portion  1 K 1 , all of which are illustrated in  FIG. 3 . An example of the mass storage  10   d  is a hard disk or a flash memory. These programs are loaded into the RAM  10   b  as necessary, whereupon the programs are executed by the CPU  10   a.    
     A detailed description will be given of processes performed by the individual portions of the image forming apparatus  1  illustrated in  FIG. 3 . The browsing operation monitoring portion  101  monitors an operation of the touch screen  10   h  performed by a user. The history storage portion  1 K 1  includes a display history table TBL 1  and a printing history table TBL 2 , and serves to store a display history of web pages and a printing history thereof. The web browsing control portion  102 , the display control portion  103 , the print control portion  104 , and the history registration process portion  105  perform the following processes based on operations performed by the user. 
     [Case of Displaying a Web Page Accessed for the First Time] 
       FIG. 4  is a diagram illustrating an example of a browser window WD 1 ;  FIG. 5  is a diagram illustrating an example of a display conditions setting screen SD 1 ;  FIG. 6  is a diagram illustrating an example of a display history table TBL 1 ; and  FIG. 7  is a diagram illustrating an example of the browser window WD 1 . 
     In the case where a user performs an operation for entering a Uniform Resource Locator (URL) or selecting a hyperlink on the browser window WD 1  (see  FIG. 4  or  FIG. 7 ) which is described later, the web browsing control portion  102  downloads, from the web server  2 , data for reproducing a web page based on the URL thus entered on the browser window WD 1  or a URL associated with the hyperlink thus selected thereon. Such a URL is hereinafter referred to as simply a “specified URL”, or the like, and such data is hereinafter referred to as “web page data  5 ”. In short, the web browsing control portion  102  performs control for browsing the web page. 
     The display control portion  103  causes the touch screen  10   h  to display a variety of screens in accordance with operations performed by the user. 
     In the case where the user performs an operation for starting a browser, the display control portion  103  causes the touch screen  10   h  to display the browser window WD 1  as illustrated in  FIG. 4 . The browser window WD 1  includes a browser area RY 1 , a text box BX 1 , and a toolbar BR 1 . 
     The browser area RY 1  is an area to display a web page. The display control portion  103  constructs a web page again based on web page data  5  downloaded by the web browsing control portion  102 , and causes the touch screen  10   h  to display the web page thus constructed in the browser area RY 1 . 
     The text box BX 1  is a text box for the user to enter a URL. The toolbar BR 1  contains six buttons through each of which the user can issue a command to the image forming apparatus  1  or can set conditions for a process. 
     The user performs an operation similar to an operation performed on a conventional window; and thereby the user can change the size of the browser area RY 1  or scroll through a web page displayed in the browser area RY 1  vertically or horizontally. 
     A web page sometimes contains a scrollable object, e.g., a so-called scroll map. In such a case, the user performs an operation in such a manner that the scrollable object is displayed in the browser area RY 1 . Then, the user can scroll through the scrollable object and browse desired information. 
     If a “back” button is pressed, then the display control portion  103  stops displaying a current web page that is currently displayed in the browser area RY 1 , and displays again, in the browser area RY 1 , a previous web page that was displayed immediately before a URL of the current web page was specified. Subsequently, if a “forward” button is pressed, then the display control portion  103  displays again, in the browser area RY 1 , the current web page that was displayed immediately before the “back” button was pressed. 
     If a “display setting” button is pressed, then the display control portion  103  displays the display conditions setting screen SD 1  as illustrated in  FIG. 5  on the browser window WD 1 . The user can set, on the display conditions setting screen SD 1 , a display magnification of the current web page, a font to be used as letters contained in the current web page, a size of the font, and a type of encoding. The user can also set which button contained in the toolbar BR 1  should be arranged on the browser window WD 1  and which button should not be arranged (should be hidden) thereon. 
     If an “OK” button is pressed on the display conditions setting screen SD 1 , then the display control portion  103  closes the display conditions setting screen SD 1 , constructs again the current web page based on the individual conditions set on the display conditions setting screen SD 1 , and displays the web page thus constructed again in the browser area RY 1 . 
     Every time a web page is displayed, the history registration process portion  105  generates display state data  6 A as illustrated in  FIG. 6  and stores the display state data  6 A in the display history table TBL 1 . The display state data  6 A indicates in what way the web page is displayed, in what way the browser window WD 1  is displayed, and identification information about the web page, e.g., a URL of the web page. 
     Referring to the display state data  6 A, the field named “access date and time” indicates a date and time at which the image forming apparatus  1  accesses the web server  2  to download the web page therefrom and display the web page thus downloaded. 
     The field named “URL” indicates a URL of the web page. The field named “display position” indicates information about a part of the web page displayed in the browser area RY 1 . In this example, the top left coordinates of the part are indicated in the “display position” field. The field named “latitude and longitude” indicates coordinates (latitude and longitude) of the center of a currently displayed part of an object such as a scroll map contained in the web page. 
     The fields named “magnification”, “font”, “font size”, and “encoding”, respectively, indicate a display magnification, a font to be used as letters, a size of the font, and a type of encoding, all of which are entered on the display conditions setting screen SD 1 . The field named “toolbar buttons” indicates codes of the individual buttons that are selected on the display conditions setting screen SD 1  and are to be contained in the toolbar BR 1 . 
     The field named “window size” indicates the size of the browser area RY 1 , i.e., the vertical and horizontal lengths thereof. 
     In the case where any of those items mentioned above are modified in response to an operation performed by the user, the history registration process portion  105  updates the display state data  6 A generated thereby accordingly. When, for example, the user scrolls (moves) through the web page, the history registration process portion  105  updates the values indicated in the “display position” field of the display state data  6 A in accordance with the vertical movement amount and the horizontal movement amount. When the size of the browser area RY 1  is modified, the history registration process portion  105  updates the values indicated in the “window size” field in such a manner that the size thus modified is indicated therein. 
     Note that default values are predetermined in the individual fields of the display state data  6 A. Such a default value is used in a field in which no value is determined even after the user has performed the foregoing operation. 
     Further, as described later, new display state data  6 A is generated also when the image forming apparatus  1  accesses the same web page as that previously accessed and the web page is displayed again. As a result, a plurality of pieces of the display state data  6 A corresponding to the identical web page may be stored in the display history table TBL 1 . 
     Referring back to  FIG. 4 , if a “URL history” button is pressed, then the display control portion  103  reduces, as illustrated in  FIG. 7 , the browser area RY 1 , the toolbar BR 1 , and the text box BX 1 , and places a URL history list LT 1 . After that, the display control portion  103  displays the browser window WD 1  again. The URL history list LT 1  indicates a list of URLs included in the individual pieces of the display state data  6 A that are stored in the display history table TBL 1 , namely, a history of web pages displayed in the past. Note that a history of the web pages is displayed in a manner to avoid the repetition of the same URL. 
     Character strings of the individual URLs included in the URL history list LT 1  are hyperlinks. This enables the user to browse once again web pages that were browsed in the past only by clicking on the corresponding URLs. In the case where a web page is displayed again, display state data  6 A for the web page is referred to, which will be described later. 
     If the “URL history” button is pressed once again, then the display control portion  103  closes the URL history list LT 1  and displays again the browser window WD 1  as illustrated in  FIG. 4 . The details of processes performed by the display control portion  103  for a case in which a “print setting” button is pressed are given later. 
     [Case of Displaying a Web Page Accessed Again] 
       FIG. 8  is a flowchart illustrating an example of the flow of a display process for a case in which a web page is accessed again. 
     In the case where the image forming apparatus  1  accesses again a web page that was previously accessed and displayed and such a web page is displayed again, the display control portion  103  causes the touch screen  10   h  to display the web page in accordance with the details indicated in the latest display state data  6 A for the web page, i.e., the display state data  6 A generated when the web page was accessed the last time. To be specific, the display control portion  103  performs the process in the manner illustrated in  FIG. 8 . 
     The display control portion  103  calls the latest display state data  6 A for the web page from the display history table TBL 1 . Then, in accordance with the latest display state data  6 A, the display control portion  103  determines characters contained in the web page by using a font that is indicated in the “font” field and a size indicated in the “font size” field and by reconstructing the characters based on the type of encoding indicated in the “encoding” field (# 501  in  FIG. 8 ). If the web page contains a scrollable object such as a scroll map, then the display control portion  103  determines an image of the scrollable object based on coordinates indicated in the “latitude and longitude” field (# 502 ). The display control portion  103  places the characters and the image of the scrollable object that are determined as mentioned above, places other kinds of images based on a source code, and thereby generates data of the entire image of the web page, e.g., bitmap data (# 503 ). 
     In parallel with the process for determining the entire image or before or after the same, the display control portion  103  determines a size indicated in the “window size” field as the size of the browser area RY 1  (# 504 ). 
     The display control portion  103  specifies a part of the web page falling within the browser area RY 1  for a case in which the web page is scrolled down and scrolled to the right by an amount indicated in the “display position” field from the state in which the upper left corner of the entire image of the web page is aligned to the upper left corner of the browser area RY 1  having the size indicated in the “window size” field, and further the web page is enlarged to or reduced to a magnification indicated in the “magnification” field (# 505 ). 
     Subsequently, the display control portion  103  causes the touch screen  10   h  to display the browser window WD 1  on which the browser area RY 1  showing an image of the specified part of the web page, the toolbar BR 1 , and the text box BX 1  are placed (# 506 ). 
     The history registration process portion  105  generates display state data  6 A corresponding to a display of the web page this time and stores the display state data  6 A in the display history table TBL 1 . The details of the processes carried out by the display control portion  103  and the history registration process portion  105  based on operations performed by a user are the same as those for the case in which the web page is displayed for the first time. 
     [Process for Printing a Web Page] 
       FIG. 9  is a diagram illustrating an example of a printing conditions setting screen SD 2 ;  FIG. 10  is a diagram illustrating an example of the printing history table TBL 2 ;  FIG. 11  is a diagram illustrating an example of a printed material printed in a thumbnail print mode; and  FIG. 12  is a diagram illustrating an example of a printed material printed in a plural parts print mode. 
     If the “print setting” button is pressed on the browser window WD 1 , then the display control portion  103  displays the printing conditions setting screen SD 2  as illustrated in  FIG. 9  on the browser window WD 1 . The user can specify, on the printing conditions setting screen SD 2 , in what way the current web page is to be printed onto paper or how many page margins are to be set for the paper. 
     Responding to an “OK” button pressed on the printing conditions setting screen SD 2 , the display control portion  103  closes the printing conditions setting screen SD 2 . If a “print” button is pressed on the browser window WD 1 , then the print control portion  104  controls, for example, the printer  10   f  in the following manner such that a web page currently displayed is printed onto paper based on the details set on the printing conditions setting screen SD 2 . 
     Responding to an “all” button pressed on the printing conditions setting screen SD 2 , the print control portion  104  controls, for example, the printer  10   f  to print, onto paper, the entire image of a web page that is the current display target. 
     If the entire image of the web page is larger than the size of a sheet of paper, the image is printed onto a plurality of sheets of paper with the image divided. At this time, printing is so performed that page margins having the values entered in the individual text boxes of “top”, “bottom”, “left”, and “right” on the printing conditions setting screen SD 2  are set for the individual sheets of paper. Further, in the case where conditions such as single-sided/double-sided printing or monochrome/color printing can be specified, printing is performed based on such conditions. After performing the printing, the history registration process portion  105  newly generates printing condition data  6 B illustrated in  FIG. 10  and indicating conditions such as page margins and a URL of the web page, and stores the printing condition data  6 B thus generated in the printing history table TBL 2 . If printing condition data  6 B for the web page is already stored in the printing history table TBL 2 , then the history registration process portion  105  deletes the printing condition data  6 B already stored in the printing history table TBL 2 , and stores the printing condition data  6 B newly generated therein. The same applies to four other print formats discussed below. 
     First, if a “currently displayed part” button is pressed, then the print control portion  104  controls, for example, the printer  10   f  to print, among a web page that is the current display target, a part currently displayed in the browser area RY 1 . 
     Second, if a “previously displayed part” button is pressed, then the print control portion  104  controls, for example, the printer  10   f  to print a web page that is the current display target by using the latest display state of the web page for a case in which the same web page was previously displayed in the browser area RY 1 . In such a case, the latest display state data  6 A for the web page stored in the display history table TBL 1  is referred to. To be specific, the print control portion  104  specifies a part of the web page satisfying conditions indicated in the latest display state data  6 A and performs control such that the part thus specified is printed. The method for specifying the part is described earlier with reference to Step # 501  through Step # 506  in  FIG. 8 . 
     In the case where the web page was previously printed, page margins in the previous printing may be used as page margins in the printing this time. To be specific, page margins indicated in the printing condition data  6 B for the web page stored in the printing history table TBL 2  may be used as page margins in the printing this time. 
     Third, if a “thumbnail” button is pressed, then the print control portion  104  controls, for example, the printer  10   f  to print, onto one or more sheets of paper, among a web page that is the current display target, a part displayed in the browser area RY 1  of the browser window WD 1  and a reduced image, namely a thumbnail, of the entire web page. 
     Fourth, if a “plural displayed parts” button is pressed, then the print control portion  104  controls, for example, the printer  10   f  to print, onto one or more sheets of paper, among a web page that is the current display target, a part displayed in the browser area RY 1  of the browser window WD 1  and parts of the web page that were previously displayed therein. The parts previously displayed are indicated in the individual pieces of the display state data  6 A for the web page stored in the display history table TBL 1 . The method for specifying the parts previously displayed based on the display state data  6 A was described earlier with reference to Step # 501  through Step # 506  in  FIG. 8 . 
     If a user presses the “print” button on the browser window WD 1  without specifying a print format or page margins on the printing conditions setting screen SD 2 , then the print control portion  104  may perform a process in such a manner that the web page is printed based on a format or page margins indicated in the printing condition data  6 B for the web page, i.e., a format or page margins used for a case in which the web page was previously printed. 
       FIGS. 13 and 14  are flowcharts illustrating an example of the overall processing flow of the image forming apparatus  1 , and  FIG. 15  is a flowchart illustrating an example of the flow of a display change process. 
     The following is a description of the overall processing flow of the image forming apparatus  1  for a case in which a web browser function is used, with reference to the flowcharts. 
     Referring to  FIGS. 13 and 14 , when a user enters a command to start a web browser (Yes in # 11 ), the image forming apparatus  1  starts the web browser and displays the browser window WD 1  as illustrated in  FIG. 4  (# 12 ). 
     Every time the user performs an operation, the image forming apparatus  1  carries out the following process in accordance with the operation until the image forming apparatus  1  finishes the web browsing service. 
     When the user specifies a URL (Yes in # 14 ), the image forming apparatus  1  downloads a web page indicated in the URL from the web server  2  (# 15 ). 
     If the display history table TBL 1  (see  FIG. 6 ) does not store therein display state data  6 A for the web page, i.e., if the image forming apparatus  1  accesses the web page for the first time (No in # 16 ), then the image forming apparatus  1  displays the web page in the browser area RY 1  based on default conditions (# 17 ). 
     If the display history table TBL 1  stores therein display state data  6 A for the web page (Yes in # 16 ), then the image forming apparatus  1  calls (# 18 ) the latest display state data  6 A, i.e., the display state data  6 A for a case in which the web page was previously displayed, and displays (# 19 ) the web page in accordance with the details indicated in the display state data  6 A. Detailed steps for displaying the web page were given earlier with reference to  FIG. 8 . 
     Then, the image forming apparatus  1  newly generates display state data  6 A corresponding to a display of the web page this time and stores the display state data  6 A in the display history table TBL 1  (# 20 ). 
     While the web page is displayed, the image forming apparatus  1  modifies a display state of the web page in accordance with an operation performed by a user. For example, a font, a magnification, an arrangement of buttons in the toolbar, a part of the web page displayed in the browser area RY 1 , and the size of the browser area RY 1  are modified. Then, the image forming apparatus  1  updates the display state data  6 A corresponding to the display of the web page this time in accordance with the modification (# 21 ). The processes for modifying a display state of the web page and updating the display state data  6 A are performed in the manner illustrated in  FIG. 15 . 
     Referring to  FIG. 15 , when the user performs a scroll operation (Yes in # 511 ), the image forming apparatus  1  updates the value in the “display position” field of the display state data  6 A in accordance with the scroll operation (# 512 ) and scrolls through the web page (# 513 ). 
     Further, when the user performs a scroll operation on a scrollable object such as a scroll map (Yes in # 514 ), the image forming apparatus  1  updates the value in the “latitude and longitude” field of the display state data  6 A in accordance with the scroll operation (# 515 ) and scrolls through the scrollable object (# 516 ). 
     If the user presses the “display setting” button (Yes in # 517 ), then the image forming apparatus  1  displays the display conditions setting screen SD 1  as illustrated in  FIG. 5  (# 518 ) and receives the details of display setting (# 519 ). Subsequently, the image forming apparatus  1  closes the display conditions setting screen SD 1  (# 520 ) and updates the individual values in the fields of “magnification”, “font size”, “font”, “encoding”, and “toolbar buttons” of the display state data  6 A in accordance with the details of display setting that have been received (# 521 ). Along with this, the image forming apparatus  1  modifies, for example, the magnification, the font, and the font size of the web page, and the arrangement of the buttons contained in the toolbar BR 1 , and displays again the browser window WD 1  (# 522 ). 
     If the user performs an operation for modifying the size of the browser area RY 1  (Yes in # 523 ), then the image forming apparatus  1  updates the value in the “window size” field of the display state data  6 A accordingly (# 524 ), modifies the size of the browser area RY 1 , and displays again the browser window WD 1  (# 525 ). 
     Referring back to  FIGS. 13 and 14 , if the user presses the “URL history” button (Yes in # 22 ), then the image forming apparatus  1  displays again the browser window WD 1  with the URL history list LT 1  situated as illustrated in  FIG. 7  (# 23 ). 
     If the user presses the “print setting” button (Yes in # 24  of  FIG. 14 ), then the image forming apparatus  1  displays the printing conditions setting screen SD 2  as illustrated in  FIG. 9  (# 25 ). The user specifies the print format of the web page and page margins. The image forming apparatus  1  receives the details specified by the user (# 26 ) and closes the printing conditions setting screen SD 2  (# 27 ). 
     Subsequently, when the user presses the “print” button (Yes in # 28 ), the image forming apparatus  1  prints the web page currently displayed based on the specified details received in Step # 26  in the following manner. 
     If the “all” is specified on the printing conditions setting screen SD 2  (Yes in # 29 ), then the image forming apparatus  1  prints the entire web page (# 30 ). 
     If the “currently displayed part” is specified (Yes in # 31 ), then the image forming apparatus  1  prints, among the web page, a part that is currently displayed in the browser area RY 1  (# 32 ). 
     If the “previously displayed part” is specified (Yes in # 33 ), then the image forming apparatus  1  prints, among the web page, a part that is specified based on the latest display state data  6 A for the web page (# 34 ). At this time, the printing may be performed in such a manner that page margins are set as indicated in the printing condition data  6 B for a case in which the web page was previously printed. 
     If the “thumbnail” is specified (Yes in # 35 ), then the image forming apparatus  1  prints, onto one or more sheets of paper, thumbnails of the web page and a part of the web page that is currently displayed in the browser area RY 1 , as illustrated in  FIG. 11  (# 36 ). 
     If the “plural displayed parts” is specified (Yes in # 37 ), then the image forming apparatus  1  prints, onto one or more sheets of paper, among the web page, a part that is currently displayed in the browser area RY 1  and a part that was previously displayed therein (# 38 ). 
     Then, the image forming apparatus  1  generates printing condition data  6 B indicating the printing conditions this time and stores the printing condition data  6 B in the printing history table TBL 2  (# 39 ). 
     According to this embodiment, it is possible to improve the user-friendliness for a case in which a user browses a web page with the image forming apparatus  1  including a display having a resolution lower than that of a display of a personal computer. 
     This embodiment describes a case where the image forming apparatus  1  such as an MFP is used to display a web page. The present invention, however, is applicable to other information devices with a low-resolution display. The present invention is applicable, for example, to a mobile phone terminal, a Personal Digital Assistant (PDA), or a small laptop computer. 
     In this embodiment, the display state data  6 A and the printing condition data  6 B are recorded and used without distinguishing between individual users using the image forming apparatus  1 . Instead, however, the display state data  6 A and the printing condition data  6 B may be recorded and used selectively on a user-by-user basis. 
     In the embodiments discussed above, the overall configuration of the image forming apparatus  1 , the configurations of various portions thereof, the content to be processed, the processing order, the structure of the tables and the like may be altered as required in accordance with the subject matter of the present invention. 
     While example embodiments of the present invention have been shown and described, it will be understood that the present invention is not limited thereto, and that various changes and modifications may be made by those skilled in the art without departing from the scope of the invention as set forth in the appended claims and their equivalents.