[go: up one dir, main page]

JP2001219608A - Booklet printing device - Google Patents

Booklet printing device

Info

Publication number
JP2001219608A
JP2001219608A JP2000029265A JP2000029265A JP2001219608A JP 2001219608 A JP2001219608 A JP 2001219608A JP 2000029265 A JP2000029265 A JP 2000029265A JP 2000029265 A JP2000029265 A JP 2000029265A JP 2001219608 A JP2001219608 A JP 2001219608A
Authority
JP
Japan
Prior art keywords
printing
booklet
page
unit
passbook
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000029265A
Other languages
Japanese (ja)
Inventor
Hideki Sano
秀樹 佐野
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2000029265A priority Critical patent/JP2001219608A/en
Publication of JP2001219608A publication Critical patent/JP2001219608A/en
Pending legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Handling Of Cut Paper (AREA)

Abstract

(57)【要約】 【課題】 各ページ毎のずれ量に対応して、正しい印字
位置に印字を行うことができる冊子印字装置を得る。 【解決手段】 画像読取手段1により冊子Nの各ページ
毎に付与されたページ情報を読み取り、このページ情報
に基づいて、印字部7による冊子Bに対する印字開始位
置が補正されるように搬送部6a〜6eを駆動制御する
ようにした。これによって、印字を開始する前に、ずれ
量を含んで印字済みの行数分だけ冊子Nを搬送して、各
ページ毎に正確な印字開始位置から印字を開始させるこ
とが可能になるので、各ページ毎のずれ量に対応して、
正しい印字位置に印字を行うことができる。
(57) [Problem] To provide a booklet printing apparatus capable of printing at a correct printing position in accordance with a shift amount of each page. SOLUTION: Image reading means 1 reads page information given to each page of a booklet N, and based on the page information, a transport section 6a so that a printing start position of a booklet B by a printing section 7 is corrected. To 6e. Thereby, before starting printing, the booklet N is transported by the number of printed lines including the deviation amount, and printing can be started from an accurate printing start position for each page. According to the deviation amount for each page,
Printing can be performed at the correct printing position.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、通帳等の冊子に対
して印字可能な冊子印字装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a booklet printing apparatus capable of printing on a booklet such as a passbook.

【0002】[0002]

【従来の技術】従来、ATM(Automatic Teller Machin
e)等に用いられ、案内経路中を搬送される通帳等の冊子
に所定事項を一行ずつ印字するようにした冊子印字装置
がある。このような冊子印字装置には、図5に例示する
ような、罫線Lやバーコード等の形態で示されたページ
マークB等がそれぞれ同一の位置に印字されている中紙
Pを表紙Cの内側に複数枚積層して、これらを中央で閉
じることにより形成された複数のページを有する冊子構
造をしている通帳Nが適用される。
2. Description of the Related Art Conventionally, ATM (Automatic Teller Machin
e) and the like, there is a booklet printing apparatus that prints predetermined items line by line on a booklet such as a passbook conveyed on a guide route. In such a booklet printing apparatus, as shown in FIG. 5, a middle sheet P on which a page mark B or the like shown in the form of a ruled line L or a bar code is printed at the same position is used. A passbook N having a booklet structure having a plurality of pages formed by laminating a plurality of sheets inside and closing them at the center is applied.

【0003】従来の冊子印字装置の装置内には、通帳N
を所定経路に案内する案内経路が形成されている。この
案内経路には、正逆回転自在なステッピングモータによ
り駆動される複数対の搬送ローラと、通帳Nに対して所
定事項を印字する印字部とが設けられている。搬送ロー
ラは、通帳Nを狭持して搬送するように圧接されてい
る。通帳Nの搬送時には、対をなす搬送ローラの間に通
帳Nの搬送方向側の端部Eを突入させるようにして搬送
する。便宜上、案内経路の通帳Nが始めに挿入される側
を上流側とすると、案内経路の印字部より上流側には、
各ページ毎の印字状況等を読み取るCCD(Charge Coup
led Device)が設けられている。印字部、CCDの近傍
には、それぞれ通帳Nの有無を光学的に検出するための
読取開始センサ、印字センサが設けられている。
A conventional booklet printing apparatus includes a passbook N
Is formed to guide the vehicle to a predetermined route. The guide path is provided with a plurality of pairs of transport rollers driven by a stepping motor that can rotate forward and backward, and a printing unit that prints predetermined items on the passbook N. The transport roller is pressed against the bankbook N so as to transport it. When the passbook N is conveyed, the passbook N is conveyed so that the end E on the conveying direction side of the passbook N protrudes between the pair of conveying rollers. For convenience, if the side where the passbook N of the guide route is first inserted is defined as the upstream side, the upstream side of the printing section of the guide route is
CCD (Charge Coup) that reads the printing status etc. of each page
led Device) is provided. A reading start sensor and a printing sensor for optically detecting the presence or absence of the passbook N are provided near the printing unit and the CCD, respectively.

【0004】このような冊子印字装置では、読取開始セ
ンサにより通帳Nが挿入されたことを検出すると、ステ
ッピングモータを駆動することにより搬送ローラを回転
駆動させ、通帳Nを所定方向へ搬送する。予め設定され
た駆動パルス数x1分ステッピングモータを駆動する
と、所定の間隔おきにCCDによる各ページの印字状況
等の読み取りを開始し、印字済みの行の有無を検出する
とともに印字済みの行が何行あるかをカウントする。こ
のカウント値に基づいて印字開始時に印字済みの行数に
応じた分だけ通帳Nを搬送するようにステッピングモー
タを駆動する駆動パルス数x2を設定する。印字センサ
により通帳Nを検出すると、設定した駆動パルス数x2
分ステッピングモータを駆動し、印字を行う前に通帳N
を所定距離搬送する。これにより、前回印字された最後
の行の次段から印字を開始させることができる。
In such a booklet printing apparatus, when the reading start sensor detects that the passbook N has been inserted, the stepping motor is driven to rotate the transport roller, thereby transporting the passbook N in a predetermined direction. When the stepping motor is driven for a predetermined number of drive pulses x 1, the reading of the printing status of each page by the CCD is started at predetermined intervals, the presence or absence of a printed line is detected, and the number of printed lines is determined. Count if there are rows. Based on the count value, the number of driving pulses x2 for driving the stepping motor is set so that the passbook N is conveyed by an amount corresponding to the number of printed lines at the start of printing. When the pass sensor N is detected by the print sensor, the set driving pulse number x 2
Drive the minute stepping motor and pass the bankbook N before printing.
Is transported for a predetermined distance. Thus, printing can be started from the next stage of the last line printed last time.

【0005】[0005]

【発明が解決しようとする課題】ところが、通帳Nのよ
うに複数枚の中紙Pを積層した厚みのある冊子では、図
5に例示するように、印字するために通帳Nを開いた状
態において、通帳Nの表紙Cの端部Eと実際に印字がな
される中紙Pの端部E'との間に通帳Nの搬送方向にお
いてずれが生じる。また、通帳Nを搬送する際には、対
をなす搬送ローラの間に通帳Nの端部Eを突入させるよ
うにして搬送するため、搬送ローラ間の圧接力によって
上位の中紙Pが押し戻され、通帳Nの表紙Cの端部Eと
実際に印字がなされる中紙Pの端部E'との間にずれが
生じる。このずれは、通帳Nの中紙Pの枚数が多い(通
帳が厚い)ほど顕著に現れる。
However, in a thick booklet in which a plurality of sheets of middle paper P are stacked like a passbook N, as shown in FIG. 5, the passbook N is opened for printing as shown in FIG. A shift occurs in the transport direction of the passbook N between the end E of the cover C of the passbook N and the end E 'of the inner sheet P on which printing is actually performed. When the passbook N is conveyed, the passbook N is conveyed in such a manner that the end E of the passbook N protrudes between the pair of conveying rollers. Then, a shift occurs between the end E of the cover C of the passbook N and the end E 'of the inner sheet P on which printing is actually performed. This shift becomes more conspicuous as the number of the inner sheets P of the passbook N is larger (the passbook is thicker).

【0006】これに対し、上述の冊子印字装置では、通
帳Nを開いた状態における表紙Cの端部Eに対する中紙
Pの端部E'のずれや、搬送の際に搬送ローラ間の圧接
力により上位の中紙Pが押し戻されることによって生じ
る表紙Cの端部Eに対する中紙Pの端部E'のずれは考
慮されておらず、どのページに対しても表紙Cの端部E
を基準とした一様な補正を行っているため、各ページ毎
に、罫線Lに対する印字位置のずれが生じるという問題
がある。
On the other hand, in the booklet printing apparatus described above, the deviation of the end E 'of the inner sheet P from the end E of the cover C with the passbook N opened, and the pressing force between the conveyance rollers during conveyance. Does not take into account the displacement of the end E 'of the middle sheet P from the end E of the cover C caused by pushing back the upper middle sheet P, and the end E of the cover C is not considered for any page.
, There is a problem that the printing position is shifted from the ruled line L for each page.

【0007】本発明は、各ページ毎のずれに対応して、
正しい印字位置に印字を行うことができる冊子印字装置
を得ることを目的とする。
According to the present invention, in response to a shift for each page,
It is an object of the present invention to obtain a booklet printing device capable of performing printing at a correct printing position.

【0008】さらに本発明は、搬送の際に生じるずれに
対応して、正しい印字位置に印字を行うことができる冊
子印字装置を得ることを目的とする。
Another object of the present invention is to provide a booklet printing apparatus capable of printing at a correct printing position in response to a shift occurring during conveyance.

【0009】[0009]

【課題を解決するための手段】請求項1記載の発明の冊
子印字装置は、冊子を所定経路に案内する案内経路と、
前記案内経路中の所定の方向へ前記冊子を搬送する搬送
部と、前記案内経路中の所定の位置に設けられ、前記冊
子に対して所定の情報を印字する印字部と、前記案内経
路中に設けられ、前記冊子のページ毎に付与されたペー
ジ情報を読み取る画像読取手段と、前記画像読取手段に
より読み取られた前記ページ情報に基づいて前記印字部
による前記冊子に対する印字開始位置を補正するように
前記搬送部を駆動制御する搬送制御手段と、を備える。
According to a first aspect of the present invention, there is provided a booklet printing apparatus comprising: a guide path for guiding a booklet to a predetermined path;
A transport unit that transports the booklet in a predetermined direction in the guide path, a printing unit that is provided at a predetermined position in the guide path and prints predetermined information on the booklet, Image reading means for reading page information provided for each page of the booklet, and correcting a print start position of the booklet by the printing unit based on the page information read by the image reading means. Transport control means for driving and controlling the transport unit.

【0010】したがって、画像読取手段により読み取ら
れたページ情報に基づいて、搬送制御手段により印字部
による冊子に対する印字開始位置が補正されるように搬
送部が駆動制御される。これによって、印字を開始する
前にずれ量を含んだ所定距離分だけ冊子を搬送して、各
ページ毎に正確な印字開始位置から印字を開始させるこ
とが可能になる。
Therefore, based on the page information read by the image reading means, the conveyance control means drives and controls the conveyance section so that the printing start position for the booklet by the printing section is corrected. This makes it possible to convey the booklet by a predetermined distance including the shift amount before starting printing, and to start printing from an accurate printing start position for each page.

【0011】請求項2記載の発明は、請求項1記載の冊
子印字装置において、各ページ情報毎に前記ページ情報
に対応する補正情報が記憶される補正情報記憶テーブル
を格納する記憶手段と、前記記憶手段に格納された前記
補正情報記憶テーブルを参照して前記画像読取手段によ
り読み取った前記ページ情報に対応する前記補正情報を
得る補正情報取得手段と、を備え、前記搬送制御手段
は、前記補正情報取得手段により取得された前記補正情
報に基づいて前記搬送部を駆動制御する。
According to a second aspect of the present invention, in the booklet printing apparatus according to the first aspect, storage means for storing a correction information storage table for storing correction information corresponding to the page information for each page information; Correction information obtaining means for obtaining the correction information corresponding to the page information read by the image reading means with reference to the correction information storage table stored in the storage means, wherein the transport control means The driving of the transport unit is controlled based on the correction information obtained by the information obtaining unit.

【0012】ここで、「補正情報」とは、例えば、予め
測定等により取得されて通帳の表紙の端部と実際に印字
がなされる中紙の端部との間に生じる冊子の搬送方向に
おけるずれ量に基づいて、各ページ毎に設定される値で
ある。
Here, the "correction information" refers to, for example, the direction in which the booklet is to be transported, which is obtained in advance by measurement or the like and is generated between the end of the cover of the passbook and the end of the inner sheet where printing is actually performed. This is a value set for each page based on the shift amount.

【0013】したがって、補正情報取得手段によりペー
ジ情報に対応する補正情報が記憶手段に格納される補正
情報記憶テーブルから取得され、取得された補正情報に
基づいて搬送制御手段により搬送部が駆動制御される。
これによって、予めページ毎に設定された補正情報に基
づいて、印字を開始する前にずれ量を含んだ所定距離分
だけ冊子を搬送して、各ページ毎に正確な印字開始位置
から印字を開始させることが可能になる。
Therefore, the correction information corresponding to the page information is obtained from the correction information storage table stored in the storage means by the correction information obtaining means, and the conveyance control means is driven and controlled by the conveyance control means based on the obtained correction information. You.
Thus, based on the correction information set for each page in advance, before starting printing, the booklet is conveyed by a predetermined distance including a shift amount, and printing is started from an accurate printing start position for each page. It becomes possible to do.

【0014】請求項3記載の発明は、請求項1記載の冊
子印字装置において、前記画像読取手段により読み取ら
れた前記ページ情報の読取位置情報に基づいて所定の演
算処理を実行することにより補正情報を取得する演算処
理手段を備え、前記搬送制御手段は、前記演算処理手段
により取得された前記補正情報に基づいて前記搬送部を
駆動制御する。
According to a third aspect of the present invention, in the booklet printing apparatus according to the first aspect, the correction information is obtained by executing predetermined arithmetic processing based on the reading position information of the page information read by the image reading means. The transport control means drives and controls the transport unit based on the correction information acquired by the arithmetic processing means.

【0015】ここで、「補正情報」とは、例えば、通帳
等の冊子の表紙の端部と実際に印字がなされる中紙の端
部との間に生じる冊子の搬送方向におけるずれ量に基づ
く値である。
Here, the "correction information" is based on, for example, a shift amount in the transport direction of the booklet generated between the edge of the cover of the booklet such as a passbook and the edge of the inner sheet on which printing is actually performed. Value.

【0016】したがって、演算処理手段により画像読取
手段により読み取られたページ情報の読取位置情報に基
づいて所定の演算処理が実行されることにより補正情報
が取得され、取得された補正情報に基づいて搬送部が駆
動制御される。これによって、印字の都度取得される補
正情報に基づいて、印字を開始する前にずれ量を含んだ
所定距離分だけ冊子を搬送して、各ページ毎に正確な印
字開始位置から印字を開始させることが可能になる。
Accordingly, the correction information is obtained by executing predetermined calculation processing based on the read position information of the page information read by the image reading means by the calculation processing means, and is conveyed based on the obtained correction information. The unit is drive-controlled. Thus, based on the correction information acquired each time printing is performed, the booklet is conveyed by a predetermined distance including a shift amount before printing is started, and printing is started from an accurate printing start position for each page. It becomes possible.

【0017】[0017]

【発明の実施の形態】本発明の第1の実施の形態を図1
ないし図3に基づいて説明する。本実施の形態は、冊子
印字装置として、金融機関のATM(Automatic Teller
Machine)等の通帳プリンタへの適用例である。本実施の
形態の通帳プリンタには、図5に示す通帳Nと同様のも
のが使用され、図5に示す通帳Nと同一部分は同一符号
で示し説明も省略する。
FIG. 1 shows a first embodiment of the present invention.
A description will be given based on FIG. In this embodiment, an ATM (Automatic Teller) of a financial institution is used as a booklet printing device.
This is an example of application to a passbook printer such as Machine. The same passbook N as shown in FIG. 5 is used for the passbook printer according to the present embodiment, and the same parts as those in passbook N shown in FIG.

【0018】図1は、通帳プリンタの概略を示す側面図
である。通帳プリンタ1のケーシング2には、冊子であ
る通帳Nを出し入れする挿入口3に一端が連通された案
内経路4が形成されている。この案内経路4には、正逆
回転自在なステッピングモータ5(図2参照)により回転
駆動される複数対の搬送部としての搬送ローラ6a、6
b、6c、6d、6eと、印字部7とが設けられてい
る。搬送ローラ6a、6b、6c、6d、6eは、それ
ぞれ2つで一対とされ、通帳Nを狭持して搬送するよう
に圧接されている。印字部7は、プラテン8、案内経路
4と直交する方向に往復駆動されるキャリッジ9に搭載
されたドットプリントヘッド10およびインクリボンカ
ートリッジ11等により形成されている。印字部7で
は、ドットプリントヘッド10の複数のワイヤ(図示せ
ず)の先端をインクリボンカートリッジ11のインクリ
ボンを介して選択的に通帳Nの中紙Pに向けて突出させ
ることにより、通帳Nに対して印字を行う。特に図示し
ないが、ワイヤのプラテン8と反対側の端部は、一端部
側がコイルに対向配置されたアーマチュアの他端にそれ
ぞれ固定されており、印字を行う際には、これらのコイ
ルに選択的に通電することによりワイヤの先端を突出さ
せる。
FIG. 1 is a side view schematically showing a passbook printer. In the casing 2 of the passbook printer 1, a guide path 4 is formed, one end of which is communicated with an insertion slot 3 for inserting and removing a passbook N as a booklet. The guide path 4 includes a plurality of pairs of transport rollers 6a, 6 which are rotationally driven by a stepping motor 5 (see FIG. 2) which can rotate forward and reverse.
b, 6c, 6d, and 6e, and a printing unit 7 are provided. Each of the transport rollers 6a, 6b, 6c, 6d, and 6e is a pair of two, and is pressed against the bankbook N so as to convey it. The printing unit 7 includes a platen 8, a dot print head 10 mounted on a carriage 9 reciprocally driven in a direction perpendicular to the guide path 4, an ink ribbon cartridge 11, and the like. In the printing unit 7, the tips of a plurality of wires (not shown) of the dot print head 10 are selectively protruded toward the inner sheet P of the passbook N via the ink ribbon of the ink ribbon cartridge 11, so that the passbook N Printing is performed for. Although not particularly shown, the ends of the wires opposite to the platen 8 are fixed to the other ends of the armatures, one ends of which are opposed to the coils. , The tip of the wire is projected.

【0019】案内経路4の印字部7より挿入口3側に
は、通帳の各ページ毎に付与されたページ情報としての
ページマークBや印字済みの行の有無を読み取る画像読
取手段としてのCCD12(Charge Coupled Device)が
設けられている。ページマークBは、例えば、印刷等に
より、ページ毎にパターンの異なるバーコード等の形態
で、各ページ毎に所定の位置に付与されている。このペ
ージマークBにより、印字の際に開かれているページが
特定される。
On the insertion path 3 side of the guide section 4 from the printing section 7, a page mark B as page information added to each page of the passbook and a CCD 12 (image reading means) for reading the presence or absence of a printed line are provided. Charge Coupled Device) is provided. The page mark B is provided at a predetermined position for each page, for example, in the form of a barcode having a different pattern for each page by printing or the like. The page mark B specifies a page that is open at the time of printing.

【0020】案内経路4のCCD12の挿入口3側の近
傍、および、案内経路4の印字部7の挿入口3側の近傍
には、通帳Nの有無を光学的に検出する読取開始センサ
13および印字センサ14が設けられている。読取開始
センサ13および印字センサ14は、光を発光する発光
素子13a、14aと発光素子13a、14aで発光し
た光を受光する受光素子13b、14bとから形成され
ている。読取開始センサ13および印字センサ14は、
発光素子13a、14aと受光素子13b、14bとの
間にそれぞれ形成される光軸(図示せず)を通帳Nが横切
ることによる受光素子13b、14bでの受光量の変化
に基づいて通帳Nの有無を検出する。
A reading start sensor 13 for optically detecting the presence or absence of a passbook N is provided in the vicinity of the insertion path 3 of the CCD 12 in the guide path 4 and in the vicinity of the insertion port 3 of the printing unit 7 in the guide path 4. A print sensor 14 is provided. The reading start sensor 13 and the print sensor 14 are formed by light emitting elements 13a and 14a that emit light and light receiving elements 13b and 14b that receive light emitted by the light emitting elements 13a and 14a. The reading start sensor 13 and the print sensor 14
Based on a change in the amount of light received by the light receiving elements 13b, 14b due to the passage of the optical axis (not shown) formed between the light emitting elements 13a, 14a and the light receiving elements 13b, 14b, respectively, the passbook N Detect presence / absence.

【0021】案内経路4の印字部7より挿入口3側に
は、搬送ローラ6a、6b、6c、6d、6eにより案
内経路4中を搬送される通帳Nの表紙部分に形成された
磁気ストライプ(図示せず)を読み書きする磁気読書ユニ
ット15が設けられている。
A magnetic stripe formed on a cover portion of the passbook N conveyed in the guide path 4 by the conveying rollers 6a, 6b, 6c, 6d, and 6e from the printing section 7 of the guide path 4 to the insertion port 3 side. A magnetic reading unit 15 for reading and writing (not shown) is provided.

【0022】搬送ローラ6eより挿入口3と反対側に
は、案内経路4から上方に分岐する冊子回収路16と、
この冊子回収路16に連通する上面開口の冊子回収庫1
7とが設けられている。冊子回収路16には回収ローラ
18と2つで一対をなす回収ローラ19a、19bとが
設けられている。案内経路4と冊子回収路16との分岐
点近傍には、支点軸20を回動中心として回動自在な切
替部材21が設けられている。この切替部材21は、切
替駆動部材(図示せず)により支点軸20を回動中心とし
て回動されることにより冊子回収路16を選択的に開閉
する。冊子回収庫17内の通帳Nは、上部開口部17a
から回収される。
On the opposite side of the insertion roller 3 from the transport roller 6e, a booklet collection path 16 branching upward from the guide path 4;
The booklet collection storage 1 having an upper surface opening communicating with the booklet collection path 16.
7 are provided. The booklet collection path 16 is provided with a collection roller 18 and two collection rollers 19a and 19b. In the vicinity of a branch point between the guide path 4 and the booklet collection path 16, a switching member 21 that is rotatable around a fulcrum shaft 20 is provided. The switching member 21 selectively opens and closes the booklet collection path 16 by being rotated about a fulcrum shaft 20 by a switching drive member (not shown). The passbook N in the booklet collection box 17 has an upper opening 17a.
Recovered from.

【0023】また、ケーシング2の外側の挿入口3近傍
には、押し下げられることにより、通帳Nへの印字処理
の実行を宣言するスタートキー(図示せず)等の各種のキ
ーを有するキーパネル22が設けられている(図2参
照)。
A key panel 22 having various keys such as a start key (not shown) for declaring execution of a printing process on the passbook N is depressed in the vicinity of the insertion slot 3 outside the casing 2 when depressed. (See FIG. 2).

【0024】図2は、通帳プリンタ1が内蔵する各部の
電気的接続を示すブロック図である。通帳プリンタ1は
制御部23を内蔵しており、この制御部23が各部を駆
動制御する。制御部23は、各部を集中的に駆動制御す
るCPU24に、補正情報記憶テーブルとしての補正デ
ータ記憶テーブル(図示せず)や各種制御プログラム等の
固定的なデータを予め格納する記憶手段としてのROM
25と、可変的なデータを書き換え自在に格納するRA
M26とをバスライン27により接続することにより形
成されている。ROM25に格納されている補正データ
記憶テーブルには、各ページマークBにより特定される
ページ毎に対応づけられた補正情報としての補正データ
Yが記憶されている。ここで、補正データYとは、各ペ
ージ毎に設定され、予め測定等により取得された通帳N
の表紙Cの端部Eと実際に印字がなされる中紙Pの端部
E'との間に生じる通帳Nの搬送方向におけるずれ量(以
下、単にずれ量とする)Y'に基づいて、印字開始時にこ
のずれ量Y'が相殺されるような位置まで通帳Nを搬送
するためにステッピングモータ5を駆動する駆動パルス
数である。RAM26には、後述する印字処理において
CCD12による読取回数m(回)を一時記憶するカウン
トエリアが確保されている。
FIG. 2 is a block diagram showing the electrical connection of each unit built in the passbook printer 1. The passbook printer 1 has a built-in control unit 23, which controls the driving of each unit. The control unit 23 has a CPU 24 that centrally drives and controls each unit, and a ROM as a storage unit that previously stores fixed data such as a correction data storage table (not shown) as a correction information storage table and various control programs.
25 and RA for storing variable data in a rewritable manner
It is formed by connecting M26 with a bus line 27. The correction data storage table stored in the ROM 25 stores correction data Y as correction information associated with each page specified by each page mark B. Here, the correction data Y is a passbook N set for each page and acquired in advance by measurement or the like.
Of the passbook N in the transport direction (hereinafter, simply referred to as a shift amount) Y ′ generated between the end portion E of the cover C and the end portion E ′ of the middle sheet P on which printing is actually performed. This is the number of drive pulses for driving the stepping motor 5 to convey the passbook N to a position where the shift amount Y 'is offset at the start of printing. The RAM 26 is provided with a count area for temporarily storing the number of readings m (times) by the CCD 12 in a printing process described later.

【0025】ステッピングモータ5は、バスライン27
に接続されているモータ駆動回路5aに接続されてお
り、モータ駆動回路5aにより駆動制御される。
The stepping motor 5 has a bus line 27
Are connected to a motor drive circuit 5a, and are driven and controlled by the motor drive circuit 5a.

【0026】CCD12は、バスライン27に接続され
ているCCD制御回路12aに接続されている。CCD
12により読み取った画像データは、CCD制御回路1
2aを介して制御部23に出力される。
The CCD 12 is connected to a CCD control circuit 12a connected to a bus line 27. CCD
The image data read by 12 is transmitted to the CCD control circuit 1
Output to the control unit 23 via 2a.

【0027】ドットプリントヘッド10は、バスライン
27に接続されているヘッド制御回路10aに接続され
ており、制御部23からの印字データがヘッド制御回路
10aに入力されると、ヘッド制御回路10aに駆動制
御されて印字データに基づいて所定のコイルに通電す
る。
The dot print head 10 is connected to a head control circuit 10a connected to a bus line 27. When print data from the control unit 23 is input to the head control circuit 10a, the dot print head 10 is sent to the head control circuit 10a. The drive is controlled to energize a predetermined coil based on the print data.

【0028】読取開始センサ13および印字センサ14
は、それぞれがバスライン27に接続されているセンサ
制御回路13c、14cに接続されている。読取開始セ
ンサ13および印字センサ14では、それぞれの受光素
子13b、14bでの受光量の変化をそれぞれのセンサ
制御回路13c、14cを介して制御部23に出力す
る。
Read start sensor 13 and print sensor 14
Are connected to the sensor control circuits 13c and 14c each connected to the bus line 27. The reading start sensor 13 and the print sensor 14 output changes in the amount of light received by the respective light receiving elements 13b and 14b to the control unit 23 via the respective sensor control circuits 13c and 14c.

【0029】磁気読取ユニット15は、バスライン27
に接続されている磁気読取ユニット駆動回路15aに接
続されており、磁気読取ユニット15により読み取った
通帳Nの磁気ストライプに記憶された情報は、磁気読取
ユニット駆動回路15aを介して制御部23に出力され
る。また、磁気読取ユニット15は、制御部23からの
書き込みデータが磁気読取ユニット駆動回路15aに入
力されると、磁気読取ユニット駆動回路15aに駆動制
御されて磁気ストライプに所定の情報を書き込む。
The magnetic reading unit 15 has a bus line 27
The information stored in the magnetic stripe of the passbook N read by the magnetic reading unit 15 is output to the control unit 23 via the magnetic reading unit driving circuit 15a. Is done. When write data from the control unit 23 is input to the magnetic read unit drive circuit 15a, the magnetic read unit 15 is driven and controlled by the magnetic read unit drive circuit 15a to write predetermined information on the magnetic stripe.

【0030】キーパネル22は、バスライン27に接続
されている入力制御回路22aに接続されており、操作
者により押し下げられた各種のキーに対応する信号を制
御部23に対して出力する。例えば、操作者によりスタ
ートキーが押し下げられた場合には、通帳Nへの印字処
理の実行を宣言する信号を制御部23に対して出力す
る。
The key panel 22 is connected to an input control circuit 22a connected to the bus line 27, and outputs signals corresponding to various keys depressed by the operator to the control unit 23. For example, when the start key is depressed by the operator, a signal declaring execution of the printing process on the passbook N is output to the control unit 23.

【0031】また、制御部23には、各種時間を計測す
るタイマ28がバスライン27を介して接続されてい
る。さらに、制御部23には、ホストコンピュータ(図
示せず)等の外部機器との間で情報の授受を行う通信I
/F(Interface)29が、バスライン27を介して接続
されている。
A timer 28 for measuring various times is connected to the control unit 23 via a bus line 27. Further, the control unit 23 has a communication I / O for exchanging information with an external device such as a host computer (not shown).
/ F (Interface) 29 is connected via the bus line 27.

【0032】次に、図3に基づいて、ROM25に格納
された制御プログラムに基づいてCPU24が実行する
通帳Nへの印字処理について説明する。通帳プリンタ1
では、まず、スタートキーの押し下げによる印字処理の
実行が宣言されたと判断するまで待機する(S1)。
Next, a printing process for the passbook N executed by the CPU 24 based on the control program stored in the ROM 25 will be described with reference to FIG. Passbook printer 1
First, the process waits until it is determined that the execution of the printing process by depressing the start key is declared (S1).

【0033】ステップS1で、スタートキーの押し下げ
による印字処理の実行の宣言があったと判断した場合に
は(S1のY)、搬送ローラ6a、6b、6c、6d、6
eを図1中時計回り方向へ回転させる方向へステッピン
グモータ5を回転駆動させ、タイマ28によりステッピ
ングモータ5の回転駆動を開始してからの駆動時間t1
の計測を開始する(S2)。これにより、搬送ローラ6
a、6b、6c、6d、6eが図1中時計回り方向へ回
転し、通帳が挿入口3側から印字部7側へ向けて搬送さ
れる。
If it is determined in step S1 that the printing process is to be executed by depressing the start key (Y in S1), the transport rollers 6a, 6b, 6c, 6d, 6
e is rotated clockwise in FIG. 1 to drive the stepping motor 5, and the timer 28 drives the stepping motor 5 to start rotating.
Measurement is started (S2). Thereby, the transport roller 6
a, 6b, 6c, 6d, and 6e rotate clockwise in FIG. 1, and the passbook is conveyed from the insertion slot 3 side to the printing unit 7 side.

【0034】そして、タイマ28により計測される駆動
時間t1が、ステッピングモータ5の駆動を開始してか
ら駆動時間T1以上になったと判断すると(S3のY)、
ステッピングモータ5の駆動を開始してから駆動時間t
1が駆動時間T1以上になったと判断するまでに読取開
始センサ13がオフになったか否かを判断することによ
り、通帳Nの先端を検出したか否かを判断する(S4)。
ここで、駆動時間T1とは、スタートキーが押し下げら
れてから、ステッピングモータ5を回転駆動させること
で搬送ローラ6a、6b、6c、6d、6eにより案内
経路4中を搬送される通帳Nの端部Eが、読取開始セン
サ13の光軸を横切ることにより読取開始センサ13が
オフになるまでに要すると推測される時間に基づいて予
め設定された時間である。
When it is determined that the driving time t1 measured by the timer 28 has become equal to or longer than the driving time T1 after the driving of the stepping motor 5 is started (Y in S3),
Driving time t after starting driving of the stepping motor 5
It is determined whether the leading end of the passbook N has been detected by determining whether or not the reading start sensor 13 has been turned off until it is determined that 1 has exceeded the driving time T1 (S4).
Here, the drive time T1 is defined as the end of the passbook N that is transported in the guide path 4 by the transport rollers 6a, 6b, 6c, 6d, and 6e by rotating the stepping motor 5 after the start key is pressed down. This is a time set in advance based on a time estimated to be required until the reading start sensor 13 is turned off when the section E crosses the optical axis of the reading start sensor 13.

【0035】ステップS4で、ステッピングモータ5の
駆動を開始してから駆動時間t1が駆動時間T1を超過
するまでに読取開始センサ13がオフになったと判断す
ると(S4のY)、タイマ28により読取開始センサ13
がオフになったと判断してからのステッピングモータ5
の駆動時間t2の計測を開始し(S5)、読取開始センサ
13がオフになってから駆動パルス数X1分モータを駆
動したか否かを判断するまで待機する(S6)。ここで、
駆動パルス数X1とは、通帳の各中紙Pの端部からペー
ジマークBや罫線L等が付与されている部分までの余白
分に相当する距離分だけ通帳を搬送するためにステッピ
ングモータ5を駆動するパルス数である。
In step S4, when it is determined that the reading start sensor 13 is turned off before the driving time t1 exceeds the driving time T1 after the driving of the stepping motor 5 is started (Y in S4), the reading is performed by the timer 28. Start sensor 13
Stepping motor 5 after it is determined that
The measurement of the driving time t2 is started (S5), and the process waits until it is determined whether or not the motor is driven by the driving pulse number X1 after the reading start sensor 13 is turned off (S6). here,
The number of drive pulses X1 means that the stepping motor 5 is used to convey the passbook by a distance corresponding to the margin from the end of each inner sheet P of the passbook to the portion where the page mark B, the ruled line L and the like are provided. The number of driving pulses.

【0036】一方、ステッピングモータ5の駆動を開始
してから駆動時間t1が駆動時間T1を超過するまでに
読取開始センサ13がオフになっていないと判断すると
(S4のN)、所定のエラー処理を実行する。
On the other hand, if it is determined that the reading start sensor 13 has not been turned off until the drive time t1 exceeds the drive time T1 after the drive of the stepping motor 5 is started.
(N of S4), predetermined error processing is executed.

【0037】ステップS6で、読取開始センサ13がオ
フになってからX1パルス分ステッピングモータ5を駆
動したと判断した場合には(S6のY)、CCD12によ
るページの読み取りをT(ms)間隔おきに行い、このと
きのCCD12による読取回数m(回)をカウントエリア
に随時記憶(インクリメント)する(S7)。ここで、T
(ms)間隔とは、通帳Nの搬送速度等に応じて予め設定
される時間である。
If it is determined in step S6 that the stepping motor 5 has been driven for X1 pulses since the reading start sensor 13 was turned off (Y in S6), the reading of the page by the CCD 12 is performed at intervals of T (ms). The number m (times) of readings by the CCD 12 at this time is stored (incremented) in the count area as needed (S7). Where T
The (ms) interval is a time set in advance according to the transport speed of the passbook N or the like.

【0038】ステップS8では、CCD12によりペー
ジマークBを読み取ったと判断するまで待機し(S8の
N)、CCD12によりページマークBを読み取ったと
判断した場合には(S8のY)、補正データ記憶テーブル
を参照して、読み取ったページマークBに対応する補正
情報としての補正データYを取得する(S9)。ここに、
補正情報取得手段としての機能が実行される。
In step S8, the process waits until it is determined that the CCD 12 has read the page mark B (N in S8). If it is determined that the CCD 12 has read the page mark B (Y in S8), the correction data storage table is read. With reference to this, the correction data Y as correction information corresponding to the read page mark B is obtained (S9). here,
A function as a correction information acquisition unit is executed.

【0039】その後、CCD12による印字行のT(m
s)間隔おきの読み取りを継続して行い、このときのC
CD12による読取回数m(回)をカウントエリアに随時
記憶(インクリメント)する。
Thereafter, T (m
s) Reading is continuously performed at intervals, and C
The number of readings m (times) by the CD 12 is stored (incremented) in the count area as needed.

【0040】また、ステップS10では、CCD12に
より読み取った画像からの反射光量の変化により、読み
取った行が未印字の行であると判断するまで待機し(S
10のN)、読み取った行が未印字の行であると判断し
た場合には(S10のY)、カウントエリアに記憶されて
いる読取回数m(回)に基づく読取回数情報を取得する
(S11)。ここで、読取回数情報とは、読み取った行が
未印字の行であると判断するまでに、CCD12による
読み取りを行った読取回数m(回)に基づいて、既に印字
済みの行数分に相当する距離だけ通帳Nを搬送するため
にステッピングモータ5を駆動する際に必要とする駆動
パルス数である。
In step S10, the process stands by until it is determined that the read line is an unprinted line due to a change in the amount of reflected light from the image read by the CCD 12 (S10).
If it is determined that the read line is an unprinted line (Y in S10), read number information based on the read number m (times) stored in the count area is obtained.
(S11). Here, the read number information corresponds to the number of lines already printed based on the number m (times) of reading by the CCD 12 until the read line is determined to be an unprinted line. This is the number of drive pulses required to drive the stepping motor 5 in order to carry the passbook N by a distance.

【0041】そして、ステップS9で取得された補正デ
ータYと、ステップS11で取得された読取回数情報と
に基づいて、後述する印字処理における印字開始位置を
決定する駆動パルス数X2を得る(S12)。ここで、駆
動パルス数X2とは、印字センサ14からプラテン8上
にある印字位置までの相当距離に加えて、ずれ量Y'を
含んで印字済みの行数分だけ通帳を搬送するためにステ
ッピングモータ5を駆動する際に必要とする駆動パルス
数である。
Then, based on the correction data Y obtained in step S9 and the information on the number of readings obtained in step S11, the number of drive pulses X2 for determining the printing start position in the printing process described later is obtained (S12). . Here, the number of drive pulses X2 is a stepping distance for conveying the passbook by the number of printed lines including the displacement Y 'in addition to the considerable distance from the print sensor 14 to the print position on the platen 8. This is the number of drive pulses required when driving the motor 5.

【0042】また、駆動時間t2が駆動時間T2以上に
なったと判断した場合には(S13のY)、駆動時間t2
が駆動時間T2を超過するまでに印字センサ14がオフ
になったか否かを判断することにより、通帳Nが印字部
7まで搬送されたか否かを判断する(S14)。ここで、
駆動時間T2とは、所定のパルス数間隔でステッピング
モータ5を駆動した場合に、案内経路4中を搬送される
通帳Nが読取開始センサ13の光軸を横切ることにより
読取開始センサ13がオフになったと判断してから、印
字センサ14の光軸を横切ることにより印字センサ14
がオフになるまでに要すると推測される時間である。
If it is determined that the drive time t2 is longer than the drive time T2 (Y in S13), the drive time t2
It is determined whether or not the pass sensor N has been conveyed to the printing unit 7 by determining whether or not the print sensor 14 has been turned off before the drive time T2 has exceeded (S14). here,
When the stepping motor 5 is driven at intervals of a predetermined number of pulses, the driving time T2 is such that the passbook N conveyed in the guide path 4 crosses the optical axis of the reading start sensor 13 so that the reading start sensor 13 is turned off. After determining that the print sensor 14 has become
Is the time estimated to be required to turn off.

【0043】ステップS14で、駆動時間t2が駆動時
間T2以上になったと判断するまでに印字センサ14が
オフになったと判断した場合には(S14のY)、印字セ
ンサ14がオフになったと判断してからステップS12
で得られた駆動パルス数X2分だけステッピングモータ
5を駆動したと判断するまで(S15のY)、待機する
(S15のN)。ここに、搬送制御手段としての機能が実
行される。これによって、印字を開始する際には、ペー
ジ毎のずれ量Y'を含んで既に印字済みの行数分だけ通
帳が搬送されていることとなり、前回印字された行の次
段に続けて今回の取引内容を罫線に合わせて印字させる
ことができる。
If it is determined in step S14 that the print sensor 14 has been turned off before the drive time t2 has become longer than the drive time T2 (Y in S14), it is determined that the print sensor 14 has been turned off. And then step S12
Waits until it is determined that the stepping motor 5 has been driven by the drive pulse number X2 obtained in (Y in S15).
(N in S15). Here, a function as a transport control unit is executed. As a result, when printing is started, the passbook is conveyed by the number of lines that have already been printed, including the shift amount Y ′ for each page. Can be printed in accordance with the ruled line.

【0044】ステップS15で、印字センサ14がオフ
になったと判断してからステップS12で得られた駆動
パルス数X2分だけステッピングモータ5を駆動したと
判断した場合には(S15のY)、ステッピングモータ5
の駆動をOFFにして(S16)、所定の印字処理を実行
する(S17)。
If it is determined in step S15 that the print sensor 14 has been turned off and then the stepping motor 5 has been driven by the number of drive pulses X2 obtained in step S12 (Y in S15), the stepping is performed. Motor 5
Is turned off (S16), and a predetermined printing process is executed (S17).

【0045】なお、ステップS17の処理は、印字デー
タに応じて所定の情報を一行単位で印字出力し、一行印
字する毎に搬送ローラ6により一行分ずつ搬送すること
により実行されるが、公知の技術であるため詳細な説明
を省略する。
The processing in step S17 is executed by printing out predetermined information in units of one line in accordance with the print data, and conveying each line by the conveying roller 6 every time one line is printed. Detailed description is omitted because it is a technology.

【0046】ここに、ページマークBに対応する補正デ
ータYが補正データ記憶テーブルから取得され、取得さ
れた補正データYに応じてページ毎のずれ量Y'を含ん
だ位置まで通帳Nが搬送されるように搬送ローラ6a、
6b、6c、6d、6eが駆動制御されることにより、
印字を開始する前に、ずれ量Y'を含んで印字済みの行
数分だけ通帳Nが搬送され、各ページ毎に正確な印字開
始位置から印字を開始させることが可能になる。これに
よって、各ページ毎に、正しい印字位置で印字を行うこ
とができる。
Here, the correction data Y corresponding to the page mark B is obtained from the correction data storage table, and the passbook N is transported to a position including the shift amount Y 'for each page according to the obtained correction data Y. Transport rollers 6a,
6b, 6c, 6d, and 6e are driven and controlled,
Before starting printing, the passbook N is transported by the number of printed lines including the shift amount Y ', and printing can be started from an accurate printing start position for each page. Thereby, printing can be performed at the correct printing position for each page.

【0047】次に、本発明の第2の実施の形態を図4に
基づいて説明する。第1の実施の形態と同一部分は同一
符号で示し、説明も省略する。
Next, a second embodiment of the present invention will be described with reference to FIG. The same parts as those in the first embodiment are denoted by the same reference numerals, and the description is omitted.

【0048】ここで、例えば、通帳Nを開いた状態で表
紙Cの端部Eと中紙Pの端部E'との間にずれがないも
のと仮定した場合、CCD12による読み取りを開始し
てからページマークBを読み取ったと判断するまでの理
論上の読取回数M(回)と、CCD12による読み取りを
開始してからページマークBを読み取ったと判断するま
での実際の読取回数m(回)は、等しい値となる。
Here, for example, if it is assumed that there is no deviation between the end E of the cover C and the end E 'of the middle sheet P with the passbook N opened, the reading by the CCD 12 is started. From the theoretical reading number M (times) until it is determined that the page mark B has been read, and the actual reading number m (times) from the start of reading by the CCD 12 to the determination that the page mark B has been read, They have the same value.

【0049】ところが、実際は、通帳Nを開いた状態で
の表紙Cの端部Eと中紙Pの端部E'との間にはずれが
生じるため、理論上の読取回数M(回)と実際の読取回数
m(回)とは異なる値となる。
However, in practice, a gap occurs between the end E of the cover C and the end E 'of the inner sheet P when the passbook N is opened, so that the theoretical number of readings M (times) is Is different from the number of readings m (times).

【0050】第2の実施の形態の通帳プリンタ1では、
RAM26に確保された読取回数m(回)を一時記憶する
カウントエリアに加えて、理論上の読取回数M(回)を記
憶する理論値記憶エリア(図示せず)がROM25に確保
されている点が、第1の実施の形態と異なる点である。
また、第2の実施の形態では、読取回数m(回)が読取位
置情報とされている。
In the passbook printer 1 according to the second embodiment,
In addition to a count area for temporarily storing the number of readings m (times) secured in the RAM 26, a theoretical value storage area (not shown) for storing the theoretical number of readings M (times) is secured in the ROM 25. However, this is different from the first embodiment.
In the second embodiment, the number of readings m (times) is used as reading position information.

【0051】図4は、第2の実施の形態の印字処理を示
すフローチャートである。ステップS21からステップ
S26までの処理は、図3中のステップS1からステッ
プS6までの処理と同様の処理を実行する。
FIG. 4 is a flowchart showing a printing process according to the second embodiment. The processing from step S21 to step S26 executes the same processing as the processing from step S1 to step S6 in FIG.

【0052】ステップS28では、CCD12によりペ
ージマークBを読み取ったと判断するまで待機し(S2
8のN)、ページマークBを読み取ったと判断した場合
には(S28のY)、カウントエリアを参照してページマ
ークBを読み取ったと判断するまでに記憶されたCCD
12による読取回数m(回)を取得し、この読取回数m
(回)に基づいて、以下の演算処理を実行することにより
補正情報としての補正データYを算出する(S29)。こ
こに、演算処理手段としての機能が実行される。
In step S28, the process waits until it is determined that the page mark B has been read by the CCD 12 (S2).
8N), when it is determined that the page mark B has been read (Y in S28), the CCD stored until the determination that the page mark B has been read with reference to the count area is made.
12, the number of readings m (times) is obtained, and the number of readings m
The correction data Y as correction information is calculated by executing the following arithmetic processing based on the (times) (S29). Here, the function as the arithmetic processing means is executed.

【0053】ここで、表紙Cの端部Eからページマーク
Bまでの距離に相当する分だけ通帳Nを搬送するステッ
ピングモータ5の理論上の駆動パルス数Xt(理論値)
は、CCD12による理論上の読取回数M(回)、およ
び、式に基づき求められる。 Xt=X1+V(pps)×T(ms)/1000×M ・・・
Here, the theoretical driving pulse number Xt (theoretical value) of the stepping motor 5 for transporting the passbook N by the distance corresponding to the distance from the end E of the cover C to the page mark B.
Is obtained based on the theoretical number of readings M (times) by the CCD 12 and the formula. Xt = X1 + V (pps) × T (ms) / 1000 × M

【0054】一方、カウントエリアに記憶されている読
取回数m(回)が、CCD12による読み取りを開始して
からページマークBがあったと判断するまでにカウント
される実際の読取回数である。このため、中紙Pの端部
E'からページマークBまでの距離に相当する分だけ通
帳Nを搬送するためにステッピングモータ5を駆動する
実際の駆動パルス数X3は、式により求められる。 X3=X1+V(pps)×T(ms)/1000×m ・・・
On the other hand, the number of readings m (times) stored in the count area is the actual number of readings counted from the start of reading by the CCD 12 until it is determined that there is a page mark B. For this reason, the actual number of drive pulses X3 for driving the stepping motor 5 to convey the passbook N by the distance corresponding to the distance from the end E 'of the inner sheet P to the page mark B is obtained by the equation. X3 = X1 + V (pps) × T (ms) / 1000 × m

【0055】、式より、表紙Cの端部Eからページ
マークBまでの距離に相当する分だけ通帳Nを搬送する
ステッピングモータ5の理論上の駆動パルス数Xt(理
論値)と、中紙Pの端部E'からページマークBまでの距
離に相当する分だけ通帳Nを搬送するステッピングモー
タ5の実際の駆動パルス数X3との間には、式に示す
分だけのずれ量Y'が発生する。 Y'=Xt−X3 ・・・
According to the formula, the theoretical driving pulse number Xt (theoretical value) of the stepping motor 5 for transporting the passbook N by an amount corresponding to the distance from the end E of the cover C to the page mark B, and the inner paper P Between the actual driving pulse number X3 of the stepping motor 5 that conveys the passbook N by an amount corresponding to the distance from the end E 'of the first step to the page mark B, a deviation amount Y' corresponding to the expression is generated. I do. Y '= Xt-X3 ...

【0056】ところで、補正データYは、表紙Cの端部
Eと中紙Pの端部E'とのずれ量Y'を相殺するための値
であるため、式に示すY'は補正データYと等しくな
る。つまり、ステップS29では、〜式に示す演算
処理を実行することにより補正データYを取得する。
Incidentally, since the correction data Y is a value for offsetting the shift amount Y 'between the end E of the cover C and the end E' of the middle sheet P, Y 'shown in the equation is the correction data Y. Becomes equal to In other words, in step S29, the correction data Y is obtained by executing the arithmetic processing shown in the following formulas.

【0057】一方で、ステップS30からステップS3
1までの処理は、図3におけるステップS10〜ステッ
プS11までの処理と同様の処理を実行する。
On the other hand, from step S30 to step S3
The processing up to 1 executes the same processing as the processing from step S10 to step S11 in FIG.

【0058】そして、ステップS29で演算により得ら
れた補正データYと、ステップS31で取得された読取
回数m(回)とに基づいて、後述する印字処理における印
字開始位置を決定する駆動パルス数X4を得る(S3
2)。ここで、X4は、印字センサ14からプラテン8
上にある印字位置までの相当距離に加えて、ずれ量Y'
を含んで印字済みの行数分だけ通帳Nを搬送するために
ステッピングモータ5を駆動する際に必要とする駆動パ
ルス数である。
Then, based on the correction data Y obtained by the calculation in step S29 and the number of readings m (times) obtained in step S31, the number of driving pulses X4 for determining a printing start position in a printing process described later. (S3
2). Here, X4 is a value from the print sensor 14 to the platen 8
In addition to the equivalent distance to the print position above, the shift amount Y '
And the number of drive pulses required to drive the stepping motor 5 to convey the passbook N by the number of printed lines.

【0059】また、駆動時間t2が駆動時間T2以上に
なったと判断した場合には(S33のY)、駆動時間t2
が駆動時間T2以上になったと判断するまでに印字セン
サ14がオフになったか否かを判断する(S34)。
If it is determined that the drive time t2 is longer than the drive time T2 (Y in S33), the drive time t2
It is determined whether or not the print sensor 14 has been turned off before it is determined that the time has exceeded the drive time T2 (S34).

【0060】ステップS34で、駆動時間t2が駆動時
間T2以上になったと判断するまでに印字センサ14が
オフになったと判断した場合には(S34のY)、印字セ
ンサ14がオフになったと判断してからステップS32
で得られた駆動パルス数X4分だけステッピングモータ
5を駆動したと判断するまで待機する(S35)。ここ
に、搬送制御手段としての機能が実行される。これによ
って、印字を開始する際には、搬送の際に生じる印字処
理毎に異なるずれ量Y'を含んで既に印字済みの行数分
だけ通帳Nが搬送されていることとなり、前回印字され
た行の次段に続けて今回の取引内容を罫線Lに合わせて
印字させることができる。
If it is determined in step S34 that the print sensor 14 has been turned off by the time the drive time t2 has become longer than the drive time T2 (Y in S34), it is determined that the print sensor 14 has been turned off. And then step S32
It waits until it is determined that the stepping motor 5 has been driven by the number of drive pulses X4 obtained in step (S35). Here, a function as a transport control unit is executed. Thus, when printing is started, the passbook N has been conveyed by the number of lines already printed, including the shift amount Y ', which differs for each printing process that occurs at the time of conveyance. Subsequent to the next line, the contents of the current transaction can be printed in accordance with the ruled line L.

【0061】一方、ステップS34で、駆動時間t2が
駆動時間T2以上になったと判断するまでに印字センサ
14がオフなっていないと判断した場合には(S34の
N)、所定のエラー処理を実行する。
On the other hand, if it is determined in step S34 that the print sensor 14 has not been turned off before it is determined that the drive time t2 has exceeded the drive time T2 (N in S34), a predetermined error process is executed. I do.

【0062】ステップS35で、印字センサ14がオフ
なったと判断してからステップS32で得られた駆動パ
ルス数X4分だけモータを駆動したと判断した場合には
(S35のY)、モータの駆動を停止して(S36)、所定
の印字処理を実行する(S37)。 第2の実施の形態で
得られる補正データYは、印字処理毎に演算されて取得
されるため、搬送ローラ6a、6b、6c、6d、6e
のクランプ力により中紙Pが押し戻される等の一回毎に
ずれ量Y'が異なるような場合にも、その度にずれを補
正して正しい位置に印字を行うことができる。
If it is determined in step S35 that the print sensor 14 has been turned off and the motor has been driven by the drive pulse number X4 obtained in step S32,
(Y in S35), the driving of the motor is stopped (S36), and a predetermined printing process is executed (S37). Since the correction data Y obtained in the second embodiment is calculated and obtained for each printing process, the transport rollers 6a, 6b, 6c, 6d, 6e
Even when the shift amount Y 'differs each time, such as when the inner sheet P is pushed back by the clamping force, the shift can be corrected each time and printing can be performed at a correct position.

【0063】ここに、所定の演算処理が実行されること
により補正データYが印字の都度取得され、取得された
補正データYに応じてページ毎のずれ量Y'を含んだ位
置まで通帳Nが搬送されるように搬送ローラ6a、6
b、6c、6d、6eが駆動制御されることにより、印
字を開始する前に、ずれ量Y'を含んで印字済みの行数
分だけ通帳Nが搬送され、各ページ毎に正確な印字開始
位置から印字を開始させることが可能になる。これによ
って、通帳Nを搬送する際に生じるずれ量Y'に対応し
て、常に正しい印字位置に印字を行うことができる。
Here, the correction data Y is acquired each time printing is performed by executing a predetermined calculation process. According to the acquired correction data Y, the passbook N is moved to a position including the shift amount Y 'for each page. The transport rollers 6a, 6
By controlling the driving of b, 6c, 6d and 6e, the passbook N is conveyed by the number of printed lines including the shift amount Y 'before printing starts, and accurate printing starts for each page. It becomes possible to start printing from the position. Accordingly, printing can always be performed at the correct printing position in accordance with the shift amount Y ′ generated when the passbook N is transported.

【0064】[0064]

【発明の効果】請求項1記載の発明の冊子印字装置によ
れば、画像読取手段により冊子の各ページ毎に付与され
たページ情報を読み取り、このページ情報に基づいて、
印字部による冊子に対する印字開始位置が補正されるよ
うに搬送部を駆動制御することにより、印字を開始する
前に、ずれ量を含んだ所定距離分だけ冊子を搬送して、
各ページ毎に正確な印字開始位置から印字を開始させる
ことが可能になるので、各ページ毎のずれ量に対応し
て、正しい印字位置に印字を行うことができる。
According to the booklet printing apparatus of the first aspect of the present invention, the image reading means reads the page information given to each page of the booklet, and based on the page information,
By driving and controlling the transport unit so that the printing start position for the booklet by the printing unit is corrected, before starting printing, the booklet is transported by a predetermined distance including the deviation amount,
Since printing can be started from an accurate printing start position for each page, printing can be performed at a correct printing position in accordance with the amount of displacement for each page.

【0065】請求項2記載の発明によれば、補正情報記
憶テーブルから取得した各ページ情報毎に対応する補正
データに基づいて、ページ毎のずれ量を含んだ位置まで
冊子を搬送するように搬送ローラを駆動制御することに
より、印字を開始する前にずれ量を含んだ所定距離分だ
け冊子を搬送して、各ページ毎に正確な印字開始位置か
ら印字を開始させることが可能になるので、各ページ毎
のずれ量に対応して、正しい印字位置に印字を行うこと
ができる。
According to the second aspect of the present invention, the booklet is conveyed to the position including the shift amount for each page based on the correction data corresponding to each page information acquired from the correction information storage table. By controlling the driving of the rollers, the booklet can be conveyed by a predetermined distance including the deviation amount before printing starts, and printing can be started from an accurate printing start position for each page. Printing can be performed at the correct printing position in accordance with the shift amount for each page.

【0066】請求項3記載の発明によれば、所定の演算
処理を実行することにより印字の都度取得した補正情報
に基づいて、ページ毎のずれ量を含んだ位置まで冊子を
搬送するように搬送ローラを駆動制御することにより、
印字を開始する前にずれ量を含んだ所定距離分だけ冊子
を搬送して、各ページ毎に正確な印字開始位置から印字
を開始させることが可能になるので、冊子を搬送する際
に生じるずれ量に対応して、常に正しい印字位置に印字
を行うことができる。
According to the third aspect of the present invention, the booklet is conveyed so as to convey the booklet to a position including the shift amount for each page based on the correction information obtained each time printing is performed by executing the predetermined arithmetic processing. By controlling the drive of the rollers,
Before starting printing, the booklet is conveyed by a predetermined distance including the deviation amount, and printing can be started from the correct print start position for each page. Printing can always be performed at the correct printing position according to the amount.

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

【図1】第1の実施の形態の通帳プリンタを示す縦断側
面図である。
FIG. 1 is a vertical sectional side view showing a passbook printer according to a first embodiment.

【図2】通帳プリンタの各部の電気的接続を示すブロッ
ク図である。
FIG. 2 is a block diagram showing an electrical connection of each unit of the passbook printer.

【図3】第1の実施の形態の印字処理を概略的に示すフ
ローチャートである。
FIG. 3 is a flowchart schematically showing a printing process according to the first embodiment.

【図4】第2の実施の形態の印字処理を概略的に示すフ
ローチャートである。
FIG. 4 is a flowchart schematically showing a printing process according to a second embodiment.

【図5】通帳プリンタに適用される通帳を示す斜視図で
ある。
FIG. 5 is a perspective view showing a passbook applied to the passbook printer.

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

1 冊子印字装置(通帳プリンタ) 6a〜6e 搬送部(搬送ローラ) 4 案内経路 7 印字部 12 画像読取手段(CCD) 25 記憶手段(ROM) B ページ情報(ページマーク) N 冊子(通帳) m 読取位置情報 Y 補正情報(補正データ) 1 Booklet printing device (passbook printer) 6a-6e Transport unit (transport roller) 4 Guide path 7 Printing unit 12 Image reading means (CCD) 25 Storage means (ROM) B Page information (page mark) N Booklet (passbook) m Read Position information Y Correction information (correction data)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 冊子を所定経路へ案内する案内経路と、 前記案内経路中の所定の方向へ前記冊子を搬送する搬送
部と、 前記案内経路中の所定の位置に設けられ、前記冊子に対
して所定の情報を印字する印字部と、 前記案内経路中に設けられ、前記冊子のページ毎に付与
されたページ情報を読み取る画像読取手段と、 前記画像読取手段により読み取られた前記ページ情報に
基づいて前記印字部による前記冊子に対する印字開始位
置を補正するように前記搬送部を駆動制御する搬送制御
手段と、を備える冊子印字装置。
1. A guide path for guiding a booklet to a predetermined path, a conveying unit for conveying the booklet in a predetermined direction in the guide path, and provided at a predetermined position in the guide path. A printing unit that prints predetermined information in the guide path, an image reading unit that is provided in the guide route, and reads page information provided for each page of the booklet, based on the page information read by the image reading unit. And a transport control unit for driving and controlling the transport unit so as to correct a printing start position of the booklet by the printing unit.
【請求項2】 各ページ情報毎に前記ページ情報に対応
する補正情報が記憶される補正情報記憶テーブルを格納
する記憶手段と、 前記記憶手段に格納された前記補正情報記憶テーブルを
参照して前記画像読取手段により読み取った前記ページ
情報に対応する前記補正情報を得る補正情報取得手段
と、を備え、 前記搬送制御手段は、前記補正情報取得手段により取得
された前記補正情報に基づいて前記搬送部を駆動制御す
る請求項1記載の冊子印字装置。
2. A storage unit for storing a correction information storage table in which correction information corresponding to the page information is stored for each page information, and referring to the correction information storage table stored in the storage unit. Correction information obtaining means for obtaining the correction information corresponding to the page information read by the image reading means, wherein the transport control means is configured to control the transport unit based on the correction information obtained by the correction information obtaining means. 2. The booklet printing apparatus according to claim 1, wherein the booklet printing apparatus controls the driving of the booklet.
【請求項3】 前記画像読取手段により読み取られた前
記ページ情報の読取位置情報に基づいて所定の演算処理
を実行することにより補正情報を取得する演算処理手段
を備え、 前記搬送制御手段は、前記演算処理手段により取得され
た前記補正情報に基づいて前記搬送部を駆動制御する請
求項1記載の冊子印字装置。
3. An arithmetic processing unit for acquiring correction information by executing predetermined arithmetic processing based on read position information of the page information read by the image reading unit, wherein the transport control unit includes: 2. The booklet printing apparatus according to claim 1, wherein the control unit drives and controls the transport unit based on the correction information acquired by an arithmetic processing unit.
JP2000029265A 2000-02-07 2000-02-07 Booklet printing device Pending JP2001219608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000029265A JP2001219608A (en) 2000-02-07 2000-02-07 Booklet printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000029265A JP2001219608A (en) 2000-02-07 2000-02-07 Booklet printing device

Publications (1)

Publication Number Publication Date
JP2001219608A true JP2001219608A (en) 2001-08-14

Family

ID=18554552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000029265A Pending JP2001219608A (en) 2000-02-07 2000-02-07 Booklet printing device

Country Status (1)

Country Link
JP (1) JP2001219608A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820487A (en) * 2009-02-27 2010-09-01 柯尼卡美能达商用科技株式会社 Terminal installation, print process system, print processing method and print control unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820487A (en) * 2009-02-27 2010-09-01 柯尼卡美能达商用科技株式会社 Terminal installation, print process system, print processing method and print control unit

Similar Documents

Publication Publication Date Title
JP2006126956A (en) Character recognition apparatus and method
CN102407693B (en) Media processing device, control method of media processing device, and recording medium
JP6023491B2 (en) Optical reading method and apparatus for booklet-shaped print media
JP5974499B2 (en) RECORDING DEVICE, CONTROL DEVICE, AND RECORDING DEVICE CONTROL METHOD
JP2001219608A (en) Booklet printing device
JPH09109425A (en) Printing device and recording paper used in this printing device
JP2008055604A (en) Printing device
JP2004058337A (en) Printer
US20090122128A1 (en) Tachograph for a motor vehicle, paper strip for a tachograph and method for aligning a longitudinally displaceable paper strip with respect to a printing device in a tachograph
JPH11227274A (en) Sensor position correction method and paper position control method in printer
JP2003127478A (en) Booklet printing device
JP2004025691A (en) Media processing device
JP4473682B2 (en) Printing device
JP2007001123A (en) Recording apparatus
JP2000264488A (en) Printing medium conveying position correcting method, and apparatus
JP2000335064A (en) Printer
JP2568712Y2 (en) Identification code reading device in time clock
JP2946836B2 (en) Media mark reading method
JP2875012B2 (en) Print line positioning method
JP4387316B2 (en) Form printing device
JP2003246528A (en) Device and method for processing document
JP2011148153A (en) Bankbook recording machine and bankbook used therefor
JP2005028804A (en) Printing apparatus, ticket processing apparatus, and printing method
JP2012064011A (en) Verifying device and verifying method
JP2578920B2 (en) Printer print positioning mechanism