JP4966533B2 - Printing system, printing method, printing program, and recording medium - Google Patents

Printing system, printing method, printing program, and recording medium Download PDF

Info

Publication number
JP4966533B2
JP4966533B2 JP2005286416A JP2005286416A JP4966533B2 JP 4966533 B2 JP4966533 B2 JP 4966533B2 JP 2005286416 A JP2005286416 A JP 2005286416A JP 2005286416 A JP2005286416 A JP 2005286416A JP 4966533 B2 JP4966533 B2 JP 4966533B2
Authority
JP
Japan
Prior art keywords
image data
printing
web page
area
print
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.)
Active
Application number
JP2005286416A
Other languages
Japanese (ja)
Other versions
JP2007094950A (en
Inventor
達哉 北澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005286416A priority Critical patent/JP4966533B2/en
Publication of JP2007094950A publication Critical patent/JP2007094950A/en
Application granted granted Critical
Publication of JP4966533B2 publication Critical patent/JP4966533B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

この発明は、表示画面に表示されているWebページを印刷可能な印刷装置、印刷方法、印刷プログラムおよび記録媒体に関し、特にWebページ上の任意の領域を指定して印刷することができる印刷装置、印刷方法、印刷プログラムおよび記録媒体に関する。   The present invention relates to a printing apparatus, a printing method, a printing program, and a recording medium that can print a Web page displayed on a display screen, and in particular, a printing apparatus that can designate and print an arbitrary area on a Web page, The present invention relates to a printing method, a printing program, and a recording medium.

一般的に、たとえば印刷機能を有するパーソナルコンピュータなどによって構成される印刷装置では、HTML言語などによって記述されたWebページをWebサーバから読み込んでディスプレイなどの表示画面に表示し、表示したWebページに対して印刷などの操作をおこなうことができるWebブラウザ技術が用いられている。   In general, in a printing apparatus constituted by a personal computer having a printing function, for example, a web page described in an HTML language or the like is read from a web server and displayed on a display screen such as a display, and the displayed web page is displayed. Web browser technology that can perform operations such as printing is used.

このようなHTML言語などによって記述され、表示画面に表示されるWebページにおいては、近年、ユーザが必要とする情報以外に、たとえばバナー広告などの不要な情報が多く記載されているため、Webページを表示する際にバナー広告なども同時に表示されてしまう場合がある。そして、表示画面に表示したこのようなWebページをユーザが印刷しようとする場合、上述したWebブラウザ技術では主にHTML言語が用いられているため、ユーザが任意にWebページ上のバナー広告などの表示領域を除いて印刷すべき領域を指定したり、所望する領域を指定して印刷したりすることは困難である。   In the Web page described in such HTML language and displayed on the display screen, in recent years, in addition to information required by the user, a lot of unnecessary information such as a banner advertisement has been described. When displaying, banner advertisements may be displayed at the same time. When the user wants to print such a web page displayed on the display screen, the HTML language is mainly used in the above-described web browser technology. It is difficult to designate an area to be printed except for the display area or to designate and print a desired area.

そこで、このような印刷装置のうち、たとえば印刷対象ドキュメントを構成する各ページの印刷結果を印刷実行前に表示画面上で確認することができる印刷プレビュー機能を有するパーソナルコンピュータを備え、印刷プレビュー画面の編集を任意におこなうことが可能なソフトウェアを用いた印刷装置が知られている。このような印刷装置では、印刷プレビュー画面において、ユーザが任意の領域を指定した場合、この指定領域の印刷データを生成する機能を有しているものがある(たとえば、下記特許文献1参照。)。   Therefore, among such printing apparatuses, for example, a personal computer having a print preview function capable of confirming the print result of each page constituting the document to be printed on the display screen before execution of printing is provided. There is known a printing apparatus using software capable of arbitrarily editing. Some of such printing apparatuses have a function of generating print data of a designated area when the user designates an arbitrary area on the print preview screen (see, for example, Patent Document 1 below). .

特開2003−67153号公報JP 2003-67153 A

しかしながら、たとえばHTML言語で記載されたWebページの編集などに関する知識を十分に有していないユーザが上述した印刷プレビュー画面の編集を任意におこなうことができる従来技術の印刷装置を使用する場合、印刷装置の持っている機能を十分に使いこなすことができないことがある。   However, for example, when a user who does not have sufficient knowledge about editing of a Web page written in HTML language, for example, uses a conventional printing apparatus that can arbitrarily edit the above-described print preview screen, printing is performed. You may not be able to fully use the functions of the device.

また、このようなユーザが印刷プレビュー画面の編集をおこなう場合、必ず印刷プレビュー画面をディスプレイに表示するという作業が必要であるため、ユーザがおこなう作業工程数が増え、利便性に欠けていた。   Further, when such a user edits the print preview screen, it is necessary to always display the print preview screen on the display. Therefore, the number of work steps performed by the user is increased and the convenience is lacking.

この発明は、上述した従来技術による問題点を解消するため、簡単かつ直感的な操作によって、Webページ上の任意の領域を指定して印刷をおこなうことができる印刷装置、印刷方法、印刷プログラムおよび記録媒体を提供することを目的とする。   In order to solve the above-described problems caused by the prior art, the present invention can specify a printing area, a printing method, a printing program, and a printing program capable of performing printing by designating an arbitrary area on a Web page by a simple and intuitive operation. An object is to provide a recording medium.

上述した課題を解決し、目的を達成するため、この発明にかかる印刷装置は、Webページを表示する表示手段と、前記表示手段に表示されている前記Webページをビットマップ変換した第1の画像データに変換する変換手段と、前記変換手段によって変換された前記第1の画像データのイメージ画像を前記表示手段によって表示されている前記Webページと切り換えて表示する表示制御手段と、前記表示制御手段によって切り換え表示された前記第1の画像データのイメージ画像上の任意の領域を指定入力するための入力手段と、前記入力手段による指定入力に基づいて、前記第1の画像データにおける前記任意の領域と対応する指定領域を決定する領域決定手段と、前記領域決定手段によって決定された前記指定領域の画像データを前記第1の画像データから抽出する抽出手段と、前記抽出手段によって抽出された前記指定領域の画像データに基づく印刷データを出力する出力手段と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, a printing apparatus according to the present invention includes a display unit that displays a Web page, and a first image obtained by bitmap-converting the Web page displayed on the display unit. Conversion means for converting to data, display control means for switching the image image of the first image data converted by the conversion means to the Web page displayed by the display means, and the display control means And an input unit for designating and inputting an arbitrary region on the image of the first image data switched and displayed by the step, and the arbitrary region in the first image data based on the designation input by the input unit A region determining unit for determining a designated region corresponding to the image data of the designated region determined by the region determining unit Extraction means for extracting from the serial first image data, characterized in that and an output means for outputting the print data based on the image data of the extracted said designated area by said extracting means.

この発明によれば、HTML言語などによって記述されたWebページ上の任意の領域をユーザが指定して印刷することができる。このため、ユーザは、Webページ上でユーザが必要とする情報のみを指定して印刷をおこなうことができる。また、ユーザがWebページ上の任意の領域を指定する場合、Webページが表示された単一のウィンドウ内で入力操作をおこなうことができる。このため、ユーザは、Webページを閲覧しながら、簡単かつ直感的な操作によって印刷をおこなうことができる。   According to the present invention, a user can designate and print an arbitrary area on a Web page described in an HTML language or the like. For this reason, the user can specify and print only the information that the user needs on the Web page. When the user designates an arbitrary area on the Web page, an input operation can be performed in a single window in which the Web page is displayed. For this reason, the user can perform printing by a simple and intuitive operation while browsing the Web page.

また、この発明にかかる印刷装置の前記入力手段は、前記表示手段に表示されている前記第1の画像データのイメージ画像上の任意の始点と終点とを指定することによって前記任意の領域を指定入力することを特徴とする。   Further, the input unit of the printing apparatus according to the present invention specifies the arbitrary region by specifying an arbitrary start point and end point on the image of the first image data displayed on the display unit. It is characterized by inputting.

この発明によれば、ユーザがたとえばマウスなどの入力装置を介して、表示装置の表示画面上におけるイメージ画像上で任意の始点と終点とを指定することによって、ユーザは、印刷をおこなう任意の領域を指定することができる。   According to the present invention, the user designates an arbitrary start point and an end point on an image on the display screen of the display device via an input device such as a mouse, for example, so that the user can perform an arbitrary region for printing. Can be specified.

また、この発明にかかる印刷装置の前記変換手段は、前記入力手段からの指示入力に基づいて、前記表示手段に表示されている前記Webページを変換することを特徴とする。   Further, the conversion unit of the printing apparatus according to the present invention converts the Web page displayed on the display unit based on an instruction input from the input unit.

この発明によれば、ユーザがWebページ上の任意の領域を印刷する場合、たとえばマウスなどの入力装置を介して、指示を入力することで、HTML言語で記述されたWebページをユーザが任意の領域を指定することができる画像データに変換できる。   According to the present invention, when a user prints an arbitrary region on a Web page, the user inputs an instruction via an input device such as a mouse, for example, so that the user can arbitrarily select a Web page described in the HTML language. It can be converted into image data that can specify an area.

また、この発明にかかる印刷装置の前記変換手段は、印刷ドライバからの印刷解像度情報に基づいて、前記表示手段に表示されている前記Webページを当該印刷解像度にあわせてビットマップ変換した第2の画像データに変換することを特徴とする。   Further, the conversion unit of the printing apparatus according to the present invention is configured to perform second bitmap conversion on the Web page displayed on the display unit according to the print resolution based on print resolution information from a print driver. It is characterized by being converted to image data.

この発明によれば、表示装置の表示画面に表示されているWebページを印刷ドライバからの印刷解像度情報に基づいた解像度でビットマップ変換した画像データに変換できる。   According to the present invention, the Web page displayed on the display screen of the display device can be converted into image data obtained by bitmap conversion at a resolution based on the print resolution information from the print driver.

また、この発明にかかる印刷装置は、前記印刷ドライバからの印刷解像度情報に基づいて、前記領域決定手段によって決定された前記指定領域の画像データの解像度が印刷に適しているか否かを判定する判定手段をさらに備え、前記抽出手段は、前記判定手段によって判定された判定結果に基づいて、前記指定領域の画像データを前記第1の画像データまたは前記第2の画像データから抽出することを特徴とする。   Further, the printing apparatus according to the present invention determines whether or not the resolution of the image data of the designated area determined by the area determination unit is suitable for printing based on the print resolution information from the print driver. Means for extracting the image data of the designated area from the first image data or the second image data based on the determination result determined by the determination means. To do.

この発明によれば、指定領域の画像データを抽出する場合、指定領域の印刷に適した解像度でビットマップ変換した画像データから指定領域の画像データを抽出できる。このため、ユーザがWebページ上で任意に指定した指定領域を印刷する場合、ユーザは、指定領域の鮮明な印刷結果を得ることができる。   According to the present invention, when extracting the image data of the designated area, the image data of the designated area can be extracted from the image data subjected to bitmap conversion at a resolution suitable for printing of the designated area. For this reason, when printing the designated area arbitrarily designated on the Web page by the user, the user can obtain a clear print result of the designated area.

また、この発明にかかる印刷方法は、Webページを表示する第1の表示工程と、前記第1の表示工程によって表示されている前記Webページをビットマップ変換した第1の画像データに変換する変換工程と、前記変換工程によって変換された前記第1の画像データのイメージ画像を前記第1の表示工程によって表示されている前記Webページと切り換えて表示する第2の表示工程と、前記第2の表示工程によって切り換え表示された前記第1の画像データのイメージ画像上の任意の領域の指定入力を受け付ける入力工程と、前記入力工程によって受け付けられた指定入力に基づいて、前記第1の画像データにおける前記任意の領域と対応する指定領域を決定する領域決定工程と、前記領域決定工程によって決定された前記指定領域の画像データを前記第1の画像データから抽出する抽出工程と、前記抽出工程によって抽出された前記指定領域の画像データに基づく印刷データを出力する出力工程と、を含んだことを特徴とする。   The printing method according to the present invention includes a first display step for displaying a Web page, and a conversion for converting the Web page displayed by the first display step into first image data obtained by bitmap conversion. A second display step of switching and displaying the image image of the first image data converted by the conversion step with the Web page displayed by the first display step, and the second display step In the first image data, based on an input step for receiving a designation input of an arbitrary area on the image of the first image data switched and displayed in the display step, and a designation input received in the input step An area determining step for determining a designated area corresponding to the arbitrary area, and an image of the designated area determined by the area determining step. An extraction step of extracting data from the first image data, characterized in that it contains, and an output step of outputting the print data based on the image data of the specified area extracted by the extraction step.

この発明によれば、HTML言語などによって記述されたWebページ上の任意の領域をユーザが指定して印刷することができる。このため、ユーザは、Webページ上でユーザが必要とする情報のみを指定して印刷をおこなうことができる。また、ユーザがWebページ上の任意の領域を指定する場合、Webページが表示された単一のウィンドウ内で入力操作をおこなうことができる。このため、ユーザは、Webページを閲覧しながら、簡単かつ直感的な操作によって印刷をおこなうことができる。   According to the present invention, a user can designate and print an arbitrary area on a Web page described in an HTML language or the like. For this reason, the user can specify and print only the information that the user needs on the Web page. When the user designates an arbitrary area on the Web page, an input operation can be performed in a single window in which the Web page is displayed. For this reason, the user can perform printing by a simple and intuitive operation while browsing the Web page.

また、この発明にかかる印刷プログラムは、上述した印刷方法をコンピュータに実行させることを特徴とする。   A printing program according to the present invention causes a computer to execute the printing method described above.

この発明によれば、印刷プログラムを実行することにより、上述した印刷方法によって得られる動作がコンピュータによって実現される。このため、上述した印刷方法の実現によって得られる各種効果を奏することができる。   According to the present invention, the operation obtained by the above-described printing method is realized by the computer by executing the printing program. For this reason, the various effects acquired by implementation | achievement of the printing method mentioned above can be show | played.

また、コンピュータに読み取り可能な記録媒体に、上述した印刷プログラムを記録することとしてもよい。   Further, the above-described print program may be recorded on a computer-readable recording medium.

この発明によれば、記録された印刷プログラムをコンピュータによって読み取らせ、実行させることによって、上述した印刷プログラムの実行によって得られる各種動作が実現される。さらに、上述した印刷プログラムの実行によって得られる各種効果を奏することができる。   According to the present invention, various operations obtained by executing the above-described printing program are realized by causing the computer to read and execute the recorded printing program. Furthermore, various effects obtained by executing the printing program described above can be achieved.

以下に添付図面を参照して、この発明にかかる印刷装置、印刷方法、印刷プログラムおよび記録媒体の好適な実施の形態を詳細に説明する。   Exemplary embodiments of a printing apparatus, a printing method, a printing program, and a recording medium according to the present invention are explained in detail below with reference to the accompanying drawings.

(実施の形態)
(印刷システムの機能構成)
図1は、本発明にかかる印刷装置を備えた印刷システムの機能構成の一例を示すブロック図である。図1に示すように、本発明にかかる印刷装置を備えた印刷システムは、ホスト100とプリンタ200とを備えて構成されている。なお、プリンタ200は、図示しないトナーカートリッジを有し、トナーカートリッジに収容されたトナーを用いて印刷処理をおこなう。
(Embodiment)
(Functional configuration of printing system)
FIG. 1 is a block diagram illustrating an example of a functional configuration of a printing system including a printing apparatus according to the present invention. As shown in FIG. 1, a printing system including a printing apparatus according to the present invention includes a host 100 and a printer 200. The printer 200 has a toner cartridge (not shown), and performs a printing process using toner stored in the toner cartridge.

ホスト100は、OS部101、アプリケーション部102、I/O部103、およびプリンタドライバ部140を備えて構成されている。OS部101は、ホスト100のアプリケーション部102、I/O部103、およびプリンタドライバ部140を統括的に制御する。なお、プリンタドライバ部140は、本発明にかかる印刷プログラムをホスト100に対してインストールすることによって、ホスト100に記憶され実現される。   The host 100 includes an OS unit 101, an application unit 102, an I / O unit 103, and a printer driver unit 140. The OS unit 101 comprehensively controls the application unit 102, the I / O unit 103, and the printer driver unit 140 of the host 100. The printer driver unit 140 is stored and realized in the host 100 by installing the printing program according to the present invention in the host 100.

印刷プログラムをホスト100に対してインストールするには、たとえば印刷プログラムが記録されたCD−ROMなどの記録媒体から印刷プログラムを読み出したり、あるいはプリンタ200の製造者などが運営するWebサイトから印刷プログラムをダウンロードしたりすることによって、ホスト100に対してインストールすることによりおこなわれる。   In order to install the print program to the host 100, for example, the print program is read from a recording medium such as a CD-ROM in which the print program is recorded, or the print program is downloaded from a website operated by the printer 200 manufacturer or the like. This is done by installing on the host 100 by downloading or the like.

アプリケーション部102は、たとえばユーザがインターネットからHTMLファイルや画像ファイルなどをダウンロードした場合、レイアウトを解析してWebページを後述するディスプレイなどの表示装置に表示する。また、たとえばユーザからの指示にしたがいWebページの印刷要求を示すデータをプリンタドライバ部140に送信する。   For example, when the user downloads an HTML file or an image file from the Internet, the application unit 102 analyzes the layout and displays the Web page on a display device such as a display described later. Further, for example, data indicating a print request for a Web page is transmitted to the printer driver unit 140 in accordance with an instruction from the user.

I/O部103は、ホスト100に接続された外部装置との間でおこなわれるデータの送受信の制御をおこなう。このI/O部103は、具体的には、たとえば外部に接続されたプリンタ200、図示しない表示装置、および図示しないキーボードなどの入力装置との間で各種データの送受信をおこなう。   The I / O unit 103 controls transmission / reception of data performed with an external device connected to the host 100. Specifically, the I / O unit 103 transmits and receives various data to and from an externally connected printer 200, a display device (not shown), and an input device such as a keyboard (not shown).

プリンタドライバ部140は、画像データ変換部141、画像データ抽出部142、印刷データ生成部143、表示制御部144、および領域決定部145を有している。画像データ変換部141は、まず、図示しない表示装置の表示画面上におけるウィンドウ内に表示されているWebページなどのイメージ画像をキャプチャする。   The printer driver unit 140 includes an image data conversion unit 141, an image data extraction unit 142, a print data generation unit 143, a display control unit 144, and an area determination unit 145. The image data conversion unit 141 first captures an image image such as a web page displayed in a window on a display screen of a display device (not shown).

そして、キャプチャしたイメージ画像を小さな点(セル)の集合であるビットマップ変換した画像データに変換(ビットマップ変換)する。さらに、表示制御部144は、画像データ変換部141によって変換された画像データのイメージ画像を図示しない表示装置の表示画面上に表示する。なお、表示制御部144がおこなう処理は、プリンタドライバ部140からのデータに基づいて、アプリケーション部102を表示制御部144が制御することによって実現されてもよい。   Then, the captured image is converted (bitmap conversion) into bitmap-converted image data that is a set of small points (cells). Further, the display control unit 144 displays the image image of the image data converted by the image data conversion unit 141 on a display screen of a display device (not shown). Note that the processing performed by the display control unit 144 may be realized by the display control unit 144 controlling the application unit 102 based on data from the printer driver unit 140.

このとき、画像データ変換部141によって変換された画像データのイメージ画像を、たとえばHTML言語によって構成されているWebページと切り換えて表示装置の表示画面上に表示させる。なお、本発明の実施の形態では、画像データ変換部141によって変換された画像データのイメージ画像のみを表示装置の表示画面上に表示するように構成したが、画像データ変換部141によって変換された画像データのイメージ画像と、HTML言語によって構成されているWebページとを同時に表示装置の表示画面上に表示するように構成してもよい。   At this time, the image data of the image data converted by the image data conversion unit 141 is displayed on the display screen of the display device by switching to a Web page configured in, for example, the HTML language. In the embodiment of the present invention, only the image of the image data converted by the image data conversion unit 141 is displayed on the display screen of the display device. However, the image data conversion unit 141 converts the image image. You may comprise so that the image image of image data and the web page comprised by the HTML language may be simultaneously displayed on the display screen of a display apparatus.

ここで、キャプチャとは、図示しない表示装置の表示画面上に表示され、現在選択されているウィンドウ(アクティブウィンドウ)内に表示されている、たとえばWebページのイメージ画像を画像データとして、図示しない主記憶部などに一時的に保存することである。   Here, the capture is a main image (not shown), which is displayed on a display screen of a display device (not shown) and displayed in the currently selected window (active window), for example, an image image of a Web page as image data. It is to temporarily store it in a storage unit or the like.

また、ビットマップ変換とは、キャプチャされたイメージ画像全体を小さなセルに分割し、分割されたすべてのセルに対して位置をあらわす座標情報を付加することである。ここで、それぞれのセルの座標情報は、たとえばイメージ画像の左上座標からの距離であらわすことができる。また、それぞれのセルには、色情報もあわせて付加されていてもよい。   Bitmap conversion is to divide the entire captured image into small cells and add coordinate information indicating the position to all the divided cells. Here, the coordinate information of each cell can be expressed, for example, by the distance from the upper left coordinate of the image image. Also, color information may be added to each cell.

次に、領域決定部145は、画像データ変換部141によってビットマップ変換され表示装置の表示画面上に表示されたWebページのイメージ画像上でユーザが入力装置を介して印刷をおこなう領域を任意に指定した場合、ビットマップ変換された画像データにおける、ユーザが指定した領域に対応する指定領域を決定する。そして、画像データ抽出部142は、領域決定部145によって決定された指定領域の画像データを後述する主記憶部などに一時保存されているビットマップ変換された画像データから抽出する。   Next, the area determination unit 145 arbitrarily selects an area on which the user performs printing via the input device on the image image of the Web page that has been bitmap-converted by the image data conversion unit 141 and displayed on the display screen of the display device. When designated, the designated area corresponding to the area designated by the user in the bitmap-converted image data is determined. Then, the image data extraction unit 142 extracts the image data of the designated area determined by the area determination unit 145 from the bitmap-converted image data temporarily stored in a main storage unit described later.

印刷データ生成部143は、アプリケーション部102から送信された、たとえばユーザがWebページの印刷をおこなう場合の印刷要求を示すデータを受け付ける。また、印刷データ生成部143は、図示しない入力装置を介して、ユーザが入力する印刷枚数、印刷濃度などの印刷条件の設定を受け付ける。そして、印刷データ生成部143は、上記印刷条件にしたがい、アプリケーション部102で作成されたWebページの印刷要求を示すデータから、プリンタ200が解釈可能なコマンド群で構成される印刷データを生成し、当該印刷データをプリンタ200に対して出力する。   The print data generation unit 143 receives data indicating a print request transmitted from the application unit 102, for example, when the user prints a Web page. In addition, the print data generation unit 143 receives settings of print conditions such as the number of prints and print density input by the user via an input device (not shown). Then, the print data generation unit 143 generates print data including commands that can be interpreted by the printer 200 from the data indicating the print request of the Web page created by the application unit 102 in accordance with the print conditions. The print data is output to the printer 200.

次に、ホスト100に接続されているプリンタ200について説明する。プリンタ200は、通信制御部201、印刷実行部202、および印刷用紙給紙部204を備えて構成されている。通信制御部201は、ホスト100とプリンタ200との間でおこなう各種データの送受信の制御をおこなう。たとえば、通信制御部201は、ホスト100から送信された印刷データを受信した場合、受信した印刷データを後述する印刷実行部202に対して送信する。   Next, the printer 200 connected to the host 100 will be described. The printer 200 includes a communication control unit 201, a print execution unit 202, and a printing paper feed unit 204. The communication control unit 201 controls transmission / reception of various data performed between the host 100 and the printer 200. For example, when the communication control unit 201 receives print data transmitted from the host 100, the communication control unit 201 transmits the received print data to a print execution unit 202 described later.

印刷実行部202は、ホスト100から送信された印刷データの入力を受け付けて、印刷用紙に所定の印刷処理を実行する。具体的には、印刷実行部202は、ホスト100が送信した印刷データを、通信制御部201を介して受信し、受信した印刷データに基づいて印刷用の画像データを生成する。   The print execution unit 202 receives input of print data transmitted from the host 100 and executes predetermined print processing on the print paper. Specifically, the print execution unit 202 receives print data transmitted from the host 100 via the communication control unit 201, and generates image data for printing based on the received print data.

そして、印刷実行部202は、上記生成した印刷用の画像データを図示しないフレームバッファに展開する。さらに、印刷実行部202は、上記展開した印刷用の画像データを読み出して印刷処理をおこなう。このとき、印刷実行部202は、後述する印刷用紙給紙部204に印刷用紙を給紙させ、供給された印刷用紙に対して印刷処理をおこなう。   The print execution unit 202 expands the generated image data for printing in a frame buffer (not shown). Further, the print execution unit 202 reads the developed image data for printing and performs a printing process. At this time, the printing execution unit 202 feeds printing paper to a printing paper feeding unit 204 described later, and performs printing processing on the supplied printing paper.

印刷用紙給紙部204は、印刷実行部202に印刷用紙の給紙をおこなう。印刷用紙給紙部204は、印刷用紙を装填するための図示しない給紙トレイを有している。この給紙トレイには、印刷用紙が備えられている。そして、印刷用紙給紙部204は、印刷実行部202からの印刷要求にしたがい、印刷用紙を給紙トレイから印刷実行部202に供給する。   The printing paper feeding unit 204 feeds printing paper to the printing execution unit 202. The printing paper feeding unit 204 has a paper feeding tray (not shown) for loading printing paper. This paper feed tray is provided with printing paper. Then, the printing paper feeding unit 204 supplies the printing paper from the paper feeding tray to the printing execution unit 202 in accordance with the printing request from the printing execution unit 202.

(印刷システムのハードウェア構成)
図2は、本発明にかかる印刷装置を備えた印刷システムのハードウェア構成の一例を示すブロック図である。まず、ホスト100のハードウェア構成について説明する。図2に示すように、ホスト100には、印刷プログラムなどの各種プログラムを実行するCPU(CPU:Central Processing Unit)110と、CPU110が実行する各種プログラムやデータを一時的に記憶する主記憶部111と、ホスト100を制御するための各種プログラムなどが予め記憶されているハードディスクなどの補助記憶部112と、接続したプリンタ200などの周辺装置との間でおこなうデータの送受信を制御するインタフェース113とを有する。
(Hardware configuration of printing system)
FIG. 2 is a block diagram illustrating an example of a hardware configuration of a printing system including the printing apparatus according to the present invention. First, the hardware configuration of the host 100 will be described. As shown in FIG. 2, the host 100 includes a CPU (Central Processing Unit) 110 that executes various programs such as a printing program, and a main storage unit 111 that temporarily stores various programs and data executed by the CPU 110. And an auxiliary storage unit 112 such as a hard disk in which various programs for controlling the host 100 are stored in advance, and an interface 113 that controls transmission and reception of data between peripheral devices such as the connected printer 200. Have.

また、ホスト100には、CRT(CRT:Cathode Ray Tube)、液晶ディスプレイなどの表示装置120と、キーボードやマウスなどの入力装置130とが接続されている。そして、ホスト100の上記各構成部が実現する機能は、一般的なコンピュータシステムにおいて、CPU110が補助記憶部112に記憶されている各種プログラム(OS、アプリケーションプログラム、I/Oプログラム、プリンタドライバ)を主記憶部111にロードし、実行することによって実現される。なお、表示装置120の表示画面上には、CPU110によって実行されたプログラムに関するアクティブウィンドウを含む各種ウィンドウが表示される。   The host 100 is connected to a display device 120 such as a CRT (CRT: Cathode Ray Tube) or a liquid crystal display, and an input device 130 such as a keyboard or a mouse. The functions realized by the components of the host 100 are various programs (OS, application programs, I / O programs, printer drivers) stored in the auxiliary storage unit 112 by the CPU 110 in a general computer system. This is realized by loading into the main storage unit 111 and executing it. Various windows including an active window related to a program executed by the CPU 110 are displayed on the display screen of the display device 120.

次に、プリンタ200のハードウェア構成について説明する。プリンタ200は、データの送受信の制御をおこなうインタフェース214と、印刷に関するプログラムを実行するCPU210と、イメージデータなどを一時的に記憶するRAM(RAM:Random Access Memory)211と、プリンタ200を制御するための印刷に関するプログラム(上記各機能を実現するためのプログラム)が予め不揮発的に記憶されているROM(Read Only Memory)212と、印刷部215と、印刷部215に印刷用紙を供給する給紙部216とを有している。   Next, the hardware configuration of the printer 200 will be described. The printer 200 controls an interface 214 that controls transmission / reception of data, a CPU 210 that executes a program related to printing, a RAM (RAM: Random Access Memory) 211 that temporarily stores image data and the like, and a printer 200. ROM (Read Only Memory) 212 in which programs relating to printing (programs for realizing the above functions) are stored in advance in a nonvolatile manner, a printing unit 215, and a paper feeding unit that supplies printing paper to the printing unit 215 216.

なお、印刷部215は、光学ユニット、感光体ドラムなどを備えた感光体ユニット、トナーカートリッジ、定着ローラと加圧ローラなどを備えた定着ユニット、転写ベルト、紙送り機構などからなる。そして、プリンタ200の上記各構成部が実現する機能は、ROM212に記憶されている上記各機能を実現させるための各種プログラムをRAM211にロードし、実行することによって実現される。   The printing unit 215 includes an optical unit, a photosensitive unit including a photosensitive drum, a toner cartridge, a fixing unit including a fixing roller and a pressure roller, a transfer belt, and a paper feed mechanism. The functions realized by the components of the printer 200 are realized by loading various programs for realizing the functions stored in the ROM 212 into the RAM 211 and executing the programs.

図3は、アクティブウィンドウに表示されたWebページの一例を示した図である。表示装置120(図2参照、以下同じ)の表示画面上には、ユーザがインターネットによってダウンロードしたWebページ320がアクティブウィンドウ310の表示領域311内において表示されている。なお、この図3に示す状態のWebページ320は、HTML言語によって記載されたものであるため、図示は省略するが、そのままの状態では上述したように入力装置130によって任意の領域を指定しようとしても、同じタグ内で指定された文字列や画像イメージごとでしか指定することはできない。   FIG. 3 is a diagram showing an example of a Web page displayed in the active window. On the display screen of the display device 120 (see FIG. 2, the same applies hereinafter), a Web page 320 downloaded by the user via the Internet is displayed in the display area 311 of the active window 310. Since the Web page 320 in the state shown in FIG. 3 is written in the HTML language, illustration is omitted. However, in the state as it is, an attempt is made to specify an arbitrary area by the input device 130 as described above. However, it can be specified only for each character string or image specified in the same tag.

図3に示すように、アクティブウィンドウ310内には、印刷に関するユーザの各種指示を入力装置130(図2参照、以下同じ)によって指定するための印刷ダイアログボックス300が表示されている。印刷ダイアログボックス300には、プリントボタン301と、プリントプレビューボタン302と、キャプチャプリントボタン303とが設けられている。ユーザは、この印刷ダイアログボックス300上の各ボタンを入力装置130を介して押下することによって、ホスト100に対して各種操作に伴う指示を出すことができる。   As shown in FIG. 3, a print dialog box 300 is displayed in the active window 310 for designating various user instructions regarding printing using the input device 130 (see FIG. 2, the same applies hereinafter). The print dialog box 300 includes a print button 301, a print preview button 302, and a capture print button 303. The user can issue instructions for various operations to the host 100 by pressing each button on the print dialog box 300 via the input device 130.

ここで、プリントボタン301は、ユーザが表示領域311内に表示されているWebページ320全体を印刷する場合に使用するボタンであり、プリントプレビューボタン302は、ユーザが表示領域311内に表示されているWebページ320の印刷結果を印刷前に予め表示装置120の表示画面上で確認する場合などに使用するボタンである。また、キャプチャプリントボタン303は、ユーザが表示領域311内に表示されているWebページ320上の任意の領域について印刷をおこなう場合に使用するボタンである。   Here, the print button 301 is a button used when the user prints the entire web page 320 displayed in the display area 311, and the print preview button 302 is displayed in the display area 311 by the user. This button is used to check the print result of the Web page 320 on the display screen of the display device 120 before printing. The capture print button 303 is a button used when the user performs printing for an arbitrary area on the Web page 320 displayed in the display area 311.

なお、このように構成された印刷ダイアログボックス300におけるキャプチャプリントボタン303をユーザが押下することによって、アクティブウィンドウ310の表示領域311内に表示されているWebページ320は、内部処理によって瞬時にビットマップ化され、このビットマップ化されたWebページ320に切り換え表示される。   Note that when the user presses the capture print button 303 in the print dialog box 300 configured as described above, the Web page 320 displayed in the display area 311 of the active window 310 is instantaneously bitmapped by internal processing. And is switched to and displayed on this bitmapped web page 320.

図4は、本発明にかかる印刷装置を備えた印刷システムの動作を示すフローチャートである。図4を参照して、ユーザが表示領域311内に表示されたWebページ320上の任意の領域を指定して印刷をおこなう場合の一連の印刷処理手順動作を説明する。まず、ホスト100のアプリケーション部102によってWebブラウザなどのアプリケーションを実行し、表示装置120の表示画面上にWebページ320を表示する(ステップS401)。そして、ホスト100は、入力装置130などを介してユーザから実行すべき処理についての指示が入力されるまで待機する(ステップS402)。   FIG. 4 is a flowchart showing the operation of the printing system including the printing apparatus according to the present invention. With reference to FIG. 4, a series of print processing procedure operations when the user designates an arbitrary area on the Web page 320 displayed in the display area 311 and performs printing will be described. First, an application such as a web browser is executed by the application unit 102 of the host 100, and the web page 320 is displayed on the display screen of the display device 120 (step S401). Then, the host 100 waits until an instruction about processing to be executed is input from the user via the input device 130 or the like (step S402).

次に、ホスト100は、入力装置130などを介してユーザによってアクティブウィンドウ310の印刷ダイアログボックス300内のキャプチャプリントボタン303が押下されたか否かを判断する(ステップS403)。ここで、ユーザによってキャプチャプリントボタン303が押下されなかったと判断された場合(ステップS403:No)は、ステップS402に戻り、ホスト100は、ユーザから実行すべき処理についての指示が入力されるまで待機する。   Next, the host 100 determines whether or not the capture print button 303 in the print dialog box 300 of the active window 310 has been pressed by the user via the input device 130 or the like (step S403). If it is determined that the capture print button 303 has not been pressed by the user (step S403: No), the process returns to step S402, and the host 100 waits until an instruction about processing to be executed is input from the user. To do.

ユーザによってキャプチャプリントボタン303が押下されたと判断された場合(ステップS403:Yes)は、プリンタドライバ部140の画像データ変換部141は、まず、アクティブウィンドウ310の表示領域311内に表示されているWebページ320のイメージ画像をキャプチャする(ステップS404)。   If it is determined that the user has pressed the capture print button 303 (step S403: Yes), the image data conversion unit 141 of the printer driver unit 140 first displays the Web displayed in the display area 311 of the active window 310. The image of the page 320 is captured (step S404).

さらに、画像データ変換部141は、Webページ320の画像データをビットマップ変換する。そして、表示制御部144は、アプリケーション部102を制御して、ビットマップ変換されたWebページ320の画像データを表示させる(ステップS405)。次に、ホスト100は、ビットマップ変換されて表示されたWebページ320において、ユーザによって指定領域が指定されたか否かを判断する(ステップS406)。ここで、ステップS406の判断処理における実際の表示装置120の表示画面上の動作を説明する。   Further, the image data conversion unit 141 performs bitmap conversion on the image data of the Web page 320. Then, the display control unit 144 controls the application unit 102 to display the image data of the Web page 320 that has been bitmap-converted (step S405). Next, the host 100 determines whether or not a designated area has been designated by the user in the Web page 320 displayed after bitmap conversion (step S406). Here, the operation on the display screen of the actual display device 120 in the determination processing in step S406 will be described.

図5は、アクティブウィンドウに表示されたWebページ上でユーザが任意の領域を指定した場合の一例を示す図である。図5に示すWebページ320は、図3に示したWebページ320の画像データをビットマップ化して表示装置120に表示したものである。なお、以降において、既に説明した部分と重複する箇所には、同一の符号を附して説明を省略する。   FIG. 5 is a diagram illustrating an example when the user designates an arbitrary area on the Web page displayed in the active window. A web page 320 shown in FIG. 5 is obtained by converting the image data of the web page 320 shown in FIG. In the following, portions that overlap with those already described are denoted by the same reference numerals and description thereof is omitted.

ユーザが印刷をおこなう任意の領域を指定する場合は、マウスなどの入力装置130を用いる。たとえばユーザがWebページ320上で任意の始点501にカーソルを移動させ、マウスのボタンを押下し、そのままの状態でカーソルを移動させる(ドラッグ)。そして、ユーザがドラッグした場所と異なる任意の終点502でマウスのボタンを離す(ドロップ)ことによって任意の指定領域503を指定することができる。   When the user designates an arbitrary area for printing, an input device 130 such as a mouse is used. For example, the user moves the cursor to an arbitrary start point 501 on the Web page 320, presses the mouse button, and moves the cursor as it is (drag). An arbitrary designated area 503 can be designated by releasing (dropping) the mouse button at an arbitrary end point 502 different from the location where the user has dragged.

なお、ユーザが指定する任意の指定領域503は、上述したように、マウスなどの入力装置130を用いておこなってもよいし、たとえばタッチパネルを表示装置120の図示しないスクリーン上に設けることによって指やペンなどで領域を指定してもよい。また、ユーザが指定する領域の形状は、任意である。たとえば矩形や平行四辺形でもよいし、円形でもよい。   The arbitrary designation area 503 designated by the user may be performed using the input device 130 such as a mouse as described above. For example, by providing a touch panel on a screen (not shown) of the display device 120, The area may be designated with a pen or the like. Moreover, the shape of the area specified by the user is arbitrary. For example, a rectangle, a parallelogram, or a circle may be used.

ここで、図4のフローチャートの説明に戻る。ホスト100は、ユーザによって指定領域が指定されるまで待機(ステップS406:Noのループ)し、ユーザによって指定領域が指定されたと判断された場合(ステップS406:Yes)は、プリンタドライバ部140の領域決定部145がビットマップ変換されたWebページの画像データにおける指定領域503を決定する。そして、画像データ抽出部142は、ビットマップ変換されたWebページ320の画像データからユーザが指定した指定領域503の画像データを抽出する(ステップS407)。   Now, the description returns to the flowchart of FIG. The host 100 waits until the designated area is designated by the user (step S406: No loop). When it is determined that the designated area is designated by the user (step S406: Yes), the area of the printer driver unit 140 is determined. The determination unit 145 determines the designated area 503 in the image data of the Web page that has been bitmap-converted. Then, the image data extraction unit 142 extracts the image data of the designated area 503 designated by the user from the image data of the Web page 320 that has been bitmap-converted (step S407).

アプリケーション部102は、画像データ抽出部142によって抽出された指定領域503の画像データに基づいて、指定領域503にあわせたレンダリング処理をおこない、指定領域503を印刷プレビュー画面に表示する。ここで、レンダリングとは、数値データとして与えられた物体や図形に関する情報を計算によって画像化することであり、一般的には、データの可視化を示す。ここで、ステップS407とステップS408との間で、ユーザが指定領域503の編集をおこなう場合の動作について説明する。   The application unit 102 performs rendering processing in accordance with the designated area 503 based on the image data of the designated area 503 extracted by the image data extracting unit 142, and displays the designated area 503 on the print preview screen. Here, rendering is to image information about an object or a figure given as numerical data by calculation, and generally indicates visualization of data. Here, an operation when the user edits the designated area 503 between step S407 and step S408 will be described.

図6は、印刷プレビュー画面に表示された指定領域の一例を示す図である。図6に示すように、表示装置120の表示画面上には、アクティブウィンドウ310の表示領域311内に印刷プレビュー画面600が表示されている。そして、印刷プレビュー画面内の用紙領域605上にユーザが任意に指定した指定領域503が貼り付けられた状態になっている。この印刷プレビュー画面600によってユーザが指定領域503の印刷結果を印刷前に確認できる。さらに、印刷ダイアログボックス601の各ボタンをユーザが入力装置130を介して押下することによって指定領域503の編集をおこなうことができる。   FIG. 6 is a diagram illustrating an example of the designated area displayed on the print preview screen. As shown in FIG. 6, a print preview screen 600 is displayed in the display area 311 of the active window 310 on the display screen of the display device 120. The designated area 503 arbitrarily designated by the user is pasted on the paper area 605 in the print preview screen. This print preview screen 600 allows the user to check the print result of the designated area 503 before printing. Furthermore, the user can edit the designated area 503 by pressing each button of the print dialog box 601 via the input device 130.

ユーザがズームボタン602を入力装置130を介して押下した場合、印刷プレビュー画面600に対して指定領域503が貼り付けられた状態の用紙領域605を拡大、または縮小できる。また、ユーザがスケールボタン603を押下した場合は、用紙領域605に対して指定領域503を拡大、または縮小できる。さらに、ユーザがセットアップボタン604を入力装置130を介して押下した場合は、指定領域503を印刷をするときの記録紙の用紙サイズや、記録紙に対する指定領域503の印刷向きなどの設定をおこなうことができる。   When the user presses the zoom button 602 via the input device 130, the paper area 605 with the designated area 503 pasted on the print preview screen 600 can be enlarged or reduced. When the user presses the scale button 603, the designated area 503 can be enlarged or reduced with respect to the paper area 605. Further, when the user presses the setup button 604 via the input device 130, the paper size of the recording paper when the designated area 503 is printed, the print direction of the designated area 503 with respect to the recording paper, and the like are set. Can do.

そして、プリンタドライバ部140の印刷データ生成部143は、アプリケーション部102から送信される指定領域503の画像データを受け付ける。また、印刷データ生成部143は、印刷ダイアログボックス601の各ボタンをユーザが入力装置130を介して押下することによって設定したスケールの変更や記録紙の用紙サイズなどの印刷設定も受け付ける。   Then, the print data generation unit 143 of the printer driver unit 140 receives the image data of the designated area 503 transmitted from the application unit 102. The print data generation unit 143 also accepts print settings such as a scale change set by the user pressing the buttons of the print dialog box 601 via the input device 130 and the paper size of the recording paper.

ここで、図4のフローチャートの説明に戻る。印刷データ生成部143は、アプリケーション部102から受け付ける指定領域503の画像データと指定領域503のスケールの変更などの印刷設定とに基づいて、プリンタ200が解釈可能なコマンド群で構成される印刷データを生成する(ステップS408)。さらに、ユーザによって図6に示すプリントボタン606が入力装置130を介して押下されると、印刷データ生成部143は、プリンタ200に生成した指定領域503の印刷データを出力し(ステップS409)、一連の動作を終了する。   Now, the description returns to the flowchart of FIG. The print data generation unit 143 generates print data including a command group that can be interpreted by the printer 200 based on the image data of the designated area 503 received from the application unit 102 and print settings such as a scale change of the designated area 503. Generate (step S408). Further, when the user presses the print button 606 shown in FIG. 6 via the input device 130, the print data generation unit 143 outputs the print data of the designated area 503 generated to the printer 200 (step S409). End the operation.

なお、ユーザがWebページ320全体の印刷をおこなう場合は、図4に示すステップS402において、ユーザがプリントボタン301を押下することによってWebページ320全体の印刷することができる。この場合は、印刷データ生成部143は、アプリケーション部102から受け付けるWebページ320全体の画像データとユーザが入力装置130を介しておこなう印刷設定とに基づいて、プリンタ200が解釈可能なコマンド群で構成される印刷データを生成し、プリンタ200に印刷データを出力する。   If the user prints the entire Web page 320, the user can print the entire Web page 320 by pressing the print button 301 in step S402 shown in FIG. In this case, the print data generation unit 143 includes a command group that can be interpreted by the printer 200 based on the image data of the entire Web page 320 received from the application unit 102 and the print settings made by the user via the input device 130. Print data to be generated, and the print data is output to the printer 200.

また、Webページ上でユーザが指定する任意の指定領域は、複数指定することもできる。図5に示したWebページ320上で、ユーザが任意の指定領域503を指定した場合、自動的に図6に示す印刷プレビュー画面600が表示される。このとき、Webページ320を表示したウィンドウと印刷プレビュー画面600を表示したウィンドウとが表示装置120の表示画面上に存在している。そして、印刷プレビュー画面600を表示したウィンドウがアクティブウィンドウ310となって表示装置120の表示画面上に表示されている。たとえばこの2つのウィンドウをユーザが任意に選択して表示装置120の表示画面上に表示させることができるように構成してもよい。   A plurality of arbitrary designated areas designated by the user on the Web page can be designated. When the user designates an arbitrary designated area 503 on the Web page 320 shown in FIG. 5, a print preview screen 600 shown in FIG. 6 is automatically displayed. At this time, a window displaying the Web page 320 and a window displaying the print preview screen 600 exist on the display screen of the display device 120. The window displaying the print preview screen 600 becomes an active window 310 and is displayed on the display screen of the display device 120. For example, the two windows may be arbitrarily selected and displayed on the display screen of the display device 120 by the user.

これによって、図5に示したWebページ320上で、ユーザが指定領域503を指定した場合に、自動的に印刷プレビュー画面600が表示されても、ユーザがWebページ320が表示されているウィンドウを選択することができ、新たな任意の指定領域を指定することができる。また、ユーザが指定した複数の指定領域の図6に示す用紙領域605におけるレイアウトは、たとえばユーザが指定した順番に上から下に用紙領域605の中央付近に表示されてもよい。その後さらに、ユーザが用紙領域605におけるそれぞれの指定領域のレイアウトを構成仕直すことができるようにしてもよい。   As a result, when the user designates the designated area 503 on the web page 320 shown in FIG. 5, even if the print preview screen 600 is automatically displayed, the user can open the window in which the web page 320 is displayed. A new arbitrary designated area can be designated. Further, the layout in the paper region 605 shown in FIG. 6 of the plurality of designated regions designated by the user may be displayed near the center of the paper region 605 from top to bottom in the order designated by the user, for example. Thereafter, the user may be able to reconfigure the layout of each designated area in the paper area 605.

また、図6において、ユーザが任意に指定した指定領域503を拡大、または縮小して印刷をおこなう場合、たとえば指定領域503の拡大率がある閾値以上であれば、指定領域503に表現されている斜めの線にジャギーと呼ばれる階段状のギザギザがあらわれたり、ディザリング処理によって色がぼやけてしまうことがあるため、印刷装置を次のように構成することができる。   In FIG. 6, when printing is performed by enlarging or reducing the designated area 503 arbitrarily designated by the user, for example, if the enlargement ratio of the designated area 503 is equal to or greater than a certain threshold value, the designated area 503 is represented in the designated area 503. Since a step-like jaggedness called jaggy may appear on an oblique line or the color may be blurred due to the dithering process, the printing apparatus can be configured as follows.

画像データ変換部141が、表示装置120の表示画面上におけるウィンドウ内に表示されているWebページ320のイメージ画像をキャプチャし、キャプチャしたイメージ画像をビットマップ変換する際に、プリンタ200からの印刷解像度情報に基づいて、高解像度でビットマップ変換した画像データをさらに生成し、主記憶部111(図2参照)などに記憶させる。そして、ユーザがおこなう拡大、または縮小がある閾値以上になった場合、プリンタドライバ部140に設けられた図示しない判定部が高解像度でビットマップ変換したWebページ320の画像データから、指定領域503の画像データを抽出するように判定する。   When the image data conversion unit 141 captures an image of the Web page 320 displayed in the window on the display screen of the display device 120 and performs bitmap conversion on the captured image, the print resolution from the printer 200 is displayed. Based on the information, image data obtained by bitmap conversion at high resolution is further generated and stored in the main storage unit 111 (see FIG. 2) or the like. When the enlargement or reduction performed by the user exceeds a certain threshold value, the determination unit (not shown) provided in the printer driver unit 140 uses the image data of the Web page 320 that has been bitmap-converted at a high resolution to display the specified area 503. It is determined to extract image data.

そして、画像データ抽出部142は、判定部の判定結果に基づいて、指定領域503の画像データを高解像度でビットマップ変換したWebページの画像データから抽出する。そして、印刷データ生成部143は、画像データ抽出部142によって再抽出された指定領域503の画像データに基づいて印刷データを生成し、プリンタ200に出力する。これによって、ジャギーやディザリング処理による問題を防ぐ、あるいは最小限に抑えることが可能となり、指定領域503をよりきれいに印刷することができる。   Then, based on the determination result of the determination unit, the image data extraction unit 142 extracts the image data of the designated area 503 from the image data of the Web page that has been bitmap-converted with high resolution. The print data generation unit 143 generates print data based on the image data in the designated area 503 re-extracted by the image data extraction unit 142 and outputs the print data to the printer 200. As a result, problems due to jaggies and dithering processing can be prevented or minimized, and the designated area 503 can be printed more beautifully.

以上説明した本発明にかかる印刷装置を用いた印刷システムによれば、HTML言語などによって記述されたWebページ上の任意の領域をユーザが指定して印刷することができる。これによって、Webページ上に記載されている情報の中からユーザが所望する情報のみを指定して印刷をおこなうことができる。また、ユーザがWebページ上の任意の領域を指定する場合、Webページが表示された単一のウィンドウ内で入力操作をおこなうことができる。これによって、ユーザは、Webページを閲覧しながら、簡単かつ直感的な操作によって印刷をおこなうことができる。   According to the printing system using the printing apparatus according to the present invention described above, a user can designate and print an arbitrary area on a Web page described in HTML language or the like. Thus, it is possible to perform printing by designating only information desired by the user from information described on the Web page. When the user designates an arbitrary area on the Web page, an input operation can be performed in a single window in which the Web page is displayed. As a result, the user can perform printing by a simple and intuitive operation while browsing the Web page.

また、ユーザがWebページ上の任意の領域を指定する場合に、マウスなどの入力装置130によってWebページ上の任意の始点と任意の終点とを指定するだけで任意の領域を指定することができる。さらに、ユーザがWebページ上の指定領域を印刷するときにおこなう各種操作を、ウィンドウ内に表示された印刷ダイアログボタンの各ボタンをユーザがマウスなどを介して押下することによっておこなうことができる。このような、簡略な操作でユーザがWebページ上の任意の指定領域を印刷することができるため、ユーザが印刷装置の持っている機能を十分に使いこなすことができる。   Further, when the user designates an arbitrary area on the web page, the user can designate the arbitrary area simply by designating an arbitrary start point and arbitrary end point on the web page with the input device 130 such as a mouse. . Furthermore, various operations performed when the user prints the designated area on the Web page can be performed by the user pressing each button of the print dialog button displayed in the window via a mouse or the like. Since the user can print an arbitrary designated area on the Web page with such a simple operation, the user can sufficiently use the functions of the printing apparatus.

また、ユーザがWebページ上の任意の指定領域を印刷する場合に、新たなウィンドウを用いて印刷プレビュー画面を表示し、この印刷プレビュー画面上でユーザがWebページ上の任意の領域を指定するなどの作業を必要としない。このため、印刷プレビュー画面を表示させるためのユーザがおこなう作業工程を減らすことができ、印刷作業の利便性を図ることができる。さらに、表示装置120の表示画面内にWebページが表示されたウィンドウと、Webページの印刷プレビュー画面が表示されたウィンドウとが同時に表示されることを防ぐことができ、ユーザが編集をおこなうべきウィンドウは、どのウィンドウなのか判断できなくなるなどの混乱を防止することができる。   Further, when the user prints an arbitrary designated area on the Web page, a print preview screen is displayed using a new window, and the user designates an arbitrary area on the Web page on the print preview screen. Does not require any work. For this reason, the work process performed by the user for displaying the print preview screen can be reduced, and the convenience of the printing work can be improved. Furthermore, it is possible to prevent the window on which the Web page is displayed on the display screen of the display device 120 and the window on which the Web page print preview screen is displayed from being displayed at the same time. Can prevent confusion such as being unable to determine which window it is.

また、Webページをビットマップ変換した画像データに変換するときに、印刷ドライバの解像度にあわせた高解像度でビットマップ変換した画像データを生成することができる。ユーザが指定領域印刷時に指定領域を拡大、または縮小などの編集をおこなった場合に、その拡大率、または縮小率に応じて指定領域の印刷に適した解像度でビットマップ変換した画像データから指定領域を抽出することができる。これによって、ユーザは、指定領域の鮮明な印刷結果を得ることができる。   In addition, when converting a Web page into bitmap-converted image data, it is possible to generate bitmap-converted image data at a high resolution that matches the resolution of the print driver. When the user edits the specified area, such as enlargement or reduction, when the user prints the specified area, the specified area is converted from the bitmap data with the resolution suitable for printing the specified area according to the enlargement ratio or reduction ratio. Can be extracted. As a result, the user can obtain a clear print result of the designated area.

なお、本実施の形態で説明した印刷方法は、予め用意されたプログラムをパーソナルコンピュータやワークステーション等のコンピュータで実行することにより実現することができる。このプログラムは、ハードディスク、フレキシブルディスク、CD−ROM、MO、DVD等のコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。またこのプログラムは、インターネット等のネットワークを介して配布することが可能な伝送媒体であってもよい。   The printing method described in this embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. This program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, an MO, and a DVD, and is executed by being read from the recording medium by the computer. The program may be a transmission medium that can be distributed via a network such as the Internet.

印刷システムの機能構成の一例を示すブロック図。1 is a block diagram illustrating an example of a functional configuration of a printing system. 印刷システムのハードウェア構成の一例を示すブロック図。1 is a block diagram illustrating an example of a hardware configuration of a printing system. アクティブウィンドウに表示されたWebページの一例を示した図。The figure which showed an example of the web page displayed on the active window. 印刷システムの動作を示すフローチャート。6 is a flowchart showing the operation of the printing system. Webページ上でユーザが任意の領域を指定した場合の一例を示す図。The figure which shows an example when a user designates arbitrary areas on a Web page. 印刷プレビュー画面に表示された指定領域の一例を示す図。The figure which shows an example of the designation | designated area | region displayed on the print preview screen.

符号の説明Explanation of symbols

100 ホスト、101 OS部、120 表示装置、130 入力装置、140 プリンタドライバ部、141 画像データ変換部、142 画像データ抽出部、143 印刷データ生成部、144 表示制御部、145 領域決定部、200 プリンタ、300 印刷ダイアログボックス、310 アクティブウィンドウ、320 Webページ、503 指定領域、600 印刷プレビュー画面

100 host, 101 OS unit, 120 display device, 130 input device, 140 printer driver unit, 141 image data conversion unit, 142 image data extraction unit, 143 print data generation unit, 144 display control unit, 145 area determination unit, 200 printer , 300 Print dialog box, 310 Active window, 320 Web page, 503 Designated area, 600 Print preview screen

Claims (8)

Webページを表示する表示手段と、
前記表示手段に表示されている前記Webページをビットマップ変換した第1の画像データに変換する変換手段と、
前記変換手段によって変換された前記第1の画像データのイメージ画像を前記表示手段によって表示されている前記Webページと切り換えて同じ領域に表示する表示制御手段と、
前記表示制御手段によって切り換え表示された前記第1の画像データのイメージ画像上の任意の領域を指定入力するための入力手段と、
前記入力手段による指定入力に基づいて、前記第1の画像データにおける前記任意の領域と対応する指定領域を決定する領域決定手段と、
前記領域決定手段によって決定された前記指定領域の画像データを前記第1の画像データから抽出する抽出手段と、
前記抽出手段によって抽出された前記指定領域の画像データに基づく印刷データを出力する出力手段と、
を備えることを特徴とする印刷システム
Display means for displaying a web page;
Conversion means for converting the Web page displayed on the display means into first image data obtained by bitmap conversion;
Display control means for switching the image image of the first image data converted by the conversion means to the same area as the Web page displayed by the display means;
Input means for designating and inputting an arbitrary area on the image of the first image data switched and displayed by the display control means;
Area determining means for determining a designated area corresponding to the arbitrary area in the first image data based on a designation input by the input means;
Extraction means for extracting the image data of the designated area determined by the area determination means from the first image data;
Output means for outputting print data based on the image data of the designated area extracted by the extraction means;
A printing system comprising:
前記入力手段は、前記表示手段に表示されている前記第1の画像データのイメージ画像上の任意の始点と終点とを指定することによって前記任意の領域を指定入力することを特徴とする請求項1に記載の印刷システムThe input means specifies and inputs the arbitrary region by specifying an arbitrary start point and end point on an image of the first image data displayed on the display means. The printing system according to 1. 前記変換手段は、前記入力手段からの指示入力に基づいて、前記表示手段に表示されている前記Webページを変換することを特徴とする請求項1または2に記載の印刷システムThe printing system according to claim 1, wherein the conversion unit converts the Web page displayed on the display unit based on an instruction input from the input unit. 前記変換手段は、印刷ドライバからの印刷解像度情報に基づいて、前記表示手段に表示されている前記Webページを当該印刷解像度にあわせてビットマップ変換した第2の画像データに変換することを特徴とする請求項1〜3のいずれか一つに記載の印刷システムThe conversion unit converts the Web page displayed on the display unit into second image data obtained by bitmap conversion according to the print resolution based on print resolution information from a print driver. The printing system according to any one of claims 1 to 3. 前記印刷ドライバからの印刷解像度情報に基づいて、前記領域決定手段によって決定された前記指定領域の画像データの解像度が印刷に適しているか否かを判定する判定手段をさらに備え、
前記抽出手段は、前記判定手段によって判定された判定結果に基づいて、前記指定領域の画像データを前記第1の画像データまたは前記第2の画像データから抽出することを特徴とする請求項4に記載の印刷システム
Based on print resolution information from the print driver, further comprising determination means for determining whether or not the resolution of the image data of the designated area determined by the area determination means is suitable for printing,
The extraction unit extracts the image data of the designated area from the first image data or the second image data based on a determination result determined by the determination unit. The printing system described.
Webページを表示する第1の表示工程と、
前記第1の表示工程によって表示されている前記Webページをビットマップ変換した第1の画像データに変換する変換工程と、
前記変換工程によって変換された前記第1の画像データのイメージ画像を前記第1の表示工程によって表示されている前記Webページと切り換えて同じ領域に表示する第2の表示工程と、
前記第2の表示工程によって切り換え表示された前記第1の画像データのイメージ画像上の任意の領域の指定入力を受け付ける入力工程と、
前記入力工程によって受け付けられた指定入力に基づいて、前記第1の画像データにおける前記任意の領域と対応する指定領域を決定する領域決定工程と、
前記領域決定工程によって決定された前記指定領域の画像データを前記第1の画像データから抽出する抽出工程と、
前記抽出工程によって抽出された前記指定領域の画像データに基づく印刷データを出力する出力工程と、
を含んだことを特徴とする印刷方法。
A first display step of displaying a web page;
A conversion step of converting the Web page displayed in the first display step into first image data obtained by bitmap conversion;
A second display step of switching the image image of the first image data converted by the conversion step to the same area as the Web page displayed by the first display step;
An input step of receiving a designation input of an arbitrary area on the image of the first image data switched and displayed by the second display step;
An area determining step for determining a designated area corresponding to the arbitrary area in the first image data based on the designation input accepted by the input step;
An extraction step of extracting image data of the designated region determined by the region determination step from the first image data;
An output step of outputting print data based on the image data of the designated area extracted by the extraction step;
The printing method characterized by including.
請求項6に記載の印刷方法をコンピュータに実行させることを特徴とする印刷プログラム。   A printing program for causing a computer to execute the printing method according to claim 6. 請求項7に記載の印刷プログラムを記録したことを特徴とするコンピュータに読み取り可能な記録媒体。   A computer-readable recording medium on which the printing program according to claim 7 is recorded.
JP2005286416A 2005-09-30 2005-09-30 Printing system, printing method, printing program, and recording medium Active JP4966533B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005286416A JP4966533B2 (en) 2005-09-30 2005-09-30 Printing system, printing method, printing program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005286416A JP4966533B2 (en) 2005-09-30 2005-09-30 Printing system, printing method, printing program, and recording medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2010269291A Division JP2011096267A (en) 2010-12-02 2010-12-02 Printer, printing method, printing program, and recording medium

Publications (2)

Publication Number Publication Date
JP2007094950A JP2007094950A (en) 2007-04-12
JP4966533B2 true JP4966533B2 (en) 2012-07-04

Family

ID=37980561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005286416A Active JP4966533B2 (en) 2005-09-30 2005-09-30 Printing system, printing method, printing program, and recording medium

Country Status (1)

Country Link
JP (1) JP4966533B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5306078B2 (en) 2009-06-30 2013-10-02 キヤノン株式会社 Information processing apparatus, information processing method, and program
JP2011081647A (en) * 2009-10-08 2011-04-21 Seiko Epson Corp Device and program for generating image forming data
JP2011138315A (en) * 2009-12-28 2011-07-14 Fujifilm Corp Image output device, system, method, and program
JP5545110B2 (en) * 2010-08-06 2014-07-09 ブラザー工業株式会社 Control device and computer program for printing
JP5062315B2 (en) 2010-09-09 2012-10-31 ブラザー工業株式会社 Image processing program
JP5792942B2 (en) * 2010-10-15 2015-10-14 キヤノン株式会社 Information processing apparatus, information processing method, and program
JP2012128625A (en) 2010-12-15 2012-07-05 Brother Ind Ltd Information processor and program
JP2012137838A (en) * 2010-12-24 2012-07-19 Ricoh Co Ltd Information processor, layout generation method and program
JP5445483B2 (en) * 2011-02-07 2014-03-19 ブラザー工業株式会社 Image processing program
JP6179137B2 (en) * 2013-03-12 2017-08-16 セイコーエプソン株式会社 Liquid ejection device, liquid ejection method and control unit
JP6467821B2 (en) * 2014-08-28 2019-02-13 コニカミノルタ株式会社 Portable terminal device, image processing method and image processing program in the same

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3199005B2 (en) * 1997-11-12 2001-08-13 日本電気株式会社 Internet information printing system
JP3444269B2 (en) * 2000-05-19 2003-09-08 セイコーエプソン株式会社 Network printer for editing and printing content on network and method for printing content on network
JP2002200827A (en) * 2000-11-06 2002-07-16 Ricoh Co Ltd Imaging apparatus, imaging method and program for executing that method by computer
JP2002351636A (en) * 2001-03-23 2002-12-06 Seiko Epson Corp Program for printing web page, computer readable medium, web page display device and web page printing method
JP4284907B2 (en) * 2001-07-25 2009-06-24 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus, image processing method, image processing program, and computer-readable recording medium recording the same
JP2005070862A (en) * 2003-08-27 2005-03-17 Canon Inc Print control device, data processor, print system, print control method, storage medium storing computer-readable program, and program
JP2005111843A (en) * 2003-10-08 2005-04-28 Seiko Epson Corp Printer, printing method, and program

Also Published As

Publication number Publication date
JP2007094950A (en) 2007-04-12

Similar Documents

Publication Publication Date Title
JP4966533B2 (en) Printing system, printing method, printing program, and recording medium
US7821690B2 (en) Information processing apparatus, image forming apparatus and method, and storage medium readable by computer therefor
EP2441017B1 (en) Image processing apparatus, image processing method, and storage medium
JP5801545B2 (en) Information processing apparatus, information processing method and program
US9659107B2 (en) Image processing apparatus, image processing method, and storage medium
JP5539280B2 (en) Data processing apparatus, data processing method and program
JP2010091724A (en) Image processing system
JP5483934B2 (en) Information processing apparatus, information processing method, and program
US8751923B2 (en) Image processing apparatus, image processing method, and storage medium
US20130176597A1 (en) Information processing apparatus, information processing method, and storage medium storing a program thereof
JP3634680B2 (en) Information processing apparatus, control method therefor, and storage medium
US9253343B2 (en) Information processing apparatus, control method, and storage medium for providing a preview and/or display of a main display document generated from all parts of a print document
JP2012088788A (en) Information processor, information processing method, and program
JP4978202B2 (en) Printing program and image forming system
JP5947508B2 (en) Information processing apparatus, information processing method, and program
RU2573271C2 (en) Information processing device, web browser control method and storage medium storing programme therefor
JP2011096267A (en) Printer, printing method, printing program, and recording medium
JP2004213305A (en) Printing control system, information processor, printing control method, and program
JP4545903B2 (en) Information processing apparatus, information processing method, and storage medium
JP2012027632A (en) Print control program, program, information processing device, computer-readable recording medium, printing system, and printing device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070405

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080708

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100622

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100806

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100928

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: 20120402

R150 Certificate of patent or registration of utility model

Ref document number: 4966533

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150406

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350