JP4844129B2 - RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, CONTROL PROGRAM, AND COMPUTER SYSTEM - Google Patents
RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, CONTROL PROGRAM, AND COMPUTER SYSTEM Download PDFInfo
- Publication number
- JP4844129B2 JP4844129B2 JP2006008300A JP2006008300A JP4844129B2 JP 4844129 B2 JP4844129 B2 JP 4844129B2 JP 2006008300 A JP2006008300 A JP 2006008300A JP 2006008300 A JP2006008300 A JP 2006008300A JP 4844129 B2 JP4844129 B2 JP 4844129B2
- Authority
- JP
- Japan
- Prior art keywords
- recording
- recording medium
- host computer
- conveyance
- unit
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Controlling Sheets Or Webs (AREA)
- Handling Of Sheets (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Description
本発明は、ホストコンピュータから送信される指示に基づいて記録媒体に画像を記録する記録装置、この記録装置の制御方法、制御プログラム、および、上記記録装置を備えたコンピュータシステムに関する。 The present invention relates to a recording apparatus that records an image on a recording medium based on an instruction transmitted from a host computer, a control method for the recording apparatus, a control program, and a computer system including the recording apparatus.
一般に、ホストコンピュータとプリンタ等の記録装置とを接続した場合、これらホストコンピュータと記録装置との間では、いわゆる双方向通信が行われる(例えば、特許文献1参照)。双方向通信は、ホストコンピュータから記録用のデータや制御コマンド等を記録装置へ送信し、記録装置からホストコンピュータに対して動作状態を示す情報を送信する等、指示と応答を繰り返して動作が行われる。この双方向通信を利用することで、記録装置が動作を行う毎に、その状態をホストコンピュータ側で常に監視でき、確実な制御を行えるとされている。
しかしながら、上記の双方向通信を用いる場合、ホストコンピュータから記録装置に対して動作を指示する毎に、その指示通り動作できたか否かを確認し、動作が確認されてから次の動作を指示するといった手順が用いられる。この手順では、記録装置の動作の終了を待つ必要があり、無視できない待ち時間が発生するという問題があった。
例えば、記録媒体に画像を記録する際には、ホストコンピュータから記録装置に対して記録媒体の搬送が指示されるが、この指示の送信後、ホストコンピュータは、記録装置が搬送を完了して正常な状態にあることを通知するまで待機しなければならず、待ち時間が発生してしまうという問題があった。
However, when using the above two-way communication, every time an operation is instructed from the host computer to the recording apparatus, it is confirmed whether or not the operation has been performed as instructed, and the next operation is instructed after the operation is confirmed The following procedure is used. In this procedure, there is a problem that it is necessary to wait for the operation of the recording apparatus to end, and a waiting time that cannot be ignored occurs.
For example, when an image is recorded on a recording medium, the host computer instructs the recording apparatus to convey the recording medium. After this instruction is transmitted, the host computer completes the conveyance of the recording apparatus and is normal. There is a problem in that waiting time must be waited until notification that it is in a proper state.
本発明は、上述した事情に鑑みてなされたものであり、ホストコンピュータと記録装置との間で双方向通信を実行する場合の待ち時間を短縮して、スループットの向上を図ることを目的とする。 The present invention has been made in view of the above-described circumstances, and it is an object of the present invention to reduce the waiting time when bidirectional communication is performed between a host computer and a recording apparatus and to improve throughput. .
上記課題を解決するため、本発明は、記録媒体を搬送する搬送機構部と、前記記録媒体に画像を記録する記録機構部とを備え、ホストコンピュータから送信される指示に基づき、前記搬送機構部による搬送および前記記録機構部による記録を行う記録装置において、前記記録機構部へ向かう前記記録媒体の搬送経路上に、前記記録媒体を検出する検出手段を設けるとともに、前記ホストコンピュータによって前記記録媒体を搬送する量が指示された場合に、前記検出手段の検出状態、および、前記検出手段と前記記録機構部との間の距離に基づいて、指示された量の搬送が可能か否かを判定する制御手段を設けたことを特徴としている。
この構成によれば、記録機構部へ向かう記録媒体の搬送経路上、すなわち記録機構部の上流側に設けられた検出手段の検出状態をもとに、これから記録機構部へ向けて搬送される部分、すなわち記録媒体の残量の有無を知ることができる。また、記録機構部から検出手段までの距離に基づいて、記録媒体の残量を知ることができる。このため、ホストコンピュータから指示された量を搬送した場合に記録媒体の残量が尽きてしまうか否かを判定することができるので、指示された量の搬送の可否を迅速かつ的確に判定できる。これにより、ホストコンピュータから搬送を指示された場合に、その実行の可否を速やかに判定してホストコンピュータへ通知できるので、ホストコンピュータが、続けて画像の記録を指示し、あるいは、搬送を停止させる等の処理を行うことができる。従って、ホストコンピュータと記録装置との間で双方向通信を行う際の待ち時間を大幅に短縮し、スループットの向上を図ることができる。
In order to solve the above-described problem, the present invention includes a transport mechanism unit that transports a recording medium and a recording mechanism unit that records an image on the recording medium, and the transport mechanism unit based on an instruction transmitted from a host computer. In the recording apparatus that performs conveyance by the recording mechanism and recording by the recording mechanism unit, a detection unit that detects the recording medium is provided on a conveyance path of the recording medium toward the recording mechanism unit, and the recording medium is detected by the host computer. When an amount to be conveyed is instructed, it is determined whether or not the instructed amount can be conveyed based on a detection state of the detecting unit and a distance between the detecting unit and the recording mechanism unit. A control means is provided.
According to this configuration, the portion to be conveyed toward the recording mechanism unit from the detection state of the detection means provided on the recording medium conveyance path toward the recording mechanism unit, that is, on the upstream side of the recording mechanism unit. That is, it is possible to know the presence or absence of the remaining amount of the recording medium. Further, the remaining amount of the recording medium can be known based on the distance from the recording mechanism unit to the detecting means. For this reason, it is possible to determine whether or not the remaining amount of the recording medium is exhausted when the amount instructed by the host computer is transported, so that it is possible to quickly and accurately determine whether the instructed amount can be transported. . As a result, when the conveyance is instructed from the host computer, the host computer can promptly determine whether or not the conveyance is possible and notify the host computer, so that the host computer continuously instructs the recording of the image or stops the conveyance. Etc. can be performed. Accordingly, it is possible to greatly reduce the waiting time when performing bidirectional communication between the host computer and the recording apparatus, and to improve the throughput.
本発明において、前記制御手段は、前記ホストコンピュータから指示された量の搬送が可能な場合に、その判定結果を前記ホストコンピュータに送信し、その後、前記搬送機構部により前記記録媒体を搬送させるものとしてもよい。この場合、搬送の可否を示す判定結果をホストコンピュータに送信してから、記録媒体を搬送するので、ホストコンピュータが判定結果を受信して処理を行う間に記録媒体を搬送することができる。これにより、ホストコンピュータと記録装置の双方における待ち時間を効率よく使い、スループットをより一層向上させることができる。 In the present invention, the control means transmits the determination result to the host computer when the amount instructed by the host computer is possible, and then transports the recording medium by the transport mechanism. It is good. In this case, since the determination result indicating whether the conveyance is possible is transmitted to the host computer and then the recording medium is conveyed, the recording medium can be conveyed while the host computer receives the determination result and performs processing. Thereby, it is possible to efficiently use the waiting time in both the host computer and the recording apparatus and further improve the throughput.
また、本発明において、前記制御手段は、前記検出手段によって前記記録媒体が検出されている状態において、前記ホストコンピュータにより指示された量が、前記記録機構部と前記検出手段との間の距離よりも小さい場合には、指示された量の搬送が可能であると判定するものとしてもよい。すなわち、検出手段によって記録媒体が検出されている状態では、その後、少なくとも記録機構部から検出手段までの間には記録媒体が存在し、その分だけ搬送を行える。このため、記録機構部と検出手段との間の距離と、ホストコンピュータにより指示された量とを比較することで、迅速かつ的確に搬送の可否を判定できる。 In the present invention, the control means may be configured such that, in a state where the recording medium is detected by the detection means, an amount instructed by the host computer is based on a distance between the recording mechanism unit and the detection means. If it is smaller, it may be determined that the designated amount can be conveyed. That is, in a state in which the recording medium is detected by the detection unit, the recording medium is present at least from the recording mechanism unit to the detection unit, and can be transported by that amount. For this reason, by comparing the distance between the recording mechanism unit and the detection means with the amount instructed by the host computer, it is possible to quickly and accurately determine whether the conveyance is possible.
さらに、本発明において、前記記録機構部と前記検出手段との間の距離から、前記検出手段により前記記録媒体が検出されなくなった時点からの搬送量を減算した量を残り搬送可能量として記憶する記憶手段をさらに備え、前記制御手段は、前記ホストコンピュータにより指示された量と前記記憶手段に記憶された搬送可能量とを比較することにより、搬送が可能か否かを判定するものとしてもよい。この構成によれば、検出手段により記録媒体が検出されなくなった時点において、記録機構部に搬送可能な記録媒体の大きさは、記録機構部から検出手段までの距離に等しいので、この距離をもとに、記録機構部へ向けて搬送可能な残り搬送可能量が求められ、記憶手段に記憶される。この場合、搬送可能な量が予め記憶されているので、ホストコンピュータから指示された量の搬送が可能か否かを速やかに、かつ的確に判定できる。 Furthermore, in the present invention, an amount obtained by subtracting the conveyance amount from the time when the recording medium is no longer detected by the detection unit from the distance between the recording mechanism and the detection unit is stored as the remaining conveyance amount. The storage unit may further include a storage unit, and the control unit may determine whether or not the conveyance is possible by comparing the amount instructed by the host computer with the transportable amount stored in the storage unit. . According to this configuration, when the recording medium is no longer detected by the detection unit, the size of the recording medium that can be transported to the recording mechanism unit is equal to the distance from the recording mechanism unit to the detection unit. In addition, the remaining transportable amount that can be transported toward the recording mechanism unit is obtained and stored in the storage means. In this case, since the transportable amount is stored in advance, it can be quickly and accurately determined whether or not the amount instructed by the host computer can be transported.
さらにまた、前記制御手段は、前記検出手段によって前記記録媒体が検出されている状態において、前記ホストコンピュータにより指示された量が、前記記録機構部と前記検出手段との間の距離を超える場合には、前記検出手段によって前記記録媒体が検出されなくなるまで前記搬送機構部によって前記記録媒体を搬送させて判定を行う構成としてもよい。この場合、ホストコンピュータから指示された量を搬送可能か否かの判定が困難な場合であっても、検出手段により記録媒体が検出されなくなるまで搬送し、その時点における搬送すべき残りの量をもとに判定を行うことができる。すなわち、どのような場合であっても搬送の可否を速やかに判定できる。 Still further, the control means is configured such that the amount instructed by the host computer exceeds the distance between the recording mechanism unit and the detection means in a state where the recording medium is detected by the detection means. May be configured to make the determination by transporting the recording medium by the transport mechanism until the recording unit is no longer detected by the detection means. In this case, even if it is difficult to determine whether or not the amount instructed by the host computer can be transported, transport is performed until the recording medium is no longer detected by the detecting means, and the remaining amount to be transported at that time is determined. Judgment can be made on the basis. That is, it is possible to promptly determine whether or not conveyance is possible in any case.
また、上記目的を達成するため、本発明は、記録媒体を搬送する搬送機構部と、前記記録媒体に画像を記録する記録機構部とを備え、ホストコンピュータから送信される指示に基づき、前記搬送機構部による搬送および前記記録機構部による記録を行う構成を有し、前記記録機構部へ向かう前記記録媒体の搬送経路上に、前記記録媒体を検出する検出手段を設けてなる記録装置の制御方法であって、前記ホストコンピュータによって前記記録媒体を搬送する量が指示された場合に、前記検出手段の検出状態、および、前記検出手段と前記記録機構部との間の距離に基づいて、指示された量の搬送が可能か否かを判定することを特徴とする記録装置の制御方法を提供する。 In order to achieve the above object, the present invention includes a transport mechanism unit that transports a recording medium and a recording mechanism unit that records an image on the recording medium, and the transporting unit is based on an instruction transmitted from a host computer. A method for controlling a recording apparatus, comprising: a mechanism that performs conveyance by a mechanism and recording by the recording mechanism; and a detection unit that detects the recording medium on a conveyance path of the recording medium toward the recording mechanism When the amount of transport of the recording medium is instructed by the host computer, it is instructed based on the detection state of the detection means and the distance between the detection means and the recording mechanism unit. A method for controlling a printing apparatus is provided that determines whether or not a certain amount of paper can be conveyed.
また、上記目的を達成するため、本発明は、記録媒体を搬送する搬送機構部と、前記記録媒体に画像を記録する記録機構部とを備え、ホストコンピュータから送信される指示に基づき、前記搬送機構部による搬送および前記記録機構部による記録を行う構成を有し、前記記録機構部へ向かう前記記録媒体の搬送経路上に前記記録媒体を検出する検出手段を設けてなる記録装置を制御するコンピュータを、前記ホストコンピュータによって前記記録媒体を搬送する量が指示された場合に、前記検出手段の検出状態、および、前記検出手段と前記記録機構部との間の距離に基づいて、指示された量の搬送が可能か否かを判定する手段として機能させるための制御プログラムを提供する。 In order to achieve the above object, the present invention includes a transport mechanism unit that transports a recording medium and a recording mechanism unit that records an image on the recording medium, and the transporting unit is based on an instruction transmitted from a host computer. A computer for controlling a recording apparatus having a configuration for performing conveyance by a mechanism unit and recording by the recording mechanism unit, and provided with detection means for detecting the recording medium on a conveyance path of the recording medium toward the recording mechanism unit When the amount by which the recording medium is conveyed is instructed by the host computer, based on the detection state of the detection means and the distance between the detection means and the recording mechanism unit. A control program for functioning as a means for determining whether or not transport is possible is provided.
さらに、上記目的を達成するため、本発明は、ホストコンピュータと、このホストコンピュータから送信される指示に基づいて、記録媒体の搬送および前記記録媒体への画像の記録を行う記録装置と、を接続してなるコンピュータシステムにおいて、前記記録装置は、前記記録媒体を搬送する搬送機構部と、前記記録媒体に画像を記録する記録機構部と、前記記録機構部へ向かう前記記録媒体の搬送経路上に配設され、前記記録媒体を検出する検出手段と、前記ホストコンピュータから送信される指示に基づき、前記搬送機構部による搬送および前記記録機構部による記録を実行させる制御手段とを備え、前記制御手段は、前記ホストコンピュータによって前記記録媒体を搬送する量が指示された場合に、前記検出手段の検出状態、および、前記検出手段と前記記録機構部との間の距離に基づいて、指示された量の搬送が可能か否かを判定し、判定結果を前記ホストコンピュータへ送信することを特徴とするコンピュータシステムを提供する。
この構成によれば、記録装置において、記録機構部の上流側に設けられた検出手段の検出状態をもとに、記録媒体の残量を知ることができるので、ホストコンピュータから指示された量を搬送した場合に記録媒体の残量が尽きてしまうか否かを、速やかにかつ的確に判定できる。このため、ホストコンピュータから記録装置に対し、記録媒体を搬送するよう指示すれば、その実行の可否が速やかに判定され、ホストコンピュータへ通知することができる。これにより、ホストコンピュータと記録装置との双方における待ち時間を大幅に短縮し、スループットの向上を図ることができる。
Furthermore, in order to achieve the above object, the present invention connects a host computer and a recording apparatus that conveys the recording medium and records an image on the recording medium based on an instruction transmitted from the host computer. In the computer system, the recording apparatus includes a transport mechanism unit that transports the recording medium, a recording mechanism unit that records an image on the recording medium, and a transport path of the recording medium toward the recording mechanism unit. A control unit arranged to detect the recording medium, and a control unit configured to execute conveyance by the conveyance mechanism unit and recording by the recording mechanism unit based on an instruction transmitted from the host computer. Is detected by the detection means when the amount of transport of the recording medium is instructed by the host computer, and A computer system is provided that determines whether or not a specified amount of conveyance is possible based on a distance between the recording means and the recording mechanism, and transmits the determination result to the host computer. To do.
According to this configuration, in the recording apparatus, the remaining amount of the recording medium can be known based on the detection state of the detection means provided on the upstream side of the recording mechanism unit. Whether or not the remaining amount of the recording medium is exhausted when transported can be determined promptly and accurately. For this reason, if the host computer instructs the recording apparatus to transport the recording medium, it is possible to promptly determine whether or not to execute the recording medium and notify the host computer. Thereby, the waiting time in both the host computer and the recording apparatus can be greatly shortened, and the throughput can be improved.
本発明によれば、記録機構部の上流側に設けられた検出手段の検出状態をもとに、記録媒体の残量を求めて、ホストコンピュータから指示された搬送の可否を速やかにかつ的確に判定できるので、ホストコンピュータと記録装置との間で双方向通信を行う際の待ち時間を大幅に短縮し、スループットの向上を図ることができる。 According to the present invention, the remaining amount of the recording medium is obtained based on the detection state of the detection means provided on the upstream side of the recording mechanism, and whether or not the conveyance instructed by the host computer is promptly and accurately determined. Since the determination can be made, it is possible to greatly reduce the waiting time when performing bidirectional communication between the host computer and the recording apparatus, and to improve the throughput.
以下、本発明の実施形態について図面を参照して説明する。
図1は、本発明を適用した実施形態に係る記録装置としてのドットインパクトプリンタの外観を示す斜視図である。本実施形態のドットインパクトプリンタは、複数の記録ワイヤ18A(図4参照)を備えた記録ヘッド18(図2および図3参照)を具備し、これら記録ワイヤ18Aを、インクリボンを介して記録媒体に向けて打ち出すことにより、記録媒体の記録面にドットを形成して、文字を含む画像を記録するものである。
ここで、ドットインパクトプリンタ10において使用可能な記録媒体としては、所定長さに切断されたカットシート、複数枚のシートが連接された連続シート等がある。これらカットシートおよび連続シートは、普通紙、複写紙、厚紙等の紙類、あるいは合成樹脂製のシートにより構成され、これらのシートにコーティングや浸潤等の加工を施したものを用いてもよい。また、カットシートの形態としては、例えば、定形サイズのカット紙(PPC用紙や葉書等)に加え、複数のシートを綴じた冊子形態のもの(通帳等)や袋状に成形されたもの(封筒等)が挙げられる。連続シートの形態としては、例えば、その幅方向両端にスプロケットホールが穿設され、所定長さ毎に折り畳まれた連続紙や、ロール状に巻かれたロール紙等が挙げられる。
本実施の形態では、ドットインパクトプリンタ10において、複数の記録用紙を長手方向中央で綴じた冊子形態の通帳100を用いる場合を例に挙げて、説明する。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a perspective view showing an appearance of a dot impact printer as a recording apparatus according to an embodiment to which the present invention is applied. The dot impact printer of this embodiment includes a recording head 18 (see FIGS. 2 and 3) including a plurality of
Here, examples of the recording medium usable in the
In this embodiment, the
図1に示す通帳100には、その記録面を開いた状態で底面となる面に、磁気ストライプ101が設けられている。この磁気ストライプ101は、各種の情報を磁気的に記録可能な記録領域であり、後述する磁気ヘッド34(図2)によって、情報の書き込みおよび読み出しが行われる。
図1に示すドットインパクトプリンタ10は、カバー12、上部ケース13、および下部ケース14からなる外装の中に、本体を収容した構成を有する。この外装は、上部に開閉可能なカバー12を備え、その下に上部ケース13と下部ケース14とが上下に連結されて配置される。この外装の前面において、上部ケース13と下部ケース14との境界部分には開口部が設けられ、通帳100を手差し挿入するための手差口15となっている。
In the
The
図2は、ドットインパクトプリンタ10の外装に収容されるプリンタ本体を示す斜視図である。また、図3は、ドットインパクトプリンタ10の側断面図である。図3中に示す符号Aは、通帳100の搬送経路を示す。
図2および図3に示すように、プリンタ本体11は、左サイドフレーム16および右サイドフレーム17を含む本体フレームを有する。この本体フレームには、記録ヘッド18およびキャリッジ19を含んで構成される記録機構部20、記録ヘッド18に対向するプラテン21、第1搬送ローラ22および第2搬送ローラ23を備えた搬送機構部としての第1搬送機構部24、第3搬送ローラ25および第4搬送ローラ26を備えた第2搬送機構部27、通帳100が有する磁気ストライプ101の磁気情報を読み取りおよび書き込む磁気ヘッド34を備えた磁気データ読書部29、および、磁気情報読み書き時に通帳100の浮き上がりを上から押えるシート押え部30を有している。
FIG. 2 is a perspective view showing a printer main body housed in the exterior of the
As shown in FIGS. 2 and 3, the printer
左サイドフレーム16および右サイドフレーム17は、プリンタ本体11の左右両端部において互いに対向するよう立設される。この両サイドフレーム16、17間には、キャリッジ軸31が架け渡され、さらに、両サイドフレーム16、17に跨って、平坦面形状の前方シート案内32および後方シート案内33が固定して設けられる。
この前方シート案内32および後方シート案内33は、手差口15(図1)から挿入された通帳100が搬送される搬送経路Aの下面を構成する。前方シート案内32はプリンタ本体11の前側すなわち手差口15側に位置し、後方シート案内33はプリンタ本体11の後側に位置する。前方シート案内32と後方シート案内33とは、記録ヘッド18の下で離れており、この空間に平面形状のプラテン21が配置される。
The
The
上記第1搬送機構部24は、プラテン21よりも前側に位置し、第2搬送機構部27は、プラテン21の後側に位置する。
このうち、第1搬送ローラ22および第3搬送ローラ25は搬送経路Aの下側に配置され、第2搬送ローラ23および第4搬送ローラ26は、搬送経路Aの上側に配置される。通帳100は、第1搬送ローラ22と第2搬送ローラ23との間、および、第3搬送ローラ25と第4搬送ローラ26との間に挟まれて、搬送経路Aを搬送される。
ここで、第1搬送ローラ22および第3搬送ローラ25は、搬送モータ36(図5)および図示しない駆動輪列部によって回転駆動される駆動ローラである。これに対し、第2搬送ローラ23および第4搬送ローラ26は、それぞれ第1搬送ローラ22および第3搬送ローラ25に向けて所定の押圧力でばね付勢され、第1搬送ローラ22および第3搬送ローラ25の回転に伴って回転する従動ローラである。このため、第1搬送ローラ22と第2搬送ローラ23とは互いに反対方向に回転し、第3搬送ローラ25と第4搬送ローラ26とは互いに反対方向に回転して、通帳100を搬送する。
The first
Among these, the
Here, the
また、図3に示すように、プラテン21と第1搬送ローラ22との間には整列板54が配置される。この整列板54は、記録ヘッド18の走査方向に対して平行に延在し、搬送経路Aに対して垂直な板状部材である。整列板54は、搬送経路Aの下側に埋設され、整列モータ37(図5)の動作によって搬送経路Aに進退可能に構成される。すなわち、整列板54は、整列モータ37によって駆動されて上下に移動され、前方シート案内32の下から搬送経路Aに突出して進出し、或いは、搬送経路Aに突出した状態から前方シート案内32の下または面一位置まで退避する。
磁気ヘッド34は、サイドフレーム16,17間に平行に架け渡された二本の磁気ヘッドガイドに沿って、磁気モータ38(図5)により往復駆動される。これによって、磁気ヘッド34は、通帳100の磁気ストライプ101を走査し、磁気ストライプ101から情報を読み出し、および、情報を書き込むことができる。
Further, as shown in FIG. 3, an
The
キャリッジ19は、上述したように左サイドフレーム16および右サイドフレーム17に架け渡されたキャリッジ軸31に摺動自在に挿通される。キャリッジ19は、キャリッジ駆動モータ35(図5)に、輪列駆動部(図示略)およびタイミングベルト(図示略)を介して連結され、キャリッジ駆動モータ35の正転または逆転により、キャリッジ軸31に沿って走行(走査)される。このキャリッジ19の走査方向を主走査方向とする。
このキャリッジ19には、記録ヘッド18が搭載される。記録ヘッド18は、キャリッジ19と一体となって、通帳100の記録面上を主走査方向に沿って移動する。
また、キャリッジ19または本体フレームには、インクリボンが折り畳まれた状態で収容されたリボンカートリッジ39が取り付けられる。このリボンカートリッジ39に収容されたインクリボンは一部が引き出されて記録ヘッド18の先端に重なっている。そして、記録ヘッド18は、主走査方向に走行される間に記録ワイヤ18A(図4)を突出させて、インクリボンを介して通帳100の記録面に打ち当て、インクリボンのインクを、プラテン21と記録ヘッド18との間に搬送される通帳100に付着させて、この通帳100に文字を含む画像を記録する。
As described above, the
A
Further, a
記録ヘッド18から突出する記録ワイヤ18Aの突出力は、プラテン21によって受け止められる。プラテン21は、キャリッジ19の走行方向に延在する平面を有し、その長手方向両端部において、付勢ばね40(図3)によって記録ヘッド18に向けて付勢されつつ弾性支持される。付勢ばね40は、例えば、圧縮コイルばねである。この付勢ばね40の付勢力により、記録ヘッド18の記録動作時における記録ワイヤ18Aの突出力が支持される。
The projection output of the
図4は、ドットインパクトプリンタ10の要部側断面図であり、特に、記録ヘッド18とその前側の構成を図示する。
この図4に示すように、記録ヘッド18には、記録ワイヤ18Aが突出する位置の側方に位置するガイドローラ41が配設される。このガイドローラ41は、記録ヘッド18の走査方向に沿って回転自在に支持されたローラである。ガイドローラ41の下端は、記録ワイヤ18Aが打ち出されない状態において、記録ヘッド18の先端よりも下方に位置する。このガイドローラ41の下端は、プラテン21またはプラテン21上に位置する通帳100に当接し、プラテン21を押し上げる付勢ばね40の付勢力に抗する。これにより、通帳100の厚みが変化しても、その分だけプラテン21が上下に変位することで厚みの差が吸収され、通帳100の記録面と記録ヘッド18の先端との間の距離(ギャップ、あるいはメディアギャップ)が、ガイドローラ41によって適正な距離に保たれる。
FIG. 4 is a side sectional view of the main part of the
As shown in FIG. 4, the
また、図4に示すように、記録ヘッド18の前側には第1シートガイド42および第2シートガイド43が配設される。第1シートガイド42は、手差口15から挿入されて記録ヘッド18へ向けて搬送された通帳100の先端が浮き上がった場合、この先端を下方へ案内するものである。この第1シートガイド42により、通帳100の先端がスムーズに記録ヘッド18とプラテン21の間に入り込む。また、第2シートガイド43は、記録ヘッド18によって記録が行われた通帳100が、記録ヘッド18から手差口15へ向けて搬送される際に、その先端が浮き上がった場合に、この浮き上がった先端を下方へ案内してスムーズに手差口15から排出させるためのガイドである。
As shown in FIG. 4, a
さらに、図4に示すように、通帳100の搬送経路Aには、挿入検出センサ51、および、検出手段としての端検出センサ52の2個のセンサが配設されている。
これら2個のセンサは、いずれも、搬送経路Aにおける通帳100の有無を検出する機能を有する。これら2個のセンサの具体的構成としては、例えば、搬送経路Aの上側に埋設される図示しないLED(発光ダイオード)と、このLEDに対向して搬送経路Aの下側に埋設される受光素子(フォトトランジスタ、フォトダイオード等)とを組み合わせて、受光素子によりLEDからの光を受光したか否かに基づいて、通帳100の有無を検出するものが挙げられる。
Further, as shown in FIG. 4, two sensors of an
Both of these two sensors have a function of detecting the presence or absence of the
挿入検出センサ51は、手差口15と整列板54の間、好ましくは手差口15に近い側に設置され、端検出センサ52は、挿入検出センサ51と整列板54との間に設置され、る。挿入検出センサ51および端検出センサ52は、搬送経路A上において、その設置位置における通帳100の有無を検出する。
ここで、端検出センサ52によって通帳100の有無を検出する位置と、記録ヘッド18の記録ワイヤ18Aが突出する位置との間の距離を、符号Dで示す。また、通帳100の搬送経路Aにおいて符号Dで示す領域、すなわち記録ヘッド18と端検出センサ52との間の領域を、終端領域と呼ぶ。
The
Here, the distance between the position where the
手差口15(図1)から挿入された通帳100は、プリンタ本体11の奥へ向けて第1搬送機構部24により搬送され、挿入検出センサ51および端検出センサ52の設置位置を通過する。その後、通帳100は、整列板54の位置を通り、第1シートガイド42および第2シートガイド43の下を通って、記録ヘッド18とプラテン21との間に達し、画像が記録される。
そして、通帳100に対する記録の実行中に、端検出センサ52において通帳100が検出されなくなった場合、すなわち、通帳100が搬送されたことで、通帳100の終端が端検出センサ52よりも記録ヘッド18側に移動した場合、記録ヘッド18によって画像を記録できる残りの領域は、図中符号Dで示す部分に相当する終端領域に等しい。従って、後述する動作において、ドットインパクトプリンタ10は、端検出センサ52によって通帳100の終端を検出したか否か、および、終端領域のサイズすなわち距離Dを基準として、通帳100に対して画像を記録できるか否かを判別する。
The
When the
また、ドットインパクトプリンタ10は、第1、第2シート搬送機構部24,27の駆動制御、キャリッジ19の走行制御、記録ヘッド18の記録ワイヤ18Aによる記録動作の制御、および磁気データ読書部29の読み書き制御等、プリンタ10全体を制御する制御部として、例えばプリンタ本体11の後側の下方に、制御基板部50を備えている。
The
図5は、ドットインパクトプリンタ10の機能的構成を示すブロック図である。なお、理解の便宜を図るため、図5には、ドットインパクトプリンタ10の構成部とともに、ドットインパクトプリンタ10の外部に存在するホストコンピュータ80を図示する。
図5に示すように、制御基板部50は、制御基板部50の各部を制御する制御手段としてのCPU(Central Processing Unit)61、CPU61により実行されるプログラムおよびデータを一時的に記憶するRAM(Random Access Memory)62、CPU61により実行される制御プログラム等を記憶する記憶手段としてのフラッシュROM(Read Only Memory)63を備え、これらの各部はバス68を介して相互に接続される。また、バス68には、記録ヘッド18により記録される文字を生成するためのキャラクタジェネレータ(CG)64が接続されるほか、記録ヘッド18、キャリッジ駆動モータ35、搬送モータ36、整列モータ37および磁気モータ38を含む各種ステッピングモータに接続され、これらのステッピングモータに対して電源およびパルス信号を供給するドライバ回路66が接続される。
FIG. 5 is a block diagram showing a functional configuration of the
As shown in FIG. 5, the
また、バス68には、ゲートアレイ(G/A)65を介して、挿入検出センサ51および端検出センサ52が接続される。CPU61は、フラッシュROM63に記憶された制御プログラムに基づいて、記録ヘッド18やドライバ回路66を制御するとともに、挿入検出センサ51および端検出センサ52の検出結果を、ゲートアレイ65を介して取得する。具体的には、挿入検出センサ51および端検出センサ52の出力電圧を、ゲートアレイ65を介して所定周期(例えば、100[ms])でサンプリングしてA/D変換することにより、これら出力電圧を示すデータを取得する。
さらに、バス68には、シリアルインタフェース、パラレルインタフェース、USBインタフェース、ネットワークカードインタフェース等の各種規格に準じたコネクタを備えるインタフェース回路(I/F)67が接続される。I/F67には、ドットインパクトプリンタ10の外部のホストコンピュータ80が接続される。このホストコンピュータ80は、ドットインパクトプリンタ10との間で各種制御情報およびデータを送受信することにより、ドットインパクトプリンタ10によって画像を記録させるものであり、例えば、通帳100の搬送や記録実行等を指示する制御情報(コマンド)、あるいは、記録すべき画像のデータ等をドットインパクトプリンタ10に対して送信する。ドットインパクトプリンタ10をホストコンピュータ80に接続することにより、コンピュータシステムが構成される。
以上の各構成部のうち、CPU61、RAM62、フラッシュROM63、CG64、ゲートアレイ65、ドライバ回路66、およびI/F67の各部は制御基板部50上に実装され、この制御基板部50に形成されるバス68に接続されるが、その具体的実装形態等は任意である。
Further, the
Further, an interface circuit (I / F) 67 having a connector conforming to various standards such as a serial interface, a parallel interface, a USB interface, and a network card interface is connected to the
Of the above components, the
次に、プリンタ10の動作の概略を説明する。
通帳100が手差口15から挿入されると、まず、挿入検出センサ51によって、通帳100が検出される。次いで、整列板54が搬送経路Aに突出して、通帳100が第1搬送機構部24の第1搬送ローラ22および第2搬送ローラ23により挟まれてプラテン21の手前まで搬送される。ここで、通帳100の搬送方向の傾きを直すべく、整列板54が搬送経路Aに突出した状態で、通帳100が第1搬送ローラ22および第2搬送ローラ23により搬送され、整列板54に突き当てられることにより、整列板54に沿って整列される。次いで、磁気データ読書部29が通帳100の磁気ストライプ101を読み取ることができる読み取り位置まで、通帳100が第1搬送機構部24により搬送される。
Next, an outline of the operation of the
When the
続いて、磁気データ読書部29により、通帳100の磁気ストライプ101について情報の読み取りおよび書き込みが行われ、その後、通帳100が第1および第2シート搬送機構部24、27によってプラテン21上の記録位置まで搬送され、文字等の画像が記録ヘッド18により記録される。
記録ヘッド18による記録動作は、記録ヘッド18が主走査方向左向きまたは右向きに走行される間に、記録ワイヤ18Aにより1行分の記録がなされ、この1行分の記録がなされる度に、第1搬送ローラ22、第2搬送ローラ23、第3搬送ローラ25および第4搬送ローラ26が通帳100を所定長(例えば、行間分)搬送させ、これらの動作が繰り返されることにより実施される。
記録ヘッド18による記録後、通帳100は、第1および第2シート搬送機構部24、27によって上記読み取り位置まで搬送され、通帳100へ記録した情報に基づいて、磁気データ読書部29により磁気ストライプ101に磁気情報が書き込まれる。次に、第1搬送機構部24によって通帳100が前側に搬送され、通帳100が手差口15から排出される。
Subsequently, the magnetic
The recording operation by the
After recording by the
この記録動作の実行中、ドットインパクトプリンタ10の制御基板部50が備えるCPU61は、ゲートアレイ65を介して端検出センサ52における検出状態を取得し、端検出センサ52によって通帳100の終端が検出された場合には、通帳100の終端までに記録を行える領域を随時算出する。
詳細に説明すると、通帳100に対する記録の実行中に、通帳100の終端が端検出センサ52を通過した時点で、記録ヘッド18によって画像を記録できる残りの領域は、図4中に符号Dで示す終端領域のみである。ここで、CPU61は、現在記録ヘッド18の直下にある通帳100の部分、すなわち現在位置が、終端領域の中に入ったことを示す情報を、RAM62に記憶させる。さらに、CPU61は、通帳100の終端までに記録可能な領域のサイズを、残り終端領域としてRAM62に記憶させる。
この残り終端領域は、現在位置が終端領域の外にある状態、すなわち端検出センサ52により通帳100が検出されている間は、図4中に符号Dで示す距離に等しい。また、現在位置が終端領域の中に入った状態、すなわち端検出センサ52により通帳100が検出されなくなった後は、符号Dの距離から、通帳100が検出されなくなってからの搬送量を減算した距離となる。
そして、CPU61は、RAM62に記憶されている残り終端領域のサイズを示す情報をもとに、ホストコンピュータ80から送信される制御情報に従って通帳100の搬送を行う。
During execution of this recording operation, the
More specifically, the remaining area in which an image can be recorded by the
This remaining terminal area is equal to the distance indicated by the symbol D in FIG. 4 while the current position is outside the terminal area, that is, while the
Then, the
以上のように構成されるドットインパクトプリンタ10が、ホストコンピュータ80の制御に従って動作する場合について、以下、説明する。
図6は、ホストコンピュータ80およびドットインパクトプリンタ10からなるコンピュータシステムの動作を示すシーケンス図である。
まず、ホストコンピュータ80が、通帳100の搬送を行う旨を指示するコマンドと、搬送量を指定する情報とをドットインパクトプリンタ10に送信する(ステップS11)。続いて、ホストコンピュータ80は、ステータス情報送信要求をドットインパクトプリンタ10に送信する(ステップS22)。このステータス情報送信要求とは、ドットインパクトプリンタ10に対してステータス情報の送信を要求するコマンドである。ここで、ステータス情報とは、ドットインパクトプリンタ10の状態を示す情報であり、特に、ドットインパクトプリンタ10がコマンドで指示された通りに搬送を行える状態か否かを示す情報を指す。
The case where the
FIG. 6 is a sequence diagram showing the operation of the computer system including the
First, the
ドットインパクトプリンタ10は、ホストコンピュータ80から送信されたコマンドを受信し(ステップS21)、さらに、ステータス情報送信要求を受信する(ステップS22)。
そして、ドットインパクトプリンタ10は、受信したコマンドに従って通帳100を搬送できるか否かを判定し、判定結果に基づくステータス情報を送信するとともに、通帳100を搬送可能な場合は搬送を実行する(ステップS23)。ここで、ドットインパクトプリンタ10が送信するステータス情報は、指示された通りに通帳100の搬送が可能な場合は「正常」、指示された搬送を行えない場合は「エラー」の値をとる。
The
Then, the
ホストコンピュータ80は、ドットインパクトプリンタ10から送信されたステータス情報を受信し(ステップS13)、ステータス情報の判別を行い(ステップS14)、ステータス情報が「エラー」の場合は本処理を終了して、エラーに対応する動作を行う。
また、ドットインパクトプリンタ10から送信されたステータス情報が「正常」の場合、ホストコンピュータ80は、搬送後に通帳100に記録すべきデータと記録実行を指示するコマンドとをドットインパクトプリンタ10へ送信して(ステップS15)、次に記録すべきデータ等を生成する処理へ移行する(ステップS16)。
ドットインパクトプリンタ10は、ホストコンピュータ80から送信されたデータおよび記録実行を指示するコマンドを受信した場合(ステップS24)、受信したデータに基づいて通帳100に画像を記録し(ステップS25)、次のコマンド等を受信するための待機状態に移行する(ステップS26)。
The
If the status information transmitted from the
When the
この図6のステップS11〜S16、およびステップS21〜S26の処理は、例えば、1行分の記録を行う毎に実行するものとしてもよいし、1回の上記処理で数行をまとめて記録するようにしてもよい。
上記のステップS23の処理において、ドットインパクトプリンタ10が、搬送の可否を判定してステータス情報を送信し、かつ、搬送可能な場合には搬送を実行することで、ホストコンピュータ80がドットインパクトプリンタ10における搬送実行を待つ必要がない。このため、ホストコンピュータ80から速やかに記録すべきデータとコマンドを送信でき、ドットインパクトプリンタ10においては、ホストコンピュータ80から送信されたデータとコマンドを受信してすぐに記録を行うことができるので、スループットの向上を図れるという利点がある。
以下、このステップS23でドットインパクトプリンタ10が実行する処理について、詳細に説明する。
The processes in steps S11 to S16 and steps S21 to S26 in FIG. 6 may be executed, for example, every time recording for one line is performed, or several lines are recorded together in one process. You may do it.
In the process of step S23 described above, the
Hereinafter, the process executed by the
図7は、ドットインパクトプリンタ10により実行される処理を示すフローチャートであり、図8は、図7のステップS51に示す搬送時判定処理を詳細に示すフローチャートである。
これら図7および図8に示す処理は、ドットインパクトプリンタ10が備える制御基板部50のCPU61が、フラッシュROM63に記憶された制御プログラムを読み出して実行することにより、実現される。
FIG. 7 is a flowchart showing processing executed by the
The processing shown in FIGS. 7 and 8 is realized by the
CPU61は、まず、ホストコンピュータ80から指示された搬送量を算出し(ステップS41)、続いて、現在の記録位置が終端領域であるか否かを判別する(ステップS42)。ここで、現在の記録位置とは、通帳100のうち記録ヘッド18の直下に位置する部分を指す。
ここで、現在の記録位置が終端領域にある場合(ステップS42;Yes)、CPU61は、ステップS41で算出した搬送量と、残り終端領域、すなわち、記録ヘッド18の直下の位置から通帳100の終端までの領域のサイズとを比較する(ステップS43)。
The
Here, when the current recording position is in the termination area (step S42; Yes), the
CPU61は、ステップS41で算出した搬送量が、RAM62に記憶されている残り終端領域以上である場合、指定された搬送量だけ搬送してしまうと通帳100の終端を越えてしまうので、ステータスを「エラー」とし(ステップS44)、ステータス情報をホストコンピュータ80へ送信する(ステップS45)。一方、搬送量が残り終端領域より小さい場合(ステップS43;No)、CPU61は、RAM62に記憶されている残り終端領域から搬送量を減算して新たな残り終端領域とし(ステップS46)、ステータスを「正常」として(ステップS47)、ホストコンピュータ80に対してステータス情報を送信する(ステップS48)。さらにCPU61は、ドライバ回路66を制御することにより、搬送モータ36を動作させて、ステップS41で算出した搬送量だけ通帳100を搬送する(ステップS49)。
If the transport amount calculated in step S41 is greater than or equal to the remaining end area stored in the
また、現在位置が残り終端領域でない場合(ステップS42)、CPU61は、ステップS41で算出した搬送量と残り終端領域とを比較する(ステップS50)。
ここで、搬送量が残り終端領域より小さい場合、CPU61は、上述したステップS47に移行して、ステータス情報を「正常」とし、さらにステータス情報を送信する。
一方、搬送量が残り終端領域以上である場合、すなわち、搬送量が図4中に符号Dで示す距離を超える場合、CPU61は、通帳100を搬送しながら指定された搬送量の分だけ搬送が可能かどうかを判定する搬送時判定処理を実行する(ステップS51)。
このステップS51の搬送時判定処理について、図8を参照して詳述する。
If the current position is not the remaining terminal area (step S42), the
If the transport amount is smaller than the remaining terminal area, the
On the other hand, when the carry amount is equal to or more than the remaining terminal area, that is, when the carry amount exceeds the distance indicated by the symbol D in FIG. 4, the
The carrying time determination process in step S51 will be described in detail with reference to FIG.
図8に示す搬送時判定処理において、CPU61は、まず、パラメータN(正の整数)を設定し、このパラメータNとして、図7のステップS41で算出した搬送量をステップ数に換算した値を設定する(ステップS61)。
続いて、CPU61は、現在位置が終端領域にあるか否かの判定を行い(ステップS62)、現在位置が終端領域の外にある場合は、端検出センサ52によって通帳100の終端が検出されたか否かの判定を行う(ステップS63)。
ここで、通帳100の終端が検出されていなければ、CPU61は、ドライバ回路66を駆動制御して搬送モータ36を動作させ、1ステップ分だけ通帳100を搬送させる(ステップS64)。この1ステップとは、例えば、ステッピングモータとして構成される搬送モータ36の最小単位の動作量である。そして、CPU61は、パラメータNから1を減算し(ステップS65)、パラメータNが0(零)になったか否かを判定する(ステップS66)。パラメータNが0になった場合は、後述するステップS76に移行するが、パラメータNが0になっていなければ、ステップS63に戻る。
In the determination process at the time of conveyance shown in FIG. 8, the
Subsequently, the
Here, if the end of the
そして、ステップS64〜S65の動作において通帳100を搬送したことにより、通帳100の終端が端検出センサ52によって検出された場合(ステップS63;Yes)、CPU61は、RAM62に記憶されている残り終端領域を、終端領域のサイズ(図4中の符号D)に設定し(ステップS67)、さらに、現在位置が終端領域にあることを示す情報をRAM62に記憶させ(ステップS68)、ステップS62に戻る。
When the end of the
ステップS62で、現在位置が終端領域に入っている場合、CPU61は、RAM62に記憶されている残り終端領域が0(零)であるか否かを判定する(ステップS69)。ここで、残り終端領域が0でなければ(ステップS69;No)、CPU61はドライバ回路66を駆動制御して搬送モータ36を回転させ、1ステップ分だけ通帳100の搬送を行う(ステップS70)。続いてCPU61は、RAM62に記憶されている残り終端領域を搬送した分だけ減算し(ステップS71)、後述するステップS74に移行する。ここで、残り終端領域が搬送モータ36の動作ステップ数に対応して定められている場合、CPU61は、残り終端領域から搬送したステップ数(1ステップ)を減算すればよい。
また、残り終端領域が0の場合は、通帳100における記録可能な領域が無いことを示す「媒体無しフラグ」を「1」にセットして、RAM62に記憶させ(ステップS70)、さらにパラメータNに1をセットし(ステップS73)、ステップS74に移行する。
If the current position is in the terminal area in step S62, the
If the remaining terminal area is 0, the “no medium flag” indicating that there is no recordable area in the
ステップS74で、CPU61は、パラメータNを1減算して更新する。続いて、CPU61は、パラメータNが0か否かを判定する(ステップS75)。ここで、パラメータNが0で無ければ、CPU61はステップS69に戻って、残り終端領域が0になるまで、あるいは、ステップS61で設定したパラメータNが0になるまで、1ステップ分ずつ通帳100を搬送する処理を行う。
そして、パラメータNが0の場合(ステップS75;Yes)、CPU61は、フラッシュROM63に「媒体無しフラグ」が記憶され、その値が「1」であるか否かを判定する(ステップS76)。「媒体無しフラグ」が「1」であった場合、ステップS61でパラメータNに設定した搬送ステップ数の分だけ搬送を行うことができなかったので、CPU61はステータスを「エラー」とし(ステップS77)、ステータス情報をホストコンピュータ80に送信して(ステップS78)、本処理を終了する。ここで、ドットインパクトプリンタ10においては、既に通帳100が搬送されてしまっているが、ステータスがエラーであることから、現在のページに記録を行うことはなく、ホストコンピュータ80からページ送り等が指示されるので、実用上の問題は皆無である。
In step S74, the
When the parameter N is 0 (step S75; Yes), the
一方、「媒体無しフラグ」の値が「1」でなかった場合(ステップS76;No)、ステップS61でパラメータNに設定したステップ数の分だけ搬送を行うことができたので、CPU61はステータスを「正常」として(ステップS79)、ホストコンピュータ80にステータス情報を送信し(ステップS80)、本処理を終了する。
On the other hand, if the value of the “no medium flag” is not “1” (step S76; No), the
以上の図7および図8に示す処理によって、ドットインパクトプリンタ10は、ホストコンピュータ80から通帳100の搬送を指示された場合に、端検出センサ52と記録ヘッド18との間の距離(図4中の符号D)に基づいて、指示された量だけ搬送を行うことが可能か否かを速やかに判定することができる。
そして、指示された量の搬送が可能な場合には、ステータス情報をホストコンピュータ80に送信した後に通帳100を搬送する。これにより、ドットインパクトプリンタ10が通帳100を搬送している間に、ホストコンピュータ80は、ステータス情報を受信して記録すべきデータの展開等の処理を行うことができるので、ドットインパクトプリンタ10およびホストコンピュータ80の各々において、相手からの情報送信を待つ時間を減らすことができる。このため、通帳100の搬送と記録を効率よく行って、スループットの向上を図ることができる。
また、ホストコンピュータ80から指示された量の搬送ができない場合、ドットインパクトプリンタ10は速やかにステータス情報を送信するので、ホストコンピュータ80からドットインパクトプリンタ10に対して、通帳100のページ送りを指示したり、あるいは、通帳100の排出を指示したりするなど、その後の処理を迅速に行うことができるという利点があり、この利点はスループットの向上に十分寄与し得る。
さらに、ホストコンピュータ80から指示された量の搬送が可能な否かの判定が困難な場合、ドットインパクトプリンタ10は、実際に通帳100を1ステップずつ搬送しながら判定を行うことができる。これにより、判定を速やかに行うことができる上、仮に指示された量の搬送が可能であった場合には、その後に速やかに記録動作を行うことができる。このため、搬送の可否を迅速に判定しつつ、待ち時間の無駄を省いて、スループットの向上を図ることができる。
7 and 8, when the
If the designated amount can be transported, the
Further, when the amount of conveyance instructed by the
Further, when it is difficult to determine whether or not the amount instructed by the
詳細には、端検出センサ52によって通帳100が検出されている状態で、ホストコンピュータ80から指示された搬送量が終端領域より小さい場合、CPU61は、搬送が可能であると判定する。この場合、速やかに、搬送の可否を判定できる。さらに、CPU61は、記録ヘッド18の直下まで搬送可能な通帳100の量を、残り終端領域としてRAM62に記憶させ、端検出センサ52によって通帳100が検出されなくなった後は、その後の搬送量に基づいて残り終端領域を更新する。これにより、搬送可能な通帳100の大きさが予め記憶されているので、ホストコンピュータ80から指示された量を搬送可能か否かを迅速かつ的確に判定できる。
また、CPU61は、端検出センサ52によって通帳100が検出されている状態で、終端領域の大きさを超える搬送量がホストコンピュータ80から指示された場合、端検出センサ52によって通帳100が検出されなくなるまで1ステップずつ通帳100を搬送する。これにより、ホストコンピュータ80から指示された量の搬送の可否が判定し難い場合であっても、通帳100の搬送が可能であるか否かを適切に判定できる。
Specifically, when the
Further, the
なお、上述した図7のステップS43およびS50に示す処理において、CPU61は、搬送量が残り終端領域以上であるか否かを判定するものとして説明したが、本発明はこれに限定されるものではなく、例えば、搬送量が残り終端領域を超えるか否かを判定するものとしてもよい。また、図8のステップS64およびS70において、CPU61は、搬送モータ36を1ステップずつ回転させるものとして説明したが、本発明はこれに限定されるものではなく、例えば、2ステップあるいはそれ以上のステップずつ動作させてもよい。
さらに、上記実施の形態においては、端検出センサ52を、整列板54よりも手差口15側に設けた構成を例示したが、本発明はこれに限定されるものではなく、端検出センサ52を、整列板54よりも記録ヘッド18側に設けてもよい。しかしながら、上記実施の形態に例示した構成とすれば、通帳100を整列板54に突き当てて整列させる際に、端検出センサ52によって整列状態の検出を行えるという利点がある。
In the process shown in steps S43 and S50 of FIG. 7 described above, the
Further, in the above embodiment, the configuration in which the
また、上記実施の形態において、ドットインパクトプリンタ10はホストコンピュータ80に接続されるものとしたが、このホストコンピュータ80の数について特に制限はなく、複数台のホストコンピュータ80をドットインパクトプリンタ10に接続することが可能である。また、上記実施の形態においては、本発明をドットインパクトプリンタ10に適用した場合について説明したが、本発明はこれに限定されず、インクジェット式プリンタ、レーザープリンタ、感熱シートを用いるサーマルプリンタ、熱転写式プリンタ等の各種の記録装置(プリンタ)に適用可能であり、また、他の機器(複写機等)に組み込まれた記録装置に適用することも可能である。その他、上記実施の形態における他の細部構成についても、任意に変更可能であることは勿論である。
In the above embodiment, the
10…ドットインパクトプリンタ(記録装置)、11…プリンタ本体、15…手差口、18…記録ヘッド、19…キャリッジ、20…記録機構部、21…プラテン、22…第1搬送ローラ、23…第2搬送ローラ、24…第1搬送機構部(搬送機構部)、25…第3搬送ローラ、26…第4搬送ローラ、27…第2搬送機構部、35…キャリッジ駆動モータ、36…搬送モータ、37…整列モータ、38…磁気モータ、50…制御基板部、51…挿入検出センサ、52…端検出センサ(検出手段)、61…CPU(制御手段)、62…RAM、63…フラッシュROM(記憶手段)、64…CG、65…ゲートアレイ、66…ドライバ回路、67…I/F、80…ホストコンピュータ、100…通帳(記録媒体)。
DESCRIPTION OF
Claims (7)
前記記録機構部へ向かう前記記録媒体の搬送経路上に、前記記録媒体を検出する検出手段と、
前記ホストコンピュータによって、前記記録媒体への記録実行に先立って前記記録媒体の搬送実行を指示するコマンドと、前記記録媒体を搬送する量を指定する情報と、ステータス情報の送信を要求するコマンドとが送信された場合に、これらのコマンドを受信して、前記検出手段の検出状態、および、前記検出手段と前記記録機構部との間の距離に基づいて、指示された量の搬送が可能か否かを判定する制御手段と、備え、
前記制御手段は、
搬送可能な場合は、前記搬送機構部により前記記録媒体を搬送させる前に前記ホストコンピュータへ正常を示すステータス情報を送信して報知し、その後、前記搬送機構部により搬送を行い、前記ホストコンピュータによって送信される前記記録媒体に記録すべきデータと記録実行を指示するコマンドとを受信して、前記データに基づいて記録を実行後、待機状態に移行し、
搬送が不可能な場合は、前記ホストコンピュータへエラーを示すステータス情報を送信して報知すること、
を特徴とする記録装置。 A conveyance mechanism unit that conveys a recording medium and a recording mechanism unit that records an image on the recording medium, and performs conveyance by the conveyance mechanism unit and recording by the recording mechanism unit based on an instruction transmitted from a host computer. In the recording device,
On the conveying path of the recording medium toward the recording mechanism section, a detecting means for detecting the recording medium,
Prior to execution of recording on the recording medium by the host computer, a command for instructing execution of conveyance of the recording medium, information for specifying the amount of conveyance of the recording medium, and a command for requesting transmission of status information When these commands are transmitted, whether or not the designated amount can be conveyed based on the detection state of the detection unit and the distance between the detection unit and the recording mechanism unit. Control means for determining whether or not ,
The control means includes
If possible transport, said by the transport mechanism to notify by sending the status information indicating a normal to the host computer prior to transporting the recording medium, then performs the transfer by the transfer mechanism, by the host computer Received data to be recorded on the recording medium to be transmitted and a command for instructing recording execution, and after executing recording based on the data, shift to a standby state,
If transport is not possible , sending status information indicating an error to the host computer and informing it ,
A recording apparatus.
前記制御手段は、前記ホストコンピュータにより指示された量と前記記憶手段に記憶された搬送可能量とを比較することにより、搬送が可能か否かを判定すること、を特徴とする請求項1または2記載の記録装置。 A storage unit that stores an amount obtained by subtracting a conveyance amount from a time when the recording medium is no longer detected by the detection unit from a distance between the recording mechanism unit and the detection unit as a remaining conveyance amount;
2. The control unit according to claim 1, wherein the control unit determines whether or not conveyance is possible by comparing an amount instructed by the host computer and a conveyance amount stored in the storage unit. 2. The recording device according to 2.
前記ホストコンピュータによって、前記記録媒体への記録実行に先立って前記記録媒体の搬送実行を指示するコマンドと、前記記録媒体を搬送する量を指定する情報と、ステータス情報の送信を要求するコマンドとが送信された場合に、これらのコマンドを受信して、前記検出手段の検出状態、および、前記検出手段と前記記録機構部との間の距離に基づいて、指示された量の搬送が可能か否かを判定し、
搬送可能な場合は、前記搬送機構部により前記記録媒体を搬送させる前に前記ホストコンピュータへ正常を示すステータス情報を送信して報知し、その後、前記搬送機構部により搬送を行い、前記ホストコンピュータによって送信される前記記録媒体に記録すべきデータと記録実行を指示するコマンドとを受信して、前記データに基づいて記録を実行後、待機状態に移行し、
搬送が不可能な場合は、前記ホストコンピュータへエラーを報知すること、
を特徴とする記録装置の制御方法。 A conveyance mechanism unit that conveys a recording medium and a recording mechanism unit that records an image on the recording medium, and performs conveyance by the conveyance mechanism unit and recording by the recording mechanism unit based on an instruction transmitted from a host computer. A control method for a recording apparatus, comprising: a detecting unit configured to detect the recording medium on a conveyance path of the recording medium toward the recording mechanism unit,
Prior to execution of recording on the recording medium by the host computer, a command for instructing execution of conveyance of the recording medium, information for specifying the amount of conveyance of the recording medium, and a command for requesting transmission of status information When these commands are transmitted, whether or not the designated amount can be conveyed based on the detection state of the detection unit and the distance between the detection unit and the recording mechanism unit. Determine whether
If possible transport, said by the transport mechanism to notify by sending the status information indicating a normal to the host computer prior to transporting the recording medium, then performs the transfer by the transfer mechanism, by the host computer Received data to be recorded on the recording medium to be transmitted and a command for instructing recording execution, and after executing recording based on the data, shift to a standby state,
If transport is not possible, notify the host computer of an error;
A control method for a recording apparatus.
前記ホストコンピュータによって、前記記録媒体への記録実行に先立って前記記録媒体の搬送実行を指示するコマンドと、前記記録媒体を搬送する量を指定する情報と、ステータス情報の送信を要求するコマンドとが送信された場合に、これらのコマンドを受信して、前記検出手段の検出状態、および、前記検出手段と前記記録機構部との間の距離に基づいて、指示された量の搬送が可能か否かを判定し、
搬送可能な場合は、前記搬送機構部により前記記録媒体を搬送させる前に前記ホストコンピュータへ正常を示すステータス情報を送信して報知し、その後、前記搬送機構部により搬送を行い、前記ホストコンピュータによって送信される前記記録媒体に記録すべきデータと記録実行を指示するコマンドとを受信して、前記データに基づいて記録を実行後、待機状態に移行する手段、
搬送が不可能な場合は、前記ホストコンピュータへエラーを報知する手段、
として機能させるための制御プログラム。 A conveyance mechanism unit that conveys a recording medium and a recording mechanism unit that records an image on the recording medium, and performs conveyance by the conveyance mechanism unit and recording by the recording mechanism unit based on an instruction transmitted from a host computer. A computer for controlling a recording apparatus having a configuration and provided with detection means for detecting the recording medium on a conveyance path of the recording medium toward the recording mechanism section;
Prior to execution of recording on the recording medium by the host computer, a command for instructing execution of conveyance of the recording medium, information for specifying the amount of conveyance of the recording medium, and a command for requesting transmission of status information When these commands are transmitted, whether or not the designated amount can be conveyed based on the detection state of the detection unit and the distance between the detection unit and the recording mechanism unit. Determine whether
If possible transport, said by the transport mechanism to notify by sending the status information indicating a normal to the host computer prior to transporting the recording medium, then performs the transfer by the transfer mechanism, by the host computer Means for receiving the data to be recorded on the recording medium to be transmitted and a command for instructing recording, executing recording based on the data, and then shifting to a standby state;
If the transport is not possible, it means for informing an error to the host computer,
Control program to function as.
前記記録装置は、
前記記録媒体を搬送する搬送機構部と、
前記記録媒体に画像を記録する記録機構部と、
前記記録機構部へ向かう前記記録媒体の搬送経路上に配設され、前記記録媒体を検出する検出手段と、
前記ホストコンピュータから送信される指示に基づき、前記搬送機構部による搬送および前記記録機構部による記録を実行させる制御手段とを備え、
前記制御手段は、
前記ホストコンピュータによって、前記記録媒体への記録実行に先立って前記記録媒体の搬送実行を指示するコマンドと、前記記録媒体を搬送する量を指定する情報と、ステータス情報の送信を要求するコマンドとが送信された場合に、これらのコマンドを受信して、前記検出手段の検出状態、および、前記検出手段と前記記録機構部との間の距離に基づいて、指示された量の搬送が可能か否かを判定し、
搬送可能な場合は、前記搬送機構部により前記記録媒体を搬送させる前に前記ホストコンピュータへ正常を示すステータス情報を送信して報知し、その後、前記搬送機構部により搬送を行い、前記ホストコンピュータによって送信された前記記録媒体に記録すべきデータと記録実行を指示するコマンドとを受信して、前記データに基づいて記録を実行後、待機状態に移行し、
搬送が不可能な場合は、前記ホストコンピュータへエラーを報知し、
前記ホストコンピュータは、
前記記録装置の前記記録媒体への記録実行に先立って前記記録媒体の搬送実行を指示するコマンドと、前記記録媒体を搬送する量を指定する情報と、ステータス情報の送信を要求するコマンドと、を前記記録装置に送信し、
前記記録装置から正常を示すステータス情報を受信した場合、前記記録媒体に記録すべきデータと、記録実行を指示するコマンドと、を前記記録装置に送信して次に記録を実行するデータを作成する処理に移行すること、
を特徴とするコンピュータシステム。
In a computer system in which a host computer is connected to a recording apparatus that conveys a recording medium and records an image on the recording medium based on an instruction transmitted from the host computer.
The recording device comprises:
A transport mechanism for transporting the recording medium;
A recording mechanism for recording an image on the recording medium;
A detecting unit disposed on a conveyance path of the recording medium toward the recording mechanism unit and detecting the recording medium;
Control means for executing conveyance by the conveyance mechanism unit and recording by the recording mechanism unit based on an instruction transmitted from the host computer,
The control means includes
Prior to execution of recording on the recording medium by the host computer, a command for instructing execution of conveyance of the recording medium, information for specifying the amount of conveyance of the recording medium, and a command for requesting transmission of status information When these commands are transmitted, whether or not the designated amount can be conveyed based on the detection state of the detection unit and the distance between the detection unit and the recording mechanism unit. Determine whether
If possible transport, said by the transport mechanism to notify by sending the status information indicating a normal to the host computer prior to transporting the recording medium, then performs the transfer by the transfer mechanism, by the host computer Receiving the data to be recorded on the transmitted recording medium and a command for instructing recording, executing recording based on the data, and then transitioning to a standby state,
If the transport is not possible, and informs an error to the host computer,
The host computer
Prior to execution of recording on the recording medium of the recording apparatus, a command for instructing execution of conveyance of the recording medium, information for specifying an amount to convey the recording medium, and a command for requesting transmission of status information Sent to the recording device,
When status information indicating normality is received from the recording device, data to be recorded on the recording medium and a command for instructing recording are transmitted to the recording device to create data for next recording Transition to processing ,
A computer system characterized by the above.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006008300A JP4844129B2 (en) | 2006-01-17 | 2006-01-17 | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, CONTROL PROGRAM, AND COMPUTER SYSTEM |
CNB2007100017233A CN100551713C (en) | 2006-01-17 | 2007-01-16 | The control method of tape deck |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006008300A JP4844129B2 (en) | 2006-01-17 | 2006-01-17 | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, CONTROL PROGRAM, AND COMPUTER SYSTEM |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007190686A JP2007190686A (en) | 2007-08-02 |
JP4844129B2 true JP4844129B2 (en) | 2011-12-28 |
Family
ID=38446758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006008300A Expired - Fee Related JP4844129B2 (en) | 2006-01-17 | 2006-01-17 | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, CONTROL PROGRAM, AND COMPUTER SYSTEM |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP4844129B2 (en) |
CN (1) | CN100551713C (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5625791B2 (en) * | 2010-11-17 | 2014-11-19 | セイコーエプソン株式会社 | Recording system and recording system control method |
CN107092450A (en) * | 2017-04-01 | 2017-08-25 | 广东天波信息技术股份有限公司 | A kind of thermal printing method based on display frame |
JP7459456B2 (en) * | 2019-03-26 | 2024-04-02 | セイコーエプソン株式会社 | Cutter device and printer |
CN110341329A (en) * | 2019-07-01 | 2019-10-18 | 福建实达电脑设备有限公司 | A kind of implementation method of the integrated scanning function in deposit book printers |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03151269A (en) * | 1989-11-08 | 1991-06-27 | Nec Corp | Printer device |
JPH1058801A (en) * | 1996-08-26 | 1998-03-03 | Brother Ind Ltd | Printing apparatus |
JP3805174B2 (en) * | 2000-06-05 | 2006-08-02 | キヤノン株式会社 | Recording medium trailing edge detection method and recording apparatus |
JP2002154257A (en) * | 2000-11-21 | 2002-05-28 | Funai Electric Co Ltd | Printer |
-
2006
- 2006-01-17 JP JP2006008300A patent/JP4844129B2/en not_active Expired - Fee Related
-
2007
- 2007-01-16 CN CNB2007100017233A patent/CN100551713C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101003216A (en) | 2007-07-25 |
CN100551713C (en) | 2009-10-21 |
JP2007190686A (en) | 2007-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6185478B1 (en) | Printing apparatus, control method for a printing apparatus, and recording medium for recording a control program for a printing apparatus | |
US9460374B2 (en) | Printer and printer control method | |
JP2011146835A (en) | Optical reader, method of controlling the same, and program | |
JP4844129B2 (en) | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, CONTROL PROGRAM, AND COMPUTER SYSTEM | |
JP5691323B2 (en) | Electronic device, control method of electronic device, and program | |
JP5779896B2 (en) | Recording apparatus and method for controlling recording apparatus | |
JP2012025078A (en) | Information reading and printing apparatus, control method for the information reading and printing apparatus, and control program | |
JP4735383B2 (en) | Recording apparatus and method for controlling recording apparatus | |
JP2007230721A (en) | Recorder and control method of recorder | |
JP2006198859A (en) | Recording apparatus and method for controlling recording apparatus | |
JP4665773B2 (en) | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND CONTROL PROGRAM | |
JP4411998B2 (en) | Double feed detection device, composite processing device and double feed detection method | |
JP5018389B2 (en) | Recording apparatus and recording apparatus control method | |
CN113247654B (en) | Printing apparatus and control method of printing apparatus | |
JP5861253B2 (en) | Recording apparatus and method for controlling recording apparatus | |
JP2007230071A (en) | Recording device and method of controlling recording device | |
KR100529813B1 (en) | Printer device, its control method and information recording medium | |
JP2014046459A (en) | Electronic apparatus, and control method for the electronic device | |
JP4882470B2 (en) | Composite processing apparatus and control method for composite processing apparatus | |
JP5664047B2 (en) | Multifunction machine, control method of multi-function machine, and program | |
JP2010116225A (en) | Recording device and method for controlling recording device | |
JP2710436B2 (en) | Printing device for booklet media | |
JP5811745B2 (en) | Medium processing apparatus, method for controlling medium processing apparatus, and program | |
JP2007160592A (en) | Recorder | |
JP2006159771A (en) | Recording apparatus, method for controlling recording apparatus and controlling program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081015 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100823 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100831 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101026 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20101026 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110208 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110408 |
|
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: 20110913 |
|
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: 20110926 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141021 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4844129 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |