JP2750219B2 - Printer - Google Patents

Printer

Info

Publication number
JP2750219B2
JP2750219B2 JP32332290A JP32332290A JP2750219B2 JP 2750219 B2 JP2750219 B2 JP 2750219B2 JP 32332290 A JP32332290 A JP 32332290A JP 32332290 A JP32332290 A JP 32332290A JP 2750219 B2 JP2750219 B2 JP 2750219B2
Authority
JP
Japan
Prior art keywords
medium
skew
passbook
thickness
transport path
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
JP32332290A
Other languages
Japanese (ja)
Other versions
JPH04193565A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP32332290A priority Critical patent/JP2750219B2/en
Publication of JPH04193565A publication Critical patent/JPH04193565A/en
Application granted granted Critical
Publication of JP2750219B2 publication Critical patent/JP2750219B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Conveying Record Carriers (AREA)
  • Handling Of Cut Paper (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、投入された磁気ストライプ付媒体の吸入、
退避を繰返してこの磁気ストライプ付媒体に対して連続
処理を行なう場合に、前記磁気ストライプ付媒体に対す
る磁気ストライプ書込み曲りや前記磁気ストライプ付媒
体への印字曲りを防止することができるプリンタに関す
る。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to inhalation of a medium with a magnetic stripe,
The present invention relates to a printer capable of preventing a magnetic stripe writing bend on a magnetic stripe-equipped medium and a print bend on the magnetic stripe-equipped medium when continuous processing is performed on the magnetic stripe-equipped medium by repeating retraction.

(従来の技術) 第2図は、従来の通帳伝票プリンタの一構成例を示す
ブロック図である。
(Prior Art) FIG. 2 is a block diagram showing a configuration example of a conventional passbook slip printer.

同図において、1はマイクロプロセッサ、2は通帳伝
票プリンタが動作するためのプログラムを格納したプロ
グラムメモリ、3は外部インタフェースに接続された周
辺回路、5は媒体搬送モータ51、媒体クランプローラ5
2、媒体幅寄せ機構53、媒体スキュー検出用センサ54、
磁気ストライプ(以下、MSという。)用ヘッド55及び印
字ヘッド59を駆動させる駆動回路である。
In the figure, 1 is a microprocessor, 2 is a program memory storing a program for operating a passbook slip printer, 3 is a peripheral circuit connected to an external interface, 5 is a medium transport motor 51, a medium clamp roller 5
2, medium width shifting mechanism 53, medium skew detection sensor 54,
A drive circuit for driving the magnetic stripe (hereinafter, referred to as MS) head 55 and the print head 59.

マイクロプロセッサ1は、これらのプログラムメモリ
2、周辺回路3および駆動回路5にバス4にて接続され
ている。マイクロプロセッサ1は、プログラムメモリ2
のプログラム内容に従って動作するものであり、外部イ
ンタフェースからの指示にもとづき駆動回路5を介して
駆動回路5に接続された媒体搬送モータ51、媒体クラン
プローラ52、媒体幅寄せ機構53、媒体スキュー検出用セ
ンサ54、MS用ヘッド55及び印字ヘッド59を駆動制御して
MS58付通帳56、伝票60への印字やMS58の読取り、書き込
みなどを実行する(後述する第3図、第4図参照)。
The microprocessor 1 is connected to the program memory 2, the peripheral circuit 3 and the drive circuit 5 via a bus 4. The microprocessor 1 has a program memory 2
And a medium conveying motor 51, a medium clamp roller 52, a medium width shifting mechanism 53, and a medium skew detection medium connected to the drive circuit 5 via the drive circuit 5 based on an instruction from an external interface. Drive and control the sensor 54, MS head 55 and print head 59
The printing on the passbook 56 with MS58 and the slip 60 and the reading and writing of MS58 are executed (see FIGS. 3 and 4 described later).

次に、第4図を用いて媒体の動きについて説明する。
なお、第4図は、通帳伝票プリンタにおける媒体の動き
を説明する説明図である。
Next, the movement of the medium will be described with reference to FIG.
FIG. 4 is an explanatory diagram for explaining the movement of the medium in the passbook slip printer.

まず、第4図(a)に示すように、通帳56と伝票60
は、媒体搬送路61、特に通帳搬送路61aと伝票搬送路61b
にセットされた状態で、図示しないクランプローラ52で
クランプされている(後述する第3図参照)。ここで、
クランプローラ52は、伝票側と通帳側でそれぞれ別々に
準備されている。
First, as shown in FIG.
Is a medium transport path 61, particularly a passbook transport path 61a and a slip transport path 61b.
Is clamped by a clamp roller 52 (not shown) (see FIG. 3 described later). here,
The clamp rollers 52 are separately prepared on the slip side and the passbook side.

次に通帳56は、第4図(b)に示すように吸入され、
印字ヘッド59の下まで媒体搬送路61上を搬送される。そ
の搬送の途中で、通帳56の裏表紙に貼付けられているMS
58にMS用ヘッド55を接触させ、MS58の読取り(MSリード
という。)を実行する(後述する第3図参照)。また印
字ヘッド59の下まで搬送された通帳56上に印字ヘッド59
を用いて印字を行なう。
Next, the passbook 56 is inhaled as shown in FIG.
It is transported on the medium transport path 61 to below the print head 59. In the middle of the transport, MS affixed to the back cover of passbook 56
The MS 58 is brought into contact with the MS head 55 to read the MS 58 (referred to as MS read) (see FIG. 3 described later). In addition, the print head 59 is placed on the passbook 56 transported to a position below the print head 59.
Printing is performed using.

次に第4図(c)に示すように、通帳56を、伝票60が
搬送可能となる状態まで退避する。
Next, as shown in FIG. 4C, the passbook 56 is retracted until the slip 60 can be transported.

次に第4図(d)に示すように伝票60が印字ヘッド59
の下まで媒体搬送路61上を搬送され、伝票60上に印字ヘ
ッド59を用いて印字を行なう。
Next, as shown in FIG.
, And is printed on the slip 60 using the print head 59.

次に第4図(e)に示すように伝票60を、通帳56が搬
送可能となる状態まで、退避または排出する。
Next, as shown in FIG. 4 (e), the slip 60 is retracted or discharged until the passbook 56 can be transported.

次に第4図(f)に示すように、通帳56を排出する。 Next, as shown in FIG. 4 (f), the passbook 56 is discharged.

なお、複数回、連続的に同様の処理を実行する場合
は、上述した第4図(a)〜(e)の動作の繰返しとな
る。この場合、通常、伝票60は1回毎、別の伝票60と入
れ替わるが、通帳56については、連続的に排出すること
なく同一媒体である通帳56が印字位置と退避位置間で複
数回移動することになる。
When the same processing is continuously performed a plurality of times, the above-described operations in FIGS. 4A to 4E are repeated. In this case, usually, the slip 60 is replaced with another slip 60 each time. However, as for the passbook 56, the passbook 56, which is the same medium, moves plural times between the printing position and the retreat position without being continuously discharged. Will be.

また、第4図(b)のMSリード前には、必ず媒体(こ
こでは通帳56)の幅寄せ(正しい位置でMSリードを行な
うため通帳の位置決めを行なうこと)を行っているが、
複数回連続的に同様の処理を実行する場合、2回目以降
MSリード動作が入らない場合が多いため、どうしても媒
体(ここでは、通帳56)の斜行(スキュー)が発生する
ことになる。なお、MS58の書き込み(MSライトとい
う。)前においても、必ず媒体(通帳56)の幅寄せを行
っている。
Before the MS read in FIG. 4 (b), the medium (here, passbook 56) is always aligned (positioning the passbook to perform the MS read at the correct position).
When the same process is executed continuously multiple times, the second and subsequent times
In many cases, the MS read operation is not performed, so that the medium (here, the passbook 56) is skewed. Note that the width of the medium (passbook 56) is always adjusted even before writing to MS58 (referred to as MS write).

次に通帳56のセット(第4図(a))、吸入動作(第
4図(b))およびMS58のリード(第4図(b))/ラ
イト前の幅寄せなどについて第3図を用いてさらに詳し
く説明する。なお、第3図は通帳伝票プリンタにおける
通帳搬送路61aの一例を示す簡略平面図である。
Next, FIG. 3 is used for setting the passbook 56 (FIG. 4 (a)), inhaling operation (FIG. 4 (b)), reading the MS 58 (FIG. 4 (b)), and adjusting the width before writing. Will be described in more detail. FIG. 3 is a simplified plan view showing an example of the passbook transport path 61a in the passbook slip printer.

第4図(a)では、通帳56は、媒体幅寄せ機構53によ
り媒体基準ガイド57に平行に押付けられてセットされ
る。媒体スキュー検出用センサ54が媒体基準ガイド57近
傍の通帳搬送路61aの位置に設けられており、このセン
サ54が媒体有を検出すると、セットされた通帳56の前後
の上方にそれぞれ設けられた媒体クランプローラ52が動
作し、媒体クランプローラ52は通帳56をクランプする。
In FIG. 4A, the passbook 56 is set by being pressed in parallel to the medium reference guide 57 by the medium width shifting mechanism 53. A medium skew detection sensor 54 is provided at the position of the passbook transport path 61a near the medium reference guide 57, and when this sensor 54 detects the presence of a medium, the medium provided at the front and back of the set passbook 56 is provided. The clamp roller 52 operates, and the medium clamp roller 52 clamps the passbook 56.

次に、第4図(b)で、通帳56を吸入する際は、媒体
クランプローラ52に対向した、しかも媒体搬送路61、特
に通帳搬送路61aに設けた搬送ローラ62を回転させるこ
とにより、通帳56を内部へ搬送する。この搬送ローラ62
は、搬送モータ51に連結されており、搬送モータ51の回
転に従って、搬送ローラ62が回転する。なお、媒体クラ
ンプローラ52や搬送モータ51は、マイクロプロセッサ1
により駆動回路5を介して駆動制御される。
Next, in FIG. 4 (b), when the passbook 56 is inhaled, by rotating the transport roller 62 facing the medium clamp roller 52 and provided in the medium transport path 61, particularly the passbook transport path 61a, The passbook 56 is carried inside. This transport roller 62
Is connected to the transport motor 51, and the transport roller 62 rotates as the transport motor 51 rotates. The medium clamp roller 52 and the transport motor 51 are provided by the microprocessor 1
Is driven and controlled via the drive circuit 5.

次に通帳56の裏表紙に貼付けられたMS58の読取り、書
込み動作時は、MS58の機能、性能を満足させるためにMS
付通帳56の斜行(スキュー)を減少させる必要がある。
Next, at the time of reading and writing operation of the MS 58 affixed to the back cover of the passbook 56, in order to satisfy the function and performance of the MS 58, the MS 58
It is necessary to reduce the skew of the bankbook 56.

そこで、MS58の読取り(第4図(b))、書込み動作
前に、マイクロプロセッサ1は、媒体幅寄せ機構53を動
作させてMS付通帳56を媒体基準ガイド57に押付けてい
る。なお、媒体幅寄せ機構53の方式については、各種あ
るが、ここでは省略する。
Therefore, before reading (FIG. 4 (b)) and writing operations of the MS 58, the microprocessor 1 operates the medium width approaching mechanism 53 to press the passbook 56 with MS against the medium reference guide 57. Although there are various types of the medium width shifting mechanism 53, they are omitted here.

ここで、MS58の書込み動作は第4図(a)〜(e)の
動作を連続的に複数回繰返す場合には、次の場合に実施
される。即ち、このような連続的な処理の場合には、通
常、最終回の、たとえば第4図(e)の次に、MS58の書
込みが実施される。
Here, the write operation of the MS 58 is performed in the following cases when the operations of FIGS. 4A to 4E are continuously repeated a plurality of times. That is, in the case of such a continuous process, the writing of the MS 58 is usually performed at the last time, for example, after FIG. 4 (e).

(発明が解決しようとする課題) しかしながら、上述した従来の通帳伝票プリンタにお
いて、第4図(a)〜(e)の動作を連続的に複数回繰
返す連続処理の場合に、媒体(MS58付通帳56)を、複数
回、吸入、退避(第4図(b)、(c))を繰返すと、
媒体(通帳56)の斜行が順次大きくなる。
(Problems to be Solved by the Invention) However, in the above-described conventional passbook slip printer, in the case of a continuous process in which the operations of FIGS. 56), the suction and evacuation (FIGS. 4 (b) and (c)) are repeated several times,
The skew of the medium (passbook 56) increases sequentially.

そして、最終回におけるMS58の書込み動作前の、媒体
幅寄せ機構53による媒体幅寄せ時には、既に媒体(通帳
56)の斜行量が大きくなり過ぎてしまっていて、媒体幅
寄せ機構53により、媒体(通帳56)を媒体基準ガイド57
に押付ける媒体斜行修正動作に時間がかかる。また、媒
体幅寄せ機構53の方式によっては、媒体(通帳56)の斜
行を修正しきれずMS書込み曲りが発生したりする。更に
上記連続処理の途中の媒体(通帳56)への印字動作(第
4図(b))においても、印字が曲ってしまうという問
題があった。
At the time of media width adjustment by the media width adjustment mechanism 53 before the writing operation of the MS 58 in the final round, the medium (passbook) has already been set.
Since the skew amount of 56) has become too large, the medium (passbook 56) is moved by the medium width shifting mechanism 53 to the medium reference guide 57.
Takes a long time to correct the skew of the medium pressed against the medium. Further, depending on the method of the medium width shifting mechanism 53, the skew of the medium (passbook 56) cannot be completely corrected, and the MS writing bend may occur. Further, in the printing operation (FIG. 4B) on the medium (passbook 56) in the middle of the continuous processing, there is a problem that the printing is bent.

そこで本発明の目的は、投入された媒体の吸入、退避
を繰返して媒体に対する連続処理を行なう媒体に、MS付
媒体の斜行修正が容易に(短時間に)でき、かつ前記MS
付媒体に対するMS書込み曲りや前記MS付媒体への印字曲
りを防止することができるようにしたプリンタを提供す
ることにある。
SUMMARY OF THE INVENTION It is an object of the present invention to easily (in a short time) correct skew of a medium with an MS on a medium that performs continuous processing on the medium by repeating suction and retraction of the input medium.
It is an object of the present invention to provide a printer capable of preventing an MS writing bend on a storage medium and a print bending on the MS storage medium.

(課題を解決するための手段) 本発明は、媒体搬送路上に吸入された媒体の斜行を検
出する斜行検出手段と、斜行した前記媒体を媒体基準面
に押付けて前記媒体の斜行を修正する斜行修正手段とを
有し、前記媒体を前記搬送路上を印字位置と退避位置へ
交互に搬送し、印字と退避を繰返して印字の連続処理を
行うプリンタにおいて、前記媒体が磁気ストライプ付媒
体である場合に、その磁気ストライプを読取り実施済み
であるか否かを記憶する記憶手段と、媒体吸入時に磁気
ストライプの読取りを実施したとき、磁気ストライプ読
取り実施済みである旨、前記記憶手段に記憶させるとと
もに、媒体退避動作時に前記斜行検出手段が前記媒体の
斜行を検出した際、前記記憶手段に磁気ストライプ読取
り実施済みである旨記憶されているときのみ、前記斜行
修正手段を動作させて斜行した前記磁気ストライプ付媒
体を前記媒体基準面に押付けることにより幅寄せして前
記磁気ストライプ付媒体の斜行を修正させ、印字の連続
処理が終了してから前記記憶手段をクリアする制御手段
とを備えたものである。
(Means for Solving the Problems) The present invention provides a skew detecting means for detecting skew of a medium sucked on a medium transport path, and skew of the medium by pressing the skewed medium against a medium reference surface. A skew correcting means for correcting the skew, the medium is alternately transported on the transport path to a printing position and a retreat position, and printing and retreating are repeated to perform a continuous printing process. Storage means for storing whether or not the magnetic stripe has been read if the medium is an attached medium; and, when the magnetic stripe is read at the time of inhaling the medium, indicating that the magnetic stripe has been read. And when the skew detecting means detects the skew of the medium during the medium retreat operation, only when it is stored in the storage means that the magnetic stripe has been read. By operating the skew correcting means and pressing the skewed medium with magnetic stripe against the medium reference surface to correct the skew of the medium with magnetic stripe, the continuous printing process is completed. And control means for clearing the storage means after that.

また、本発明は、媒体搬送路上に吸入された媒体の斜
行を検出する斜行検出手段と、斜行した前記媒体を媒体
基準面に押付けて前記媒体の斜行を修正する斜行修正手
段とを有し、前記媒体を前記搬送路上を印字位置と退避
位置へ交互に搬送し、印字と退避を繰返して印字の連続
処理を行うプリンタにおいて、前記媒体搬送路上の前記
媒体の厚さを検出する厚さ検出手段と、この厚さ検出手
段により検出された前記媒体の厚さ情報を格納しておく
記憶手段と、前記斜行検出手段が媒体退避動作時に前記
媒体の斜行を検出した際、前記記憶手段に格納されてい
る前記媒体の厚さ情報により前記媒体の厚さが一定値以
上であるとき、前記斜行修正手段を動作させて斜行した
前記媒体を前記媒体基準面に押付けることにより幅寄せ
して前記媒体の斜行を修正させる制御手段とを備えたも
のである。
Also, the present invention provides a skew detecting means for detecting a skew of a medium sucked on a medium transport path, and a skew correcting means for correcting the skew of the medium by pressing the skewed medium against a medium reference plane. Detecting the thickness of the medium on the medium transport path in a printer that alternately transports the medium on the transport path to a print position and a retract position, and repeats printing and retracting to perform continuous printing. Thickness detecting means, a storage means for storing thickness information of the medium detected by the thickness detecting means, and when the skew detecting means detects skew of the medium during a medium retreat operation. When the thickness of the medium is equal to or more than a predetermined value based on the thickness information of the medium stored in the storage means, the skew correcting means is operated to push the skewed medium against the medium reference surface. Skew of the medium It is obtained by a control means for modifying.

また、本発明は、媒体搬送路上に吸入された媒体の斜
行を検出する斜行検出手段と、斜行した前記媒体を媒体
基準面に押付けて前記媒体の斜行を修正する斜行修正手
段とを有し、前記媒体を前記搬送路上を印字位置と退避
位置へ交互に搬送し、印字と退避を繰返して印字の連続
処理を行うプリンタにおいて、外部から指示された前記
媒体の厚さ情報を格納しておく記憶手段と、前記斜行検
出手段が媒体退避動作時に前記媒体の斜行を検出した
際、前記記憶手段に格納された前記媒体の厚さ情報によ
り前記媒体の厚さが一定値以上であるとき前記斜行修正
手段を動作させて斜行した前記媒体を前記媒体基準面に
押付けることにより幅寄せして前記媒体の斜行を修正さ
せる制御手段とを備えたものである。
Also, the present invention provides a skew detecting means for detecting a skew of a medium sucked on a medium transport path, and a skew correcting means for correcting the skew of the medium by pressing the skewed medium against a medium reference plane. In a printer that alternately conveys the medium on the conveyance path to a printing position and a retreat position on the conveyance path, and repeats printing and retreating to perform continuous printing, the thickness information of the medium instructed from outside is used. When the skew detecting means detects a skew of the medium during a medium retreat operation, the thickness of the medium is set to a constant value based on the thickness information of the medium stored in the storage means. In the above case, there is provided control means for operating the skew correction means and pressing the skewed medium against the medium reference surface to adjust the width and correct the skew of the medium.

(作用) 本発明のプリンタでは、斜行検出手段が媒体退避動作
時に媒体の斜行を検出した際、記憶手段に磁気ストライ
プ読取り済みである旨記憶されているとき、制御手段
は、斜行修正手段を動作させて斜行した磁気ストライプ
付媒体を媒体基準面に押付けて磁気ストライプ付媒体の
斜行を修正させることができる。
(Operation) In the printer according to the present invention, when the skew detecting means detects the skew of the medium during the medium retreat operation, when the storage means stores that the magnetic stripe has been read, the control means executes the skew correction. By operating the means, the skewed medium with the magnetic stripe can be pressed against the medium reference surface to correct the skew of the medium with the magnetic stripe.

また、本発明のプリンタでは、記憶手段に、厚さ検出
手段により検出された媒体の厚さ情報、又は外部から指
示された媒体の厚さ情報を格納しておく。斜行検出手段
が媒体退避動作時に、媒体の斜行を検出した際、記憶手
段に格納された前記媒体の厚さ情報により前記媒体の厚
さが一定値以上であるとき、制御手段は、斜行修正手段
を動作させて斜行した前記媒体を媒体基準面に押付けて
前記媒体の斜行を修正させることができる。
In the printer according to the present invention, the storage unit stores the thickness information of the medium detected by the thickness detection unit or the thickness information of the medium specified from the outside. When the skew detecting means detects the skew of the medium during the medium retreat operation, when the thickness of the medium is equal to or more than a predetermined value based on the thickness information of the medium stored in the storage means, the control means sets the skew. The skewed medium can be corrected by operating the line correcting means and pressing the skewed medium against the medium reference surface.

以上より、投入された媒体の吸入、退避を繰返して媒
体に対する印字処理を行なう場合に、媒体退避動作時
に、MS付媒体その他の一定の厚さ以上の媒体の斜行を容
易に修正でき、もってMS付媒体に対するMS書込み曲りや
一定厚さ以上の媒体(MS付媒体を含む。)への印字曲り
を防止することができる。
As described above, when the printing process is performed on the medium by repeating the suction and retraction of the input medium, the skew of the medium with MS and other media having a certain thickness or more can be easily corrected during the medium retreat operation. It is possible to prevent an MS writing bend in a medium with an MS and a print bend in a medium having a certain thickness or more (including a medium with an MS).

(実施例) 次に本発明の実施例について図面を参照して説明す
る。
(Example) Next, an example of the present invention will be described with reference to the drawings.

(I).第1図は、本発明に係る通帳伝票プリンタの第
1の実施例を示すブロック図である。同図において、第
2図と同一または相当部分には、同付号を用い、説明を
省略する。
(I). FIG. 1 is a block diagram showing a first embodiment of a passbook slip printer according to the present invention. In this figure, the same or corresponding parts as those in FIG.

第1図において、6は、本発明の記憶手段としてのMS
フラッグメモリであって、こMSフラッグメモリ6は、バ
ス4を介してマイクロプロセッサ1に接続されている。
マイクロプロセッサ1は、MS付通帳56がMS用ヘッド55に
よりリードされたとき、即ちMS付通帳56のMSの読取り実
施済みであるとき、MSフラッグメモリ6に“1"をセット
する(MSフラッグをオンする)。
In FIG. 1, reference numeral 6 denotes MS as storage means of the present invention.
The MS flag memory 6, which is a flag memory, is connected to the microprocessor 1 via the bus 4.
The microprocessor 1 sets “1” to the MS flag memory 6 when the MS passbook 56 is read by the MS head 55, that is, when the MS of the MS passbook 56 has been read (MS flag is set). On).

また、7は、バス4を介してマイクロプロセッサ1に
接続されたプログラムメモリである。このプログラムメ
モリ7には、第1図の通帳伝票プリンタを動作させるた
めの種々のプログラムが格納されており、マイクロプロ
セッサ1は、このプログラムメモリ7のプログラム内容
に従って動作するようになっている。
Reference numeral 7 denotes a program memory connected to the microprocessor 1 via the bus 4. The program memory 7 stores various programs for operating the passbook slip printer shown in FIG. 1, and the microprocessor 1 operates according to the program contents of the program memory 7.

マイクロプロセッサ1とプログラムメモリ7は、本発
明の制御手段を構成する。また、媒体スキュー検出用セ
ンサ54は、本発明の斜行検出手段を構成し、媒体幅寄せ
機構53は、本発明の斜行修正手段を構成する。
The microprocessor 1 and the program memory 7 constitute control means of the present invention. Further, the medium skew detection sensor 54 constitutes the skew detecting means of the present invention, and the medium width shifting mechanism 53 constitutes the skew correcting means of the present invention.

また、第1図の通帳伝票プリンタにおける通帳搬送路
61aの平面図は前述した第3図と同じであるので、説明
を省略する。
A passbook transport path in the passbook slip printer shown in FIG.
The plan view of 61a is the same as that of FIG.

また、第1図の通帳伝票プリンタにおける媒体の基本
的な動きについては、前述した第4図と同様であるの
で、相異点について以下説明する。
The basic movement of the medium in the passbook slip printer shown in FIG. 1 is the same as that shown in FIG. 4 described above, and therefore the differences will be described below.

投入されたMS付通帳56に対し、第4図(a)〜(e)
の動作を複数回繰返して連続処理を行う場合において、
本発明の特徴について第3図、第4図を用いて説明す
る。その他の点については従来と同様である。
4 (a) to 4 (e) with respect to the entered passbook 56 with MS.
Is repeated multiple times to perform continuous processing,
The features of the present invention will be described with reference to FIGS. Other points are the same as the conventional one.

1回目処理の第4図(b)の段階で、MS付通帳56は吸
入され、印字ヘッド59の下まで、媒体搬送路61上を搬送
される。その搬送の途中で、MS付通帳56の裏表紙に貼付
けられているMS58にMS用ヘッド55を接触させMSリードを
実行する。
At the stage of the first processing shown in FIG. 4B, the passbook 56 with MS is sucked and conveyed on the medium conveying path 61 to below the print head 59. During the transfer, the MS head 55 is brought into contact with the MS 58 affixed to the back cover of the passbook 56 with MS, and the MS lead is executed.

本発明では、マイクロプロセッサ1は、このMSリード
によってMSフラッグメモリ6にMSフラッグをたてる(MS
リード実施済みであることを示すフラッグ“1"をセット
する(MSフラッグオン))。なお、印字ヘッド59の下ま
で搬送されたMS付通帳56上に印字ヘッド59を用いて印字
を行なうことは、従来通りである。
In the present invention, the microprocessor 1 sets an MS flag in the MS flag memory 6 by the MS read (MS flag).
Set a flag "1" indicating that the read operation has been completed (MS flag on). It is to be noted that printing using the print head 59 on the passbook 56 with MS conveyed to below the print head 59 is the same as in the related art.

また、毎回、第4図(c)の通帳退避動作において、
媒体スキュー検出用センサ54がMS付通帳56の斜行が発生
したか否かをチェックしている。従って通帳退避動作時
に、MS付通帳56が第3図に示す一点鎖線で示す如くな
り、MS付通帳56の斜行が発生すると、媒体スキュー検出
用センサ54は媒体無しとしてこれを検出し検出信号(媒
体スキュー検出信号)をマイクロプロセッサ1に出力す
る。
Each time, in the passbook saving operation of FIG.
The medium skew detection sensor 54 checks whether the skew of the passbook 56 with MS has occurred. Therefore, during the passbook retreat operation, the passbook 56 with MS becomes as shown by the dashed line in FIG. 3 and when the skew of the passbook 56 with MS occurs, the medium skew detection sensor 54 detects that there is no medium and detects the detection signal. (Medium skew detection signal) to the microprocessor 1.

マイクロプロセッサ1は、媒体スキュー検出用センサ
54から検出信号があった場合に、MSフラッグメモリ6に
MSフラッグ“1"がたっているとき、即ち、MSフラッグメ
モリ6にMSリード実施済みであることを示すフラッグ
“1"がセットされているとき、媒体幅寄せ機構53を動作
させてMS付通帳56を媒体基準ガイド57に押付けることに
より幅寄せしてMS付通帳56の斜行を修正する。
The microprocessor 1 is a sensor for detecting a medium skew.
When there is a detection signal from 54, the MS flag memory 6
When the MS flag “1” is set, that is, when the flag “1” indicating that the MS read has been executed is set in the MS flag memory 6, the medium width shifting mechanism 53 is operated and the MS passbook 56 is operated. Is pressed against the medium reference guide 57 to correct the skew of the passbook 56 with MS.

従って、マイクロプロセッサ1はMSフラッグメモリ6
にMSフラッグ“1"がたっているとき、それ以降通帳退避
動作時において、MS付通帳56の斜行が発生する度に、MS
付通帳56の斜行修正を媒体幅寄せ機構53により行なうの
で、MS付通帳56の印字(第4図(b))を行なう場合に
印字曲りが発生しない。
Therefore, the microprocessor 1 has the MS flag memory 6
When the MS flag “1” is set to “1”, every time the passbook 56 with MS is skewed, the MS
Since the skew correction of the passbook 56 is performed by the medium width shifting mechanism 53, no print curl occurs when printing the MS passbook 56 (FIG. 4B).

また、通常最後に(たとえば最終回の第4図(e)の
次に)、MS付通帳56のMS58への書込み(MSライト)を行
なうが、このMSライトの前には、必ず媒体幅寄せ機構53
により媒体(ここではMS付通帳56)の幅寄せを行なう。
この場合、通帳退避時(第4図(c))に、通帳56の斜
行があれば、その都度その通帳56の斜行を修正してきて
いるので、MSライト前の媒体幅寄せを行なう際、通帳56
の斜行があってもわずかであり、通帳56に対するMSライ
ト前の、媒体幅寄せ機構53による媒体(通帳56)の幅寄
せがきわめて容易に(短時間に)でき、しかもMSライト
に当たってMSライト曲りが発生することもない。
Also, usually at the end (for example, after the last time of FIG. 4 (e)), writing of the MS-attached passbook 56 to the MS 58 (MS write) is performed. Mechanism 53
The width of the medium (here, MS passbook 56) is adjusted.
In this case, when the passbook is evacuated (FIG. 4 (c)), if there is a skew of the passbook 56, the skew of the passbook 56 is corrected each time. , Passbook 56
The width of the medium (passbook 56) can be adjusted very easily (in a short time) by the medium width adjustment mechanism 53 before the MS light is applied to the passbook 56. No bending occurs.

なお、マイクロプロセッサ1が媒体幅寄せを行なうに
当って、MSフラッグメモリ6にMSフラッグ“1"がたって
いるかどうか、即ち、MSリード実施済みか否かをチェッ
クしているのは、次の理由による。
The reason why the microprocessor 1 checks whether or not the MS flag “1” is set in the MS flag memory 6 when the medium width adjustment is performed, that is, whether or not the MS read has been performed, is as follows. by.

即ち、MSリード実施済みのときは、媒体はMS付媒体
(MS付通帳56)であり、このMS付媒体は予め一定厚以上
のものである。従って、媒体幅寄せ機構53により、MS付
媒体に対して媒体幅寄せを行なってもMS付媒体はつぶれ
ない。
That is, when the MS read has been performed, the medium is a medium with MS (MS passbook 56), and the medium with MS has a predetermined thickness or more in advance. Therefore, even when the medium width shifting mechanism 53 performs the medium width shifting on the MS-attached medium, the MS-attached medium does not collapse.

これに対して、MS付媒体でなく、薄い媒体(一定厚以
下の媒体)では、媒体幅寄せのため、媒体幅寄せ機構53
によりその薄い媒体を媒体基準ガイド57に押し付けた際
に、その媒体の腰が弱いため、クシャクシャになってし
まう。そこで、MS付媒体(MS付通帳56)に対してのみ媒
体幅寄せを行なうため、MSリード実施済みか否かをチェ
ックしているのである。
On the other hand, in the case of a thin medium (medium having a certain thickness or less) instead of the medium with MS, the medium width shifting mechanism 53
Therefore, when the thin medium is pressed against the medium reference guide 57, the medium becomes weak and crumple. Therefore, in order to perform medium width adjustment only on the MS-attached medium (MS-attached passbook 56), it is checked whether or not the MS read has been performed.

また、MSフラッグメモリ6のMSフラッグ“1"は第4図
(f)の通帳排出時に、マイクロプロセッサ1によりク
リアされる。
Further, the MS flag "1" of the MS flag memory 6 is cleared by the microprocessor 1 when the passbook is discharged as shown in FIG.

(II).第5図は本発明に係る通帳伝票プリンタの第2
の実施例を示すブロック図である。同図において、第1
図、第2図と同一又は相当部分には同符号を用いてい
る。
(II). FIG. 5 is a second embodiment of the passbook slip printer according to the present invention.
FIG. 3 is a block diagram showing an embodiment. In FIG.
The same reference numerals are used for the same or corresponding parts as in FIG. 2 and FIG.

第5図において、8は本発明の記憶手段としての厚さ
検出フラッグメモリであって、この厚さ検出フラッグメ
モリ8は、バス4を介してマイクロプロセッサ1に接続
されている。また、9は、バス4を介してマイクロプロ
セッサ1に接続されたプログラムメモリである。このプ
ログラムメモリ9には、第5図の通帳伝票プリンタを動
作させるための種々のプログラムが格納されており、マ
イクロプロセッサ1はプログラムメモリ9のプログラム
内容に従って動作するようになっている。
In FIG. 5, reference numeral 8 denotes a thickness detection flag memory as storage means of the present invention. The thickness detection flag memory 8 is connected to the microprocessor 1 via the bus 4. Reference numeral 9 denotes a program memory connected to the microprocessor 1 via the bus 4. The program memory 9 stores various programs for operating the passbook slip printer shown in FIG. 5, and the microprocessor 1 operates according to the program contents of the program memory 9.

マイクロプロセッサ1は、周辺回路3を介して外部イ
ンタフェースと接続されている。そして、マイクロプロ
セッサ1は、前述したように、外部インタフェースから
の指示により、媒体たとえばMS付通帳56や伝票60への印
字(第4図(b)参照)及びMS付通帳56のMS58の読取
り、書込み等を実行する。
The microprocessor 1 is connected to an external interface via a peripheral circuit 3. Then, as described above, the microprocessor 1 prints on the medium, for example, the passbook 56 with MS or the slip 60 (see FIG. 4 (b)) and reads the MS58 of the passbook 56 with MS according to the instruction from the external interface. Execute writing and the like.

マイクロプロセッサ1は、媒体、たとえばMS付通帳56
や伝票60への印字及びMS付通帳56のMS58の読取り、書込
み動作を実行するために、駆動回路5に接続された媒体
搬送モータ51、媒体クランプローラ52、本発明の斜行修
正手段としての媒体幅寄せ機構53、本発明の斜行検出手
段としての媒体スキュー検出用センサ54、MS用ヘッド5
5、印字ヘッド59及び本発明の厚さ検出手段としての厚
さ検出機構63を制御することになる。ここで、マイクロ
プロセッサ1とプログラムメモリ9は制御手段を構成す
る。
The microprocessor 1 includes a medium, for example, an MS passbook 56.
Transport motor 51, a medium clamp roller 52 connected to the drive circuit 5, and a skew correcting means of the present invention in order to perform printing on a document or a slip 60 and reading and writing operations of the MS 58 of the MS passbook 56. The medium width shifting mechanism 53, the medium skew detection sensor 54 as the skew detection means of the present invention, the MS head 5
5. It controls the print head 59 and the thickness detecting mechanism 63 as the thickness detecting means of the present invention. Here, the microprocessor 1 and the program memory 9 constitute control means.

厚さ検出機構63は、第6図に示すように媒体搬送路61
(特に通帳搬送路61a)に設けられ、投入された媒体を
吸入する時点で、媒体の厚さを検出し、一定の厚さ以上
であるか否か判定し、一定の厚さ以上であれば、厚さ検
出フラッグメモリ8に信号を送り、厚さ検出フラッグメ
モリ8に厚さ検出フラッグ“1"をたてる(媒体が一定の
厚さ以上であることを示すフラッグ“1"をセットする
(厚さ検出フラッグオン)。なお、厚さ検出機構63は、
媒体の厚さが一定の厚さ以上であれば、マイクロプロセ
ッサ1にその旨信号を送り、マイクロプロセッサ1によ
り厚さ検出フラッグメモリ8に厚さ検出フラッグ“1"を
セットしてもよい。
As shown in FIG. 6, the thickness detecting mechanism 63
(Especially, provided in the passbook transport path 61a), at the time of inhaling the inserted medium, the thickness of the medium is detected, and it is determined whether or not the thickness is more than a certain thickness. Sends a signal to the thickness detection flag memory 8 to set the thickness detection flag "1" in the thickness detection flag memory 8 (sets the flag "1" indicating that the medium has a certain thickness or more ( The thickness detection flag 63)
If the thickness of the medium is equal to or greater than a certain thickness, a signal to that effect may be sent to the microprocessor 1 and the microprocessor 1 may set the thickness detection flag “1” in the thickness detection flag memory 8.

次に、第5図の通帳伝票プリンタにおける通帳搬送路
61aの簡略平面図を第6図に示す。第6図において、第
3図と同一又は相当部分には同符号を用いている。な
お、第6図において、第3図との相異点は、通帳搬送路
61aに上記厚さ検出機構63を設けたことにある。この厚
さ検出機構63の方式については、種々のものがある。
Next, the passbook transport path in the passbook slip printer shown in FIG.
FIG. 6 shows a simplified plan view of 61a. 6, the same or corresponding parts as those in FIG. 3 are denoted by the same reference numerals. In FIG. 6, the difference from FIG. 3 is the passbook transport path.
That is, the thickness detecting mechanism 63 is provided in 61a. There are various types of the thickness detection mechanism 63.

第6図において、厚さ検出機構63以外の構成、動作に
ついては、前述した第3図の場合と同様であるが、念の
ため説明すると次のようである。
In FIG. 6, the configuration and operation other than the thickness detection mechanism 63 are the same as those in FIG. 3 described above.

即ち、媒体、たとえば通帳56は、媒体幅寄せ機構53に
より、媒体基準ガイド57に平行に押付けられて実線の如
くセットされる(第4図(a)の状態)。媒体スキュー
検出用センサ54が媒体基準ガイド57の近傍の通帳搬送路
61aの位置に設けられており、このセンサ54が媒体有を
検出すると、セットされた通帳56の前後の上方にそれぞ
れ設けられた媒体クランプローラ52が動作し、媒体クラ
ンプローラ52は、通帳56をクランプする。
That is, the medium, for example, the passbook 56 is pressed in parallel to the medium reference guide 57 by the medium width shifting mechanism 53 and set as shown by the solid line (the state of FIG. 4A). The medium skew detection sensor 54 is connected to the passbook transport path near the medium reference guide 57.
When the sensor 54 detects the presence of a medium, the medium clamp rollers 52 provided above and behind the set passbook 56 operate, and the medium clamp roller 52 moves the passbook 56. Clamp.

次に、第4図(b)の段階で、通帳56を吸入する際
は、媒体クランプローラ52に対向した、しかも通帳搬送
路61aに設けた搬送ローラ62を回転させることにより、
通帳56を内部へ搬送する。この搬送ローラ62は、搬送モ
ータ51に連結されており、搬送モード51の回転に従っ
て、搬送ローラ62が回転する。なお、媒体クランプロー
ラ52や搬送モータ51は、マイクロプロセッサ1により駆
動回路5を介して駆動制御される。
Next, at the stage of FIG. 4 (b), when the passbook 56 is sucked, the transport roller 62 facing the medium clamp roller 52 and provided in the passbook transport path 61a is rotated.
The passbook 56 is carried inside. The transport roller 62 is connected to the transport motor 51, and the transport roller 62 rotates according to the rotation of the transport mode 51. The drive of the medium clamp roller 52 and the transport motor 51 is controlled by the microprocessor 1 via the drive circuit 5.

次に、MS付媒体、たとえばMS付通帳56の裏表紙に貼付
けられたMS58の読取り、書込み動作時は、MS58の機能、
性能を満足させるためにMS付通帳56の斜行を減少させる
必要がある。
Next, at the time of reading and writing operations of the MS-attached medium, for example, the MS 58 affixed to the back cover of the MS-attached passbook 56, the functions of the MS 58
It is necessary to reduce the skew of the passbook 56 with MS to satisfy the performance.

そこで、MS58の読取り(第4図(b))、書込み動作
前に、マイクロプロセッサ1は、媒体幅寄せ機構53を動
作させてMS付通帳56を媒体基準ガイド57に押付けてい
る。なお、MS58の書込み動作は、第4図(a)〜(e)
の動作を連続的に複数回繰返す連続処理の場合には、通
常、最終回の、たとえば第4図(e)の次に行なわれ
る。
Therefore, before reading (FIG. 4 (b)) and writing operations of the MS 58, the microprocessor 1 operates the medium width approaching mechanism 53 to press the passbook 56 with MS against the medium reference guide 57. Note that the write operation of MS58 is described in FIGS. 4 (a) to 4 (e).
In the case of a continuous process in which the above operation is continuously repeated a plurality of times, the process is usually performed at the last time, for example, after FIG. 4 (e).

次に第5図の通帳伝票プリンタにおける媒体の基本的
な動きについては、第4図と同様である。
Next, the basic movement of the medium in the passbook slip printer shown in FIG. 5 is the same as that shown in FIG.

媒体基準ガイド57に押付けられてセット状態にある媒
体、たとえばMS付通帳56に対し前記連続処理を行なう場
合において、本発明の特徴について、第4図、第6図を
用いて説明する。
With reference to FIGS. 4 and 6, a description will be given of the features of the present invention in the case where the continuous processing is performed on a medium pressed against the medium reference guide 57 and in a set state, for example, the passbook 56 with MS.

1回目の処理の第4図(b)の媒体吸入時点で、厚さ
検出機構63は、媒体の厚さを検出し、その媒体の厚さが
一定値以上であれば、厚さ検出フラッグメモリ8の厚さ
を検出フラッグ“1"をたてる。この場合、媒体としてMS
付通帳56であるので、厚さ検出フラッグ“1"が厚さ検出
フラッグメモリ8にセットされることになる。第4図
(b)のその他の動作については従来技術で説明したと
同様である。
At the time when the medium is sucked in FIG. 4 (b) in the first processing, the thickness detecting mechanism 63 detects the thickness of the medium, and if the thickness of the medium is a predetermined value or more, the thickness detecting flag memory Set the detection flag "1" for the thickness of 8. In this case, MS as the medium
Since it is the passbook 56, the thickness detection flag "1" is set in the thickness detection flag memory 8. The other operations in FIG. 4B are the same as those described in the related art.

また、毎回、第4図(c)の媒体、たとえばMS付通帳
56の退避動作において、媒体スキュー検出用センサ54が
そのMS付通帳56の斜行が発生したか否かをチェックして
いる。従って、媒体、たとえばMS付通帳56の退避動作時
に、そのMS付通帳56が第6図に示す一点鎖線で示す如く
なり、MS付通帳56の斜行が発生すると、媒体スキュー検
出用センサ54は、媒体無しとして、これを検出し、検出
信号(媒体スキュー検出信号)をマイクロプロセッサ1
に出力する。
In addition, each time, the medium shown in FIG.
In the evacuation operation 56, the medium skew detection sensor 54 checks whether or not the skew of the passbook 56 with MS has occurred. Therefore, during the evacuation operation of the medium, for example, the MS passbook 56, when the MS passbook 56 becomes as shown by the dashed line in FIG. 6 and the skew of the MS passbook 56 occurs, the medium skew detection sensor 54 , The medium is detected, and a detection signal (medium skew detection signal) is sent to the microprocessor 1
Output to

マイクロプロセッサ1は、媒体スキュー検出用センサ
54から検出信号があった場合に、厚さ検出フラッグメモ
リ8に厚さ検出フラッグ“1"がセットされているとき、
媒体幅寄せ機構53を動作させて、そのMS付通帳56を媒体
基準ガイド57に押付けることにより、そのMS付通帳56の
斜行を修正する。
The microprocessor 1 is a sensor for detecting a medium skew.
When the thickness detection flag “1” is set in the thickness detection flag memory 8 when there is a detection signal from 54,
The skew of the passbook 56 with MS is corrected by operating the medium width shifting mechanism 53 and pressing the passbook 56 with MS against the medium reference guide 57.

ここで、マイクロプロセッサ1が、厚さ検出フラッグ
メモリ8に厚さ検出フラッグ“1"がセットされているか
否かによって、媒体幅寄せ機構53を動作させるか否かを
判断しているのは、厚さの薄い媒体では、媒体基準ガイ
ド57に押付けた際に、媒体の腰が弱いため、媒体がクシ
ャクシャになってしまうことを防止するためである。
Here, the microprocessor 1 determines whether or not to operate the medium width shifting mechanism 53 based on whether or not the thickness detection flag “1” is set in the thickness detection flag memory 8. This is for preventing the medium from becoming crumpled when the medium having a small thickness is pressed against the medium reference guide 57 because the medium has a weak stiffness.

また、厚さ検出フラッグメモリ8の厚さ検出フラッグ
“1"は、第4図(f)の媒体(MS付通帳56)排出時、マ
イクロプロセッサ1によりクリアされる。
The thickness detection flag "1" of the thickness detection flag memory 8 is cleared by the microprocessor 1 when the medium (the passbook 56 with MS) shown in FIG.

以上の説明から判るように、マイクロプロセッサ1
は、厚さ検出フラッグメモリ8に厚さ検出フラッグ“1"
がたっているときは、それ以降、媒体退避動作時におい
て、媒体(たとえば、MS付媒体(MS付通帳56)や一定の
厚さ以上の媒体をいう。)の斜行が発生する度に、その
媒体の斜行修正を媒体幅寄せ機構53により行なうので、
一定厚さ以上の媒体(MS付通帳56を含む。)に対し印字
を行なう(第4図(b))場合に印字曲りが発生しな
い。
As can be seen from the above description, the microprocessor 1
Indicates that the thickness detection flag “1” is stored in the thickness detection flag memory 8.
After that, every time the medium (for example, a medium with MS (MS passbook 56) or a medium having a certain thickness or more) is skewed during the medium retreat operation, the skew occurs. Since the skew correction of the medium is performed by the medium width shifting mechanism 53,
When printing is performed on a medium having a certain thickness or more (including the passbook 56 with MS) (FIG. 4 (b)), no print bending occurs.

また、通常、最後に(たとえば、最終回の第4図
(e)の次に)、MS付媒体(MS付通帳56)のMSへの書込
み(MSライト)を行なうが、このMSライトの前には必ず
媒体幅寄せ機構53によりMS付媒体の幅寄せを行なう。こ
の場合、MS付媒体退避時(第4図(c))に、MS付媒体
の斜行があれば、その都度そのMS付媒体の斜行を修正し
て来ているので、MSライト前の媒体幅寄せを行なう際、
MS付媒体の斜行があってもわずかであり、MS付媒体に対
するMSライト前の、媒体幅寄せ機構53によるMS付媒体の
幅寄せがきわめて容易に(短時間に)でき、しかもMSラ
イトに当ってMSライト曲りが発生することもない。
In addition, usually, at the end (for example, after the last FIG. 4 (e)), writing (MS write) of the medium with MS (passbook 56 with MS) to MS is performed. The width of the medium with MS is always shifted by the medium width shifting mechanism 53. In this case, when the medium with MS is evacuated (FIG. 4 (c)), if there is any skew of the medium with MS, the skew of the medium with MS is corrected each time. When performing media width adjustment,
The skew of the medium with MS is slight even if it is slight, and the width of the medium with MS can be adjusted very easily (in a short time) by the medium width adjustment mechanism 53 before the MS writing on the medium with MS. There is no MS light bending.

なお、MS付きでない薄い媒体に対しては媒体幅寄せを
行なわないため、印字曲りが生ずることがあっても、特
に差し支えることはない。即ち、第5図のプリンタで扱
う薄い媒体は、印字曲りが生じても差支えないものなの
である。
In addition, since the medium width adjustment is not performed on a thin medium without MS, even if the print bending may occur, there is no particular problem. In other words, thin media handled by the printer shown in FIG.

(III).第7図は、本発明に係る通帳伝票プリンタの
第3の実施例を示すブロック図である。同図において、
第1図、第2図、第5図と同一又は相当部分には同符号
を用いている。
(III). FIG. 7 is a block diagram showing a third embodiment of the passbook slip printer according to the present invention. In the figure,
The same reference numerals are used for the same or corresponding parts as in FIGS. 1, 2, and 5.

第7図において、10は本発明の記憶手段としての媒体
種別フラッグメモリであって、この媒体種別フラッグメ
モリ10はバス4を介してマイクロプロセッサ1に接続さ
れている。
In FIG. 7, reference numeral 10 denotes a medium type flag memory as storage means of the present invention. The medium type flag memory 10 is connected to the microprocessor 1 via the bus 4.

媒体種別フラッグメモリ10には、外部インタフェース
からのコマンド12における媒体種別2(厚さ情報)15で
指定された内容(厚さ情報)がマイクロプロセッサ1に
よって格納される。なお、媒体種別フラッグメモリ10
に、外部より、マイクロプロセッサ1を介さずに直接、
媒体の厚さ情報を格納してやるようにしてもよい。
The content (thickness information) specified by the medium type 2 (thickness information) 15 in the command 12 from the external interface is stored in the medium type flag memory 10 by the microprocessor 1. Note that the medium type flag memory 10
Directly from outside without using the microprocessor 1
The medium thickness information may be stored.

また、11はバス4を介してマイクロプロセッサ1に接
続されたプログラムメモリである。このプログラムメモ
リ11には、第7図の通帳伝票プリンタを動作させるため
の種々のプログラムが格納されており、マイクロプロセ
ッサ1は、プログラムメモリ11のプログラム内容に従っ
て動作するようになっている。ここで、マイクロプロセ
ッサ1とプログラムメモリ11は、本発明の制御手段を構
成する。
Reference numeral 11 denotes a program memory connected to the microprocessor 1 via the bus 4. The program memory 11 stores various programs for operating the passbook slip printer shown in FIG. 7, and the microprocessor 1 operates according to the program contents of the program memory 11. Here, the microprocessor 1 and the program memory 11 constitute control means of the present invention.

マイクロプロセッサ1は、周辺回路3を介して外部イ
ンタフェースと接続されている。そして、マイクロプロ
セッサ1は、外部インタフェースからの指示により、媒
体、たとえばMS付通帳56や伝票60への印字(第4図
(b)参照)及びMS付通帳56のMS58の読取り(MSリー
ド)、書込み(MSライト)等を実行する。
The microprocessor 1 is connected to an external interface via a peripheral circuit 3. Then, the microprocessor 1 prints on a medium, for example, a passbook 56 with MS or a slip 60 (see FIG. 4 (b)) and reads MS58 of the passbook 56 with MS (MS read) according to an instruction from an external interface. Execute writing (MS write) and the like.

マイクロプロセッサ1は、媒体、たとえばMS付通帳56
や伝票60への印字及びMS付通帳56のMS58の読取り、書込
み動作を実行するために、駆動回路5に接続された媒体
搬送モータ51、媒体クランプローラ52、本発明の斜行修
正手段としての媒体幅寄せ機構53、本発明の斜行検出手
段としての媒体スキュー検出用センサ54、MS用ヘッド5
5、印字ヘッド59を制御することになる。
The microprocessor 1 includes a medium, for example, an MS passbook 56.
Transport motor 51, a medium clamp roller 52 connected to the drive circuit 5, and a skew correcting means of the present invention in order to perform printing on a document or a slip 60 and reading and writing operations of the MS 58 of the MS passbook 56. The medium width shifting mechanism 53, the medium skew detection sensor 54 as the skew detection means of the present invention, the MS head 5
5. The print head 59 will be controlled.

また、第7図の通帳伝票プリンタにおける媒体搬送路
61(通帳搬送路61a)の平面図は、前述した第3図と同
じであるので、説明を省略する。
Also, the medium transport path in the passbook slip printer shown in FIG.
The plan view of 61 (passbook transport path 61a) is the same as that of FIG.

また、第7図の通帳伝票プリンタにおける媒体の基本
的な動きについては、前述した第4図と同様であるの
で、説明を省略する。
The basic movement of the medium in the passbook slip printer in FIG. 7 is the same as that in FIG. 4 described above, and a description thereof will be omitted.

第2の実施例(第5図、第6図)のような、厚さ検出
機構63や厚さ検出フラッグメモリ8を設ける代りに、媒
体種別フラッグメモリ10を設け、外部より外部インタフ
ェースを介してマイクロプロセッサ1に対してたとえ
ば、第8図に示すコマンド12を送り、マイクロプロセッ
サ1により、このコマンド12中の3バイト目の媒体種別
2(厚さ情報)15で指定された内容(厚さ情報)を媒体
種別フラッグメモリ10に格納させるようにして、第2実
施例と同様の効果を得るようにしたものである。
Instead of providing the thickness detecting mechanism 63 and the thickness detecting flag memory 8 as in the second embodiment (FIGS. 5 and 6), a medium type flag memory 10 is provided and externally via an external interface. For example, a command 12 shown in FIG. 8 is sent to the microprocessor 1 and the content (thickness information) designated by the medium type 2 (thickness information) 15 in the third byte of the command 12 ) Is stored in the medium type flag memory 10 to obtain the same effect as in the second embodiment.

ここで、コマンド12において、通帳吸入コマンド13の
媒体には、2バイト目は媒体種別1(大きさ情報)14、
3バイト目は媒体種別2(厚さ情報)15、4バイト目は
チェックコード16で構成される。
Here, in the command 12, in the medium of the passbook inhalation command 13, the second byte is a medium type 1 (size information) 14,
The third byte is medium type 2 (thickness information) 15 and the fourth byte is check code 16.

そして、通帳吸入コマンド13は、媒体搬送路61の通帳
搬送路61aの入口から吸入される媒体の吸入を指示する
コマンドであり、このコマンドを契機に、マイクロプロ
セッサ1は媒体の吸入を開始させる。この時、マイクロ
プロセッサ1は、2バイト目の媒体種別1(大きさ情
報)14で指定された内容に従い、吸入される媒体の大き
さが一致しているか否かをチェックさせる。マイクロプ
ロセッサ1は、大きさが不一致であれば、媒体の吸入動
作を途中で停止させ自動的に排出動作を実行させる。
The passbook inhalation command 13 is a command for instructing the inhalation of the medium to be inhaled from the entrance of the passbook transport path 61a of the medium transport path 61. With this command, the microprocessor 1 starts the inhalation of the medium. At this time, the microprocessor 1 checks whether or not the sizes of the media to be sucked match according to the contents specified by the medium type 1 (size information) 14 in the second byte. If the sizes do not match, the microprocessor 1 stops the suction operation of the medium halfway and automatically executes the discharge operation.

次にマイクロプロセッサ1は、3バイト目の媒体種別
2(厚さ情報)15で指定された内容(厚さ情報)を媒体
種別フラッグ10に格納しておく。また、4バイト目のチ
ェックコード16は、コマンド12の1バイト目から3バイ
ト目までのデータ内容による一定方法で演算された結果
データである。
Next, the microprocessor 1 stores the content (thickness information) specified by the medium type 2 (thickness information) 15 in the third byte in the medium type flag 10. The check code 16 in the fourth byte is the result data calculated by a certain method based on the data contents of the first to third bytes of the command 12.

本コマンド12を受信した本プリント装置においてもコ
マンド12の1バイト目から3バイト目までのデータ内容
を同様の方法で演算を行い、4バイト目のチェックコー
ド16と一致するかをチェックする。チェックの結果、不
一致であれば、マイクロプロセッサ1は、本コマンド12
を実行せず、NG応答を外部インタフェースを通して応答
する。
The printing apparatus that has received the command 12 also performs an operation on the data contents of the first to third bytes of the command 12 in a similar manner, and checks whether the data matches the check code 16 of the fourth byte. If the result of the check is a mismatch, the microprocessor 1 executes this command 12
Is executed, and an NG response is sent through the external interface.

次に、外部インタフェースより前述した第8図に示す
ようなコマンド12が入力された場合に、媒体たとえばMS
付通帳56を通帳搬送路61aの入口より挿入してやると、
第4図(a)に示すようにセット状態になる。いま、こ
のMS付通帳56に対し、第4図(a)〜(e)の動作を連
続的に複数回繰返す連続処理を行なう場合において、本
発明の特徴について、第3図、第4図、第8図を用いて
説明する。
Next, when the command 12 as shown in FIG. 8 described above is input from the external interface, a medium such as MS
When the passbook 56 is inserted from the entrance of the passbook transport path 61a,
The set state is set as shown in FIG. Now, in the case where a continuous process of continuously repeating the operations of FIGS. 4 (a) to (e) a plurality of times is performed on this MS-attached passbook 56, the features of the present invention will be described with reference to FIGS. This will be described with reference to FIG.

第8図に示すコマンド12の通帳吸入コマンド13により
MS付通帳56の吸入が開始される。この時、MS付通帳56が
コマンド12の媒体種別1(大きさ情報)14で指定された
大きさと一致しているか否かチェックされる。そして、
ここでは、大きさは一致しているものとする。
By the passbook inhalation command 13 of the command 12 shown in FIG.
Inhalation of the MS passbook 56 is started. At this time, it is checked whether the passbook 56 with MS matches the size specified in the medium type 1 (size information) 14 of the command 12. And
Here, it is assumed that the sizes match.

媒体種別フラッグメモリ10には、コマンド12の媒体種
別2(厚さ情報)15にもとづき、指定された厚さ情報が
格納される。更にコマンド12のチェックコード16も正し
くチェックされたとする。以下、第4図(b)の一連の
動作が実行されることになる。
In the medium type flag memory 10, designated thickness information is stored based on the medium type 2 (thickness information) 15 of the command 12. It is also assumed that the check code 16 of the command 12 has been correctly checked. Hereinafter, a series of operations shown in FIG. 4 (b) will be executed.

また、毎回、第4図(c)の媒体、ここではMS付通帳
56の退避動作において、媒体スキュー検出用センサ54が
そのMS付通帳56の斜行が発生したか否かをチェックして
いる。従って、MS付通帳56の退避動作時に、そのMS付通
帳56が第3図に示す一点鎖線で示す如くなり、MS付通帳
56の斜行が発生すると、媒体スキュー検出用センサ54
は、媒体無しとして、これを検出し、検出信号(媒体ス
キュー検出信号)をマイクロプロセッサ1に出力する。
In addition, each time, the medium shown in FIG.
In the evacuation operation 56, the medium skew detection sensor 54 checks whether or not the skew of the passbook 56 with MS has occurred. Therefore, at the time of the evacuation operation of the MS-attached passbook 56, the MS-attached passbook 56 becomes as shown by the one-dot chain line in FIG.
When the skew of 56 occurs, the medium skew detection sensor 54
Detects that there is no medium, and outputs a detection signal (medium skew detection signal) to the microprocessor 1.

マイクロプロセッサ1は、媒体スキュー検出用センサ
54から検出信号があった場合において、媒体種別フラッ
グメモリ10の内容が一定の厚さ以上であることを示して
いる場合には、媒体幅寄せ機構53を動作させて、そのMS
付通帳56を媒体基準ガイド57に押付けることにより、そ
のMS付通帳56の斜行を修正する。
The microprocessor 1 is a sensor for detecting a medium skew.
In the case where the detection signal is received from 54, if the content of the medium type flag memory 10 indicates that the thickness is equal to or greater than a certain thickness, the medium width shifting mechanism 53 is operated and the MS
The skew of the MS passbook 56 is corrected by pressing the passbook 56 against the medium reference guide 57.

ここで、マイクロプロセッサ1が、媒体種別フラッグ
メモリ10の内容により媒体幅寄せ機構53を動作させるか
否かを判断しているのは、厚さの薄い媒体では、媒体基
準ガイド57に押付けた際に、媒体の腰が弱いため、媒体
がクシャクシャになってしまうことを防止するためであ
る。
Here, the microprocessor 1 determines whether or not to operate the medium width adjusting mechanism 53 based on the contents of the medium type flag memory 10 because the medium 1 is pressed against the medium reference guide 57 for a medium having a small thickness. In addition, it is to prevent the medium from becoming crumpled due to the weakness of the medium.

また、媒体種別フラッグメモリ10の内容は、第4図
(f)の媒体(MS付通帳56)排出時に、マイクロプロセ
ッサ1によりクリアされる。
Further, the contents of the medium type flag memory 10 are cleared by the microprocessor 1 when the medium (the passbook 56 with MS) shown in FIG.

なお、MS付媒体(MS付通帳56)のMS58の読取り、書取
り動作前に、媒体幅寄せ機構53による媒体幅寄せを行な
うことは前述した通りである。
It is to be noted that the medium width shifting mechanism 53 performs the medium width shifting before the MS 58 reading / writing operation of the MS-attached medium (MS-attached passbook 56) as described above.

以上説明した第3の実施例においても、第2の実施例
の場合と同様の効果が得られる。
Also in the third embodiment described above, the same effect as in the second embodiment can be obtained.

本発明は、本実施例に限定されることなく、本発明の
要旨を逸脱しない範囲で種々の応用および変形が考えら
れる。
The present invention is not limited to the present embodiment, and various applications and modifications can be considered without departing from the gist of the present invention.

(発明の効果) 上述したように本発明によれば、投入された媒体の吸
入、退避を繰返して媒体に対する連続処理を行なう場合
に、媒体退避動作時に、MS付媒体その他の一定の厚さ以
上の媒体の斜行を容易に修正でき、もってMS付媒体に対
するMS書込み曲りや、一定厚さ以上の媒体(MS付媒体を
含む。)への印字曲りを防止することができる。また、
MS付媒体に対するMS書込み前の斜行修正は、従来に比
べ、きわめて容易で、かつきわめて短時間で済む。
(Effect of the Invention) As described above, according to the present invention, in the case where continuous processing is performed on a medium by repeating suction and retraction of a charged medium, during the medium retreat operation, the medium with MS and other predetermined thicknesses or more Skew of the medium can be easily corrected, thereby preventing MS writing bending on a medium with MS and printing bending on a medium having a certain thickness or more (including a medium with MS). Also,
Skew correction before MS writing to an MS-attached medium is extremely easy and can be performed in a very short time as compared with the related art.

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

第1図は本発明の第1の実施例を示すブロック図、第2
図は従来の通帳伝票プリンタの一例を示すブロック図、
第3図は第2図の通帳伝票プリンタにおける通帳搬送路
の簡略平面図、第4図は第2図の通帳伝票プリンタにお
ける媒体の動きを説明する説明図、第5図は本発明の第
2の実施例を示すブロック図、第6図は第5図の通帳伝
票プリンタにおける通帳搬送路の簡略平面図、第7図は
本発明の第3の実施例を示すブロック図、第8図はコマ
ンドの構成を示す図である。 1…マイクロプロセッサ、6…MSフラッグメモリ、7,9,
11…プログラムメモリ、8…厚さ検出フラッグメモリ、
10…媒体種別フラッグメモリ、12…コマンド、15…媒体
種別2(厚さ情報)、53…媒体幅寄せ機構、54…媒体ス
キュー検出用センサ、56…通帳、61…媒体搬送路、61a
…通帳搬送路、63…厚さ検出機構。
FIG. 1 is a block diagram showing a first embodiment of the present invention, and FIG.
The figure is a block diagram showing an example of a conventional passbook slip printer,
FIG. 3 is a simplified plan view of a passbook transport path in the passbook slip printer of FIG. 2, FIG. 4 is an explanatory view for explaining the movement of a medium in the passbook slip printer of FIG. 2, and FIG. FIG. 6 is a simplified plan view of a passbook transport path in the passbook slip printer shown in FIG. 5, FIG. 7 is a block diagram showing a third embodiment of the present invention, and FIG. FIG. 3 is a diagram showing the configuration of FIG. 1 ... microprocessor, 6 ... MS flag memory, 7,9,
11: Program memory, 8: Thickness detection flag memory,
10: medium type flag memory, 12: command, 15: medium type 2 (thickness information), 53: medium width moving mechanism, 54: medium skew detection sensor, 56: passbook, 61: medium transport path, 61a
... passbook transport path, 63 ... thickness detection mechanism.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】媒体搬送路上に吸入された媒体の斜行を検
出する斜行検出手段と、斜行した前記媒体を媒体基準面
に押付けて前記媒体の斜行を修正する斜行修正手段とを
有し、前記媒体を前記搬送路上を印字位置と退避位置へ
交互に搬送し、印字と退避を繰返して印字の連続処理を
行うプリンタにおいて、 前記媒体が磁気ストライプ付媒体である場合に、その磁
気ストライプを読取り実施済みであるか否かを記憶する
記憶手段と、 媒体吸入時に磁気ストライプの読取りを実施したとき、
磁気ストライプ読取り実施済みである旨、前記記憶手段
に記憶させるとともに、媒体退避動作時に前記斜行検出
手段が前記媒体の斜行を検出した際、前記記憶手段に磁
気ストライプ読取り実施済みである旨記憶されていると
きのみ、前記斜行修正手段を動作させて斜行した前記磁
気ストライプ付媒体を前記媒体基準面に押付けることに
より幅寄せして前記磁気ストライプ付媒体の斜行を修正
させ、印字の連続処理が終了してから前記記憶手段をク
リアする制御手段とを備えたことを特徴とするプリン
タ。
1. A skew detecting means for detecting skew of a medium sucked on a medium transport path, and a skew correcting means for correcting the skew of the medium by pressing the skewed medium against a medium reference surface. In the printer that transports the medium on the transport path alternately to a print position and a retreat position and repeats printing and retreat to perform continuous printing processing, when the medium is a medium with a magnetic stripe, Storage means for storing whether or not the magnetic stripe has been read, and when the magnetic stripe is read at the time of inhaling the medium,
The fact that the magnetic stripe reading has been executed is stored in the storage means, and that the magnetic stripe reading has been executed in the storage means when the skew detecting means detects the skew of the medium during the medium retreat operation. Only when skew is performed, the skew correction unit is operated to press the skewed magnetic stripe-equipped medium against the medium reference surface to correct the skew of the magnetic stripe-equipped medium and print. And a control means for clearing the storage means after the end of the continuous processing.
【請求項2】媒体搬送路上に吸入された媒体の斜行を検
出する斜行検出手段と、斜行した前記媒体を媒体基準面
に押付けて前記媒体の斜行を修正する斜行修正手段とを
有し、前記媒体を前記搬送路上を印字位置と退避位置へ
交互に搬送し、印字と退避を繰返して印字の連続処理を
行うプリンタにおいて、 前記媒体搬送路上の前記媒体の厚さを検出する厚さ検出
手段と、 この厚さ検出手段により検出された前記媒体の厚さ情報
を格納しておく記憶手段と、 前記斜行検出手段が媒体退避動作時に前記媒体の斜行を
検出した際、前記記憶手段に格納されている前記媒体の
厚さ情報により前記媒体の厚さが一定値以上であると
き、前記斜行修正手段を動作させて斜行した前記媒体を
前記媒体基準面に押付けることにより幅寄せして前記媒
体の斜行を修正させる制御手段とを備えたことを特徴と
するプリンタ。
2. A skew detecting means for detecting skew of a medium sucked on a medium transport path, and a skew correcting means for correcting the skew of the medium by pressing the skewed medium against a medium reference surface. A printer that transports the medium on the transport path alternately to a print position and a retract position and repeats printing and retracting to perform continuous printing processing, wherein the thickness of the medium on the medium transport path is detected. Thickness detecting means, storage means for storing thickness information of the medium detected by the thickness detecting means, and when the skew detecting means detects skew of the medium during a medium retreat operation, When the thickness of the medium is equal to or more than a predetermined value based on the thickness information of the medium stored in the storage unit, the skew correction unit is operated to press the skewed medium against the medium reference surface. And the medium is skewed. Printer, characterized in that a control means for Tadashisa.
【請求項3】媒体搬送路上に吸入された媒体の斜行を検
出する斜行検出手段と、斜行した前記媒体を媒体基準面
に押付けて前記媒体の斜行を修正する斜行修正手段とを
有し、前記媒体を前記搬送路上を印字位置と退避位置へ
交互に搬送し、印字と退避を繰返して印字の連続処理を
行うプリンタにおいて、 外部から指示された前記媒体の厚さ情報を格納しておく
記憶手段と、 前記斜行検出手段が媒体退避動作時に前記媒体の斜行を
検出した際、前記記憶手段に格納された前記媒体の厚さ
情報により前記媒体の厚さが一定値以上であるとき前記
斜行修正手段を動作させて斜行した前記媒体を前記媒体
基準面に押付けることにより幅寄せして前記媒体の斜行
を修正させる制御手段とを備えたことを特徴とするプリ
ンタ。
3. A skew detecting means for detecting a skew of a medium sucked on a medium transport path, and a skew correcting means for correcting the skew of the medium by pressing the skewed medium against a medium reference surface. A printer that transports the medium on the transport path alternately to a printing position and a retreat position, and repeats printing and retreating to perform continuous printing, and stores thickness information of the medium instructed from outside. When the skew detecting means detects the skew of the medium during the medium retreat operation, the thickness of the medium is equal to or more than a predetermined value based on the thickness information of the medium stored in the storing means. And control means for operating the skew correction means to press the skewed medium against the medium reference surface to adjust the width and correct the skew of the medium. Printer.
JP32332290A 1990-11-28 1990-11-28 Printer Expired - Fee Related JP2750219B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32332290A JP2750219B2 (en) 1990-11-28 1990-11-28 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32332290A JP2750219B2 (en) 1990-11-28 1990-11-28 Printer

Publications (2)

Publication Number Publication Date
JPH04193565A JPH04193565A (en) 1992-07-13
JP2750219B2 true JP2750219B2 (en) 1998-05-13

Family

ID=18153497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32332290A Expired - Fee Related JP2750219B2 (en) 1990-11-28 1990-11-28 Printer

Country Status (1)

Country Link
JP (1) JP2750219B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5120226B2 (en) * 2008-11-20 2013-01-16 沖電気工業株式会社 Media handling device

Also Published As

Publication number Publication date
JPH04193565A (en) 1992-07-13

Similar Documents

Publication Publication Date Title
JP6478489B2 (en) Recording apparatus, control method therefor, program, and storage medium
US7520584B2 (en) Recording apparatus, and feed control method of recording medium in the apparatus
JP2015229282A (en) Recording apparatus, control method therefor, program, and storage medium
JP6381301B2 (en) Recording apparatus, sheet conveying method, and program
JP2750219B2 (en) Printer
JPS62259944A (en) Paper skew compensating mechanism
JP2011184125A (en) Medium processing apparatus
JP2005096450A (en) Recording apparatus and control method for its recording medium conveyance
JPH01214555A (en) Medium carrying mechanism
JP3948445B2 (en) Printing apparatus and paper supply / discharge method
JP3167377B2 (en) Document reader
JP2856631B2 (en) Printing paper transport device
JP3843744B2 (en) Sheet transport device
JP2827821B2 (en) Medium take-in / transport device
JPH04115980A (en) Printing apparatus
JPH0756282Y2 (en) Booklet printer device
JP2020050471A (en) Booklet issuing printer
JP2596242Y2 (en) Booklet printer device
JPH044168A (en) Recording device
JPH0940230A (en) Afterprocessing device
JPS58173685A (en) Apparatus for conveying medium
JPS62167061A (en) Bankbook feed control system
JPH0445971A (en) Printer and method for correcting curl of printing paper
JPH05201602A (en) Bending habit correction device
JPH06144612A (en) Paper feeding of automatic paper feeding device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100220

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees