JP3531303B2 - Printer and control method thereof - Google Patents

Printer and control method thereof

Info

Publication number
JP3531303B2
JP3531303B2 JP19982295A JP19982295A JP3531303B2 JP 3531303 B2 JP3531303 B2 JP 3531303B2 JP 19982295 A JP19982295 A JP 19982295A JP 19982295 A JP19982295 A JP 19982295A JP 3531303 B2 JP3531303 B2 JP 3531303B2
Authority
JP
Japan
Prior art keywords
magnetic pattern
printer
print medium
detection
check
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
Application number
JP19982295A
Other languages
Japanese (ja)
Other versions
JPH08171470A (en
Inventor
光明 寺平
賢嗣 小松
英三 ▲高▼橋
勉 百瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP19982295A priority Critical patent/JP3531303B2/en
Priority to TW084110434A priority patent/TW293899B/zh
Priority to KR1019950036115A priority patent/KR100392971B1/en
Priority to EP95116360A priority patent/EP0707971B1/en
Priority to DE69527588T priority patent/DE69527588T2/en
Priority to US08/544,528 priority patent/US5789727A/en
Priority to CN200410045673.5A priority patent/CN100467279C/en
Priority to CNB951203177A priority patent/CN1155910C/en
Publication of JPH08171470A publication Critical patent/JPH08171470A/en
Priority to US08/863,446 priority patent/US5965862A/en
Priority to US09/099,073 priority patent/US6068187A/en
Priority to HK98115567A priority patent/HK1014250A1/en
Priority to US09/395,133 priority patent/US6182896B1/en
Priority to US09/395,486 priority patent/US6290129B2/en
Priority to US09/877,015 priority patent/US20010045452A1/en
Application granted granted Critical
Publication of JP3531303B2 publication Critical patent/JP3531303B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Fax Reproducing Arrangements (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、印字装置に関し、
特にPOS/ECRなどの金銭を扱うシステムであっ
て、小切手(チェック)の処理を行うシステムに好適な
印字装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing device,
In particular, the present invention relates to a printing apparatus suitable for a system for handling money such as POS / ECR and for processing a check (check).

【0002】[0002]

【従来の技術】従来のチェック処理システムにおいて
は、チェックに印刷された磁気インク文字を専用の磁気
インク文字読み取り装置を用いてホスト装置に読み込
み、これを認識して有効か否かを判別した後、表書き、
裏書き等の必要な印字処理をプリンタによって行ってい
た。
2. Description of the Related Art In a conventional check processing system, a magnetic ink character printed on a check is read into a host device by using a dedicated magnetic ink character reading device, and after recognizing the read magnetic ink character to determine whether it is valid or not. , Table,
The printer performed necessary printing processing such as endorsement.

【0003】[0003]

【発明が解決しようとする課題】しかし、プリンタと磁
気インク文字読み取り装置とを用いた制御方法では、表
書き、裏書きの印字と、磁気インク文字の読み取りとを
それぞれの装置によって行うため、オペレータは処理の
手順に応じてチェックをプリンタにローディングした
り、磁気インク文字読み取り装置にローディングしたり
しなければならず、場合によってはチェックのローディ
ングを何回も繰り返さなければならない。また、ローデ
ィングの度にチェックの表裏や挿入方向が異なるため、
処理手順がわかりにくくなり顧客一人あたりの処理時間
も長くなってしまうという問題点を有していた。
However, in the control method using the printer and the magnetic ink character reading device, since the front and back printing and the magnetic ink character reading are performed by the respective devices, the operator has to do so. Depending on the procedure of the process, the check must be loaded into the printer, the magnetic ink character reading device, or even the check can be repeated many times. Also, because the front and back of the check and the insertion direction differ each time you load,
There is a problem that the processing procedure becomes difficult to understand and the processing time per customer becomes long.

【0004】さらにシステム全体からみると、プリンタ
と磁気インク文字読み取り装置とは別体であるため、プ
リンタと磁気インク文字読み取り装置とを並べて置ける
だけの広さを有する設置場所が必要である。また、ホス
ト装置はプリンタと磁気インク文字読み取り装置とのイ
ンターフェイスをそれぞれ独立に用意して制御しなけれ
ばならない。更に、オペレータの行う処理が複雑である
ため、処理の手順をディスプレイ等に頻繁に表示しなけ
ればならなくなるので、制御プログラムが複雑になると
いった問題点を有していた。
Further, from the perspective of the entire system, since the printer and the magnetic ink character reading device are separate bodies, it is necessary to have an installation place having a space large enough to place the printer and the magnetic ink character reading device side by side. Also, the host device must separately prepare and control the interface between the printer and the magnetic ink character reading device. Further, since the processing performed by the operator is complicated, it is necessary to frequently display the processing procedure on a display or the like, which causes a problem that the control program becomes complicated.

【0005】[0005]

【課題を解決するための手段】そこで、本発明は従来の
技術の有するこのような問題点を解決するため、プリン
タの印字用紙経路上に磁気インク文字読み取り用ヘッド
を設け、磁気インク文字の読み取りをプリンタで行い、
読み取りが終了したチェックを印字開始位置へローディ
ングしてこれに印字することを可能とすることにより、
操作が容易で、広い設置場所を必要としない、ハードウ
ェアを節約した、信頼性の高いシステムを構築できるプ
リンタ、およびその制御方法を提供することを目的とす
る。
In order to solve the problems of the prior art, the present invention provides a magnetic ink character reading head on the print sheet path of a printer to read magnetic ink characters. With a printer,
By loading the check that has been read to the print start position and printing it on this,
An object of the present invention is to provide a printer that is easy to operate, does not require a large installation space, saves hardware, and can build a highly reliable system, and a control method thereof.

【0006】更に詳しくは、本発明のプリンタは、印刷
媒体を導く印刷媒体経路と、印刷媒体の少なくともいず
れかの面に対するように印刷媒体経路に設置された、印
刷媒体に記録されている磁気パタンを検出する磁気パタ
ン検出手段と、印刷媒体経路を送られてくる印刷媒体の
面の少なくともいずれかの面に対し印刷可能な印刷ヘッ
ドと、印刷媒体経路内の印刷媒体を印刷ヘッドおよび磁
気パタン検出手段へ搬送可能な共通の搬送手段と、磁気
パタンの検出の終了を検知する磁気パタン検出終了検知
手段と、磁気パタンを検出するべく印刷媒体の搬送手段
を制御する搬送制御手段と、搬送制御手段によって行わ
れた搬送の量を格納する搬送量格納手段と、ホスト装置
とのデータの送受を行うインタフェース手段と、磁気パ
タン検出手段によって得られた磁気パタンに基づく情報
をインタフェース手段を介してホスト装置に送出する情
報送出手段と、磁気パタンの検出結果およびホスト装置
から受信した情報に応じて、印刷処理、印刷媒体排出処
理、磁気パタンの再検出処理の中から引き続き行われる
処理を選択する処理選択手段とを有し、搬送制御手段
は、磁気パタンの検出が終了した後、搬送量格納手段の
格納する搬送量に基づいて、処理選択手段により選択さ
れた引き続き行われる処理に適した所定の位置に印刷媒
体を搬送することを特徴とする。この場合において、ホ
スト装置から受信する情報は、引き続き行うべき処理を
行う制御コマンドであることを特徴とする。
More specifically, the printer of the present invention is capable of printing
A print media path that guides the media and at least one of the print media
A mark installed in the print media path, such as for some surface
A magnetic pattern that detects the magnetic patterns recorded on the printing medium.
Of the print media sent through the print media route
Printhead that can print on at least one of the sides
The print head and the magnet in the print media path.
A common transfer means that can be transferred to the air pattern detection means, and a magnetic
Magnetic pattern detection end detection to detect the end of pattern detection
Means and means for conveying a print medium for detecting a magnetic pattern
And a transfer control means for controlling
Transport amount storing means for storing the amount of transported transport, and host device
Interface means for sending and receiving data to and from
Information based on magnetic patterns obtained by the tongue detection means
Information sent to the host device via the interface means.
Information sending means, magnetic pattern detection result, and host device
Depending on the information received from the
And the magnetic pattern re-detection process will be continued.
And a transfer control unit that has a process selection unit that selects a process.
After the detection of the magnetic pattern is completed,
Selected by the processing selection means based on the carry amount to be stored.
Print media in place suitable for subsequent processing.
Characterized by carrying the body. In this case,
The information received from the storage device should be processed
It is a control command to be executed.

【0007】本発明のプリンタは、磁気パタン検出手段
による磁気パタン検出の終了は、磁気パタン未検出状態
が一定量に達したときとすることを特徴とする。
The printer of the present invention is characterized in that the magnetic pattern detection by the magnetic pattern detection means ends when the magnetic pattern undetected state reaches a certain amount.

【0008】印刷媒体経路にある印刷媒体を検出する印
刷媒体検出手段を印刷媒体経路上にさらに有し、磁気パ
タン検出手段による磁気パタン検出の終了は、磁気パタ
ンが記録されている印刷媒体の終端を検出したときとし
てもよい。
The print medium detecting means for detecting the print medium in the print medium path is further provided on the print medium path, and the end of the magnetic pattern detection by the magnetic pattern detecting means is the end of the print medium on which the magnetic pattern is recorded. May be detected.

【0009】また、磁気パタン検出終了検知手段は、前
記印刷媒体の搬送が所定量行われた後前記磁気パタン検
出手段による前記磁気パタン検出の終了の検知動作を開
始することを特徴とする。
The magnetic pattern detection end detecting means is
After the print medium is conveyed by a predetermined amount, the magnetic pattern detection is performed.
The detection operation of the end of the magnetic pattern detection by the output means is opened.
It is characterized by starting.

【0010】さらに、磁気パタン検出終了検知手段は、
前記印刷媒体の搬送が所定量行われたことに基づいて前
記磁気パタン検出の終了を検知することを特徴とする。
Further, the magnetic pattern detection end detecting means is
Based on the fact that the print medium has been conveyed by a predetermined amount
It is characterized by detecting the end of the magnetic pattern detection.

【0011】磁気パタン検出手段から出力される磁気パ
タンを対応する文字コードに変換する文字変換手段を更
に有し、情報送出手段の送出する情報は前記磁気パタン
に対応した文字コードであるようにしても良い。
Further, there is further provided character conversion means for converting the magnetic pattern output from the magnetic pattern detection means into a corresponding character code, and the information sent by the information sending means is a character code corresponding to the magnetic pattern. Is also good.

【0012】また、前記情報に、磁気パタン検出時のプ
リンタの状態を示す情報が含まれ、プリンタの状態を示
す情報を磁気パタン検出が正常に行われたか否かを示す
情報、磁気パタン検出直後に磁気パタン再検出を行うこ
とが可能か否かを示す情報としても良い。
Further, the above information includes information indicating the state of the printer at the time of magnetic pattern detection. Information indicating the state of the printer is information indicating whether or not the magnetic pattern detection is normally performed, immediately after the magnetic pattern detection. It may be information indicating whether or not magnetic pattern re-detection can be performed.

【0013】[0013]

【0014】[0014]

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】また、本発明の別のプリンタ制御方法は、
印刷媒体を導く印刷媒体経路と、印刷媒体の少なくとも
いずれかの面に対するように印刷媒体経路に設置され
た、印刷媒体に記録されている磁気パタンを検出する磁
気パタン検出手段と、印刷媒体経路を送られてくる印刷
媒体の面の少なくともいずれかの面に対し印刷可能な印
刷ヘッドとを有するプリンタを制御する方法において、
所定の制御コマンドに基づき印刷媒体を搬送し、磁気パ
タンを検出する磁気パタン検出工程と、磁気パタン検出
工程によって得られた磁気パタンに基づく情報をホスト
装置に送出する情報送出工程と、ホスト装置から磁気
パタン検出結果の情報を受信する情報受信工程と、磁気
パタンの検出結果およびホスト装置からの情報に基づき
印刷処理、印刷媒体排出処理、磁気パタンの再検出処理
の中から引き続き行われる処理を選択する処理選択工程
と、磁気パタンの検出の終了後、引き続き行われる処理
に適した所定の位置に印刷媒体を搬送する印刷媒体設定
工程とを有することを特徴とする。
Another printer control method of the present invention is
A print medium path for guiding the print medium, and at least the print medium
Installed in the print media path as for either side
In addition, the magnetic field that detects the magnetic pattern recorded on the print medium
Air pattern detection means and printing sent through the print medium path
Printable markings on at least one side of the media
In a method of controlling a printer having a printing head,
A magnetic pattern detection step of detecting a magnetic pattern by conveying a print medium based on a predetermined control command, and a host of information based on the magnetic pattern obtained by the magnetic pattern detection step.
An information sending step of sending the device, an information receiving step of receiving a magnetic pattern detection result information from the host device, a magnetic
Based on the pattern detection result and the information from the host device
Print processing, print medium ejection processing, magnetic pattern re-detection processing
And a print medium setting step of transporting the print medium to a predetermined position suitable for subsequent processing after the magnetic pattern detection is completed. To do.

【0019】[0019]

【作用】本発明の上記の構成によれば、プリンタの印字
用紙経路上に磁気インク文字読み取り装置を設け、磁気
インク文字の読み取りをプリンタで行い、読み取りが終
了したチェックを印字開始位置へローディングすること
を可能とすることにより、チェックに印刷された磁気イ
ンク文字の読み取りとチェックへの印字が連続で行うこ
とができるようになるため、オペレータがチェックをロ
ーディングする回数が減るので、オペレータの処理が容
易になり、顧客一人あたりの処理時間が短くなる。
According to the above configuration of the present invention, the magnetic ink character reading device is provided on the print sheet path of the printer, the magnetic ink character is read by the printer, and the check of which reading is completed is loaded to the print start position. By making it possible to read the magnetic ink characters printed on the check and print on the check continuously, the number of times the operator loads the check is reduced and the operator's processing is reduced. It will be easier and the processing time per customer will be shorter.

【0020】さらにシステム全体からみると、プリンタ
と磁気インク文字読み取り装置が一体となるため、設置
場所はプリンタが置ける広さで充分になり、ホスト装置
はプリンタ用のインターフェイスのみを用意すれば良
く、また、オペレータの処理が単純になるため、ディス
プレイ等の表示による処理手順の指図も多くは必要なく
なるので、制御プログラムが単純になる。
Further, from the perspective of the entire system, since the printer and the magnetic ink character reading device are integrated, the installation place is sufficient to accommodate the printer, and the host device only needs to prepare an interface for the printer. In addition, since the operator's processing is simplified, it is not necessary to provide many instructions for processing procedures displayed on the display or the like, and the control program is simplified.

【0021】これらの結果、操作が容易で、設置場所を
広く必要としない、ハードウェアを節約した、信頼性の
高いシステムを構築できるプリンタ、およびプリンタの
制御方法を提供することができる。
As a result, it is possible to provide a printer which is easy to operate, does not require a wide installation space, saves hardware, and is capable of constructing a highly reliable system, and a printer control method.

【0022】[0022]

【発明の実施の形態】以下、本発明の一実施例を、図面
に従って説明する。一般に流通業界で使用される記録紙
は単票用紙とロール紙に大別される。単票用紙は伝票等
に、ロール紙は店舗の記録用のジャーナル紙や、切断し
て領収証(レシート)としてそれぞれ使用され、通常は
単一のプリンタによって印字される。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. Generally, recording paper used in the distribution industry is roughly classified into single-cut paper and roll paper. Single-cut sheets are used as slips and the like, roll paper is used as store journal paper, and cut and used as receipts, and are usually printed by a single printer.

【0023】店舗での支払に使用されるのは現金、クレ
ジットカードの他に小切手がある。チェックは銀行で発
行され、表面には使用者の口座番号、チェックの通し番
号等が磁気インク文字を用いて印刷されている。
In addition to cash and credit cards, checks are used for payment at stores. The check is issued by a bank, and the user's account number, check serial number, etc. are printed on the surface using magnetic ink characters.

【0024】磁気インク文字には文字形状、印刷品質等
を規格化したE13B、CMC7といった種類があり、
またチェックにおける磁気インク文字の印刷位置も規格
化されている。磁気インク文字は磁気インクを用いて印
刷されているため、磁石により磁化した後磁気ヘッド上
を移動させることにより電流波形に変換され、その波形
は文字により異なるので、これを解析することによって
当該文字を認識することができる。
There are various types of magnetic ink characters, such as E13B and CMC7, which have standardized character shapes and print qualities.
Also, the printing position of the magnetic ink character in the check is standardized. Since magnetic ink characters are printed using magnetic ink, they are converted into current waveforms by moving them on the magnetic head after being magnetized by a magnet, and the waveforms vary depending on the characters. Can be recognized.

【0025】店舗では顧客からチェックを受け取ると、
チェックの表面にそれが使用された日付、店舗名、金額
等を印字によって記録し、裏面にチェックの認証、店舗
の口座番号等を印字、記録する。以降の説明においては
これらの記録をそれぞれ表書き、裏書きと称する。
When the store receives a check from the customer,
The date the store was used, the store name, the amount of money, etc. are printed and recorded on the front side of the check, and the authentication of the check, the account number of the store, etc. are printed and recorded on the back side. In the following description, these records will be referred to as front end and endorsement, respectively.

【0026】以前は裏書き、表書きはオペレータによる
手書きで行われていたが、最近はチェックの処理をより
確実に、また効率よく行うためにプリンタを用いて印字
するシステムが一般的になってきている。
In the past, endorsement and front writing were performed by handwriting by an operator, but recently, in order to perform check processing more reliably and efficiently, a system for printing using a printer has become common. There is.

【0027】図3は本発明の一実施例を説明するプリン
タのプリンタ機構部構成図である。印字ヘッド1は印字
ヘッド移動軸2にそって往復移動しながら、内蔵された
ワイヤを駆動してインクリボン3をプラテン4に向かっ
て叩きつけることにより、インクリボン3とプラテン4
の間を通過するロール紙5または単票用紙6に印字を行
う。印字ヘッド1の移動の動力源には一般的にステップ
モータが用いられ、本実施例においても図示していない
ステップモータ7を使用している。
FIG. 3 is a block diagram of a printer mechanism section of a printer for explaining an embodiment of the present invention. While the print head 1 reciprocates along the print head moving shaft 2, the built-in wire is driven to strike the ink ribbon 3 toward the platen 4, thereby causing the ink ribbon 3 and the platen 4 to move.
Printing is performed on the roll paper 5 or the single-cut paper 6 that passes between the sheets. A step motor is generally used as a power source for moving the print head 1, and a step motor 7 (not shown) is also used in this embodiment.

【0028】ロ−ル紙5はロール紙経路8に沿ってプリ
ンタ内に挿入され、ロール紙送りローラ9a,9bによ
り、それぞれ挟持されて矢印Aの方向に送られる。ロー
ル紙経路8によってロ−ル紙5はプラテン4と印字ヘッ
ド1との間を通過するように案内され、ここで印字が行
われる。
The roll paper 5 is inserted into the printer along the roll paper path 8, is sandwiched by roll paper feed rollers 9a and 9b, and is fed in the direction of arrow A. The roll paper path 8 guides the roll paper 5 so as to pass between the platen 4 and the print head 1, where printing is performed.

【0029】ロール紙送りローラ9a,9bの動力源と
しては一般的にステップモータが用いられ、本実施例に
おいてもステップモータ(図示せず)を使用している。
ステップモータは図示していない歯車等により構成され
るロール紙送り動力伝達機構を介してロール紙送りロー
ラ9a,9bを駆動する。
A step motor is generally used as a power source for the roll paper feed rollers 9a and 9b, and a step motor (not shown) is also used in this embodiment.
The step motor drives the roll paper feed rollers 9a and 9b via a roll paper feed power transmission mechanism composed of gears (not shown).

【0030】単票用紙6は単票用紙経路12に沿って同
図右下方よりプリンタに挿入され、単票用紙送りローラ
13及び/又は単票用紙ローディング・ローラ14によ
り挟持されて矢印B及びCの双方向に送られる。単票用
紙送りローラ13及び単票用紙ローディング・ローラ1
4の動力源はロール紙送りローラ9a,9bの動力源と
同一である。そして、動力源は歯車等により構成される
図示しない単票用紙送り動力伝達機構を介して単票用紙
送りローラ13、単票用紙ローディング・ローラ14を
駆動する。また、ロール紙送り動力伝達機構11と単票
用紙送り動力伝達機構15は、図示しないプランジャ等
により構成される紙送り動力伝達系切り替え機構16に
より、ステップモータ10の動力をどちらか一方に伝え
るように切り替えられる。単票用紙6もまたプラテン4
と印字ヘッド1の間を通過するようになっており、ここ
で印字が行われる。
The single-cut sheet 6 is inserted into the printer along the single-cut sheet path 12 from the lower right of the drawing, and is sandwiched by the single-cut sheet feed roller 13 and / or the single-cut sheet loading roller 14 to be indicated by arrows B and C. It is sent in both directions. Cut sheet feed roller 13 and cut sheet loading roller 1
The power source of No. 4 is the same as that of the roll paper feed rollers 9a and 9b. Then, the power source drives the single-cut sheet feeding roller 13 and the single-cut sheet loading roller 14 via a single-cut sheet feeding power transmission mechanism (not shown) configured by gears or the like. Further, the roll paper feed power transmission mechanism 11 and the cut sheet paper feed power transmission mechanism 15 transmit the power of the step motor 10 to either one by a paper feed power transmission system switching mechanism 16 configured by a plunger or the like (not shown). Can be switched. Cut sheet 6 is also platen 4
And the print head 1 and the printing is performed there.

【0031】単票用紙6は通常はプリンタにはセットさ
れておらず、印字する際にローディングされる。オペレ
ータが単票用紙6を挿入してフォームストッパ18に押
し当てると単票用紙6の右側先端部が単票用紙挿入検出
器21によって検出され、検出器21は用紙有りに対応
する信号を出力する。本実施例では単票用紙挿入検出器
21としてフォトセンサを使用している。
The cut sheet 6 is not usually set in the printer, but is loaded when printing. When the operator inserts the cut sheet 6 and presses it against the form stopper 18, the right end of the cut sheet 6 is detected by the cut sheet insertion detector 21, and the detector 21 outputs a signal corresponding to the presence of the sheet. . In this embodiment, a photo sensor is used as the cut sheet insertion detector 21.

【0032】このときの単票用紙6の右側先端部の位
置、即ちフォームストッパの位置を単票用紙挿入位置1
9と称することとする。この状態においてフォームスト
ッパを単票用紙経路12の外に後退させ、単票用紙6を
単票用紙ローディング・ローラ14により挟持し、単票
用紙挿入位置19から単票用紙送りローラ13までの間
隔25に相当する距離を送る。その後、単票用紙送りロ
ーラ13と単票用紙ローディング・ローラ14とによ
り、単票用紙送りローラ13から単票用紙印字開始位置
24までの間隔26に対応する距離を送る。以降、単票
用紙6への印字が可能となる。
At this time, the position of the right end portion of the cut sheet paper 6, that is, the position of the form stopper is set to the cut sheet paper insertion position 1
It will be referred to as 9. In this state, the form stopper is retracted to the outside of the single-cut sheet path 12, the single-cut sheet 6 is nipped by the single-cut sheet loading roller 14, and the interval 25 from the single-cut sheet insertion position 19 to the single-cut sheet feed roller 13 is set. Send the corresponding distance. After that, the single-cut sheet feed roller 13 and the single-cut sheet loading roller 14 feed a distance corresponding to an interval 26 from the single-cut sheet feed roller 13 to the single-cut sheet printing start position 24. After that, printing on the cut sheet 6 is possible.

【0033】単票用紙ローディング・ローラ14は図示
しないプランジャ等により構成されるローディング・ロ
ーラ開閉機構17により矢印D及びEの方向に可動とさ
れ、その移動に伴いフォームストッパ18が同時に矢印
G及びFの方向にそれぞれ移動するようになっている。
つまり、ローディング・ローラ開閉機構17が開状態、
即ち単票用紙6を挟持していない状態にあるときは、単
票用紙ローディング・ローラ14が矢印Eの方向に移動
しており、同時にフォームストッパ18が矢印Fの方向
に移動して単票用紙経路12を塞いでいる。逆に、ロー
ディング・ローラ開閉機構17が閉状態、即ち単票用紙
6を挟持している状態にあるときは、単票用紙ローディ
ング・ローラ14が矢印Dの方向に、フォームストッパ
18が矢印Gの方向それぞれ移動しており、フォームス
トッパ18は単票用紙経路12から後退している。ロー
ディング・ローラ開閉機構17は、単票用紙6を単票用
紙挿入位置19から矢印Bの方向に送り単票用紙印字開
始位置24までローディングする際、あるいは矢印Cの
方向に送る際に閉状態となる。上述のように、閉状態で
は単票用紙ローディング・ローラ14が矢印Dの方向に
移動されて単票用紙6を挟持しこれを搬送する。
The single-sheet paper loading roller 14 is made movable in the directions of arrows D and E by a loading roller opening / closing mechanism 17 composed of a plunger or the like (not shown). It is designed to move in each direction.
That is, the loading roller opening / closing mechanism 17 is in the open state,
That is, when the cut sheet 6 is not sandwiched, the cut sheet loading roller 14 is moving in the direction of arrow E, and at the same time, the form stopper 18 is moved in the direction of arrow F to cut the cut sheet. It blocks the path 12. On the contrary, when the loading roller opening / closing mechanism 17 is in the closed state, that is, in the state where the cut sheet paper 6 is nipped, the cut sheet paper loading roller 14 is in the direction of arrow D and the form stopper 18 is in the direction of arrow G. The form stopper 18 is retracted from the cut sheet path 12 in each direction. The loading / roller opening / closing mechanism 17 is set to a closed state when the single-cut sheet 6 is fed from the single-cut sheet insertion position 19 in the direction of arrow B to the loading start position 24 of the single-cut sheet, or in the direction of arrow C. Become. As described above, in the closed state, the single-cut sheet loading roller 14 is moved in the direction of the arrow D to hold the single-cut sheet 6 and convey it.

【0034】また、単票用紙6がフォームストッパ18
の出没する位置に存在している場合には、ローディング
・ローラ開閉機構17を開状態としてフォームストッパ
18を矢印Fの方向に移動し、単票用紙送り経路中に突
出させると、フォームストッパ18が単票用紙6を単票
用紙経路12内で圧迫する状態になる。しかし、フォー
ムストッパ18は弱い力を有するバネにより矢印F方向
に付勢される構造となっているおり、開状態ではこのバ
ネ力によって単票用紙経路12内に突出するので、単票
用紙6を圧迫する力は充分弱く、単票用紙6の紙送りに
は支障がない。
Further, the cut sheet 6 is the form stopper 18
, The form roller 18 is opened and the form stopper 18 is moved in the direction of arrow F so that the form stopper 18 protrudes into the single-cut sheet feeding path. The form sheet 6 is pressed in the form sheet path 12. However, the foam stopper 18 has a structure in which it is biased in the direction of the arrow F by a spring having a weak force, and in the opened state, it projects into the cut sheet paper path 12 by this spring force, so that the cut sheet paper 6 is The pressing force is sufficiently weak, and there is no problem in feeding the single-cut sheet 6.

【0035】磁気インク文字読み取り用磁気ヘッド22
は単票用紙経路12上に配置されており、単票用紙経路
12にチェックを通過させたときに磁気インク文字部分
が磁気ヘッド22上を通過するようになっている。ま
た、単票用紙経路12には磁石23が同経路に面して内
蔵され、磁気ヘッド22に至る前に磁気インク文字を磁
化するように配置されている。
Magnetic head 22 for reading magnetic ink characters
Is arranged on the cut sheet paper path 12, and when the check is passed through the cut sheet paper path 12, the magnetic ink character portion passes over the magnetic head 22. Further, a magnet 23 is built in the cut sheet paper path 12 so as to face the same path, and is arranged so as to magnetize the magnetic ink characters before reaching the magnetic head 22.

【0036】図4は図3における単票用紙経路12上の
磁気インク文字読み取りに関与する要素の配置の一例を
示す配置図である。28は単票用紙経路であり、図3に
おける単票用紙経路12を同図中右上方から視たもので
ある。また、図中、図3と同一の構成には同一の番号を
付してある。磁石23及び磁気ヘッド22は、チェック
の磁気インク文字の面を裏側にし、且つ磁気インク文字
が右側になる状態で、チェックの右端を単票用紙経路の
右端に合わせて矢印Hの方向に送った場合に、磁気イン
ク文字が通過する位置に配置されている。なお、単票用
紙挿入検出器21は単票用紙を矢印Hの方向に単票用紙
挿入位置19に挿入すると、単票用紙の右上端部を検出
できる位置に配置されている。
FIG. 4 is a layout diagram showing an example of the layout of elements involved in reading magnetic ink characters on the cut sheet path 12 in FIG. Reference numeral 28 denotes a cut sheet paper path, which is the cut sheet paper path 12 in FIG. 3 viewed from the upper right side in FIG. Also, in the figure, the same components as those in FIG. 3 are denoted by the same reference numerals. The magnet 23 and the magnetic head 22 were sent in the direction of arrow H with the right end of the check aligned with the right end of the cut sheet path, with the face of the check magnetic ink character on the back side and the magnetic ink character on the right side. In this case, the magnetic ink character is arranged at a position where the character passes. It should be noted that the cut sheet paper insertion detector 21 is arranged at a position where the upper right end portion of the cut sheet paper can be detected when the cut sheet paper is inserted in the cut sheet paper insertion position 19 in the direction of the arrow H.

【0037】図1は本発明の一実施例を説明する機能ブ
ロック図である。ホスト装置61から伝送回路を通じ
て、コマンド受信手段62に入力されたコマンドは、コ
マンド解析手段63によって解析され、コマンド実行手
段64により実行される。
FIG. 1 is a functional block diagram for explaining an embodiment of the present invention. The command input from the host device 61 to the command receiving means 62 via the transmission circuit is analyzed by the command analyzing means 63 and executed by the command executing means 64.

【0038】プリンタ機構制御手段65は、コマンド実
行手段64の指示に従い、印字機構66、ロール紙およ
び単票用紙の紙送りを行う紙送り機構67、単票用紙を
印字開始位置にローディングする単票用紙ローディング
機構68、及びチェックに印刷された磁気インク文字を
読み取る磁気インク文字読み取り機構69からなるプリ
ンタ機構52(図2参照)を制御する。
The printer mechanism control means 65 follows the instructions of the command execution means 64, the printing mechanism 66, the paper feeding mechanism 67 for feeding the roll paper and the cut sheet, and the cut sheet for loading the cut sheet at the print start position. The printer mechanism 52 (see FIG. 2) including the paper loading mechanism 68 and the magnetic ink character reading mechanism 69 for reading the magnetic ink characters printed on the check is controlled.

【0039】また、磁気インク文字読み取り機構69に
より読み取られたデータは、コマンド実行手段の制御の
下で、読み取りデータ格納手段70に一時格納された
後、読み取りデータ解析手段71によって文字データに
変換され、認識結果格納手段72に一時格納された後、
データ送信手段73によってホスト装置61に送信され
る。
The data read by the magnetic ink character reading mechanism 69 is temporarily stored in the read data storing means 70 under the control of the command executing means, and then converted into character data by the read data analyzing means 71. , After being temporarily stored in the recognition result storage means 72,
The data is transmitted to the host device 61 by the data transmitting means 73.

【0040】図2は本発明の一実施例を説明するプリン
タの全体構成を示す制御ブロック図ある。プリンタ機構
52は、印字機構66に含まれる印字ヘッド53、及び
印字ヘッドの駆動動力源であるステップモータ54、紙
送り機構67に含まれる紙送りの動力源であるステップ
モータ55、及び紙送り動力伝達系切り替え機構56、
単票用紙ローディング機構68に含まれるローディング
・ローラ開閉機構57、及び単票用紙挿入検出器58、
並びに磁気インク文字読み取り機構69に含まれる磁気
ヘッド59等を有している。
FIG. 2 is a control block diagram showing the overall configuration of a printer for explaining an embodiment of the present invention. The printer mechanism 52 includes a print head 53 included in the print mechanism 66, a step motor 54 that is a drive power source of the print head, a step motor 55 that is a power source of paper feed included in the paper feed mechanism 67, and a paper feed power. Transmission system switching mechanism 56,
A loading roller opening / closing mechanism 57 included in the single-cut sheet loading mechanism 68, and a single-cut sheet insertion detector 58,
It also has a magnetic head 59 and the like included in the magnetic ink character reading mechanism 69.

【0041】CPU42は、ROM43に格納されてい
る制御プログラムに従い、コマンド実行手段64及び読
み取りデータ解析手段71として機能する。RAM44
はCPU42の一時記憶として用いられる他、磁気ヘッ
ド59により読み取られた文字波形をディジタル値に変
換した読み取りデータを一時格納する読み取りデータ格
納手段70、及び磁気インク文字の認識結果を一時格納
する認識結果格納手段72として機能する。インターフ
ェイス41は、ホスト装置が送信したデータを受信する
コマンド受信手段62、及び磁気インク文字の認識結果
をホストに送信するデータ送信手段73として機能す
る。また、印字ヘッド制御回路45、モータ制御回路4
6、モータ制御回路47、プランジャ制御回路48、プ
ランジャ制御回路49、単票用紙挿入検出器制御回路5
0、磁気ヘッド制御回路51はプリンタ機構部制御手段
65を構成している。
The CPU 42 functions as the command executing means 64 and the read data analyzing means 71 according to the control program stored in the ROM 43. RAM44
Is used as a temporary memory of the CPU 42, a read data storage means 70 for temporarily storing read data obtained by converting a character waveform read by the magnetic head 59 into a digital value, and a recognition result for temporarily storing a recognition result of a magnetic ink character. It functions as the storage means 72. The interface 41 functions as command receiving means 62 for receiving the data transmitted by the host device and data transmitting means 73 for transmitting the recognition result of the magnetic ink characters to the host. In addition, the print head control circuit 45 and the motor control circuit 4
6, motor control circuit 47, plunger control circuit 48, plunger control circuit 49, single-cut sheet insertion detector control circuit 5
0, the magnetic head control circuit 51 constitutes a printer mechanism section control means 65.

【0042】図5は、図3に示す本発明の一実施形態で
あるプリンタを制御して単票用紙ローディングを行う際
の制御方法の一例を示すフローチャートである。ホスト
装置61から「単票用紙を印字開始位置にローディング
する」というコマンドが送信されると、上述の手順で受
信、解析、実行が行われる。先ず、ステップ101にお
いて当該コマンドであると判断されれば、単票用紙挿入
待ちの状態となる。(ステップ103)。即ち、紙送り
動力伝達系切り替え機構16によって動力源との接続を
単票用紙送りローラ13及び単票用紙ローディング・ロ
ーラ14を駆動する側に切り替え、ローディング・ロー
ラ開閉機構17を開状態として単票用紙ローディング・
ローラ14を矢印E方向(図3参照)に移動するととも
にフォームストッパ18を矢印Fの方向に移動する。
FIG. 5 is a flow chart showing an example of a control method when the printer according to the embodiment of the present invention shown in FIG. 3 is controlled to load a single-cut sheet. When the command "load a cut sheet at the print start position" is transmitted from the host device 61, reception, analysis, and execution are performed in the above procedure. First, if it is determined that the command is the one in step 101, the state of waiting for the insertion of cut sheets is entered. (Step 103). That is, the paper feed power transmission system switching mechanism 16 switches the connection with the power source to the side that drives the single-cut sheet feed roller 13 and the single-cut sheet loading roller 14, and opens the loading roller opening / closing mechanism 17 to open the single-cut sheet. Loading
The roller 14 is moved in the direction of arrow E (see FIG. 3) and the foam stopper 18 is moved in the direction of arrow F.

【0043】次に、オペレータが単票用紙6を単票用紙
挿入位置19に挿入して単票用紙挿入検出器21により
単票用紙が検出されれば(ステップ104)、当該単票
用紙のローディングを開始する(ステップ105)。即
ち、ローディング・ローラ開閉機構17を閉状態として
単票用紙ローディング・ローラ14を矢印Dの方向に移
動することによって単票用紙6を挟持し、同時にフォー
ムストッパ18を矢印Gの方向に移動して単票用紙経路
から後退させる。そして紙送り機構の動力源であるステ
ップモータ55を起動し、単票用紙ローディング・ロー
ラ14と単票用紙送りローラ13とによって、単票用紙
6を矢印Bの方向に単票用紙の搬送を開始する。
Next, when the operator inserts the single-cut sheet 6 into the single-cut sheet insertion position 19 and the single-cut sheet insertion detector 21 detects the single-cut sheet (step 104), loading of the single-cut sheet is performed. Is started (step 105). That is, by closing the loading roller opening / closing mechanism 17 and moving the single-cut sheet loading roller 14 in the direction of arrow D, the single-cut sheet 6 is nipped, and at the same time, the form stopper 18 is moved in the direction of arrow G. Retract from the cut sheet path. Then, the step motor 55, which is the power source of the paper feeding mechanism, is activated, and the single-cut sheet loading roller 14 and the single-cut sheet feed roller 13 start to convey the single-cut sheet 6 in the direction of arrow B. .

【0044】単票用紙6の送り量はステップモータ55
の駆動ステップ数に対応しているので、ステップモータ
55を所定量(単票用紙経路の単票用紙挿入位置19か
ら単票用紙印字開始位置24までの距離(25と26と
の和)に対応するステップ数)回転させることによって
単票用紙6を単票用紙印字開始位置24まで送ることが
できる。この状態では単票用紙6は少なくとも単票用紙
送りローラ13部によって挟持されている。従って、ロ
ーディング・ローラ開閉機構17を開状態として単票用
紙ローディング・ローラ14を矢印Eの方向へ、フォー
ムストッパ18を矢印Fの方向へそれぞれ移動し、ロー
ディングを終了する(ステップ106)。
The feed amount of the cut sheet paper 6 is the step motor 55.
Since it corresponds to the number of driving steps of, the step motor 55 corresponds to a predetermined amount (the distance from the cut sheet paper insertion position 19 of the cut sheet path to the cut sheet print start position 24 (the sum of 25 and 26)). It is possible to feed the cut sheet 6 to the cut sheet printing start position 24 by rotating it. In this state, the single-cut sheet 6 is held at least by the single-cut sheet feed roller 13. Therefore, the loading roller opening / closing mechanism 17 is opened, the single-cut sheet loading roller 14 is moved in the direction of arrow E, and the form stopper 18 is moved in the direction of arrow F, and the loading is completed (step 106).

【0045】以上で単票用紙印字の準備が終了する。以
降、印字ヘッド1(53)による印字と、単票用紙送り
ローラ13による単票用紙送りとを繰り返すことによ
り、単票用紙6への印字が行われる。
Thus, the preparation for printing the cut sheet is completed. After that, printing on the cut sheet 6 is performed by repeating the printing by the print head 1 (53) and the cut sheet feeding by the cut sheet feeding roller 13.

【0046】一方、ステップ101において、他のコマ
ンドを受信したと判断された場合には、当該他のコマン
ドを実行する(ステップ102)。
On the other hand, if it is determined in step 101 that another command is received, the other command is executed (step 102).

【0047】次に単票用紙の排出動作について説明す
る。図6は、図3に示す本発明の一実施形態のプリンタ
機構部を制御して単票用紙排出を行う際の、制御方法の
一例を示すフローチャートである。ホスト装置61から
「単票用紙の排出」を行うコマンドが送信されると、上
述の手順でこれを受信、解析、実行する。先ず、ステッ
プ111において単票用紙排出コマンドであると判断さ
れれば、ステップモータ55を起動して単票用紙6の矢
印B方向、即ち排出方向への搬送を開始する(ステップ
113)。単票用紙6が単票用紙挿入検出器21によっ
て検出されない位置まで移動した後(ステップ11
4)、単票用紙挿入位置19から単票用紙送りローラ1
3までの間隔25よりも若干長い距離を更に送る。これ
により単票用紙6は単票用紙送りローラ13による挟持
を脱するので、オペレータによる単票用紙6の除去が可
能となる(ステップ115)。
Next, the operation of ejecting cut sheets will be described. FIG. 6 is a flowchart showing an example of a control method when the printer mechanism unit according to the embodiment of the present invention shown in FIG. When the host device 61 sends a command for "ejecting cut sheets", the command is received, analyzed, and executed in the procedure described above. First, if it is determined in step 111 that the command is a cut sheet paper discharge command, the step motor 55 is activated to start the conveyance of the cut sheet paper 6 in the direction of arrow B, that is, in the discharge direction (step 113). After the cut sheet 6 is moved to a position where it is not detected by the cut sheet insertion detector 21 (step 11
4), the single-cut sheet feeding position 1 from the single-cut sheet insertion position 19
Further send a distance slightly longer than the interval 25 up to 3. As a result, the single-cut sheet 6 is released from being held by the single-cut sheet feed roller 13, so that the operator can remove the single-cut sheet 6 (step 115).

【0048】本例では、更に、紙送り動力伝達系切り替
え機構16によりロール紙送りローラ9a、9bを駆動
する状態に切り替え、ロール紙5への印字が可能な状態
としている(ステップ116)。
In this example, the paper feed power transmission system switching mechanism 16 is switched to a state in which the roll paper feed rollers 9a and 9b are driven so that the roll paper 5 can be printed (step 116).

【0049】一方、ステップ111において単票用紙排
出以外のコマンドを受信したと判断された場合には、当
該コマンドを実行する(ステップ112)。
On the other hand, if it is determined in step 111 that a command other than the single-cut sheet ejection is received, the command is executed (step 112).

【0050】次に、チェックに印刷されている磁気イン
ク文字の読み取り、及びチェックへの裏書き印字動作に
ついて説明する。図7、図8、図9は、図3に示す本発
明の一実施形態であるプリンタ機構部を制御して磁気イ
ンク文字の読み取りから裏書き印字を行うまでの制御方
法の一例を示すフローチャートである。また、図10及
び図11は図7における磁気インク文字読み取り動作
(ステップ126)の詳細な手順の一例を示すフローチ
ャートである。また、図12、図13、及び図14は図
8におけるチェックの再読み取りのためのバックフィー
ド動作(ステップ137)の詳細な手順の一例を示すフ
ローチャートである。
Next, the operation of reading the magnetic ink characters printed on the check and the endorsement printing operation on the check will be described. FIGS. 7, 8 and 9 are flowcharts showing an example of a control method from the reading of magnetic ink characters to endorsement printing by controlling the printer mechanism unit according to the embodiment of the present invention shown in FIG. is there. 10 and 11 are flowcharts showing an example of a detailed procedure of the magnetic ink character reading operation (step 126) in FIG. Further, FIGS. 12, 13 and 14 are flowcharts showing an example of a detailed procedure of the back feed operation (step 137) for re-reading the check in FIG.

【0051】先ず、ステップ121においてホスト装置
から送信されたコマンドが「磁気インク文字の読み取
り」コマンドか否かが判断され、磁気インク文字読み取
りコマンドでない場合には、当該コマンドを実行する
(ステップ122)。
First, in step 121, it is determined whether the command transmitted from the host device is a "read magnetic ink character" command, and if it is not a magnetic ink character read command, the command is executed (step 122). .

【0052】一方、磁気インク文字読み取りコマンドで
あった場合には、MICR機能の選択を行う。即ち、紙
送り動力伝達系切り替え機構16を単票用紙送りローラ
13、単票用紙ローディング・ローラ14を駆動するよ
うに切り替え、ローディング・ローラ開閉機構17を開
状態として単票用紙ローディング・ローラ14を矢印E
方向に、フォームストッパ18を矢印F方向にそれぞれ
移動するとともに、以下に説明するMICR機能を選択
状態にしてチェック挿入待ちを開始する(ステップ12
3)。
On the other hand, if the command is a magnetic ink character read command, the MICR function is selected. That is, the paper feed power transmission system switching mechanism 16 is switched to drive the single-cut sheet feed roller 13 and the single-cut sheet loading roller 14, the loading roller opening / closing mechanism 17 is opened, and the single-cut sheet loading roller 14 is indicated by an arrow. E
Direction, the foam stopper 18 is moved in the direction of arrow F, and the MICR function described below is set to the selected state to start waiting for the check insertion (step 12).
3).

【0053】MICRはMagnetic Ink C
haracter Recognitionの省略形で
ある。そして本例においてMICR機能とは、チェック
に印刷された磁気インク文字の読み取りを行う機能であ
り、MICR機能が選択状態にあるとき、即ち磁気イン
ク文字読み取りモードにおいては、本例のプリンタは通
常の単票用紙への印字を行わずにチェックの処理を行
う。このような機能の選択を行う理由は、単票用紙への
印字とチェックの処理とで用紙送り経路、及び機構を兼
用しているからに他ならない。MICR機能が選択状態
にあるときは単票用紙6は磁気インク文字の印刷された
チェックとして扱われる。従って、以降、MICR機能
が非選択となるまでは図中の単票用紙6をチェック6と
称することとする。
MICR is Magnetic Ink C
It is an abbreviation for character Recognition. In this example, the MICR function is a function of reading the magnetic ink characters printed on the check, and when the MICR function is in the selected state, that is, in the magnetic ink character reading mode, the printer of this example is a normal printer. Check processing is performed without printing on single-cut sheets. The reason for selecting such a function is nothing but the fact that the sheet feeding path and the mechanism are used for both printing on the single-cut sheet and the checking process. When the MICR function is in the selected state, the cut-sheet paper 6 is treated as a check that magnetic ink characters are printed. Therefore, hereinafter, the single-cut sheet 6 in the drawing will be referred to as a check 6 until the MICR function is deselected.

【0054】チェック挿入待ちにおいて、オペレータが
チェック6を挿入する前に後述するキャンセルが実行さ
れた場合は(ステップ124)、チェック挿入待ちを終
了し、読み取り異常終了を示すステータスを送信する
(ステップ139)。更に紙送り動力伝達系切り替え機
構16をロール紙送りローラ9a,9bを駆動するよう
に切り替えてロール紙5に印字を行う状態とし(ステッ
プ140)、MICR機能を非選択とする(ステップ1
41)。
In the waiting for the check insertion, if a cancel operation described later is executed before the operator inserts the check 6 (step 124), the waiting for the check insertion is ended, and the status indicating the abnormal reading end is transmitted (step 139). ). Further, the paper feed power transmission system switching mechanism 16 is switched so as to drive the roll paper feed rollers 9a and 9b so that the roll paper 5 is printed (step 140), and the MICR function is deselected (step 1).
41).

【0055】ここで、キャンセルはホスト装置から送信
されてくるチェック挿入待ちキャンセルを指示するコマ
ンド、またはオペレータによるスイッチ操作に基づいて
行われる。
Here, the cancellation is performed on the basis of a command for instructing the cancellation of the waiting for check insertion transmitted from the host device or a switch operation by the operator.

【0056】オペレータがチェック6を磁気インク文字
が裏面、右側にくるように、つまり、前述の裏書き印字
を行うときと同じ要領で、しかもチェックの右側端部を
単票用紙搬送経路の右側端に沿わせて単票用紙挿入位置
19に挿入する。そして単票用紙挿入検出器21によ
り、チェックが検出されると(ステップ125)、ロー
ディング・ローラ開閉機構17を閉状態として単票用紙
ローディング・ローラ14を矢印D方向に移動してチェ
ック6を挟持し、同時にフォームストッパ18を矢印G
方向に移動して紙経路から後退させ、磁気インクの文字
読み取りを開始する(ステップ126)。
The operator makes check 6 so that the magnetic ink characters are on the back and right sides, that is, in the same manner as when the above-mentioned endorsement printing is performed, and the right end of the check is the right end of the cut sheet transport path. Insert it into the cut sheet insertion position 19 along the line. When the check is detected by the cut sheet paper insertion detector 21 (step 125), the loading roller opening / closing mechanism 17 is closed and the cut sheet paper loading roller 14 is moved in the direction of the arrow D to sandwich the check 6. At the same time, move the foam stopper 18 to the arrow G
In this direction, the magnetic ink is read back from the paper path, and the magnetic ink character reading is started (step 126).

【0057】ここで、磁気インク文字読み取り(ステッ
プ127)における制御方法を図10、図11を用いて
説明する。先ず、ステップモータ55を起動して単票用
紙ローディング・ローラ14を駆動し、チェック6の矢
印B方向への搬送を開始する(ステップ151)。
Here, the control method in the magnetic ink character reading (step 127) will be described with reference to FIGS. First, the step motor 55 is activated to drive the single-cut sheet loading roller 14, and the conveyance of the check 6 in the arrow B direction is started (step 151).

【0058】以降、読み取り終了(ステップ160)ま
で、磁気ヘッド22上を、単票用紙経路上に内蔵された
磁石23により再磁化されたチェック上の磁気インク文
字が通過し、磁気ヘッド22はこれにより発生する磁束
の変化を検出して電気信号に変換し、出力する(ステッ
プ152)。この出力信号は磁気ヘッド制御回路51に
よってディジタル値に変換され、RAM44内の読み取
りデータ格納手段70に格納される。
Thereafter, until the reading is completed (step 160), the magnetic ink character on the check remagnetized by the magnet 23 built in the path of the cut sheet passes through the magnetic head 22, and the magnetic head 22 keeps this. The change in the magnetic flux generated by is detected, converted into an electric signal, and output (step 152). This output signal is converted into a digital value by the magnetic head control circuit 51 and stored in the read data storage means 70 in the RAM 44.

【0059】磁気ヘッド22の出力信号により磁束の変
化があったことを検出すると(ステップ153)、磁気
インク文字を検出したとみなして文字波形検出済みと判
断する(ステップ154)。
When it is detected by the output signal of the magnetic head 22 that the magnetic flux has changed (step 153), it is considered that a magnetic ink character has been detected and it is determined that the character waveform has been detected (step 154).

【0060】磁気インク文字読み取りは、チェック6の
搬送量がプリンタ機構部52の紙送り分解能とRAM4
4の容量とにより決定される読み取り可能な最大長に達
するまでか(ステップ155)、チェック6が単票用紙
印字開始位置24に達した後(ステップ156)、その
終端が磁気ヘッド22をはずれる直前まで送られるまで
か(ステップ157)、チェック6が単票用紙印字開始
位置24に達した後(ステップ156)、ステップ15
4において文字波形検出済みとされたことを条件として
(ステップ158)文字波形が検出されなくなった後、
所定量送られるまで(ステップ159)行われる。
In the magnetic ink character reading, the carry amount of check 6 is the paper feed resolution of the printer mechanism unit 52 and the RAM 4.
Until the maximum readable length determined by the capacity of 4 is reached (step 155) or after the check 6 reaches the cut sheet paper print start position 24 (step 156), immediately before the end of the magnetic head 22 is removed. Until check 6 reaches the cut sheet paper print start position 24 (step 156), or step 15
On the condition that the character waveform has been detected in step 4 (step 158), after the character waveform is no longer detected,
The process is repeated until a predetermined amount is sent (step 159).

【0061】本例では、ステップ159においては、上
記の「所定量」は磁気インク文字に換算して3文字分と
設定されている。従って、文字波形検出の無い状態が、
磁気インク文字の3文字分継続した場合に読み取り終了
と判断し、読みとり終了処理(ステップ160)に移行
する。この「所定量」は磁気インク文字の書式に対応し
て定めることが望ましいので、ホスト装置61からの所
定のコマンドにより、設定、変更を行うようにしてもよ
い。
In this example, in step 159, the above-mentioned "predetermined amount" is set to three characters when converted into magnetic ink characters. Therefore, if there is no character waveform detection,
When three magnetic ink characters continue, it is determined that the reading is completed, and the reading ending process (step 160) is performed. Since this "predetermined amount" is preferably determined in correspondence with the format of the magnetic ink characters, it may be set or changed by a predetermined command from the host device 61.

【0062】上記の読み取り終了条件が成立した場合に
は、チェック6の搬送を停止して読み取りを終了する
(ステップ160)。
When the above reading end condition is satisfied, the conveyance of check 6 is stopped and the reading is ended (step 160).

【0063】以上の読み取り手順において、文字波形検
出済とされなかった場合(ステップ161)、または読
み取り終了時にすでにチェックを排出するコマンドを受
信していた場合(ステップ162)には、ローディング
・ローラ開閉機構17を開状態として単票用紙ローディ
ング・ローラ14を矢印E方向、フォームストッパ18
を矢印F方向にそれぞれ移動し、ステップモータ55を
起動してチェック6を矢印Bの方向に送る。チェック6
が単票用紙挿入検出器21を通過して単票用紙検出器2
1によって検出されなくなったら、さらに単票用紙挿入
位置19から単票用紙送りローラ13までの距離25よ
りも若干長い量を送る。これにより、チェック6は単票
用紙送りローラ13による挟持から解放されるので、オ
ペレータによるチェック6の除去が容易となる(ステッ
プ166、ステップ169)。
In the above reading procedure, when the character waveform is not detected (step 161) or when the command for discharging the check has already been received at the end of reading (step 162), the loading roller is opened / closed. With the mechanism 17 opened, the single-cut sheet loading roller 14 is moved in the direction of arrow E and the form stopper 18
Respectively in the direction of arrow F to activate the step motor 55 to send the check 6 in the direction of arrow B. Check 6
Passes the cut sheet paper insertion detector 21 and passes the cut sheet paper detector 2
When it is no longer detected by 1, the amount of paper slightly longer than the distance 25 from the single-cut sheet insertion position 19 to the single-cut sheet feed roller 13 is fed. As a result, the check 6 is released from being held by the single-cut sheet feed roller 13, so that the operator can easily remove the check 6 (steps 166 and 169).

【0064】一方、ステップ154において文字波形検
出済とされていた場合には(ステップ161)、排出
(ステップ166)後に読み取りデータ格納手段70に
格納されているデータを読み取りデータ解析手段71に
よって解析、認識して文字データに変換する(ステップ
167)。認識された文字は文字データとして認識結果
格納手段72に格納される。なお、読み取りデータ解析
手段71におけるデータの解析及び認識の処理は従来の
周知技術を用いて行うことができるので、ここでは説明
を省略する。
On the other hand, if it is determined in step 154 that the character waveform has been detected (step 161), the data stored in the read data storage means 70 after the discharge (step 166) is analyzed by the read data analysis means 71, It is recognized and converted into character data (step 167). The recognized character is stored in the recognition result storage means 72 as character data. Since the data analysis and recognition processing in the read data analysis means 71 can be performed by using a known technique in the related art, description thereof will be omitted here.

【0065】チェック6を排出したら、図7に示す処理
に戻った後にステップ128においてMICR機能を終
了すべく、MICR機能終了フラグを設定する(ステッ
プ168)。
After the check 6 is discharged, the MICR function end flag is set to end the MICR function in step 128 after returning to the processing shown in FIG. 7 (step 168).

【0066】また、文字波形検出があった場合であって
(ステップ161)、読み取り終了時にチェック排出コ
マンドを受信していなかったときは(ステップ16
2)、読み取り工程において行った紙送りの量を調整す
る。即ち、チェックの先端が後述するチェック待機位置
27を越えて送られていれば(ステップ163)、これ
を矢印C方向に送って(ステップ164)チェック待機
位置27まで戻す。
When the character waveform is detected (step 161) and the check discharge command is not received at the end of reading (step 16).
2) Adjust the amount of paper feed performed in the reading process. That is, if the leading edge of the check has been sent beyond the check standby position 27 described later (step 163), it is sent in the direction of arrow C (step 164) and returned to the check standby position 27.

【0067】本例におけるチェック待機位置27は、オ
ペレータがチェック6をつかみにくい位置に設定してあ
る。というのは、チェック6の先端がプリンタ機構部5
2またはそれを収納しているケースから大きくはみ出し
た状態で停止している場合には、例えば印字処理の終了
していないチェック6をオペレータが誤って引き抜いて
しまう虞があるからである。従って、チェック待機位置
27は、本例の位置に限定されるものではなく、プリン
タ機構部の構造等により、本例と異なる位置としても良
い。
The check standby position 27 in this example is set at a position where it is difficult for the operator to grasp the check 6. This is because the tip of the check 6 is the printer mechanism section 5.
This is because when the printer 2 or the case that stores it is stopped in a state of being largely protruded, for example, the operator may erroneously pull out the check 6 in which the printing process is not completed. Therefore, the check standby position 27 is not limited to the position of this example, and may be a position different from that of this example depending on the structure of the printer mechanism unit and the like.

【0068】紙送り量の調整が終了したら、ローディン
グ・ローラ開閉機構17を開状態として単票用紙ローデ
ィング・ローラ14を矢印E方向に、フォームストッパ
18を矢印F方向にそれぞれ移動する。この場合は、図
7の処理において再読み取り等の更なる処理を行う可能
性があるので、図7の処理に戻ってもMICR機能を終
了しないように、MICR機能終了フラグを解除する
(ステップ165)。また、ステップ165においては
単票用紙挿入位置19から現在の位置までに送った紙送
り量の合計を「読み取りステップ数」として、また、単
票用紙挿入検出器21が紙なしを検出してから現在の位
置までに送った紙送り量の合計を「紙なし検出ステップ
数」としてそれぞれ保持する。
After the adjustment of the paper feed amount is completed, the loading roller opening / closing mechanism 17 is opened to move the single-cut sheet loading roller 14 in the arrow E direction and the form stopper 18 in the arrow F direction. In this case, since further processing such as re-reading may be performed in the processing of FIG. 7, the MICR function end flag is cleared so that the MICR function is not ended even when returning to the processing of FIG. 7 (step 165). ). Further, in step 165, the total paper feed amount sent from the cut sheet paper insertion position 19 to the current position is set as the “reading step number”, and after the cut sheet paper insertion detector 21 detects the absence of paper. The total of the paper feed amounts sent up to the current position is held as the "paper out detection step number".

【0069】以降の処理を図7に戻って更に説明する。
磁気インク文字読み取り処理(ステップ126)におい
てMICR機能終了フラグが設定された場合には(ステ
ップ128)、データ送信手段73によりホスト装置へ
処理結果を送信し(ステップ139)、紙送り動力伝達
系切り替え機構16をロール紙送りローラ9a、9bを
駆動するように設定して(ステップ140)、MICR
機能を終了する(ステップ141)。ステップ139に
おいてホスト装置に送信する結果は、読み取りが正常に
終了したか否かを示すステータス情報、及び文字波形が
検出されて認識が終了している場合には認識結果格納手
段72に格納されている文字データである。
The subsequent processing will be further described with reference to FIG.
When the MICR function end flag is set in the magnetic ink character reading process (step 126) (step 128), the processing result is transmitted to the host device by the data transmitting means 73 (step 139), and the paper feed power transmission system is switched. The mechanism 16 is set to drive the roll paper feed rollers 9a and 9b (step 140), and the MICR
The function ends (step 141). The result transmitted to the host device in step 139 is stored in the recognition result storage means 72 when the recognition is completed after the status information indicating whether the reading is normally completed and the character waveform is detected. It is the character data.

【0070】磁気インク文字読み取り処理(ステップ1
26)においてMICR機能終了フラグが解除されてい
る場合には(ステップ128)、読み取りデータ格納手
段70に格納されているデータを読み取りデータ解析手
段71によって解析、認識し、文字データに変換する。
そして更にこの文字データは認識結果格納手段72に格
納される(ステップ129)。認識処理が終了すると、
認識結果をデータ送信手段73によりホスト装置へ送信
し(ステップ130)、次のコマンドの受信待ち状態と
なる。ステップ130で送信する認識結果は、読み取り
が正常に終了したか否かを示すステータス情報、及び認
識結果格納手段72に格納されている文字データであ
る。
Magnetic ink character reading process (step 1
When the MICR function end flag is cleared in step 26) (step 128), the data stored in the read data storage means 70 is analyzed and recognized by the read data analysis means 71 and converted into character data.
Further, this character data is further stored in the recognition result storage means 72 (step 129). When the recognition process ends,
The recognition result is transmitted to the host device by the data transmitting means 73 (step 130), and the next command reception waiting state is entered. The recognition result transmitted in step 130 is the status information indicating whether or not the reading is normally completed, and the character data stored in the recognition result storage means 72.

【0071】そして、その後はホスト装置からの認識結
果の再送信要求に備えてコマンド受信待ち状態となる。
この状態は認識結果の再送信を行うコマンド以外のコマ
ンドを受信した場合に解除される(ステップ133)。
After that, a command reception waiting state is prepared in preparation for a retransmission request of the recognition result from the host device.
This state is released when a command other than the command for retransmitting the recognition result is received (step 133).

【0072】ところでMICR機能が選択されていると
き、即ち磁気インク文字読み取りモードにおいて実行可
能なコマンドは、次の5コマンドである。即ち、チェッ
ク挿入待ちキャンセルコマンド、認識結果再送信コマン
ド、後述するチェックローディングコマンド、チェック
排出コマンド、及び磁気インク文字読み取りコマンドで
ある。ただし、プリンタ機構部等の制約により、チェッ
クの1回の挿入における読み取り動作の回数が制限され
ている場合であって、当該制限回数の読み取りがすでに
行われているときは(ステップ136)以降の磁気イン
ク文字読み取りコマンドは実行されず、上記のコマンド
以外のコマンドを受信した場合と同様に、チェック6の
排出を実行する(ステップ142)。なお、上記のよう
に読み取り回数を限定する場合には、読み取り終了後に
送信する認識結果に、以降の磁気インク文字読み取りコ
マンドの実行が可能か否かを示すステータスを付加して
いる。
The commands which can be executed when the MICR function is selected, that is, in the magnetic ink character reading mode are the following five commands. That is, it is a check insertion wait cancel command, a recognition result resend command, a check loading command, a check ejection command, and a magnetic ink character reading command, which will be described later. However, when the number of reading operations in one insertion of the check is limited due to the restriction of the printer mechanism section and the reading is performed by the limited number of times (step 136) and thereafter. The magnetic ink character reading command is not executed, and the discharge of check 6 is executed as in the case where a command other than the above commands is received (step 142). When the number of readings is limited as described above, a status indicating whether or not the subsequent magnetic ink character reading command can be executed is added to the recognition result transmitted after the reading is completed.

【0073】また、チェック挿入待ちキャンセルコマン
ド、チェックローディングコマンド、及びチェック排出
コマンドはMICR機能が選択状態にないときは実行不
能であり、受信してもそれぞれの処理を行わない。
Further, the check insertion wait cancel command, the check loading command, and the check ejection command cannot be executed when the MICR function is not in the selected state, and the respective processes are not executed even when received.

【0074】認識結果再送信コマンドを受信すると(ス
テップ131)、プリンタは最後に行った読み取りにお
ける認識結果をホスト装置に送信する(ステップ13
2)。
When the recognition result resend command is received (step 131), the printer sends the recognition result of the last read to the host device (step 13).
2).

【0075】また、チェックローディングコマンドを受
信すると(ステップ134)、ローディング・ローラ開
閉機構17を閉状態として単票用紙ローディング・ロー
ラ14を矢印D方向に移動してチェック6を挟持すると
共にフォームストッパ18を矢印G方向に移動した後、
ステップモータ10を起動して単票用紙ローディング・
ローラ14によりチェック6を矢印C方向に単票用紙印
字開始位置24まで送る(ステップ143)。このとき
の送り量は図11に示す読み取り処理中のステップ16
5において格納された「読み取りステップ数」とプリン
タに固有の既知の「単票用紙印字開始位置までのステッ
プ数」との差である。
When the check loading command is received (step 134), the loading roller opening / closing mechanism 17 is closed and the cut sheet loading roller 14 is moved in the direction of arrow D to hold the check 6 and form stopper 18 is provided. After moving in the direction of arrow G,
Start the step motor 10 to load single-cut sheets.
The roller 6 sends the check 6 in the direction of arrow C to the cut sheet paper print start position 24 (step 143). The feed amount at this time is determined in step 16 during the reading process shown in FIG.
5 is the difference between the "reading step number" stored in 5 and the known "number of steps up to the cut sheet paper print start position" unique to the printer.

【0076】チェック6の印字開始位置へのローディン
グが終了したら、ローディング・ローラ開閉機構17を
開状態として単票用紙ローディング・ローラ14を矢印
E方向に、フォームストッパ18を矢印F方向にそれぞ
れ移動する。以降、MICR機能を終了し、チェックへ
の印字は通常の単票用紙への印字と同様に行うように設
定する(ステップ144、ステップ141)。
When the loading of the check 6 to the printing start position is completed, the loading roller opening / closing mechanism 17 is opened to move the single-cut sheet loading roller 14 in the arrow E direction and the form stopper 18 in the arrow F direction. . After that, the MICR function is terminated, and the check printing is set in the same manner as the normal cut sheet printing (step 144, step 141).

【0077】上記のコマンド受信待ち状態において、チ
ェックローディングコマンド及び磁気インク文字読み取
りコマンド以外のコマンドを受信するか(ステップ13
3、ステップ134、ステップ135)、あるいは所定
の読み取り実行回数を超えて磁気インク読み取りコマン
ドを受信した(ステップ136)場合には、チェック6
の排出処理を行う(ステップ142)。排出処理では、
先ず、ステップモータ55を起動してチェック6を矢印
B方向に送る。そしてチェック6が単票用紙挿入検出器
21を通過して当該検出器21によって検出されなくな
ったら、単票用紙挿入位置19から単票用紙送りローラ
13までの距離25よりも若干長い距離を更に送る。こ
れによりチェック6は単票用紙送りローラによる挟持を
脱するので、オペレータはチェック6を容易に取り出す
ことができる。その後紙送り動力伝達系切り替え機構1
6をロール紙送りローラ9a、9bを駆動するように切
り換えて(ステップ140)、MICR機能を終了する
(ステップ141)。
Whether a command other than the check loading command and the magnetic ink character reading command is received in the command reception waiting state (step 13)
3, step 134, step 135), or if the magnetic ink read command is received more than the predetermined number of times of reading execution (step 136), check 6
Is discharged (step 142). In the discharge process,
First, the step motor 55 is activated to send the check 6 in the direction of arrow B. When the check 6 passes through the cut sheet paper insertion detector 21 and is no longer detected by the detector 21, the check sheet 6 is further fed a distance slightly longer than the distance 25 from the cut sheet paper insertion position 19 to the cut sheet paper feed roller 13. As a result, the check 6 is released from the nipping by the single-cut sheet feed roller, so that the operator can easily take out the check 6. After that, the paper feed power transmission system switching mechanism 1
6 is switched to drive the roll paper feed rollers 9a and 9b (step 140), and the MICR function is terminated (step 141).

【0078】なお、このとき実行されなかったコマンド
は読み捨てられるのではなく、MICR機能を終了した
後実行される。例えば、磁気インク文字読み取りコマン
ドを受信しても所定の読み取り回数を超えている場合に
は当該コマンドは実行されずに排出処理が行われるが
(ステップ133、ステップ134、ステップ135、
ステップ136、及びステップ142)、一旦MICR
機能を終了してから(ステップ140、ステップ14
1)、改めて磁気インク文字読み取りコマンドを実行す
ることになる。
The command not executed at this time is not discarded but executed after the MICR function is completed. For example, if the magnetic ink character reading command is received and the predetermined number of readings has been exceeded, the command is not executed and the discharging process is performed (step 133, step 134, step 135,
Step 136 and step 142), once MICR
After finishing the function (step 140, step 14
1) The magnetic ink character reading command is executed again.

【0079】一方、上記のコマンド受信待ち状態におい
て、磁気インク読み取りコマンドを受信し(ステップ1
33、ステップ134、ステップ135)、且つ読み取
り回数が所定値に達していない場合には(ステップ13
6)、読み取り処理を再度行うために、バックフィード
を行って(ステップ137)チェック6を単票用紙挿入
位置19に戻す。
On the other hand, in the above-mentioned command reception waiting state, a magnetic ink read command is received (step 1
33, step 134, step 135) and if the number of readings has not reached the predetermined value (step 13
6) In order to perform the reading process again, back feeding is performed (step 137) and check 6 is returned to the cut sheet paper insertion position 19.

【0080】ここで、ステップ137のバックフィード
処理につき、図12、図13及び図14に示すフローチ
ャートに従って詳細に説明する。再読み取りのためのバ
ックフィードは、ローディング・ローラ開閉機構17を
閉状態として単票用紙ローディング・ローラ14を矢印
D方向に、フォームストッパ18を矢印G方向にそれぞ
れ移動することにより開始される(ステップ171)。
Here, the back feed processing in step 137 will be described in detail with reference to the flowcharts shown in FIGS. 12, 13 and 14. The back-feed for re-reading is started by moving the single-sheet paper loading roller 14 in the direction of arrow D and the form stopper 18 in the direction of arrow G with the loading roller opening / closing mechanism 17 closed (step). 171).

【0081】読み取り終了時にチェック6が単票用紙挿
入検出器21を通過していたら(ステップ172)、読
み取り時にステップ165において格納した「紙なし検
出ステップ数」に数十ステップ分の余裕を加て送り量の
上限とし、ステップモータ55を起動してチェック6を
矢印C方向に送る(ステップ173)。このとき数十ス
テップ分の余裕を加える目的は、図3に示したプリンタ
機構部における歯車の噛合すき間(バックラッシュ)、
及び単票用紙挿入検出器21がチェック検出を行う際の
ヒステリシス誤差に起因する検出位置ずれによって送り
量が不足するのを防止することにある。矢印C方向への
チェック6の搬送は単票用紙挿入検出器21がチェック
6(後端)を検出するか(ステップ174)、あるいは
送り量が上限に達するまで(ステップ175)行われ
る。
If the check 6 has passed the single-cut sheet insertion detector 21 at the end of reading (step 172), a margin of several tens of steps is added to the "number of steps for detecting absence of paper" stored at step 165 at the time of reading. With the upper limit of the feed amount, the step motor 55 is activated to send the check 6 in the direction of arrow C (step 173). At this time, the purpose of adding a margin for several tens of steps is to make a gear clearance (backlash) in the printer mechanism shown in FIG.
Another purpose is to prevent the feed amount from becoming insufficient due to the detection position shift caused by the hysteresis error when the cut sheet paper insertion detector 21 performs the check detection. The check 6 is conveyed in the direction of the arrow C until the cut sheet insertion detector 21 detects the check 6 (rear end) (step 174) or the feed amount reaches the upper limit (step 175).

【0082】以上の処理が終了してステップモータ55
を停止した際(ステップ176)、残り送り量が0ステ
ップとなっていた場合は(ステップ177)上述の送り
量の上限まで送ったにもかかわらずチェック6の後端が
検出できなかったのであるから、何らかの異常が発生し
たものと判断して異常終了する。即ち、ローディング・
ローラ開閉機構17を開状態として単票用紙ローディン
グ・ローラ14を矢印E方向に、フォームストッパ18
を矢印F方向にそれぞれ移動した後(ステップ19
5)、ステップモータ55を起動してチェック6の矢印
B方向への排出を開始する。そしてチェック6が単票用
紙挿入検出器21を通過したら、更に単票用紙挿入位置
19から単票用紙送りローラ13までの距離25よりも
若干長い距離を送る(ステップ196)。これによりチ
ェック6は単票用紙送りローラ13による挟持から脱す
るので、オペレータはチェック6を容易に取り出すこと
ができる。排出後はバックフィードの失敗を表すフラグ
をセットして(ステップ198)、図8に示す処理に戻
る。
After the above processing is completed, the step motor 55
If the remaining feed amount is 0 step when stopping (step 176) (step 177), the trailing end of check 6 cannot be detected even though the feed amount reaches the upper limit of the feed amount described above. From this, it is judged that some kind of abnormality has occurred, and the processing ends abnormally. That is, loading
With the roller opening / closing mechanism 17 opened, the single-cut sheet loading roller 14 is moved in the direction of arrow E, and the form stopper 18
After moving each in the direction of arrow F (step 19
5) The step motor 55 is activated to start discharging the check 6 in the arrow B direction. When the check 6 passes the cut sheet paper insertion detector 21, the distance from the cut sheet paper insertion position 19 to the cut sheet paper feed roller 13 is slightly longer than the distance 25 (step 196). As a result, the check 6 is released from being held by the single-cut sheet feed roller 13, so that the operator can easily take out the check 6. After the discharge, the flag indicating the failure of the back feed is set (step 198), and the process returns to the process shown in FIG.

【0083】一方、残り送り量が0ステップでなかった
場合は(ステップ177)、「読み取りステップ数」か
ら「紙なし検出ステップ数」を減算し、その結果をあら
ためて「読み取りステップ数」として格納する(ステッ
プ178)。以上の処理によりチェック6の後端は単票
用紙検出器21の検出位置まで到達しているので、以降
はバックフィード開始の際に単票用紙挿入検出器21に
よってチェック6が検出されていた場合の処理に合流す
る。
On the other hand, when the remaining feed amount is not 0 step (step 177), the "paperless detection step number" is subtracted from the "reading step number" and the result is stored again as the "reading step number". (Step 178). Since the trailing edge of the check 6 has reached the detection position of the cut sheet paper detector 21 by the above processing, if the check sheet 6 is detected by the cut sheet paper insertion detector 21 at the time of starting the back feed thereafter. Join the process of.

【0084】当該処理においては、残りの読み取りステ
ップ数が紙送り量に換算して6ミリ分以上あるときは
(ステップ179)、ステップモータ55を起動して、
チェックを読み取りステップ数から6ミリ分のステップ
数を引いた量だけ矢印C方向に送り(ステップ18
0)、読み取りステップ数を6ミリ分のステップ数に更
新する(ステップ181)。残りの読み取りステップ数
が紙送り量に換算して6ミリ分以上ないときは(ステッ
プ179)、ステップ180からステップ181の処理
は行わない。
In this process, when the remaining number of reading steps is 6 mm or more in terms of the paper feed amount (step 179), the step motor 55 is started,
The check is read in the direction of arrow C by the amount obtained by subtracting the number of steps for 6 mm from the number of steps (step 18
0), the number of reading steps is updated to the number of steps for 6 mm (step 181). When the remaining number of reading steps is not more than 6 mm when converted into the paper feed amount (step 179), the processing from step 180 to step 181 is not performed.

【0085】上記の処理はバックフィード処理を高速、
且つ確実に行うための処理である。即ち、後述するチェ
ック6先端部の検出は正確に行う必要があるため、1ス
テップあるいは数ステップ送る毎に単票用紙挿入検出器
21によるチェック6の検出の有無を確認している。従
って、当該処理におけるチェック6の搬送速度はあまり
高く設定することができない。そこで、当該処理をチェ
ック6の先端部が単票用紙挿入検出器21の近傍にある
場合に限ることとし、それ以外の場合には、早送りを行
うこととしたものである。本例においては「近傍」の閾
値として「紙送り量に換算して6ミリ分のステップ数」
という値を用いている。
The above-mentioned processing speeds up the backfeed processing,
In addition, this is a process for performing surely. That is, since it is necessary to accurately detect the tip of the check 6 to be described later, it is confirmed whether or not the check 6 is detected by the single-cut sheet insertion detector 21 every time one step or several steps are sent. Therefore, the conveyance speed of check 6 in the process cannot be set too high. Therefore, the processing is limited to the case where the leading end of the check 6 is in the vicinity of the cut sheet paper insertion detector 21, and in other cases, the fast feed is performed. In this example, as the threshold value of “near”, “the number of steps for 6 mm in terms of paper feed amount”
Is used.

【0086】次に、チェック6の先端を検出する処理に
ついて説明する。先ず、先端検出の判断の基準は、チェ
ック6が単票用紙挿入検出器21により検出されない状
態で所定長搬送されることである。本例においてはこの
「所定長」として「読み取りステップ数の残量に1ミリ
分のステップ数を加えた値」を用いている。これは、読
み取りステップ数の残量はフォームストッパ18より先
に突出している部分の長さに相当するので、当該長さを
超える長さの搬送をする間チェック6が検出されなけれ
ば、当該部分に孔や傷があったとしても、以降、再びチ
ェック6が検出される可能性は極めて低いという理由に
よる。もちろん所定長は大きければ大きいほど検出の確
実性は増すが、一方、処理時間が増大したり、単票用紙
ローディング・ローラからはずれるという不具合が発生
する可能性も増大する。本例の場合には、単票用紙ロー
ディング・ローラ14から単票用紙挿入検出器21まで
の距離は約12ミリであり、上記の所定値がこれを超え
ることによってチェック6が当該ローラからはずれるこ
とはない。
Next, the process of detecting the leading edge of the check 6 will be described. First, the criterion for determining the leading edge detection is that the check 6 is conveyed for a predetermined length without being detected by the cut sheet paper insertion detector 21. In this example, "value obtained by adding the number of steps for 1 mm to the remaining number of reading steps" is used as the "predetermined length". This is because the remaining number of reading steps corresponds to the length of the portion projecting ahead of the foam stopper 18, so if the check 6 is not detected during the conveyance of a length exceeding the length, the portion concerned. This is because even if there is a hole or a scratch in the check mark, it is extremely unlikely that the check 6 will be detected again thereafter. Of course, the larger the predetermined length is, the more reliable the detection is. However, the processing time is increased, and the possibility that the sheet slips off the cut sheet loading roller also increases. In the case of this example, the distance from the single-cut sheet loading roller 14 to the single-cut sheet insertion detector 21 is about 12 mm, and the check 6 is deviated from the roller when the above predetermined value exceeds this value. There is no.

【0087】次に、当該処理におけるチェック6の最大
搬送量を設定する。本例では、上記の所定値に、チェッ
ク6の先端が単票用紙挿入検出器21の検出位置に到達
するまでの搬送量、及び搬送中にチェック6の滑りが発
生した場合の余裕分として数十ステップのマージンを加
えた値としている。なお、本例の構成では、このマージ
ンは10ミリ程度の搬送量に対応している。
Next, the maximum carry amount of check 6 in the process is set. In the present example, the above predetermined value is calculated as the carry amount until the leading edge of the check 6 reaches the detection position of the cut sheet paper insertion detector 21 and the margin when the slip of the check 6 occurs during the carry. It is a value with a margin of 10 steps. In the configuration of this example, this margin corresponds to a carry amount of about 10 mm.

【0088】これらの値を設定した後、ステップモータ
55を起動してチェック6の矢印C方向への搬送を開始
する(ステップ182)。そして、ステップモータ55
は、単票用紙挿入検出器21がチェック6を検出しない
状態が上述の所定量の間連続するか(ステップ18
3)、またはチェック6の搬送量が最大値に達した場合
に(ステップ184)停止する(ステップ185)。
After setting these values, the step motor 55 is activated to start the conveyance of the check 6 in the direction of arrow C (step 182). Then, the step motor 55
Indicates whether the state in which the cut sheet paper insertion detector 21 does not detect check 6 continues for the above-described predetermined amount (step 18).
3) or when the carry amount in check 6 reaches the maximum value (step 184), the process stops (step 185).

【0089】このとき、残り送り量が0ステップとなっ
ていたら(ステップ186)、何らかの異常が発生した
ことにより紙なしが検出できなかったと判断し、フォー
ムストッパ18から単票用紙印字開始位置24までの距
離に相当するステップ数だけチェック6を矢印Bの方向
に送り(ステップ187)、ローディング・ローラ開閉
機構17を開状態として単票用紙ローディング・ローラ
14を矢印E方向に、フォームストッパ18を矢印F方
向にそれぞれ移動し(ステップ195)、排出を行う
(ステップ196)。排出処理ではステップモータ55
を起動してチェック6を矢印Bの方向に送る。チェック
6が単票用紙挿入検出器21からはずれて紙なしを検出
したら、単票用紙挿入位置19から単票用紙送りローラ
13までの距離25よりも若干長い距離だけ送り、ステ
ップモータ55を停止する。チェック6が単票用紙送り
ローラ13により保持されなくなるので、オペレータに
よるチェック6の除去が容易となる。排出処理後、バッ
クフィード失敗としてフラグをセットし(ステップ19
8)、図8に示す処理に戻る。
At this time, if the remaining feed amount is 0 step (step 186), it is determined that no paper has been detected due to some abnormality, and the form stopper 18 to the cut sheet paper print start position 24 are detected. Check 6 is sent in the direction of arrow B by the number of steps corresponding to the distance (step 187), the loading roller opening / closing mechanism 17 is opened, the sheet paper loading roller 14 is in the direction of arrow E, and the form stopper 18 is in the direction of arrow. Each of them is moved in the F direction (step 195) and discharged (step 196). In the discharging process, the step motor 55
And sends check 6 in the direction of arrow B. When the check 6 deviates from the cut sheet paper insertion detector 21 and detects the absence of paper, the step motor 55 is stopped by feeding a distance slightly longer than the distance 25 from the cut sheet paper insertion position 19 to the cut sheet paper feed roller 13. Since the check 6 is not held by the single-cut sheet feed roller 13, the operator can easily remove the check 6. After the discharging process, the flag is set as back feed failure (step 19).
8) and returns to the process shown in FIG.

【0090】チェック6を排出する前に矢印Bの方向に
フォームストッパ18から単票用紙印字開始位置24ま
での距離に相当するステップ数を送るのは、異常が発生
しているため、チェック6が単票用紙送りローラ13に
よって保持されていない可能性があり、当該場合にはチ
ェック6は単票用紙ローディング・ローラ14のみによ
って保持されているのでローディング・ローラ開閉機構
17を開状態とした場合には、チェック6いずれのロー
ラにも挟持されない状態となり、排出ができなくなるた
めである。
Before ejecting the check 6, it is necessary to send the number of steps corresponding to the distance from the form stopper 18 to the cut sheet paper print start position 24 in the direction of the arrow B. There is a possibility that it is not held by the single-cut sheet feed roller 13, and in that case, check 6 is held only by the single-cut sheet loading roller 14, so when the loading roller opening / closing mechanism 17 is opened. This is because the rollers are not pinched by any of the check 6 rollers and cannot be discharged.

【0091】残り送り量が0ステップでなかったときは
(ステップ186)、ステップ182からステップ18
5の処理で、紙なしを連続検出したステップ数と数十ス
テップのマージンを加え、それを最大長送り量としてス
テップモータ10を起動し(ステップ188)、チェッ
ク6を矢印Bの方向に送る。ステップモータは挿入検出
器が紙ありを検出するか(ステップ189)、最大長送
り量を送ると(ステップ190)停止する(ステップ1
91)。
When the remaining feed amount is not 0 step (step 186), step 182 to step 18
In the process of 5, the number of steps for continuously detecting the absence of paper and a margin of several tens of steps are added, and the step motor 10 is started with this as the maximum long feed amount (step 188), and check 6 is fed in the direction of arrow B. The step motor stops when the insertion detector detects the presence of paper (step 189) or when the maximum feed amount is fed (step 190) (step 1).
91).

【0092】ステップモータ10を停止したとき、残り
送り量が0ステップとなっていたら(ステップ19
2)、異常発生により紙ありが検出できなかったと判断
して、ローディング・ローラ開閉機構17を開き、単票
用紙ローディング・ローラ14を矢印Eの方向、フォー
ムストッパ18を矢印Fの方向に移動し(ステップ19
7)、バックフィード失敗として(ステップ198)、
図8に戻る。
If the remaining feed amount is 0 step when the step motor 10 is stopped (step 19
2) It is determined that the presence of paper cannot be detected due to the occurrence of an abnormality, the loading roller opening / closing mechanism 17 is opened, and the cut sheet paper loading roller 14 is moved in the direction of arrow E and the form stopper 18 is moved in the direction of arrow F. (Step 19
7), as backfeed failure (step 198),
Returning to FIG.

【0093】ここではチェック6は単票用紙ローディン
グ・ローラ14によってのみ保持されているので、ロー
ディング・ローラ開閉機構17を開けば解放される。し
たがって、排出動作は必要ない。
Since the check 6 is held only by the single-cut sheet loading roller 14 here, it can be released by opening the loading roller opening / closing mechanism 17. Therefore, the discharging operation is not necessary.

【0094】残り送り量が0ステップでなかったときは
(ステップ192)、単票用紙挿入検出器21からフォ
ームストッパ18までの距離に相当するステップ数をB
方向に送り、バックフィード成功としてフラグを設定し
(ステップ194)、図8の処理に戻る。
When the remaining feed amount is not 0 step (step 192), the number of steps corresponding to the distance from the cut sheet insertion detector 21 to the form stopper 18 is set to B.
Direction, the flag is set as a successful back feed (step 194), and the process returns to the process of FIG.

【0095】本例のプリンタにおいては再読み取りのた
めのバックフィードを図12、図13、図14に示す方
法によって行っているが、読み取りステップ数と等しい
ステップ数だけチェック6を矢印C方向に送るだけでも
再読み取りは可能である。この場合、バックフィード失
敗の検出は行われず、従って当該判断は必要でなくな
る。
In the printer of this embodiment, back feeding for re-reading is performed by the method shown in FIGS. 12, 13 and 14, but the check 6 is sent in the direction of arrow C by the number of steps equal to the number of reading steps. Re-reading is possible by itself. In this case, backfeed failure detection is not performed, and therefore the determination is not necessary.

【0096】また、チェック6の先端が矢印Cの方向に
単票用紙挿入位置19まで送られなくても、磁気ヘッド
22より単票用紙挿入口に近い側に送られていれば再読
み取りは可能である。さらに、矢印C方向に送りながら
読み取りを行い、読み取りが終了したら、矢印Bの方向
に単票用紙印字開始位置24まで送るという制御も可能
である。
Even if the leading edge of the check 6 is not sent to the cut sheet paper insertion position 19 in the direction of arrow C, rereading is possible if it is sent to the side closer to the cut sheet paper insertion opening than the magnetic head 22. Is. Further, it is also possible to perform control such that the reading is performed while sending in the direction of arrow C, and when the reading is completed, the reading is sent to the cut sheet paper print start position 24 in the direction of arrow B.

【0097】図8の処理に戻り、バックフィード処理
(ステップ137)以降の処理を説明する。再読み取り
のためのバックフィード処理(ステップ137)におい
てバックフィード失敗と判断された場合は(ステップ1
38)、読み取り異常終了を示すステータスを送信し
(ステップ139)、紙送り動力伝達系切り替え機構1
6をロール紙送りローラ9a、9bを駆動するように切
換え、以降はロール紙5の印字を行う状態にして(ステ
ップ140)、MICR機能を終了する(ステップ14
1)。一方、バックフィード成功と判断された場合は
(ステップ138)、磁気インク文字読み取り(ステッ
プ127)以降の処理を再び実行する。
Returning to the processing of FIG. 8, the processing after the back feed processing (step 137) will be described. If it is determined that the backfeed has failed in the backfeed process (step 137) for rereading (step 1
38), the status indicating the abnormal reading end is transmitted (step 139), and the paper feed power transmission system switching mechanism 1 is sent.
6 is switched so as to drive the roll paper feed rollers 9a and 9b, and thereafter, the roll paper 5 is set to be printed (step 140), and the MICR function is terminated (step 14).
1). On the other hand, when it is determined that the back feed has succeeded (step 138), the processing after the magnetic ink character reading (step 127) is executed again.

【0098】図15は本例のプリンタにおいてMICR
機能が選択されていないときに認識結果の再送信を行う
コマンドを実行するときの行程の一例を示すフローチャ
ートである。MICR機能が選択されていないときに認
識結果の再送信を行うコマンドを受信すると(ステップ
201)、プリンタは認識結果格納手段72に格納され
ているデータ、即ち最後に行った磁気インク文字読み取
りの認識結果をホスト装置に送信する(ステップ20
2)。なお、上述のとおり、認識結果と同時に「読み取
りが限度回数行われた」か否かのステータス情報が返送
されるが、当該ステータスは本来磁気インク文字読み取
りモードにおいてのみ意味を有するため、ここでは必ず
限度回数の読み取りが行われたこと、即ち再読み取りは
禁止されていることを示す状態に設定する。また、その
他のコマンドを受信したときは、そのコマンドを実行す
る(ステップ203)。
FIG. 15 shows the MICR in the printer of this example.
It is a flowchart which shows an example of the process at the time of performing the command which retransmits a recognition result, when the function is not selected. When the printer receives a command for retransmitting the recognition result when the MICR function is not selected (step 201), the printer recognizes the data stored in the recognition result storage unit 72, that is, the last magnetic ink character reading. The result is transmitted to the host device (step 20)
2). As described above, the status information indicating whether or not “the reading has been performed the maximum number of times” is returned at the same time as the recognition result. However, since the status originally has meaning only in the magnetic ink character reading mode, it is not necessary here. The state is set to indicate that the reading has been performed the maximum number of times, that is, re-reading is prohibited. When another command is received, the command is executed (step 203).

【0099】図16は本発明のプリンタによるチェック
の処理手順の一例を示すフローチャート図である。な
お、図16の説明においては、図1中のホスト装置とし
て、POSターミナルを使用したものとする。
FIG. 16 is a flow chart showing an example of the check processing procedure by the printer of the present invention. In the description of FIG. 16, it is assumed that the POS terminal is used as the host device in FIG.

【0100】オペレータは顧客からチェックを受け取る
と(ステップ301)、チェックによる支払を行うため
にPOSターミナルを操作する。POSターミナルは、
チェックによる支払の処理に入り、本発明のプリンタに
読み取りを行うコマンドを送信する。プリンタはコマン
ドを受信、解析、実行し、チェック挿入待ちとなる。オ
ペレータがチェックを裏書きを印字する方向に挿入する
とプリンタは図7、図8で示した手順によりチェックに
印刷された磁気インク文字を読み取り、認識結果をPO
Sターミナルに送信する(ステップ302)。POSタ
ーミナルは送信されてきたステータスにより読み取りが
正常終了しているか確認する(ステップ303)。読み
取りが正常終了していたときは、送信されてきた認識結
果を確認し(ステップ304)、認識できていない文字
がなかったら、チェックが有効か無効であるかを確認す
る(ステップ305)。
When the operator receives the check from the customer (step 301), the operator operates the POS terminal to pay the check. The POS terminal is
The process of payment by check is started, and a command for reading is transmitted to the printer of the present invention. The printer receives, analyzes and executes the command, and waits for the check insertion. When the operator inserts the check in the direction for printing the endorsement, the printer reads the magnetic ink characters printed on the check by the procedure shown in FIGS.
It is transmitted to the S terminal (step 302). The POS terminal confirms whether the reading is normally completed based on the transmitted status (step 303). When the reading is normally completed, the transmitted recognition result is confirmed (step 304), and if there is no unrecognized character, it is confirmed whether the check is valid or invalid (step 305).

【0101】チェックの有効、無効の判定は無効チェッ
クの番号を保存しているデータベースへの照会等によっ
て行われる。チェックが有効であると判断すると、PO
Sターミナルはチェックを単票用紙印字開始位置にロー
ディングするコマンドを送信し、プリンタがそれを実行
して、チェックが単票用紙印字開始位置にローディング
される(ステップ306)。ここからチェックは通常の
単票用紙と同様に印字を行うことができるようになり、
POSターミナルは裏書き印字のためのデータおよび単
票用紙排出コマンドを送信し、プリンタはそれを受信
し、印字を行い、チェックを排出する(ステップ30
7)。
Whether the check is valid or invalid is determined by referring to a database that stores the number of the invalid check. If it is determined that the check is valid, the PO
The S terminal sends a command to load the check to the cut sheet paper print start position, the printer executes it, and the check is loaded to the cut sheet paper print start position (step 306). From here, the check can be printed in the same way as normal cut sheet paper,
The POS terminal sends the data for endorsement printing and the cut sheet paper discharge command, and the printer receives it, prints it, and discharges the check (step 30).
7).

【0102】次にPOSターミナルは表書きを印字する
ために単票用紙をローディングするコマンドを送信す
る。プリンタはコマンドを実行し、単票用紙挿入待ちと
なる。オペレータがチェックを表書きを行う向きに単票
用紙挿入位置に挿入するとプリンタはチェックを単票用
紙印字開始位置にローディングする。ローディングが終
了すると、POSターミナルは表書きのためのデータお
よび単票用紙排出コマンドを送信し、プリンタはそれを
受信し、印字を行い、チェックを排出する(ステップ3
08)。
Next, the POS terminal sends a command to load a cut sheet for printing a front cover. The printer executes the command and waits for the insertion of cut sheets. When the operator inserts the check into the cut sheet paper insertion position in the direction for writing the check, the printer loads the check at the cut sheet paper print start position. When the loading is completed, the POS terminal sends the data for the table writing and the cut sheet paper discharge command, and the printer receives it, prints it, and discharges the check (step 3).
08).

【0103】チェックが排出されたら、オペレータは顧
客にチェックを渡してサインをしてもらい、再び受け取
って支払いが終了する(ステップ309)。
When the check is discharged, the operator passes the check to the customer for signature, and the operator receives it again to complete the payment (step 309).

【0104】読み取りが異常終了していたときは(ステ
ップ303)、オペレータがチェックを誤った方向で挿
入した場合や、チェックが詰まってしまい、以降の処理
ができなくなった場合等の状況が有り得るので、オペレ
ータが操作して再読み取りを行うか行わないかを判断す
る(ステップ310)。認識できていない文字があった
ときは(ステップ304)、POSターミナルが再読み
取りを行うか行わないかを判断する(ステップ31
0)。
When the reading is abnormally terminated (step 303), there may be situations such as when the operator inserts the check in the wrong direction, or when the check is clogged and the subsequent processing cannot be performed. The operator operates to determine whether or not rereading is performed (step 310). If there is an unrecognized character (step 304), the POS terminal determines whether or not to reread (step 31).
0).

【0105】再読み取りをすると判断したときは、PO
Sターミナルは読み取りコマンドを送信する。プリンタ
は直前の読み取りが正常終了していたときには再読み取
りを行い、異常終了していたとき、または限度回数の読
み取りが行われていたときはチェック挿入待ちとなり、
オペレータがチェックを単票用紙挿入位置に挿入するこ
とにより読み取りを行う(ステップ302)。読み取り
後はステップ302以降の処理を再び行う。
When it is determined to reread, PO
The S terminal sends a read command. The printer re-reads when the previous reading was completed normally, and waits for check insertion when it was abnormally ended or when the limit number of readings was completed.
The operator reads the document by inserting a check into the cut sheet insertion position (step 302). After reading, the processing from step 302 onward is performed again.

【0106】再読み取りをしないと判断したときは(ス
テップ310)、POSターミナルはチェックを排出す
るコマンドを送信する。プリンタはコマンドを実行し、
チェックを排出する(ステップ311)。読み取りが異
常終了しているときは、読み取りが終了した時点で排出
が済んでいるが、ここで再度チェックを排出するコマン
ドを実行しても、MICR機能は終了しているためコマ
ンドは無効であり、何も動作しないので動作に変わりは
ない。
When it is determined that the re-reading is not performed (step 310), the POS terminal sends a command for ejecting the check. The printer executes the command,
The check is discharged (step 311). If the reading ends abnormally, the ejection is completed when the reading ends, but even if the command to eject the check is executed again here, the MICR function is terminated and the command is invalid. , Nothing works, so there is no change in operation.

【0107】チェックが排出されたら、オペレータはチ
ェックを顧客に返却し、現金等、別の方法での支払いが
行われる。
When the check is ejected, the operator returns the check to the customer and payment is made in another way, such as cash.

【0108】本例においてはチェックを裏書印字を行う
方向で挿入した場合に磁気インク文字読み取りが行われ
るようになっているが、図3における磁気ヘッド22と
磁石23とを共に単票用紙経路12中心に対して線対称
の位置に配置することにより、チェックを表向きに挿入
した際に磁気インク文字読み取りが行われるようにする
ことができる。
In this example, magnetic ink character reading is performed when the check is inserted in the direction for endorsement printing, but both the magnetic head 22 and the magnet 23 in FIG. By arranging the check at a position symmetrical with respect to the center, magnetic ink character reading can be performed when the check is inserted face-up.

【0109】[0109]

【発明の効果】以上述べたように本発明によれば、プリ
ンタの印字用紙経路上に磁気インク文字読み取り装置を
設け、磁気インク文字の読み取りをプリンタで行い、読
み取りが終了したチェックを印字開始位置へローディン
グすることを可能とすることにより、チェックに印字さ
れた磁気インク文字の読み取りとチェックへの印字とを
連続して行うことができるようになるため、オペレータ
がチェックのローディング操作を行う回数を減らすこと
ができる。これにより、オペレータの処理が容易になっ
て、顧客一人あたりの処理時間が短くなる。
As described above, according to the present invention, the magnetic ink character reading device is provided on the print sheet path of the printer, the magnetic ink character is read by the printer, and the check that the reading is completed is performed at the print start position. By loading the check, the magnetic ink characters printed on the check can be continuously read and printed on the check, so the number of times the operator performs the check loading operation can be reduced. Can be reduced. This facilitates operator processing and reduces processing time per customer.

【0110】さらにシステム全体からみると、プリンタ
と磁気インク文字読み取り装置とが一体となったため、
設置場所としてはプリンタが置ける面積を用意すれば足
り、また、ホスト装置はプリンタ用のインターフェイス
のみを用意すれば良くなる。更に、オペレータによる処
理が単純になっため、ディスプレイ等の表示による処理
手順の指図が簡略化でき、これにより制御プログラムが
単純になる。
Further, from the perspective of the entire system, since the printer and the magnetic ink character reading device are integrated,
It suffices to prepare an area where the printer can be installed as an installation place, and the host device only needs to prepare an interface for the printer. Further, since the processing by the operator is simplified, the instruction of the processing procedure by the display on the display or the like can be simplified, which simplifies the control program.

【0111】これらの結果、操作が容易で、設置場所を
広く必要とせず、ハードウェアの利用効率を高めた、信
頼性の高いシステムを構築できるプリンタ、および当該
プリンタの制御方法を得ることができる。
As a result, it is possible to obtain a printer which is easy to operate, does not require a large installation space, can improve the utilization efficiency of hardware, and can construct a highly reliable system, and a method of controlling the printer. .

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例に係るプリンタを説明する機能
ブロック図。
FIG. 1 is a functional block diagram illustrating a printer according to an exemplary embodiment of the present invention.

【図2】本発明の実施例に係るプリンタの全体構成を示
す制御ブロック図。
FIG. 2 is a control block diagram showing the overall configuration of the printer according to the embodiment of the invention.

【図3】本発明の実施例に係るプリンタの機構部構成
図。
FIG. 3 is a structural diagram of a mechanical portion of the printer according to the embodiment of the invention.

【図4】図3における単票用紙経路上の要素の配置を説
明する配置図。
FIG. 4 is a layout diagram illustrating the layout of elements on the cut sheet path in FIG.

【図5】本発明の実施例に係るプリンタにより単票用紙
ローディングを行うときの制御方法の示すフローチャー
ト。
FIG. 5 is a flowchart showing a control method when loading a cut sheet by the printer according to the embodiment of the present invention.

【図6】本発明の実施例に係るプリンタにより単票用紙
排出を行うときの制御方法を示すフローチャート。
FIG. 6 is a flowchart showing a control method when ejecting cut sheet paper by the printer according to the embodiment of the present invention.

【図7】本発明の実施例に係るプリンタにより磁気イン
ク文字の読み取りに係る制御方法を示すフローチャー
ト。
FIG. 7 is a flowchart showing a control method for reading magnetic ink characters by the printer according to the embodiment of the present invention.

【図8】本発明の実施例に係るプリンタにより磁気イン
ク文字の読み取りに係る制御方法(図7の続き)を示す
フローチャート。
FIG. 8 is a flowchart showing a control method (sequel to FIG. 7) for reading magnetic ink characters by the printer according to the embodiment of the present invention.

【図9】本発明の実施例に係るプリンタにより磁気イン
ク文字の読み取りに係る制御方法(図8の続き)を示す
フローチャート。
FIG. 9 is a flowchart showing a control method (continuation of FIG. 8) relating to reading of magnetic ink characters by the printer according to the embodiment of the present invention.

【図10】図7における磁気インク文字読み取り処理行
程を示すフローチャート。
10 is a flowchart showing a magnetic ink character reading processing step in FIG.

【図11】図7における磁気インク文字読み取り処理行
程(図10の続き)を示すフローチャート。
FIG. 11 is a flowchart showing a magnetic ink character reading processing step (continuation of FIG. 10) in FIG. 7;

【図12】図8における再読み取りのためのバックフィ
ード処理行程を示すフローチャート。
12 is a flowchart showing a backfeed process step for rereading in FIG.

【図13】図8における再読み取りのためのバックフィ
ード処理行程(図12の続き)を示すフローチャート。
13 is a flowchart showing a backfeed process step (remaining from FIG. 12) for rereading in FIG.

【図14】図8における再読み取りのためのバックフィ
ード処理行程(図13の続き)を示すフローチャート。
FIG. 14 is a flowchart showing a backfeed processing step (sequel to FIG. 13) for rereading in FIG.

【図15】本発明の実施例に係るプリンタにより磁気イ
ンク文字読み取りによる認識結果を再送信処理行程を示
すフローチャート。
FIG. 15 is a flowchart showing a process of retransmitting a recognition result obtained by reading magnetic ink characters by the printer according to the embodiment of the present invention.

【図16】本発明の実施例に係るプリンタを用いたチェ
ックの処理手順を示すフローチャート。
FIG. 16 is a flowchart showing a check processing procedure using the printer according to the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

61 ホスト装置 63 コマンド解析手段 64 コマンド実行手段 66 印字機構 67 紙送り機構 68 単票用紙ローディング機構 69 磁気インク文字読み取り機構 65 プリンタ機構制御手段 70 読み取りデータ格納手段 72 認識結果格納手段 71 読み取りデータ解析手段 73 データ送信手段 61 Host device 63 Command analysis means 64 Command execution means 66 printing mechanism 67 Paper feed mechanism 68 Single sheet paper loading mechanism 69 Magnetic ink character reading mechanism 65 Printer mechanism control means 70 read data storage means 72 recognition result storage means 71 Read data analysis means 73 Data transmission means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 百瀬 勉 長野県諏訪市大和3丁目3番5号 セイ コーエプソン株式会社内 (56)参考文献 特開 平2−248278(JP,A) 特開 平3−169664(JP,A) 特開 平4−319794(JP,A) 特開 平5−34792(JP,A) 特開 昭64−58076(JP,A) 特開 昭63−80364(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/12 B41J 21/00 G06K 7/08 H04N 1/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tsutomu Momose 3-5 Yamato, Suwa City, Nagano Seiko Epson Corporation (56) References JP-A-2-248278 (JP, A) JP-A 3-169664 (JP, A) JP 4-319794 (JP, A) JP 5-34792 (JP, A) JP 64-58076 (JP, A) JP 63-80364 (JP, A) (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 3/12 B41J 21/00 G06K 7/08 H04N 1/00

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印刷媒体を導く印刷媒体経路と、 前記印刷媒体の少なくともいずれかの面に対するように
前記印刷媒体経路に設置された、前記印刷媒体に記録さ
れている磁気パタンを検出する磁気パタン検出手段と、 前記印刷媒体経路を送られてくる前記印刷媒体の面の少
なくともいずれかの面に対し印刷可能な印刷ヘッドと、 前記印刷媒体経路内の前記印刷媒体を前記印刷ヘッドお
よび磁気パタン検出手段へ搬送可能な共通の搬送手段
と、 前記磁気パタンの検出の終了を検知する磁気パタン検出
終了検知手段と、 前記磁気パタンを検出するべく前記印刷媒体の前記搬送
手段を制御する搬送制御手段と、 前記搬送制御手段によって行われた搬送の量を格納する
搬送量格納手段と、ホスト装置とのデータの送受を行うインタフェース手段
と、 前記磁気パタン検出手段によって得られた磁気パタンに
基づく情報を前記インタフェース手段を介して前記ホス
ト装置に送出する情報送出手段と、 前記磁気パタンの検出結果および前記ホスト装置から受
信した情報に応じて、印刷処理、印刷媒体排出処理、磁
気パタンの再検出処理の中から引き続き行われる処理を
選択する処理選択手段とを有し、 前記搬送制御手段は、前記磁気パタンの検出が終了した
後、前記搬送量格納手段の格納する前記搬送量に基づい
て、前記処理選択手段により選択された引き続き行われ
る処理に適した所定の位置に前記印刷媒体を搬送するこ
とを特徴とするプリンタ。
1. A print medium path for guiding a print medium, and a magnetic pattern for detecting a magnetic pattern recorded on the print medium, the magnetic pattern being installed in the print medium path so as to face at least one surface of the print medium. Detection means; a print head capable of printing on at least one of the surfaces of the print medium sent through the print medium path; and the print head and magnetic pattern detection for the print medium in the print medium path. Common conveying means capable of conveying to the means, magnetic pattern detection end detecting means for detecting the end of the detection of the magnetic pattern, and conveyance control means for controlling the conveying means of the print medium to detect the magnetic pattern. A transfer amount storage unit that stores the transfer amount performed by the transfer control unit, and an interface unit that sends and receives data to and from the host device
And the magnetic pattern obtained by the magnetic pattern detecting means.
Information based on the host via the interface means.
Information transmission means for transmitting to the host device, the detection result of the magnetic pattern and the reception from the host device.
Depending on the information received, print processing, print medium ejection processing, magnetic
And a process selection unit that selects a process to be subsequently performed from the air pattern re-detection process , wherein the transfer control unit stores the transfer stored in the transfer amount storage unit after the detection of the magnetic pattern is completed. A printer characterized in that the print medium is conveyed to a predetermined position suitable for the subsequent processing selected by the processing selection means based on the amount.
【請求項2】 請求項1記載のプリンタにおいて、 前記磁気パタン検出終了検知手段は、前記磁気パタン検
出手段による前記磁気パタンの検出されない状態が所定
の搬送量に達したことに基づいて前記磁気パタン検出の
終了を検知することを特徴とするプリンタ。
2. The printer according to claim 1, wherein the magnetic pattern detection end detecting means is based on the fact that the magnetic pattern detecting means does not detect the magnetic pattern reaches a predetermined carry amount. A printer characterized by detecting the end of detection.
【請求項3】 請求項1記載のプリンタにおいて、 前記磁気パタン検出終了検知手段は、前記印刷媒体の搬
送が所定量行われた後前記磁気パタン検出手段による前
記磁気パタン検出の終了の検知動作を開始することを特
徴とするプリンタ。
3. The printer according to claim 1, wherein the magnetic pattern detection end detecting means detects the end of the magnetic pattern detection by the magnetic pattern detecting means after the print medium is conveyed by a predetermined amount. A printer characterized by starting.
【請求項4】 請求項1記載のプリンタにおいて、 前記磁気パタン検出終了検知手段は、前記印刷媒体の搬
送が所定量行われたことに基づいて前記磁気パタン検出
の終了を検知することを特徴とするプリンタ。
4. The printer of claim 1, wherein the magnetic pattern detection end detection means, a feature that detects the end of the magnetic pattern detected based on the transport of the print medium is performed for a predetermined amount Printer to do.
【請求項5】 請求項1記載のプリンタにおいて、 前記情報送出手段の送出する情報は、前記磁気パタン検
出時のプリンタの状態を示す情報が含まれていることを
特徴とするプリンタ。
5. The printer according to claim 1, wherein the information sent by the information sending means includes information indicating a state of the printer when the magnetic pattern is detected.
【請求項6】 請求項記載のプリンタにおいて、 前記磁気パタン検出時のプリンタの状態を示す情報は、
磁気パタン検出が正常に行われたか否かを示す情報であ
ることを特徴とするプリンタ。
6. The printer according to claim 5 , wherein the information indicating the state of the printer when the magnetic pattern is detected is:
A printer having information indicating whether or not magnetic pattern detection has been normally performed.
【請求項7】 請求項記載のプリンタにおいて、 前記磁気パタン検出時のプリンタの状態を示す情報は、
磁気パタン検出直後に磁気パタン再検出を行うことが可
能か否かを示す情報であることを特徴とするプリンタ。
7. The printer according to claim 5 , wherein the information indicating the state of the printer when the magnetic pattern is detected is
A printer, which is information indicating whether or not magnetic pattern re-detection can be performed immediately after magnetic pattern detection.
【請求項8】 請求項記載のプリンタにおいて、 前記ホスト装置から受信する前記情報は、引き続き行う
べき処理を行う制御コマンドであることを特徴とするプ
リンタ。
8. The printer according to claim 1 , wherein the information received from the host device is a control command for performing a process to be performed subsequently.
【請求項9】 請求項記載のプリンタにおいて、 前記磁気パタン検出手段から出力される磁気パタンを対
応する文字コードに変換する文字変換手段を更に有し、 前記情報送出手段の送出する前記情報は、前記磁気パタ
ンに対応した文字コードを含むことを特徴とするプリン
タ。
9. The printer according to claim 1 , further comprising character conversion means for converting a magnetic pattern output from the magnetic pattern detection means into a corresponding character code, wherein the information sent by the information sending means is A printer including a character code corresponding to the magnetic pattern.
【請求項10】 印刷媒体を導く印刷媒体経路と、前記
印刷媒体の少なくともいずれかの面に対するように前記
印刷媒体経路に設置された、前記印刷媒体に記録されて
いる磁気パタンを検出する磁気パタン検出手段と、前記
印刷媒体経路を送られてくる前記印刷媒体の面の少なく
ともいずれかの面に対し印刷可能な印刷ヘッドとを有す
るプリンタを制御する方法において、 所定の制御コマンドに基づき前記印刷媒体を搬送し、前
記磁気パタンを検出する磁気パタン検出工程と、 前記磁気パタン検出工程によって得られた磁気パタンに
基づく情報をホスト装置に送出する情報送出工程と、 前記ホスト装置からの前記磁気パタン検出結果の情報を
受信する情報受信工程と、前記磁気パタンの検出結果および前記ホスト装置からの
前記情報に基づき、印刷処理、印刷媒体排出処理、磁気
パタンの再検出処理の中から引き続き行われる処理を選
択する処理選択工程と、 前記磁気パタンの検出の終了後、引き続き行われる処理
に適した所定の位置に前記印刷媒体を搬送する印刷媒体
設定工程とを有することを特徴とするプリンタの制御方
法。
10. A print medium path for guiding a print medium, and a magnetic pattern for detecting a magnetic pattern recorded on the print medium, the magnetic pattern being installed on the print medium path so as to face at least one surface of the print medium. A method of controlling a printer having a detection means and a print head capable of printing on at least one of the surfaces of the print medium sent through the print medium path, the print medium being based on a predetermined control command. A magnetic pattern detection step of conveying the magnetic pattern and detecting the magnetic pattern, an information transmission step of transmitting information based on the magnetic pattern obtained by the magnetic pattern detection step to a host device, and the magnetic pattern detection from the host device. An information receiving step of receiving information on the result, a detection result of the magnetic pattern and the information based on the information from the host device. Print processing, print medium discharge processing, magnetic
A process selection step of selecting a process to be subsequently performed from the pattern re-detection process, and a print medium setting process of transporting the print medium to a predetermined position suitable for the process to be continuously performed after the detection of the magnetic pattern is completed. A method for controlling a printer, comprising:
JP19982295A 1994-10-18 1995-08-04 Printer and control method thereof Expired - Fee Related JP3531303B2 (en)

Priority Applications (14)

Application Number Priority Date Filing Date Title
JP19982295A JP3531303B2 (en) 1994-10-18 1995-08-04 Printer and control method thereof
TW084110434A TW293899B (en) 1994-10-18 1995-10-04
KR1019950036115A KR100392971B1 (en) 1994-10-18 1995-10-16 Complex processing unit and its control method
EP95116360A EP0707971B1 (en) 1994-10-18 1995-10-17 Printing apparatus and a control method therefor
DE69527588T DE69527588T2 (en) 1994-10-18 1995-10-17 Pressure equipment and control method therefor
US08/544,528 US5789727A (en) 1994-10-18 1995-10-18 Integrated method and apparatus for reading mier code and printing
CN200410045673.5A CN100467279C (en) 1994-10-18 1995-10-18 Printer
CNB951203177A CN1155910C (en) 1994-10-18 1995-10-18 Integrated processing apparatus and control method thereof
US08/863,446 US5965862A (en) 1994-10-18 1997-05-22 Information detection apparatus and method for printing on a medium and for reading information recorded on the medium
US09/099,073 US6068187A (en) 1994-10-18 1998-06-17 Information detection apparatus and information detection method for recording media
HK98115567A HK1014250A1 (en) 1994-10-18 1998-12-24 Printing apparatus and a control method therefor
US09/395,133 US6182896B1 (en) 1994-10-18 1999-09-13 Information detection apparatus and information detection method for recording media
US09/395,486 US6290129B2 (en) 1994-10-18 1999-09-13 Apparatus and method for printing on media and detecting information magnetically recorded on the media
US09/877,015 US20010045452A1 (en) 1994-10-18 2001-06-07 Apparatus and method for printing on media and detecting information magnetically recorded on the media

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP6-252507 1994-10-18
JP25250794 1994-10-18
JP19982295A JP3531303B2 (en) 1994-10-18 1995-08-04 Printer and control method thereof

Publications (2)

Publication Number Publication Date
JPH08171470A JPH08171470A (en) 1996-07-02
JP3531303B2 true JP3531303B2 (en) 2004-05-31

Family

ID=26511775

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19982295A Expired - Fee Related JP3531303B2 (en) 1994-10-18 1995-08-04 Printer and control method thereof

Country Status (1)

Country Link
JP (1) JP3531303B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005119211A (en) * 2003-10-20 2005-05-12 Ricoh Co Ltd Droplet discharging apparatus equipped with wireless data communication apparatus
JP4923223B2 (en) * 2007-05-17 2012-04-25 日本電産サンキョー株式会社 Magnetic character recognition method and magnetic character recognition device
JP4492674B2 (en) * 2007-11-01 2010-06-30 セイコーエプソン株式会社 Reading device, control method thereof, and recording medium

Also Published As

Publication number Publication date
JPH08171470A (en) 1996-07-02

Similar Documents

Publication Publication Date Title
KR100392971B1 (en) Complex processing unit and its control method
KR100603093B1 (en) Check processing apparatus, host computer for the same, check processing system, and check processing method
EP1918854B1 (en) Method and apparatus for processing recording media having magnetic ink characters printed thereon
JP3531303B2 (en) Printer and control method thereof
US8928925B2 (en) Multifunction device and method for printing and reading data on a medium
US8955663B2 (en) Media processing device, check processing device, and method of controlling a media processing device
US8794732B2 (en) Media processing device, method of controlling a media processing device, and a storage medium
US6633393B1 (en) Printer, a control method therefor, and a control method storage medium
JP3114793B2 (en) Printer device
JP2000280576A (en) Printer and its control method
JP2007137035A (en) Control method of print medium processor and print medium processor
US8002189B2 (en) Media processing device, media processing system, and control method for a media processing system
EP0900665B1 (en) Printing apparatus, method of controlling it and data storage medium
JP4882470B2 (en) Composite processing apparatus and control method for composite processing apparatus
JP2003001911A (en) Check processor and method for processing check
JP5811745B2 (en) Medium processing apparatus, method for controlling medium processing apparatus, and program
JP4770008B2 (en) Printer, paper jam handling method, and information recording medium
JP2003006713A (en) Compound processor and control method therefor
JP2021127193A (en) Printing device and method for controlling printing device
JP2013026763A (en) Reader, control method of the same, and program
JP2882166B2 (en) Reader
JP2002361957A (en) Printer with magnetic read device loaded thereon and method for printing check paper
US20160200521A1 (en) Media processing device, check processing device, and method of controlling a media processing device
JPH10315550A (en) Printer and method for controlling the same
JPS61231693A (en) Pass book handler

Legal Events

Date Code Title Description
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: 20040210

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040223

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080312

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090312

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090312

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100312

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100312

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110312

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120312

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120312

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130312

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140312

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees