JP2004042404A - Printer - Google Patents

Printer Download PDF

Info

Publication number
JP2004042404A
JP2004042404A JP2002202043A JP2002202043A JP2004042404A JP 2004042404 A JP2004042404 A JP 2004042404A JP 2002202043 A JP2002202043 A JP 2002202043A JP 2002202043 A JP2002202043 A JP 2002202043A JP 2004042404 A JP2004042404 A JP 2004042404A
Authority
JP
Japan
Prior art keywords
storage medium
image
scanner head
image data
free space
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.)
Pending
Application number
JP2002202043A
Other languages
Japanese (ja)
Inventor
Tatsuya Fukuda
福田 達也
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002202043A priority Critical patent/JP2004042404A/en
Publication of JP2004042404A publication Critical patent/JP2004042404A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To realize a copying function without increasing costs by utilizing a free space of a memory card in a direct printer which directly prints from the memory card and in which a scanner head can be installed. <P>SOLUTION: In the direct printer in which the scanner head can be installed, image data read by the scanner head is stored in the free space of the inserted memory card. The copying function can be realized by utilizing the free space of the memory card by deleting image data of stored data after printing the stored data by the printer. Moreover, taking the case that the free space of the memory card cannot be secured into account, image data can be stored in the free space of the memory card by dynamically changing the setting of reading by the scanner head or by compressing read image data. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は印字装置に挿入されたメモリカード等の記憶媒体上にある画像データをホストコンピュータに接続することなく直接印字できる印字装置であり、かつプリンタヘッドを交換することで、スキャナヘッドを搭載できる印字装置に関する。
【0002】
【従来の技術】
従来のホストコンピュータに接続することなく、印字装置に挿入された記憶媒体上の画像を直接印字する印字装置(以下、ダイレクトプリンタと呼ぶ)は、印字装置にコンパクトフラッシュ(登録商標)やPCMCIA等のカードスロットを備えることで、デジタルカメラ等で撮影したコンパクトフラッシュ等の着脱可能な記憶媒体をダイレクトプリンタに挿入し、その記憶媒体に記憶されている画像を印刷するものがほとんどである。さらに、入出力インタフェースを備えることで、ホストコンピュータと接続してホストコンピュータ用印字装置、外部記憶媒体の読取装置と使用できるものもある。
【0003】
また、複合機あるいはマルチファンクション機と呼ばれる印字装置で複写機能を備えるものについては、スキャナ機能、FAX機能、プリンタ機能等の複数の機能を有するものが多く、その多機能性を実現するために、印字装置上に画像処理や読み取った画像を保存するために必要となる容量の大きいメモリ、複数の機能を的確に処理するために必要な処理速度の速いCPU等を用いているため、コストが高くなり高額な装置がほとんどである。
【0004】
上記のような複数の機能を有する複合機においてコストを考慮した、特開平11−331757号公報にあるような、着脱可能な記憶媒体の空き領域を画像処理用に使用する一時的なワーク領域として利用するものも提案されている。
【0005】
【発明が解決しようとする課題】
スキャナヘッド搭載可能なダイレクトプリンタで複写機能を実現するためには、印字装置内にスキャナヘッドから読み込んだ画像データを記憶しておく十分なメモリが必要である。そのため、印字装置のコストが上がってしまい、昨今の印字装置の低価格化を考慮すると、そのような価格帯の印字装置に複写機能をもたせるのは難しい。そこで印字装置に挿入された記憶媒体を利用することにより、コストを上げることなく印字装置に複写機能をもたせ、印字装置に高付加価値を与えることが課題である。また、記憶媒体に十分な空き領域が確保できない場合を想定し、そのような状況においても複写機能を損なわないようにすることが課題である。
【0006】
【課題を解決するための手段】
上記課題を解決するために、本発明では複写機能を実現するために必要となるメモリ領域を印字装置に挿入された記憶媒体のメモリを利用することで、コストをあげることなく実現する。また、前記記憶媒体の空き領域を計算する手段と、空き領域に応じてスキャナヘッドで読み取る画像の設定を変更する手段と、読み取った画像を空き領域に応じて圧縮する手段を備えることで上記課題を解決することができる。
【0007】
【発明の実施の形態】
以下では、本発明の実施形態を具体的に説明する。
【0008】
(実施例)
従来のダイレクトプリンタは、印字するための印字部、記憶媒体上の画像データを印字部が印字を行えるように画像データを変換する画像変換部を備えている。また記憶媒体を挿入するためのカードスロットを備えている。このカードスロットはコンパクトフラッシュ、スマートメディアカードなど個々のメモリを直接差し込む形式のカードスロットや、それぞれのメモリに対応するPCMCIAアダプタを介して差し込む形式のものとがある。また、スキャナヘッドを搭載できるキャリッジを有している印字装置もあるが、そのスキャナヘッドを使用して画像を読み取るためにはホストコンピュータに接続する必要があった。
【0009】
そのため、本発明ではダイレクトプリンタに搭載されたスキャナヘッドからの画像データをダイレクトプリンタに挿入された記憶媒体に直接保存することで、ホストコンピュータを用いることなく画像を取り込むことができる。また、記憶媒体の空き容量を利用することで、ダイレクトプリンタに新たにメモリを追加することなく安価に複写機能を提供することができる。さらに、記憶媒体の空き領域が十分には確保できない場合を想定し、記憶媒体の空き領域に応じて、スキャナヘッドで読み取る際の設定を変更する方法と、読み取った画像データを圧縮する方法について以下で詳細に説明する。
【0010】
(第1の実施例)
図1は本発明の構成例を表す図である。ダイレクトプリンタ本体101は記憶媒体を差し込む記憶媒体差込口102、記憶媒体上にある画像の選択、選択された画像の枚数の指定および、印刷する画像に処理を施すための操作部103、記憶媒体上の画像の番号やプリンタの状態を表示する表示部104を備えている。また、本発明のダイレクトプリンタは、プリントヘッドを搭載するキャリッジにスキャナヘッドを搭載することが可能である。
【0011】
図2は本発明ダイレクトプリンタの内部構成例を表すブロック図である。図中の構成要素のそれぞれを以下で説明する。ダイレクトプリンタに挿入された記憶媒体上の画像をダイレクトプリンタで印刷できるように画像処理を行う画像処理部201と、ダイレクトプリンタに挿入された記憶媒体上のデータの読み書きを行う記憶媒体処理部202と、接続されたホストコンピュータとのやり取りを担う入出力インタフェース部203と、画像処理部201または接続されたホストコンピュータからの印刷データを印刷する印字部204と、印字部204内にあり、ヘッドが着脱可能で、プリントヘッドを交換しスキャナヘッドを搭載できるキャリッジ部205とを備えている。
【0012】
上記構成で、ダイレクトプリンタの操作部から、スキャナヘッドで読み込んだ画像データをダイレクトプリンタに挿入された記憶媒体に保存する手順について図3のフローチャートに基づいて説明する。
【0013】
利用者がダイレクトプリンタの操作部から、画像読み込みを行う操作を行ったものとする。現在、キャリッジに搭載されているヘッドがスキャナヘッドかどうか判断するS301。スキャナヘッドでない、あるいはヘッドが搭載されていない場合、ダイレクトプリンタの表示部に警告を表示してS304、終了する。ヘッドがスキャナヘッドであった場合、ダイレクトプリンタの記憶媒体差し込み口に記憶媒体が挿入されているかどうか判断するS302。記憶媒体が挿入されていない場合、前記表示部に警告を表示してS304終了する。記憶媒体が挿入されている場合、挿入されている記憶媒体の空き容量を確認するS303。記憶媒体の空き容量が十分でない場合、前記表示部に警告を表示してS304終了する。記憶媒体の空き容量が十分確保できた場合、スキャナヘッドから画像を読み込み、挿入された記憶媒体にデータを送信し保存するS305。
【0014】
以上がスキャナヘッドから読み込んだ画像を挿入された記憶媒体に保存する際の手順である。
【0015】
次に、ダイレクトプリンタに挿入された記憶媒体の空き容量を利用して、ダイレクトプリンタに複写機能を付加する方法について図4のフローチャートに基づいて説明する。
【0016】
利用者はダイレクトプリンタの操作部から、複写機能を行う操作を行ったものとする。読み取りたい画像をダイレクトプリンタに挿入された記憶媒体に保存する手順については前述の方法と同様の手順で行うS401〜S404、S405。ダイレクトプリンタに搭載されているスキャナヘッドから画像を読み込み、記憶媒体に保存した後、スキャナヘッドを取り外して、プリントヘッドに交換するように促す内容を表示部に表示するS406。キャリッジにプリントヘッドが搭載されているかどうか判断するS407。プリントヘッドが搭載されていない場合、ヘッド交換を促す表示を再び行うS406。キャリッジにプリントヘッドが搭載されている場合、挿入された記憶媒体に一時的に保存されている画像を読み込み、画像処理部で印字できるように画像処理を行うS408。画像処理部で処理されたデータを印字部に送信し、印刷を行うS409。印刷終了後、記憶媒体上に一時的に保存してあった画像データを消去するS410。
【0017】
上記の手順を取ることで、ダイレクトプリンタに挿入された記憶媒体の空き容量を利用して、複写機能を実現することができる。
【0018】
(第2の実施例)
第2の実施例として、ダイレクトプリンタに挿入された記憶媒体の空き容量に応じてスキャナヘッドで読み取る解像度、階調数、など読取時の設定を変更する方法、および読み取った画像データを圧縮して記憶媒体に保存する方法について詳細に説明する。
【0019】
まず、前者の読取時の設定を変更する手順を図5のフローチャートを用いて説明する。利用者がダイレクトプリンタの操作部から、画像読み込みを行う操作を行ったものとする。現在、キャリッジに搭載されているヘッドがスキャナヘッドかどうか判断するS501。スキャナヘッドでない、あるいはヘッドが搭載されていない場合、ダイレクトプリンタの表示部に警告を表示してS504、終了する。ヘッドがスキャナヘッドであった場合、ダイレクトプリンタの記憶媒体差し込み口に記憶媒体が挿入されているかどうか判断するS502。記憶媒体が挿入されていない場合、前記表示部に警告を表示してS504終了する。記憶媒体が挿入されている場合、挿入されている記憶媒体の空き容量を確認するS503。記憶媒体の空き容量が十分確保できた場合、スキャナヘッドから画像を読み込み、挿入された記憶媒体にデータを送信し保存するS510。記憶媒体の空き容量が十分でない場合は、記憶媒体の現在の空き容量を計算するS505。スキャナヘッドで読み取る際に必要となるデータ量と、記憶媒体の空き容量を比較し、空き容量が読み取られるデータ量の1/2未満であるかどうかを判定するS506。空き容量が読み込むデータ量の1/2以上ある場合は、スキャナヘッドで読み取る時の階調数を半分に設定するS508。階調数を半分にすることで、読み込むデータ量を半分にする事ができ、記憶媒体の空き容量にデータを収めることができる。
【0020】
その後、スキャナヘッドで画像データを読み込み、挿入された記憶媒体に保存するS510。空き容量が読み込むデータの1/2未満である場合、スキャナヘッドで読み取る時の解像度を縦、横ともに半分にするS507。読み取る解像度が縦横ともに半分になるため、保存するべきデータの容量は1/4になる。この状態で、読み取る画像データが記憶媒体の空き容量に保存できるかどうかを判断するS509。保存可能である場合、スキャナヘッドで画像データを読み込み、挿入された記憶媒体に保存するS510。保存可能でない場合、再びS506に戻り、再帰的に繰り返すことにより、空き容量にあわせて、読み取る画像の解像度、階調数を変更する。空き容量に保存が可能になった場合、スキャナヘッドで画像データを読み込み、挿入された記憶媒体に保存するS510。上
上記の手順でダイレクトプリンタに挿入された記憶媒体の空き領域に応じて、スキャナヘッドで読み取る画像の解像度、階調数を変更し、画像を保存することができる。
【0021】
また、上記手順により保存した画像を画像処理部で処理し印刷を行うことで、実施例1のように複写機能を実現することも可能である。本実施例では読み込む画像データのサイズと空き容量の比較を1/2のしきい値で判定しているが、この値に限定するものではなく、またこのしきい値を複数設定し、それに応じた画像の解像度、階調数を変更することにより、記憶媒体の空き領域をより有効に利用することが考えられる。
【0022】
次に、記憶媒体の空き領域に応じて、スキャナヘッドで読み込んだ画像に圧縮を施すことにより、空き容量が少ない場合であってもその容量内に収まるようにする方法について図6のフローチャートに基づいて説明する。
【0023】
利用者がダイレクトプリンタの操作部から、画像読み込みを行う操作を行ったものとする。現在、キャリッジに搭載されているヘッドがスキャナヘッドかどうか判断するS601。スキャナヘッドでない、あるいはヘッドが搭載されていない場合、ダイレクトプリンタの表示部に警告を表示してS604、終了する。ヘッドがスキャナヘッドであった場合、ダイレクトプリンタの記憶媒体差し込み口に記憶媒体が挿入されているかどうか判断するS602。記憶媒体が挿入されていない場合、前記表示部に警告を表示してS604終了する。記憶媒体が挿入されている場合、挿入されている記憶媒体の空き容量を確認するS603。記憶媒体の空き容量が十分確保できた場合、スキャナヘッドから画像を読み込み、挿入された記憶媒体にデータを送信し保存するS609。記憶媒体の空き容量が十分でない場合は、記憶媒体の現在の空き容量を計算するS605。計算された空き容量に応じて、画像を圧縮するアルゴリズムを選択するS606。
【0024】
この際、選択されるアルゴリズムは表1にあるように、空き容量、圧縮率、可逆性、圧縮解凍スピード、および画質などの各要素に応じて複数用意しておき、記憶媒体の空き領域に見合うアルゴリズムを選択することで画質や処理速度に応じた圧縮方法で圧縮することができる。アルゴリズムが選択されると、選択された圧縮アルゴリズムを用いてスキャナヘッドから読み込んだ画像を圧縮するS607。圧縮後、圧縮された画像データを記憶媒体に保存するS608。
【0025】
表1は本発明の第2の実施例である記憶媒体の空き領域に応じて、読み取った画像を圧縮する際に選択される圧縮アルゴリズムを表すものである。
【0026】
【表1】

Figure 2004042404
【0027】
以上の手順によりスキャナヘッドから読み込んだ画像を記憶媒体の空き領域に応じて圧縮することが可能である。また、実施例1のように保存した画像データを画像処理部で処理を行い印字し、印字終了後に保存してある画像データを消去することで複写機能を実現することも可能である。
【0028】
また、上記の空き領域に応じた各手順を組み合わせて利用することで、記憶媒体の空き領域をより有効に使用することが可能である
【0029】
【発明の効果】
本発明により、ホストコンピュータを用いることなくスキャナヘッドで読み取った画像を直接、ダイレクトプリンタに挿入された記憶媒体に保存することが可能である。また、記憶媒体の空き容量を用いることにより、その領域を一時的な保存領域としてスキャナヘッドで読み取った画像を保存することができ、従来複写機能を実現するために必要であったメモリをあらたに追加することなく複写機能を実現することが可能である。そのためコストを上げることなくダイレクトプリンタに付加価値を与えることができ、従来の複写機能を有する印字装置に比べ、安価に提供することが可能である。
【0030】
記憶媒体の空き容量が少ない場合であっても、複写機能を実現する方法として空き領域に応じて、読み取る画像の解像度、階調数などの読み込み設定を動的に変更することや、あるいは、読み取った画像に圧縮を施すことにより記憶媒体の空き領域を効率的に使用することができ、利用者の利便性を向上させることが可能になる。
【図面の簡単な説明】
【図1】本発明の実施例の構成例を表す図
【図2】本発明の実施例の内部構成例を表すブロック図
【図3】本発明の第1の実施例であるスキャナヘッドで読み取った画像を記憶媒体に保存する手順を示すフローチャート
【図4】本発明の第1の実施例である記憶媒体の空き領域を利用して、複写機能を実現する手順を示すフローチャート
【図5】本発明の第2の実施例である記憶媒体の空き領域に応じて、スキャナヘッドで読み取る際の設定を変更する手順を示すフローチャート
【図6】本発明の第2の実施例である記憶媒体の空き領域に応じて、読み取った画像を圧縮して保存する手順を示すフローチャート
【符号の説明】
101 ダイレクトプリンタ本体
102 記憶媒体差込口
103 操作部
104 表示部[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention is a printing apparatus that can directly print image data on a storage medium such as a memory card inserted into a printing apparatus without connecting to a host computer, and can mount a scanner head by replacing a printer head. It relates to a printing device.
[0002]
[Prior art]
A printing device (hereinafter, referred to as a direct printer) that directly prints an image on a storage medium inserted into a printing device without connecting to a conventional host computer includes a printing device such as a compact flash (registered trademark) or PCMCIA. In most cases, a removable storage medium such as a compact flash photographed by a digital camera or the like is inserted into a direct printer, and an image stored in the storage medium is printed. Further, there are some which have an input / output interface and can be connected to a host computer and used as a printing device for the host computer or a reading device for an external storage medium.
[0003]
In addition, as for a multifunction device or a multifunction device having a plurality of functions such as a scanner function, a facsimile function, and a printer function with respect to a printing apparatus having a copying function, which is called a multifunction machine or a multifunction machine, in order to realize the multifunction, High cost due to the use of a large-capacity memory required for image processing and storing read images on the printing device, and a high-speed CPU required for processing multiple functions accurately. Most are expensive devices.
[0004]
In a multifunction peripheral having a plurality of functions as described above, a space area of a removable storage medium is used as a temporary work area used for image processing, as disclosed in Japanese Patent Application Laid-Open No. H11-331557 in consideration of cost. Some have been proposed for use.
[0005]
[Problems to be solved by the invention]
In order to realize a copying function with a direct printer capable of mounting a scanner head, a sufficient memory for storing image data read from the scanner head in a printing apparatus is required. For this reason, the cost of the printing apparatus increases, and it is difficult to provide a copying function to a printing apparatus in such a price range in consideration of the recent price reduction of the printing apparatus. Therefore, it is an object to provide a printing apparatus with a copying function without increasing the cost by using a storage medium inserted in the printing apparatus, and to give the printing apparatus a high added value. Another problem is to assume that a sufficient free area cannot be secured in the storage medium, and to prevent the copy function from being impaired even in such a situation.
[0006]
[Means for Solving the Problems]
In order to solve the above-mentioned problems, in the present invention, a memory area required for realizing a copying function is realized without increasing cost by using a memory of a storage medium inserted in a printing apparatus. In addition, the above problem is provided by providing a means for calculating a free area of the storage medium, a means for changing a setting of an image read by a scanner head according to the free area, and a means for compressing the read image according to the free area. Can be solved.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be specifically described.
[0008]
(Example)
A conventional direct printer includes a printing unit for printing, and an image conversion unit that converts image data so that the printing unit can print image data on a storage medium. It also has a card slot for inserting a storage medium. This card slot includes a card slot for directly inserting individual memories such as a compact flash and a smart media card, and a card slot for inserting through a PCMCIA adapter corresponding to each memory. Some printing apparatuses have a carriage on which a scanner head can be mounted. However, in order to read an image using the scanner head, it is necessary to connect to a host computer.
[0009]
Therefore, in the present invention, an image can be captured without using a host computer by directly storing image data from a scanner head mounted on a direct printer in a storage medium inserted into the direct printer. In addition, by using the free space of the storage medium, the copying function can be provided at low cost without adding a new memory to the direct printer. Further, assuming a case where the free space of the storage medium cannot be sufficiently secured, a method of changing the setting when reading with the scanner head according to the free area of the storage medium and a method of compressing the read image data are described below. This will be described in detail.
[0010]
(First embodiment)
FIG. 1 is a diagram illustrating a configuration example of the present invention. A direct printer main unit 101 includes a storage medium insertion slot 102 into which a storage medium is inserted, an operation unit 103 for selecting an image on the storage medium, designating the number of selected images, and performing processing on an image to be printed, and a storage medium. A display unit 104 for displaying the number of the upper image and the status of the printer is provided. Further, in the direct printer of the present invention, a scanner head can be mounted on a carriage on which a print head is mounted.
[0011]
FIG. 2 is a block diagram showing an example of the internal configuration of the direct printer of the present invention. Each of the components in the figure will be described below. An image processing unit 201 that performs image processing so that an image on a storage medium inserted into the direct printer can be printed by the direct printer; a storage medium processing unit 202 that reads and writes data on a storage medium inserted into the direct printer; An input / output interface unit 203 for communicating with a connected host computer; a printing unit 204 for printing print data from the image processing unit 201 or the connected host computer; A carriage unit 205 capable of replacing a print head and mounting a scanner head.
[0012]
A procedure for saving image data read by the scanner head from the operation unit of the direct printer in the storage medium inserted in the direct printer with the above configuration will be described with reference to the flowchart of FIG.
[0013]
It is assumed that the user has performed an operation of reading an image from the operation unit of the direct printer. At step S301, it is determined whether the head currently mounted on the carriage is a scanner head. If the head is not the scanner head or the head is not mounted, a warning is displayed on the display unit of the direct printer, and the process ends in S304. If the head is a scanner head, it is determined whether a storage medium has been inserted into the storage medium insertion slot of the direct printer (S302). If a storage medium has not been inserted, a warning is displayed on the display unit, and the process ends in S304. If a storage medium has been inserted, the free space of the inserted storage medium is checked (S303). If the free space of the storage medium is not sufficient, a warning is displayed on the display unit, and the process ends in S304. When the free space of the storage medium is sufficiently secured, the image is read from the scanner head, and the data is transmitted to and stored in the inserted storage medium S305.
[0014]
The above is the procedure when the image read from the scanner head is stored in the inserted storage medium.
[0015]
Next, a method of adding a copy function to a direct printer by utilizing the free space of a storage medium inserted in the direct printer will be described with reference to the flowchart of FIG.
[0016]
It is assumed that the user has performed an operation for performing a copy function from the operation unit of the direct printer. The procedure for storing the image to be read in the storage medium inserted in the direct printer is performed in the same manner as in the above-described method in steps S401 to S404 and S405. After reading the image from the scanner head mounted on the direct printer and storing it in the storage medium, the display unit prompts the user to remove the scanner head and replace it with a print head (S406). In step S407, it is determined whether a print head is mounted on the carriage. If the print head is not mounted, a display prompting to replace the head is performed again (S406). If a print head is mounted on the carriage, an image temporarily stored in the inserted storage medium is read, and image processing is performed so that the image processing unit can print the image (S408). The data processed by the image processing unit is transmitted to the printing unit, and printing is performed (S409). After the printing is completed, the image data temporarily stored on the storage medium is deleted (S410).
[0017]
By performing the above procedure, the copy function can be realized using the free space of the storage medium inserted in the direct printer.
[0018]
(Second embodiment)
As a second embodiment, a method of changing settings at the time of reading, such as the resolution and the number of gradations, read by a scanner head according to the free space of a storage medium inserted into a direct printer, and a method of compressing read image data The method of storing the data in the storage medium will be described in detail.
[0019]
First, the former procedure of changing the setting at the time of reading will be described with reference to the flowchart of FIG. It is assumed that the user has performed an operation of reading an image from the operation unit of the direct printer. At S501, it is determined whether the head currently mounted on the carriage is a scanner head. If the head is not the scanner head or the head is not mounted, a warning is displayed on the display unit of the direct printer, and the process ends in S504. If the head is a scanner head, it is determined whether a storage medium is inserted into the storage medium insertion slot of the direct printer (S502). If a storage medium has not been inserted, a warning is displayed on the display unit, and the process ends in S504. If a storage medium is inserted, the free space of the inserted storage medium is checked (S503). If the storage medium has sufficient free space, an image is read from the scanner head, and data is transmitted to the inserted storage medium and stored (S510). If the free space of the storage medium is not enough, the current free space of the storage medium is calculated (S505). In step S506, the amount of data required for reading by the scanner head is compared with the free space of the storage medium to determine whether the free space is less than half the amount of data to be read. If the free space is equal to or more than の of the data amount to be read, the number of gradations when reading with the scanner head is set to half (S508). By halving the number of gradations, the amount of data to be read can be halved, and data can be stored in the free space of the storage medium.
[0020]
Thereafter, the image data is read by the scanner head and stored in the inserted storage medium S510. If the free space is less than の of the data to be read, the resolution at the time of reading by the scanner head is reduced by half both vertically and horizontally (S507). Since the reading resolution is halved both vertically and horizontally, the amount of data to be stored is reduced to 1 /. In this state, it is determined whether or not the image data to be read can be stored in the free space of the storage medium (S509). If the image data can be stored, the image data is read by the scanner head and stored in the inserted storage medium S510. If the image cannot be stored, the process returns to step S506, and recursively repeats to change the resolution and the number of gradations of the image to be read in accordance with the free space. When it becomes possible to store the image data in the free space, the image data is read by the scanner head and stored in the inserted storage medium (S510). The resolution and the number of gradations of the image read by the scanner head can be changed according to the free space of the storage medium inserted into the direct printer in the above procedure, and the image can be stored.
[0021]
Further, the image stored in the above procedure is processed and printed by the image processing unit, so that the copy function can be realized as in the first embodiment. In the present embodiment, the comparison between the size of the image data to be read and the free space is determined by a 1/2 threshold value. However, the present invention is not limited to this value, and a plurality of threshold values are set. By changing the resolution and the number of gradations of the image, the free space of the storage medium can be used more effectively.
[0022]
Next, a method for compressing an image read by the scanner head in accordance with the free area of the storage medium so that the image can be stored within the free space based on the flowchart of FIG. Will be explained.
[0023]
It is assumed that the user has performed an operation of reading an image from the operation unit of the direct printer. At step S601, it is determined whether the head currently mounted on the carriage is a scanner head. If the head is not the scanner head or the head is not mounted, a warning is displayed on the display unit of the direct printer, and the process ends in S604. If the head is a scanner head, it is determined whether a storage medium is inserted into the storage medium insertion slot of the direct printer (S602). If a storage medium has not been inserted, a warning is displayed on the display unit, and the process ends in S604. If a storage medium is inserted, the free space of the inserted storage medium is checked (S603). If the storage medium has sufficient free space, the image is read from the scanner head, and the data is transmitted to the inserted storage medium and stored (S609). If the free space of the storage medium is not enough, the current free space of the storage medium is calculated (S605). An algorithm for compressing the image is selected according to the calculated free space (S606).
[0024]
At this time, as shown in Table 1, a plurality of algorithms to be selected are prepared in accordance with each element such as free space, compression ratio, reversibility, compression / decompression speed, image quality, and the like, and are matched to the free space of the storage medium. By selecting an algorithm, compression can be performed by a compression method according to image quality and processing speed. When an algorithm is selected, the image read from the scanner head is compressed using the selected compression algorithm (S607). After the compression, the compressed image data is stored in a storage medium (S608).
[0025]
Table 1 shows a compression algorithm selected when compressing a read image according to a free area of a storage medium according to the second embodiment of the present invention.
[0026]
[Table 1]
Figure 2004042404
[0027]
According to the above procedure, the image read from the scanner head can be compressed according to the free space of the storage medium. Further, it is also possible to realize a copying function by processing the image data stored in the image processing unit and printing the image data as in the first embodiment, and erasing the stored image data after printing is completed.
[0028]
In addition, by combining and using the above-described procedures corresponding to the free area, the free area of the storage medium can be used more effectively.
【The invention's effect】
According to the present invention, an image read by a scanner head can be directly stored in a storage medium inserted into a direct printer without using a host computer. In addition, by using the free space of the storage medium, the image read by the scanner head can be stored as a temporary storage area, and the memory conventionally required for realizing the copy function can be newly provided. It is possible to realize the copying function without adding. Therefore, added value can be given to the direct printer without increasing the cost, and the direct printer can be provided at a lower cost than a printing apparatus having a conventional copying function.
[0030]
Even if the free space of the storage medium is small, the method of realizing the copying function is to dynamically change the reading setting such as the resolution and the number of gradations of the image to be read, or to read the image according to the free space. By compressing the compressed image, the free area of the storage medium can be efficiently used, and the convenience for the user can be improved.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration example of an embodiment of the present invention. FIG. 2 is a block diagram showing an internal configuration example of an embodiment of the present invention. FIG. 3 is read by a scanner head according to a first embodiment of the present invention. FIG. 4 is a flowchart showing a procedure for storing a copied image in a storage medium. FIG. 4 is a flowchart showing a procedure for realizing a copy function using a free area of the storage medium according to the first embodiment of the present invention. FIG. 6 is a flowchart showing a procedure for changing settings for reading by a scanner head according to a free area of a storage medium according to a second embodiment of the present invention; Flowchart showing the procedure for compressing and saving a read image according to the area
101 direct printer main body 102 storage medium slot 103 operation unit 104 display unit

Claims (4)

ホストコンピュータに接続することなく、印字装置に挿入された記憶媒体上の画像を直接印字する印字装置に関し、記憶媒体上にある画像データを印刷できるデータに変換する画像処理部と、記憶媒体上にある画像の選択、選択された画像の枚数の指定および、印刷する画像に処理を施すための操作部と、記憶媒体上の画像の番号やプリンタの状態を表示する表示部、記憶媒体を差し込む記憶媒体差し込み口と、プリンタヘッドを交換することでスキャナヘッドを搭載することができるキャリッジ部とを備え、スキャナヘッド搭載時にスキャナヘッドから読み込んだ画像データを印字装置に挿入された記憶媒体に保存することを特徴とする印字装置。A printing device that directly prints an image on a storage medium inserted into a printing device without connecting to a host computer, an image processing unit that converts image data on the storage medium into printable data, An operation unit for selecting an image, specifying the number of selected images, and performing processing on an image to be printed, a display unit for displaying the number of an image on a storage medium and a status of a printer, and a storage for inserting a storage medium It has a medium insertion slot and a carriage section on which a scanner head can be mounted by exchanging a printer head, and stores image data read from the scanner head when the scanner head is mounted on a storage medium inserted into the printing apparatus. A printing device characterized by the above-mentioned. 前記印字装置であって、スキャナヘッドから読み込んだ画像データを印字装置に挿入された記憶媒体の空き容量を利用して一時的に保存する手段と、前記記憶媒体上の画像データを画像処理部で処理を行う手段と、画像処理部処理された画像を印字する手段と、印字終了後、一時的に保存してあった画像データを消去する手段を有し、これらの手段を利用して複写機能を実現することを特徴とする請求項1に記載の印字装置。Means for temporarily storing image data read from a scanner head by utilizing the free space of a storage medium inserted into the printing apparatus, wherein the image data on the storage medium is processed by an image processing unit. Means for performing processing, means for printing the image processed by the image processing unit, and means for erasing temporarily stored image data after printing is completed. The printing device according to claim 1, wherein: 前記印字装置であって、印字装置に挿入された記憶媒体の空き領域を計算する手段と、計算された空き領域に応じて、スキャナヘッドで読み込む時の画像の読み取り設定を動的に変更する手段とを備え、読み取る画像を前記記憶媒体の空き容量に応じて記憶することを特徴とする請求項1または2に記載の印字装置。The printing apparatus, wherein: means for calculating a free area of a storage medium inserted in the printing apparatus; and means for dynamically changing an image reading setting when reading with a scanner head according to the calculated free area. The printing apparatus according to claim 1, further comprising: storing an image to be read in accordance with a free space of the storage medium. 前記印字装置であって、印字装置に挿入された記憶媒体の空き領域に応じて、スキャナヘッドで読み込んだ画像データに圧縮を施す手段を備え、読み取った画像を前記記憶媒体の空き領域に応じて記憶することを特徴とする請求項1、2または3に記載の印字装置。The printing apparatus, further comprising: means for compressing image data read by a scanner head in accordance with an empty area of a storage medium inserted in the printing apparatus, and reading the read image in accordance with an empty area of the storage medium. The printing device according to claim 1, wherein the printing device stores the information.
JP2002202043A 2002-07-11 2002-07-11 Printer Pending JP2004042404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002202043A JP2004042404A (en) 2002-07-11 2002-07-11 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002202043A JP2004042404A (en) 2002-07-11 2002-07-11 Printer

Publications (1)

Publication Number Publication Date
JP2004042404A true JP2004042404A (en) 2004-02-12

Family

ID=31708340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002202043A Pending JP2004042404A (en) 2002-07-11 2002-07-11 Printer

Country Status (1)

Country Link
JP (1) JP2004042404A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7365761B2 (en) 2004-11-06 2008-04-29 Samsung Electronics Co., Ltd. Thermal printer
US8115959B2 (en) 2007-02-28 2012-02-14 Brother Kogyo Kabushiki Kaisha Image processing device
CN103287130A (en) * 2013-05-21 2013-09-11 苏州惠瑞自动化集成有限公司 Automatic printing machine capable of identifying mobile memories

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7365761B2 (en) 2004-11-06 2008-04-29 Samsung Electronics Co., Ltd. Thermal printer
US8115959B2 (en) 2007-02-28 2012-02-14 Brother Kogyo Kabushiki Kaisha Image processing device
CN103287130A (en) * 2013-05-21 2013-09-11 苏州惠瑞自动化集成有限公司 Automatic printing machine capable of identifying mobile memories

Similar Documents

Publication Publication Date Title
KR100549483B1 (en) Recording apparatus and recording method
JP2006345319A (en) Image pickup device and control method thereof
US7430054B2 (en) Printing apparatus, control method therefor, and storage medium
US7599100B2 (en) Image processing apparatus
AU2002334427A1 (en) Printing apparatus, control method therefor, and storage medium
JP2005033468A (en) Imaging apparatus
US8284443B2 (en) Apparatus and system for managing form data obtained from outside system
JP4657744B2 (en) Digital image printing system, printing apparatus, digital image printing system control method, printing apparatus control method, program, and recording medium
JPH11321029A (en) Image printer
JP2004042404A (en) Printer
JP2004282382A (en) Network terminal equipment
US8125680B2 (en) Image processing apparatus and control method thereof
JP5173219B2 (en) Image processing apparatus, image processing method, and program
JP4290824B2 (en) Image printing device
JP7437914B2 (en) Image file creation device, image file creation method, and program
CN102087660B (en) Document management apparatus
JP4532312B2 (en) Digital image printing system, printing apparatus, digital image printing system control method, printing apparatus control method, program, and recording medium
JP4582313B2 (en) Image forming apparatus and program thereof
JP2007094973A (en) Print processing system
JP2001333367A (en) Electronic camera and image number matching method
JP2004148695A (en) Printer performing automatic printing according to print information file
JP2005039545A (en) Image processor and its control method, storage means and program
JP2007094965A (en) Print processing system
JP2006165794A (en) Information communication device
JP2005012288A (en) Image input/output apparatus