JP2011210191A - Method for printing html file - Google Patents

Method for printing html file Download PDF

Info

Publication number
JP2011210191A
JP2011210191A JP2010079743A JP2010079743A JP2011210191A JP 2011210191 A JP2011210191 A JP 2011210191A JP 2010079743 A JP2010079743 A JP 2010079743A JP 2010079743 A JP2010079743 A JP 2010079743A JP 2011210191 A JP2011210191 A JP 2011210191A
Authority
JP
Japan
Prior art keywords
image
file
html file
memory
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010079743A
Other languages
Japanese (ja)
Other versions
JP5212412B2 (en
Inventor
Hanayo Imagawa
華代 今川
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2010079743A priority Critical patent/JP5212412B2/en
Publication of JP2011210191A publication Critical patent/JP2011210191A/en
Application granted granted Critical
Publication of JP5212412B2 publication Critical patent/JP5212412B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a method for printing an HTML file which can print an HTML file and an image file even if an insufficient memory is caused by the image file attached to the HTML file.SOLUTION: When a read HTML file and an image file attached to the HTML file cannot be entirely developed at once on an analysis memory (S12: NO), syntax analysis, image processing and printing are performed separately for the HTML file (character string file) and the image file (2 in S17-S24). Therefore, even if the insufficient memory is caused by the image file attached to the HTML file (S12: NO), and even if a medium for printing the HTML file is small, the HTML file and the image file can be printed, and the detailed printing of the image file can be also performed.

Description

本発明は、HTMLファイルを印刷するHTMLファイルの印刷方法に関するものである。   The present invention relates to an HTML file printing method for printing an HTML file.

従来より、メモリ不足の対処方法として、例えば、以下(1)〜(4)の方法があった。
(1)取得したメモリ領域の情報に基づいて印刷データを分割する方法。
(2)全データをメモリに蓄積できない場合、ジョブを複数のジョブに分割する方法。
(3)メモリが足りないときに消去優先テーブルを参照して、優先順に消去する方法。
(4)予めファイルを分割しておいて、メモリサイズに合わせて分割されたファイルを結合または連結する方法(下記特許文献1参照)。
Conventionally, there have been the following methods (1) to (4) as a method for dealing with a memory shortage, for example.
(1) A method of dividing print data based on the acquired memory area information.
(2) A method of dividing a job into a plurality of jobs when all data cannot be stored in the memory.
(3) A method of erasing in order of priority by referring to the erasure priority table when memory is insufficient.
(4) A method in which files are divided in advance and the divided files are combined or linked according to the memory size (see Patent Document 1 below).

特開2008−71125号公報JP 2008-71125 A

しかしながら、HTMLファイルには様々なタイプのファイル(例えば、画像ファイル)を付随させることができるため、一つのタイプのファイルを対象とする上記(1)〜(4)の方法では、HTMLファイルを読み込んだときのメモリ不足に対処することができなかった。   However, since various types of files (for example, image files) can be attached to the HTML file, the above methods (1) to (4) for one type of file read the HTML file. I couldn't deal with the lack of memory.

そこで、本発明は、上述した点を鑑みてなされたものであり、HTMLファイルに付随した画像ファイルによりメモリ不足が生じても、HTMLファイルと画像ファイルの印刷を可能とするHTMLファイルの印刷方法を提供することを課題とする。   Accordingly, the present invention has been made in view of the above-described points, and an HTML file printing method that enables printing of an HTML file and an image file even when a memory shortage occurs due to an image file attached to the HTML file. The issue is to provide.

この課題を解決するためになされた請求項1に係る発明は、読み込まれたHTMLファイルと前記HTMLファイルに付随した画像ファイルの全てを解析用メモリに一度に展開させることができないときに、以下(1)〜(11)の各処理が実行されるHTMLファイルの印刷方法であって、(1)前記HTMLファイルのみが前記解析用メモリに展開され、(2)前記解析用メモリ内の前記HTMLファイルが構文解析され、(3)前記(2)の構文解析に基づいて前記HTMLファイルの印刷コマンドが生成され、(4)前記HTMLファイルの印刷コマンドが印刷用メモリに展開され、(5)前記印刷用メモリ内の前記HTMLファイルの印刷コマンドが印刷手段に送信され、(6)前記HTMLファイルに付随した画像ファイルの一つが前記解析用メモリに展開され、(7)前記解析用メモリ内の当該画像ファイルが画像処理され、(8)前記(7)の画像処理に基づいて当該画像ファイルの印刷コマンドが生成され、(9)当該画像ファイルの印刷コマンドが前記印刷用メモリに展開され、(10)前記印刷用メモリ内の当該画像ファイルの印刷コマンドが前記印刷手段に送信され、(11)前記HTMLファイルに付随した画像ファイルの全てについて前記(6)乃至前記(10)の各処理が繰り返される、ことを特徴とする。   The invention according to claim 1 made to solve this problem is as follows when all of the read HTML file and the image file attached to the HTML file cannot be expanded in the analysis memory at the same time ( 1. An HTML file printing method in which the processes 1) to 11) are executed, wherein (1) only the HTML file is expanded in the analysis memory, and (2) the HTML file in the analysis memory. Is parsed, (3) the HTML file print command is generated based on the syntax analysis of (2), (4) the HTML file print command is expanded in a print memory, and (5) the print A print command of the HTML file in the memory for memory is transmitted to the printing means, and (6) one of the image files attached to the HTML file Are expanded in the analysis memory, (7) the image file in the analysis memory is subjected to image processing, (8) a print command for the image file is generated based on the image processing in (7), ( 9) The print command for the image file is expanded in the print memory, (10) the print command for the image file in the print memory is transmitted to the printing unit, and (11) an image associated with the HTML file. The processes (6) to (10) are repeated for all the files.

また、請求項2に係る発明は、請求項1に記載するHTMLファイルの印刷方法であって、前記HTMLファイルに付随した画像ファイルの一つが前記解析用メモリに展開させることができないときは、以下(S−1)〜(S−6)の各処理が実行され、(S−1)当該画像ファイルのサムネイルが前記解析用メモリに展開され、(S−2)前記解析用メモリ内の当該サムネイルが画像処理され、(S−3)前記(S−2)の画像処理に基づいて当該サムネイルの印刷コマンドが生成され、(S−4)当該サムネイルの印刷コマンドが前記印刷用メモリに展開され、(S−5)前記印刷用メモリ内の当該サムネイルの印刷コマンドが前記印刷手段に送信され、(S−6)前記HTMLファイルに付随した画像ファイルの全ての中で前記解析用メモリに展開させることができないものに限って前記(S−1)乃至前記(S−5)の各処理が繰り返される、ことを特徴とする。   The invention according to claim 2 is the HTML file printing method according to claim 1, and when one of the image files attached to the HTML file cannot be expanded in the analysis memory, the following is performed. (S-1) to (S-6) are executed, (S-1) the thumbnail of the image file is expanded in the analysis memory, and (S-2) the thumbnail in the analysis memory. Is processed (S-3), a print command for the thumbnail is generated based on the image processing of (S-2), and (S-4) the print command for the thumbnail is expanded in the print memory. (S-5) A print command of the thumbnail in the print memory is transmitted to the printing means, and (S-6) the analysis command is included in all of the image files attached to the HTML file. The only thing which can not be deployed in the memory (S-1) to the processing of the (S-5) are repeated, characterized in that.

また、請求項3に係る発明は、請求項1又は請求項2に記載するHTMLファイルの印刷方法であって、前記印刷手段がモバイルプリンタであり、前記モバイルプリンタのホスト側が携帯情報端末であることを特徴とする。   The invention according to claim 3 is the HTML file printing method according to claim 1 or 2, wherein the printing means is a mobile printer and the host side of the mobile printer is a portable information terminal. It is characterized by.

すなわち、本発明のHTMLファイルの印刷方法では、読み込まれたHTMLファイルとそのHTMLファイルに付随した画像ファイルの全てを解析用メモリに一度に展開させることができないときは、上記の(1)〜(11)の各処理を実行することによって、HTMLファイル(文字列ファイル)と画像ファイルとに分けて構文解析・画像処理・印刷するので、HTMLファイルに付随した画像ファイルによりメモリ不足が生じても、HTMLファイルを印刷する媒体が小さくても、HTMLファイルと画像ファイルの印刷を可能とし、画像ファイルの詳細な印刷も可能にする。   That is, in the HTML file printing method of the present invention, when the read HTML file and all of the image files attached to the HTML file cannot be expanded in the analysis memory at the same time, the above (1) to ( By executing each process of 11), the HTML file (character string file) and the image file are divided into syntax analysis, image processing, and printing. Therefore, even if a memory shortage occurs due to the image file attached to the HTML file, Even if the medium on which the HTML file is printed is small, the HTML file and the image file can be printed, and the image file can be printed in detail.

また、本発明のHTMLファイルの印刷方法では、読み込まれたHTMLファイルに付随した画像ファイルの一つが解析用メモリに展開させることができないときは、上記の(S−1)〜(S−6)の各処理が実行することによって、解析用メモリに展開させることができない画像ファイルについてのサムネイルを画像処理・印刷するので、解析用メモリと比較して容量が大きな画像ファイルにも適合可能である。   Also, in the HTML file printing method of the present invention, when one of the image files attached to the read HTML file cannot be developed in the analysis memory, the above (S-1) to (S-6). By executing these processes, thumbnails of image files that cannot be developed in the analysis memory are image-processed / printed. Therefore, it is possible to adapt to an image file having a larger capacity than the analysis memory.

また、本発明のHTMLファイルの印刷方法では、プリンタまでもモバイル化された現在のモバイル環境に適合可能である。   Further, the HTML file printing method of the present invention can be adapted to the current mobile environment in which even a printer is made mobile.

本発明の一実施形態に係るHTMLファイルの印刷方法の概要を表した図である。It is a figure showing the outline | summary of the printing method of the HTML file which concerns on one Embodiment of this invention. 同HTMLファイルの印刷方法を実現する情報システムを表したブロック図である。It is a block diagram showing the information system which implement | achieves the printing method of the HTML file. 同HTMLファイルの印刷方法を実行するためのプログラムのフローチャートを表した図である。It is a figure showing the flowchart of the program for performing the printing method of the HTML file.

[1.本発明の概要]
以下、本発明の一実施形態を図面を用いて説明する。図1は、本発明の一実施形態に係るHTMLファイルの印刷方法の概要を表した図である。本実施の形態に係るHTMLファイルの印刷方法では、例えば、図1に表したように、イメージAの画像ファイル402とイメージBの画像ファイル403とイメージCの画像ファイル404とを付随したHTMLファイル401がWeb上のHTLM文書としてある場合において、そのHTLM文書を印刷しようとした際にメモリ不足が生じたときは、各テキスト文書411,412,413と各イメージ文書414,415,416とに分けて印刷する。
[1. Outline of the present invention]
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing an outline of an HTML file printing method according to an embodiment of the present invention. In the HTML file printing method according to this embodiment, for example, as shown in FIG. 1, an HTML file 401 accompanied by an image file 402 of image A, an image file 403 of image B, and an image file 404 of image C is attached. Is an HTLM document on the Web, and when there is a memory shortage when trying to print the HTLM document, it is divided into each text document 411, 412, 413 and each image document 414, 415, 416. Print.

このとき、イメージ文書414には画像ファイル402のイメージA402aが詳細に印刷される。イメージ文書415には画像ファイル403のイメージB403aが詳細に印刷される。イメージ文書416には画像ファイル404のイメージC404aが詳細に印刷される。但し、メモリ不足の状況によっては、イメージA402aやイメージB403aやイメージC404aが、画像ファイル402や画像ファイル403や画像ファイル404のサムネイルであるときがある。   At this time, the image A 402 a of the image file 402 is printed in detail on the image document 414. In the image document 415, the image B403a of the image file 403 is printed in detail. In the image document 416, the image C404a of the image file 404 is printed in detail. However, depending on the lack of memory, the image A 402a, the image B 403a, and the image C 404a may be thumbnails of the image file 402, the image file 403, and the image file 404.

[2.本発明の構成]
図2は、本実施形態に係るHTMLファイルの印刷方法を実現する情報システム1を表したブロック図である。図2のブロック図に表すように、情報システム1は、携帯型プリンター11や、携帯情報端末101、ネットワークIに加え、そのネットワークIに結ばれた各サーバー201,301〜303,…等で構成される。
[2. Configuration of the present invention]
FIG. 2 is a block diagram showing an information system 1 that realizes the HTML file printing method according to the present embodiment. As shown in the block diagram of FIG. 2, the information system 1 includes a portable printer 11, a portable information terminal 101, a network I, and servers 201, 301 to 303, etc. connected to the network I. Is done.

携帯型プリンター11は、制御装置12や、通信モジュール13、印刷部14、記憶装置15、ROM16、RAM17、電源キー18等を有する。制御装置12は、上記各構成部品等を制御するマイクロコントローラであって、各種制御プログラムを実行するものである。通信モジュール13は、ホスト端末である携帯情報端末101と通信するための装置であって、例えば、Bluetooth(登録商標)、IrDA(赤外線)、USB等の各通信規格を使用する。印刷部14は、プリンタコマンド(印刷指令や印刷データ等)に基づきカット用紙(例えば、A4サイズ)に印刷を行う。記憶装置15には、FLASH・ROM等が使用され、カット用紙に印刷する内容等が記憶される。ROM16は、各種制御プログラム等が記憶されている。RAM17は、各制御プログラムを制御装置12で実行するときの作業領域を提供する。電源キー18は、押下ボタン等が使用される。   The portable printer 11 includes a control device 12, a communication module 13, a printing unit 14, a storage device 15, a ROM 16, a RAM 17, a power key 18, and the like. The control device 12 is a microcontroller that controls the above-described components and the like, and executes various control programs. The communication module 13 is a device for communicating with the portable information terminal 101 that is a host terminal, and uses, for example, each communication standard such as Bluetooth (registered trademark), IrDA (infrared), and USB. The printing unit 14 performs printing on a cut sheet (for example, A4 size) based on a printer command (print command, print data, or the like). The storage device 15 uses FLASH / ROM or the like, and stores contents to be printed on cut sheets. The ROM 16 stores various control programs and the like. The RAM 17 provides a work area when each control program is executed by the control device 12. As the power key 18, a push button or the like is used.

携帯情報端末101は、携帯電話機・PDA・スマートフォンなどの携帯型の情報端末であって、制御装置102や、通信モジュール103、入力装置104、出力装置105、ネットワーク通信装置106、FLASH・ROM107、ROM108、RAM109等を有する。制御装置102は、上記各構成部品等を制御するマイクロコントローラであって、各種制御プログラムを実行するものである。通信モジュール103は、携帯型プリンター11と通信するための装置であって、例えば、Bluetooth(登録商標)、IrDA(赤外線)、USB等の各通信規格を使用する。入力装置104は、キーパッドに設けられた各種操作ボタン等である。出力装置105は、液晶ディスプレイであり、3インチ程度の大きさのものが使用される。ネットワーク通信装置106は、ネットワークIに接続するための装置である。FLASH・ROM107は、256MB程度の大きさのものが使用され、解析用プログラムが記憶された領域107aや、印刷コマンド化プログラムが記憶された領域107bや、解析用メモリ107cや、印刷用メモリ107d等が確保される。解析用プログラムとは、HTLM文書をタグ等から解析するプログラムである。ROM108は、各種制御プログラム等が記憶されている。RAM109は、各制御プログラムを制御装置102で実行するときの作業領域を提供する。解析用メモリ110は、上記図1のHTLMファイル401等を解析する際に使用される。尚、携帯電話機・スマートフォンなどで音声通話機能を実現する構成等の説明は省略する。   The portable information terminal 101 is a portable information terminal such as a mobile phone / PDA / smartphone, and includes a control device 102, a communication module 103, an input device 104, an output device 105, a network communication device 106, a FLASH / ROM 107, and a ROM 108. RAM 109 and the like. The control device 102 is a microcontroller that controls each of the above components and executes various control programs. The communication module 103 is a device for communicating with the portable printer 11 and uses, for example, each communication standard such as Bluetooth (registered trademark), IrDA (infrared), and USB. The input device 104 is various operation buttons and the like provided on the keypad. The output device 105 is a liquid crystal display and has a size of about 3 inches. The network communication device 106 is a device for connecting to the network I. The FLASH / ROM 107 has a size of about 256 MB, and includes an area 107a in which an analysis program is stored, an area 107b in which a print command program is stored, an analysis memory 107c, a print memory 107d, and the like. Is secured. The analysis program is a program for analyzing an HTLM document from a tag or the like. The ROM 108 stores various control programs and the like. The RAM 109 provides a work area when each control program is executed by the control device 102. The analysis memory 110 is used when analyzing the HTLM file 401 of FIG. Note that a description of a configuration for realizing a voice call function using a mobile phone / smartphone is omitted.

もっとも、解析用メモリ107cや印刷用メモリ107dは、FLASH・ROM107内に確保されるのではなく、それぞれ個別に設けてもよい。また、上記の解析用プログラムや上記の印刷コマンド化プログラムは、FLASH・ROM107に記憶されるのではなく、ROM108に記憶されてもよい。   However, the analysis memory 107c and the printing memory 107d are not secured in the FLASH / ROM 107 but may be provided individually. Further, the analysis program and the print command conversion program may be stored in the ROM 108 instead of being stored in the FLASH / ROM 107.

ネットワークIは、インターネットである。検索サーバー201は、ネットワークI上で機能するサーチエンジンを組み込んだWeb上の検索サイトである。各サーバー301〜303,…は、ネットワークIで提供されるWeb上の公開サーバーである。各サーバー301〜303,…には、ネットワークIを介して閲覧可能なWebコンテンツ(文書や画像で構成されるHTLM文書など)が記憶される。   Network I is the Internet. The search server 201 is a search site on the Web incorporating a search engine that functions on the network I. Each of the servers 301 to 303 is a public server on the Web provided by the network I. Each of the servers 301 to 303,... Stores Web contents (such as HTLM documents composed of documents and images) that can be browsed via the network I.

[3.本発明の動作]
図3は、本実施の形態に係るHTMLファイルの印刷方法を実行するためのプログラムのフローチャートを表した図である。図3のフローチャートで表されたプログラムは携帯情報端末101で行われる。図3によれば、本実施の形態に係るHTMLファイルの印刷方法は、先ず、S11において、解析用メモリの確保処理が行われる。
[3. Operation of the present invention]
FIG. 3 is a diagram showing a flowchart of a program for executing the HTML file printing method according to the present embodiment. The program shown in the flowchart of FIG. 3 is executed by the portable information terminal 101. According to FIG. 3, in the HTML file printing method according to the present embodiment, first, in S11, an analysis memory securing process is performed.

この処理では、制御装置102は、読み込んだHTLM文書のサイズについて、上記の解析用プログラムを使用して取得し、そのHTLM文書の全データを展開できる解析用メモリ107cをFLASH・ROM107内に確保できるか否かをチェックする。上記の図1に表された具体例で言えば、制御装置102は、上記の解析用プログラムを使用して、HTLM文書を構成するHTMLファイル401及び各画像ファイル402,403,404の各サイズを、HTLM文書内の各タグを解析することより取得する。その後は、制御装置102はS12に進む。   In this process, the control device 102 can acquire the size of the read HTLM document using the above analysis program, and can secure the analysis memory 107c in the FLASH / ROM 107 that can expand all the data of the HTLM document. Check whether or not. In the specific example shown in FIG. 1 above, the control device 102 uses the analysis program described above to determine the sizes of the HTML file 401 and the image files 402, 403, and 404 constituting the HTML document. , Obtained by analyzing each tag in the HTLM document. Thereafter, the control device 102 proceeds to S12.

尚、携帯情報端末101でHTLM文書を読み込むには、例えば、ユーザーが、ネットワークIであるインターネット上の検索サーバー201で所望するHTLM文書を検索し、その検索結果に基づいて、ネットワークIであるインターネット上の各サーバー301〜303,…のいずれかから読み込む操作を行う。   In order to read the HTLM document with the portable information terminal 101, for example, the user searches for the desired HTLM document with the search server 201 on the Internet which is the network I, and the Internet which is the network I based on the search result. An operation of reading from any of the servers 301 to 303,... Above is performed.

S12では、制御装置102は、読み込んだHTLM文書の全データを展開できる解析用メモリ107cをFLASH・ROM107内に確保できたか否かを判断する。ここで、読み込んだHTLM文書の全データを展開できる解析用メモリ107cをFLASH・ROM107内に確保できた場合には(S12:YES)、制御装置102はS13に進む。   In S <b> 12, the control device 102 determines whether or not the analysis memory 107 c that can expand all the data of the read HTLM document has been secured in the FLASH / ROM 107. If the analysis memory 107c that can expand all the data of the read HTLM document is secured in the FLASH ROM 107 (S12: YES), the control device 102 proceeds to S13.

S13では、全ファイルデータの展開処理が行われる。この処理では、制御装置102は、読み込んだHTLM文書の全データを解析用メモリ107cに展開する。その後は、制御装置102はS14に進む。   In S13, all file data is expanded. In this process, the control device 102 expands all data of the read HTLM document in the analysis memory 107c. Thereafter, the control device 102 proceeds to S14.

S14では、全ファイルデータの解析処理が行われる。この処理では、制御装置102は、解析用メモリ107cに展開されているHTLM文書の全データについて、HTLM文書のタグと上記の解析用プログラムとを使用して解析する。その後は、制御装置102はS15に進む。   In S14, analysis processing of all file data is performed. In this processing, the control device 102 analyzes all data of the HTLM document developed in the analysis memory 107c by using the tag of the HTLM document and the above analysis program. Thereafter, the control device 102 proceeds to S15.

S15では、印刷コマンド化処理が行われる。この処理では、制御装置102は、上記の印刷コマンド化プログラムを使用して、解析用メモリ107cに展開されているHTLM文書の全データの印刷コマンドを、上記のS14の解析結果から生成する。その後は、制御装置102はS16に進む。   In S15, print command conversion processing is performed. In this process, the control device 102 generates a print command for all data of the HTLM document developed in the analysis memory 107c from the analysis result of S14, using the print command conversion program. Thereafter, the control device 102 proceeds to S16.

S16では、印刷コマンド展開処理が行われる。この処理では、制御装置102は、上記のS15で生成された印刷コマンドを印刷用メモリ107dに展開する。その後は、制御装置102はS16の2に進む。   In S16, print command expansion processing is performed. In this process, the control device 102 expands the print command generated in S15 described above in the print memory 107d. After that, the control device 102 proceeds to 2 of S16.

S16の2では、印刷処理が行われる。この処理では、制御装置102は、印刷用メモリ107d内の印刷コマンドを携帯型プリンター11に送信することにより、携帯型プリンター11に印刷させる。その後は、制御装置102はこのプログラムを終了させる。   In S16-2, a printing process is performed. In this process, the control device 102 causes the portable printer 11 to print by transmitting a print command in the printing memory 107 d to the portable printer 11. Thereafter, the control device 102 ends this program.

一方、上記のS12において、読み込んだHTLM文書の全データを展開できる解析用メモリ107cをFLASH・ROM107内に確保できなかった場合には(S12:NO)、制御装置102はS17に進む。   On the other hand, when the analysis memory 107c that can expand all the data of the read HTLM document cannot be secured in the FLASH / ROM 107 in S12 described above (S12: NO), the control device 102 proceeds to S17.

S17では、HTLMファイルの展開処理が行われる。この処理では、制御装置102は、読み込んだHTLM文書の全データのうち、画像ファイルのデータを除き、HTLMファイルのデータのみを解析用メモリ107cに展開する。上記の図1に表された具体例で言えば、制御装置102は、HTLM文書を構成するHTMLファイル401及び各画像ファイル402,403,404のうち、HTMLファイル401のデータのみを解析用メモリ107cに展開する。その後は、制御装置102はS18に進む。   In S17, the development process of the HTLM file is performed. In this process, the control device 102 develops only the data of the HTLM file in the analysis memory 107c, excluding the image file data, out of all the data of the read HTLM document. In the specific example shown in FIG. 1 described above, the control apparatus 102 transfers only the data of the HTML file 401 out of the HTML file 401 and the image files 402, 403, and 404 constituting the HTML document to the analysis memory 107c. Expand to. Thereafter, the control device 102 proceeds to S18.

S18では、HTLMファイルの解析処理が行われる。この処理では、制御装置102は、解析用メモリ107cに展開されているHTLMファイル(上記の図1では、HTMLファイル401)のデータについて、HTLMファイルのタグと上記の解析用プログラムとを使用して構文解析する。その後は、制御装置102はS19に進む。   In S18, an HTLM file analysis process is performed. In this processing, the control device 102 uses the HTLM file tag and the above analysis program for the data of the HTLM file (in FIG. 1, the HTML file 401) developed in the analysis memory 107c. Parse. Thereafter, the control device 102 proceeds to S19.

S19では、印刷コマンド化処理が行われる。この処理では、制御装置102は、上記の印刷コマンド化プログラムを使用して、解析用メモリ107cに展開されているHTLMファイル(上記の図1では、HTMLファイル401)のデータの印刷コマンドを、上記のS18の解析結果から生成する。その後は、制御装置102はS20に進む。   In S19, print command conversion processing is performed. In this process, the control device 102 uses the print command conversion program described above to send a print command for data in the HTML file (the HTML file 401 in FIG. 1 above) expanded in the analysis memory 107c. It generates from the analysis result of S18. Thereafter, the control device 102 proceeds to S20.

S20では、印刷コマンド展開処理が行われる。この処理では、制御装置102は、上記のS19で生成された印刷コマンドを印刷用メモリ107dに展開する。その後は、制御装置102はS20の2に進む。   In S20, print command expansion processing is performed. In this process, the control device 102 expands the print command generated in S19 described above in the print memory 107d. After that, the control apparatus 102 proceeds to S20-2.

S20の2では、印刷処理が行われる。この処理では、制御装置102は、印刷用メモリ107d内の印刷コマンドを携帯型プリンター11に送信することにより、携帯型プリンター11に印刷させる。その結果、上記の図1に表された具体例で言えば、各テキスト文書411,412,413が印刷される。その後は、制御装置102はS21に進む。   In S20-2, a printing process is performed. In this process, the control device 102 causes the portable printer 11 to print by transmitting a print command in the printing memory 107 d to the portable printer 11. As a result, in the specific example shown in FIG. 1, the text documents 411, 412, and 413 are printed. Thereafter, the control device 102 proceeds to S21.

S21では、制御装置102は、読み込んだHTLM文書を構成する各画像ファイルを展開できる解析用メモリ107cをFLASH・ROM107内に確保できたか否かを判断する。ここで、読み込んだHTLM文書を構成する各画像ファイルを展開できる解析用メモリ107cをFLASH・ROM107内に確保できた場合には(S21:YES)、制御装置102はS22に進む。   In S <b> 21, the control device 102 determines whether or not the analysis memory 107 c capable of developing each image file constituting the read HTLM document has been secured in the FLASH / ROM 107. If the analysis memory 107c capable of developing each image file constituting the read HTLM document can be secured in the FLASH / ROM 107 (S21: YES), the control device 102 proceeds to S22.

S22では、制御装置102は、各画像ファイルの展開・画像処理を行う。この処理では、制御装置102は、読み込んだHTLM文書の全データのうち、HTLMファイルのデータを除き、先頭の画像ファイルのデータのみを解析用メモリ107cに展開する。上記の図1に表された具体例で言えば、制御装置102は、HTLM文書を構成するHTMLファイル401及び各画像ファイル402,403,404のうち、画像ファイル402のデータのみを解析用メモリ107cに展開する。その後は、制御装置102は、解析用メモリ107cに展開されている画像ファイルのデータを画像処理する。その後は、制御装置102はS23に進む。   In S22, the control device 102 performs development / image processing of each image file. In this process, the control device 102 develops only the data of the first image file in the analysis memory 107c, excluding the data of the HTLM file, out of all the data of the read HTLM document. In the specific example shown in FIG. 1 described above, the control device 102 transfers only the data of the image file 402 out of the HTML file 401 and each of the image files 402, 403, and 404 constituting the HTML document to the analysis memory 107c. Expand to. Thereafter, the control apparatus 102 performs image processing on the data of the image file developed in the analysis memory 107c. Thereafter, the control apparatus 102 proceeds to S23.

S23では、印刷コマンド化処理が行われる。この処理では、制御装置102は、上記の印刷コマンド化プログラムを使用して、解析用メモリ107cに展開されている画像ファイル(上記の図1では、画像ファイル402)のデータの印刷コマンドを、上記のS22の画像処理結果から生成する。その後は、制御装置102はS24に進む。   In S23, print command conversion processing is performed. In this process, the control device 102 uses the above print command conversion program to send a print command for data of the image file (image file 402 in FIG. 1 above) developed in the analysis memory 107c to It generates from the image processing result of S22. Thereafter, the control device 102 proceeds to S24.

S24では、印刷コマンド展開処理が行われる。この処理では、制御装置102は、上記のS23で生成された印刷コマンドを印刷用メモリ107dに展開する。その後は、制御装置102はS24の2に進む。   In S24, print command expansion processing is performed. In this process, the control device 102 develops the print command generated in S23 described above in the print memory 107d. Thereafter, the control apparatus 102 proceeds to S24-2.

S24の2では、印刷処理が行われる。この処理では、制御装置102は、印刷用メモリ107d内の印刷コマンドを携帯型プリンター11に送信することにより、携帯型プリンター11に印刷させる。その結果、上記の図1に表された具体例で言えば、イメージ文書414が印刷される。その後は、制御装置102はS28に進む。S28では、制御装置102は、上記S24の2又は下記S27の2で印刷処理した画像が最後の画像であるか否かを判断する。ここで、上記S24の2又は下記S27の2で印刷処理した画像が最後の画像でない場合には(S28:NO)、制御装置102は、S21に戻って、S21以降の処理を繰り返す。一方、上記S24の2又は下記S27の2で印刷処理した画像が最後の画像である場合には(S28:YES)、制御装置102はプログラムを終了する。   In S24-2, a printing process is performed. In this process, the control device 102 causes the portable printer 11 to print by transmitting a print command in the printing memory 107 d to the portable printer 11. As a result, in the specific example shown in FIG. 1, the image document 414 is printed. Thereafter, the control apparatus 102 proceeds to S28. In S28, the control device 102 determines whether or not the image printed in S24-2 or S27-2 is the last image. If the image printed in S24-2 or S27-2 is not the last image (S28: NO), the control device 102 returns to S21 and repeats the processing from S21 onward. On the other hand, when the image printed in S24-2 or S27-2 is the last image (S28: YES), the control device 102 ends the program.

尚、上記のS22〜S28の各処理は、読み込んだHTLM文書に付随する各画像ファイルについて先頭から最後の順番で繰り返し行われる。その結果、上記の図1に表された具体例で言えば、各イメージ文書414,415,416が印刷される。   Note that the above-described processes of S22 to S28 are repeated for each image file attached to the read HTLM document in order from the beginning to the end. As a result, according to the specific example shown in FIG. 1, the image documents 414, 415, and 416 are printed.

一方、上記のS21において、読み込んだHTLM文書を構成する各画像ファイルを展開できる解析用メモリ107cをFLASH・ROM107内に確保できなかった場合には(S21:NO)、制御装置102はS25に進む。   On the other hand, if the analysis memory 107c that can expand each image file constituting the read HTLM document cannot be secured in the FLASH / ROM 107 in S21 described above (S21: NO), the control device 102 proceeds to S25. .

S25では、制御装置102は、各サムネイルの展開・画像処理を行う。この処理では、制御装置102は、読み込んだHTLM文書の全データのうち、HTLMファイルのデータを除き、先頭の画像ファイルのサムネイルのデータのみを解析用メモリ107cに展開する。上記の図1に表された具体例で言えば、制御装置102は、HTLM文書を構成するHTMLファイル401及び各画像ファイル402,403,404のうち、画像ファイル402のサムネイルのデータのみを解析用メモリ107cに展開する。その後は、制御装置102は、解析用メモリ107cに展開されている画像ファイルのサムネイルのデータを画像処理する。その後は、制御装置102はS26に進む。   In S25, the control device 102 performs development / image processing of each thumbnail. In this process, the control device 102 develops only the thumbnail data of the first image file in the analysis memory 107c, excluding the data of the HTLM file, out of all the data of the read HTLM document. In the specific example shown in FIG. 1 above, the control device 102 analyzes only the thumbnail data of the image file 402 out of the HTML file 401 and the image files 402, 403, and 404 constituting the HTML document. The data is expanded in the memory 107c. Thereafter, the control apparatus 102 performs image processing on the thumbnail data of the image file developed in the analysis memory 107c. Thereafter, the control device 102 proceeds to S26.

S26では、印刷コマンド化処理が行われる。この処理では、制御装置102は、上記の印刷コマンド化プログラムを使用して、解析用メモリ107cに展開されている画像ファイル(上記の図1では、画像ファイル402)のサムネイルのデータの印刷コマンドを、上記のS25の画像処理結果から生成する。その後は、制御装置102はS27に進む。   In S26, print command conversion processing is performed. In this process, the control device 102 uses the print command conversion program described above to issue a print command for thumbnail data of the image file (image file 402 in FIG. 1) developed in the analysis memory 107c. And generated from the image processing result of S25 described above. Thereafter, the control device 102 proceeds to S27.

S27では、印刷コマンド展開処理が行われる。この処理では、制御装置102は、上記のS26で生成された印刷コマンドを印刷用メモリ107dに展開する。その後は、制御装置102はS27の2に進む。   In S27, print command expansion processing is performed. In this process, the control device 102 expands the print command generated in S26 described above in the print memory 107d. Thereafter, the control device 102 proceeds to S27-2.

S27の2では、印刷処理が行われる。この処理では、制御装置102は、印刷用メモリ107d内の印刷コマンドを携帯型プリンター11に送信することにより、携帯型プリンター11に印刷させる。その結果、上記の図1に表された具体例で言えば、画像ファイル402のサムネイルが表されたイメージ文書414が印刷される。その後は、制御装置102はS28に進む。S28では、制御装置102は、上記S24の2又は上記S27の2で印刷処理した画像が最後の画像であるか否かを判断する。ここで、上記S24の2又は上記S27の2で印刷処理した画像が最後の画像でない場合には(S28:NO)、制御装置102は、S21に戻って、S21以降の処理を繰り返す。一方、上記S24の2又は上記S27の2で印刷処理した画像が最後の画像である場合には(S28:YES)、制御装置102はプログラムを終了する。   In step S27-2, print processing is performed. In this process, the control device 102 causes the portable printer 11 to print by transmitting a print command in the printing memory 107 d to the portable printer 11. As a result, in the specific example shown in FIG. 1 above, the image document 414 representing the thumbnail of the image file 402 is printed. Thereafter, the control apparatus 102 proceeds to S28. In S28, the control device 102 determines whether or not the image printed in S24-2 or S27-2 is the last image. If the image printed in S24-2 or S27-2 is not the last image (S28: NO), the control device 102 returns to S21 and repeats the processing from S21 onward. On the other hand, when the image printed in S24-2 or S27-2 is the last image (S28: YES), the control device 102 ends the program.

尚、上記のS25〜S28の各処理は、読み込んだHTLM文書に付随する各画像ファイルのサムネイルについて先頭から最後の順番で繰り返し行われる。その結果、上記の図1に表された具体例で言えば、各イメージ文書414,415,416に各画像ファイル402,403,404のサムネイルがそれぞれ印刷される。   Note that the processes in S25 to S28 are repeated in the order from the top to the last for the thumbnails of the image files attached to the read HTLM document. As a result, in the specific example shown in FIG. 1, the thumbnails of the image files 402, 403, and 404 are printed on the image documents 414, 415, and 416, respectively.

[4.まとめ]
すなわち、本実施の形態に係るHTMLファイルの印刷方法では、携帯情報端末101に読み込まれたHTMLファイルとそのHTMLファイルに付随した画像ファイルの全てを、携帯情報端末101の解析用メモリ107cに一度に展開させることができないときは(S12:NO)、携帯情報端末101の制御装置102は、
(1)そのHTMLファイルのみを解析用メモリ107cに展開し(S17)、
(2)解析用メモリ107c内のHTMLファイルを構文解析し(S18)、
(3)その構文解析に基づいてHTMLファイルの印刷コマンドを生成し(S19)、
(4)HTMLファイルの印刷コマンドを印刷用メモリ107dに展開し(S20)、
(5)印刷用メモリ内107dのHTMLファイルの印刷コマンドを携帯型プリンター11に送信する(S20の2)。
[4. Summary]
That is, in the HTML file printing method according to the present embodiment, all of the HTML file read into portable information terminal 101 and the image file attached to the HTML file are stored in analysis memory 107c of portable information terminal 101 at once. When it cannot be developed (S12: NO), the control device 102 of the portable information terminal 101
(1) Only the HTML file is expanded in the analysis memory 107c (S17),
(2) Parsing the HTML file in the analysis memory 107c (S18),
(3) Generate an HTML file print command based on the syntax analysis (S19),
(4) The HTML file print command is expanded in the print memory 107d (S20),
(5) The print command of the HTML file in the print memory 107d is transmitted to the portable printer 11 (2 in S20).

さらに、携帯情報端末101の制御装置102は、
(6)そのHTMLファイルに付随した画像ファイルの一つを解析用メモリ107cに展開し(S22)、
(7)解析用メモリ107c内の当該画像ファイルを画像処理し(S22)、
(8)その画像処理に基づいて当該画像ファイルの印刷コマンドを生成し(S23)、
(9)当該画像ファイルの印刷コマンドを印刷用メモリ107dに展開し(S24)、
(10)印刷用メモリ107d内の当該画像ファイルの印刷コマンドを携帯型プリンター11に送信し(S24の2)、
(11)そのHTMLファイルに付随した画像ファイルの全てについて前記(6)乃至前記(10)の各処理を繰り返す。
Furthermore, the control device 102 of the portable information terminal 101
(6) One of the image files attached to the HTML file is expanded in the analysis memory 107c (S22),
(7) Image processing is performed on the image file in the analysis memory 107c (S22);
(8) Generate a print command for the image file based on the image processing (S23),
(9) The print command for the image file is expanded in the print memory 107d (S24),
(10) The print command of the image file in the print memory 107d is transmitted to the portable printer 11 (S24-2),
(11) The processes (6) to (10) are repeated for all the image files attached to the HTML file.

つまり、本実施の形態に係るHTMLファイルの印刷方法では、携帯情報端末101に読み込まれたHTMLファイルとそのHTMLファイルに付随した画像ファイルの全てを解析用メモリ107cに一度に展開させることができないときは(S12:NO)、上記の(1)〜(10)の各処理が実行されることによって、HTMLファイル(文字列ファイル)と画像ファイルとに分けて構文解析・画像処理・印刷するので(S17〜S24の2)、HTMLファイルに付随した画像ファイルにより(解析用メモリ107cに)メモリ不足が生じても、HTMLファイルを(携帯型プリンター11で)印刷する媒体(カット用紙)が小さくても、HTMLファイルと画像ファイルの印刷を可能とし、画像ファイルの詳細な印刷も可能にする。   That is, in the HTML file printing method according to the present embodiment, when the HTML file read into the portable information terminal 101 and all of the image files attached to the HTML file cannot be expanded in the analysis memory 107c at a time. (S12: NO), since the above processes (1) to (10) are executed, the HTML file (character string file) and the image file are divided into syntax analysis, image processing, and printing ( 2) S17 to S24, even if the image file attached to the HTML file causes a memory shortage (in the analysis memory 107c) or the medium (cut sheet) on which the HTML file is printed (by the portable printer 11) is small. The HTML file and the image file can be printed, and the image file can be printed in detail.

また、本実施の形態に係るHTMLファイルの印刷方法では、携帯情報端末101に読み込まれたHTMLファイルに付随した各画像ファイルが解析用メモリ107cに展開させることができないときは(S21:NO)、携帯情報端末101の制御装置102は、
(S−1)当該画像ファイルのサムネイルを解析用メモリ107cに展開し(S25)、
(S−2)解析用メモリ107c内の当該サムネイルを画像処理し(S25)、
(S−3)その画像処理に基づいて当該サムネイルの印刷コマンドを生成し(S26)、
(S−4)当該サムネイルの印刷コマンドを印刷用メモリ107dに展開し(S27)、
(S−5)印刷用メモリ107d内の当該サムネイルの印刷コマンドを携帯型プリンター11に送信し(S27の2)、
(S−6)そのHTMLファイルに付随した画像ファイルの全てについて前記(S−1)乃至前記(S−5)の各処理を繰り返す。
Further, in the HTML file printing method according to the present embodiment, when each image file attached to the HTML file read into the portable information terminal 101 cannot be developed in the analysis memory 107c (S21: NO), The control device 102 of the portable information terminal 101
(S-1) The thumbnail of the image file is expanded in the analysis memory 107c (S25),
(S-2) Image processing is performed on the thumbnail in the analysis memory 107c (S25),
(S-3) Generate a print command for the thumbnail based on the image processing (S26),
(S-4) The thumbnail print command is expanded in the print memory 107d (S27),
(S-5) The thumbnail print command in the print memory 107d is transmitted to the portable printer 11 (2 in S27),
(S-6) The processes (S-1) to (S-5) are repeated for all the image files attached to the HTML file.

つまり、本実施の形態に係るHTMLファイルの印刷方法では、上記の(S−1)〜(S−6)の各処理が実行されることによって、解析用メモリ107cに展開させることができない画像ファイルについてのサムネイルを画像処理・印刷するので(S25〜S27の2)、解析用メモリ107cと比較して容量が大きな画像ファイルにも適合可能である。   That is, in the HTML file printing method according to the present embodiment, an image file that cannot be developed in the analysis memory 107c by executing the processes (S-1) to (S-6) described above. Since the thumbnail is processed and printed (S25 to S27-2), it can be adapted to an image file having a larger capacity than the analysis memory 107c.

また、本実施の形態に係るHTMLファイルの印刷方法では、携帯情報端末101をホスト側にして携帯型プリンター11に印刷させていることから(S20の2,S24の2,S27の2)、プリンタまでもモバイル化された現在のモバイル環境に適合可能である。   Further, in the HTML file printing method according to the present embodiment, since the portable information terminal 101 is used as the host side and printing is performed by the portable printer 11 (S20-2, S24-2, S27-2), the printer It can be adapted to the current mobile environment that has been made mobile.

[5−1.その他]
尚、本発明は上記実施の形態に限定されるものでなく、その趣旨を逸脱しない範囲で様々な変更が可能である。
例えば、 図3に表された本実施の形態に係るHTMLファイルの印刷方法を実行するためのプログラムのフローチャートでは、HTLM文書を構成する各画像ファイルが展開できる解析用メモリ107cをFLASH・ROM107内に確保できなかった場合には(S21:NO)、上記のS25〜S27の2の各処理が行われることにより、そのHTLM文書に付随する全画像ファイルのサムネイルのイメージ文書がそれぞれ印刷されていた。
[5-1. Others]
In addition, this invention is not limited to the said embodiment, A various change is possible in the range which does not deviate from the meaning.
For example, in the flowchart of the program for executing the HTML file printing method according to the present embodiment shown in FIG. 3, the analysis memory 107c in which each image file constituting the HTML document can be expanded is stored in the FLASH ROM 107. If the image data could not be secured (S21: NO), the above two processes of S25 to S27 were performed, so that the thumbnail image documents of all the image files attached to the HTLM document were printed.

この点、そのHTLM文書を構成する各画像ファイルのうち、特定の画像ファイルについては展開可能な解析用メモリ107cをFLASH・ROM107内に確保できる場合には(S21:YES)、その特定の画像ファイルについては、上記のS22〜S24の2の各処理が行われることにより、イメージ文書が印刷されてもよい。   In this regard, if the analysis memory 107c that can be developed for a specific image file among the image files constituting the HTLM document can be secured in the FLASH ROM 107 (S21: YES), the specific image file As for the image document, the image document may be printed by performing the above-described two processes of S22 to S24.

逆に、そのHTLM文書を構成する各画像ファイルのうち、特定の画像ファイルについては展開可能な解析用メモリ107cをFLASH・ROM107内に確保できない場合には(S21:NO)、その特定の画像ファイルについては、上記のS25〜S27の2の各処理が行われることにより、サムネイルのイメージ文書が印刷されてもよい。   Conversely, among the image files constituting the HTLM document, when the analysis memory 107c that can be expanded for the specific image file cannot be secured in the FLASH ROM 107 (S21: NO), the specific image file For the above, the thumbnail image document may be printed by performing the above-described two processes of S25 to S27.

すなわち、請求項2の(S−6)の処理のようにして、読み込んだHTMLファイルに付随した画像ファイルの全ての中で解析用メモリ107cに展開させることができないものに限って、上記のS25〜S27の2の各処理が行われることにより、サムネイルのイメージ文書が印刷されてもよい。   That is, as in the process of (S-6) of claim 2, all of the image files attached to the read HTML file are limited to those which cannot be developed in the analysis memory 107c. A thumbnail image document may be printed by performing each of the processes in steps S27 to S27.

[5−2.その他]
また、本実施形態に係るHTMLファイルの印刷方法は、上記の図2で表された情報システム1上で実現されていたが、1個のハードウエアのみで実現されても良い。
[5-2. Others]
The HTML file printing method according to the present embodiment has been realized on the information system 1 shown in FIG. 2, but may be realized with only one piece of hardware.

11 携帯型プリンター
14 印刷部
101 携帯情報端末
107 FLASH・ROM
107a 解析用プログラムが記憶されたFLASH・ROMの領域
107b 印刷コマンド化プログラムが記憶されたFLASH・ROMの領域
107c FLASH・ROM内に確保された解析用メモリ
107d FLASH・ROM内に確保された印刷用メモリ
401 HTMLファイル
402 画像ファイルA
403 画像ファイルB
404 画像ファイルC
11 portable printer 14 printing unit 101 portable information terminal 107 FLASH ROM
107a FLASH / ROM area in which analysis program is stored 107b FLASH / ROM area in which print command conversion program is stored 107c Analysis memory secured in FLASH / ROM 107d For printing secured in FLASH / ROM Memory 401 HTML file 402 Image file A
403 Image file B
404 Image file C

Claims (3)

読み込まれたHTMLファイルと前記HTMLファイルに付随した画像ファイルの全てを解析用メモリに一度に展開させることができないときに、以下(1)〜(11)の各処理が実行されるHTMLファイルの印刷方法であって、
(1)前記HTMLファイルのみが前記解析用メモリに展開され、
(2)前記解析用メモリ内の前記HTMLファイルが構文解析され、
(3)前記(2)の構文解析に基づいて前記HTMLファイルの印刷コマンドが生成され、
(4)前記HTMLファイルの印刷コマンドが印刷用メモリに展開され、
(5)前記印刷用メモリ内の前記HTMLファイルの印刷コマンドが印刷手段に送信され、
(6)前記HTMLファイルに付随した画像ファイルの一つが前記解析用メモリに展開され、
(7)前記解析用メモリ内の当該画像ファイルが画像処理され、
(8)前記(7)の画像処理に基づいて当該画像ファイルの印刷コマンドが生成され、
(9)当該画像ファイルの印刷コマンドが前記印刷用メモリに展開され、
(10)前記印刷用メモリ内の当該画像ファイルの印刷コマンドが前記印刷手段に送信され、
(11)前記HTMLファイルに付随した画像ファイルの全てについて前記(6)乃至前記(10)の各処理が繰り返される、
ことを特徴とするHTMLファイルの印刷方法。
When the read HTML file and all of the image files attached to the HTML file cannot be expanded in the analysis memory at once, the following processes (1) to (11) are executed. A method,
(1) Only the HTML file is expanded in the analysis memory,
(2) The HTML file in the analysis memory is parsed;
(3) A print command of the HTML file is generated based on the syntax analysis of (2),
(4) The print command of the HTML file is expanded in the print memory,
(5) A print command of the HTML file in the print memory is transmitted to the printing means,
(6) One of the image files attached to the HTML file is expanded in the analysis memory,
(7) The image file in the analysis memory is subjected to image processing,
(8) A print command for the image file is generated based on the image processing of (7),
(9) The print command of the image file is expanded in the print memory,
(10) A print command of the image file in the printing memory is transmitted to the printing unit,
(11) The processes of (6) to (10) are repeated for all of the image files attached to the HTML file.
An HTML file printing method characterized by the above.
請求項1に記載するHTMLファイルの印刷方法であって、
前記HTMLファイルに付随した画像ファイルの一つが前記解析用メモリに展開させることができないときは、以下(S−1)〜(S−6)の各処理が実行され、
(S−1)当該画像ファイルのサムネイルが前記解析用メモリに展開され、
(S−2)前記解析用メモリ内の当該サムネイルが画像処理され、
(S−3)前記(S−2)の画像処理に基づいて当該サムネイルの印刷コマンドが生成され、
(S−4)当該サムネイルの印刷コマンドが前記印刷用メモリに展開され、
(S−5)前記印刷用メモリ内の当該サムネイルの印刷コマンドが前記印刷手段に送信され、
(S−6)前記HTMLファイルに付随した画像ファイルの全ての中で前記解析用メモリに展開させることができないものに限って前記(S−1)乃至前記(S−5)の各処理が繰り返される、
ことを特徴とするHTMLファイルの印刷方法。
A method for printing an HTML file according to claim 1,
When one of the image files attached to the HTML file cannot be expanded in the analysis memory, the following processes (S-1) to (S-6) are executed:
(S-1) The thumbnail of the image file is expanded in the analysis memory,
(S-2) The thumbnail in the analysis memory is subjected to image processing,
(S-3) A print command for the thumbnail is generated based on the image processing of (S-2),
(S-4) The thumbnail print command is expanded in the print memory,
(S-5) A print command of the thumbnail in the print memory is transmitted to the printing means,
(S-6) The processing of (S-1) to (S-5) is repeated only for all of the image files attached to the HTML file that cannot be developed in the analysis memory. The
An HTML file printing method characterized by the above.
請求項1又は請求項2に記載するHTMLファイルの印刷方法であって、
前記印刷手段がモバイルプリンタであり、
前記モバイルプリンタのホスト側が携帯情報端末であることを特徴とするHTMLファイルの印刷方法。
A method for printing an HTML file according to claim 1 or 2, wherein
The printing means is a mobile printer;
An HTML file printing method, wherein a host side of the mobile printer is a portable information terminal.
JP2010079743A 2010-03-30 2010-03-30 How to print HTML file Active JP5212412B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010079743A JP5212412B2 (en) 2010-03-30 2010-03-30 How to print HTML file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010079743A JP5212412B2 (en) 2010-03-30 2010-03-30 How to print HTML file

Publications (2)

Publication Number Publication Date
JP2011210191A true JP2011210191A (en) 2011-10-20
JP5212412B2 JP5212412B2 (en) 2013-06-19

Family

ID=44941140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010079743A Active JP5212412B2 (en) 2010-03-30 2010-03-30 How to print HTML file

Country Status (1)

Country Link
JP (1) JP5212412B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014112451A1 (en) * 2013-01-21 2014-07-24 スター精密株式会社 Data transmission system and data transmission program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007058783A (en) * 2005-08-26 2007-03-08 Canon Inc Information processing apparatus and information processing method
JP2008192712A (en) * 2007-02-01 2008-08-21 Japan Science & Technology Agency Tunnel magnetic resistance element

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007058783A (en) * 2005-08-26 2007-03-08 Canon Inc Information processing apparatus and information processing method
JP2008192712A (en) * 2007-02-01 2008-08-21 Japan Science & Technology Agency Tunnel magnetic resistance element

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014112451A1 (en) * 2013-01-21 2014-07-24 スター精密株式会社 Data transmission system and data transmission program
JP2014139718A (en) * 2013-01-21 2014-07-31 Star Micronics Co Ltd Data transmission system and program for data transmission
CN104937534A (en) * 2013-01-21 2015-09-23 星精密株式会社 Data transmission system and data transmission program

Also Published As

Publication number Publication date
JP5212412B2 (en) 2013-06-19

Similar Documents

Publication Publication Date Title
JP5875304B2 (en) Electronic file display system
JP4066691B2 (en) Print control apparatus and program
US20130208296A1 (en) Image forming system, image forming apparatus, and recording medium
JP5299386B2 (en) Print data generation program, terminal device, and control method of terminal device
US20170004147A1 (en) Retrieval device, retrieval method, and computer-readable storage medium for computer program
JP2009258987A (en) Printer driver executed by computer, utility program, and installer for utility program
US20120307303A1 (en) Printing apparatus, web server, printing system, and computer readable recording medium stored with program for web server
JP2020024303A (en) Image processing apparatus and method for controlling the same, and program
JP5586569B2 (en) Printing system
JP2007140851A (en) Electronic apparatus, image forming apparatus, and method of obtaining operation manual
JP2006228062A (en) Printing system, printing method and program thereof
JP5212412B2 (en) How to print HTML file
JP5899706B2 (en) Printing system, printing apparatus, portable terminal apparatus, printing method, and printing program
US20130215451A1 (en) Method and apparatus for automatically detecting page description languages supported by image production devices
US9530084B2 (en) Image processing apparatus capable of ascertaining printing reduction effect, control method therefor, storage medium, and image processing system
JP2004287841A (en) Printer information setting method, server and program
JP2007115189A (en) Form processor, control method and program
JP2007256991A (en) Data processor, program and computer readable recording medium
JP2006228009A (en) Printer driver and print system
JP6717229B2 (en) Information processing system, image forming apparatus, and information processing method
JP4286818B2 (en) Printer driver and printing system
JP2004110116A (en) Printing data reclamation support system, printing data reclamation support program, and recording medium
JP2007237473A (en) Printing apparatus
JP4160023B2 (en) Image forming system
US20080259383A1 (en) Facsimile machine, method, computer-readable medium, and computer data signal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130118

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130211

R150 Certificate of patent or registration of utility model

Ref document number: 5212412

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

Year of fee payment: 3