JP2010046985A - Printer and program - Google Patents

Printer and program Download PDF

Info

Publication number
JP2010046985A
JP2010046985A JP2008215410A JP2008215410A JP2010046985A JP 2010046985 A JP2010046985 A JP 2010046985A JP 2008215410 A JP2008215410 A JP 2008215410A JP 2008215410 A JP2008215410 A JP 2008215410A JP 2010046985 A JP2010046985 A JP 2010046985A
Authority
JP
Japan
Prior art keywords
page
index image
error
list
error factor
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
JP2008215410A
Other languages
Japanese (ja)
Other versions
JP5083119B2 (en
Inventor
Koichi Tsugimura
浩一 次村
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 JP2008215410A priority Critical patent/JP5083119B2/en
Publication of JP2010046985A publication Critical patent/JP2010046985A/en
Application granted granted Critical
Publication of JP5083119B2 publication Critical patent/JP5083119B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To print an index image by which a user can further learn details of a content of a file when the list printing of document files composed of a plurality of pages is performed. <P>SOLUTION: When an error occurs, in preparing an index image corresponding to the head page of a document file, the factor of the error is stored in a memory. Then, the other page which does not correspond to the stored error factor is selected as an object for the list printing from among a plurality of pages included in the document file, and an index image corresponding to the selected object page for the list printing is prepared. Then, prepared index images corresponding to each file are made into a list and printed out. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、複数のファイルのインデックス画像を一覧印刷する印刷装置に関するものである。   The present invention relates to a printing apparatus that prints a list of index images of a plurality of files.

近年、メモリカード等の可搬型記憶媒体に格納されたファイルを、パーソナルコンピュータ(PC)等の情報処理装置を利用せずに印刷できるプリンタが普及している。この種のプリンタでは、メモリカードをプリンタに接続することで、メモリカードに格納されているファイルを直接プリンタで印刷することができる。また、印刷対象となるファイルとしては、デジタルスチルカメラ等で撮影されたビットマップ画像のファイルだけでなく、PC上等で作成された文字情報や画像情報を含む文書(ドキュメント)ファイルも含まれる。さらに、このようなプリンタでは、メモリカードに格納されているファイルを確認するために、各ファイルを示す画像を所定サイズに拡大又は縮小したインデックス画像を記録用紙に並べて印刷する一覧(インデックス)印刷機能を備えている。   In recent years, printers that can print files stored in a portable storage medium such as a memory card without using an information processing apparatus such as a personal computer (PC) have become widespread. In this type of printer, a file stored in the memory card can be directly printed by the printer by connecting the memory card to the printer. The file to be printed includes not only a bitmap image file taken with a digital still camera or the like, but also a document file including character information and image information created on a PC or the like. Further, in such a printer, a list (index) printing function for printing an index image obtained by enlarging or reducing an image indicating each file to a predetermined size on a recording sheet in order to check the file stored in the memory card. It has.

また、PCの周辺機器としてのプリンタ等に同梱されるユーティリティソフトウェアのように、PC上で機能するアプリケーションにも、上述のような一覧印刷機能を備えるものがある。この種のアプリケーションで行われる一覧印刷の方法としては、例えば、特許文献1に記載のものが開示されている。
特開2006−155281号公報
Some applications that function on a PC, such as utility software bundled with a printer as a peripheral device of the PC, have a list printing function as described above. As a list printing method performed by this type of application, for example, a method described in Patent Document 1 is disclosed.
JP 2006-155281 A

従来、1ファイルに複数のページが含まれる文書ファイルを一覧印刷の対象とする場合、その文書ファイルの特徴を示す代表ページとして、例えば先頭ページのインデックス画像を一覧として印刷していた。その際、先頭ページに対応するインデックス画像を作成する処理で何らかのエラーが生じた場合、この先頭ページのインデックス画像を印刷する代わりに、当該文書ファイルの内容とは直接関係のない代替画像(例えば、ファイルの種類を示すシンボル等)を印刷するといった対策が行われていた。   Conventionally, when a document file including a plurality of pages in one file is to be subjected to list printing, an index image of the first page, for example, is printed as a list as a representative page indicating the characteristics of the document file. At that time, if an error occurs in the process of creating the index image corresponding to the first page, instead of printing the index image of the first page, an alternative image (for example, not directly related to the contents of the document file) A measure such as printing a symbol indicating a file type) has been taken.

しかしながら、代表たる先頭ページのインデックス画像の代わりに、ファイルの内容とは直接関係のない代替画像が印刷されたのでは、ユーザは、一覧印刷された結果からファイルの内容を知ることができず、不便である。   However, if a substitute image that is not directly related to the contents of the file is printed instead of the index image of the representative first page, the user cannot know the contents of the file from the list printed result. Inconvenient.

本発明は、上記問題を解決するためになされており、複数ページからなる文書ファイルの一覧印刷を行う際に、ユーザがよりファイルの内容を知ることのできるインデックス画像を印刷するための技術を提供することを目的とする。   The present invention has been made to solve the above problems, and provides a technique for printing an index image that allows a user to know the contents of a file when printing a list of document files consisting of a plurality of pages. The purpose is to do.

上記目的を達成するためになされた請求項1に記載の印刷装置は、インデックス画像の作成時に生じるエラーの要因を記憶する記憶手段と、1つのファイルに含まれる複数のページのうち、記憶手段に記憶されているエラーの要因を含まないページを一覧印刷対象として選択するページ選択手段と、ページ選択手段により選択された一覧印刷対象のページに対応するインデックス画像を作成するインデックス画像作成手段と、インデックス画像作成手段により作成された各ファイルに対応するインデックス画像を一覧にして印刷出力する出力手段とを備えることを特徴とする。   In order to achieve the above object, a printing apparatus according to claim 1, wherein a storage unit that stores a factor of an error that occurs when an index image is created, and a storage unit among a plurality of pages included in one file. A page selection unit that selects a page that does not include a stored error cause as a list print target, an index image generation unit that generates an index image corresponding to the list print target page selected by the page selection unit, and an index Output means for printing out a list of index images corresponding to each file created by the image creating means.

このように構成された印刷装置によれば、1つのファイルに含まれる複数のページの中から、記憶手段に記憶されているエラー要因を含まないページを選択してインデックス画像を作成するので、インデックス画像を作成する処理でのエラーを回避してファイルのインデックス画像を確実に印刷できるようになる。よって、複数ページからなる文書ファイルの一覧印刷を行う際に、ユーザがよりファイルの内容を知ることのできるインデックス画像を印刷できる。   According to the printing apparatus configured as described above, an index image is created by selecting a page that does not include an error factor stored in the storage unit from a plurality of pages included in one file. It is possible to reliably print an index image of a file by avoiding an error in the process of creating an image. Therefore, when printing a list of document files consisting of a plurality of pages, it is possible to print an index image that allows the user to know the contents of the file.

なお、記憶手段に記憶されるエラーの要因は、例えば、想定されるエラーの要因を予め記憶させておくことも考えられるが、インデックス画像の作成時に実際にエラーが発生した場合に、そのエラーの要因を特定して記憶することが考えられる。   The cause of the error stored in the storage means may be, for example, storing an assumed error factor in advance, but if an error actually occurs when creating an index image, the error It is possible to identify and memorize the factors.

そこで、請求項2に記載のように構成するとよい。すなわち、インデックス画像作成手段によるインデックス画像の作成時にエラーが生じた場合、このエラーの要因を特定するエラー要因特定手段と、エラー要因特定手段により特定したエラーの要因を記憶手段に追加記録するエラー要因記録手段とを更に備える。そして、ページ選択手段は、インデックス画像作成手段によるインデックス画像の作成時にエラーが生じた場合、当該ファイルに含まれる複数のページのうち、記憶手段に記憶されているエラーの要因を含まない別の一覧印刷対象を新たに選択する。   Therefore, it is preferable to configure as described in claim 2. In other words, when an error occurs during index image creation by the index image creating means, an error factor identifying means for identifying the cause of this error, and an error factor for additionally recording the error cause identified by the error factor identifying means in the storage means Recording means. The page selection unit, when an error occurs when creating the index image by the index image creation unit, of the plurality of pages included in the file, another list that does not include the error factor stored in the storage unit Select a new print target.

このようにすることで、あるページのインデックス画像を作成する際にエラーが発生しても、そのエラーの要因を含まない別のページのインデックス画像を作成することで、当該エラーを回避でき、ファイルのインデックス画像を確実に印刷できる。   By doing this, even if an error occurs when creating an index image for a page, you can avoid the error by creating an index image for another page that does not include the cause of the error, and the file The index image can be printed reliably.

また、複数のページを有するファイルの一覧印刷を行う場合、予め決められた特定の代表ページ(例えば、先頭ページ)を対象にインデックス画像の作成を行うことが一般的である。そこで、請求項3に記載のように構成するとよい。すなわち、エラー要因の有無を判断する対象のページに記憶手段に記憶されているエラーの要因が含まれているか否かを判断するエラー要因判断手段を更に備える。また、インデックス画像作成手段は、複数のページを含むファイルの中から所定の初期印刷対象のページに対応するインデックス画像の作成を実行する。このとき、初期印刷対象のページに対応するインデックス画像の作成時にエラーが生じた場合、エラー要因判断手段は、当該ファイルにおける初期印刷対象のページとは異なるページを対象に、そのページに記憶手段に記憶されているエラーの要因が含まれているか否かを判断する。そして、エラー要因判断手段により、そのページにエラーの要因が含まれていると判断した場合、エラー要因判断手段による判断処理が行われていないページを対象に、エラー要因判断手段による判断処理を更に実行する一方、エラーの要因が含まれていないと判断した場合、そのページをページ選択手段による一覧印刷対象として選択し、かつ、エラー要因判断手段による判断処理を終了する。   In addition, when printing a list of files having a plurality of pages, it is common to create an index image for a predetermined specific representative page (for example, the first page). Therefore, it is preferable to configure as described in claim 3. That is, it further comprises error factor determination means for determining whether or not an error factor stored in the storage means is included in the page for which the presence or absence of the error factor is determined. The index image creating means creates an index image corresponding to a predetermined initial print target page from a file including a plurality of pages. At this time, if an error occurs during the creation of the index image corresponding to the page to be initially printed, the error factor determining means targets a page different from the page to be initially printed in the file as a storage means on the page. It is determined whether or not a stored error factor is included. When the error factor determining means determines that the error factor is included in the page, the error factor determining means further performs the determination process by the error factor determining means for a page that has not been determined by the error factor determining means. On the other hand, if it is determined that the error factor is not included, the page is selected as a list print target by the page selection unit, and the determination process by the error factor determination unit is terminated.

このように構成することで、決められた代表ページを対象とする一覧印刷でエラーになる場合であっても、同じファイル内で当該エラーの要因が含まれていない他のページを代替に一覧印刷を遂行できるので好適である。   By configuring in this way, even if an error occurs when printing a list for a designated representative page, other pages that do not contain the cause of the error in the same file are printed as a list. Is preferable.

ところで、一覧印刷の対象となるページを選択する基準としては、エラーの要因が含まれていないことは勿論のこと、さらに、ユーザにとって有用な情報が含まれていることも重要な要素である。この場合、ユーザにとって有用な情報とは、一覧印刷されたインデックス画像を見ることで、そのファイルの内容を容易に類推できるような情報が含まれていることが望ましい。   By the way, as a criterion for selecting pages to be printed as a list, it is an important factor that not only error factors are included but also information useful to the user is included. In this case, it is desirable that the information useful for the user includes information that allows the user to easily infer the contents of the file by looking at the index image printed as a list.

そこで、請求項4に記載のように構成するとよい。すなわち、エラー要因判断手段は、当該ファイルに付随する目次データに記録されている見出しが文書内に含まれているページを対象に、エラーの要因が含まれているか否かを判断する。なお、目次データとは、文書ファイルの本体データに付随して、その文書の目次等の概要を保持する属性データであり、例えばアプリケーション上で文書の概要等を取得する際に用いられるものである。   Therefore, a configuration as described in claim 4 is preferable. That is, the error factor determination means determines whether or not an error factor is included in a page in which a headline recorded in the table of contents data attached to the file is included in the document. The table of contents data is attribute data that holds an outline of the document table of contents etc. accompanying the body data of the document file, and is used when, for example, obtaining an outline of the document on the application. .

このようにすることで、その文書の見出しが含まれたページが一覧印刷の対象として選択されることになる。そして、そのページに対応するインデックス画像に記録されている見出しをユーザが読めば、ユーザはその文書ファイルの内容を一目で類推することができるので、便利である。   In this way, a page including the document heading is selected as a list printing target. Then, if the user reads the headline recorded in the index image corresponding to the page, the user can analogize the contents of the document file at a glance, which is convenient.

一方、一覧印刷の対象となるページを選択する基準としては、インデックス画像を作成するための処理負荷が小さいことを重視してもよい。インデックス画像を作成するための処理負荷が過大になるということは、それ自体がエラーの要因にもなる一方、インデックス画像を作成するための処理負荷が小さいということは、より高速に一覧印刷を完了できることにつながる。   On the other hand, as a criterion for selecting pages to be printed as a list, importance may be placed on a small processing load for creating an index image. An excessive processing load to create an index image itself can cause errors, while a small processing load to create an index image completes list printing faster. It leads to what can be done.

そこで、請求項5に記載のように構成するとよい。すなわち、ページ選択手段は、1ページに含まれている画像情報のデータ量が基準量以下であるページを一覧印刷対象として選択する。   Therefore, it is preferable to configure as described in claim 5. That is, the page selection unit selects, as a list print target, a page whose data amount of image information included in one page is equal to or less than a reference amount.

画像情報は、文字情報に比べて一般的にデータ量がかなり大きく、画像情報が含まれるページのインデックス画像を作成するには相応の処理負荷がかかる。そこで、印刷装置の処理能力に応じて、処理負荷の面で許容される範囲のデータ量の画像情報を含むページを一覧印刷対象に選択することで、インデックス画像の作成に係る処理負荷を軽減でき、一覧印刷を高速に行うことができるようになる。あるいは、画像情報が全く含まれない、すなわち文字情報だけのページを一覧印刷対象に選択するようにして、インデックス画像の作成に係る処理負荷の軽減を徹底してもよい。   Image information generally has a considerably larger data amount than character information, and a corresponding processing load is required to create an index image of a page including image information. Therefore, the processing load related to index image creation can be reduced by selecting pages that contain image information with a data amount within the allowable range in terms of processing load as the list print target according to the processing capability of the printing device. The list print can be performed at high speed. Alternatively, it may be possible to thoroughly reduce the processing load related to the creation of the index image by selecting, as a list print target, a page that does not include any image information, that is, only text information.

あるいは、画像情報のデータ量だけでなく、文字情報のデータ量も含むページ全体のデータ量を加味して、より処理負荷の軽いページを一覧印刷対象に選択してもよい。そこで、請求項6に記載のように構成するとよい。すなわち、ページ選択手段は、1ページ分のデータ量あるいは1ページ分のデータ量の多寡を示す所定の指標が基準値以下であるページを一覧印刷対象として選択する。なお、データ量の多寡を示す所定の指標とは、データ量そのものを示す値でなくともデータ量の多寡を類推できるような指標のことであり、より具体的には、文書内の文字情報や画像情報の構造を定義するコマンドの数等が一例として挙げられる。このように構成することで、処理負荷の面で許容される範囲のデータ量のページを一覧印刷対象に選択するができ、インデックス画像の作成に係る処理負荷を軽減できる。   Alternatively, not only the data amount of image information but also the data amount of the entire page including the data amount of character information may be taken into consideration, and pages with a lighter processing load may be selected as a list print target. Therefore, it is preferable to configure as described in claim 6. That is, the page selection means selects, as a list print target, a page whose predetermined index indicating the amount of data for one page or the amount of data for one page is equal to or less than a reference value. The predetermined index indicating the amount of data is an index that can be used to analogize the amount of data even if it is not a value indicating the amount of data itself. An example is the number of commands that define the structure of image information. With this configuration, it is possible to select a page with a data amount in a range that is allowed in terms of processing load as a list print target, and to reduce the processing load related to creation of an index image.

一方、一覧印刷の対象となるページを選択する基準としては、エラーの要因が含まれていないことの他に、さらに、ユーザにとって閲覧しやすいページであることを重視してもよい。例えば、一覧印刷においては通常の印刷時よりも縮小された画像が印刷される可能性があるため、小さな文字ばかりで構成されたページを一覧印刷すると、出力されたインデックス画像上では文字が小さ過ぎて読み難くなってしまうという問題がある。   On the other hand, as a criterion for selecting a page to be printed as a list, in addition to not including an error factor, it may be emphasized that the page is easy to browse for the user. For example, in list printing, there is a possibility that a reduced image may be printed than during normal printing, so if you print a list of pages that consist of only small characters, the characters are too small on the output index image This makes it difficult to read.

このような問題を解決するために、請求項7に記載のように構成するとよい。すなわち、ページ選択手段は、1ページに含まれている文字の大きさが基準値以上であるページを一覧印刷対象として選択する。なお、基準とする文字の大きさは、インデックス画像の拡縮比に応じて適宜設定すればよい。   In order to solve such a problem, it is preferable to configure as described in claim 7. In other words, the page selection means selects, as a list print target, pages whose size of characters included in one page is equal to or larger than the reference value. Note that the reference character size may be set as appropriate according to the enlargement / reduction ratio of the index image.

このように構成することで、エラーを回避して確実にインデックス画像を印刷可能にすると共に、インデックス画像上で文字を確かに読むことのできるページを一覧印刷対象に選択することで、ユーザにとって閲覧しやすい一覧印刷を実現できる。   With this configuration, an index image can be reliably printed while avoiding errors, and a page on which the characters can be surely read on the index image is selected as a list print target. Easy to print list.

つぎに、請求項8に記載の印刷装置は、インデックス画像作成手段によって作成された一覧印刷対象のページに対応するインデックス画像に、当該ページに関するページ情報の画像を付加するページ情報付加手段を更に備えることを特徴とする。なお、ページ情報とは、一覧印刷されたインデックス画像がどのページに対応するのかを特定可能な情報である。   Next, the printing apparatus according to claim 8 further includes page information adding means for adding an image of page information related to the page to the index image corresponding to the list printing target page created by the index image creating means. It is characterized by that. Note that the page information is information that can specify which page the index image printed in a list corresponds to.

このようにすることで、一覧印刷されたインデックス画像が文書ファイルのどのページに対応するのかが、ユーザに一目で分かるようなる。特に、一覧印刷の対象として予め決められたページでエラーが発生した場合、代替として選択された一覧印刷対象のページがどのページであるかをユーザが知ることができ、便利である。   In this way, the user can know at a glance which page of the document file the index image printed in a list corresponds to. In particular, when an error occurs in a page that is predetermined as a list printing target, the user can know which page is the list printing target page selected as an alternative, which is convenient.

また、請求項9に記載のように、一覧印刷対象のページにページ情報に相当する内容が含まれているか否かを判断するページ情報判断手段を更に備え、ページ情報付加手段は、ページ情報判断手段によりページ情報に相当する内容が含まれていないと判断した場合、当該ページに対応するインデックス画像にページ情報を付加する一方、ページ情報に相当する内容が含まれていると判断した場合、当該ページに対応するインデックス画像にページ情報を付加しないように構成するとよい。   In addition, according to a ninth aspect of the present invention, the information processing apparatus further comprises page information determination means for determining whether or not the page to be printed in a list includes contents corresponding to the page information, and the page information addition means includes the page information determination When it is determined by the means that the content corresponding to the page information is not included, the page information is added to the index image corresponding to the page, while when the content corresponding to the page information is determined to be included, It is preferable that the page information is not added to the index image corresponding to the page.

つぎに、請求項10に記載のプログラムは、文字情報又は画像情報の少なくとも一方を含む文書からなる1つのファイルに含まれる複数のページのうち、記憶手段に記憶されているインデックス画像の作成時に生じるエラーの要因を含まない1ページを一覧印刷対象として選択するページ選択手順と、選択された一覧印刷対象のページに対応するインデックス画像を作成するインデックス画像作成手順と、作成された複数のファイルに対応する各インデックス画像を一覧にして印刷出力する出力手順とをコンピュータに実行させることを特徴とする。   Next, the program according to claim 10 is generated at the time of creating an index image stored in a storage unit among a plurality of pages included in one file including a document including at least one of character information and image information. Supports a page selection procedure for selecting one page that does not contain an error cause as a list print target, an index image creation procedure for creating an index image corresponding to the selected list print target page, and multiple files created And causing the computer to execute an output procedure for printing each index image as a list.

このように構成されたプログラムを、印刷装置が備えるコンピュータへ導入することで、請求項1に記載の印刷装置と同様の効果を得ることができる。また、本プログラムを印刷装置が接続されるPCに導入することで、PC上で機能するアプリケーションとして利用することも可能である。   By introducing the program configured as described above into a computer included in the printing apparatus, the same effect as that of the printing apparatus according to claim 1 can be obtained. In addition, by installing this program in a PC to which a printing apparatus is connected, the program can be used as an application that functions on the PC.

以下、本発明の一実施形態を図面に基づいて説明する。
[印刷装置1の構成の説明]
図1は、本発明の一実施形態である印刷装置1、及び印刷装置1に接続されたパーソナルコンピュータ(以下、PC)100の概略構成を示すブロック図である。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[Description of Configuration of Printing Apparatus 1]
FIG. 1 is a block diagram illustrating a schematic configuration of a printing apparatus 1 and a personal computer (hereinafter, PC) 100 connected to the printing apparatus 1 according to an embodiment of the present invention.

印刷装置1は、記録用紙に画像を印刷するプリンタ機能、記録用紙に記録された画像を走査して読み込んだ情報を電子化するスキャナ機能、原稿から読み込んだ画像を記録用紙に複写するコピー機能等の機能を備える多目的複合機である。印刷装置1は、図1に示すように、CPU10、ROM12、RAM14、データ入力部16、操作部18、表示部20、印刷部22、読取部24、及び通信インタフェース(以下、通信I/F)26等を備えている。   The printing apparatus 1 includes a printer function for printing an image on a recording sheet, a scanner function for digitizing information read by scanning an image recorded on the recording sheet, a copy function for copying an image read from a document onto the recording sheet, and the like. This is a multi-purpose multifunction machine with the functions of As shown in FIG. 1, the printing apparatus 1 includes a CPU 10, a ROM 12, a RAM 14, a data input unit 16, an operation unit 18, a display unit 20, a printing unit 22, a reading unit 24, and a communication interface (hereinafter referred to as communication I / F). 26 etc.

CPU10は、ROM12に記憶されたプログラムやデータに従って各種演算を実行する装置であり、上述のプリンタ機能、スキャナ機能、コピー機能等の各種機能に係る演算処理はこのCPU10によって実行される。   The CPU 10 is a device that executes various calculations according to programs and data stored in the ROM 12, and the CPU 10 executes calculation processes related to various functions such as the printer function, the scanner function, and the copy function described above.

ROM12は、印刷装置1の電源を切っても記憶内容を保持する記憶装置で、上述のプリンタ機能、スキャナ機能、コピー機能を制御するためのプログラムや通常であれば更新されない読み出し専用のデータ等を記憶している。   The ROM 12 is a storage device that retains stored contents even when the printing apparatus 1 is turned off. The ROM 12 stores programs for controlling the above-described printer function, scanner function, copy function, and read-only data that is not normally updated. I remember it.

RAM14は、CPU10から直接アクセスされるメインメモリとして利用される記憶装置である。このRAM14には、CPU10で実行される各種プログラムがROM12から読み込まれ、また、CPU10による各種演算の結果や各種データも記憶される。上述の各種機能に係る演算処理を実行する際には、各処理を実行するためのプログラムがROM12からRAM14へ読み込まれる。そして、RAM14に記憶されたプログラムに従って、CPU10が処理を実行することになる。   The RAM 14 is a storage device used as a main memory that is directly accessed from the CPU 10. In the RAM 14, various programs executed by the CPU 10 are read from the ROM 12, and various calculation results and various data by the CPU 10 are also stored. When executing the arithmetic processing related to the various functions described above, a program for executing each processing is read from the ROM 12 into the RAM 14. And according to the program memorize | stored in RAM14, CPU10 will perform a process.

データ入力部16は、フラッシュメモリを内蔵した可搬型記憶媒体であるメモリカード28を接続するためのコネクタを備え、メモリカード28に対してデータを読み書きするリーダ/ライタとしての機能を有する。   The data input unit 16 includes a connector for connecting a memory card 28 that is a portable storage medium incorporating a flash memory, and has a function as a reader / writer for reading and writing data from and to the memory card 28.

操作部18は、テンキーや文字キー、ファンクションキー等のキースイッチ群を備え、ユーザによるキー操作に応じた指令をCPU10へ入力する。表示部20は、液晶ディスプレイ等で構成された出力装置であり、印刷装置1の動作状態や操作ガイダンス、ファイルの縮小画像等の各種情報を表示する。   The operation unit 18 includes a group of key switches such as a numeric keypad, character keys, and function keys, and inputs a command corresponding to a key operation by the user to the CPU 10. The display unit 20 is an output device configured with a liquid crystal display or the like, and displays various information such as an operation state of the printing apparatus 1, operation guidance, and a reduced image of a file.

印刷部22は、CPU10からの制御に基づいて、例えばインクジェット方式あるいはレーザ方式等により、記録用紙に画像を印刷する装置である。読取部24は、記録用紙に記録された画像を走査し、読み込んだ画像をデジタルデータに変換してCPU10へ入力する装置である。   The printing unit 22 is an apparatus that prints an image on a recording sheet based on control from the CPU 10 by, for example, an inkjet method or a laser method. The reading unit 24 is a device that scans an image recorded on a recording sheet, converts the read image into digital data, and inputs the digital data to the CPU 10.

通信I/F26は、印刷装置1と他の情報処理装置等を接続するためのハードウェアインタフェースであり、例えば、USB(Universal Serial Bus)等のリシアルバスやネットワークアダプタ等が用いられる。なお、図1においては、この通信I/F26を介して印刷装置1とPC100とが通信可能に接続された状態を示している。   The communication I / F 26 is a hardware interface for connecting the printing apparatus 1 to another information processing apparatus and the like. For example, a serial bus such as a USB (Universal Serial Bus), a network adapter, or the like is used. FIG. 1 shows a state where the printing apparatus 1 and the PC 100 are communicably connected via the communication I / F 26.

一方、PC100の構成は、周知のコンピュータ装置と同一であり、液晶ディスプレイ等で構成された表示部102、マウス及びキーボード等により構成される操作部104、各種演算処理を行うCPU106、IPLやBIOSといった一部のプログラムや読み出し専用のデータ等を記憶するROM108、CPU106から直接アクセスされるメインメモリであるRAM110、OSやアプリケーションプログラム、各種データファイルを保存しておくための補助記憶装置であるハードディスクドライブ(以下、HDD)112、PC1にプリンタやその他周辺機器を接続したり、PC1をネットワークへ接続するためのハードウェアインタフェースである通信I/F114等を備える。   On the other hand, the configuration of the PC 100 is the same as that of a known computer device, such as a display unit 102 configured with a liquid crystal display or the like, an operation unit 104 configured with a mouse and a keyboard, a CPU 106 performing various arithmetic processes, an IPL, a BIOS, and the like. ROM 108 that stores some programs, read-only data, and the like, RAM 110 that is a main memory that is directly accessed from the CPU 106, and a hard disk drive that is an auxiliary storage device for storing OS, application programs, and various data files , HDD) 112, and a communication I / F 114, which is a hardware interface for connecting a printer and other peripheral devices to the PC 1, and connecting the PC 1 to a network.

本実施形態の印刷装置1は、PC100の周辺機器として入力された印刷データに基づく印刷を実行する機能の他、デジタルカメラ等で利用されるメモリカード28をデータ入力部16に接続し、そのメモリカード28からデータを直接読み出して印刷する、いわゆるダイレクト印刷機能を備える。また、このダイレクト印刷に関連する機能として、メモリカード28に記憶されている複数の文書ファイル(例えば、PDF(Portable Document Format)形式のファイル等)から、それぞれのファイルに対応するインデックス画像作成し、そのインデックス画像を一覧印刷する。このとき、通常では、1つのファイルに含まれる複数のページのうち先頭ページを一覧印刷の対象として選択し、この先頭ページのインデックス画像を作成して一覧印刷を行う。また、印刷装置1のCPU10は、本発明における特徴的な処理として、一覧印刷の対象である先頭ページに対応するインデックス画像の作成時にエラーが生じた場合に、当該エラーに該当しない別のページを一覧印刷の対象として選択してインデックス画像の作成を行う処理を実行する。   The printing apparatus 1 of the present embodiment connects a memory card 28 used in a digital camera or the like to the data input unit 16 in addition to a function of executing printing based on print data input as a peripheral device of the PC 100, and the memory A so-called direct printing function for directly reading and printing data from the card 28 is provided. Further, as a function related to this direct printing, an index image corresponding to each file is created from a plurality of document files (for example, PDF (Portable Document Format) files etc.) stored in the memory card 28, A list of the index images is printed. At this time, usually, the first page among a plurality of pages included in one file is selected as a list printing target, and an index image of the first page is created to perform list printing. In addition, as a characteristic process in the present invention, when an error occurs when the index image corresponding to the first page that is the target of list printing is generated, the CPU 10 of the printing apparatus 1 selects another page that does not correspond to the error. A process for creating an index image by selecting it as a list printing target is executed.

[一覧印刷処理の説明]
つぎに、上述の一覧印刷の事例について図2に基づいて説明する。図2は、一覧印刷の手順を模式的に示す説明図である。図2に示す事例では、メモリカード28内のフォルダに格納された3つのファイル(ファイル1,ファイル2,ファイル3)のインデックス画像を印刷する場合を想定している。その手順としては、各ファイルごとにインデックス画像を順次作成し、これらのインデックス画像を記録用紙の所定の位置に配置して印刷する。ここでは、一覧印刷の対象のファイルに含まれる複数のページのうち、先頭ページをインデックス画像作成の対象とするのを原則とする。その一方で、先頭ページのインデックス画像を作成する際にエラーが発生した場合、先頭ページの代わりに、そのエラーの要因に該当しない別のページのインデックス画像を作成する。図2に示す事例では、ファイル1,ファイル2については先頭ページのインデックス画像を作成しているが、ファイル3については先頭ページのインデックス画像の作成でエラーが発生しており、そのため別のページからインデックス画像を作成して、ファイルの一覧を印刷している。
[Description of list print processing]
Next, an example of the above list printing will be described with reference to FIG. FIG. 2 is an explanatory diagram schematically showing the procedure of list printing. In the example shown in FIG. 2, it is assumed that index images of three files (file 1, file 2, and file 3) stored in a folder in the memory card 28 are printed. As the procedure, index images are sequentially created for each file, and these index images are arranged at predetermined positions on a recording sheet and printed. Here, as a general rule, the first page among a plurality of pages included in the list printing target file is the index image creation target. On the other hand, if an error occurs when creating the index image of the first page, an index image of another page not corresponding to the cause of the error is created instead of the first page. In the example shown in FIG. 2, an index image of the first page is created for files 1 and 2, but an error has occurred in the creation of the index image of the first page for file 3, so that from another page An index image is created and a list of files is printed.

[インデックス画像作成処理の説明]
つぎに、上述の一覧印刷の過程において、個々のファイルからインデックス画像を作成する手順の詳細な内容を、図3,4のフローチャート及び図5,6の説明図に基づいて説明する。
[Description of index image creation processing]
Next, detailed contents of the procedure for creating an index image from each file in the above-described list printing process will be described with reference to the flowcharts of FIGS. 3 and 4 and the explanatory diagrams of FIGS.

図3は、印刷装置1のCPU10が実行するインデックス画像作成処理の手順を示すフローチャートである。この処理は、一覧印刷の対象となる個々のファイルに対して、それぞれ実行される処理である。   FIG. 3 is a flowchart illustrating a procedure of index image creation processing executed by the CPU 10 of the printing apparatus 1. This process is a process that is executed for each file that is the target of list printing.

CPU10は、まず、ファイルの先頭ページを処理対象にセットする(S100)。つぎに、セットした処理対象のページに含まれる文字データや画像データを変換して、当該ページのインデックス画像の印刷データを作成し、当該ページを処理済と設定する(S110)。ここで、処理対象のページのインデックス画像を作成した際にエラーが発生したか否かを判定し(S120)、エラーが発生したと判定した場合(S120:YES)、S130のエラー要因記憶処理を実行する。   The CPU 10 first sets the first page of the file as a processing target (S100). Next, the character data and image data included in the set processing target page are converted to create print data of the index image of the page, and the page is set as processed (S110). Here, it is determined whether or not an error has occurred when the index image of the processing target page is created (S120). If it is determined that an error has occurred (S120: YES), the error factor storage process of S130 is performed. Execute.

ここで、S130のエラー要因記憶処理の詳細な内容について、図4に基づき説明する。図4は、印刷装置1のCPU10が実行するエラー要因記憶処理の手順を示すフローチャートである。   Here, the detailed contents of the error factor storage process in S130 will be described with reference to FIG. FIG. 4 is a flowchart illustrating a procedure of error factor storage processing executed by the CPU 10 of the printing apparatus 1.

エラー要因記憶処理では、まず、発生したエラーの要因がフォントエラーであるか否かを判定する(S131)。ここで、フォントエラーとは、処理対象のページに含まれている文字に使用されているフォントが印刷装置1ではサポートされておらず、その文字を正しく印刷できない状態であることを示すエラーである。   In the error factor storage process, first, it is determined whether or not the cause of the generated error is a font error (S131). Here, the font error is an error indicating that the font used for the character included in the processing target page is not supported by the printing apparatus 1 and the character cannot be printed correctly. .

エラー要因がフォントエラーであると判定した場合(S131:YES)、当該エラーとなったフォントをエラー要因としてRAM14に記憶し(S132)、エラー要因記憶処理を終了する。   If it is determined that the error factor is a font error (S131: YES), the error font is stored in the RAM 14 as an error factor (S132), and the error factor storage process is terminated.

一方、エラー要因がフォントエラーではないと判定した場合(S131:NO)、エラー要因が画像エラーであるか否かを判定する(S133)。ここで、画像エラーとは、そのページに含まれる画像のデータ形式が印刷装置1ではサポートされておらず、その画像を正しく印刷できない状態や、ページに含まれる画像のサイズが、印刷データを展開するためのメモリ容量に対して過大であり、その画像を印刷できない状態であることを示すエラーである。   On the other hand, when it is determined that the error factor is not a font error (S131: NO), it is determined whether the error factor is an image error (S133). Here, the image error means that the data format of the image included in the page is not supported by the printing apparatus 1, and the state in which the image cannot be printed correctly or the size of the image included in the page expands the print data. This is an error indicating that the memory capacity is too large to print and the image cannot be printed.

エラー要因が画像エラーであると判定した場合(S133:YES)、当該エラーとなった画像をエラー要因としてRAM14に記憶する(S134)。一方、エラー要因が画像エラーではないと判定した場合(S133:NO)、エラー要因記憶処理を終了する。   When it is determined that the error factor is an image error (S133: YES), the image having the error is stored in the RAM 14 as an error factor (S134). On the other hand, if it is determined that the error factor is not an image error (S133: NO), the error factor storage process is terminated.

つぎに、S135では、印刷実行時に生成される印刷データを記憶するためのメモリがフルの状態であるか否かを判定する(S135)。メモリがフルの状態であると判定した場合(S135:YES)、S133でエラー要因となった画像エラーの画像のサイズをRAM14に記憶し(S136)、エラー要因記憶処理を終了する。一方、メモリがフルの状態ではないと判定した場合(S135:NO)、例えば、エラー要因となった画像そのものに原因があった場合には、エラー要因記憶処理を終了する。   Next, in S135, it is determined whether or not the memory for storing the print data generated at the time of printing is full (S135). If it is determined that the memory is full (S135: YES), the image size of the image error that caused the error in S133 is stored in the RAM 14 (S136), and the error factor storage process is terminated. On the other hand, when it is determined that the memory is not full (S135: NO), for example, when there is a cause in the image that has caused the error, the error factor storage process is terminated.

図3のフローチャート説明に戻る。S130のエラー要因記憶処理でエラー要因の特定・記憶を行った後、当該ファイルに含まれるページのうち、未処理のページがあるか否かを判定し(S140)、未処理のページがあると判定した場合(S140:YES)、処理したページの数が所定の限度数を超えたか否かを判定する(S150)。処理ページ数が限度数を超えていないと判定した場合(S150:NO)、当該ファイルに含まれるページのうち、未処理のページ中から次の処理対象のページを選択し、処理対象にセットする(S160)。   Returning to the flowchart of FIG. After identifying and storing the error factor in the error factor storage process of S130, it is determined whether there is an unprocessed page among the pages included in the file (S140). If it is determined (S140: YES), it is determined whether the number of processed pages exceeds a predetermined limit number (S150). When it is determined that the number of processed pages does not exceed the limit number (S150: NO), the next page to be processed is selected from the unprocessed pages among the pages included in the file and set as the target for processing. (S160).

ここで、次の処理対象のページを選択する際の具体的な手順を図5に基づき説明する。図5は、目次データが付属するファイルの文書から処理対象のページを選択する手順を示す説明図である。   Here, a specific procedure for selecting the next page to be processed will be described with reference to FIG. FIG. 5 is an explanatory diagram showing a procedure for selecting a page to be processed from a document of a file attached with table of contents data.

図5(a)は、目次データが付属するファイルの構造を模式的に示す図である。このファイルには、ファイルの本体データであるところの文書データに加え、目次データが付属している。目次データとは、文書ファイルの本体データに付随して、その文書の見出しが記載された目次等の情報を保持する属性データであり、例えばアプリケーション上で文書の概要等を取得する際に用いられるものである。   FIG. 5A is a diagram schematically showing the structure of a file to which table of contents data is attached. This file is accompanied by table of contents data in addition to the document data which is the main data of the file. The table of contents data is attribute data that retains information such as a table of contents in which the headline of the document is written along with the body data of the document file, and is used when, for example, obtaining an outline of the document on the application. Is.

目次データが付属するファイルから処理対象のページを選択するには、まず、目次データから文書の見出し情報を取得する(1)。つぎに、その取得した見出し情報で示される見出し文が含まれるページを、ファイルの文書データから探索する(2)。そして、その探索の結果、見出し文が含まれる1つのページを取得して次の処理対象として選択する(3)。なお、見出し文が含まれるページが複数存在する場合、例えばページ番号が若いものを優先して選択する。また、ファイルに目次データが付属していない場合は、未処理のページのうち、ページ番号が若いものから順に処理対象に選択する。   To select a page to be processed from a file with table of contents data attached, first, document heading information is acquired from the table of contents data (1). Next, a page including the headline sentence indicated by the acquired headline information is searched from the document data of the file (2). As a result of the search, one page including the headline is acquired and selected as the next processing target (3). When there are a plurality of pages including a headline sentence, for example, a page with a lower page number is selected with priority. When the table of contents data is not attached to the file, the unprocessed pages are selected as the processing target in order from the page with the smallest page number.

図5(b)は、処理対象として選択されたページの一例を示す図である。このページには、目次データに含まれる見出し情報に対応する見出しが記載されており、ユーザにとって文書の内容が良く分かるようになっている。この選択された処理対象のページに対して、後述のS170及びS180において、エラー要因の有無や他の選定条件との適否が判定される(4)。   FIG. 5B is a diagram illustrating an example of a page selected as a processing target. On this page, a headline corresponding to the headline information included in the table of contents data is described so that the user can easily understand the contents of the document. In S170 and S180, which will be described later, the presence or absence of an error factor and suitability with other selection conditions are determined for the selected processing target page (4).

図3のフローチャートの説明に戻る。S160で次の処理対象のページを選択した後、この処理対象のページが、RAM14に記憶されているエラー要因に該当するか否かを判定する(S170)。すなわち、上述のエラー要因記憶処理(図4参照)でRAM14に記憶されたエラー要因(フォントエラー又は画像エラー)と同一のエラー要因が処理対象のページに含まれているか否かを判定する。ここで、処理対象のページがRAM14に記憶されているエラー要因に該当しないと判定した場合(S170:NO)、さらに、当該ページを一覧印刷の対象として選定するための他の選定条件に適合するか否かを判定する(S180)。   Returning to the flowchart of FIG. After selecting the next page to be processed in S160, it is determined whether this page to be processed corresponds to the error factor stored in the RAM 14 (S170). That is, it is determined whether or not the page to be processed includes the same error factor as the error factor (font error or image error) stored in the RAM 14 in the error factor storage process (see FIG. 4). Here, when it is determined that the page to be processed does not correspond to the error factor stored in the RAM 14 (S170: NO), it further satisfies other selection conditions for selecting the page as a list printing target. It is determined whether or not (S180).

より具体的には、当該ページを一覧印刷の対象として選定するため条件として、(1)当該ページに含まれている画像のデータ量が基準量以下(画像なしも含む)であること、(2)文書内の文字や画像の構造を定義するコマンドの数が基準値以下であること、(3)当該ページに含まれている文字の大きさが基準値以上であること、などといった選定条件を適用する。このうち、(1),(2)の選定条件は、インデックス画像の作成に係る処理負荷を軽減し、一覧印刷を高速に行うことができるページを選定することを重視した選定条件である。一方、(3)の選定条件は、一覧印刷されたインデックス画像における文字の見易さを重視した選定条件である。なお、これら(1)〜(3)の選定条件をS180の処理に全て適用してもよいし、一部のみを適用するように構成してもよい。また、選定条件(1)におけるデータの基準量や、選定条件(2)におけるコマンド数の基準値は、印刷装置1の処理能力に応じて固定の値を用いてもよいし、実時間における処理負荷に応じて各基準値を許容される範囲で動的に決定するような構成であってもよい。   More specifically, conditions for selecting the page as a list printing target are as follows: (1) The data amount of the image included in the page is equal to or less than a reference amount (including no image); (2 ) Selection conditions such as the number of commands that define the structure of characters and images in the document are below the reference value, and (3) the size of the characters included in the page are above the reference value. Apply. Among these, the selection conditions (1) and (2) are selection conditions that place emphasis on selecting pages that can reduce the processing load related to creation of index images and perform list printing at high speed. On the other hand, the selection condition (3) is a selection condition that places emphasis on the legibility of characters in the index image printed in a list. Note that all of the selection conditions (1) to (3) may be applied to the processing of S180, or only a part may be applied. Further, as the reference amount of data in the selection condition (1) and the reference value of the number of commands in the selection condition (2), a fixed value may be used according to the processing capability of the printing apparatus 1, or processing in real time. A configuration in which each reference value is dynamically determined within an allowable range according to the load may be employed.

S180で、当該ページが選定条件に適合すると判定した場合(S180:YES)、S110の処理へ移行し、当該処理対象のページに含まれる文字データや画像データを変換して、当該ページのインデックス画像の印刷データを作成する。   If it is determined in S180 that the page meets the selection conditions (S180: YES), the process proceeds to S110, character data and image data included in the page to be processed are converted, and the index image of the page is converted. Create print data.

一方、S170で、処理対象のページがRAM14に記憶されているエラー要因に該当すると判定した場合(S170:YES)、あるいは、S180で、処理対象のページが選定条件に適合しないと判定した場合(S180:NO)、当該ページを処理済と設定し、S140の処理へ戻る。そして、S140で、未処理のページが存在しないと判定した場合(S140:NO)、あるいは、S150で処理ページ数が限度数を超えたと判定した場合(S150:YES)、予め用意されている代替画像の描画データを印刷用メモリに展開し(S210)、インデックス画像作成処理を終了する。この場合、代替画像が当該ファイルのインデックスイメージとして一覧印刷されることになる。なお、代替画像としては、例えば、ファイルのデータ形式(例えばPDF等)を示すシンボルを用いることが考えられる。   On the other hand, if it is determined in S170 that the page to be processed corresponds to the error factor stored in the RAM 14 (S170: YES), or if it is determined in S180 that the page to be processed does not meet the selection conditions ( (S180: NO), the page is set as processed, and the process returns to S140. If it is determined in S140 that there is no unprocessed page (S140: NO), or if it is determined in S150 that the number of processed pages exceeds the limit (S150: YES), an alternative prepared in advance The drawing data of the image is developed in the printing memory (S210), and the index image creation process is terminated. In this case, the substitute image is printed as a list as an index image of the file. As the substitute image, for example, a symbol indicating a file data format (for example, PDF) may be used.

一方、S110でインデックス画像を作成した際、エラーが発生していないと判定した場合(S120:NO)、当該処理対象のページが先頭ページであるか否かを判定する(S190)。処理対象のページが先頭ページであると判定した場合(S190:YES)、インデックス画像作成処理を終了する。この場合、S110で作成されたインデックス画像がそのまま当該ファイルのインデックスイメージとして一覧印刷されることになる。   On the other hand, when it is determined that no error has occurred when the index image is created in S110 (S120: NO), it is determined whether or not the page to be processed is the first page (S190). When it is determined that the page to be processed is the first page (S190: YES), the index image creation process ends. In this case, the index image created in S110 is printed as a list as the index image of the file as it is.

一方、処理対象のページが先頭ページではないと判定した場合(S190:NO)、S110で作成したインデックス画像上に、ページ番号等を示すページ情報を付加し(S200)、インデックス画像作成処理を終了する。この場合、S110で作成されたインデックス画像にページ情報が追加された画像が、当該ファイルのインデックスイメージとして一覧印刷されることになる。   On the other hand, when it is determined that the page to be processed is not the first page (S190: NO), page information indicating a page number or the like is added to the index image created in S110 (S200), and the index image creation process is terminated. To do. In this case, an image in which page information is added to the index image created in S110 is printed as a list as an index image of the file.

ここで、インデックス画像上にページ情報を追加する手順を図6に基づき説明する。図6に示すように、(a)のファイルに含まれる複数のページのうち、先頭ページ以外の処理対象のページ(b)からインデックス画像を作成した場合、当該ページのヘッダーあるいはフッター部分にページ番号等のページ情報が記載されていなければ、インデックス画像上のフッター部分にページ番号等のページ情報を付加する。図6(d)は、ページ情報が付加されたインデックス画像の一例である。   Here, a procedure for adding page information on the index image will be described with reference to FIG. As shown in FIG. 6, when an index image is created from a page (b) to be processed other than the first page among a plurality of pages included in the file (a), a page number is displayed in the header or footer portion of the page. If the page information such as page number is not described, the page information such as the page number is added to the footer portion on the index image. FIG. 6D is an example of an index image to which page information is added.

一方、処理対象のページのヘッダーあるいはフッター部分にページ情報が元々記載されている場合、インデックス画像上にページ情報は付加しない。すなわち、図6(e)に示すように、作成したインデックス画像をそのまま一覧印刷する。   On the other hand, when the page information is originally described in the header or footer portion of the page to be processed, the page information is not added on the index image. That is, as shown in FIG. 6E, the created index images are printed as a list as they are.

[効果]
実施形態の印刷装置1によれば、以下のような効果を奏する。
(1)ファイルのインデックス画像を一覧印刷する際、初期印刷対象である先頭ページのインデックス画像を作成する際にエラーが発生しても、そのエラーの要因を含まない別のページを代替に一覧印刷を遂行できるので好適である。
[effect]
The printing apparatus 1 according to the embodiment has the following effects.
(1) When printing an index image of a file as a list, even if an error occurs when creating an index image of the first page that is the initial print target, another page that does not include the cause of the error is printed as a list Is preferable.

(2)エラーが発生したページの代わりに、ファイルに付属する目次データに記録されている見出しが文書内に含まれているページを一覧印刷の対象に選択する。このようにすることで、そのページに対応するインデックス画像に記録されている見出しをユーザが読めば、ユーザはその文書ファイルの内容を一目で類推することができるので、便利である。   (2) Instead of the page in which an error has occurred, a page in which a headline recorded in the table of contents data attached to the file is included in the document is selected as a list print target. In this way, if the user can read the headline recorded in the index image corresponding to the page, the user can estimate the contents of the document file at a glance, which is convenient.

(3)エラーが発生したページの代わりに、印刷装置の処理能力の面で許容される範囲のデータ量の画像を含むページを一覧印刷対象に選択する。このようにすることで、インデックス画像の作成に係る処理負荷を軽減でき、一覧印刷を高速に行うことができるようになる。あるいは、画像が全く含まれない、すなわち文字だけのページを一覧印刷対象に選択するようにして、インデックス画像の作成に係る処理負荷の軽減を徹底することもできる。   (3) Instead of the page in which an error has occurred, a page including an image having an amount of data in a range allowed in terms of processing capability of the printing apparatus is selected as a list print target. By doing so, it is possible to reduce the processing load related to the creation of the index image and to perform list printing at high speed. Alternatively, it is possible to thoroughly reduce the processing load related to the creation of the index image by selecting a page that contains no images, that is, only characters, as a list print target.

(4)エラーが発生したページの代わりに、文書内の文字や画像の構造を定義するコマンドの数が基準値以下であるページを一覧印刷の対象として選択することで、インデックス画像の作成に係る処理負荷を軽減できる。   (4) Instead of the page in which an error has occurred, by selecting a page whose number of commands defining the character and image structure in the document is equal to or less than the reference value as a list print target, The processing load can be reduced.

(5)エラーが発生したページの代わりに、ページに含まれている文字の大きさが基準値以上であるページを一覧印刷対象として選択することで、エラーを回避して確実にインデックス画像を印刷可能にすると共に、ユーザにとって閲覧しやすい一覧印刷を実現できる。   (5) Instead of the page where the error occurred, select the page whose character size included in the page is greater than or equal to the reference value as the list print target, and print the index image reliably avoiding the error This makes it possible to realize list printing that is easy for the user to view.

(6)先頭ページの代替として選択したページに対応するインデックス画像に、当該ページに関するページ情報の画像を付加することで、一覧印刷されたインデックス画像が文書ファイルのどのページに対応するのかがユーザに一目で分かるようなり、便利である。   (6) By adding an image of page information related to the page to the index image corresponding to the page selected as an alternative to the first page, the user can determine which page of the document file the index image printed as a list corresponds to. It becomes convenient at a glance and is convenient.

(7)エラーが発生したページ数が所定数に達した場合には、他の未処理ページを対象ページにしてインデックス画像の生成を行うのではなく、代替画像の描画データを展開するため、そのファイルに対するインデックス画像の生成により、一覧印刷の処理が遅くなるのを防止できる。   (7) When the number of pages in which an error has occurred reaches a predetermined number, the index image is not generated using another unprocessed page as the target page, but instead the drawing data of the substitute image is developed. The generation of the index image for the file can prevent the list printing process from being delayed.

[変形例]
以上、本発明の実施形態について説明したが、本発明は上記の実施形態に何ら限定されるものではなく、様々な態様にて実施することが可能である。
[Modification]
As mentioned above, although embodiment of this invention was described, this invention is not limited to said embodiment at all, It is possible to implement in various aspects.

例えば、上記実施形態においては、印刷装置1におけるダイレクト印刷機能によってファイルの一覧印刷を実行する事例について説明した。これに対し、印刷装置1に接続されたPC100上で機能するアプリケーションソフトウェアとして、上記実施形態における一覧印刷機能をPC100に実装してもよい。この場合、PC100のCPU106が複数のファイルからそれぞれインデックス画像を作成し、そのインデックス画像の一覧を印刷装置1に対して印刷させるような構成となる。   For example, in the above-described embodiment, an example in which file list printing is executed by the direct printing function in the printing apparatus 1 has been described. On the other hand, the list printing function in the above embodiment may be installed in the PC 100 as application software that functions on the PC 100 connected to the printing apparatus 1. In this case, the CPU 106 of the PC 100 creates an index image from each of a plurality of files and causes the printing apparatus 1 to print a list of the index images.

また、インデックス画像を作成する手順において、まず先頭ページを処理対象のページにセットしたが、これに限らず、例えば、どのページをインデックス画像の処理対象のページにするかが予めファイルの中に定義されていてもよい。   In the procedure for creating an index image, the first page is first set as a page to be processed. However, the present invention is not limited to this. For example, it is defined in advance in the file which page is to be processed as an index image. May be.

また、エラー要因をファイルごとに記憶しているが、過去に処理を行った際に発生したエラー要因を蓄積しておき、他のファイルを処理する際に、この蓄積したエラー要因を利用して、処理対象となるページにエラー要因が含まれているかを判断してもよい。   Also, error factors are stored for each file, but error factors that occurred when processing was performed in the past are stored, and when processing other files, these accumulated error factors are used. Further, it may be determined whether or not an error factor is included in the page to be processed.

また、無条件に先頭ページを処理対象のページにするのではなく、先頭ページに対し、まず、エラー要因の有無や選定条件に適合する否かの判定を行い、エラー要因がなく、選定条件に適合する場合に、その先頭ページを処理対象のページとしてもよい。   Also, instead of unconditionally setting the first page as the processing target page, the first page is first checked for the presence or absence of error factors and whether or not the selection conditions are met. If it matches, the first page may be the page to be processed.

印刷装置1及びPC100の概略構成を示すブロック図である。2 is a block diagram illustrating a schematic configuration of the printing apparatus 1 and a PC 100. FIG. 一覧印刷の手順を模式的に示す説明図である。It is explanatory drawing which shows the procedure of list printing typically. インデックス画像作成処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of an index image creation process. エラー要因記憶処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of an error factor memory | storage process. 目次データが付属するファイルの文書データから処理対象のページを選択する手順を示す説明図である。It is explanatory drawing which shows the procedure which selects the page for processing from the document data of the file to which table of contents data is attached. インデックス画像上にページ情報を追加する手順を模式的に示す説明図である。It is explanatory drawing which shows typically the procedure which adds page information on an index image.

符号の説明Explanation of symbols

1…印刷装置、10…CPU、12…ROM、14…RAM、16…データ入力部、18…操作部、20…表示部、22…印刷部、24…読取部、26…通信I/F、28…メモリカード、100…PC、102…表示部、104…操作部、106…CPU、108…ROM、110…RAM、112…HDD、114…通信I/F DESCRIPTION OF SYMBOLS 1 ... Printing apparatus, 10 ... CPU, 12 ... ROM, 14 ... RAM, 16 ... Data input part, 18 ... Operation part, 20 ... Display part, 22 ... Printing part, 24 ... Reading part, 26 ... Communication I / F, 28 ... Memory card, 100 ... PC, 102 ... Display unit, 104 ... Operation unit, 106 ... CPU, 108 ... ROM, 110 ... RAM, 112 ... HDD, 114 ... Communication I / F

Claims (10)

文字情報又は画像情報の少なくとも一方を含む文書からなる複数のファイルから、個々のファイルに含まれる任意のページに対応するインデックス画像の一覧を印刷出力する印刷装置であって、
前記インデックス画像の作成時に生じるエラーの要因を記憶する記憶手段と、
1つのファイルに含まれる複数のページのうち、前記記憶手段に記憶されているエラーの要因を含まないページを一覧印刷対象として選択するページ選択手段と、
前記ページ選択手段により選択された一覧印刷対象のページに対応するインデックス画像を作成するインデックス画像作成手段と、
前記インデックス画像作成手段により作成された各ファイルに対応するインデックス画像を一覧にして印刷出力する出力手段とを備えること
を特徴とする印刷装置。
A printing apparatus that prints out a list of index images corresponding to arbitrary pages included in individual files from a plurality of files including documents including at least one of character information and image information,
Storage means for storing a factor of an error that occurs during creation of the index image;
A page selection unit that selects, as a list print target, a page that does not include an error factor stored in the storage unit among a plurality of pages included in one file;
Index image creating means for creating an index image corresponding to the list printing target page selected by the page selecting means;
A printing apparatus comprising: output means for printing out a list of index images corresponding to each file created by the index image creating means.
請求項1に記載の印刷装置において、
前記インデックス画像作成手段によるインデックス画像の作成時にエラーが生じた場合、このエラーの要因を特定するエラー要因特定手段と、
前記エラー要因特定手段により特定したエラーの要因を前記記憶手段に追加記録するエラー要因記録手段とを更に備え、
前記ページ選択手段は、前記インデックス画像作成手段によるインデックス画像の作成時にエラーが生じた場合、当該ファイルに含まれる複数のページのうち、前記記憶手段に記憶されているエラーの要因を含まない別の一覧印刷対象を新たに選択すること
を特徴とする印刷装置。
The printing apparatus according to claim 1,
If an error has occurred during creation of the index image by the index image creation means, error factor identification means for identifying the cause of this error;
An error factor recording means for additionally recording the error factor specified by the error factor specifying means in the storage means;
If an error occurs during the creation of the index image by the index image creation unit, the page selection unit may include another page that does not include the error factor stored in the storage unit among the plurality of pages included in the file. A printing device characterized by newly selecting a list print target.
請求項2に記載の印刷装置において、
エラー要因の有無を判断する対象のページに前記記憶手段に記憶されているエラーの要因が含まれているか否かを判断するエラー要因判断手段を更に備え、
前記インデックス画像作成手段は、複数のページを含むファイルの中から所定の初期印刷対象のページに対応するインデックス画像の作成を実行し、
前記初期印刷対象のページに対応するインデックス画像の作成時にエラーが生じた場合、前記エラー要因判断手段は、当該ファイルにおける初期印刷対象のページとは異なるページを対象に、そのページに前記記憶手段に記憶されているエラーの要因が含まれているか否かを判断し、
前記エラー要因判断手段により、そのページにエラーの要因が含まれていると判断した場合、前記エラー要因判断手段による判断処理が行われていないページを対象に、前記エラー要因判断手段による判断処理を更に実行する一方、エラーの要因が含まれていないと判断した場合、そのページを前記ページ選択手段による一覧印刷対象として選択し、かつ、前記エラー要因判断手段による判断処理を終了すること
を特徴とする印刷装置。
The printing apparatus according to claim 2,
An error factor determination means for determining whether or not an error factor stored in the storage means is included in a page for which the presence or absence of an error factor is determined;
The index image creating means executes creation of an index image corresponding to a predetermined initial print target page from a file including a plurality of pages.
If an error occurs when creating an index image corresponding to the page to be initially printed, the error factor determination means targets a page different from the page to be initially printed in the file and stores it in the storage means. Determine whether the error factors that are stored are included,
When the error factor determining means determines that the error factor is included in the page, the error factor determining means performs the determination process on the page that has not been determined by the error factor determining means. Further, when it is determined that the error factor is not included, the page is selected as a list print target by the page selection unit, and the determination process by the error factor determination unit is terminated. Printing device to do.
請求項3に記載の印刷装置において、
前記エラー要因判断手段は、当該ファイルに付随する目次データに記録されている見出しが文書内に含まれているページを対象に、エラーの要因が含まれているか否かを判断すること
を特徴とする印刷装置。
The printing apparatus according to claim 3.
The error factor determination means determines whether or not an error factor is included in a page in which a headline recorded in the table of contents data attached to the file is included in the document. Printing device to do.
請求項1ないし請求項4の何れか1項に記載の印刷装置において、
前記ページ選択手段は、1ページに含まれている画像情報のデータ量が基準量以下であるページを一覧印刷対象として選択すること
を特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 4,
The printing apparatus according to claim 1, wherein the page selection unit selects, as a list print target, a page whose data amount of image information included in one page is equal to or less than a reference amount.
請求項1ないし請求項5の何れか1項に記載の印刷装置において、
前記ページ選択手段は、1ページ分のデータ量あるいは1ページ分のデータ量の多寡を示す所定の指標が基準値以下であるページを一覧印刷対象として選択すること
を特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 5,
The printing apparatus according to claim 1, wherein the page selection unit selects, as a list print target, a page whose predetermined index indicating a data amount for one page or a data amount for one page is equal to or less than a reference value.
請求項1ないし請求項6の何れか1に記載の印刷装置において、
前記ページ選択手段は、1ページに含まれている文字の大きさが基準値以上であるページを一覧印刷対象として選択すること
を特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 6,
The printing apparatus according to claim 1, wherein the page selection unit selects, as a list print target, a page in which the size of characters included in one page is equal to or larger than a reference value.
請求項1ないし請求項7の何れか1項に記載の印刷装置において、
前記インデックス画像作成手段によって作成された前記一覧印刷対象のページに対応するインデックス画像に、当該ページに関するページ情報の画像を付加するページ情報付加手段を更に備えること
を特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 7,
A printing apparatus, further comprising: page information adding means for adding an image of page information related to the page to the index image corresponding to the list printing target page created by the index image creating means.
請求項8に記載の印刷装置において、
前記一覧印刷対象のページに前記ページ情報に相当する内容が含まれているか否かを判断するページ情報判断手段を更に備え、
前記ページ情報付加手段は、前記ページ情報判断手段により前記ページ情報に相当する内容が含まれていないと判断した場合、当該ページに対応するインデックス画像にページ情報を付加する一方、前記ページ情報に相当する内容が含まれていると判断した場合、当該ページに対応するインデックス画像にページ情報を付加しないこと
を特徴とする印刷装置。
The printing apparatus according to claim 8, wherein
Page information determination means for determining whether or not the list printing target page includes content corresponding to the page information;
When the page information adding unit determines that the content corresponding to the page information is not included by the page information determining unit, the page information adding unit adds page information to the index image corresponding to the page, and corresponds to the page information. If it is determined that the content to be included is included, page information is not added to the index image corresponding to the page.
コンピュータが読み取り可能なプログラムであって、
文字情報又は画像情報の少なくとも一方を含む文書からなる1つのファイルに含まれる複数のページのうち、記憶手段に記憶されているインデックス画像の作成時に生じるエラーの要因を含まないページを一覧印刷対象として選択するページ選択手順と、
選択された前記一覧印刷対象のページに対応するインデックス画像を作成するインデックス画像作成手順と、
作成された複数のファイルに対応する各インデックス画像を一覧にして印刷出力する出力手順と
を前記コンピュータに実行させるためのプログラム。
A computer-readable program,
Among a plurality of pages included in one file including a document including at least one of character information and image information, pages that do not include a factor of an error that occurs at the time of creating an index image stored in the storage unit are listed as print targets. The page selection procedure to select,
An index image creation procedure for creating an index image corresponding to the selected list print target page;
A program for causing the computer to execute an output procedure for printing each index image corresponding to a plurality of created files as a list.
JP2008215410A 2008-08-25 2008-08-25 Printing apparatus and program Active JP5083119B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008215410A JP5083119B2 (en) 2008-08-25 2008-08-25 Printing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008215410A JP5083119B2 (en) 2008-08-25 2008-08-25 Printing apparatus and program

Publications (2)

Publication Number Publication Date
JP2010046985A true JP2010046985A (en) 2010-03-04
JP5083119B2 JP5083119B2 (en) 2012-11-28

Family

ID=42064485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008215410A Active JP5083119B2 (en) 2008-08-25 2008-08-25 Printing apparatus and program

Country Status (1)

Country Link
JP (1) JP5083119B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017042937A (en) * 2015-08-24 2017-03-02 富士ゼロックス株式会社 Communication system, image forming apparatus, and program

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09254503A (en) * 1996-03-25 1997-09-30 Ricoh Co Ltd Image forming device
JPH11224266A (en) * 1997-11-10 1999-08-17 Nippon Telegr & Teleph Corp <Ntt> Electronic video document preparation and utilization method and program storage medium
JP2002027363A (en) * 2000-07-04 2002-01-25 Sanyo Electric Co Ltd Thumbnail creating apparatus
JP2003229981A (en) * 2002-02-05 2003-08-15 Fuji Photo Film Co Ltd Image print system
JP2004096688A (en) * 2002-09-04 2004-03-25 Canon Inc Image forming apparatus, print control method, program, and storage medium
JP2004145568A (en) * 2002-10-23 2004-05-20 Kyocera Mita Corp Picture display program and picture display device
JP2005169844A (en) * 2003-12-11 2005-06-30 Fuji Xerox Co Ltd Image forming device and serial number addition control method
JP2005303392A (en) * 2004-04-06 2005-10-27 Murata Mach Ltd Facsimile machine
JP2008296507A (en) * 2007-06-01 2008-12-11 Brother Ind Ltd Image forming apparatus
JP2009083384A (en) * 2007-10-01 2009-04-23 Brother Ind Ltd Liquid ejector
JP2009083382A (en) * 2007-10-01 2009-04-23 Brother Ind Ltd Image forming device and image processing program

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09254503A (en) * 1996-03-25 1997-09-30 Ricoh Co Ltd Image forming device
JPH11224266A (en) * 1997-11-10 1999-08-17 Nippon Telegr & Teleph Corp <Ntt> Electronic video document preparation and utilization method and program storage medium
JP2002027363A (en) * 2000-07-04 2002-01-25 Sanyo Electric Co Ltd Thumbnail creating apparatus
JP2003229981A (en) * 2002-02-05 2003-08-15 Fuji Photo Film Co Ltd Image print system
JP2004096688A (en) * 2002-09-04 2004-03-25 Canon Inc Image forming apparatus, print control method, program, and storage medium
JP2004145568A (en) * 2002-10-23 2004-05-20 Kyocera Mita Corp Picture display program and picture display device
JP2005169844A (en) * 2003-12-11 2005-06-30 Fuji Xerox Co Ltd Image forming device and serial number addition control method
JP2005303392A (en) * 2004-04-06 2005-10-27 Murata Mach Ltd Facsimile machine
JP2008296507A (en) * 2007-06-01 2008-12-11 Brother Ind Ltd Image forming apparatus
JP2009083384A (en) * 2007-10-01 2009-04-23 Brother Ind Ltd Liquid ejector
JP2009083382A (en) * 2007-10-01 2009-04-23 Brother Ind Ltd Image forming device and image processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017042937A (en) * 2015-08-24 2017-03-02 富士ゼロックス株式会社 Communication system, image forming apparatus, and program

Also Published As

Publication number Publication date
JP5083119B2 (en) 2012-11-28

Similar Documents

Publication Publication Date Title
US8045198B2 (en) System and method for processing a change history of a PDF file
US8891125B2 (en) Method and system for automatically reducing page count in a document printing process
EP1764743A2 (en) Image display device, image display method, computer program product, and image display system
KR100788444B1 (en) Log data recording device and log data recording method
EP2161913A1 (en) Image forming apparatus and method indicating XPS file printing options not supported
JP7159608B2 (en) Operation screen display device, image processing device and program
JP4518095B2 (en) Image forming apparatus
JP4921335B2 (en) Document processing apparatus and search method
US20050254079A1 (en) Printing apparatus and method enabled to save print option and print document file
US20070257922A1 (en) Removable media device and image displaying system
KR20100074565A (en) Method for changing thumbnail, and print controling apparatus
JP4675861B2 (en) Printing apparatus, computer program for controlling printing apparatus, and method for controlling printing apparatus
JP2007329919A (en) Image forming apparatus and control method therefor
US20070288667A1 (en) Removable Media Device and Data Control Method
US20040057064A1 (en) Method to edit a document on a peripheral device
JP5083119B2 (en) Printing apparatus and program
US9280302B2 (en) Image forming apparatus that generates log image, image forming system, and non-transitory recording medium
US8253965B2 (en) Image forming apparatus
JP2009020553A (en) Device and program for managing electronic file
KR100767114B1 (en) Method for printing document with related documents and host and printer used in the same
US8896862B2 (en) Image processing apparatus, control method, and storage medium for print control using metadata
JP4605277B2 (en) Printing apparatus and program
JP2007076043A (en) Printer
JP4586839B2 (en) Image processing apparatus, printing system, and program
JP2015069414A (en) Program and information processor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120529

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120629

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 5083119

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

Year of fee payment: 3