JP2006244037A - Printer - Google Patents
Printer Download PDFInfo
- Publication number
- JP2006244037A JP2006244037A JP2005057514A JP2005057514A JP2006244037A JP 2006244037 A JP2006244037 A JP 2006244037A JP 2005057514 A JP2005057514 A JP 2005057514A JP 2005057514 A JP2005057514 A JP 2005057514A JP 2006244037 A JP2006244037 A JP 2006244037A
- Authority
- JP
- Japan
- Prior art keywords
- font size
- document
- printed
- 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.)
- Withdrawn
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
Description
本発明は、フォームが存在するWEBサイトをフォーム内の文書の全部を含めて誰でも簡単に印刷できる印刷装置、印刷システムおよびプログラムに関する。 The present invention relates to a printing apparatus, a printing system, and a program that enable anyone to easily print a WEB site where a form exists, including all documents in the form.
近年、インターネットのWEBサイトでは、さまざまな表示方法が利用されている。WEBサイトの表示画面をいくつかのブロックに分割して表示させるフレームや、長い文書の一部分のみを表示させ、その他はスクロールバーの移動により必要な部分を表示させるフォームは、WEBサイトの効率的なレイアウト手段として多用されている。 In recent years, various display methods have been used on WEB sites on the Internet. A website that divides the display screen of the WEB site into several blocks and a form that displays only a part of a long document and displays the other necessary parts by moving the scroll bar. Often used as a layout means.
特に、後者のフォームは、WEBサイトの更新情報の表示方法として、図2(a)に示すような利用方法がある。図2(a)は、WEBサイトの表示画面、201はフォームをあらわしている。スクロールバー203の移動により、文書202の必要な情報を表示させることができる。直近の更新情報をデフォルト表示しているのでWEBサイト閲覧者は表示されている情報が最新のものなのか否かなどを確認しやすく、また、スクロールバーを移動させることにより過去の更新履歴も簡単に確認することが可能となっている。
In particular, the latter form has a utilization method as shown in FIG. 2A as a method of displaying update information on the WEB site. FIG. 2A shows a display screen of a WEB site, and 201 shows a form. By moving the
一方、図2(a)に示すようなフォームが存在するWEBサイトを印刷する場合、従来では、図2(b)に示すようにフォームにデフォルト表示されている情報のみが印刷され、スクロールバーの移動により表示する情報までは印刷することができなかった。 On the other hand, when printing a WEB site having a form as shown in FIG. 2A, conventionally, only the information displayed on the form as default is printed as shown in FIG. The information displayed by movement could not be printed.
又、従来例としては、例えば特許文献1をあげることが出来る。
しかしながら、上記従来技術においては次のような問題があった。 However, the above prior art has the following problems.
すなわち、従来方法では、フォーム内の情報も印刷したい場合、WEBサイト閲覧者はフォームを選択、またはフォームの情報をコピーして、ワープロ等の他のソフトウェアにペーストしてから印刷する等、別の手順によって印刷する必要があり、時間と非常に煩わしい作業が必要であった。 In other words, in the conventional method, when it is desired to print the information in the form, the WEB site viewer selects the form, or copies the form information, pastes it in other software such as a word processor, and then prints it. It was necessary to print according to the procedure, which required time and very troublesome work.
また、従来方法では、WEBサイト閲覧者がインターネット、PCに関して初心者である場合は、フォーム内の情報も印刷したい場合でも、フォームを選択、またはフォームの情報をコピー&ペーストする等の手順を知らない場合には、結果的にフォーム内の情報を印刷することを断念せざるを得なかった。 Further, in the conventional method, if the WEB site viewer is a beginner on the Internet or a PC, even if he / she wants to print information in the form, he / she does not know the procedure for selecting the form or copying and pasting the form information. In some cases, the result was to give up printing the information in the form.
本発明は、上述した点に鑑みなされたものであり、特にフォームが存在するWEBサイトをフォーム内の情報の全部を含めて誰でも簡単に印刷できる印刷装置、印刷システムおよびプログラムを提供することを目的としている。 The present invention has been made in view of the above points, and in particular, provides a printing apparatus, a printing system, and a program capable of easily printing a WEB site where a form exists, including all of the information in the form. It is aimed.
上記目的を達成するため、本発明は、ネットワークに接続しHTMLデータの格納先からHTMLデータを読み込むためのHTMLデータ読み込み手段と、前記HTMLデータ読み込み手段で読み込まれたHTMLデータから表示すべき文字列、画像等を抽出して各々描画要素に分割するHTMLデータ解析手段と、前記HTMLデータ解析手段で抽出された描画要素を表示領域の大きさに応じて各要素を配置し、表示レイアウトを構築するためのレイアウト解析手段と、前記HTMLデータの中から、フォームを構成する描画要素を検出するフォーム検出手段と、印刷対象のHTMLデータにおいて、フォームを構成する描画要素はフォームに表示されている部分の文書のみを印刷する通常印刷モードと、印刷対象のHTMLデータにおいて、フォームを構成する描画要素はフォーム内の文書のフォントサイズを小さくして印刷する縮小印刷モードと、印刷対象のHTMLデータにおいて、フォームを構成する描画要素のうち、文書は別のページに印刷する別ページ印刷モードを設定するフォーム印刷モード設定部とを備え、前記フォーム検出手段で、フォームが検出されると、前記フォーム印刷モード設定部のモード設定状態に応じて、前記印刷対象のHTMLデータを印刷することを特徴とする。 In order to achieve the above object, the present invention provides an HTML data reading means for reading HTML data from a HTML data storage destination connected to a network, and a character string to be displayed from the HTML data read by the HTML data reading means. An HTML data analyzing unit that extracts an image or the like and divides the drawing element into drawing elements, and the drawing elements extracted by the HTML data analyzing unit are arranged according to the size of the display area to construct a display layout. Layout analyzing means, form detecting means for detecting drawing elements constituting the form from the HTML data, and drawing elements constituting the form in the HTML data to be printed Normal print mode for printing only documents and HTML data to be printed The drawing elements composing the form print in a reduced print mode in which the font size of the document in the form is reduced, and the HTML data to be printed, among the drawing elements composing the form, the document is printed on another page. A form print mode setting unit for setting another page print mode, and when the form is detected by the form detection unit, the HTML data to be printed is changed according to the mode setting state of the form print mode setting unit. It is characterized by printing.
また、前記印刷対象のHTMLデータにおいて、フォームを構成する描画要素はフォーム内の文書のフォントサイズを小さくして印刷する縮小印刷モードの時、フォーム内に文書の全部が印刷されるか否かを判定するフォーム表示判定手段と、前記フォームを構成する描画要素の文書のフォントサイズを検出するフォントサイズ検出手段と、前記フォーム表示判定手段でフォーム内に文書の全部が印刷されないと判定された場合、前記文書のフォントサイズを1サイズ小さくするフォントサイズ変更手段と、前記フォントサイズに対して最小フォントサイズを規定し、前記フォントサイズ検出手段で検出されたフォントサイズと、前記最小フォントサイズを比較するフォントサイズ比較手段とを備え、前記フォーム表示判定手段で、フォーム内に文書の全部が印刷されると判定されると、前記フォントサイズで前記フォーム内に文書の全部を印刷することが望ましい。 Further, in the HTML data to be printed, whether or not the entire document is printed in the form when the drawing element constituting the form is in the reduced print mode in which the font size of the document in the form is reduced is printed. When the form display determination means for determining, the font size detection means for detecting the font size of the document of the drawing element constituting the form, and the form display determination means determine that the entire document is not printed in the form, A font size changing means for reducing the font size of the document by one; a font that defines a minimum font size with respect to the font size, and compares the font size detected by the font size detecting means with the minimum font size; Size comparison means, and the form display determination means When all the documents is determined to be printed on, it is desirable to print the entire document in said form with the font size.
また、前記印刷対象のHTMLデータにおいて、フォームを構成する描画要素はフォーム内の文書のフォントサイズを小さくして印刷する縮小印刷モードの時、フォーム内に文書の全部が印刷されるか否かを判定するフォーム表示判定手段と、前記フォームを構成する描画要素の文書のフォントサイズを検出するフォントサイズ検出手段と、前記フォーム表示判定手段でフォーム内に文書の全部が印刷されないと判定された場合、前記文書のフォントサイズを1サイズ小さくするフォントサイズ変更手段と、前記フォントサイズに対して最小フォントサイズを規定し、前記フォントサイズ検出手段で検出されたフォントサイズと、前記最小フォントサイズを比較するフォントサイズ比較手段とを備え、前記フォントサイズ比較手段で、前記フォントサイズ検出手段で検出されたフォントサイズが、前記最小フォントサイズ以下と判定されると、前記フォーム印刷モード設定部のモードを前記別ページ印刷モードに切り替えることが望ましい。 Further, in the HTML data to be printed, whether or not the entire document is printed in the form when the drawing element constituting the form is in the reduced print mode in which the font size of the document in the form is reduced is printed. When the form display determination means for determining, the font size detection means for detecting the font size of the document of the drawing element constituting the form, and the form display determination means determine that the entire document is not printed in the form, A font size changing means for reducing the font size of the document by one; a font that defines a minimum font size with respect to the font size, and compares the font size detected by the font size detecting means with the minimum font size; Size comparison means, and the font size comparison means includes the font size comparison means. Detection font size cement size detecting means, when it is determined that less than the minimum font size, it is desirable to switch the mode of the form printing mode setting unit to the another page printing mode.
また、前記印刷対象のHTMLデータにおいて、フォームを構成する描画要素のうち、文書は別のページに印刷する別ページ印刷モードのとき、前記印刷対象のHTMLデータの印刷ページを検出する印刷ページ検出手段と、前記印刷ページ検出手段で検出された印刷ページに応じて、前記フォームを構成する描画要素のうち、文書を印刷するページを決定し、フォーム内にフォーム内の文書を印刷したページを印刷し、フォーム内の文書は前記文書を印刷するページに印刷することが望ましい。 Further, in the HTML data to be printed, a print page detecting means for detecting a print page of the HTML data to be printed in a different page print mode in which a document is printed on another page among drawing elements constituting a form. And determining the page on which the document is printed out of the drawing elements constituting the form according to the print page detected by the print page detecting means, and printing the page in which the document in the form is printed. The document in the form is preferably printed on a page on which the document is printed.
以上説明したように、本発明によれば、印刷対象のWEBサイトにフォームが存在し、フォーム内の情報も全部印刷したい場合、WEBサイト閲覧者はフォームを選択、またはフォームの情報をコピーして、ワープロ等の他のソフトウェアにペーストしてから印刷する等、別の手順によって印刷する必要がなくなり、簡単かつ短時間にフォーム内の情報の全部を含めてWEBサイトを印刷できる。 As described above, according to the present invention, when a form exists on the WEB site to be printed and all information in the form is to be printed, the WEB site viewer selects the form or copies the form information. There is no need to print by another procedure such as pasting to other software such as a word processor and printing, and the WEB site including all of the information in the form can be printed easily and in a short time.
また、WEBサイト閲覧者がインターネット、PCに関して初心者であり、フォームを選択、またはフォームの情報をコピー&ペーストする等の手順を知らなくても、誰でも簡単に、フォーム内の情報の全部を含めてWEBサイトを印刷できる。 Also, WEB site visitors are beginners on the Internet and PC, and anyone can easily include all of the information in the form without knowing the procedure such as selecting the form or copying and pasting the form information. You can print a WEB site.
また、フォーム内の文書を縮小して全部を印刷する場合、最小フォントサイズを規定することにより、印刷した結果、文字が小さくて読みにくくなるといった不具合をなくすことができる。 Further, when the entire document is reduced and the entire document is printed, by defining the minimum font size, it is possible to eliminate the problem that, as a result of printing, characters are small and difficult to read.
また、フォーム内の文書を印刷したページ番号をフォーム内に印刷することで、ユーザは簡単に印刷されたフォーム内の文書を確認することができる。 Further, by printing the page number on which the document in the form is printed in the form, the user can easily check the document in the printed form.
以下、本発明をパソコン(以後PCと呼ぶ)を介さずにインターネットに接続してWEBサイトを表示、印刷できるWEBプリント機能付き印刷装置に適用した場合の実施形態を図面に基づいて詳細に説明する。 Hereinafter, an embodiment in which the present invention is applied to a printing apparatus with a WEB print function capable of displaying and printing a WEB site by connecting to the Internet without using a personal computer (hereinafter referred to as a PC) will be described in detail with reference to the drawings. .
図1は本発明におけるWEBプリント機能付き印刷装置の概観図である。
図1に示すように本実施例におけるWEBプリント機能付き印刷装置100は、インターネットに接続するためのインターネット接続口106、WEBサイトや印刷ステータス等を表示する表示部101、マウスの代替としての機能をもちクリックやスクロール等の操作を行うためのタッチパッド102、文字や数字を入力できる入力手段103、印刷実行や停止を行うための印刷実行ボタン104、インクカートリッジを装着、交換するためのインクカートリッジ装着部105、印刷済み用紙を排出するための排紙口107および排紙トレイ108等を備えている。
FIG. 1 is an overview of a printing apparatus with a WEB print function according to the present invention.
As shown in FIG. 1, a
図4に本発明におけるWEBプリント機能付き印刷装置100の内部構成を示す。本WEBプリント機能付き印刷装置100は、入力手段401、作業用メモリ402、プログラム格納メモリ403、HTML処理部404、ネットワークI/F部405、表示部407、画像処理部408、コントローラ409、プリンタユニット410、電源415、および各ブロックを制御するためのCPU406で構成されている。また、プリンタユニット410は、各種モータ413と各種モータ駆動部411、印字ヘッド414と印字ヘッド駆動部412で構成されている。
FIG. 4 shows an internal configuration of the
入力手段401は、図2に示す従来例で説明したように印刷対象のWEBサイト200にフォーム201が存在する場合、フォーム201に表示されている部分の文書202のみを印刷する通常印刷モード、フォーム201に表示されている文書を別ページに独立して印刷する別ページ印刷モード、フォーム201に表示されている文書をフォーム201内に収まるように縮小して印刷する縮小印刷モード、を切り替えるためのモード設定ボタンの他、印刷実行ボタン、印刷中止ボタン、プラスボタンやマイナスボタン及び十字キー等と、マウスの代替としての機能をもちクリックやスクロール等の操作を行うためのタッチパッド102が配置され、ユーザからの指示を入力しデジタル信号に変換してCPU406に伝える。
As described in the conventional example shown in FIG. 2, when the
表示部407は、液晶表示素子等の画面を有する表示装置として構成されており、本実施例において、HTML処理部404で処理されたHTMLデータの表示、各種設定状態、印刷ステータス、エラー/警告メッセージ等を表示する。また、画像データ再生時には、フレームメモリ900に記憶されているY、U、Vデータを、R、G、B(赤、緑、青の三原色成分)データに変換して再生し表示する。
The
画像処理部408は、入力されたデータを読み込み画像の回転およびバンドバッファメモリへの格納、印刷用紙の大きさに適した画像サイズに変更、RGBデータを印刷用YMCデータに変換、印刷データに変換するための2値化処理等を行う。
The
プログラム格納メモリ403は、図8に示すように、制御プログラム800、各種アプリケーションプログラム801、印刷用画像データ作成手段803、ユーティリティプログラム804の他に、フォーム処理部602のソフトウェア処理を行うフォーム処理用プログラム802を格納している。なお、印刷用画像データ作成手段803は、画像処理部408のソフトウェア処理としてパーソナルコンピュータ等での印刷画像データ作成処理用のプログラムと同じ構成の、ラスタライザ、色補正モジュール及びハーフトーンモジュールからなる3つを、描画に必要な2値データを得るための基本的手段として備えており、YUVデータをK(ブラック)、C(シアン)、M(マゼンタ)、及びY(イエロー)の印刷用のCMYK階調ビットイメージデータに変換する。
As shown in FIG. 8, the
作業用メモリ402は、図9に示すように、フレームメモリ900、印刷用データバッファ901、予備エリア902、プログラム用エリア903等が設定されている。図9においてフレームメモリ900は、表示部407の画像表示用メモリとして用いられ、画像データはビットマップイメージで展開される。また、フレームメモリ900は、表示部407のメニュー表示用メモリとして用いられる。印刷用データバッファ901は、印刷時に印刷用データを一時的に記憶するために用いられる。予備エリア902は、空き領域であり、実行されているプログラムのサイズにより領域の大きさが変動する。プログラム用エリア903は、プログラム格納メモリ403から読み出された制御プログラム800及びその時点で起動されているプログラムが記憶され、CPU406の制御により実行される。
As shown in FIG. 9, the
ネットワークI/F部405は、図1に示すようにLANケーブル109を接続し、HTMLデータ、コマンド信号等を通信するためのインターフェースである。
The network I /
HTML処理部404は、本発明において重要な機能を持ち詳細は後述するがネットワークI/F部405で受信したHTMLデータを処理する一般的なブラウザーとしての機能等を備えている。
The
コントローラ409は、プリンタユニット410全体の動作制御を行う。コントローラ409は、印刷用データ(及び制御データ)を受け取るとプリンタユニットに制御信号を送って印字ヘッド駆動部412及びモータ駆動部411を制御し、描画及び紙送りを行わせることで、印刷画像(カラー印刷画像)を得る。
A
CPU406は、上述の各回路等にバスラインを介して接続し、プログラム格納メモリ403に格納されている制御プログラム800により本WEBプリント機能付き印刷装置100全体の制御を行うと共に、本実施例において入力手段401からの指示信号に対応して本WEBプリント機能付き印刷装置100の各機能の実行制御を行う。
The
次に図5、図6、図7を用いて本発明において重要な機能をもつHTML処理部について詳細に説明する。 Next, an HTML processing unit having an important function in the present invention will be described in detail with reference to FIGS.
図5は本発明において重要な機能を持つHTML処理部の内部構成である。
図5に示すように、HTML処理部404は、HTMLデータ読み込み手段500、HTMLデータ解析部501、レイアウト解析手段で構成され各々CPU406にバスを介して接続されている。
FIG. 5 shows the internal configuration of an HTML processing unit having an important function in the present invention.
As shown in FIG. 5, the
HTMLデータ読み込み手段500は、HTMLデータが格納されている場所(本実施例においては、LANケーブル109を介してインターネットに接続した任意のWEBサイト)からHTMLデータを読み込み本印刷装置内に取り込む。 The HTML data reading means 500 reads the HTML data from the place where the HTML data is stored (in this embodiment, an arbitrary WEB site connected to the Internet via the LAN cable 109) and loads it into the printing apparatus.
HTMLデータ解析部501は、詳細は図6を用いて後述するが、HTMLデータ読み込み手段500で取り込まれたHTMLデータを解析するとともに、表示すべき文字列・画像等を抽出して各々描画要素に分割する。文字列はフォントサイズ、種類が変わるごとに分割して各々を一要素とする。また、HTMLデータ解析手段501は、HTMLの場合には画像はそのURL(Uniform Resource Locator)が示されているだけなので、そのURLに基づいてHTMLデータ読み込み手段500に画像データの読み込みを指示し、読み込んだ画像を一要素とする。各々の描画要素はその大きさと描画位置を保持する。
Although details will be described later with reference to FIG. 6, the HTML
レイアウト解析手段502は、HTMLデータ解析部501で得られた描画要素を表示領域の大きさと要素の大きさに応じて各要素を配置し、文字列等は行を分割しWEBサイトの表示レイアウトを構築する。
The
図6は図5に示すHTMLデータ解析部501の内部構成である。
FIG. 6 shows an internal configuration of the HTML
図6に示すように、HTMLデータ解析部501は、描画要素検出部600、フォーム検出部601、フォーム処理部602、フォーム印刷モード設定部603で構成され各々ローカルバスで接続されている。
As shown in FIG. 6, the HTML
描画要素検出部600は、HTMLデータ読み込み手段500で取り込まれたHTMLデータを解析し、文字列、画像等を各々描画要素として検出する。文字列は、フォントサイズ、種類が変わるごとに分割して各々を一要素とする。また、先述したようにHTMLの場合には画像はそのURLが示されているだけなので、そのURLに基づいてHTML読み込み手段500に画像データの読み込みを指示し、読み込んだ画像データを一要素とする。
The drawing
フォーム検出部601は、HTMLデータ読み込み手段500で取り込まれたHTMLデータを解析し、フォームの構成を描画要素として検出する。
The
フォーム処理部602は、詳細は図7を用いて後述するが、フォーム印刷モード設定部603の設定状態に応じてフォーム検出部601で検出されたフォームの構成要素を各々処理する。
Although the details will be described later with reference to FIG. 7, the
フォーム印刷モード設定部603は、図2に示す従来例で説明したように印刷対象のWEBサイト200にフォーム201が存在する場合、フォーム201に表示されている部分の文書202のみを印刷する通常印刷モード、フォーム201に表示されている文書を別ページに独立して印刷する別ページ印刷モード、フォーム201に表示されている文書をフォーム201内に収まるように縮小して印刷する縮小印刷モードを設定する。
As described in the conventional example shown in FIG. 2, the form print
図7は図6に示すフォーム処理部602の内部構成である。
FIG. 7 shows the internal configuration of the
図7に示すように、フォーム処理部602は、フォームサイズ検出部700、文書処理部701、最小フォントサイズ設定部702、フォーム表示判定部703、フォントサイズ変換テーブル704で構成され各々ローカルバスで接続されている。
As shown in FIG. 7, the
フォームサイズ検出部700は、フォーム検出部601で検出されたフォーム201の描画要素からフォーム201の枠となる描画要素を解析し、フォーム201の枠サイズを検出する。
The form
文書処理部701は、フォーム検出部601で検出されたフォーム201の描画要素からフォーム201に表示される文書データを解析し、フォーム印刷モード設定部603のモード設定状態と、フォーム201の枠サイズに応じて文字列の改行、文字列のフォントサイズの検出、変更等をおこなう。
The
最小フォントサイズ設定部702は、文書処理部701で変更される文字列の最小フォントサイズを設定する。
The minimum font
フォントサイズ変換テーブル704は、図15に示すように、フォントサイズから一文字あたりの大きさに変換するための変換テーブルであり、例えば、9ポイントのフォントサイズでは、一文字あたりの大きさ(図14参照)、すなわち高さYは18ドット、幅Xは16ドット分という具合に変換する。 As shown in FIG. 15, the font size conversion table 704 is a conversion table for converting the font size into a size per character. For example, in a 9-point font size, the size per character (see FIG. 14). ), That is, the height Y is converted to 18 dots and the width X is converted to 16 dots.
フォーム表示判定部703は、文書処理部701で処理された文書がフォームサイズ検出部700で検出されたフォーム201の枠内にすべての文書が表示されるか否かを判定する。
The form
次に、本実施例におけるフォーム表示判定部703の判定方法を、図13、図14、図15を用いて説明する。
Next, a determination method of the form
図13は、本実施例におけるフォーム201の部分を説明する図である。
まず、フォームサイズ検出部700でフォーム201の高さH1303および幅W1302を検出し記憶する。次に文書処理部701において検出された文書データのフォントサイズを検出し、図15に示すようなあらかじめ記憶されているフォントサイズ変換テーブル1505(ただし図は一部のフォントサイズのみ図示)の参照により一文字当たりの大きさ(図14参照)、すなわち高さY1402、幅X1403に変換する。次に、フォームの幅W1302を一文字あたりの幅X1403で除することによりフォーム201内の一行すなわち幅W1302に表示することが可能な文字数Cを算出し、文字数Cで改行(ただし図13は改行処理が無い例である)する。
FIG. 13 is a diagram for explaining a part of the
First, the form
次に文字列を描画する要素各々について、文字数C以上の場合は改行処理を行い、改行数Rをカウントし、文字列を描画する要素数と改行数Rの合計により文書全体の行数Lを算出する。 Next, for each element that draws a character string, if the number of characters is greater than or equal to C, line break processing is performed, the number of line breaks R is counted, and the total number of lines L of the entire document is calculated by summing the number of elements that draw the string and the number of line breaks R calculate.
以上、フォーム201の高さH1303と、行数Lに一文字あたりの高さY1402を乗じた値LYの比較によりフォーム201内に文書全体が表示されているか否かを判定する。
As described above, it is determined whether the entire document is displayed in the
すなわち、フォーム201の高さH1303よりLYが小さい場合、フォーム201内に文書全体が表示され、フォーム201の高さH1303よりLYのほうが大きい場合は、文書の一部(例えば文末)がフォーム201内に非表示であると判定する。
That is, if LY is smaller than the height H1303 of the
なお、本判定方法は、本実施例における一例でありさまざまな方法により実現可能であることはいうまでもない。 Needless to say, this determination method is an example in the present embodiment and can be realized by various methods.
次に、上記の如く構成された本WEBプリント機能付き印刷装置100の印刷時の動作について図10〜図12および図16を参照しながら詳細に説明する。
Next, the printing operation of the
図10は、本WEBプリント機能付き印刷装置のフォーム印刷モードが、図2に示す従来例で説明したように印刷対象のWEBサイト200にフォーム201が存在する場合、フォーム201に表示されている部分の文書202のみを印刷する通常印刷モード時の動作である。
FIG. 10 shows a part displayed on the
なお、本WEBプリント機能付き印刷装置100のフォーム印刷モードの設定方法は、印刷時にユーザが表示部101のメニュー一覧の選択により簡単に設定できるようになっており、図2に示す従来例で説明したように印刷対象のWEBサイト200にフォーム201が存在する場合、フォーム201に表示されている部分の文書202のみを印刷する通常印刷モード、フォーム201に表示されている文書を別ページに独立して印刷する別ページ印刷モード、フォーム201に表示されている文書をフォーム201内に収まるように縮小して印刷する縮小印刷モードの設定手順については省略する。
The form printing mode setting method of the
本WEBプリント機能付き印刷装置100は、図2に示す従来例で説明したように印刷対象のWEBサイト200にフォーム201が存在する場合、フォーム201に表示されている部分の文書202のみを印刷する通常印刷モードに設定し、印刷実行ボタンを押す(S1001)と、本印刷装置100は、表示されているWEBサイトのHTMLデータを解析し、印刷データを生成する(S1002)。生成された印刷データは、ただちにプリンタユニット410に送られ、プリンタユニット410は送られてきた印刷データに応じて各種モータ413および印字ヘッド414を駆動することで印字を行い(S1003)、終了する(S1004)。本印刷装置100は、フォーム201に表示されている文書のみを印刷する通常印刷モードに設定されていると、フォームの検出の有無によらず表示部101に表示されているHTMLデータに対応した印刷データを生成する。すなわち、図2(a)に示すように印刷対象にフォーム201が存在する場合の印刷結果は、図2(b)に示すようにフォーム201に表示されている文書206のみが印刷されることになる。
As described in the conventional example shown in FIG. 2, the
次に本WEBプリント機能付き印刷装置100のフォーム印刷モードが、フォーム201に表示されている文書を別ページに独立して印刷する別ページ印刷モードに設定されている場合の動作について図11および図16を用いて説明する。
Next, FIG. 11 and FIG. 11 illustrate operations when the form printing mode of the
図11は、本WEBプリント機能付き印刷装置100のフォーム印刷モードをユーザがフォーム201に表示されている文書202を別ページに独立して印刷する別ページ印刷モードに設定した場合の動作である。
FIG. 11 shows the operation when the user sets the form print mode of the
本WEBプリント機能付き印刷装置100は、印刷実行ボタンを押すと(S1101)、表示されているHTMLデータを解析し、フォーム検出部601において印刷対象のHTMLデータの中にフォーム201を構成する描画要素が存在するか否かを検出する(S1102)。
When the
ステップS1102で印刷対象のHTMLデータの中にフォーム201を構成する描画要素が検出されない場合、ただちに印刷データを生成し(S1103)、印刷データをプリンタユニット410に送る。プリンタユニット410は送られてきた印刷データに応じて各種モータ413および印字ヘッド414を駆動することで印字を行い(S1104)印刷動作を終了する(S1105)。
If the drawing element constituting the
ステップS1102で、印刷対象のHTMLデータの中にフォーム201を構成する描画要素が検出された場合、印刷最終ページP(S1106)を検出する。(ただし、印刷最終ページPとは、図16に示すようにWEBサイトの印刷プレビュー全3ページ中2ページ目1602にフォーム201が存在する場合、印刷プレビュー上の最終ページ1603を指す。)
次に、印刷プレビュー表示のフォームの枠内に「P+1枚目に印刷」等のフォーム201の文書202を印刷するページ(図16の印刷例では4ページ目)を表示および印刷設定する(S1107)。次に表示されている印刷対象のHTMLデータ(フォーム201には「P+1枚目に印刷」等のメッセージを印刷設定)の印刷データと、フォーム201の文書202の印刷データを各々生成し(S1108)、1ページからP+1ページ分の印刷データをプリンタユニット410に送る。プリンタユニット410は送られてきた印刷データに応じて各種モータ413および印字ヘッド414を駆動することで印字を行い(S1109およびS1110)、終了する(S1105)。以上ステップS1106〜S1110までのフローを別ページ印刷処理フローとする。
In step S1102, if a drawing element constituting the
Next, a page for printing the document 202 of the
なお、図16の印刷例は、WEBサイトの印刷プレビュー全3ページ中2ページ目1602にフォーム201が存在する場合であり、2ページ目1602のフォーム201には「4ページ目に印刷」と印刷し、4ページ目1604にフォーム201の文書202を印刷する例である。
Note that the print example in FIG. 16 is a case where the
次に本WEBプリント機能付き印刷装置100のフォーム印刷モードが、フォーム201に表示されている文書をフォーム201内に収まるように縮小して印刷する縮小印刷モードに設定されている場合の動作について図12を用いて説明する。
Next, the operation when the form print mode of the
図12は、本WEBプリント機能付き印刷装置100のフォーム印刷モードをユーザが、フォーム201に表示されている文書をフォーム201内に収まるように縮小して印刷する縮小印刷モードに設定されている場合の動作である。
FIG. 12 shows a case where the form print mode of the
本WEBプリント機能付き印刷装置100は、フォーム201に表示されている文書をフォーム201内に収まるように縮小して印刷する縮小印刷モードに設定した場合、印刷実行ボタンを押すと(S1201)、表示されているHTMLデータを解析し、フォーム検出部601において印刷対象のHTMLデータの中にフォーム201を構成する描画要素が存在するか否かを検出する(S1202)。
When the
ステップS1202で印刷対象のHTMLデータの中にフォーム201が検出されない場合、ただちに印刷データを生成し(S1203)、印刷データをプリンタユニット410に送る。プリンタユニット410は送られてきた印刷データに応じて各種モータ413および印字ヘッド414を駆動することで印字を行い(S1204)、印刷動作を終了する(S1205)。
If the
一方、ステップS1202で、印刷対象のHTMLデータの中にフォームが検出された場合、フォームサイズ検出部700において、フォーム検出部601で検出されたフォーム201の描画要素からフォーム201の枠となる描画要素を解析し、フォーム201の枠サイズを検出する(S1206)。
On the other hand, when a form is detected in the HTML data to be printed in step S1202, the form
次に、文書処理部701で、フォーム検出部601で検出されたフォーム201の描画要素からフォーム201に表示する文書データを解析する(S1207)。なお、先述したように本実施例では文書データの文字列のフォントサイズを検出し、フォーム201の枠サイズに応じて文字列の改行を行う。
Next, the
次に、フォームサイズ検出部700で検出されたフォーム201の枠サイズと、文書処理部701において処理された文書の行数との比較により、フォーム201にすべての文書が表示されるか否かを判定する(S1208)。
Next, whether or not all documents are displayed on the
ステップS1208で、フォーム201内にすべての文書が表示されると判定されると、ただちに印刷データを生成し(S1203)、印刷データをプリンタユニット410に送る。プリンタユニット410は送られてきた印刷データに応じて各種モータ413および印字ヘッド414を駆動することで印字を行い(S1204)印刷動作を終了する(S1205)。
If it is determined in step S1208 that all documents are displayed in the
一方、ステップS1208でフォーム201内にすべての文書が表示されないと判定されると、フォーム処理部602は、ステップS1206で検出したフォントサイズを1サイズ小さくし(S1209)、1サイズ小さくしたフォントサイズがあらかじめ設定されている最小フォントサイズ以下であるか判定する(S1210)。
On the other hand, if it is determined in step S1208 that all documents are not displayed in the
ステップS1210で最小フォントサイズ以上であれば、再度フォーム201内に文書が表示されるか否かを判定する(S1211)。 If it is at least the minimum font size in step S1210, it is determined again whether the document is displayed in the form 201 (S1211).
ステップS1211でフォーム201に文書全体が表示できないと判定されると、ステップS1209に進む。
If it is determined in step S1211 that the entire document cannot be displayed on the
ステップS1211でフォーム201に文書全体を表示できると判定されると、変更後のフォントサイズで、ただちに印刷データを生成し(S1203)、印刷データをプリンタユニット410に送る。プリンタユニット410は送られてきた印刷データに応じて各種モータ413および印字ヘッド414を駆動することで印字を行い(S1204)印刷動作を終了する(S1205)。
If it is determined in step S1211 that the entire document can be displayed on the
すなわち、フォーム201内の文書202のフォントサイズを文書がすべて表示されるまで1サイズづつ小さくし、文書全体が表示できるフォントサイズまで小さく変更してフォーム201部分の印刷を実行する。なお、あらかじめ変更するフォントサイズの最小値を設定しておくことで、印刷結果の文字が小さすぎて読みにくくなるといった不具合をなくすことができる。
That is, the font size of the document 202 in the
一方、ステップS1210でフォントサイズ変更後のフォントサイズがあらかじめ設定してある最小値以下であると判定されると、本印刷装置100は、フォーム印刷モードをフォーム201内の文書を別ページに印刷する別ページ印刷モードに切り替えて印刷するか否かをユーザに選択を促す(S1212)。
On the other hand, if it is determined in step S1210 that the font size after the font size change is equal to or smaller than the preset minimum value, the
ステップS1212でユーザがフォーム印刷モードをフォーム201内の文書を別ページに印刷する別ページ印刷モードに切り替えると、本印刷装置100は図11の別ページ印刷処理(S1111)を行い(S1213)、印刷動作を終了する(S1205)。
When the user switches the form print mode to another page print mode in which the document in the
ステップS1212でユーザがフォーム印刷モードをフォーム内の文書を別ページに印刷する別ページ印刷モードの切り替えを行わない場合は、本印刷装置100は、現状の設定において、ただちに印刷データを生成し(S1203)、印刷データをプリンタユニット410に送る。プリンタユニット410は送られてきた印刷データに応じて各種モータ413および印字ヘッド414を駆動することで印字を行い(S1204)印刷動作を終了する(S1205)。
If the user does not switch the form print mode to another page print mode in which the document in the form is printed on another page in step S1212, the
(他の実施の形態)
上記実施形態では、本発明の一実施形態について説明したが、本発明は上記実施形態に限定されるものではなく、種々の変形実施形態が可能であることは言うまでもない。
(Other embodiments)
In the above embodiment, one embodiment of the present invention has been described. However, the present invention is not limited to the above embodiment, and it goes without saying that various modified embodiments are possible.
尚、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。上述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体等の媒体をシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体等の媒体に格納されたプログラムコードを読み出し実行することによっても、本発明が達成されることは言うまでもない。 The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. A medium such as a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus is stored in a medium such as a storage medium. It goes without saying that the present invention can also be achieved by reading and executing the program code.
この場合、記憶媒体等の媒体から読み出されたプログラムコード自体が上述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体等の媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体等の媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM、或いはネットワークを介したダウンロードなどを用いることができる。 In this case, the program code itself read from the medium such as a storage medium realizes the functions of the above-described embodiments, and the medium such as the storage medium storing the program code constitutes the present invention. . As a medium such as a storage medium for supplying the program code, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or network is used. Downloads can be used.
また、コンピュータが読み出したプログラムコードを実行することにより、上述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施形態の機能が実現される場合も、本発明に含まれることは言うまでもない。 Further, by executing the program code read out by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. Needless to say, the present invention includes a case where the function of the above-described embodiment is realized by performing part or all of the processing.
更に、記憶媒体等の媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施形態の機能が実現される場合も、本発明に含まれることは言うまでもない。 Furthermore, after the program code read from a medium such as a storage medium is written in a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer, based on the instruction of the program code, Needless to say, the present invention includes a case where the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
なお、図3に本発明の実施の形態に係るWEBプリント機能付き印刷装置のフォーム別ページ印刷方法の説明図を示す。 FIG. 3 is an explanatory diagram of the form-specific page printing method of the printing apparatus with a WEB print function according to the embodiment of the present invention.
100 WEBプリント機能付き印刷装置
101 表示部
102 タッチパッド
103 入力ボタン
104 印刷実行、停止ボタン
105 インクカートリッジ装着部
106 LANケーブル接続口
107 排紙口
108 排紙トレイ
109 LANケーブル
201 フォーム
202 フォーム内の文書
203 スクロールバー
204 従来の印刷結果
208,303 ページ番号
209 WEBサイト(表示)
DESCRIPTION OF
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005057514A JP2006244037A (en) | 2005-03-02 | 2005-03-02 | Printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005057514A JP2006244037A (en) | 2005-03-02 | 2005-03-02 | Printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006244037A true JP2006244037A (en) | 2006-09-14 |
Family
ID=37050406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005057514A Withdrawn JP2006244037A (en) | 2005-03-02 | 2005-03-02 | Printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006244037A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006260077A (en) * | 2005-03-16 | 2006-09-28 | Fuji Xerox Co Ltd | Electronic form printer |
JP2011013771A (en) * | 2009-06-30 | 2011-01-20 | Canon Inc | Device, method, and program for controlling print |
-
2005
- 2005-03-02 JP JP2005057514A patent/JP2006244037A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006260077A (en) * | 2005-03-16 | 2006-09-28 | Fuji Xerox Co Ltd | Electronic form printer |
JP4539386B2 (en) * | 2005-03-16 | 2010-09-08 | 富士ゼロックス株式会社 | Electronic form printing device |
JP2011013771A (en) * | 2009-06-30 | 2011-01-20 | Canon Inc | Device, method, and program for controlling print |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3711435B2 (en) | Print data preview method and apparatus, and recording medium | |
JP2005227865A (en) | Print control device, method, and program | |
JP4109920B2 (en) | Image processing apparatus, image processing method, program, and storage medium | |
JP2007331390A (en) | Image forming device and its control method | |
JP4396632B2 (en) | Print control apparatus, image forming apparatus, print control method, and control program | |
JP2006244037A (en) | Printer | |
KR20090126836A (en) | Image forming apparatus, image forming system and enlargement print processing method of printing data | |
KR20070043263A (en) | Printing control method and apparatus for preventing data's loss | |
US8705077B2 (en) | Printing system and printing method | |
JP2007144712A (en) | Imaging device and document distribution method | |
JP4334399B2 (en) | Printing control apparatus and printing control method | |
JP4144574B2 (en) | Print data preview method and apparatus, and recording medium | |
JP2006254199A (en) | Image processing apparatus | |
JP2020009292A (en) | Display device and program | |
JP2008080592A (en) | Image data generating apparatus, image forming apparatus, image forming system, and image data generating program | |
KR100530227B1 (en) | Printing Method for saving paper | |
JP4405453B2 (en) | Image forming apparatus and control program | |
JP2006109177A (en) | Image encoder and image encoding method | |
JP2008134817A (en) | Printing system, printing control device and program | |
JP2006192712A (en) | Recorder, method of recording, program, and memory medium | |
JP2005275671A (en) | Printing controller, printing control method and printing control program-recorded medium | |
JP2007081886A (en) | Drawing processing apparatus | |
JP4402681B2 (en) | Image processing apparatus, image processing method, program, and storage medium | |
JP2006146836A (en) | Image processor, and image forming system | |
JP4298579B2 (en) | Image processing method and print control apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20080513 |