JP2011084027A - Recording device, control method of recording device, and program - Google Patents
Recording device, control method of recording device, and program Download PDFInfo
- Publication number
- JP2011084027A JP2011084027A JP2009240119A JP2009240119A JP2011084027A JP 2011084027 A JP2011084027 A JP 2011084027A JP 2009240119 A JP2009240119 A JP 2009240119A JP 2009240119 A JP2009240119 A JP 2009240119A JP 2011084027 A JP2011084027 A JP 2011084027A
- Authority
- JP
- Japan
- Prior art keywords
- data
- image data
- margin
- storage unit
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000012545 processing Methods 0.000 claims description 61
- 230000008569 process Effects 0.000 abstract description 22
- 238000010586 diagram Methods 0.000 description 11
- 230000008859 change Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000010438 heat treatment Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000000859 sublimation Methods 0.000 description 1
- 230000008022 sublimation Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Cash Registers Or Receiving Machines (AREA)
Abstract
【課題】記録媒体に記録する画像を予め記録装置に予め記憶させる場合に、画像の余白を除去して記録するための処理を簡単に行えるようにする。
【解決手段】プリンター2は、ホストコンピューター4から受信したデータを一時的に保持する受信バッファー201と、画像データを不揮発的に記憶するロゴイメージ記憶部210と、画像データを受信バッファー201から所定データ量単位で読み出し、読み出した所定データ量単位の画像データに含まれる余白部分のデータを検出するとともに、読み出した所定データ量分の画像データをロゴイメージ記憶部210に記憶させる制御部20と、を備え、制御部20は、読み出した所定データ量単位の画像データから余白部分のデータを検出した結果に基づき、ホストコンピューター4から入力された画像データにおける余白データを検出する。
【選択図】図1When an image to be recorded on a recording medium is stored in advance in a recording device, a process for removing the margin of the image and recording it can be easily performed.
A printer includes a reception buffer that temporarily stores data received from a host computer, a logo image storage unit that stores image data in a nonvolatile manner, and image data that is received from the reception buffer. A control unit 20 that reads out in units of amounts, detects margin data included in the read out image data in units of predetermined data amount, and stores the image data for the read out predetermined data amount in the logo image storage unit 210; The control unit 20 detects margin data in the image data input from the host computer 4 based on the result of detecting margin data from the read image data in a predetermined data amount unit.
[Selection] Figure 1
Description
本発明は、ロゴ等の画像を記録する記録装置、この記録装置の制御方法、及び、プログラムに関する。 The present invention relates to a recording apparatus for recording an image such as a logo, a control method for the recording apparatus, and a program.
従来、スーパーやコンビニエンス・ストア等の小売業において利用されているPOSシステム(販売時点情報管理システム)では、商品販売に関する入力情報を取得するホストコンピューターと、レシートに記録を行うための記録装置とによってPOS端末が構成されている。この種のPOS端末としては、ホストコンピューターにより生成された決済処理記録データを記録装置が受信し、受信した決済処理記録データを、店舗のロゴ等の画像とともに記録して、レシートを発行する形態が一般的である(例えば、特許文献1参照。)。この種のPOS端末では、レシートに記録されるロゴ等の画像を予め記録装置に記憶しておき、この記憶した画像を読み出して記録することがあった。この構成によれば、ホストコンピューターと記録装置との間で送受信されるデータ量を減らすことで、通信に要する時間を短縮し、高速化を達成できる。 Conventionally, in a POS system (sales point information management system) used in a retail business such as a supermarket or a convenience store, a host computer that acquires input information related to product sales and a recording device that records on a receipt A POS terminal is configured. As this type of POS terminal, a recording device receives payment processing record data generated by a host computer, records the received payment processing record data together with an image such as a store logo, and issues a receipt. It is general (see, for example, Patent Document 1). In this type of POS terminal, an image such as a logo recorded on a receipt is stored in advance in a recording device, and the stored image may be read and recorded. According to this configuration, by reducing the amount of data transmitted and received between the host computer and the recording apparatus, it is possible to shorten the time required for communication and achieve high speed.
ところで、記録装置に記憶された画像は、そのままレシート等に記録されてしまう。このため、既に記憶させた画像を変更したい場合には、変更を施した新たな画像を作成してホストコンピューターから記録装置に送り、記録装置に記憶させる作業が必要であり、手間がかかるという問題があった。例えば、レシートに使う用紙を節約するために余白を除去しようとした場合、余白を除いた画像をホストコンピューターにおいて作成し、新たに記録装置に記憶させる必要があった。また、記録装置そのものに画像を処理させようとすれば、記録装置が画像処理に耐え得る高性能のハードウェアを搭載する必要が生じ、現実的ではない。このため、余白を除くといった比較的単純な処理であっても、記録装置自体に実行させることは難しかった。
本発明は、上述した事情に鑑みてなされたものであり、記録媒体に記録する画像を記録装置に記憶させる場合に、画像の余白を除去して記録するための処理を簡単に行えるようにすることを目的とする。
By the way, the image stored in the recording apparatus is recorded on a receipt or the like as it is. Therefore, if you want to change an image that you have already stored, you need to create a new image with the change, send it from the host computer to the recording device, and store it in the recording device. was there. For example, when a margin is to be removed in order to save paper used for a receipt, an image excluding the margin needs to be created in the host computer and newly stored in the recording apparatus. Further, if an image is to be processed by the recording apparatus itself, it becomes necessary for the recording apparatus to be equipped with high-performance hardware that can withstand image processing, which is not realistic. For this reason, it has been difficult for the recording apparatus itself to execute even a relatively simple process such as removing margins.
The present invention has been made in view of the above-described circumstances. When an image to be recorded on a recording medium is stored in a recording apparatus, processing for removing the margin of the image and recording can be easily performed. For the purpose.
上記目的を達成するために、本発明は、記憶した画像データを読み出して記録媒体に記録する記録装置であって、外部接続された装置から受信したデータを一時的に保持するバッファーメモリーと、前記画像データを不揮発的に記憶する不揮発性記憶部と、前記外部接続された装置から受信した前記画像データを、前記バッファーメモリーから所定データ量単位で読み出し、読み出した所定データ量単位の画像データに含まれる余白部分のデータを検出するとともに、前記読み出した所定データ量分の画像データを前記不揮発性記憶部に記憶させる制御部と、を備え、前記制御部は、前記読み出した所定データ量単位の画像データから前記余白部分のデータを検出した結果に基づき、前記外部接続された装置から受信した画像データ全体における余白データを検出することを特徴とする。
この構成によれば、外部接続された装置から受信した画像データをバッファーメモリーから読み出して不揮発性記憶部に記憶させる際に、所定データ量単位で画像データの余白データを検出するので、処理対象のデータサイズを画像データ全体に比べて小さく抑えることができ、画像データ全体の余白データを一度に検出する場合に比べて処理の負荷を軽減し、高速に処理できる。また、余白データを検出する処理だけのために不揮発性記憶部から画像データを読み出す必要がないので、余白データを検出する処理を短時間で完了できる。これにより、ハードウェアのリソースが限られている記録装置においても、速やかに画像データの余白データを検出することができ、余白データを除いた状態で画像データを記録する等の処理が可能になる。
In order to achieve the above object, the present invention provides a recording device for reading stored image data and recording it on a recording medium, the buffer memory temporarily holding data received from an externally connected device, A non-volatile storage unit that stores image data in a non-volatile manner, and the image data received from the externally connected device is read from the buffer memory in units of a predetermined data amount, and is included in the read image data in units of the predetermined data amount A control unit that detects data of a blank portion to be read and stores the read-out predetermined amount of image data in the nonvolatile storage unit, and the control unit includes an image of the read-out predetermined data amount unit. Based on the result of detecting the margin data from the data, the entire image data received from the externally connected device is included. And detecting the blank data that.
According to this configuration, when the image data received from the externally connected device is read from the buffer memory and stored in the nonvolatile storage unit, the margin data of the image data is detected in a predetermined data amount unit. The data size can be reduced compared to the entire image data, and the processing load can be reduced and processing can be performed at a higher speed than when the blank data of the entire image data is detected at once. Further, since it is not necessary to read out image data from the non-volatile storage only for the process of detecting the margin data, the process of detecting the margin data can be completed in a short time. As a result, even in a recording apparatus with limited hardware resources, it is possible to quickly detect the margin data of the image data, and to perform processing such as recording the image data without the margin data. .
上記構成において、前記制御部は、前記検出した余白部分のデータに基づき、前記外部接続された装置から受信した前記画像データの余白データを除去した余白除去データを生成し、生成した前記余白除去データを前記不揮発性記憶部に記憶させてもよい。
この場合、外部接続された装置から受信した画像データを、余白データを除去した状態で記録媒体に記録するので、外部接続された装置から送信された画像データを、余白データを除去した状態で記録する場合のスループットの向上を図ることができる。記録装置が印刷装置であり場合、余白除去データを読み出して印刷し、余白に相当する部分を紙送りにより形成することもできる。
In the above configuration, the control unit generates margin removal data obtained by removing the margin data of the image data received from the externally connected device based on the detected margin part data, and generates the margin removal data. May be stored in the nonvolatile storage unit.
In this case, since the image data received from the externally connected device is recorded on the recording medium with the margin data removed, the image data transmitted from the externally connected device is recorded with the margin data removed. In this case, the throughput can be improved. When the recording device is a printing device, the margin removal data can be read and printed, and a portion corresponding to the margin can be formed by paper feeding.
また、この場合に、前記制御部は、前記余白除去データとともに、除去された余白データを復元するための余白情報を前記不揮発性記憶部に記憶させてもよい。
この場合、余白情報に基づいて、余白データを除去した画像データに余白データを加えて元通りに復元できる。このため、外部接続された装置から受信した画像データと、この画像データから余白データを除去した画像データとの両方を記録できる。
In this case, the control unit may store, together with the margin removal data, margin information for restoring the removed margin data in the nonvolatile storage unit.
In this case, based on the margin information, the margin data can be added to the image data from which the margin data has been removed to restore the original data. Therefore, it is possible to record both image data received from an externally connected device and image data obtained by removing the margin data from this image data.
上記構成において、前記制御部は、前記外部接続された装置から受信した画像データについて、前記バッファーメモリーから読み出して前記余白部分のデータを検出する処理が終わった後に、この画像データにおける余白データの位置を示す情報を生成して前記不揮発性記憶部に記憶させてもよい。
この場合、外部接続された装置から受信した画像データを不揮発的に記憶し、この画像データを記録媒体に記録することが可能で、かつ、この画像データにおける余白データの位置を示す情報を有しているので、この情報に基づいて画像データから余白データを除去する処理を行って記録媒体に記録することも、画像データをそのまま記録することもできる。また、余白データを除去しない状態の画像データを不揮発性記憶部に記憶するので、余白データを除去しない状態で画像データを記録する場合のスループットの低下を招くことなく、余白データを除去した記録も行える。記録装置が印刷装置であり場合、余白データの位置を示す情報を読み出して、余白に相当する部分を紙送りにより形成することもできる。
In the above configuration, the control unit reads out the image data received from the externally connected device from the buffer memory and finishes the process of detecting the data of the margin part, and then the position of the margin data in the image data. May be generated and stored in the nonvolatile storage unit.
In this case, image data received from an externally connected device is stored in a nonvolatile manner, the image data can be recorded on a recording medium, and information indicating the position of the margin data in the image data is included. Therefore, based on this information, the margin data can be removed from the image data and recorded on the recording medium, or the image data can be recorded as it is. In addition, since image data in a state in which no margin data is removed is stored in the nonvolatile storage unit, recording without margin data is also performed without causing a decrease in throughput when image data is recorded in a state in which no margin data is removed. Yes. When the recording apparatus is a printing apparatus, information indicating the position of the margin data can be read and a portion corresponding to the margin can be formed by paper feeding.
さらに、上記構成において、前記制御部は、前記バッファーメモリーに保持されたデータから画像データの記憶を指示するコマンドを検出するコマンド判定部と、前記コマンド判定部により検出されたコマンドに従って前記バッファーメモリーから前記画像データを読み出して前記不揮発性記憶部に記憶させるコマンド処理部と、を備える構成としてもよい。
この場合、バッファーメモリーに保持されたデータからコマンドを検出して実行するので、バッファーメモリー内のコマンドに従って、バッファーメモリー内の画像データを読み出して余白データを検出する処理を行うことができる。このため、外部の装置から画像データの記憶を指示するコマンドとともに画像データを入力するだけで、このコマンドに従って速やかに画像データが記憶される上、画像データの余白データの検出を行うことができる。
Further, in the above configuration, the control unit detects a command for instructing storage of image data from data held in the buffer memory, and from the buffer memory according to the command detected by the command determination unit. It is good also as a structure provided with the command processing part which reads the said image data and memorize | stores it in the said non-volatile memory | storage part.
In this case, since the command is detected and executed from the data held in the buffer memory, the image data in the buffer memory can be read and the margin data can be detected in accordance with the command in the buffer memory. For this reason, only by inputting image data together with a command for instructing storage of image data from an external device, the image data is quickly stored according to this command, and the margin data of the image data can be detected.
また、本発明は、記憶した画像データを読み出して記録媒体に記録する記録装置の制御方法であって、外部接続された装置から受信した画像データをバッファーメモリーに一時的に保持し、制御部によって前記バッファーメモリーから前記画像データを所定データ量単位で読み出し、前記読み出した所定データ量分の画像データに含まれる空白部分のデータを検出するとともに、前記読み出した所定データ量分の画像データを不揮発性記憶部に記憶させ、さらに、前記読み出した所定データ量単位の画像データから余白部分のデータを検出した結果に基づいて前記外部接続された装置から受信した画像データにおける余白データを検出すること、を特徴とする。
この方法によれば、外部接続された装置から受信した画像データをバッファーメモリーから読み出して不揮発性記憶部に記憶させる際に、所定データ量単位で画像データの余白データを検出するので、処理対象のデータサイズを画像データ全体に比べて小さく抑えることができ、画像データ全体の余白データを一度に検出する場合に比べて処理の負荷を軽減し、高速に処理できる。また、余白データを検出する処理だけのために不揮発性記憶部から画像データを読み出す必要がないので、余白データを検出する処理を短時間で完了できる。これにより、ハードウェアのリソースが限られている記録装置においても、速やかに画像データの余白データを検出することができ、余白データを除いた状態で画像データを記録する等の処理が可能になる。
The present invention also relates to a method for controlling a recording apparatus that reads stored image data and records it on a recording medium. The image data received from an externally connected apparatus is temporarily stored in a buffer memory, and is controlled by a control unit. The image data is read from the buffer memory in units of a predetermined amount of data, the blank portion data included in the read image data for the predetermined amount of data is detected, and the read image data for the predetermined amount of data is nonvolatile Storing in a storage unit, and detecting margin data in image data received from the externally connected device based on a result of detecting margin data from the read image data in a predetermined data amount unit. Features.
According to this method, when the image data received from the externally connected device is read from the buffer memory and stored in the nonvolatile storage unit, the margin data of the image data is detected in units of a predetermined amount of data. The data size can be reduced compared to the entire image data, and the processing load can be reduced and processing can be performed at a higher speed than when the blank data of the entire image data is detected at once. Further, since it is not necessary to read out image data from the non-volatile storage only for the process of detecting the margin data, the process of detecting the margin data can be completed in a short time. As a result, even in a recording apparatus with limited hardware resources, it is possible to quickly detect the margin data of the image data, and to perform processing such as recording the image data without the margin data. .
また、本発明は、記憶した画像データを読み出して記録媒体に記録する記録装置を制御するための制御部が実行するプログラムであって、前記制御部は、外部接続された装置から受信し、バッファーメモリーに一時的に保持された前記画像データを所定データ量単位で読み出し、前記読み出した所定データ量分の画像データに含まれる空白部分のデータを検出するとともに、前記読み出した所定データ量分の画像データを不揮発性記憶部に記憶させ、さらに、所定データ量単位の画像データから余白部分のデータを検出した結果に基づいて前記外部接続された装置から受信した画像データにおける余白データを検出すること、を特徴とする。
このプログラムを実行する制御部により、外部接続された装置から受信した画像データをバッファーメモリーから読み出して不揮発性記憶部に記憶させる際に、所定データ量単位で画像データの余白データを検出するので、処理対象のデータサイズを画像データ全体に比べて小さく抑えることができ、画像データ全体の余白データを一度に検出する場合に比べて処理の負荷を軽減し、高速に処理できる。また、余白データを検出する処理だけのために不揮発性記憶部から画像データを読み出す必要がないので、余白データを検出する処理を短時間で完了できる。これにより、ハードウェアのリソースが限られている記録装置においても、速やかに画像データの余白を検出することができ、余白データを除いた状態で画像データを記録する等の処理が可能になる。
The present invention also relates to a program executed by a control unit for controlling a recording device that reads stored image data and records it on a recording medium, the control unit receiving a buffer from an externally connected device, The image data temporarily stored in the memory is read in units of a predetermined amount of data, the blank portion data included in the read-out predetermined amount of image data is detected, and the read-out image of the predetermined amount of data Storing data in a nonvolatile storage unit, and further detecting margin data in image data received from the externally connected device based on a result of detecting margin data from image data in a predetermined data amount unit; It is characterized by.
When the image data received from the externally connected device is read from the buffer memory and stored in the nonvolatile storage unit by the control unit that executes this program, the margin data of the image data is detected in units of a predetermined amount of data. The data size to be processed can be reduced compared to the entire image data, and the processing load can be reduced and processing can be performed at a higher speed than when the blank data of the entire image data is detected at once. Further, since it is not necessary to read out image data from the non-volatile storage only for the process of detecting the margin data, the process of detecting the margin data can be completed in a short time. As a result, even in a recording apparatus with limited hardware resources, it is possible to quickly detect the margin of the image data, and to perform processing such as recording the image data without the margin data.
本発明によれば、画像データの余白データを検出する処理の対象のデータサイズを画像データ全体に比べて小さく抑えることで、ハードウェアのリソースが限られている記録装置においても画像データの余白データを速やかに検出できる。 According to the present invention, the margin data of the image data can be reduced even in a recording apparatus with limited hardware resources by suppressing the size of the processing target for detecting the margin data of the image data to be smaller than the entire image data. Can be detected promptly.
以下、図面を参照して本発明の実施形態について説明する。
図1は、本発明を適用した実施形態に係るPOS端末1の概略構成を示す図である。また、図2は、POS端末1が備えるプリンター2の本体内部の構成を模式的に示す図である。
図1に示すPOS端末1は、例えば小売店等の店頭に設置され、売上げ精算を行うレジスターであり、販売時点管理システム(POSシステム)を構成する。POS端末1は、売上登録処理及び精算処理を行うホストコンピューター4に、レシート101を発行するプリンター2を接続して構成される。ここで、ホストコンピューター4は、プリンター2に対して、外部接続された装置に相当する。また、ホストコンピューター4は、売上登録した情報を収集するPOSサーバー5に、通信回線を介して接続されている。
ホストコンピューター4は、売上登録処理及び精算処理の処理内容を表示するディスプレイ41、売上登録処理時に商品に付されたバーコードを読み取るバーコードスキャナー42、売上登録キー等の各種キーを備えたキー入力部43、精算用の現金を収容するキャッシュドロワー44等を備えている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing a schematic configuration of a
A
The
また、図1及び図2に示すように、記録装置としてのプリンター2は、本体11に記録媒体としての感熱ロール紙100を収容し、ロール紙100を搬送するローラー形状のプラテン32と、プラテン32に対向配置された印刷ヘッド31と、ロール紙100を切断するカッターユニット33とを備えている。プリンター2は、ロール紙100をローラー形状のプラテン32によって搬送しながら、発熱素子(図示略)が並べて設けられた印刷ヘッド31によって、ロール紙100の記録面に熱を与えることにより、ロール紙100に文字や画像を印刷(記録)するサーマルラインプリンターである。
文字や画像が印刷されたロール紙100は、本体11の上面に形成された排紙口14から外に向けて、プラテン32によって搬送され、印刷終了位置よりも下でカッターユニット33により切断され、レシート101となる。レシート101には、店名や売り上げた商品名、商品数量、金額、合計金額等の文字のほか、たとえば図1に示すように、トップロゴ102等のロゴの画像が印刷される。
As shown in FIGS. 1 and 2, the
The
図2に示すように、プリンター2が備えるカッターユニット33は、ロール紙100の搬送路の一方側に配置された固定刃34と、この固定刃34に対向してロール紙100の搬送路の他方側に配置された可動刃35と、可動刃35を固定刃34に向けてスライドさせるカッター駆動モーター36とを備え、カッター駆動モーター36の駆動力により、駆動機構(図示略)を介して可動刃35がカッター駆動モーター36に向けて移動され、固定刃34と可動刃35との間に印刷後のロール紙100が挟まれ、切断される。
また、図1に示すように、プリンター2の本体11には開閉可能なカバー12が設けられる。本体11には、カバー12を開くためのレバー13が設けられ、カバー12を開くと、ロール紙100を収容する空間が露出し、ロール紙100の補充や交換が可能になる。また、本体11には、プリンター2の電源をオン/オフさせる電源スイッチ16、動作モードの切り替え等の操作を行うための紙送りスイッチ17、及び、プリンター2の動作状態等を表示するためのLED表示部18が設けられている。
As shown in FIG. 2, the
Further, as shown in FIG. 1, a
図3は、プリンター2の回路構成を示すブロック図である。
プリンター2は、プリンター2の全体を制御する制御部20と、制御部20の制御に従って動作する各部を備えて構成される。制御部20は、所定のプログラムを実行して各種データを処理することにより制御を行うCPU21と、CPU21が実行する基本制御プログラムを記憶したROM22と、CPU21が実行するプログラムや処理対象のデータ等を一時的に記憶するワークエリアを形成するRAM23と、CPU21の制御に従ってモーター等を駆動するモータードライバー24とを備えている。そして、CPU21には、CPU21が実行する制御プログラムや処理対象のデータ等を不揮発的に記憶する不揮発性メモリー25が接続される。不揮発性メモリー25は、具体的には、EEPROMやフラッシュメモリー等の半導体記憶素子により構成される。
FIG. 3 is a block diagram illustrating a circuit configuration of the
The
また、CPU21には、紙送りスイッチ17における操作を検出する入力部26、LED表示部18を制御して各種表示を行わせる表示部27、ロール紙100の搬送路上の所定位置に配置され、該位置におけるロール紙100の有無を検出する用紙端センサー37、ロール紙100の残量が所定量以下になったことを検出する用紙残量センサー38、及び、ホストコンピューター4に接続され、ホストコンピューター4との間のコマンドやデータの送受信を制御するインターフェース28等が接続されている。
CPU21は、用紙端センサー37及び用紙残量センサー38により検出されるロール紙100の位置やロール紙100の残量を監視しながら、インターフェース28を介してホストコンピューター4から入力される印刷ジョブを実行し、モータードライバー24を介して印刷ヘッド31、カッター駆動モーター36及び搬送モーター39を動作させ、ロール紙100への印刷を実行する。CPU21は、入力部26によって紙送りスイッチ17の操作を検出した場合は搬送モーター39を動作させてロール紙100を所定量搬送する。また、CPU21は、プリンター2の動作状態等に合わせて表示部27を介してLED表示部18の各LEDの点灯状態を変化させる。
Further, the
The
モータードライバー24には、印刷ヘッド31、カッター駆動モーター36、及び、プラテン32を駆動する搬送モーター39が接続される。モータードライバー24は、印刷ヘッド31の各発熱素子(図示略)に対して駆動電流を供給するとともに電圧を制御して、ロール紙100への印刷を行わせる。また、モータードライバー24は、例えばステッピングモーターで構成されるカッター駆動モーター36及び搬送モーター39に対し、駆動電源を供給するとともに必要数の駆動パルスを出力する。
Connected to the
図4は、プリンター2の機能的構成を示す機能ブロック図である。この図4に示す各ブロックは、図3に示したプリンター2の各部のハードウェア、或いは、ハードウェアとソフトウェアとの協働により実現される機能を示す。
制御部20は、インターフェース28を介してホストコンピューター4から受信したコマンドやデータを一時的に保持する受信バッファー201(バッファーメモリー)、受信バッファー201に保持されたコマンドを検出して、その種類や内容を判定するコマンド判定部202、コマンド判定部202により検出されたコマンドに従って処理を実行するコマンド処理部203、ロール紙100に印刷されるロゴ等の画像を一時的に記憶するイメージバッファー204、及び、ロール紙100への印刷を制御する印刷制御部205を有する。
また、プリンター2は、制御部20の制御に従ってロゴの画像データを記憶するロゴイメージ記憶部210(不揮発性記憶部)を有する。ロゴイメージ記憶部210は、不揮発性メモリー25(図3)に形成される記憶領域であり、ロゴの画像データを不揮発的に記憶する。
FIG. 4 is a functional block diagram illustrating a functional configuration of the
The
Further, the
受信バッファー201は、RAM23(図3)により構成される揮発性の記憶部であり、インターフェース28を介して受信したデータを、コマンドやデータの区別なく、受信した順に記憶する。
コマンド判定部202は、受信バッファー201に記憶されたデータを先頭から順に参照し、各データがコマンドであるか否かを判定する。すなわち、コマンド判定部202は、受信バッファー201に記憶されたデータの中からコマンドを検出する。
コマンド処理部203は、コマンド判定部202によってコマンドであると判定されたデータを受信バッファー201から読み出して、そのコマンドを実行する。ホストコンピューター4から送信されるコマンドは、その処理対象のデータを伴っている場合があり、例えば、印刷実行のコマンドに続けて印刷データがホストコンピューター4から送信されて受信バッファー201に記憶され、ロゴ登録等のコマンドは登録すべき画像データとともにホストコンピューター4から送信され、これらのコマンドとデータは受信バッファー201に記憶される。
The
The
The
また、コマンド処理部203は、受信バッファー201からロゴ登録のコマンドを読み出した場合、このコマンドに続く画像データを読み出して、コマンドにより指定された識別情報を付してロゴイメージ記憶部210に画像データを記憶させる。ロゴイメージ記憶部210に記憶された画像データは、必要に応じてロゴイメージ記憶部210から読み出されて、ロール紙100に印刷される。コマンド処理部203は、ホストコンピューター4から印刷ジョブを受信した場合に、ロゴイメージ記憶部210にロゴとして記憶された画像データの識別情報が指定された場合には、その画像データをロゴイメージ記憶部210から読み出してイメージバッファー204に展開する。イメージバッファー204は、RAM23(図3)により構成される揮発性の記憶部であり、印刷制御部205によってロール紙100に印刷される画像データを展開する領域である。
印刷制御部205は、コマンド処理部203の制御に従って、用紙端センサー37及び用紙残量センサー38の検出値に基づいて、印刷ヘッド31、搬送モーター39及びカッター駆動モーター36を制御し、ロール紙100に文字や画像等を印刷する。
Further, when the
The
図5は、コマンド処理部203によるロゴの画像データに係る処理の説明図である。
この図5に示すように、コマンド処理部203は、ホストコンピューター4から画像データとともに、ロゴの画像データを登録するよう指示するコマンドが送信された場合に、ホストコンピューター4から送信された画像を受信バッファー201から読み出して、ロゴイメージ記憶部210に記憶させる。
本実施形態のコマンド処理部203は、ロゴの画像データをロゴイメージ記憶部210に記憶させる際に、この画像データの天地(上下)に存在する余白112(余白データ)を検出し、この余白112を除去する画像処理を行い、処理後の余白除去画像データ120(余白除去データ)をロゴイメージ記憶部210に記憶させる。そして、ホストコンピューター4から、ロゴイメージ記憶部210内のロゴの画像データを印刷するよう指示するコマンドが送信された場合、このコマンドに従って、余白除去画像データ120をロゴイメージ記憶部210から読み出して、イメージバッファー204に展開する。イメージバッファー204に展開された余白除去画像データ120は、例えば、レシート101(図1)のトップロゴ102(図1)として、ロール紙100に印刷される。
FIG. 5 is an explanatory diagram of processing related to logo image data by the
As shown in FIG. 5, the
When storing the logo image data in the logo
ここで、コマンド処理部203は、受信バッファー201から画像データを所定バイト単位で(所定データ量単位、例えば、1バイト単位で)読み出し、ロゴイメージ記憶部210に記憶させる。
本実施形態では、ホストコンピューター4とプリンター2との間で実行される通信プロトコルの仕様により、コマンドは1バイトのデータとして規定されているため、コマンド判定部202は1バイトのデータがコマンドか否かを判定する仕様となっている。
このため、ホストコンピューター4から送信されたコマンド及びデータは順次受信バッファー201に記憶され、この受信バッファー201の先頭からコマンド判定部202がデータを1バイトずつ読み出して、コマンドか否かを判定し、コマンドであった場合は、この1バイトのコマンドをコマンド処理部203が解釈して実行する。そして、このコマンドが、例えばロゴの画像データの登録を指示するコマンドのように、対象とするデータを伴う場合には、その後の画像データも1バイトずつ受信バッファー201から読み出され、コマンド判定部202によってデータと判定され、コマンド処理部203によって処理される。
Here, the
In the present embodiment, the command is defined as 1-byte data according to the specification of the communication protocol executed between the
For this reason, the command and data transmitted from the
図6は、ホストコンピューター4から入力される入力画像データ110の一例を示す図である。
この入力画像データ110には、中央に四角形のオブジェクト111が位置し、入力画像データ110の上部には高さLTの余白112が存在し、入力画像データ110の下部には高さLBの余白112が存在する。コマンド処理部203は、この上下の余白112を検出し、余白112を除いた余白除去画像データ120を生成する。
FIG. 6 is a diagram illustrating an example of
In this
図7は、余白112に係る処理の説明図である。図7Aは処理前の入力画像データ110を示し、図7Bは処理の様子を示し、図7Cは処理後の余白除去画像データ120を示す。
図7Aに示すように、オブジェクト111の上下に余白を有する入力画像データ110において、コマンド処理部203は、図7Bに示すように余白112の位置及びサイズを特定する。通常、上の余白112は、入力画像データ110の上端からオブジェクト111の上端より上までの領域であり、下の余白112は、入力画像データ110の下端から、オブジェクト111の下端より下までの領域である。コマンド処理部203は、この入力画像データ110の上下の余白112を除去し、余白除去画像データ120を生成する。この際、コマンド処理部203は、余白112の除去を所定の閾値に基づいて行ってもよい。例えば、10ライン以上または1.5mm以上の余白112を除去するようにしてもよい。この場合の閾値は、例えば、ロゴイメージ記憶部210に記憶しておくことができる。このようにすれば、余白除去画像データ120を印刷する際、近接する印刷データと近過ぎない位置に、バランスよく配置することができる。
FIG. 7 is an explanatory diagram of processing relating to the
As shown in FIG. 7A, in the
入力画像データ110をそのままトップロゴ102(図1)としてロール紙100に印刷する場合に比べ、トップロゴ102の天地方向のサイズが小さくなるため、ロール紙100の消費量を節約することができ、印刷に要する時間を短縮することもできる。オブジェクト111の上下の余白112が無くなることでロゴの印象が変化する可能性があるが、一般に、レシート101(図1)においてはトップロゴ102等のロゴと、その上下の文字等との間にはマージンが設けられることが多く、ロゴの余白を除去することを前提にしてマージンを設定することも可能であるから、オブジェクト111の上下の余白が無くなることによる視認性の低下は懸念されない。また、プリンター2を使用するユーザーが、ロール紙100を節約するために、既存の入力画像データ110から手作業で余白112を除去することも考えられるが、このような画像処理は、コンピューターの操作及び画像処理に関する知識と技術が要求される。本実施形態のプリンター2は、ユーザーの手を煩わせることなく、入力画像データ110の上下の余白112を取り去ることができ、非常に有用である。
なお、入力画像データ110においてオブジェクト111の左右に位置する余白を検出し、この余白を除去した画像を生成することも勿論可能であるが、本実施形態では、ロール紙100の消費量とスループットの向上という利点を直接的にもたらす点に着目し、上下の余白112のみを除去する場合を例示している。
Compared with the case where the
Of course, it is possible to detect margins positioned on the left and right of the
また、コマンド処理部203は、入力画像データ110の上下の余白112を除去する際に、もとの入力画像データ110を復元できるように、余白情報121を生成する。
図8は、余白情報121の例を模式的に示す図である。
この図8に例示する余白情報121は、余白除去画像データ120に記憶された余白除去画像データ120(図5)に付された識別情報(ここではNo.)と、余白を除去する前の入力画像データ110の全体のサイズ、及び、除去する前の入力画像データ110における余白112の位置及びサイズを示す情報が対応づけられている。
この例では、No.1の画像は、余白を除去する前は横220ドット×縦300ライン(ドット)のサイズであり、上部の1ライン目〜40ライン目の領域と、下部の260ライン目〜300ライン目が余白であったことになる。従って、No.1の余白除去画像データ120の上部に横220ドット×縦40ラインの余白を付加し、下部に横220ドット×縦40ラインの余白を付加すると、余白を除去する前の入力画像データ110を再現できる。
コマンド処理部203は、ホストコンピューター4から登録を指示された入力画像データ110を、そのままの状態で印刷する場合には、ロゴイメージ記憶部210から余白除去画像データ120を読み出してイメージバッファー204に展開し、対応する余白情報121を余白除去画像データ120から読み出して、この余白情報121に基づいてイメージバッファー204の余白除去画像データ120に対して余白を付加する処理を行い、処理後の画像データを、印刷制御部205によって印刷させる。印刷制御部205が、余白除去画像データ120を読み出して印刷し、余白情報121に基づいて余白112に相当する部分を紙送りにより形成することもできる。
Further, the
FIG. 8 is a diagram schematically illustrating an example of the
The
In this example, no. The
The
図9は、プリンター2の動作を示すフローチャートであり、特に、ホストコンピューター4から受信した画像データをロゴイメージ記憶部210に記憶する際の一連の処理を示す。
ホストコンピューター4から画像データ(ロゴ)の登録を指示するコマンドが送信され、続いて登録する画像のビットマップデータが送信されると、プリンター2の制御部20は、コマンドと画像データとを受信バッファー201に記憶する(ステップS11)。
続いて、制御部20は、受信バッファー201からコマンドを検出し、このコマンドに続く入力画像データ110を、先頭から1バイトずつ読み出し、余白(余白部分のデータ)を検出しながら、1バイトずつロゴイメージ記憶部210に記憶させる(ステップS12)。制御部20は、入力画像データ110の全てについて、受信バッファー201からの読み出しと余白112の検出とが完了した後、入力画像データ110の全体における余白112の位置及びサイズを決定し、余白情報121を生成するとともに、この余白112を除去した余白除去画像データ120を生成する(ステップS13)。
FIG. 9 is a flowchart showing the operation of the
When a command instructing registration of image data (logo) is transmitted from the
Subsequently, the
例えば、入力画像データ110が白黒2値のビットマップデータである場合、制御部20は、8ドットに相当する1バイトのデータをもとに、全てのドットが白(余白部分のデータ)であるか、或いは、一つでも白でないドットがあるかを判別して、判別結果を一時的に記憶する。制御部20は、1ライン分のドットについて判別結果が得られた時点で、そのラインの全てのドットが白であるか、或いは、一つでも白でないドットがあるかを判別する。このライン毎の判別結果を全てのラインについて得た後で、制御部20は、全てのドットが白で構成されるラインを入力画像データ110の上端および下端からそれぞれ検出し、全てのドットが白のラインが上端または下端から連続する領域を余白(余白データ)とする。また、制御部20は、ホストコンピューター4から送信されたコマンドから入力画像データ110の全体のサイズを検出する。ここで、入力画像データ110を1バイトずつ処理した結果に基づいて入力画像データ110の全体のサイズを検出してもよい。
その後、制御部20は、生成した余白除去画像データ120と、余白情報121とを対応づけて、ロゴイメージ記憶部210に記憶させ(ステップS14)、本処理を終了する。
For example, when the
Thereafter, the
なお、図9に示す処理において、ステップS12では1バイトずつ余白を検出しながら、入力画像データ110をロゴイメージ記憶部210に記憶させ、その後に、余白除去画像データ120を生成してロゴイメージ記憶部210に記憶させる構成としたが、例えば、余白を検出した後に入力画像データ110をいったんイメージバッファー204に展開し、このイメージバッファー204において余白112を除去して余白除去画像データ120を生成し、生成した余白除去画像データ120をロゴイメージ記憶部210に書き込んでもよい。
In the process shown in FIG. 9, in step S12, the
以上のように、本発明を適用した実施形態に係るプリンター2によれば、ロゴイメージ記憶部210から画像データを読み出してロール紙100に印刷するプリンター2において、ホストコンピューター4から入力されるデータを一時的に保持する受信バッファー201と、印刷用の画像データを不揮発的に記憶するロゴイメージ記憶部210と、ホストコンピューター4から入力された画像データを、受信バッファー201から所定バイト単位で読み出し、読み出した所定バイト単位の画像データに含まれる空白部分を検出するとともに、読み出した所定バイト分の画像データをロゴイメージ記憶部210に記憶させる制御部20と、を備え、制御部20は、所定バイト単位の画像データから余白部分を検出した結果に基づき、ホストコンピューター4から入力された画像データ全体における余白を検出する。
As described above, according to the
これにより、受信バッファー201から画像データを読み出してロゴイメージ記憶部210に記憶させる際に、所定バイト単位で画像データの余白を検出するので、処理対象のデータサイズを入力された画像データの全体に比べて小さく抑えることができ、画像データ全体の余白を一度に検出する場合に比べて処理の負荷を軽減し、高速に処理できる。
また、余白を検出する処理だけのためにロゴイメージ記憶部210から画像データを読み出す必要がないので、余白を検出する処理を短時間で完了できる。これにより、ハードウェアのリソースが限られているプリンター2においても、速やかに画像データの余白を検出することができ、余白を除いた状態で画像データを印刷する等の処理が可能になる。この際、印刷制御部205が、余白除去画像データ120を読み出して印刷を実行し、かつ、余白情報121に基づいて余白112に相当する部分を紙送りによって形成することもできる。この場合、実質的に余白112を含む全体を印刷するが、余白112の印刷データの処理を省くことができるため、処理時間も短縮できる。
As a result, when the image data is read from the
Further, since it is not necessary to read out the image data from the logo
また、制御部20は、ホストコンピューター4から入力された入力画像データ110の余白112を除去した余白除去画像データ120を生成し、この余白除去画像データ120をロゴイメージ記憶部210に記憶させるので、入力画像データ110を、余白112を除去した状態でロール紙100に印刷できる。また、余白除去画像データ120をロゴイメージ記憶部210に記憶しているので、印刷時に余白112を除去する処理を行う必要がなく、印刷動作のスループットの低下を招かない。
さらに、制御部20は、余白除去画像データ120とともに、除去された余白を復元するための余白情報121をロゴイメージ記憶部210に記憶させるので、余白情報121に基づいて余白除去画像データ120に余白を加えることで、もとの入力画像データ110を復元できる。このため、ホストコンピューター4から入力された入力画像データ110と、余白112を除去した余白除去画像データ120との両方を印刷できる。
Further, the
Further, since the
さらにまた、制御部20は、受信バッファー201に保持されたデータから画像記憶を指示するコマンドを検出するコマンド判定部202と、コマンド判定部202により検出されたコマンドに従って受信バッファー201から画像データを読み出してロゴイメージ記憶部210に記憶させるコマンド処理部203と、を備えるので、受信バッファー201内のコマンドに従って、受信バッファー201内の画像データを読み出して余白を検出する処理を行うことができる。このため、プリンター2に外部接続されたホストコンピューター4から画像データの記憶を指示するコマンドとともに画像データを入力するだけで、このコマンドに従って速やかに画像データが記憶される上、画像データの余白の検出を行うことができる。
Furthermore, the
なお、上述した実施形態では、ホストコンピューター4から入力された入力画像データ110の余白112を除去して、余白除去画像データ120を生成し、この余白除去画像データ120をロゴイメージ記憶部210に記憶する構成について説明したが、本発明はこれに限定されるものではなく、入力画像データ110をそのままロゴイメージ記憶部210に記憶し、必要な場合に、余白112を除去してロール紙100に印刷する構成としてもよい。この例について説明する。
In the above-described embodiment, the
図10は、プリンター2の動作の別の例を示すフローチャートであり、特に、ホストコンピューター4から受信した画像データをロゴイメージ記憶部210に記憶する際の一連の処理を示す。
この図10に示す動作において、プリンター2の制御部20は、ホストコンピューター4から画像データの登録を指示するコマンドが送信され、続いて登録する画像のビットマップデータが送信されると、コマンドと画像データとを受信バッファー201に記憶する(ステップS21)。
続いて、制御部20は、受信バッファー201からコマンドを検出し、このコマンドに続く入力画像データ110を、先頭から1バイトずつ読み出し、余白(余白部分のデータ)を検出しながら、1バイトずつロゴイメージ記憶部210に記憶させる(ステップS22)。そして、入力画像データ110の全てについて、受信バッファー201からの読み出しと余白112の検出とが完了した後、制御部20は、入力画像データ110の全体における余白112の位置及びサイズを決定し、余白情報121を生成する(ステップS23)。制御部20は、生成した余白情報121を、入力画像データ110に対応づけて、ロゴイメージ記憶部210に記憶させ(ステップS24)、本処理を終了する。
FIG. 10 is a flowchart showing another example of the operation of the
In the operation shown in FIG. 10, when the
Subsequently, the
この場合、制御部20は、ホストコンピューター4から入力された入力画像データ110をロゴイメージ記憶部210に記憶するとともに、入力画像データ110における余白112の位置及びサイズを示す余白情報121を生成して、ロゴイメージ記憶部210に記憶するので、ホストコンピューター4から入力された入力画像データ110をそのまま印刷することも、余白情報121に基づいて余白112を除去して印刷することもできる。例えば、ロゴイメージ記憶部210から入力画像データ110を読み出してイメージバッファー204に展開し、このイメージバッファー204に展開した画像データから余白112を除去する処理を行うことも可能である。この構成では、入力画像データ110をそのまま印刷する場合のスループットが高いので、入力画像データ110をトップロゴ102(図1)等として使用する頻度が高い場合に、スループットの低下を招くことなく、余白112を除去した印刷をも可能とすることができる。
In this case, the
また、プリンター2においては、ホストコンピューター4がプリンター2に送信した入力画像データ110(図7B)をそのままロール紙100に印刷する頻度と、余白112(図7B)を除去した余白除去画像データ120(図7C)を印刷する頻度とを比較し、より高い頻度で印刷される方をロゴイメージ記憶部210に記憶させてもよい。この場合、図9を参照して説明した動作と、図10を参照して説明した動作とを、切り替えて実行できるようにしてもよい。
In the
なお、上記実施形態は本発明を適用した一具体例を示すものであり、本発明はこれに限定されるものではない。例えば、上記実施形態においては、余白情報121を、入力画像データ110または余白除去画像データ120に対応づけてロゴイメージ記憶部210に記憶するものとして説明したが、本発明はこれに限定されるものではなく、不揮発性メモリー25に設けられた別の記憶領域、或いは、他の不揮発性記憶装置に記憶してもよい。また、上記実施形態では1バイト分ずつ入力画像データを受信バッファー201から読み出して処理する構成を例に挙げて説明したが、本発明はこれに限定されるものではなく、2バイト、8バイト、或いはそれ以上の単位で画像データを処理してもよい。さらに、上記実施形態では、コマンドとデータとを全て受信バッファー201に記憶し、この受信バッファー201から画像データを読み出す際に余白を検出する構成としたが、本発明はこれに限定されるものではなく、例えば、コマンド以外のデータだけを保持するバッファーメモリーを別に設けてもよいし、或いは、画像データを、受信バッファー201以外のバッファーメモリーにいったん全て転送し、転送後のバッファーメモリーから1バイト分ずつ画像データを読み出して処理してもよい。また、上記実施形態ではロゴイメージ記憶部210に記憶した画像データをレシート101のトップロゴ102として印刷する場合を例に挙げて説明したが、レシート101の下端部にロゴを印刷することも可能であるし、複数のロゴを並べたクーポン等を印刷することも勿論可能であり、その他のプリンター2及びホストコンピューター4の細部構成については任意に変更可能である。
また、本発明を適用可能な記録装置は、予め記憶した画像データを印刷できるプリンターであれば特に制限されず、サーマルラインプリンターに限らず、インクジェット式プリンター、ドットインパクト式プリンター、レーザープリンター、熱昇華型プリンターのいずれであってもよいし、他の方式で文字や画像を形成するプリンターであってもよく、他の装置に組み込まれるプリンターにも本発明を適用可能である。
In addition, the said embodiment shows one specific example to which this invention is applied, and this invention is not limited to this. For example, in the above embodiment, the
The recording apparatus to which the present invention is applicable is not particularly limited as long as it is a printer that can print image data stored in advance, and is not limited to a thermal line printer, but is also an ink jet printer, dot impact printer, laser printer, thermal sublimation. The printer may be any type printer, may be a printer that forms characters and images by other methods, and the present invention can also be applied to a printer incorporated in another apparatus.
2…プリンター(記録装置)、4…ホストコンピューター(外部接続された装置)、20…制御部、100…ロール紙(記録媒体)、101…レシート、102…トップロゴ、120…余白除去画像データ(余白除去データ)、201…受信バッファー(バッファーメモリー)、202…コマンド判定部、203…コマンド処理部、210…ロゴイメージ記憶部(不揮発性記憶部)。 2 ... Printer (recording device), 4 ... Host computer (externally connected device), 20 ... Control unit, 100 ... Roll paper (recording medium), 101 ... Receipt, 102 ... Top logo, 120 ... Margin-removed image data ( (Margin removal data), 201 ... reception buffer (buffer memory), 202 ... command determination unit, 203 ... command processing unit, 210 ... logo image storage unit (nonvolatile storage unit).
Claims (7)
外部接続された装置から受信したデータを一時的に保持するバッファーメモリーと、
前記画像データを不揮発的に記憶する不揮発性記憶部と、
前記外部接続された装置から受信した前記画像データを、前記バッファーメモリーから所定データ量単位で読み出し、前記読み出した所定データ量単位の画像データに含まれる余白部分のデータを検出するとともに、前記読み出した所定データ量分の画像データを前記不揮発性記憶部に記憶させる制御部と、を備え、
前記制御部は、前記読み出した所定データ量単位の画像データから前記余白部分のデータを検出した結果に基づき、前記外部接続された装置から受信した画像データにおける余白データを検出すること、
を特徴とする記録装置。 A recording device that reads out stored image data and records it on a recording medium,
A buffer memory that temporarily holds data received from externally connected devices;
A nonvolatile storage unit for storing the image data in a nonvolatile manner;
The image data received from the externally connected device is read from the buffer memory in a predetermined data amount unit, and data of a margin part included in the read image data in the predetermined data amount unit is detected, and the read A control unit that stores image data for a predetermined amount of data in the nonvolatile storage unit,
The control unit detects margin data in image data received from the externally connected device based on a result of detecting the data of the margin portion from the read image data in a predetermined data amount unit;
A recording apparatus.
外部接続された装置から受信した前記画像データをバッファーメモリーに一時的に保持し、制御部によって前記バッファーメモリーから前記画像データを所定データ量単位で読み出し、前記読み出した所定データ量分の画像データに含まれる空白部分のデータを検出するとともに、前記読み出した所定データ量分の画像データを不揮発性記憶部に記憶させ、さらに、前記読み出した所定データ量単位の画像データから余白部分のデータを検出した結果に基づいて前記外部接続された装置から受信した画像データにおける余白データを検出すること、
を特徴とする記録装置の制御方法。 A method for controlling a recording apparatus for reading stored image data and recording it on a recording medium,
The image data received from an externally connected device is temporarily held in a buffer memory, and the control unit reads the image data from the buffer memory in units of a predetermined amount of data. Detecting the blank portion data included, storing the read predetermined amount of image data in the nonvolatile storage unit, and further detecting the blank portion data from the read predetermined amount of image data Detecting margin data in image data received from the externally connected device based on a result;
A control method for a recording apparatus.
前記制御部は、外部接続された装置から受信し、バッファーメモリーに一時的に保持された前記画像データを所定データ量単位で読み出し、前記読み出した所定データ量分の画像データに含まれる余白部分のデータを検出するとともに、前記読み出した所定データ量分の画像データを不揮発性記憶部に記憶させ、さらに、所定データ量単位の画像データから余白部分のデータを検出した結果に基づいて前記外部接続された装置から受信した画像データにおける余白データを検出すること、
を特徴とするプログラム。 A program executed by a control unit for controlling a recording device that reads stored image data and records the image data on a recording medium,
The control unit reads the image data received from an externally connected device and temporarily stored in a buffer memory in units of a predetermined amount of data, and reads a margin portion included in the read image data for the predetermined amount of data. In addition to detecting the data, the image data for the read predetermined amount of data is stored in the nonvolatile storage unit, and further, the external connection is performed based on the result of detecting the margin data from the predetermined amount of image data. Detecting margin data in the image data received from the selected device;
A program characterized by
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009240119A JP2011084027A (en) | 2009-10-19 | 2009-10-19 | Recording device, control method of recording device, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009240119A JP2011084027A (en) | 2009-10-19 | 2009-10-19 | Recording device, control method of recording device, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2011084027A true JP2011084027A (en) | 2011-04-28 |
Family
ID=44077344
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009240119A Withdrawn JP2011084027A (en) | 2009-10-19 | 2009-10-19 | Recording device, control method of recording device, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2011084027A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017183766A (en) * | 2016-03-28 | 2017-10-05 | ブラザー工業株式会社 | Server program, image generation device and image data generation method |
-
2009
- 2009-10-19 JP JP2009240119A patent/JP2011084027A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017183766A (en) * | 2016-03-28 | 2017-10-05 | ブラザー工業株式会社 | Server program, image generation device and image data generation method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8994961B2 (en) | Reducing white space in a medium for printing | |
| CN103426257B (en) | Media processing apparatus and POS system | |
| JP5391956B2 (en) | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM | |
| US9224275B2 (en) | Media processing method using multiple processing units for performing multiple processes | |
| US9058133B2 (en) | Control device, control method for a control device, and recording medium | |
| JP2011104861A (en) | Recording control device, method of controlling recording device, and program | |
| CN103426255B (en) | Media processing apparatus and POS system | |
| JP5532848B2 (en) | Recording control apparatus, control method, and program | |
| JP2011098440A (en) | Recorder, control method for recorder, and program | |
| JP2011084027A (en) | Recording device, control method of recording device, and program | |
| JP6056196B2 (en) | Medium processing apparatus and POS system | |
| JP2011088373A (en) | Recorder, control method for the same and program | |
| JP2012123704A (en) | Control apparatus, control method of control apparatus, and program | |
| JP2010012668A (en) | Printing apparatus, control method of printing apparatus and print control program | |
| JP2013230662A (en) | Recording control device, recording device and control method of recording device | |
| JP2014056583A (en) | Recording apparatus, control method of recording apparatus and program | |
| JP6003265B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
| JP2012250355A (en) | Recording apparatus, control method thereof, and program | |
| JP6019749B2 (en) | Medium processing apparatus and POS system | |
| JP2012196886A (en) | Printer, method of controlling the same, and program | |
| JP6032334B2 (en) | Control device and recording system | |
| JP2012101391A (en) | Recording apparatus, method for controlling the same, and program | |
| JP6459260B2 (en) | Recording system, recording control method, and recording apparatus | |
| JP2014054846A (en) | Control device, control method for control device, and program | |
| JP5906606B2 (en) | Control device, recording device, control method of control device, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20130108 |