JP2008199151A - Image forming apparatus and method for controlling printing of web page - Google Patents
Image forming apparatus and method for controlling printing of web page Download PDFInfo
- Publication number
- JP2008199151A JP2008199151A JP2007030154A JP2007030154A JP2008199151A JP 2008199151 A JP2008199151 A JP 2008199151A JP 2007030154 A JP2007030154 A JP 2007030154A JP 2007030154 A JP2007030154 A JP 2007030154A JP 2008199151 A JP2008199151 A JP 2008199151A
- Authority
- JP
- Japan
- Prior art keywords
- web page
- data
- page
- printing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Facsimiles In General (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
本発明は、ブラウザ機能を有する画像形成装置およびその画像形成装置におけるWebページ印刷制御方法に関する。 The present invention relates to an image forming apparatus having a browser function and a Web page printing control method in the image forming apparatus.
近年、MFP(Multi Function Peripherals)などの画像形成装置にブラウザの機能を搭載させることが行われている。これは、パーソナルコンピュータなどのコンピュータ端末を用いることなくWebページの内容を印刷したいというユーザのニーズに応えたるためのものである。 In recent years, a browser function has been installed in an image forming apparatus such as an MFP (Multi Function Peripherals). This is to meet the user's need to print the contents of a Web page without using a computer terminal such as a personal computer.
画像形成装置の操作部には、通常、テンキーなどの入力部および入力内容などを確認するための表示部が設けられている。タッチパネルによって、入力部および表示部を兼ねることもある。ユーザは、入力部を用いてWebページのURL(Uniform Resource Locator)を入力し、表示部でそのWebページの内容を確認して印刷を実行する。これによって、コンピュータ端末を用いることなくWebページを印刷することができる。 The operation unit of the image forming apparatus is usually provided with an input unit such as a numeric keypad and a display unit for confirming input contents. The touch panel may also serve as an input unit and a display unit. The user inputs the URL (Uniform Resource Locator) of the Web page using the input unit, checks the content of the Web page on the display unit, and executes printing. This makes it possible to print a web page without using a computer terminal.
しかし、Webページの閲覧に関しては、表示部のサイズおよび入力部の操作性などの点で、コンピュータ端末を用いる場合よりも不便に感じることがある。そこで、Webページの印刷を簡単にするための工夫として、特許文献1のような方法が提案されている。
However, browsing web pages may be more inconvenient than using a computer terminal in terms of the size of the display unit and the operability of the input unit. Therefore, as a device for simplifying the printing of the Web page, a method as in
特許文献1によると、プリンタに、ホームページのアドレスを入力するアドレス入力手段およびリンク数を入力するリンク数入力手段を設けておき、入力されたアドレスおよびリンク数に基づいて、そのアドレスからリンクする、そのリンク数分のWebページを印刷させる。なお、リンク先に画像データが含まれる場合には、その画像データについては印刷を行わないようにし、これによって処理速度の向上を図る。
ところで、Webページを印刷する場合、用紙の端で、用紙に入りきらない部分の内容が切れてしまうことがある。そこで、Webページの作成者は、印刷用のボタンなどをページ内に設け、そこから印刷用のWebページを表示できるようにしていることが多い。 By the way, when printing a Web page, the content of the part of the paper that does not fit in the paper may be cut off. Therefore, the creator of a web page often provides a print button or the like in the page so that the print web page can be displayed from there.
上記のような画像形成装置を用いてこのような印刷用のWebページを印刷しようとすると、ユーザは、まず、目的のWebページにアクセスし、そのWebページ内をスクロールするなどして印刷用のボタンを探し、そのボタンを選択してリンク先の印刷用のWebベージに移動(ジャンプ)し、その印刷用のWebベージを確認してから印刷を実行する。画像形成装置の入力部および表示部を用いてこのような操作を行うことはユーザにとって非常に手間である。 When attempting to print such a Web page for printing using the image forming apparatus as described above, the user first accesses the target Web page, scrolls within the Web page, and the like for printing. Search for a button, select that button, move (jump) to the linked web page for printing, confirm the web page for printing, and execute printing. It is very troublesome for the user to perform such an operation using the input unit and the display unit of the image forming apparatus.
上述のような特許文献1の従来の方法を用いると、ユーザが指定したWebページとともに、そこからリンクするWebページが印刷される。よって、指定したWebページからリンクしている印刷用のWebページを印刷しようとすると、その印刷用のWebページとともに元の指定のWebページも印刷される。また、指定されたWebページに印刷用ページ以外のWebページへのリンクが含まれている場合には、そのリンク先のWebページまでもが印刷される。すわなち、印刷用のWebページを目的として印刷を実行しても、目的外の別のWebページまでもが印刷されることになる。よって、特許文献1の方法では、印刷に無駄に時間がかかる上に、用紙を無駄にしてしまう。
When the conventional method of
本発明はこのような問題点に鑑み、ブラウザの機能を有する画像形成装置によるWebページの印刷において、印刷用のWebページが設けられている場合に、それを、従来よりも簡単にかつ効率よく印刷できるようにすることを目的とする。 In view of such problems, the present invention provides a simpler and more efficient printing of a web page when printing a web page by an image forming apparatus having a browser function than when a web page for printing is provided. The purpose is to be able to print.
本発明の一形態に係る画像形成装置は、ブラウザの機能を有する画像形成装置であって、ユーザが指定したWebページにアクセスし、当該Webページのデータを取得するWebページデータ取得手段と、前記Webページデータ取得手段が取得したWebページのデータに基づいて、当該Webページに、印刷用のWebページへのリンクが含まれているか否かを判定する判定手段と、取得したWebページのデータに基づいて当該Webページを印刷する印刷手段と、Webページに前記リンクが含まれていると前記判定手段が判定した場合には、ユーザによる印刷実行の指示があったときに、前記Webページデータ取得手段に当該リンク先の印刷用のWebページのデータを取得させ、取得された当該データに基づいて当該印刷用のWebページを印刷するように前記印刷手段を制御する、印刷制御手段と、を有することを特徴とする。 An image forming apparatus according to an aspect of the present invention is an image forming apparatus having a browser function, which accesses a Web page designated by a user and acquires data of the Web page; Based on the Web page data acquired by the Web page data acquisition means, the determination means for determining whether or not the link to the Web page for printing is included in the Web page, and the acquired Web page data And when the determination unit determines that the link is included in the Web page, the Web page data acquisition is performed when a user issues a print execution instruction. Means to acquire the data of the linked web page for printing, and based on the acquired data for the printing Controlling said printing means to print a Web page, and having a print control means.
好ましくは、ユーザによる印刷実行の指示を受け付ける印刷指示受付手段を有し、Webページに前記リンクが含まれていると前記判定手段が判定した場合に、前記印刷指示受付手段を強調することによって、当該リンクが含まれていることをユーザに知らせる。 Preferably, the printer includes a print instruction reception unit that receives a print execution instruction from a user, and when the determination unit determines that the link is included in a Web page, by emphasizing the print instruction reception unit, Inform the user that the link is included.
好ましくは、前記判定手段は、Webページのデータに所定の単語が含まれているか否かに基づいて判定を行う。 Preferably, the determination unit performs the determination based on whether or not a predetermined word is included in the Web page data.
本発明の他の形態に係る画像形成装置は、ブラウザの機能を有する画像形成装置であって、ユーザが指定したWebページにアクセスし、当該Webページに関するデータを取得するとともに当該WebページからリンクしていくことによってアクセスできるWebページに関するデータを取得するWebページデータ取得手段と、前記Webページデータ取得手段が取得した各Webページに関するデータに基づいて、当該各Webページに、印刷用のWebページへのリンクが含まれているか否かを判定する判定手段と、前記Webページデータ取得手段が取得したWebページに関するデータに基づいて、Webページを示すタイトルのリストを生成し、当該リストを表示手段に表示させるリスト表示制御手段と、Webページの印刷を行う印刷手段と、印刷用のWebページへのリンクが含まれていると判定されたWebページを示すタイトルがユーザによって前記表示手段において選択されている場合は、当該選択されているWebページの印刷用のWebページのデータを前記Webページデータ取得手段に取得させ、取得された当該データに基づいて当該印刷用のWebページを印刷するように前記印刷手段を制御する印刷制御手段と、を有することを特徴とする。 An image forming apparatus according to another aspect of the present invention is an image forming apparatus having a browser function, accesses a Web page specified by a user, acquires data related to the Web page, and links from the Web page. Web page data acquisition means for acquiring data related to a Web page that can be accessed by following, and data related to each Web page acquired by the Web page data acquisition means, to each Web page, to the Web page for printing Based on the data related to the Web page acquired by the Web page data acquisition unit and the determination unit that determines whether the link is included, a list of titles indicating the Web page is generated, and the list is displayed on the display unit List display control means to be displayed and Web page printing If a title indicating a printing unit to be performed and a Web page determined to include a link to a Web page for printing is selected on the display unit by the user, printing of the selected Web page is performed And a print control unit that controls the printing unit to print the web page for printing based on the acquired data. It is characterized by.
好ましくは、前記Webページデータ取得手段は、ユーザがWebページを指定したときに当該Webページに関するデータおよび当該WebページからリンクしていくことによってアクセスできるWebページに関するデータを取得する際には、印刷用のWebページのデータは取得しない。 Preferably, the web page data acquisition unit prints data regarding a web page that can be accessed by linking from the web page when the user designates a web page, and printing the web page data. Web page data is not acquired.
好ましくは、前記リスト表示制御手段は、印刷用のWebページへのリンクが含まれていると判定されたWebページに関しては、当該Webページを示すタイトルを、当該リンクが含まれていることがわかるように前記表示手段に強調表示させる。 Preferably, for the Web page determined to include a link to the Web page for printing, the list display control means knows that the title indicating the Web page includes the link. Thus, the display means is highlighted.
好ましくは、前記Webページに関するデータは、当該Webページを示すタイトルを表示し且つ印刷用のWebページへのリンクが含まれているか否かを判定するために必要なだけのデータである。 Preferably, the data relating to the Web page is data necessary for displaying a title indicating the Web page and determining whether or not a link to the Web page for printing is included.
好ましくは、前記Webページデータ取得手段は、ユーザが指定したWebページからリンクしていくことによってアクセスできるWebページを、当該指定されたWebページと同じWebサイトに属するWebページの中から取得する。 Preferably, the Web page data acquisition unit acquires a Web page that can be accessed by linking from a Web page specified by the user from Web pages belonging to the same Web site as the specified Web page.
好ましくは、前記判定手段は、Webページに関するデータに所定の単語が含まれているか否かに基づいて判定を行う。 Preferably, the determination unit performs the determination based on whether or not a predetermined word is included in the data relating to the Web page.
なお、Webページは、WWW(World Wide Web)システムを使ってインターネット上またはイントラネット上で公開する文書または画像などについての、Webブラウザに一度に表示される単位のデータのまとまりである。Webページは、通常、複数の関連するもの同士がひとまとめにされて公開される。一般に、そのようなWebページのまとまりをWebサイトと呼ぶ。 A Web page is a group of data in units displayed at a time on a Web browser for documents or images published on the Internet or an intranet using a WWW (World Wide Web) system. A web page is usually published by bringing together a plurality of related items. In general, a group of such Web pages is called a Web site.
本発明によると、ブラウザの機能を有する画像形成装置によるWebページの印刷において、印刷用のWebページが設けられている場合に、それを、従来よりも簡単にかつ効率よく印刷できるようにする。 According to the present invention, when a web page for printing is provided in printing of a web page by an image forming apparatus having a browser function, it can be printed more easily and efficiently than in the past.
〔第一実施例〕
図1は本発明に係る画像形成装置1の構成を示す図、図2は操作パネル13の構成の例を示す図、図3はWeb印刷の設定画面の例を示す図である。
[First Example]
FIG. 1 is a diagram showing a configuration of an
本発明の一実施形態に係る画像形成装置1は、コピー、スキャナ、ファックス、ネットワークプリンティング、ドキュメントサーバ、およびファイル転送などの様々な機能を集約した画像処理装置である。複合機またはMFP(Multi Function Peripherals)などと呼ばれることもある。
An
画像形成装置1は、インターネットまたはイントラネットなどによって構成される通信ネットワークNTに接続されており、インターネット上のWebページに直接アクセスして、Webページを印刷することができる。以下、このような機能を「Web印刷」と記載することがある。
The
図1に示すように、画像形成装置1は、制御処理部10、スキャナ部11、プリンタ部12、および操作パネル13などのハードウェアによって構成される。
As shown in FIG. 1, the
スキャナ部11は、原稿の用紙に描かれている写真、文字、絵、または図表などを光学的に読み取って画像データを生成し出力するための装置である。
The
プリンタ部12は、スキャナ部11によって得られた画像データまたはネットワークインタフェース10fを介して送られてきたWebページのデータに基づいて、用紙に画像を印刷する装置である。
The
操作パネル13は、ユーザが画像形成装置1に各種の設定をしたり印刷などの指令を与えたりするための入力装置(インタフェース)である。操作パネル13には、図2に示すように、タッチパネルTP1、TP2、スタートボタンBS、および各種の機能選択ボタンBTが設けられている。
The
タッチパネルTP1およびTP2は、画像形成装置1がアクセスしたWebページおよびユーザが入力した設定内容などを表示する表示装置であり、タッチパネルの機能によって入力装置としての役割も果たす。
The touch panels TP1 and TP2 are display devices that display Web pages accessed by the
タッチパネルTP2は、キーボードなどの入力手段を表示することができ、ユーザはそれによってWebページのURL(Uniform Resource Locator)などを入力することができる。本実施形態では、アクセスされたWebページは、タッチパネルTP1に表示される。以下、これらタッチパネルTP1およびTP2を総称して「タッチパネルTP」と記載することがある。 The touch panel TP2 can display input means such as a keyboard, and the user can input a URL (Uniform Resource Locator) of the Web page or the like accordingly. In the present embodiment, the accessed web page is displayed on the touch panel TP1. Hereinafter, the touch panels TP1 and TP2 may be collectively referred to as “touch panel TP”.
スタートボタンBSは、ユーザが、印刷またはスキャンなどの各種機能の実行の指示を与えるためのボタンである。 The start button BS is a button for the user to give instructions for executing various functions such as printing or scanning.
機能選択ボタンBTは、「FAX」、「コピー」、「スキャン」、「Web印刷」のうちで使いたい機能をユーザが選択するためのボタンである。機能選択ボタンBTが押されると、そのボタンに対応する機能の設定を行うための画面がタッチパネルTP1またはTP2に表示される。例えば、「Web印刷」が選択された場合、本実形態では、図3(a)に示すようなWeb印刷設定画面GM1がタッチパネルTP2に表示される。 The function selection button BT is a button for the user to select a function to be used from among “FAX”, “Copy”, “Scan”, and “Web printing”. When the function selection button BT is pressed, a screen for setting a function corresponding to the button is displayed on the touch panel TP1 or TP2. For example, when “Web printing” is selected, in this embodiment, a Web print setting screen GM1 as shown in FIG. 3A is displayed on the touch panel TP2.
図3(a)に示すようにWeb印刷設定画面GM1には、テキストボックスTX1、OKボタンBK、印刷設定ボタンBP、およびキーボードKBなどが含まれる。ここで、図3を参照しながら、Web印刷の設定を行うに際のユーザの操作の手順について説明する。 As shown in FIG. 3A, the Web print setting screen GM1 includes a text box TX1, an OK button BK, a print setting button BP, a keyboard KB, and the like. Here, with reference to FIG. 3, a user operation procedure when setting the Web printing will be described.
ユーザは、まず、キーボードKBを用いて目的のWebページのURL(アドレス)を入力する。入力されたURLは、テキストボックスTX1に表示される。ユーザがOKボタンBKを押すと、画像形成装置1は、入力されたURLに基づいてインターネットにアクセスし、Webページのデータを取得する。そして、そのWebページをタッチパネルTP1に表示させる。
First, the user inputs the URL (address) of the target Web page using the keyboard KB. The input URL is displayed in the text box TX1. When the user presses an OK button BK, the
Web印刷設定画面GM1においてユーザが印刷設定ボタンBPを押すと、印刷の部数および用紙のサイズなどを設定するためのWeb印刷設定画面GM2が表示される。 When the user presses the print setting button BP on the Web print setting screen GM1, a Web print setting screen GM2 for setting the number of copies and the paper size is displayed.
Web印刷設定画面GM2には、テキストボックスTX2、TX3、およびテンキーKTなどが含まれる。ユーザは、テンキーKTを用いて、部数および用紙のサイズなどを、テキストボックスTX2およびTX3などの入力エリアに入力する。ユーザが、操作パネル13のスタートボタンBSを押すと、設定された内容に基づいて、Webページが印刷される。
The Web print setting screen GM2 includes text boxes TX2, TX3, a numeric keypad KT, and the like. The user uses the numeric keypad KT to input the number of copies, the paper size, and the like in input areas such as text boxes TX2 and TX3. When the user presses the start button BS on the
制御処理部10は、画像形成装置1全体についての制御部である。CPU10a、RAM10b、ROM10c、ハードディスク10d、制御用回路10e、およびネットワークインタフェース10fなどによって構成される。
The
ネットワークインタフェース10fは、他の装置と通信を行うためのインタフェースである。通信インタフェースとして、NIC(Network Interface Card)、モデム、またはNCU(Network Control Unit)などが用いられる。画像形成装置1は、ネットワークインタフェース10fを介して通信ネットワークNTからWebページのデータを取得する。
The network interface 10f is an interface for communicating with other devices. As a communication interface, a network interface card (NIC), a modem, or a network control unit (NCU) is used. The
CPU10aは、ユーザからの入力の検出または操作パネル13の表示の制御など、画像処理装置1の全体的な制御を行う。また、スキャナ部11が読み取った画像データの形式の変換または色の補正など、画像データに対する種々の処理を行う。
The
制御用回路10eは、ハードディスク10d、操作パネル13、スキャナ部11、プリンタ部12、およびネットワークインタフェース10fなどの装置を制御するための回路である。
The
ハードディスク10dは、スキャナ部11が読み取った画像データまたは通信ネットワークNTから取得したWebページのデータなどを保存する。また、ハードディスク10dには、後に説明する図4および図9に示す各部の処理を実現するためのプログラムおよびデータなどが格納されている。これらのプログラムおよびデータは必要に応じてRAM10bに読み出され、CPU10aによってプログラムが実行される。これらのプログラムまたはデータの一部または全部を、ROM10cに記憶させておいてもよい。また、これら各部の機能の一部または全部を、ソフトウェアによって実現してもよいし、制御用回路10eなどのハードウェアによって実現してもよい。
The
図4は画像形成装置1の機能的構成の例を示す図、図5はタッチパネルTP1に表示されたWebページの例を示す図、図6はWebページのHTMLの例を示す図である。
4 is a diagram illustrating an example of a functional configuration of the
図4に示すように画像形成装置1は、ページデータ保存部101、判定結果保存部102、設定データ保存部103、URL受付部104、ページデータ取得部105、ページ表示処理部106、印刷用ページ有無判定部107、印刷用ページ存在通知処理部108、設定データ受付部109、印刷指示受付部110、および印刷指令処理部111などによって構成される。
As shown in FIG. 4, the
ページデータ保存部101は、画像形成装置1がインターネットから取得したWebページのデータおよびURLなどを保存する。以下、Webページのデータを「ページデータDP」と記載することがある。
The page
判定結果保存部102は、後に説明する印刷用ページ有無判定部107における判定の結果を保存する。設定データ保存部103は、ユーザがタッチパネルTP2を用いて設定した印刷の部数および用紙のサイズなどの条件を示すデータ(設定データ)を保存する。
The determination
Webページの閲覧に際して、ユーザがタッチパネルTP2を用いてURLを入力しOKボタンBKを押すと、入力されたURLが操作パネル13から制御処理部10に送られる。
When browsing the Web page, when the user inputs a URL using the touch panel TP2 and presses an OK button BK, the input URL is sent from the
URL受付部104は、操作パネル13から制御処理部10に送られてくるURLを受け付ける。
The
ページデータ取得部105は、URLに基づいてページデータDPを取得するための処理を行う。この処理は、例えば、以下のようにして行う。
The page
まず、URL受付処理部が受け付けたURLを受け取る。そのURLに基づいて、Webページを管理するサーバにアクセスする。そのサーバに対してそのURLに対応するWebページのページデータDPを要求する。サーバから送信されたページデータDPを受け取りページデータ保存部101に保存する。
First, the URL received by the URL reception processing unit is received. Based on the URL, a server that manages the Web page is accessed. The page data DP of the Web page corresponding to the URL is requested to the server. The page data DP transmitted from the server is received and stored in the page
なお、このページデータDPには、Webページの内容をタッチパネルTPに表示するためのHTMLおよび画像データなどが含まれる。 The page data DP includes HTML and image data for displaying the contents of the Web page on the touch panel TP.
ページ表示処理部106は、ページデータ取得部105が取得したページデータDPを操作パネル13に送り、そのページデータDPに基づいてWebページをタッチパネルTP1に表示するように操作パネル13に指示する。操作パネル13では、その指令に従って、タッチパネルTP1にWebページを表示する。これによって、例えば、図5に示すようなWebページが表示される。
The page
ところで、Webページには、そのWebページの内容を適切に印刷できるようにするための印刷用のWebページが別に用意されていることがある。Webページをそのまま印刷した場合に、用紙の端で、用紙に入りきらない部分の内容が切れてしまうことがあるからである。そのようなWebページには、印刷用のWebページへのリンクが含まれている。Webページの内容を印刷しようとする場合、通常、ユーザは、一旦そのリンクから印刷用のWebページにアクセスしてその印刷用のWebページを印刷する。 By the way, a web page for printing for appropriately printing the contents of the web page may be separately prepared for the web page. This is because, when a Web page is printed as it is, the contents of the edge of the paper that cannot fit in the paper may be cut off. Such a web page includes a link to a web page for printing. When trying to print the contents of a Web page, the user normally accesses the Web page for printing once from the link and prints the Web page for printing.
以下、印刷用のWebページを「印刷用ページ」と記載することがある。また、これに対して、印刷用ページ以外のWebページを「表示用ページ」と記載することがある。 Hereinafter, a web page for printing may be referred to as a “printing page”. On the other hand, Web pages other than print pages may be described as “display pages”.
なお、リンクは、文書などに埋め込まれた、他の文書や画像などの場所を示すデータである。「ハイパーリンク」などと呼ばれることもある。 The link is data indicating the location of another document or image embedded in the document. Sometimes called "hyperlink".
リンクは、例えば図5の「LJ1」および「LJ2」のようにボタンまたは文字列として表示される。これらのボタンまたは文字列を選択すると、それに関連づけられたリンク先にジャンプすることができる。すなわち、それらと関連付けられているURLのWebページへのアクセスが行われ、そのWebページが表示される。 The link is displayed as a button or a character string such as “LJ1” and “LJ2” in FIG. When these buttons or character strings are selected, it is possible to jump to the link destination associated therewith. That is, access is made to the Web page of the URL associated with them, and the Web page is displayed.
印刷用ページ有無判定部107は、アクセスしたWebページに印刷用ページがあるか否かを判定する。この判定は以下のようにして行う。
The print page presence /
まず、ページデータ取得部105が取得したページデータDPを受け取り、そこに含まれるHTMLを取得する。そのHTMLから、例えば、「印刷」、「印刷用ページの表示」、「プリント」、または「Print」などの、印刷に関連する単語または表現などを表す文字列を検索する。例えば、図6に示すようなHTMLの場合、これによって、行L1の「印刷」または「印刷ページの表示」の文字列が検出される。検索対象の文字列が見つからなかった場合は、そのWebページには、印刷用ページがないと判定する。検索対象の文字列が見つかった場合は、印刷用ページがあると判定する。
First, the page data DP acquired by the page
印刷用ページがあると判定した場合、印刷用ページ有無判定部107は、さらに、以下のような処理を行う。
If it is determined that there is a print page, the print page presence /
まず、その判定結果を判定結果保存部102に保存する。さらに、URLを解析して、見つけた検索対象の文字列に関連付けられているURL、すなわちリンク先の印刷用ページのURLを取得し、それをページデータ保存部101に保存する。
First, the determination result is stored in the determination
これに際しては、例えば、検索対象の文字列が見つかった行を解析し、「a href」などの所定のHTMLのタグ(HTMLタグ)の後に記載されているURLを取得する。図6の例では、これによって、行L1の「http://www.coupon.printmap.html」が取得される。 In this case, for example, a line in which a character string to be searched is found is analyzed, and a URL described after a predetermined HTML tag (HTML tag) such as “a href” is acquired. In the example of FIG. 6, “http: //www.coupon.printmap.html” in the row L1 is thereby acquired.
なお、上記の判定において、「印刷」などの所定の単語または表現などを示す文字列と所定のHTMLタグとの組み合わせを含む1つの行(または1つの命令文)を検索し、そのような行が見つかった場合に印刷用ページがあると判定するようにしてもよい。具体的には、例えば、「印刷」の文字列と「a href」のHTMLタグとの組み合わせを対象として検索を行う。図6のHTMLの場合は、それによって行L1が検出され、印刷用ページがあると判定される。 In the above determination, one line (or one command sentence) including a combination of a character string indicating a predetermined word or expression such as “print” and a predetermined HTML tag is searched, and such a line is searched. If a page is found, it may be determined that there is a page for printing. Specifically, for example, a search is performed on a combination of a character string “print” and an HTML tag “a href”. In the case of the HTML in FIG. 6, the line L1 is detected thereby, and it is determined that there is a print page.
印刷用ページ存在通知処理部108は、Webページに印刷用ページがあると判定された場合に、それをユーザに知らせるための処理を以下のようにして行う。
When it is determined that there is a print page in the Web page, the print page presence
まず、印刷用ページデータ判定部107の判定の結果を受け取る。それが、印刷用ページがある旨の判定結果であった場合に、スタートボタンBSの点灯を指示する信号を操作パネル13に送る。操作パネル13は、その信号に基づいてスタートボタンBSを点灯させる。
First, the determination result of the print page
スタートボタンBSが点灯し強調されることによって、ユーザは、自分が指定したWebページに印刷用ページがあることを知ることができる。この後、ユーザは、タッチパネルTP1に表示されたWebページを確認し、図3(b)に示すようなWeb印刷設定画面GM2を用いて印刷の設定を行う。そして、スタートボタンBSを押して、画像形成装置1に印刷を指示する。すると、設定された内容を示す設定データおよび印刷指示の信号が、操作パネル13から制御処理部10に送られる。
When the start button BS is lit and emphasized, the user can know that there is a print page in the Web page designated by the user. Thereafter, the user confirms the Web page displayed on the touch panel TP1, and performs print settings using the Web print setting screen GM2 as shown in FIG. Then, the start button BS is pressed to instruct the
設定データ受付部109は、操作パネル13から設定データを受け付け、それを設定データ保存部103に保存する。
The setting
印刷指示受付部110は、操作パネル13から印刷指示の信号を受け付け、それを印刷指令処理部111に送る。
The print
印刷指令処理部111は、印刷指示の信号を受け取ると、Webページの印刷をプリンタ部12に指示するための処理を開始する。この処理は以下のようにして行う。
When receiving a print instruction signal, the print
まず、印刷用ページ有無判定部107による判定の結果を判定結果保存部102から取得する。印刷ページがあるとの判定結果である場合は、さらに、印刷用ページ有無判定部107の処理の際に保存されたその印刷用ページのURLをページデータ保存部101から取得する。そして、そのURLをページデータ取得部105に送り、そのURLに基づいて印刷用ページのページデータDPを取得するように指示する。ページデータ取得部105は、そのURLに基づいて、印刷用ページのページデータDPを取得し、それを印刷指令処理部111に返す。以下、印刷用ページのページデータDPを、特に、「印刷用ページデータDN」と記載することがある。また、これに対して、表示用ページのページデータDPを「表示用ページデータDW」と記載することがある。
First, the result of determination by the print page presence /
印刷用ページがないとの判定結果である場合は、ページデータ保存部101から表示用ページデータDW、すなわちタッチパネルTP1に表示されているWebページのページデータDPを取得する。
When the determination result indicates that there is no page for printing, the page data DW for display, that is, the page data DP of the Web page displayed on the touch panel TP1 is acquired from the page
さらに、設定データ保存部103に保存された設定データを取得する。その設定データおよび既に取得してある印刷用ページデータDNまたは表示用ページデータDWを用いて、印刷用ページデータDNまたは表示用ページデータDWに示される内容を、設定データに示される条件に基づいて印刷するための印刷データを生成し、それをプリンタ部12に送る。印刷データを受け取ると、プリンタ部12は、その印刷データに基づいてWebページの印刷を行う。
Further, the setting data stored in the setting
上記の処理では、Webページの表示の際ではなく、ユーザが印刷の指示をした際、すなわち印刷の直前に、印刷用ページデータDNを取得するようにした。これによって、Webページの表示の際の通信量を減らして表示の処理を早めることができる。よって、ユーザは快適にWebページを閲覧することができる。 In the above processing, the print page data DN is acquired when the user instructs printing, that is, immediately before printing, instead of when displaying a Web page. As a result, it is possible to speed up the display process by reducing the amount of communication when displaying the Web page. Therefore, the user can browse the web page comfortably.
なお、印刷用ページデータDNを、ユーザがURLを指定したタイミングで取得するようにしてもよい。この場合、各部は、以下のようにして処理を行う。 The print page data DN may be acquired at a timing when the user specifies a URL. In this case, each unit performs processing as follows.
まず、印刷用ページ有無判定部107は、印刷用ページがあると判定した際に取得したその印刷用ページのURLをページデータ取得部105に送り、印刷用ページデータDNの取得を指示する。ページデータ取得部105は、そのURLに基づいて、印刷用ページデータDNを取得し、それをページデータ保存部101に保存する。
First, the print page presence /
ユーザから印刷の指示があった際に、印刷指令処理部111は、まず、印刷用ページ有無判定部107による判定の結果を判定結果保存部102から取得する。印刷用ページがあるとの判定結果である場合は、ページデータ保存部101から、印刷用ページデータDNを取得する。印刷用ページがないとの旨を示す判定結果である場合は、ページデータ保存部101から表示用ページデータDWを取得する。
When there is a print instruction from the user, the print
さらに、設定データ保存部103から設定データを取得する。その設定データおよび既に取得した印刷用ページデータDNまたは表示用ページデータDWを用いて、印刷データを生成し、それをプリンタ部12に送る。
Further, setting data is acquired from the setting
また、上記の例では、スタートボタンBSが押されたことによって印刷の処理を開始する場合を示した。これを、ユーザからの明示の印刷の指示を待つことなくURLが確定された時点で印刷を実行するようにしてもよい。その場合は、次のような構成にしておく。 In the above example, the case where the printing process is started when the start button BS is pressed is shown. Alternatively, printing may be executed when the URL is confirmed without waiting for an explicit print instruction from the user. In that case, the following configuration is used.
タッチパネルTP2を用いてユーザがURLを入力し閲覧ボタンBEを押してそれを確定したときに、操作パネル13からそのURLがURL受付部104に送られるとともに、印刷指示の信号が印刷指示受付部110に送られるようにする。それによって、ユーザがURLを指定したタイミングで、印刷指令処理部111がプリンタ部12に印刷を指示するための処理を開始するようにする。
When the user inputs a URL using the touch panel TP2 and presses the browse button BE to confirm it, the URL is sent from the
なお、本実施例では、ユーザがタッチパネルTP1に直接URLを入力することによってWebページを指定する場合を示したが、他の方法によって指定してもよい。例えば、タッチパネルTP1に表示されているWebページ内のリンクを選択することによって指定するようにしてもよい。その場合は、URL受付部104は、選択されたリンクに対応するURLを受け取る。
In the present embodiment, the case where the user designates the Web page by directly entering the URL on the touch panel TP1 is shown, but the web page may be designated by another method. For example, it may be specified by selecting a link in the Web page displayed on the touch panel TP1. In that case, the
図7はユーザによってWebページが指定された際の画像形成装置1における処理の流れ説明するためのフローチャート、図8はユーザによって印刷の指示がされた際の画像形成装置1における処理の流れ説明するためのフローチャートである。
FIG. 7 is a flowchart for explaining the flow of processing in the
ユーザがタッチパネルTP2を用いてURLを入力してOKボタンBKを押すと(#101でYes)、画像形成装置1は、そのURLのWebページにアクセスする(#102)。すなわちURLに示されるサーバにそのWebページのページデータDPを要求する。サーバがダウンしているなどの理由でページデータDPの取得できなかった場合は(#103でNo)、タッチパネルTP1にWebページのアクセスに失敗した旨を示すメッセージを表示する(#104)。
When the user inputs the URL using the touch panel TP2 and presses the OK button BK (Yes in # 101), the
ページデータDPを取得できた場合は(#103でYes)、そのページデータDPに基づいてWebページをタッチパネルTP1に表示する(#105)。 If the page data DP can be acquired (Yes in # 103), the Web page is displayed on the touch panel TP1 based on the page data DP (# 105).
取得したページデータDPに含まれるHTMLから、所定の言葉(単語または表現など)、または所定の言葉および所定のHTMLタグの組合せを含む行などを検索するなどして、印刷用ページへのリンクが含まれているか否かを判定し(#106)、その判定結果を保存する。リンクが含まれていると判定した場合は(#106でYes)、スタートボタンBSを点灯させる(#107)。リンクが含まれていないと判定した場合は(#106でNo)、そのまま処理を終了する。 A link to a print page is obtained by searching a predetermined word (word or expression) or a line including a combination of a predetermined word and a predetermined HTML tag from HTML included in the acquired page data DP. It is determined whether it is included (# 106), and the determination result is stored. If it is determined that the link is included (Yes in # 106), the start button BS is turned on (# 107). If it is determined that the link is not included (No in # 106), the process is terminated as it is.
タッチパネルTP1にWebページが表示されると、ユーザは、その内容を確認し、印刷の設定を行う。さらに、スタートボタンBSを押して画像形成装置1に印刷を指示する。
When the Web page is displayed on the touch panel TP1, the user confirms the content and sets printing. Further, the start button BS is pressed to instruct the
図8において、ユーザから印刷の指示があると(#111でYes)、まず、図7のステップ#106での判定結果を参照する。リンクが含まれていないとの判定結果である場合は(#112でNo)、図7のステップ#102で取得したページデータDPを用いて、予めユーザが設定した印刷の条件に基づいて印刷を実行するための印刷データを生成する(#113)。そして、その印刷データに基づいて、タッチパネルTP1に表示されているWebページを印刷する(#119)。
In FIG. 8, when there is a print instruction from the user (Yes in # 111), the determination result in
リンクが含まれているとの判定結果である場合は(#112でYes)、図7のステップ#102で取得したページデータDPから、そのリンクに関連付けられているURLを取得する(#114)。取得したURLに示されるサーバに印刷用ページデータDNを要求する(#115)。
If it is determined that the link is included (Yes in # 112), the URL associated with the link is acquired from the page data DP acquired in
印刷用ページデータDNを取得できなかった場合は(#116でNo)、印刷用ページへのアクセスに失敗した旨を示すメッセージをタッチパネルTP1に表示する(#117)。なお、この場合は、自動的にまたはユーザからの指示に従って、図7のステップ#102で取得したページデータDPに基づいて印刷を行うようにしてもよい。
If the print page data DN cannot be acquired (No in # 116), a message indicating that the access to the print page has failed is displayed on the touch panel TP1 (# 117). In this case, printing may be performed based on the page data DP acquired in
アクセスに成功した場合は(#116でYes)、取得した印刷用ページデータDNを用いて、予めユーザが設定した印刷の条件に基づいて印刷を実行するための印刷データを生成する(#118)。そして、その印刷データに基づいて印刷用ページを印刷する(#119)。 When the access is successful (Yes in # 116), print data for executing printing is generated based on the printing conditions set in advance by the user using the acquired print page data DN (# 118). . Then, a print page is printed based on the print data (# 119).
また、ユーザからの印刷の指示があった際に、印刷用ページデータDNを取得するのではなく、図7のステップ#106の判定において印刷用ページへのリンクが含まれていると判定された際に取得するようにしてもよい。
Further, when the user gives a print instruction, it is determined that the link to the print page is included in the determination of
その場合は、ステップ#106において、リンクが含まれていると判定した際に、ステップ#102で取得したページデータDPから、そのリンクに関連付けられているURLを取得する。そして、取得したURLに示されるサーバに印刷用ページデータDNを要求して印刷用ページデータDNを取得する。ユーザが印刷の指示をした際は(#111でYes)、ステップ#114および115の処理を行わないでステップ#116以降の処理を行う。
In that case, when it is determined in
本実施例においては、スタートボタンBSを点灯させて強調することによって、印刷用ページがあることをユーザに知らせたが、他の方法によって知らせるようにしてもよい。例えば、スタートボタンBSを点滅させるようにしてもよい。音または音声によってユーザに知らせるようにしてもよい。または、タッチパネルTP1またはPT2に印刷用ページの印刷を行うためのボタンを表示するようにしてもよい。 In this embodiment, the user is informed that there is a page for printing by turning on and emphasizing the start button BS, but it may be notified by other methods. For example, the start button BS may blink. The user may be notified by sound or voice. Alternatively, a button for printing a print page may be displayed on the touch panel TP1 or PT2.
印刷用ページの印刷を行うためのボタンを表示する場合には、そのボタンが押された場合に、印刷用ページを印刷するようにし、スタートボタンBSが押された場合に、元の表示用ページが印刷されるようにしてもよい。 When displaying a button for printing a print page, the print page is printed when the button is pressed, and the original display page is displayed when the start button BS is pressed. May be printed.
また、ユーザからURLが指定された際に、それを印刷実行の指示として印刷の処理を開始するようにしてもよい。その場合は、図7のステップ#107の処理の後、ユーザからの印刷の指示を待つことなく図8のステップ#112以降の処理を行うようにする。また、この場合において、ステップ#107の処理をスキップしてもよい。
Further, when a URL is specified by the user, the printing process may be started using the URL as an instruction to execute printing. In that case, after the processing of
また、指定されたWebページに印刷用ページがある場合に、無条件でその印刷用ページを印刷するのではなく、印刷の際に、印刷用ページを印刷するのか元の表示用ページを印刷するのかを選択させるようにしてもよい。 In addition, when there is a print page on the designated web page, the print page is not printed unconditionally, but the print page is printed or the original display page is printed at the time of printing. May be selected.
本実施例によると、ユーザが指定したWebページに印刷用ページがあれば、自動的に、その印刷用ページのページデータDPを取得する。そして、そのWebページについての印刷が指示された際には、そのページデータDPに基づいて印刷用ページを印刷する。 According to this embodiment, if there is a print page on the Web page designated by the user, the page data DP of the print page is automatically acquired. When printing about the Web page is instructed, the printing page is printed based on the page data DP.
これによって、ユーザは、Webページを指定してスタートボタンBSを押すという簡単な操作だけで、印刷用ページを印刷することができる。
〔第二実施例〕
図9は第二実施例における画像形成装置1の機能的構成の例を示す図、図10はページリストテーブルTLWの例を示す図、図11は図10のページリストテーブルTLWに基づいて生成されるページリストの例を示す図である。
As a result, the user can print the printing page with a simple operation of designating the Web page and pressing the start button BS.
[Second Example]
9 is a diagram illustrating an example of a functional configuration of the
第二実施例においては、ユーザがURLを指定した際に、そのURLのWebページのタイトルおよびそのWebページからリンクしていくことができるWebページのタイトルのリストをタッチパネルTP1に表示し、ユーザがいずれかのタイトルを選択して印刷実行の指示を行ったときに、そのタイトルのWebページについての印刷を行う。以下、このリストを「ページリスト」と記載することがある。 In the second embodiment, when the user designates a URL, the title of the Web page of the URL and a list of Web page titles that can be linked from the Web page are displayed on the touch panel TP1, and the user When one of the titles is selected and a print execution instruction is given, the web page with that title is printed. Hereinafter, this list may be referred to as a “page list”.
そこで、本実施例では、画像形成装置1の制御処理部10を図9のよう構成する。すなわち、テーブル保存部121、リンク先ページ取得指令部123、およびリスト表示処理部124を追加する。
Therefore, in this embodiment, the
以下、本実施例における画像形成装置1を「画像形成装置1B」と記載し、制御処理部10を「制御処理部10B」と記載することがある。ここで、制御処理部10Bの各部の処理について説明する。なお、設定データ保存部103、URL受付部104、および設定データ受付部109の処理については、図4において既に説明したとおりである。
Hereinafter, the
図9において、テーブル保存部121は、図10に示すページリストテーブルTLWを保存する。
In FIG. 9, the
ページリストテーブルTLWは、ユーザがタッチパネルTPを用いて指定したURLのWebページおよびそこからリンクしていくことができるWebページの属性などを記憶しておくためのテーブルである。Webページごとに1つのレコードが格納される。 The page list table TLW is a table for storing a Web page with a URL specified by the user using the touch panel TP and attributes of the Web page that can be linked from there. One record is stored for each Web page.
図10に示すように、ページリストテーブルTLWには、「番号」、「タイトル」、「URL」、「リンク元」、「印刷用ページ有無」、「印刷用ページURL」、および「ページデータ」などのフィールドが含まれる。 As shown in FIG. 10, the page list table TLW includes “number”, “title”, “URL”, “link source”, “print page presence / absence”, “print page URL”, and “page data”. And other fields are included.
「番号」は、ページリストテーブルTLWにおけるWebページの識別番号である。以下、この番号を「テーブル内番号」と記載することがある。なお、ユーザが指定したWebページ、すなわちリンクの先頭にあたるWebページ(先頭ページ)のテーブル内番号を「1」とする。 “Number” is an identification number of a Web page in the page list table TLW. Hereinafter, this number may be referred to as “in-table number”. The number in the table of the Web page designated by the user, that is, the Web page (first page) corresponding to the head of the link is set to “1”.
「タイトル」および「URL」は、それぞれ、そのWebページのタイトルおよびURLである。本実施形態では、あるWebページにリンクが含まれている場合に、そのリンクに対応する文字列をそのリンク先のWebページのタイトルとして用いる。 “Title” and “URL” are the title and URL of the Web page, respectively. In this embodiment, when a link is included in a certain web page, a character string corresponding to the link is used as the title of the linked web page.
「リンクに対応する文字列」とは、リンクに関する「a」、「a href」、および「/a」などの所定のHTMLタグの箇所に記載されている文字列のことである。例えば、図6に示す行L2の場合は、「メニュー」がその文字列となる。HTMLを解析することによってこのような文字列を抽出することができる。以下、このような文字列を「リンク名」と記載することがある。なお、先頭ページのタイトルは、「Top」とする。 The “character string corresponding to the link” is a character string described in a predetermined HTML tag such as “a”, “a href”, and “/ a” related to the link. For example, in the case of the row L2 shown in FIG. 6, “Menu” is the character string. Such a character string can be extracted by analyzing HTML. Hereinafter, such a character string may be referred to as a “link name”. Note that the title of the first page is “Top”.
「リンク元」は、そのWebページへのリンクを含んでいたリンク元のWebページのテーブル内番号を示す。先頭ページにはリンク元がないので固定的に「0」を格納する。 “Link source” indicates the number in the table of the Web page of the link source that included the link to the Web page. Since there is no link source on the first page, “0” is fixedly stored.
「印刷用ページ有無」は、そのWebページについての印刷用ページの有無を示す。このフィールドに「0」が示されている場合は、そのWebページに印刷用ページがないことを意味する。「1」が示されている場合は、印刷用ページがあることを意味する。 “Print page presence / absence” indicates the presence / absence of a print page for the Web page. When “0” is indicated in this field, it means that there is no print page in the Web page. When “1” is indicated, it means that there is a page for printing.
「印刷用ページURL」は、そのWebページの印刷用ページのURLである。このフィールドには、そのWebページに印刷用ページがある場合にそのURLが示される。「ページデータ」には、そのWebページのページデータDPが格納される。 “Print page URL” is the URL of the print page of the Web page. In this field, when the Web page includes a print page, the URL is indicated. “Page data” stores the page data DP of the Web page.
ページデータ取得部122は、URL受付部104またはリンク先取得指令部123から受け取ったURLのWebページのページデータDPを取得するための処理を行う。
The page
リンク先ページ取得指令部123は、ページデータ取得部122が取得したページデータDPのWebページからリンクするWebページのページデータDPを、ページデータ取得部122に取得させるための処理を行う。この処理は、以下のようにして行う。
The linked page
まず、ページデータ取得部122が取得したページデータDPを取得する。取得したページデータDPに含まれるHTMLを取得する。そのHTMLを解析して、そのページデータDPにリンクが含まれているか否かを判定する。これに際しては、例えば、「a」、「a href」、および「/a」などの所定のHTMLタグを検索し、見つかった場合にリンクが含まれると判定する。その場合は、そのHTMLタグの箇所に記載されているURL、すなわちそのリンクに関連付けられているURLをリンク先のURLとして取得する。
First, the page data DP acquired by the page
また、リンクが含まれる場合は、そのリンクが表示用ページへのリンクであるか印刷用ページへのリンクであるかを判定する。これに際しては、例えば、検索したHTMLタグを含む1行または1つの命令文に、「印刷」なおどの印刷に関連する文字列が含まれているか否かをチェックする。含まれている場合には、そのリンクを印刷用ページへのリンクと判定し、含まれていない場合には、表示用ページへのリンクと判定する。 When a link is included, it is determined whether the link is a link to a display page or a print page. In this case, for example, it is checked whether or not a character string related to “printing” or “printing” is included in one line or one command sentence including the searched HTML tag. If it is included, the link is determined as a link to a print page, and if it is not included, it is determined as a link to a display page.
先頭ページに複数のリンクが含まれている場合はそれらの全てについてこの判定の処理を行う。また、リンクが含まれていない場合には、処理を終了し、その終了をリスト表示処理部124に通知する。
If the first page includes a plurality of links, this determination processing is performed for all of them. If no link is included, the process is terminated, and the termination is notified to the list
リンクが含まれており、そのリンクが印刷用ページへのリンクではないと判定した場合、つまり表示用ページへのリンクが含まれていると判定した場合は、ページデータ取得部122に、取得したそのリンク先のURLを通知してそのURLのページデータDPの取得を指示する。つまり、リンク先の表示用ページデータDWの取得を指示する。
When it is determined that the link is included and the link is not a link to the print page, that is, when it is determined that the link to the display page is included, the page
すると、ページデータ取得122は、そのURLに基づいて表示用ページデータDWを取得し、それをリンク先ページ取得指令部123に返す。
Then, the
ページデータ取得部122から表示用ページデータDWを受け取ると、リンク先ページ取得指令部123は、先頭ページの場合と同様にして、その表示用ページデータDWに表示用ページへのリンクが含まれているか否かを判定する。
When the display page data DW is received from the page
表示用ページへのリンクが含まれていると判定した場合は、そのリンク先の表示用ページの表示用ページデータDWを取得するようにページデータ取得部122に指示する。
If it is determined that a link to the display page is included, the page
このような処理を繰り返して、先頭ページからリンクして行くことによってアクセスできる全ての表示用ページの表示用ページデータDWを取得する。 By repeating such processing, display page data DW of all display pages that can be accessed by linking from the first page is acquired.
なお、リンクして行くことによってアクセスできる全てのWebページを取得すると、その個数が膨大になることがある。よって、例えば、同じWebサイト内に含まれるWebページ、すなわち先頭ページの下(下の階層)に存在するWebページのみを取得するようにしてもよい。なお、本実施形態において、Webサイトとは、ひとまとまりに公開されているWebページ群を意味する。一般に同じWebサイトに含まれるWebページは同じWebサーバ内で管理されていることが多い。よって、この場合、例えば、リンク先ページ取得指令部123は、URLに基づいて、リンク先のWebページがリンク元のWebページと同じWebサーバによって管理されているものか否かをチェックし、同じWebサーバによって管理されていると判定した場合に、そのリンク先のWebページをリンク元のWebページと同じWebサイトのものとみなし、それをページデータ取得部122に取得させる。
Note that if all Web pages that can be accessed by linking are acquired, the number thereof may be enormous. Therefore, for example, only Web pages included in the same Web site, that is, Web pages existing under the first page (lower hierarchy) may be acquired. Note that in this embodiment, the Web site means a group of Web pages that are open to the public. In general, Web pages included in the same Web site are often managed in the same Web server. Therefore, in this case, for example, the linked page
または、取得するWebページの個数をユーザに予め設定させておき、その設定された個数以内でのWebページを取得するようにしてもよい。この場合、ユーザは、例えばタッチパネルTP2を用いてその個数を入力する。そして、設定データ受付部109がその個数のデータを受け付け、設定データ保存部103に保存する。リンク先データ取得指令部123は、そのデータに示される個数以下となるように、ページデータ取得部122にページデータDPを取得させる。
Alternatively, the number of Web pages to be acquired may be set in advance by the user, and Web pages within the set number may be acquired. In this case, the user inputs the number using, for example, the touch panel TP2. Then, the setting
取得対象となる全てのWebページについてページデータDPの取得が完了すると、処理が終了した旨をリスト表示処理部124に通知する。
When the acquisition of the page data DP is completed for all the Web pages to be acquired, the list
リンク先ページ取得指令部123は、上記の処理と並行して、ページリストテーブルTLWに各Webページについてのレコードを登録する処理を行う。この処理は、例えば以下のようにして行う。
The linked page
ページデータDPに表示用ページへのリンクが含まれていると判定した際に、そのリンク先の表示用ページについてのレコードを追加する。この時点で、「番号」、「タイトル」、「URL」、および「リンク元」のフィールドについては、値を格納しておく。「番号」のフィールドには、前のレコード(1行上のレコード)の次の番号を格納する。「タイトル」のフィールドには、含まれていたリンクのリンク名を格納する。「URL」のフィールドには、含まれていたリンクに関連付けられているURLを格納する。「リンク元」のフィールドには、その表示用ページのリンク元のWebページのテーブル内番号を格納する。 When it is determined that the link to the display page is included in the page data DP, a record for the display page at the link destination is added. At this time, values are stored in the fields of “number”, “title”, “URL”, and “link source”. In the “number” field, the next number of the previous record (record on one line) is stored. The “title” field stores the link name of the included link. The URL associated with the included link is stored in the “URL” field. In the “link source” field, the number in the table of the link source web page of the display page is stored.
この後、リンク先ページ取得指令部123は、既に説明したように、ページデータ取得部122にそのリンク先の表示用ページデータDWを取得させ、それを受け取る。
Thereafter, as described above, the link destination page
そして、リンク先ページ取得指令部123は、その表示用ページデータDWに基づいて、先ほど追加したその表示用ページのレコードの「印刷用ページ有無」、「印刷用ページURL」、および「ページデータ」のフィールドに値を格納する。
Then, the linked page
すなわち、そのページデータDPに印刷用ページへのリンクが含まれていないと判定される場合は、「印刷用ページ有無」のフィールドに「0」を格納する。印刷用ページへのリンクが含まれていると判定される場合は、「印刷用ページ有無」のフィールドに「1」を格納し、「印刷用ページURL」のフィールドに、そのリンク先の印刷用ページのURLを格納する。また、「ページデータ」のフィールドに、取得したページデータDPを格納する。 That is, when it is determined that the page data DP does not include a link to the print page, “0” is stored in the “print page presence / absence” field. When it is determined that a link to the print page is included, “1” is stored in the “print page presence / absence” field, and the print destination of the link destination is stored in the “print page URL” field. Stores the URL of the page. Further, the acquired page data DP is stored in the “page data” field.
先頭ページからリンクしていくことによって取得した全てのページデータDPについてこのような処理を繰り返し、図10に示すようなページリストテーブルTLWを完成させる。 Such processing is repeated for all the page data DP acquired by linking from the first page, and a page list table TLW as shown in FIG. 10 is completed.
リスト表示処理部124は、ページリストテーブルTLWの内容に基づいて図11に示すようなページリストをタッチパネルTP1に表示させるための処理を行う。
The list
図11には、先頭ページ(Top)からのリンクによってアクセスしていくことができるWebページのタイトルのページリストがWebページ同士の従属関係(階層関係)がわかるようにツリー形式で示される。印刷用ページがあるWebページについては、ユーザがそれを認識できるように、例えば図11の「Aランチ」、「Bランチ」、「大阪店」、および「東京店」のように、タイトルに下線が付されることによって強調されて表示される。 In FIG. 11, a page list of titles of Web pages that can be accessed by a link from the first page (Top) is shown in a tree format so that the dependency relationship (hierarchical relationship) between Web pages can be understood. Web pages with print pages are underlined in the title so that the user can recognize them, such as “A lunch”, “B lunch”, “Osaka store”, and “Tokyo store” in FIG. Is highlighted and displayed.
なお、タイトルの文字の色を変えまたは文字を太字にするなどの他の方法でタイトルを強調するようにしてもよい。 Note that the title may be emphasized by another method such as changing the color of the title character or making the character bold.
リスト表示処理部124は、このようなページリストを表示させるための処理を行うにあたって、まず、ページリストテーブルTLWの「リンク元」のフィールドに示されるテーブル内番号を参照し、それによって表されるWebページ間の従属関係に基づいて、タイトルのページリストを表示するためのデータを生成する。また、「印刷ページ有無」のフィールドに示される値に基づいて、印刷用ページがあるWebページのタイトルに下線が付されるようにする。そして、そのデータを操作パネル13に送ってそのページリストの表示を指示する。これによって、タッチパネルTP1に図11に示すようなページリストが表示される。なお、ここでは、ツリー形式のページリストの例を示したが、表形式など他の形式のページリストを表示するようにしてもよい。
When performing processing for displaying such a page list, the list
表示されたページリストからユーザがタイトルを選択してスタートボタンBSを押すと、そのタイトルのタッチパネルTP1上における位置のデータ(位置データ)と印刷指示の信号が操作パネル13から印刷指示受付部125に送られる。
When the user selects a title from the displayed page list and presses the start button BS, position data (position data) on the touch panel TP1 of the title and a print instruction signal are sent from the
印刷指示受付部125は、それらを操作パネルから受け付け、印刷指令処理部126に送る。
The print
印刷指令処理部126は、ユーザが選択したタイトルのWebページの印刷をプリンタ部12に指示するための処理を行う。この処理は以下のようにして行う。
The print
まず、印刷指示受付部125から受け取った位置データから選択されたタイトルを特定する。そのタイトルに基づいて、WebページリストテーブルTLWの対応するレコードを検索する。そのレコードの「印刷用ページ有無」のフィールに「1」が示されている場合、すなわちそのWebページに印刷用ページがある場合は、「印刷ページURL」のフィールドに示されるURLを取得する。そのURLをページデータ取得部122に送る。ページデータ取得部122は、既に説明した方法で、そのURLに基づいてページデータDPを取得する。印刷指令処理部126は、ページデータ取得部122からそのページデータDP(印刷用ページデータDN)を取得する。
First, the title selected from the position data received from the print
「印刷用ページ有無」のフィールドに「0」が示されている場合は、「ページデータ」のフィールドに格納されているページデータDP(表示用ページデータDW)を取得する。 When “0” is indicated in the “print page presence / absence” field, the page data DP (display page data DW) stored in the “page data” field is acquired.
さらに、取得したページデータDPおよび設定データ保存部103に保存されている設定データを用いて印刷データを生成し、プリンタ部12に送る。
Further, print data is generated using the acquired page data DP and setting data stored in the setting
図12はページリストテーブルTLWの他の例を示す図、図13は図12のページリストテーブルTLWに基づいて生成されるページリストの例を示す図である。 12 is a diagram showing another example of the page list table TLW, and FIG. 13 is a diagram showing an example of a page list generated based on the page list table TLW in FIG.
上記の例では、ユーザからの印刷実行の指示があった後に印刷用ページデータDNを取得する場合を示した。これを、印刷実行の指示に先立って取得しておくようにしてもよい。例えば、ユーザから先頭ページが指定されたタイミングで取得する。この場合は、図10に示したページリストテーブルTLWの代わりに図12に示すページリストテーブルTLW2をテーブル保存部121に保存させておく。
In the above example, the case where the print page data DN is acquired after the user issues a print execution instruction is shown. This may be acquired prior to an instruction to execute printing. For example, it is acquired at the timing when the first page is designated by the user. In this case, the page list table TLW2 shown in FIG. 12 is stored in the
図12において、ページリストテーブルTLW2は、「番号」、「タイトル」、「URL」、「リンク元」、「種別」、「印刷用ページ有無」、および「ページデータ」などのフィールドを含む。 In FIG. 12, the page list table TLW2 includes fields such as “number”, “title”, “URL”, “link source”, “type”, “print page presence / absence”, and “page data”.
「種別」は、そのレコードのWebページが表示用ページであるか印刷用ページであるかを示す。このフィールドに示される値が「0」である場合はそのWebページが表示用ページであることを意味する。「1」である場合は印刷用ページであることを意味する。
「番号」、「タイトル」、「URL」、「リンク元」、「印刷用ページ有無」、および「ページデータ」の各フィールドについては、図10において既に説明したとおりである。
“Type” indicates whether the Web page of the record is a display page or a print page. If the value shown in this field is “0”, it means that the Web page is a display page. “1” means a page for printing.
The fields of “number”, “title”, “URL”, “link source”, “print page presence / absence”, and “page data” are as described above with reference to FIG.
ページデータ取得部122、リンク先取得指令部123、およびリスト表示処理部124などの各部は、このページリストテーブルTLW2を用いて以下のように処理を行う。
Each unit such as the page
リンク先ページ取得指令部123は、このページリストテーブルTLW2に以下のようにしてレコードを登録する。
The linked page
ページデータDPに他のWebページへのリンクが含まれていると判定した際に、そのリンク先のWebページについてのレコードを追加する。この時点で、「番号」、「タイトル」、「URL」、「リンク元」、および「種別」のフィールドについては、値を格納しておく。「番号」のフィールドには、前のレコードの次の番号を格納する。「タイトル」のフィールドには、含まれていたリンクのリンク名を格納する。「URL」のフィールドには、含まれていたリンクに関連付けられているURLを格納する。「リンク元」のフィールドには、そのWebページのリンク元のWebページのテーブル内番号を格納する。「種別」のフィールドには、そのWebページが印刷用ページであるか表示用ページであるかを示す値を格納する。すなわち、含まれていたリンクが表示用ページへのリンクであると判定した場合に「1」を格納する。印刷用ページへのリンクであると判定した場合に「0」を格納する。 When it is determined that the page data DP includes a link to another web page, a record for the linked web page is added. At this time, values are stored in the fields of “number”, “title”, “URL”, “link source”, and “type”. The “number” field stores the next number of the previous record. The “title” field stores the link name of the included link. The URL associated with the included link is stored in the “URL” field. In the “link source” field, the in-table number of the link source Web page of the Web page is stored. The “type” field stores a value indicating whether the Web page is a print page or a display page. That is, “1” is stored when it is determined that the included link is a link to a display page. If it is determined that the link is to a print page, “0” is stored.
この後、リンク先ページ取得指令部123は、既に説明したように、ページデータ取得部122にそのリンク先の表示用ページデータDWを取得させ、それを受け取る。
Thereafter, as described above, the link destination page
そのページデータDPに基づいて、「印刷用ページ有無」および「ページデータ」のフィールドに値を格納する。これについては、図10のページリストテーブルTLWの場合と同様である。 Based on the page data DP, values are stored in the “print page presence / absence” and “page data” fields. This is the same as the case of the page list table TLW in FIG.
先頭ページからリンクしていくことによって取得した全てのページデータDPについてこのような処理を繰り返し、図12のようページリストテーブルTLWを完成させる。 Such processing is repeated for all the page data DP acquired by linking from the first page, and the page list table TLW is completed as shown in FIG.
ユーザから印刷の指示があると印刷指令処理部126は、ユーザによって選択されたタイトルのレコードをページリストテーブルTLW2から検索し、そのレコードの「印刷用ページ有無」のフィールを参照する。そこに「0」が示されている場合は、「ページデータ」のフィールドに格納されているページデータDP(表示用ページデータDW)を取得する。
When there is a print instruction from the user, the print
「1」が示されている場合は、そのWebページについての印刷用ページのレコードをページリストテーブルTLW2から検索する。これに際しては、「種別」のフィールドの値が「1」であり且つ「リンク元」のフィールドの値がそのWebページのテーブル内番号であるレコードを検索する。検索した印刷用ページのレコードの「ページデータ」のフィールドに格納されているページデータDP(印刷用ページデータDN)を取得する。 When “1” is indicated, a record of a print page for the Web page is searched from the page list table TLW2. In this case, a record in which the value of the “type” field is “1” and the value of the “link source” field is the number in the table of the Web page is searched. The page data DP (print page data DN) stored in the “page data” field of the retrieved print page record is acquired.
さらに、取得したページデータDPおよび設定データ保存部103に保存されている設定データを用いて印刷データを生成し、プリンタ部12に送る。
Further, print data is generated using the acquired page data DP and setting data stored in the setting
本実例では、図11に示すようなページリストを生成したが、ページリストとして、図13のようなものを生成するようにしてもよい。 In this example, a page list as shown in FIG. 11 is generated, but a page list as shown in FIG. 13 may be generated.
図13の例では、印刷用ページのタイトル(「Aランチ写真」、「Bランチ写真」、「大阪店地図」、および「東京店地図」)がリスト内に表示される。また、印刷用ページのタイトルは、それが印刷用ページのものであることがユーザにわかるように下線が付された状態で強調されて表示される。他のタイトルと別の文字色を用いまたは文字を太字変更するなどの他の方法で強調するようにしてもよい。 In the example of FIG. 13, the titles of the pages for printing (“A lunch photo”, “B lunch photo”, “Osaka store map”, and “Tokyo store map”) are displayed in the list. Also, the title of the print page is highlighted and displayed in an underlined state so that the user can recognize that it is for the print page. Emphasis may be made by other methods such as using a different character color from other titles or changing the character to bold.
このページリストは、例えば、図12のページリストテーブルTLW2に基づいて生成する。ページリストの生成に際しては、このページリストテーブルTLW2の「種別」のフィールドの値に基づいて、強調すべきタイトルを特定する。 This page list is generated based on, for example, the page list table TLW2 in FIG. When generating the page list, the title to be emphasized is specified based on the value of the “type” field of the page list table TLW2.
また、本実施例では、ページデータDPをページリストテーブルTLWまたはTLW2に格納するようにしたが、図4に示したページデータ保存部101などの他の領域に保存するようにしてもよい。その場合は、対応するレコードに示されるテーブル内番号と対応付けてページデータDPを保存するなどして、レコードとの対応関係がわかるようにしておく。
In this embodiment, the page data DP is stored in the page list table TLW or TLW2. However, the page data DP may be stored in another area such as the page
図14はユーザによってWebページが指定された際の画像形成装置1Bにおける処理の流れを説明するためのフローチャート、図15はユーザによって印刷の指示がされた際の画像形成装置1Bにおける処理の流れを説明するためのフローチャートである。
FIG. 14 is a flowchart for explaining the flow of processing in the
ユーザがタッチパネルTP2を用いてURLを入力し、OKボタンBKを押すと(#201でYes)、画像形成装置1Bは、そのURLに基づいて対応するWebページのページデータDPおよびそのWebページからリンクしていくことによってアクセスできるWebページのページデータDPを取得する(#202)。なお、ここでは、印刷用ページデータDNについては取得しない。
When the user inputs a URL using touch panel TP2 and presses OK button BK (Yes in # 201),
この処理においては、例えば、同じWebサイト内などの所定範囲内のWebページのみを取得の対象とする。または、ユーザが予め指定した個数以内でページデータDPを取得する。 In this process, for example, only Web pages within a predetermined range such as the same Web site are acquired. Alternatively, the page data DP is acquired within the number specified in advance by the user.
また、この際に、Webページに含まれるリンクのリンク名をそのリンク先のWebページのタイトルとして保存する。さらに、取得したページデータDPを、対応するタイトルと対応付けてメモリなどの記憶領域に一時的に保存する。また、Webページ間の従属関係の情報も保存してく。 At this time, the link name of the link included in the Web page is saved as the title of the Web page of the link destination. Further, the acquired page data DP is temporarily stored in a storage area such as a memory in association with the corresponding title. Also, save the dependency information between Web pages.
保存されたページデータDPの中から1つを読み込む(#203)。読み込んだページデータDPに印刷用ページへのリンクが含まれているか否かを、そのページデータDPに含まれるHTMLを解析して判定する(#205)。 One of the saved page data DP is read (# 203). It is determined by analyzing the HTML included in the page data DP whether the read page data DP includes a link to the print page (# 205).
印刷用ページへのリンクが含まれていると判定した場合は(#205でYes)、そのリンクに関連付けられている、そのリンク先の印刷用ページのURLを取得し、そのURLおよび判定の結果を判定対象のページデータDPと対応付けて保存する(#206)。 If it is determined that the link to the print page is included (Yes in # 205), the URL of the link print page associated with the link is acquired, and the URL and the determination result Are stored in association with the page data DP to be determined (# 206).
印刷用ページへのリンクが含まれていないと判定した場合は(#205でNo)、その判定の結果を判定対象のページデータDPと対応付けて保存し、次のページデータDPを読み込む(#203)。 If it is determined that the link to the print page is not included (No in # 205), the result of the determination is stored in association with the page data DP to be determined, and the next page data DP is read (# 203).
ステップ#202で取得した全てのページデータDPについて完了するまでステップ#203から#206までの処理を繰り返す(#204でNo)。全てについて完了すると(#204でYes)、ステップ#202で保存したタイトルに基づいて、タイトルのページリストを生成し(#207)、それをタッチパネルTP1に表示させる(#208)。これによって、例えば、図11に示すようなページリストが表示される。 Steps # 203 to # 206 are repeated until all the page data DP acquired in step # 202 are completed (No in # 204). When all the processes are completed (Yes in # 204), a title page list is generated based on the title saved in Step # 202 (# 207) and displayed on the touch panel TP1 (# 208). Thereby, for example, a page list as shown in FIG. 11 is displayed.
図15において、ユーザが、表示されたページリストから印刷したいWebページのタイトルを選択し、スタートボタンBSを押すと(#221でYes)、画像形成装置1Bは、まず、選択されたタイトルのWebページに印刷用ページがあるか否かをチェックする(#222)。このチェックは、ステップ#206において保存した判定の結果を参照して行う。
In FIG. 15, when the user selects the title of the Web page to be printed from the displayed page list and presses the start button BS (Yes in # 221), the
印刷用ページがない場合は(#222でNo)、図14のステップ#202で保存した、その表示用ページのページデータDPを読み込む(#224)。予めユーザが設定した印刷条件に基づいて印刷を行うための印刷データを、読み込んだページデータDPを用いて生成し(#228)、その印刷データに基づいて印刷を実行する(#229)。 If there is no print page (No in # 222), the page data DP of the display page stored in Step # 202 of FIG. 14 is read (# 224). Print data for printing based on printing conditions set in advance by the user is generated using the read page data DP (# 228), and printing is executed based on the print data (# 229).
印刷用ページがある場合は(#222でYes)、選択されたWebページのページデータDPと対応付けて保存されているURL(印刷用ページのURL)を読み込む(#223)。 If there is a print page (Yes in # 222), the URL (URL of the print page) stored in association with the page data DP of the selected Web page is read (# 223).
読み込んだURLに基づいて印刷用ページにアクセスする(#225)。アクセスに失敗した場合は(#226でNo)、アクセスに失敗した旨を示すメッセージをタッチパネルTP1に表示し(#227)、処理を終了する。 The print page is accessed based on the read URL (# 225). If the access has failed (No in # 226), a message indicating that the access has failed is displayed on the touch panel TP1 (# 227), and the process ends.
アクセスに成功した場合は(#226でYes)、印刷用ページデータDNを取得し、それを用いて、ユーザが設定した印刷条件に基づいて印刷を行うための印刷データを生成する(#228)。そして、その印刷データに基づいて印刷を実行する(#229)。 If the access is successful (Yes in # 226), the page data DN for printing is acquired, and print data for printing is generated based on the printing conditions set by the user (# 228). . Then, printing is executed based on the print data (# 229).
本実施例では、ユーザからの印刷実行の指示があった際に、印刷用ページのページデータDPを取得する場合を示したが、印刷実行の指示に先立って取得しておくようにしてもよい。この場合は、例えば、以下のようにして処理を行う。 In this embodiment, the case where the page data DP of the printing page is acquired when the user issues a print execution instruction is shown. However, the print data may be acquired prior to the print execution instruction. . In this case, for example, processing is performed as follows.
図14のステップ#202の処理において、印刷用ページのページデータDP(印刷用ページデータDN)についても取得する。 In the process of step # 202 in FIG. 14, the page data DP (print page data DN) of the print page is also acquired.
さらに、図15のステップ#222において、選択されたタイトルのWebページに印刷用ページがあると判定した場合に(#222でYes)、ステップ#202の処理で取得しておいた印刷用ページデータDNを読み込む。そして、その印刷用ページデータDNを用いて印刷用データを生成し(#228)、印刷を実行する(#229)。
Furthermore, if it is determined in
なお、ステップ#202の処理では、ページデータDPとして、リンクが含まれているか否かを判定し且つリンク名を取得するために必要なデータ(最小限のデータ)だけを取得するようにし、画像データなどのそれ以外のデータを取得しないようにしてもよい。例えば、そのWebページのHTMLのデータのみを取得する。 In the process of step # 202, it is determined whether or not a link is included as the page data DP, and only data (minimum data) necessary to acquire the link name is acquired, and the image Other data such as data may not be acquired. For example, only the HTML data of the Web page is acquired.
この場合は、ユーザからの印刷実行の指示があった後に、そのHTMLに基づいて画像データなどの、そのWebページを印刷するために必要な残りのデータを取得すればよい。そして、HTMLおよび取得したその残りのデータを用いて印刷データを生成し(#228)、印刷を行う(#229)。 In this case, after the user issues a print execution instruction, the remaining data necessary for printing the Web page, such as image data, may be acquired based on the HTML. Then, print data is generated using HTML and the acquired remaining data (# 228), and printing is performed (# 229).
また、本実施例と第一実施例とを組合せることも可能である。この場合は、例えば、ページリストの表示をユーザが指示するためのボタン(以下、ここでは、「リスト表示ボタン」と記載する。)を操作パネル13上に設けておき、画像形成装置1に以下のようにして処理をさせる。
It is also possible to combine the present embodiment and the first embodiment. In this case, for example, a button (hereinafter, referred to as “list display button”) for the user to instruct display of the page list is provided on the
ユーザがURLを指定した際に、そのURLのWebページをタッチパネルTP1に表示する。この時点でユーザがスタートボタンBSを押した場合は、第一実施例において説明した手順でそのWebページについての印刷を実行する。 When the user specifies a URL, the Web page of the URL is displayed on the touch panel TP1. If the user presses the start button BS at this point, the web page is printed according to the procedure described in the first embodiment.
スタートボタンBSではなく、リスト表示ボタンを押した場合は、第二実施例で説明した手順で、ユーザが指定したWebページを先頭ページとするページリストをタッチパネルTP1に表示する。そして、ユーザがそのページリストからタイトルを選択してスタートボタンBSを押すと、選択されたタイトルのWebページについての印刷を行う。 When the list display button is pressed instead of the start button BS, a page list having the Web page designated by the user as the first page is displayed on the touch panel TP1 in the procedure described in the second embodiment. When the user selects a title from the page list and presses the start button BS, printing is performed on the Web page with the selected title.
なお、リスト表示ボタンをタッチパネルTP1またはTP2に表示するようにしてもよい。この場合において、ページリストに表示する対象のWebページのページデータDPの取得に成功した際に、リスト表示ボタンをタッチパネルTP1またはTP2に表示するようにしてもよい。 The list display button may be displayed on the touch panel TP1 or TP2. In this case, the list display button may be displayed on the touch panel TP1 or TP2 when acquisition of the page data DP of the Web page to be displayed in the page list is successful.
また、本実施例では、Webページのタイトルとして、そのWebページへのリンクのリンク名を用いたが、そのWebページのHTMLに示される所定の単語を用いてもよい。例えば、HTMLを解析して、「title」のHTMLタグの箇所に示される言葉を用いる。 In the present embodiment, the link name of the link to the Web page is used as the title of the Web page. However, a predetermined word shown in the HTML of the Web page may be used. For example, the HTML is analyzed and the word shown in the HTML tag portion of “title” is used.
本実施例によると、ユーザが指定したWebページからリンクしていくことによってアクセスできるWebページのタイトルのリストを表示する。そのリストにおいて、印刷用ページがあるWebページのタイトルが強調表示される。そして、表示されたタイトルのいずれかが選択されスタートボタンBSが押されると、そのタイトルのWebページについての印刷を行う。そのWebページに印刷用ページがある場合は、その印刷用ページのページデータDPを自動的に取得し、その印刷用ページを印刷する。 According to this embodiment, a list of Web page titles that can be accessed by linking from a Web page specified by the user is displayed. In the list, the title of the Web page with the print page is highlighted. When one of the displayed titles is selected and the start button BS is pressed, the web page of the title is printed. When there is a print page in the Web page, the page data DP of the print page is automatically acquired, and the print page is printed.
これによって、ユーザは、目的のWebページまで先頭ページから順番にアクセスしていく手間な操作を行うことなく、目的のWebページの印刷を行うことができる。また、一目で印刷用ページの有無確認できるので、簡単に印刷用ページを印刷できる。 Thus, the user can print the target Web page without performing a troublesome operation of sequentially accessing the target Web page from the first page. In addition, since the presence / absence of a print page can be confirmed at a glance, the print page can be easily printed.
本実施形態では、スタートボタンBSが押されたことによって印刷の処理を開始するようにしたが、その他の方法を用いてもよい。例えば、タッチパネルTP1またはTP2に印刷実行のためのボタンを表示させ、そのボタンが押されたときに、それを印刷実行の指示として印刷のための処理を開始するようにしてもよい。また、第二実施例においては、ページリストからのタイトルが選択されたときに、それを印刷実行の指示として印刷のための処理を開始するようにしてもよい。 In this embodiment, the printing process is started when the start button BS is pressed, but other methods may be used. For example, a button for executing printing may be displayed on the touch panel TP1 or TP2, and when the button is pressed, processing for printing may be started using the button as an instruction for executing printing. In the second embodiment, when a title from the page list is selected, the print processing may be started using the title as a print execution instruction.
その他、画像形成装置1の各部の構成、機能、各テーブルの構成、各データが示す内容、処理の内容または順序などは、本発明の趣旨に沿って適宜変更することができる。
In addition, the configuration and function of each unit of the
1 画像形成装置
12 プリンタ部(印刷手段)
104 URL受付部(受付手段)
105 ページデータ取得部(Webページデータ取得手段)
107 印刷用ページ有無判定部(判定手段、印刷制御手段)
109 設定データ受付部(値受付手段)
111 印刷指令処理部(印刷制御手段)
123 リンク先ページ取得指令部(判定手段、印刷制御手段)
124 リスト表示処理部(リスト表示制御手段)
BS スタートボタン(印刷指示手段)
PD ページデータ(データ)
TP タッチパネル(表示手段)
DESCRIPTION OF
104 URL reception part (reception means)
105 Page data acquisition unit (Web page data acquisition means)
107 Print page presence / absence determination unit (determination means, print control means)
109 Setting data receiving unit (value receiving means)
111 Print command processing unit (print control means)
123 Link destination page acquisition command unit (determination means, print control means)
124 List display processing unit (list display control means)
BS start button (printing instruction means)
PD page data (data)
TP touch panel (display means)
Claims (15)
ユーザが入力したアドレスを受け付ける受付手段と、
前記受付手段が受け付けたアドレスのWebページにアクセスし、当該Webページのデータを取得するWebページデータ取得手段と、
前記Webページデータ取得手段が取得したWebページのデータに基づいて、当該Webページに、印刷用のWebページへのリンクが含まれているか否かを判定する判定手段と、
取得したWebページのデータに基づいて当該Webページを印刷する印刷手段と、
Webページに前記リンクが含まれていると前記判定手段が判定した場合には、ユーザによる印刷の指示を待つことなく、前記Webページデータ取得手段に当該リンク先の印刷用のWebページのデータを取得させ、取得された当該データに基づいて当該印刷用のWebページを印刷するように前記印刷手段を制御する、印刷制御手段と、
を有することを特徴とする画像形成装置。 An image forming apparatus having a browser function,
Accepting means for accepting the address entered by the user;
Web page data acquisition means for accessing the Web page at the address received by the reception means and acquiring data of the Web page;
A determination unit that determines whether or not a link to a print Web page is included in the Web page based on the Web page data acquired by the Web page data acquisition unit;
Printing means for printing the Web page based on the acquired Web page data;
When the determination unit determines that the link is included in the Web page, the Web page data for the link destination is stored in the Web page data acquisition unit without waiting for a print instruction from the user. A printing control unit that controls the printing unit to print the web page for printing based on the acquired data;
An image forming apparatus comprising:
ユーザが指定したWebページにアクセスし、当該Webページのデータを取得するWebページデータ取得手段と、
前記Webページデータ取得手段が取得したWebページのデータに基づいて、当該Webページに、印刷用のWebページへのリンクが含まれているか否かを判定する判定手段と、
取得したWebページのデータに基づいて当該Webページを印刷する印刷手段と、
Webページに前記リンクが含まれていると前記判定手段が判定した場合には、前記Webページデータ取得手段に当該リンク先の印刷用のWebページのデータを取得させ、ユーザによる印刷実行の指示があったときに、取得された当該データに基づいて当該印刷用のWebページを印刷するように前記印刷手段を制御する、印刷制御手段と、
を有することを特徴とする画像形成装置。 An image forming apparatus having a browser function,
Web page data acquisition means for accessing a Web page designated by the user and acquiring data of the Web page;
A determination unit that determines whether or not a link to a print Web page is included in the Web page based on the Web page data acquired by the Web page data acquisition unit;
Printing means for printing the Web page based on the acquired Web page data;
When the determination unit determines that the link is included in the Web page, the Web page data acquisition unit acquires the Web page data for printing at the link destination, and the user issues a print execution instruction. A printing control unit for controlling the printing unit to print the printing web page based on the acquired data,
An image forming apparatus comprising:
ユーザが指定したWebページにアクセスし、当該Webページのデータを取得するWebページデータ取得手段と、
前記Webページデータ取得手段が取得したWebページのデータに基づいて、当該Webページに、印刷用のWebページへのリンクが含まれているか否かを判定する判定手段と、
取得したWebページのデータに基づいて当該Webページを印刷する印刷手段と、
Webページに前記リンクが含まれていると前記判定手段が判定した場合には、ユーザによる印刷実行の指示があったときに、前記Webページデータ取得手段に当該印刷用のWebページのデータを取得させ、取得された当該データに基づいて当該印刷用のWebページを印刷するように前記印刷手段を制御する、印刷制御手段と、
を有することを特徴とする画像形成装置。 An image forming apparatus having a browser function,
Web page data acquisition means for accessing a Web page designated by the user and acquiring data of the Web page;
A determination unit that determines whether or not a link to a print Web page is included in the Web page based on the Web page data acquired by the Web page data acquisition unit;
Printing means for printing the Web page based on the acquired Web page data;
When the determination unit determines that the link is included in the Web page, the Web page data acquisition unit acquires the data of the Web page for printing when the user instructs printing. Print control means for controlling the printing means to print the print web page based on the acquired data;
An image forming apparatus comprising:
Webページに前記リンクが含まれていると前記判定手段が判定した場合に、前記印刷指示手段を強調することによって、当該リンクが含まれていることをユーザに知らせる、
請求項2または3記載の画像形成装置。 A print instruction means for inputting a print execution instruction by the user;
When the determination unit determines that the link is included in the Web page, the print instruction unit is emphasized to notify the user that the link is included.
The image forming apparatus according to claim 2.
請求項1ないし4のいずれかに記載の画像形成装置。 The determination unit performs determination based on whether or not a predetermined word is included in the data of the web page.
The image forming apparatus according to claim 1.
ユーザが指定したWebページにアクセスし、当該Webページに関するデータを取得するとともに当該WebページからリンクしていくことによってアクセスできるWebページに関するデータを取得するWebページデータ取得手段と、
前記Webページデータ取得手段が取得した各Webページに関するデータに基づいて、当該各Webページに、印刷用のWebページへのリンクが含まれているか否かを判定する判定手段と、
前記Webページデータ取得手段が取得したWebページに関するデータに基づいて、Webページを示すタイトルのリストを生成し、当該リストを表示手段に表示させるリスト表示制御手段と、
Webページの印刷を行う印刷手段と、
印刷用のWebページへのリンクが含まれていると判定されたWebページを示すタイトルがユーザによって前記表示手段において選択されている場合は、当該選択されているWebページの印刷用のWebページのデータを前記Webページデータ取得手段に取得させ、取得された当該データに基づいて当該印刷用のWebページを印刷するように前記印刷手段を制御する印刷制御手段と、
を有することを特徴とする画像形成装置。 An image forming apparatus having a browser function,
Web page data acquisition means for accessing a Web page designated by the user, acquiring data related to the Web page, and acquiring data related to the Web page accessible by linking from the Web page;
Determining means for determining whether or not each Web page includes a link to a Web page for printing based on data relating to each Web page acquired by the Web page data acquiring means;
A list display control unit that generates a list of titles indicating Web pages based on the data related to the Web page acquired by the Web page data acquisition unit, and displays the list on the display unit;
Printing means for printing web pages;
When a title indicating a web page that is determined to include a link to a print web page is selected by the user on the display unit, the print web page of the selected web page is displayed. Print control means for causing the web page data obtaining means to obtain data and controlling the printing means to print the printing web page based on the obtained data;
An image forming apparatus comprising:
請求項6記載の画像形成装置。 The web page data acquisition means, when acquiring data related to the web page when the user designates the web page and data related to the web page that can be accessed by linking from the web page, Do not get page data,
The image forming apparatus according to claim 6.
ユーザが指定したWebページにアクセスし、当該Webページに関するデータを取得するとともに当該WebページからリンクしていくことによってアクセスできるWebページに関するデータを取得するWebページデータ取得手段と、
前記Webページデータ取得手段が取得した各Webページに関するデータに基づいて、当該各Webページに、印刷用のWebページへのリンクが含まれているか否かを判定する判定手段と、
前記Webページデータ取得手段が取得したWebページに関するデータに基づいて、Webページを示すタイトルのリストを生成し、当該リストを表示手段に表示させるリスト表示制御手段と、
Webページの印刷を行う印刷手段と、
印刷用のWebページへのリンクが含まれていると判定されたWebページについては当該リンク先の印刷用のWebページのデータを前記Webページデータ取得手段に予め取得させておき、印刷用のWebページへのリンクが含まれていると判定されたWebページを示すタイトルがユーザによって前記表示手段において選択されている場合は、予め取得された当該データに基づいて当該印刷用のWebページを印刷するように前記印刷手段を制御する印刷制御手段と、
を有することを特徴とする画像形成装置。 An image forming apparatus having a browser function,
Web page data acquisition means for accessing a Web page designated by the user, acquiring data related to the Web page, and acquiring data related to the Web page accessible by linking from the Web page;
Determining means for determining whether or not each Web page includes a link to a Web page for printing based on data relating to each Web page acquired by the Web page data acquiring means;
A list display control unit that generates a list of titles indicating Web pages based on the data related to the Web page acquired by the Web page data acquisition unit, and displays the list on the display unit;
Printing means for printing web pages;
For a web page that is determined to include a link to a print web page, the web page data obtaining unit obtains data of the print web page at the link destination in advance, and the print web page When a title indicating a Web page determined to include a link to a page is selected by the user on the display unit, the Web page for printing is printed based on the data acquired in advance. Printing control means for controlling the printing means,
An image forming apparatus comprising:
請求項6ないし8のいずれかに記載の画像形成装置。 For the Web page determined to include a link to a print Web page, the list display control unit displays a title indicating the Web page so that the link is included. Highlight on the display means,
The image forming apparatus according to claim 6.
請求項6ないし9のいずれかに記載の画像形成装置。 The data related to the Web page is data necessary for displaying a title indicating the Web page and determining whether or not a link to the Web page for printing is included.
The image forming apparatus according to claim 6.
前記Webページデータ取得手段は、前記値受付手段が受け付けた値に基づいて、前記アクセスできるWebページに関するデータを取得する、
請求項6ないし10のいずれかに記載の画像形成装置。 For a web page that can be accessed by linking from a web page designated by the user, the web page has value accepting means for accepting a value from the user that can determine the number of web pages that can be accessed.
The Web page data acquisition unit acquires data on the accessible Web page based on the value received by the value reception unit.
The image forming apparatus according to claim 6.
請求項6ないし11のいずれかに記載の画像形成装置。 The Web page data acquisition unit acquires a Web page that can be accessed by linking from a Web page specified by a user from Web pages belonging to the same Web site as the specified Web page.
The image forming apparatus according to claim 6.
請求項1ないし12のいずれかに記載の画像形成装置。 The determination means performs determination based on whether or not a predetermined word is included in the data relating to the web page.
The image forming apparatus according to claim 1.
ユーザからの指示入力を受け付けるステップと、
ユーザが指定したWebページにアクセスし、当該Webページのデータを取得するステップと、
取得したWebページのデータに基づいて、当該Webページに、印刷用のWebページへのリンクが含まれているか否かを判定するステップと、
前記リンクが含まれていると判定されたWebページについては、当該リンク先の印刷用のWebページのデータを取得して、当該取得したデータに基づいて当該印刷用のWebページを印刷するステップと、
を実行することによって、ユーザが指定したWebページにアクセスした後において1回の指示入力で印刷用のWebページを印刷する、
ことを特徴とするWebページ印刷制御方法。 A web page printing control method in an image forming apparatus having a browser function,
Receiving instructions from the user;
Accessing a web page designated by the user and obtaining data of the web page;
Determining whether the web page includes a link to a print web page based on the acquired web page data;
For the web page determined to include the link, the step of obtaining the print web page data of the link destination and printing the print web page based on the obtained data; ,
By executing the above, after accessing the web page designated by the user, the web page for printing is printed with one instruction input.
A Web page printing control method characterized by the above.
ユーザが指定したWebページにアクセスし、当該Webページに関するデータを取得するとともに当該WebページからリンクしていくことによってアクセスできるWebページに関するデータを取得する取得ステップと、
取得した各Webページに関するデータに基づいて、当該各Webページに、印刷用のWebページへのリンクが含まれているか否かを判定する判定ステップと、
取得したWebページに関するデータに基づいて、Webページを示すタイトルのリストを生成し、当該リストを表示手段に表示させる表示ステップと、
前記表示手段においてユーザによって選択されたタイトルに係るWebページについての印刷を行い、その場合において、印刷用のWebページへのリンクが含まれていると判定されたWebページについては、当該印刷用のWebページのデータを取得して、当該取得したデータに基づいて当該印刷用のWebページの印刷を行う、
ことを特徴とするWebページ印刷制御方法。 A web page printing control method in an image forming apparatus having a browser function,
An acquisition step of accessing a web page designated by the user, obtaining data relating to the web page, and obtaining data relating to the web page accessible by linking from the web page;
A determination step of determining whether or not each Web page includes a link to a Web page for printing based on the acquired data regarding each Web page;
A display step of generating a list of titles indicating the Web page based on the acquired data about the Web page, and displaying the list on a display unit;
The web page related to the title selected by the user is printed on the display means, and in this case, for the web page that is determined to include a link to the web page for printing, Web page data is acquired, and the Web page for printing is printed based on the acquired data.
A Web page printing control method characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007030154A JP4940982B2 (en) | 2007-02-09 | 2007-02-09 | Image forming apparatus and Web page printing control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007030154A JP4940982B2 (en) | 2007-02-09 | 2007-02-09 | Image forming apparatus and Web page printing control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008199151A true JP2008199151A (en) | 2008-08-28 |
JP4940982B2 JP4940982B2 (en) | 2012-05-30 |
Family
ID=39757731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007030154A Expired - Fee Related JP4940982B2 (en) | 2007-02-09 | 2007-02-09 | Image forming apparatus and Web page printing control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4940982B2 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010194778A (en) * | 2009-02-24 | 2010-09-09 | Konica Minolta Business Technologies Inc | Printer, program, and data processing method for printer |
WO2010107036A1 (en) * | 2009-03-18 | 2010-09-23 | Ricoh Company, Limited | Image forming apparatus, image forming method, and program |
JP2012070180A (en) * | 2010-09-22 | 2012-04-05 | Sharp Corp | Multifunction peripheral |
US20120274965A1 (en) * | 2011-04-26 | 2012-11-01 | Konica Minolta Business Technologies, Inc. | Image forming apparatus and computer-readable storage medium for computer program |
US8773728B2 (en) | 2011-03-08 | 2014-07-08 | Konica Minolta, Inc. | Image forming apparatus, method for automatically editing document data, and computer-readable storage medium for computer program |
US8902439B2 (en) | 2010-10-08 | 2014-12-02 | Sharp Kabushiki Kaisha | Multifunction peripheral |
JP2015169979A (en) * | 2014-03-05 | 2015-09-28 | 富士ゼロックス株式会社 | Information processing system and program |
JP2016099676A (en) * | 2014-11-18 | 2016-05-30 | コニカミノルタ株式会社 | Printing system, printer and program |
US9554008B2 (en) | 2011-05-13 | 2017-01-24 | Sharp Kabushiki Kaisha | Multifunction peripheral, multifunction peripheral controlling system, and method for controlling multifunction peripheral |
JP2017094604A (en) * | 2015-11-24 | 2017-06-01 | 京セラドキュメントソリューションズ株式会社 | Printer |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003022167A (en) * | 2001-07-05 | 2003-01-24 | Canon Inc | Information processor, printing method, information processing program and recording medium |
JP2003283755A (en) * | 2002-03-25 | 2003-10-03 | Brother Ind Ltd | Image forming apparatus |
-
2007
- 2007-02-09 JP JP2007030154A patent/JP4940982B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003022167A (en) * | 2001-07-05 | 2003-01-24 | Canon Inc | Information processor, printing method, information processing program and recording medium |
JP2003283755A (en) * | 2002-03-25 | 2003-10-03 | Brother Ind Ltd | Image forming apparatus |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010194778A (en) * | 2009-02-24 | 2010-09-09 | Konica Minolta Business Technologies Inc | Printer, program, and data processing method for printer |
WO2010107036A1 (en) * | 2009-03-18 | 2010-09-23 | Ricoh Company, Limited | Image forming apparatus, image forming method, and program |
JP2010218457A (en) * | 2009-03-18 | 2010-09-30 | Ricoh Co Ltd | Apparatus, method and program for forming image |
CN102356376A (en) * | 2009-03-18 | 2012-02-15 | 株式会社理光 | Image forming apparatus, image forming method, and program |
RU2503055C2 (en) * | 2009-03-18 | 2013-12-27 | Рикох Компани, Лимитед | Image forming apparatus, image forming method and program |
JP2012070180A (en) * | 2010-09-22 | 2012-04-05 | Sharp Corp | Multifunction peripheral |
US8934107B2 (en) | 2010-09-22 | 2015-01-13 | Sharp Kabushiki Kaisha | Multifunction apparatus |
US8902439B2 (en) | 2010-10-08 | 2014-12-02 | Sharp Kabushiki Kaisha | Multifunction peripheral |
US8773728B2 (en) | 2011-03-08 | 2014-07-08 | Konica Minolta, Inc. | Image forming apparatus, method for automatically editing document data, and computer-readable storage medium for computer program |
US20120274965A1 (en) * | 2011-04-26 | 2012-11-01 | Konica Minolta Business Technologies, Inc. | Image forming apparatus and computer-readable storage medium for computer program |
US8976375B2 (en) | 2011-04-26 | 2015-03-10 | Konica Minolta Business Technologies, Inc. | Image forming apparatus and computer-readable storage medium containing a computer program for limiting text entry and selection |
US9554008B2 (en) | 2011-05-13 | 2017-01-24 | Sharp Kabushiki Kaisha | Multifunction peripheral, multifunction peripheral controlling system, and method for controlling multifunction peripheral |
JP2015169979A (en) * | 2014-03-05 | 2015-09-28 | 富士ゼロックス株式会社 | Information processing system and program |
JP2016099676A (en) * | 2014-11-18 | 2016-05-30 | コニカミノルタ株式会社 | Printing system, printer and program |
JP2017094604A (en) * | 2015-11-24 | 2017-06-01 | 京セラドキュメントソリューションズ株式会社 | Printer |
CN106953995A (en) * | 2015-11-24 | 2017-07-14 | 京瓷办公信息系统株式会社 | Printing equipment |
US9864557B2 (en) | 2015-11-24 | 2018-01-09 | Kyocera Document Solutions Inc. | Network printer |
CN106953995B (en) * | 2015-11-24 | 2019-05-03 | 京瓷办公信息系统株式会社 | Printing equipment |
Also Published As
Publication number | Publication date |
---|---|
JP4940982B2 (en) | 2012-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4940982B2 (en) | Image forming apparatus and Web page printing control method | |
JP4939046B2 (en) | Image processing apparatus and control method thereof | |
JP5147383B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
US8634100B2 (en) | Image forming apparatus for detecting index data of document data, and control method and program product for the same | |
JP4518196B2 (en) | Print system, image forming apparatus, web page printing method, and computer program | |
JP5535996B2 (en) | Display control device, multifunction device control system, display control method, program, and recording medium thereof | |
US20070297017A1 (en) | Image-forming apparatus, image-processing method, and control program for executing the same | |
US9001374B2 (en) | Image forming apparatus and display control device | |
US20100123938A1 (en) | Web page display controller, method for displaying web page, and computer-readable storage medium for computer program | |
JP6825465B2 (en) | Information processing equipment, information processing methods, and programs | |
JP2007241567A (en) | Device management system and its control method | |
JP6630650B2 (en) | Image forming apparatus, printing method in image forming apparatus, print processing apparatus, and print processing program | |
JP5825937B2 (en) | Image processing apparatus, control method thereof, and program | |
JP4934743B2 (en) | Image processing apparatus and control method | |
JP4553599B2 (en) | Data display system, data output apparatus, image forming apparatus, data display apparatus, and data display program | |
JP5077105B2 (en) | Image processing apparatus, image processing program, and image processing system | |
JP4849154B2 (en) | Image processing apparatus, image processing method, image forming apparatus, and image processing program | |
US7483160B2 (en) | Communication system, communication terminal, system control program product and terminal control program product | |
JP4702439B2 (en) | Content display system | |
JP2004118775A (en) | Communication terminal, and terminal control program | |
JP2007189648A (en) | Information processing apparatus, information processing method, and program | |
JP4921436B2 (en) | Communication device for displaying content title | |
JP3804564B2 (en) | Printing apparatus and printing method | |
JP2009064080A (en) | Image processor, image processing method, and program | |
JP3958083B2 (en) | Information processing system, processing service server, information processing apparatus, control method therefor, and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091106 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110523 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110531 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110727 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120131 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120213 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150309 Year of fee payment: 3 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |