JP2011178114A - Operation processing device, and method for detecting displacement during transfer of medium in the same - Google Patents

Operation processing device, and method for detecting displacement during transfer of medium in the same Download PDF

Info

Publication number
JP2011178114A
JP2011178114A JP2010046656A JP2010046656A JP2011178114A JP 2011178114 A JP2011178114 A JP 2011178114A JP 2010046656 A JP2010046656 A JP 2010046656A JP 2010046656 A JP2010046656 A JP 2010046656A JP 2011178114 A JP2011178114 A JP 2011178114A
Authority
JP
Japan
Prior art keywords
medium
carrier
passbook
control unit
print head
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
JP2010046656A
Other languages
Japanese (ja)
Inventor
Kengo Saga
賢悟 嵯峨
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 JP2010046656A priority Critical patent/JP2011178114A/en
Publication of JP2011178114A publication Critical patent/JP2011178114A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an operation processing device that reduces processing time required for operations of the whole device, and a method for detecting displacement during transfer of a medium in the same. <P>SOLUTION: A control part controls movement of a carrier 21 in an operation processing device. The control part is configured as follows. When a medium 25 is set in a predetermined position, the control part detects positions (d, e) of both ends in a printing digit direction of the medium 25, and allows a serial printing mechanism to print on the medium 25 so as to start transfer of the medium. The control part moves the carrier 21 over a set distance, which is smaller than the medium width in a printing digit direction, from the initial positions (d, e) of both ends of the medium 25 at a predetermined reference timing for the displacement of both ends. Then, the control part allows a sensor 30 to detect again positions (f, g) of the ends so as to determine whether or not a difference between the positions (d, f) and a difference between the positions (e, g) are within an allowable distance. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は業務処理装置および業務処理装置における媒体の搬送時の位置ずれ検出方法に関する。   The present invention relates to a business processing apparatus and a method for detecting misalignment when a medium is transported in the business processing apparatus.

通帳プリンタでは、印字ヘッドがプラテンの長手方向に沿って主走査しながら、印字ヘッドの先からニードルを突出させ、インクリボンを介してプラテン上の通帳に印字を行う。文字列が並ぶ方向である主走査方向の印字を印字ヘッドが終えると、印字送り方向である副走査方向にプラテンが動かされて通帳が副走査される。   In the passbook printer, the print head performs main scanning along the longitudinal direction of the platen, and the needle protrudes from the tip of the print head, and printing is performed on the passbook on the platen via the ink ribbon. When the print head finishes printing in the main scanning direction, which is the direction in which character strings are arranged, the platen is moved in the sub-scanning direction, which is the print feed direction, and the passbook is sub-scanned.

通帳プリンタには、挿入口からプリンタ内部の印字開始位置へ連続する通帳搬送路にガイドが設けられていないタイプが存在する。近年、通帳を印字開始位置まで搬送する場合、ガイド壁に通帳を突き当てることなく、挿入口へ挿入されたときの挿入口幅方向についての通帳位置を認識しその通帳位置を印字開始の基準とする通帳プリンタが求められるようになってきている。   There are types of passbook printers in which no guide is provided in the passbook conveyance path that continues from the insertion port to the print start position inside the printer. In recent years, when the passbook is transported to the print start position, the passbook position in the width direction of the insertion slot when it is inserted into the insertion slot is recognized without contacting the passbook against the guide wall, and the passbook position is used as a reference for printing start. A passbook printer is required.

通帳プリンタは、縦型及び横型のいずれの通帳に対してもこれらの通帳のページが見開きにされた状態で印字を行う。見開き状態にされる通帳が横型通帳及び縦型通帳のいずれであっても、通帳が挿入口から挿入された後、搬送路上において通帳幅方向両端側にガイドが存在しない状態でこの通帳は搬送される。ガイドにより規制されずあるいは幅寄せされずに通帳が搬送されるため、搬送中の通帳には斜行が生じる可能性がある。特に通帳のページめくり処理のときに、見開き状態の通帳の上端、下端、左端、及び右端の各紙端にできるページ厚みや、通帳中央部の折り目などの段差の部分をプラテンローラが通過した場合、斜行の度合いが大きくなる。通帳が縦型及び横型のいずれであっても、通帳を所定の位置まで搬送した後、通帳プリンタは、主走査方向についての左端及び右端の二箇所の端部の位置を検出する。ページめくり処理後、あるいは段差部分へのプラテンローラの乗り上げ等が発生した場合、通帳プリンタは、通帳両端部の位置ずれが生じたかどうかを検出する必要がある。   The passbook printer performs printing for both vertical and horizontal passbooks with these passbook pages spread. Regardless of whether the bankbook to be spread is a horizontal bankbook or a vertical bankbook, after the bankbook is inserted from the insertion slot, this bankbook is transported on the transport path with no guides at both ends in the bankbook width direction. The Since the passbook is transported without being regulated or narrowed by the guide, there is a possibility that skew may occur in the passbook being transported. When the platen roller passes through stepped parts such as the page thickness that can be formed at the top, bottom, left, and right edges of the passbook, and the crease at the center of the passbook, especially during page turning processing of the passbook, The degree of skew increases. Regardless of whether the bankbook is a vertical type or a horizontal type, after the bankbook is conveyed to a predetermined position, the bankbook printer detects the positions of the two ends of the left end and the right end in the main scanning direction. After the page turning process or when the platen roller climbs over the stepped portion, the passbook printer needs to detect whether or not the position of both ends of the passbook has shifted.

そこで、従来、記録紙の主走査方向のいずれか一方の端部の位置を検出し、この位置と予め記憶した記録紙の幅サイズとから他方の端部の位置を求めて印字開始位置を取得するようにした印刷装置が提案されている(例えば特許文献1参照)。また、一方の端部を検出した後この検出位置よりキャリッジを動かして他方の端部を検出して両端部の位置を求めて印字開始位置を取得するようにした画像形成装置が提案されている(例えば特許文献2参照)。   Therefore, conventionally, the position of one end of the recording paper in the main scanning direction is detected, and the position of the other end is obtained from this position and the width size of the recording sheet stored in advance to obtain the print start position. A printing apparatus has been proposed (see, for example, Patent Document 1). Further, an image forming apparatus has been proposed in which after detecting one end portion, the carriage is moved from this detection position to detect the other end portion, and the positions of both end portions are obtained to obtain the print start position. (For example, refer to Patent Document 2).

特許文献1は単純なアルゴリズムで、印刷媒体の両面における印刷開始位置を揃えることができる印刷装置及び印刷方法を開示する。特許文献2に記載の画像形成装置は、印刷中、被記録通帳の両端部を再度検出し、再検出された端部位置がずれているときには、両端部位置を検出する。この画像形成装置は、通帳の端部を検出するセンサを有し、印刷開始時と印刷中の時とで通帳を走査して通帳の両端を検出し、通帳搬送時に生じるずれに対応させている。   Patent Document 1 discloses a printing apparatus and a printing method capable of aligning printing start positions on both sides of a printing medium with a simple algorithm. The image forming apparatus described in Patent Document 2 detects both ends of the recorded passbook again during printing, and detects the positions of both ends when the re-detected end positions are shifted. This image forming apparatus has a sensor for detecting the end of the passbook, scans the passbook at the start of printing and during printing, detects both ends of the passbook, and copes with deviations that occur when the passbook is conveyed. .

特開2009−073052号公報JP 2009-073052 A 特開2008−238700号公報JP 2008-238700 A

しかしながら、上述した従来技術では、ドット印刷、画像の光学的読込み、磁気情報の読取り、ページめくり、媒体の搬送といった各種の業務(以下、これらを業務と略称することがある)を実行しながら通帳の左端及び右端を検出する。媒体の端を検出する回数が増加していくと、業務の全体の処理時間も増加する。特許文献2に記載の画像形成装置では、キャリッジを全往復動範囲で移動させて記録紙の両端部を検出し、記録紙を所定量搬送し、及び両端部を再検出するといった処理を繰返すため、通帳が装置に挿入され、通帳が印字された後、挿排出口から通帳が排出されるまで時間がかかるという問題がある。印字ヘッドが移動している間、印字業務を行えない。検出回数の頻度が高いため、印字業務以外の業務の処理時間が長い。特に印字行数が多い場合、処理時間の遅延が生じる。ユーザが通帳を挿排出口に差入れてから排出されるまで長い時間を要する。   However, in the above-described prior art, the bankbook is executed while performing various tasks such as dot printing, optical reading of images, reading of magnetic information, page turning, and conveyance of media (hereinafter, these may be abbreviated as jobs). The left end and the right end of the are detected. As the number of times of detecting the edge of the medium increases, the overall processing time of the business also increases. In the image forming apparatus described in Patent Literature 2, the carriage is moved in the entire reciprocating range, both ends of the recording paper are detected, the recording paper is conveyed by a predetermined amount, and both ends are redetected. There is a problem that it takes time until the passbook is discharged from the insertion / ejection slot after the passbook is inserted into the apparatus and printed. Printing operations cannot be performed while the print head is moving. Since the frequency of detection is high, the processing time for operations other than printing operations is long. In particular, when the number of print lines is large, processing time is delayed. It takes a long time until the user inserts the bankbook into the insertion / ejection slot and then ejects it.

そこで、本発明は、上記の課題に鑑み、印字ヘッドを往復移動させて印字するシリアル印字機構を有するタイプの装置において、シリアル印刷等、装置全体の業務に要する処理時間を減らすことを可能とする業務処理装置および業務処理装置における媒体の搬送時の位置ずれ検出方法を提供することを目的とする。   Therefore, in view of the above-described problems, the present invention makes it possible to reduce the processing time required for the operation of the entire apparatus, such as serial printing, in a type of apparatus having a serial printing mechanism that prints by reciprocating the print head. It is an object of the present invention to provide a business processing apparatus and a method for detecting misalignment when a medium is transported in the business processing apparatus.

このような課題を解決するため、本発明の一態様によれば、媒体を搬送する搬送部と、この搬送部による前記媒体の搬送方向と交叉する印字桁方向に往復動するキャリア、このキャリアに搭載された印字ヘッド、この印字ヘッドに対向配置されたプラテン、およびこのプラテンに沿って前記印字ヘッドを前記キャリアを介して前記印字桁方向で往復動させる駆動機構を有するシリアル印字機構と、このシリアル印字機構の前記キャリアに設けられ、前記媒体の前記印字桁方向の少なくとも一方の端部の位置を検知するセンサと、このセンサが検知した前記一方の端部の位置ずれが生じるとして予め定めた基準タイミングでトリガ信号を出力するタイミング生成部と、このタイミング生成部からの前記トリガ信号により前記センサを動作させ、前記キャリアの移動を制御する制御部と、を備え、この制御部は、前記トリガ信号を受けると、前記キャリアを前記一方の端部の最初の位置から、前記印字桁方向の媒体幅に比して小さい設定距離を移動させた後、前記センサに前記一方の端部の位置を再検出させ、再検出した位置および前記最初の位置の間の差が許容される距離内であるかどうかを判定することを特徴とする業務処理装置が提供される。   In order to solve such a problem, according to one aspect of the present invention, a transport unit that transports a medium, a carrier that reciprocates in a printing digit direction that intersects the transport direction of the medium by the transport unit, A serial print mechanism having a mounted print head, a platen disposed opposite to the print head, and a drive mechanism for reciprocating the print head in the print digit direction via the carrier along the platen; A sensor that is provided on the carrier of the printing mechanism and detects the position of at least one end of the medium in the print digit direction, and a reference that is determined in advance as causing a displacement of the one end detected by the sensor. A timing generator that outputs a trigger signal at timing, and the sensor is operated by the trigger signal from the timing generator, And a controller for controlling the movement of the carrier, and when receiving the trigger signal, the controller compares the carrier from the initial position of the one end with the media width in the print digit direction. After moving a small set distance, the sensor re-detects the position of the one end and determines whether the difference between the re-detected position and the first position is within an allowable distance. A business processing device is provided.

また、本発明の別の一態様によれば、(a)媒体の搬送方向と交叉する印字桁方向に往復動するキャリア、このキャリアに搭載された印字ヘッド、この印字ヘッドに対向配置されたプラテン、およびこのプラテンに沿って前記印字ヘッドを前記キャリアを介して前記印字桁方向で往復動させる駆動機構を有するシリアル印字機構の前記キャリアにセンサを設け、(b)前記キャリアの移動を制御する制御部が、前記媒体が媒体搬送方向下流の所定位置にセットされたときに、前記センサに前記媒体の前記印字桁方向の両端部のうち少なくとも一方の端部の位置を検知させ、(c)前記制御部が、前記シリアル印字機構に前記媒体への印字を行わせて媒体搬送を開始させ、(d)前記制御部が、前記一方の端部の位置ずれが生じるとして予め定めた基準タイミングで、前記キャリアを前記媒体の前記一方の端部の最初の位置から、前記印字桁方向の媒体幅に比して小さい設定距離を移動させ、前記センサに前記一方の端部の位置を再検出させ、(e)前記制御部が、再検出した位置および前記最初の位置の間の差が許容される距離内であるかどうかを判定することを特徴とする業務処理装置における媒体の搬送時の位置ずれ検出方法が提供される。   According to another aspect of the present invention, (a) a carrier that reciprocates in a printing digit direction that intersects the medium conveyance direction, a printing head mounted on the carrier, and a platen disposed opposite to the printing head. And a sensor for the carrier of the serial printing mechanism having a drive mechanism for reciprocating the print head along the platen in the print digit direction via the carrier, and (b) control for controlling movement of the carrier When the medium is set at a predetermined position downstream in the medium conveying direction, the sensor causes the sensor to detect the position of at least one of the both ends of the medium in the print digit direction, and (c) The control unit causes the serial printing mechanism to perform printing on the medium to start medium conveyance, and (d) the control unit determines in advance that a displacement of the one end portion occurs. At a reference timing, the carrier is moved from the initial position of the one end of the medium by a set distance smaller than the medium width in the print digit direction, and the sensor is moved to the position of the one end. (E) the control unit determines whether or not a difference between the re-detected position and the first position is within an allowable distance. A method for detecting misalignment during conveyance is provided.

本発明によれば、装置が媒体に対して実行する業務の全体に要する処理時間を減らすことが可能となる。   According to the present invention, it is possible to reduce the processing time required for the entire work performed by the apparatus for the medium.

本発明の実施の形態に係る情報処理装置の要部構成図である。It is a principal part block diagram of the information processing apparatus which concerns on embodiment of this invention. (a)は見開き状態の横型の媒体の上面図であり、(b)は見開き状態の縦型の媒体の上面図である。(A) is a top view of a horizontal medium in a spread state, and (b) is a top view of a vertical medium in a spread state. キャリアの正面図である。It is a front view of a carrier. シリアル印字機構の要部斜視図である。It is a principal part perspective view of a serial printing mechanism. 検出される2箇所の位置と媒体の端部との対応関係を示す図である。It is a figure which shows the correspondence of the position of two places detected, and the edge part of a medium. 制御系のブロック図である。It is a block diagram of a control system. 媒体の端部の位置ずれを検出する方法を説明するためのフローチャートである。6 is a flowchart for explaining a method of detecting a positional deviation of an end portion of a medium. 所定位置まで引込まれた状態の媒体を上方から見た図である。It is the figure which looked at the medium of the state pulled in to the predetermined position from upper direction. 左端及び右端をセンサにより取得されている最中の媒体を上方から見た図である。It is the figure which looked at the medium in the middle of acquiring the left end and the right end from the sensor from the upper part. 基準タイミングにて上端及び下端を再度取得されている最中の媒体を上方から見た図である。It is the figure which looked at the medium in the midst of acquiring the upper end and the lower end again at the reference timing from above.

以下、本発明の実施の形態に係る業務処理装置および業務処理装置における媒体の搬送時の位置ずれ検出方法について、図面を参照しながら説明する。尚、各図において同一箇所については同一の符号を付すとともに、重複した説明は省略する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a business processing apparatus according to an embodiment of the present invention and a positional deviation detection method when a medium is transported in the business processing apparatus will be described with reference to the drawings. In the drawings, the same portions are denoted by the same reference numerals, and redundant description is omitted.

本発明の実施の形態に係る業務処理装置は冊子状の被印字媒体に対し、装置内での搬送、印字、磁気情報や電子的情報の読取り、ページめくりといった複数の業務を実行する装置である。この業務処理装置は、シリアル印字を行う機能を有するシリアルドットプリンタ(シリアルドットインパクトプリンタ)を含む装置である。業務処理装置は例えば冊子状の通帳に対して印字を行う通帳プリンタである。   A business processing device according to an embodiment of the present invention is a device that performs a plurality of business operations on a booklet-shaped print medium, such as conveyance in the device, printing, reading of magnetic information and electronic information, and page turning. . This business processing apparatus is an apparatus including a serial dot printer (serial dot impact printer) having a function of performing serial printing. The business processing device is, for example, a passbook printer that performs printing on a booklet-like passbook.

本発明の実施の形態に係る業務処理装置における媒体の搬送時の位置ずれ検出方法は、この通帳プリンタが見開き状態にされた通帳を通帳搬送方向に搬送しているときに、通帳搬送方向と直交する通帳幅方向の通帳両端部、即ち左端及び右端のうちの少なくとも一方の端部の位置ずれを検出する方法である。この位置ずれ検出方法は、予め定めた基準タイミングにおいて通帳プリンタが通帳の主走査方向の両端部の位置ずれを検知した場合、印字ヘッド及び通帳のいずれも動かさずに、位置がずれた状態の通帳に、印字データの先頭文字の位置を補正して合わせるようにしている。位置ずれが生じた後のヘッド、通帳間の位置関係をそのまま用いて印字データ内の先頭文字位置を補正することによって印字を続行し、全体の業務処理のスピードアップを図るようにしている。   In the business processing apparatus according to the embodiment of the present invention, the positional deviation detection method at the time of transporting a medium is orthogonal to the passbook transport direction when the passbook printer is transporting the passbook in a spread state in the passbook transport direction. This is a method for detecting a position shift at both ends of the bankbook in the bankbook width direction, that is, at least one of the left end and the right end. In this misalignment detection method, when the passbook printer detects misalignment at both ends in the main scanning direction of the passbook at a predetermined reference timing, the passbook is in a misaligned state without moving either the print head or the passbook. In addition, the position of the first character of the print data is corrected and matched. Printing is continued by correcting the head character position in the print data by using the positional relationship between the head and the passbook after the positional deviation has occurred, thereby speeding up the entire business process.

図1は本実施形態に係る情報処理装置の要部構成図である。同図には通帳搬送方向と直交する方向から見た通帳プリンタ1の側方断面が示されている。   FIG. 1 is a configuration diagram of a main part of an information processing apparatus according to the present embodiment. The figure shows a side cross section of the bankbook printer 1 as viewed from a direction orthogonal to the bankbook conveyance direction.

通帳プリンタ1は、通帳を挿入し排出するための挿排出口11と、取引内容が印字される伝票を挿入し排出するための挿排出口12と、搬送路15、16、17と、これらの搬送路15、16、17に設けられた複数の搬送ローラ対19(搬送部)と、搬送路15、16の合流部よりも奥行き側に設けられ、通帳情報の読取り及び読取りした画像による文字認識を行う光学スキャナ/OCR装置(光学スキャナ及びOCR装置)20とを備える。   The passbook printer 1 includes an insertion / ejection port 11 for inserting and ejecting a passbook, an insertion / ejection port 12 for inserting and ejecting slips on which transaction contents are printed, transport paths 15, 16, and 17, A plurality of conveying roller pairs 19 (conveying units) provided in the conveying paths 15, 16, and 17 and a depth side of the merging part of the conveying paths 15 and 16, reading the passbook information and character recognition by the read image And an optical scanner / OCR device (optical scanner and OCR device) 20.

更に通帳プリンタ1は、これらの搬送ローラ対19によって搬送力される通帳の搬送方向下流側に設けられたドットインパクト方式の印字ヘッド23を有するキャリア21と、この印字ヘッド23と搬送路17を挟んで対向配置されたプラテン26と、通帳の磁気ストライプから磁気データの読取り及び磁気ストライプへの磁気データの書込みを行う磁気処理部37と、冊子状の通帳のページめくりを行うページめくり機構35と、ホストコンピュータなどの上位装置との間で通信を行う通信部36と、印字位置の補正プログラムを保持するROM38と、これらの各部を制御する制御部40とを備える。   Further, the passbook printer 1 has a carrier 21 having a dot impact type print head 23 provided downstream in the carrying direction of the passbook, which is carried by the carrying roller pair 19, and sandwiches the print head 23 and the carrying path 17. , A magnetic processing unit 37 that reads magnetic data from the magnetic stripe of the passbook and writes magnetic data to the magnetic stripe, a page turning mechanism 35 that turns the page of the booklet passbook, A communication unit 36 that communicates with a host device such as a host computer, a ROM 38 that stores a print position correction program, and a control unit 40 that controls these units are provided.

挿排出口11に通帳が挿入されたことを光感応式の挿入センサ39が感知すると、通帳プリンタ1は、搬送路15、16にとって共通の搬送路17に通帳を搬送し、搬送路17上の決められた位置にまで引込み、印字ヘッド23を通帳搬送方向と直交する方向に往復動させて印字処理を行う。通帳には例えば図2(a)に示すような横型通帳が用いられる。横型通帳では、見開きの各ページ(上ページ/下ページ)が通帳搬送方向に並ぶ。見開き状態の通帳が挿排出口11の水平開口に筐体外から挿入されると、通帳プリンタ1は、綴じ目を通帳搬送方向とほぼ直交させたままこの横型の通帳を筐体内部へ引込む。   When the light-sensitive insertion sensor 39 detects that the bankbook has been inserted into the insertion / ejection port 11, the bankbook printer 1 transports the bankbook to the transport path 17 common to the transport paths 15 and 16, and The printing process is performed by retracting to a predetermined position and reciprocating the print head 23 in a direction orthogonal to the book transport direction. For example, a horizontal passbook as shown in FIG. In the horizontal passbook, each page of the spread (upper page / lower page) is arranged in the passbook transport direction. When the passbook in the spread state is inserted from the outside of the housing into the horizontal opening of the insertion / ejection port 11, the passbook printer 1 draws the horizontal passbook into the housing while keeping the stitches substantially perpendicular to the book transport direction.

下側の挿排出口11に対応する位置には下側台座13が形成されており、挿排出口12に対応する位置には上側台座14が形成されている。下側台座13の上面に沿わせて通帳をユーザが差入れる。下側台座13の上面には装置内から装置外へ排出された通帳が載置される、
挿排出口11には装置奥行き方向へ伸びる搬送路15が連続して形成されており、上方の挿排出口12にも奥行き方向へ伸びる搬送路16が連続して形成されている。搬送路15の水平搬送路面に対してスロープを有する搬送路16の搬送路面が傾斜角度をもって合流しており、合流後の搬送路17が更に装置後方へと伸びている。搬送路合流部には、搬送路17に対して搬送路15、16を選択的に切換えるブレード18が設けられている。ブレード18は、制御部40によって通帳の搬送方路を切換えられる。
A lower pedestal 13 is formed at a position corresponding to the lower insertion / ejection port 11, and an upper pedestal 14 is formed at a position corresponding to the insertion / ejection port 12. The user inserts a bankbook along the upper surface of the lower pedestal 13. A passbook discharged from the inside of the apparatus to the outside of the apparatus is placed on the upper surface of the lower pedestal 13.
A conveyance path 15 extending in the apparatus depth direction is continuously formed in the insertion / ejection port 11, and a conveyance path 16 extending in the depth direction is also formed continuously in the upper insertion / ejection port 12. The conveyance path surface of the conveyance path 16 having a slope with respect to the horizontal conveyance path surface of the conveyance path 15 merges at an inclination angle, and the conveyance path 17 after merging further extends to the rear of the apparatus. A blade 18 that selectively switches the transport paths 15 and 16 with respect to the transport path 17 is provided at the transport path junction. The blade 18 is switched by the control unit 40 in the passbook transport path.

これら搬送路15、16、17に沿って、複数の搬送ローラ対19が通帳を搬送する。上側の各ローラは正逆回転可能な駆動ローラであり、下側の各ローラは各駆動ローラと対向配置された回転自在な従動ローラである。駆動ローラ及び従動ローラは一対の搬送ローラ対19を構成する。各搬送ローラ対19はそれぞれ隣接する別の搬送ローラ対19の駆動ローラ及び従動ローラ間のニップに向けて通帳を誘導する。搬送ローラ対19は、この搬送ローラ対19によって厚みの異なる通帳を狭持して同じ搬送路にて往復動作させる。これらの駆動ローラは図示しないステッピングモータを駆動源とする。各駆動ローラが正逆両方向に回転すると、搬送ローラ対19は下側台座13にセットされた通帳を装置内部方向へあるいは排出方向へと搬送する。   A plurality of conveyance roller pairs 19 convey the bankbook along these conveyance paths 15, 16, and 17. Each of the upper rollers is a drive roller that can rotate forward and backward, and each of the lower rollers is a rotatable driven roller that is disposed to face each of the drive rollers. The driving roller and the driven roller constitute a pair of conveying rollers 19. Each conveyance roller pair 19 guides a passbook toward the nip between the driving roller and the driven roller of another adjacent conveyance roller pair 19. The pair of transport rollers 19 reciprocates on the same transport path while holding the passbooks having different thicknesses by the pair of transport rollers 19. These drive rollers use a stepping motor (not shown) as a drive source. When each drive roller rotates in both forward and reverse directions, the transport roller pair 19 transports the bankbook set on the lower pedestal 13 toward the inside of the apparatus or in the discharge direction.

また、搬送路17の上流から下流にかけて、キャリア21、プラテン26、ROM38を有する制御部40が設けられる。プラテン26の桁長さ方向は印字桁方向である。ROM38は、通帳の種類、通帳種別ごとの通帳形状、サイズ、走査方向、印字開始位置、及び印字される範囲情報なども記憶する。制御部40は、搬送ローラ対19を回転させることにより通帳を副走査し及び印字ヘッド23を主走査方向に移動させ、この印字ヘッド23に対して上位装置からの印字データをシリアル転送する。制御部40は、光学スキャナ/OCR装置20が検出した通帳の金融機関名などの文字情報により通帳の種類を取得する。制御部40、光学的に取得した通帳の種類と、磁気的に読取ったデータからROM38の通帳情報をルックアップして取得した通帳の種類とを比較して、挿入された通帳が取扱い可能な冊子であるかどうかを判定する。   A control unit 40 having a carrier 21, a platen 26, and a ROM 38 is provided from upstream to downstream of the transport path 17. The digit length direction of the platen 26 is the print digit direction. The ROM 38 also stores a passbook type, a passbook shape for each passbook type, a size, a scanning direction, a print start position, printed range information, and the like. The controller 40 rotates the conveyance roller pair 19 to sub-scan the passbook and move the print head 23 in the main scanning direction, and serially transfers print data from the host device to the print head 23. The control unit 40 acquires the type of passbook based on character information such as the financial institution name of the passbook detected by the optical scanner / OCR device 20. The control unit 40 compares the optically acquired passbook type with the passbook type obtained by looking up the passbook information in the ROM 38 from the magnetically read data, and can handle the inserted passbook. It is determined whether or not.

図3はキャリア21の正面図である。同図の左右方向は主走査方向を表す。図4はシリアル印字機構の要部斜視図である。図4には印字ヘッド23とプラテン26との位置関係が示されている。図4の29はシリアル印字機構である。30はこのシリアル印字機構29のキャリア21に設けられ、通帳の端部の有無を検出するセンサである。センサ30の取付け位置は一例であり種々の位置を選択できる。   FIG. 3 is a front view of the carrier 21. The left-right direction in the figure represents the main scanning direction. FIG. 4 is a perspective view of an essential part of the serial printing mechanism. FIG. 4 shows the positional relationship between the print head 23 and the platen 26. Reference numeral 29 in FIG. 4 denotes a serial printing mechanism. A sensor 30 is provided on the carrier 21 of the serial printing mechanism 29 and detects the presence / absence of the end of the bankbook. The mounting position of the sensor 30 is an example, and various positions can be selected.

図3において、キャリア21に駆動力が伝達されると、このキャリア21は主走査方向に動かされる。このキャリア21にはヘッドホルダ22が設けられ、このヘッドホルダ22を介してインパクト式の印字ヘッド23が取付けられている。印字ヘッド23はノーズ24を有し、ノーズ先端部24aから複数本のニードルが駆動信号により選択的に突出するようになっており、インクリボンを介してニードルのインパクト力によって通帳25にドットを形成する。キャリア21による主走査方向への移動と、駆動ローラ19a及び従動ローラ19bによる通帳25の副走査方向への移動とによって文字、画像等の印字が行われる。印字ヘッド23の下方には上下揺動式のプラテン26が対向配置されており、プラテン26の上面は通帳25を非印字面側で保持している。印字ヘッド23は、キャリア21内に取付けられた圧縮バネ27の弾性力によってプラテン26側に付勢されている。プラテン26は、スプリングの弾性復元力により上方に付勢され且つその付勢方向に動く範囲内にはストッパが設けられており、このストッパがプラテン26の上方への変位量を制限するようになっている。   In FIG. 3, when the driving force is transmitted to the carrier 21, the carrier 21 is moved in the main scanning direction. The carrier 21 is provided with a head holder 22, and an impact type print head 23 is attached via the head holder 22. The print head 23 has a nose 24, and a plurality of needles selectively protrude from the nose tip 24a by a drive signal, and dots are formed in the passbook 25 by the impact force of the needles via the ink ribbon. To do. Characters, images, and the like are printed by the movement in the main scanning direction by the carrier 21 and the movement in the sub-scanning direction of the bankbook 25 by the driving roller 19a and the driven roller 19b. A vertically swinging platen 26 is disposed below the print head 23, and the upper surface of the platen 26 holds the passbook 25 on the non-printing surface side. The print head 23 is urged toward the platen 26 by the elastic force of a compression spring 27 attached in the carrier 21. The platen 26 is biased upward by the elastic restoring force of the spring, and a stopper is provided in a range in which the platen 26 moves in the biasing direction. The stopper limits the amount of displacement of the platen 26 upward. ing.

また、印字ヘッド23のノーズ24には、それぞれのローラ軸が通帳搬送方向に平行になるようにして2個のプラテンローラ28が取付けられている。各プラテンローラ28は、ノーズ先端部24aと通帳25との間隔を、各ローラ外周面及び通帳25間での適切な接触圧が得られる間隔に設定する。これらのプラテンローラ28が正逆回転することによって印字ヘッド23は主走査方向に変位する。2個のプラテンローラ28のそれぞれのローラ外周下面はいずれもプラテン26の上面側に臨む。各ローラ外周下面の高さはともにノーズ先端部24aの下面よりも下方側に突出した位置に保持されている。その突出量は印字に適した所定値に設定されている。プラテンローラ28は、圧縮バネ27による弾性復元力を受けてプラテン26又は通帳25に当接した状態を保持し、これによってノーズ先端部24aと通帳25との間隔が常に印字に適した距離に保たれるようになっている。   Further, two platen rollers 28 are attached to the nose 24 of the print head 23 so that the respective roller shafts are parallel to the passbook conveyance direction. Each platen roller 28 sets an interval between the nose tip 24 a and the bankbook 25 to an interval at which an appropriate contact pressure can be obtained between each roller outer peripheral surface and the bankbook 25. As the platen roller 28 rotates forward and backward, the print head 23 is displaced in the main scanning direction. Each of the two lower platen rollers 28 faces the upper surface side of the platen 26. The height of each roller outer peripheral lower surface is held at a position protruding downward from the lower surface of the nose tip 24a. The protrusion amount is set to a predetermined value suitable for printing. The platen roller 28 receives the elastic restoring force of the compression spring 27 and holds the platen 26 in contact with the platen 26 or the bankbook 25, whereby the distance between the nose tip 24a and the bankbook 25 is always kept at a distance suitable for printing. It has come to droop.

また、図4に示すように、プラテン26の桁長さ方向と、キャリアシャフト32の軸長方向と、ガイドシャフト31の軸長方向とは互いに平行になるようこれらは枠体に取付けられており、キャリアシャフト32、ガイドシャフト31にはキャリア21が摺動自在に支持されている。このキャリア21はベルト駆動などによって往復動可能である。キャリア21はプラテン26の桁長さ方向に移動可能に設けられており、このキャリア21に印字ヘッド23がプラテン26と対向するように装着されている。   Further, as shown in FIG. 4, the girder length direction of the platen 26, the axial length direction of the carrier shaft 32, and the axial length direction of the guide shaft 31 are attached to the frame so that they are parallel to each other. The carrier 21 is slidably supported on the carrier shaft 32 and the guide shaft 31. The carrier 21 can reciprocate by belt driving or the like. The carrier 21 is provided so as to be movable in the digit length direction of the platen 26, and the print head 23 is mounted on the carrier 21 so as to face the platen 26.

また、ノーズ先端部24aの下端には通帳25をプラテン26に押付けるための図示しないプレートが設けられており、このプレートと通帳25との隙間にインクリボンが供給される。プレートの中央部に形成された開口窓から印字ヘッド23のニードルが突出するようになっている。   A plate (not shown) for pressing the bankbook 25 against the platen 26 is provided at the lower end of the nose tip 24a, and an ink ribbon is supplied into the gap between the plate and the bankbook 25. The needle of the print head 23 protrudes from an opening window formed at the center of the plate.

1本のニードルは1画素を印字するドット素子である。複数本のニードルはノーズ24内で選択的に突出、後退する。xy平面で一例を述べると、y軸方向一列に複数本のニードルが配列され、これら複数本からなる1本のニードル列がx軸方向に二列以上設けられて印字ヘッド23は構成されている。制御部40は通信部36を介して上位装置からシリアル受信した印字データをRAM44に溜める。制御部40はシリアル受信データを解析してドットパターンデータに展開し、ドットパターンに対応する黒ドット、白ドットを割当てる。制御部40は印字バッファから第n列目のドット列データをリードし、このドット列データを印字ヘッド23に出力し、印字ヘッド23に縦1列分の印字を行わせる。同様にして印字ヘッド23は残りの複数列のドット列データを印字し、一文字が印字される。更に印字ヘッド23は印字桁方向に複数の文字を印字する。   One needle is a dot element that prints one pixel. The plurality of needles selectively protrude and retract within the nose 24. An example of the xy plane will be described. The print head 23 is configured by arranging a plurality of needles in a row in the y-axis direction and providing two or more needle rows composed of the plurality of needles in the x-axis direction. . The control unit 40 stores print data serially received from the host device via the communication unit 36 in the RAM 44. The control unit 40 analyzes the serial reception data and develops it into dot pattern data, and assigns black dots and white dots corresponding to the dot pattern. The control unit 40 reads the dot row data of the nth row from the print buffer, outputs this dot row data to the print head 23, and causes the print head 23 to print one vertical column. Similarly, the print head 23 prints the remaining dot row data of a plurality of rows and prints one character. Further, the print head 23 prints a plurality of characters in the print digit direction.

センサ30が印字桁方向に印字位置のずれを検出した場合、制御部40のCPUはROM38から補正プログラムを起動しこの補正プログラムにずれ量を与える。補正プログラムはこのずれ量に基づき、RAM44の印字データの位置ズレを補正する。CPUは、印字ヘッド23に対し、補正後のドット列データを送る。   When the sensor 30 detects a deviation of the printing position in the printing digit direction, the CPU of the control unit 40 activates a correction program from the ROM 38 and gives a deviation amount to the correction program. The correction program corrects the positional deviation of the print data in the RAM 44 based on the deviation amount. The CPU sends the corrected dot row data to the print head 23.

また、センサ30は通帳の端部を検知するための投受光素子である。センサ30は、下方に向けて光ビームを照射する発光ダイオード33と、この光ビームの対象からの反射光を受光するフォトダイオード34と、フォトダイオード出力を増幅する増幅回路とを有する。制御部40は、ROM38から反射光強度の大小の判定用の光強度閾値を参照し、左端及び右端のうちの少なくとも一方の位置を検出する。   The sensor 30 is a light projecting / receiving element for detecting the end of the bankbook. The sensor 30 includes a light emitting diode 33 that irradiates a light beam downward, a photodiode 34 that receives reflected light from a target of the light beam, and an amplifier circuit that amplifies the photodiode output. The control unit 40 refers to the light intensity threshold value for determining the magnitude of the reflected light intensity from the ROM 38, and detects the position of at least one of the left end and the right end.

図5は検出される2箇所の位置と通帳の紙端部位との対応関係を示す図である。既述の符号はそれらと同じ要素を表す。左右方向は主走査方向を表す。同図は搬送路上で通帳搬送方向の上流側から下流側に対峙してプラテン26を見た例が示されている。通帳25は見開きの状態にされている。   FIG. 5 is a diagram showing the correspondence between the two detected positions and the paper edge portion of the passbook. The above described symbols represent the same elements. The left-right direction represents the main scanning direction. The figure shows an example in which the platen 26 is viewed from the upstream side to the downstream side in the passbook conveyance direction on the conveyance path. The bankbook 25 is in a spread state.

印字ヘッド23のホームポジションが左端であるとした場合、図5(a)に示すように左端に近いほうの通帳紙端の位置と、図5(b)のように左端から遠いほうの通帳紙端の位置とがセンサ30によって検出される。横型通帳では、図2(a)、図5に示すように、左側の検出位置が通帳25の左端を表す。右側の検出位置は通帳25の右端を表す。通帳プリンタ1は、印字動作に先立って、キャリア21を走行させ、センサ30に通帳25の両端辺を検出させ、通帳25の通帳幅を判定し、通帳25の印字可能領域を決定するようにしている。   Assuming that the home position of the print head 23 is the left end, the position of the passbook paper end closer to the left end as shown in FIG. 5A and the passbook paper farther from the left end as shown in FIG. The end position is detected by the sensor 30. In the horizontal passbook, the left detection position represents the left end of the passbook 25 as shown in FIGS. The detection position on the right side represents the right end of the bankbook 25. Prior to the printing operation, the bankbook printer 1 causes the carrier 21 to travel, causes the sensor 30 to detect both sides of the bankbook 25, determines the bankbook width of the bankbook 25, and determines the printable area of the bankbook 25. Yes.

通帳プリンタ1における通帳25の搬送時の位置ずれ検出方法は、最初に通帳プリンタ1が見開き状態の通帳25の一方の端部及び他方の端部の各位置を計測し、印字の開始後、予め定めた基準タイミングにて通帳25の両端部の位置を再度計測し、最初に決定した両端部各位置と、再計測した両端部各位置とを比較判定する。   In the passbook printer 1, the position shift detection method when the passbook 25 is transported is to first measure the positions of one end and the other end of the passbook 25 with the passbook printer 1 in a spread state. The positions of both end portions of the bankbook 25 are measured again at the determined reference timing, and the first determined both end positions are compared with the remeasured both end positions.

この基準タイミングとは、通帳25の折り目をプラテンローラ28が通過したとき、ページめくり機構35によって通帳ページがめくられるときなど、通帳25の位置ズレが発生しやすい事象が起き得るタイミングを指す。折り目をローラが乗り上げたときなどが、予めずれの有無の判断基準として規定され、指定されてある。更に基準タイミングとして、搬送ローラ対19により通帳25の搬送方向が正逆反転するとき、所定量搬送されたとき、及びこれらの反転、搬送が何回か行われたときを規定しておく。基準タイミングとしては、ページめくりが繰返されて生じたページ厚みの段差部をプラテンローラ28が通過するときも規定しておく。   The reference timing refers to a timing at which an event in which the passbook 25 is likely to be misaligned, such as when the platen roller 28 passes through the fold of the passbook 25 or when the passbook page is turned by the page turning mechanism 35, is referred to. The time when the roller rides on the crease is specified and specified in advance as a criterion for determining whether or not there is a deviation. Further, as the reference timing, it is defined when the conveyance direction of the bankbook 25 is reversed reversely by the conveyance roller pair 19, when a predetermined amount is conveyed, and when the reversal and conveyance are performed several times. The reference timing is also defined when the platen roller 28 passes through a step portion having a page thickness generated by repeated page turning.

本実施形態では、通帳プリンタ1がこれらの事象を端部再検知処理の開始のトリガとして使う。制御部40はトリガ信号を出力するタイミング生成部としても機能する。CPU41、ROM38、RAM44からなるタイミング生成部は、少なくとも一方の端部の位置ずれが生じるとして予め定めた基準タイミングでトリガ信号を出力する。   In this embodiment, the passbook printer 1 uses these events as triggers for starting the edge redetection process. The control unit 40 also functions as a timing generation unit that outputs a trigger signal. A timing generation unit including the CPU 41, the ROM 38, and the RAM 44 outputs a trigger signal at a reference timing that is determined in advance as a positional shift of at least one end portion occurs.

最初の位置検出ではキャリア21が通帳幅を超える距離を主走査方向に移動する。右端については、制御部40が再度右端位置を検出する際、最初の右端検出位置を起点とし、この起点から微小距離だけ主走査方向右側又は左側にキャリア21を動かす。左端についても、制御部40は最初の左端検出位置を起点とし、再度この左端位置を検出する際、この起点から微小距離だけ主走査方向右側又は左側にキャリア21を動かす。本実施形態では、右端、左端のうちの一方を用いることによって制御部40は再検出したときの通帳25の両端部の位置を取得する。右端、左端の両方を用いて制御部40は再検出したときの通帳25の両端部の位置を取得しても良い。   In the initial position detection, the carrier 21 moves in the main scanning direction over a distance exceeding the passbook width. Regarding the right end, when the control unit 40 detects the right end position again, the first right end detection position is set as a starting point, and the carrier 21 is moved to the right or left side in the main scanning direction by a minute distance from the starting point. Also for the left end, the control unit 40 starts from the first left end detection position, and when detecting the left end position again, moves the carrier 21 to the right or left in the main scanning direction by a minute distance from this start point. In the present embodiment, by using one of the right end and the left end, the control unit 40 acquires the positions of both ends of the bankbook 25 when redetected. Using both the right end and the left end, the control unit 40 may acquire the positions of both end portions of the passbook 25 when re-detected.

図6は制御系のブロック図である。既述の符号はそれらと同じ要素を表す。制御部40は、通帳プリンタ1の各部を集中的に制御するCPU41と、CPU41に接続されたバスライン42と、ROM38と、CPU41の作業エリアとして使われるRAM44と、上位装置47からコマンド及び印字データを受信するインターフェース46とを備える。   FIG. 6 is a block diagram of the control system. The above described symbols represent the same elements. The control unit 40 includes a CPU 41 that centrally controls each unit of the passbook printer 1, a bus line 42 connected to the CPU 41, a ROM 38, a RAM 44 that is used as a work area for the CPU 41, and commands and print data from the host device 47. And an interface 46 for receiving.

ROM38は具体的には、縦型、横型、何号といった通帳種別、通帳25の上端、下端、左端、及び右端の距離や、見開き状態の通帳の上ページの上端、下ページの下端、印字の禁止帯、綴じ目領域などを記憶する。ROM38は補正プログラムも格納する。   Specifically, the ROM 38 has a bankbook type such as vertical type, horizontal type, and number, distances between the upper end, lower end, left end and right end of the passbook 25, upper end of the upper page of the passbook in the spread state, lower end of the lower page, print Forbidden band, stitch area, etc. are stored. The ROM 38 also stores a correction program.

CPU41は、RAM44にカウンタ45を構築し、このカウンタ45のカウント値から通帳25の同一ページ上でのキャリア21の位置を検出する。印字ヘッド23で印字しようとする位置が検出されるようにされている。例えばカウンタ45でキャリッジモータ52の出力するパルス数をカウントするなどにより、キャリア21の印字桁方向における位置をCPU41は検出する。   The CPU 41 constructs a counter 45 in the RAM 44 and detects the position of the carrier 21 on the same page of the bankbook 25 from the count value of the counter 45. A position to be printed by the print head 23 is detected. For example, the CPU 41 detects the position of the carrier 21 in the print digit direction by counting the number of pulses output from the carriage motor 52 with the counter 45.

制御部40は、通帳挿入を感知する挿入センサ39を含む各種センサを制御するためのセンサ制御回路48と、搬送ローラ対19への動力源となる搬送モータ51及びキャリア21への駆動源となるキャリッジモータ52を制御するモータ駆動回路50と、印字ヘッド23を制御する印字ヘッド制御回路53とが接続されている。これらの搬送モータ51、キャリッジモータ52、モータ駆動回路50と、図4のガイドシャフト31、キャリアシャフト32、ベルト、駆動力伝達部材が駆動機構を構成する。   The control unit 40 is a sensor control circuit 48 for controlling various sensors including an insertion sensor 39 that senses insertion of a bankbook, and a drive motor 51 and a drive source for the carrier 21 that serve as a power source for the transport roller pair 19. A motor drive circuit 50 that controls the carriage motor 52 and a print head control circuit 53 that controls the print head 23 are connected. These transport motor 51, carriage motor 52, motor drive circuit 50, guide shaft 31, carrier shaft 32, belt, and driving force transmission member in FIG. 4 constitute a drive mechanism.

上述の構成の通帳プリンタ1の印字ヘッド23をCPU41が制御する方法について説明する。   A method for the CPU 41 to control the print head 23 of the passbook printer 1 having the above-described configuration will be described.

図7は通帳25の端部の位置ずれを検出する方法を説明するためのフローチャートである。   FIG. 7 is a flowchart for explaining a method of detecting the positional deviation of the end portion of the bankbook 25.

ステップA1において、通帳25が挿排出口11の任意の位置から挿入されたことを挿入センサ39が検知する。横型通帳の挿入は、挿排出口11の開口幅に対して綴じ部を平行にし、この綴じ部が通帳搬送方向と直交するようにする。   In step A <b> 1, the insertion sensor 39 detects that the bankbook 25 has been inserted from an arbitrary position of the insertion / ejection port 11. When inserting the horizontal passbook, the binding portion is made parallel to the opening width of the insertion / ejection port 11 so that the binding portion is orthogonal to the passbook transport direction.

ステップA2において、制御部40は複数箇所の搬送ローラ対19をそれぞれ回転させ、通帳25を搬送し、通帳25を印字可能な位置にまで引込む。検知により制御部40は、カウンタ45中のステッピングモータのステップ数が設定ステップにまでなるように、通帳25を印字ヘッダ23の直下付近にまで通帳25を搬送させ、その位置を確定する。   In step A2, the control unit 40 rotates each of the plurality of conveyance roller pairs 19, conveys the bankbook 25, and pulls the bankbook 25 to a printable position. Upon detection, the control unit 40 conveys the passbook 25 to the vicinity of the position immediately below the print header 23 so that the number of steps of the stepping motor in the counter 45 reaches the setting step, and determines the position.

ステップA2においては、光学スキャナ/OCR装置20は、通帳25の表紙上をスキャンし、書式枠を写し取った画像情報を生成する。磁気処理部37は、磁気ストライプから情報を読取る。光学的な情報と、磁気的に得られた情報とがチェックされ、通帳25の種別が特定される。印字を開始すべきページ上での行位置が得られる。その後、情報読取り位置から印刷開始位置まで通帳25は搬送される。ローディングが完了する。   In step A2, the optical scanner / OCR device 20 scans the cover of the bankbook 25 and generates image information obtained by copying the format frame. The magnetic processing unit 37 reads information from the magnetic stripe. The optical information and the magnetically obtained information are checked, and the type of the passbook 25 is specified. The line position on the page where printing should start is obtained. Thereafter, the bankbook 25 is conveyed from the information reading position to the printing start position. Loading is complete.

引続き、ステップA3において、制御部40は通帳25の左端、右端の通帳両端部の検出処理を実行する。図8は所定位置まで引込まれた状態の通帳25を上方から見た図である。同図にはキャリア21に取付けられたセンサ30が加えられて示されている。17Aは搬送路17の搬送路幅での端を表す。上下が副走査方向であり、左右が主走査方向である。左右に延びる線幅はプラテン26の縁を模式的に表したものである。既述の符号はそれらと同じ要素を表す。   Subsequently, in step A3, the control unit 40 executes detection processing of both the left end and right end passbook of the passbook 25. FIG. 8 is a view of the bankbook 25 in a state where it is drawn to a predetermined position as viewed from above. In the figure, a sensor 30 attached to the carrier 21 is added. 17A represents the end of the conveyance path 17 at the conveyance path width. The top and bottom are the sub-scanning direction, and the left and right are the main scanning direction. The line width extending in the left-right direction schematically represents the edge of the platen 26. The above described symbols represent the same elements.

通帳25を検出することが可能なセンサ30を搭載したキャリア21はホームポジションに停止している。制御部40は指令を出力し、キャリア21を、搬送路17の搬送路幅で一方の端からもう一方の端まで動かす。センサ30の発光ダイオード33は搬送路面へ光を所定の入射角で照射し、搬送路面にて反射した光の反射光をフォトダイオード34はこの入射角と略同じ受光角で受光する。   The carrier 21 equipped with the sensor 30 capable of detecting the bankbook 25 is stopped at the home position. The control unit 40 outputs a command, and moves the carrier 21 from one end to the other end with the transport path width of the transport path 17. The light emitting diode 33 of the sensor 30 irradiates light at a predetermined incident angle to the conveyance path surface, and the photodiode 34 receives the reflected light of the light reflected by the conveyance path surface at a light receiving angle substantially equal to this incident angle.

図9は左端及び右端をセンサ30により取得されている最中の通帳25を上方から見た図である。既述の符号はそれらと同じ要素を表す。制御部40は光強度信号を主走査方向に沿って順次走査し、強度の変化量が大きい位置を端辺位置として検出する。   FIG. 9 is a view of the bankbook 25 in the middle when the left end and the right end are acquired by the sensor 30 as viewed from above. The above described symbols represent the same elements. The controller 40 sequentially scans the light intensity signal along the main scanning direction, and detects a position where the amount of change in intensity is large as the edge position.

このとき、通帳25が検出され始めた時点での主走査方向についての位置をA点(dと付されたところ)とし、通帳25が検出されなくなった時点での主走査方向についての位置をB点(eと付されたところ)としてこれらの2箇所の位置を制御部40は保持する。これらのA点、B点が通帳25の端と決定され、通帳25と本体との位置関係が明確になる。   At this time, the position in the main scanning direction at the time when the bankbook 25 starts to be detected is point A (where d is attached), and the position in the main scanning direction when the bankbook 25 is no longer detected is B. The control unit 40 holds these two positions as points (where e is attached). These points A and B are determined as the ends of the bankbook 25, and the positional relationship between the bankbook 25 and the main body becomes clear.

図7のステップA4において制御部40は上位装置47からの印字データをRAM44に展開し、印字位置を解析した後、印字ヘッド23に印字業務を行わせる。印字ヘッド23が1行分の文字を印字すると、制御部40は、副走査方向に1行分の距離だけ通帳25を送るようモータ駆動する。   In step A4 in FIG. 7, the control unit 40 develops the print data from the host device 47 in the RAM 44, analyzes the print position, and then causes the print head 23 to perform a print job. When the print head 23 prints one line of characters, the control unit 40 drives the motor to send the bankbook 25 by a distance of one line in the sub-scanning direction.

ステップA5では、印字の最中、予め決めた基準タイミングで、端部検知処理を開始する事象が発生したかどうかを制御部40は監視し続ける(Noルート)。   In step A5, during printing, the control unit 40 continues to monitor whether or not an event for starting the edge detection process has occurred at a predetermined reference timing (No route).

例えば通帳25の折り目をプラテン26が通過するときにトリガをかける場合、CPU41はカウンタ45のカウンタ値が設定しておいた距離に達すると、通帳25が折り目の位置まで副走査されたことを検知する。ここで、カウンタ値は、最初に取得した通帳25の種別と、ROM38の情報とから、折り目までの距離を求め、この距離をカウンタ45に設定しておく。   For example, when the trigger is applied when the platen 26 passes through the fold of the bankbook 25, the CPU 41 detects that the bankbook 25 has been sub-scanned to the position of the fold when the counter value of the counter 45 reaches the set distance. To do. Here, as the counter value, the distance to the crease is obtained from the type of the passbook 25 acquired first and the information in the ROM 38, and this distance is set in the counter 45.

ステップA5において、Yesルートを通り、ステップA6において、制御部40は通帳25の2つの端部位置を再度検出する。   In step A5, the Yes route is passed, and in step A6, the control unit 40 detects the two end positions of the bankbook 25 again.

図10は基準タイミングにて上端及び下端を再度取得されている最中の通帳25を上方から見た図である。dはA点を表す。eはB点を表す。fはA′点を表す。gはB′点を表す。初回の2点A、Bの位置間の範囲よりも外側に(初回の2点の検知位置の距離に相当するキャリア移動距離を越えて)、キャリア21は移動し、通帳25の主走査方向についての両端の位置A′点及びB′点をそれぞれ検出する。搬送路の端からB′点までの長い距離を移動せずに、B点からB′点までの微小距離をキャリア21は移動している。   FIG. 10 is a view of the bankbook 25 from the upper side in which the upper end and the lower end are acquired again at the reference timing. d represents point A. e represents the B point. f represents the A ′ point. g represents a point B ′. The carrier 21 moves outside the range between the first two points A and B (beyond the carrier movement distance corresponding to the distance between the first two detection positions), and the main scanning direction of the bankbook 25 is changed. Positions A ′ and B ′ at both ends of the are respectively detected. The carrier 21 moves a minute distance from the point B to the point B ′ without moving a long distance from the end of the conveyance path to the point B ′.

ステップA7において、制御部40は検出した一方の端部の位置と、最初に取得して得た同じ端部の位置とを比較して、これらの位置の主走査方向についての差の大きさが、予め決めた許容範囲であるかどうかを判定する。許容範囲は実験や試験により決められる。   In step A7, the control unit 40 compares the detected position of one end with the position of the same end obtained first, and the magnitude of the difference between these positions in the main scanning direction is determined. Then, it is determined whether or not it is within a predetermined allowable range. The allowable range is determined by experiments and tests.

差が許容範囲内に入っている場合、制御部40は、通帳25が副走査方向で位置ズレしていない、あるいはずれ補正が必要なほどの端部位置はずれた訳でないと判断する。ステップA7のNoルートを通り、制御部40は印字ヘッド23と、通帳25との相対的な位置関係は最初の位置関係を保持していると判断する。ステップA8において、通帳プリンタ1は上位装置47からの印字データをそのまま印字する。印字が終わると処理が終わる。   When the difference is within the allowable range, the control unit 40 determines that the passbook 25 is not misaligned in the sub-scanning direction, or the end portion position that requires misalignment correction is not shifted. Through the No route of step A7, the control unit 40 determines that the relative positional relationship between the print head 23 and the bankbook 25 holds the initial positional relationship. In step A8, the passbook printer 1 prints the print data from the host device 47 as it is. The process ends when printing is finished.

ステップA7において、図10のように、検出されたA′点が初回に検出された元のA点から予め決めた設定値以上ずれていた場合、CPU41は通帳25に位置ズレが生じている、または変形していると判断する。あるいは検出されたB′点が元のB点から設定値以上ずれていた場合、CPU41は位置ズレを検知する。つまり、左端及び右端のうち、いずれか一方が設定量以上ずれたことを制御部40は検知する。また、A′点及びB′点のうち一方でも検出することができなかった場合、CPU41は位置ズレが生じた又は変形していることを判断する。   In step A7, as shown in FIG. 10, when the detected A ′ point is shifted from the original A point detected for the first time by a predetermined value or more, the CPU 41 is misaligned in the bankbook 25. Or it judges that it has changed. Alternatively, when the detected point B ′ deviates from the original point B by a set value or more, the CPU 41 detects a positional deviation. That is, the control unit 40 detects that one of the left end and the right end is shifted by a set amount or more. In addition, when one of the A ′ point and the B ′ point cannot be detected, the CPU 41 determines that the positional deviation has occurred or is deformed.

この場合、ステップA7でYesルートを通り、ステップA9において、制御部40は、RAM44から印字ヘッド23へ送る際の印字データの主走査方向の印字位置をずらす。補正プログラムは印字ヘッド23へ送られる前の印字データに対し、通帳25がずれた分だけ打ち始めの位置を補正し、補正後の印字データを印字ヘッド23に出力する。   In this case, the Yes route is passed in step A7, and in step A9, the control unit 40 shifts the print position of the print data in the main scanning direction when it is sent from the RAM 44 to the print head 23. The correction program corrects the starting position of the print data before being sent to the print head 23 by an amount corresponding to the shift of the passbook 25 and outputs the corrected print data to the print head 23.

換言すれば、制御部40は印字ヘッド23を動かす、あるいはプラテン26を駆動するといったハードウェア側を移動させない。位置ずれが検知された後の通帳25及び印字ヘッド23間の位置関係に合わせてソフトウェア処理によって印字データの主走査方向についての先頭位置を制御部40はずらすようにしている。制御部40はそのずれた分を加味し、これから印字されようとするデータの印字位置を主走査方向についてずらしずらした印字データを印字ヘッド23に送る。位置ずれが発生している場合、そのずれた量を印字データの送り側が変える。通帳プリンタ1はキャリア21の位置を元に戻さない。位置ずれが生じた後の通帳位置において、印字データの先頭位置が目的とする印字開始位置に合うようにソフトウェアが補正する。   In other words, the control unit 40 does not move the hardware side such as moving the print head 23 or driving the platen 26. The controller 40 shifts the head position of the print data in the main scanning direction by software processing in accordance with the positional relationship between the passbook 25 and the print head 23 after the positional deviation is detected. The control unit 40 takes into account the deviation, and sends print data to the print head 23 in which the print position of data to be printed is shifted in the main scanning direction. If a positional deviation has occurred, the amount of deviation is changed by the print data sending side. The passbook printer 1 does not return the position of the carrier 21 to the original position. The software corrects the leading position of the print data so that it matches the target print start position at the passbook position after the misalignment.

ステップA10では制御部40は修正後の印字位置から印字を再開する。例えば一方の通帳左端が元の位置から10mmずれていた場合、その10mmずれた位置を通帳左端とし、そこから印字を始める。このような制御をずれが検知された以降、制御部40は続ける。   In step A10, the control unit 40 resumes printing from the corrected printing position. For example, when the left end of one passbook is shifted by 10 mm from the original position, the position shifted by 10 mm is set as the left end of the passbook, and printing is started from there. After such a control is detected, the control unit 40 continues.

また、ステップA5においては、位置ズレが発生したかどうかの判断のために、制御部40は他の事象を用いてもよい。通帳25の上下見開き2ページのうち下ページ分の印字が終了した後、通帳25をページめくり機構35がめくる。このページめくりの直後、ステップA6の処理を制御部40は行うようにする。例えば印字データの量が、複数のページに亘って印字される量であることがある。1回の印字業務が、折り目よりも前半を印字した後、折り目から後半を印字するなど、印字が上下ページの前半から後半に跨っていることがある。数ページを越えるほどの大量のデータを印字する場合、上ページから下ページに亘って印字が続けられることになる。この場合、見開きのページの上下でページ厚みに差が生じる。段差が生じ、高さが低い方のページから高さが高い方のページに戻って印字を続けると、プラテンローラ28が紙面上に乗り上げる。このため折り目をローラが跨ったときを判断基準としておく。また、通帳25をめくる際、通帳25は搬送されてからページめくり処理を行われ、印字ヘッド23の下方に戻ってくる。通帳25の移動量が大きいため、ページめくり処理が生じた際も、検出処理を実行する。   In step A5, the control unit 40 may use another event to determine whether or not a positional shift has occurred. The page turning mechanism 35 turns the bankbook 25 after the printing of the lower page of the two upper and lower facing pages of the bankbook 25 is completed. Immediately after this page turning, the control unit 40 performs the process of step A6. For example, the amount of print data may be an amount printed over a plurality of pages. In one printing operation, the first half of the crease is printed, and then the second half is printed from the fold. For example, printing may extend from the first half to the second half of the upper and lower pages. When printing a large amount of data exceeding several pages, printing is continued from the upper page to the lower page. In this case, a difference occurs in the page thickness between the upper and lower sides of the spread page. When a step is generated and printing is continued after returning from the lower page to the higher page, the platen roller 28 rides on the paper surface. For this reason, the time when the crease roller is straddled is set as a criterion. Further, when turning the bankbook 25, the pagebook 25 is transported and then a page turning process is performed, and it returns to the lower side of the print head 23. Since the movement amount of the bankbook 25 is large, the detection process is executed even when the page turning process occurs.

以上のように、印字業務の区切りの時点で、あらかじめ指定した通帳25の位置ズレが発生しやすいタイミングで通帳プリンタ1は検出処理を実行する。厳しい印字条件が通帳プリンタ1に課されている場合、通帳プリンタ1は検出処理の頻度を高くするようにする。   As described above, the passbook printer 1 executes the detection process at the timing when the position shift of the passbook 25 specified in advance is likely to occur at the time of the division of the printing job. When severe printing conditions are imposed on the passbook printer 1, the passbook printer 1 increases the frequency of detection processing.

本実施形態による通帳プリンタ1と従来例に係る通帳プリンタとを比較すると、通帳プリンタ1では初回に検出したA点の位置をCPU41が読出し、このA点から設定距離だけ左又は右にキャリア21を移動させるようにしている。あるいはB点の位置から設定距離だけ左又は右にキャリア21をCPU41は移動させるようにしている。従来例に係る装置は、記録紙の両端部の位置を常に検出する点で、両端のうちいずれか一方のみの位置を検出する本実施形態による通帳プリンタ1と異なる。   Comparing the bankbook printer 1 according to the present embodiment with the bankbook printer according to the conventional example, the CPU 41 reads the position of the point A detected for the first time in the bankbook printer 1, and the carrier 21 is set to the left or right by a set distance from this point A. I try to move it. Alternatively, the CPU 41 moves the carrier 21 left or right by a set distance from the position of point B. The apparatus according to the conventional example is different from the passbook printer 1 according to the present embodiment that detects the position of only one of both ends in that the position of both ends of the recording paper is always detected.

仮に通帳プリンタ1をA点及びB点の両方を検出するようにして検出処理の条件を同じにしたとしても、通帳プリンタ1は従来例よりも長所を有する。即ち、従来例に係る通帳プリンタは、記録紙の両端部の位置を検出する際、端部検出センサが端部位置を検出し、キャリッジを全往復動範囲で移動させて記録紙の端部の検出を実行している。従来例ではキャリッジの移動距離が長いという点で、キャリア21の移動距離が初回に取得したA点又はB点から設定距離分だけと短い距離で済むこの通帳プリンタ1と異なる。   Even if the passbook printer 1 detects both the points A and B so that the detection processing conditions are the same, the passbook printer 1 has advantages over the conventional example. That is, in the passbook printer according to the conventional example, when detecting the position of both ends of the recording paper, the end detection sensor detects the end position, and moves the carriage in the entire reciprocating range to move the end of the recording paper. Discovery is running. In the conventional example, the movement distance of the carriage is long, so that the movement distance of the carrier 21 is different from the passbook printer 1 which requires only a set distance from the point A or B acquired for the first time.

仮に通帳プリンタ1をA点及びB点の両方を検出するようにして検出処理の条件を同じにしたとしても、通帳プリンタ1は従来例よりも尚長所を有する。即ち、従来例に係る通帳プリンタは、端部の再検出を何回も実行するなど検出処理の実行回数が多い点で、予め指定した事象が発生したときだけ端部検出処理を開始するようにしたこの通帳プリンタ1と異なる。   Even if the passbook printer 1 detects both the points A and B so that the detection processing conditions are the same, the passbook printer 1 still has advantages over the conventional example. That is, the passbook printer according to the conventional example starts the edge detection process only when a predetermined event occurs in that the detection process is performed many times, such as performing edge detection again and again. This is different from this bankbook printer 1.

通帳プリンタ1では、初回の通帳25の位置を本体側が記憶して理解しているため、端部の測定の際、一回測って記憶しておいたA点又はB点よりやや離れたところから走査し始めればよい。初回に取得して記憶しておいたA点又はB点からわずかな移動量を距離として設定しておくことによって、A′点又はB′点を測り直すときにキャリア21の移動距離を小さくしておくことができる。   In the passbook printer 1, since the main body side stores and understands the position of the first passbook 25, when measuring the end portion, it is from a point slightly away from the point A or B that is measured once and stored. Just start scanning. By setting a small amount of movement as the distance from the point A or B that was acquired and stored for the first time, the movement distance of the carrier 21 is reduced when the A ′ point or B ′ point is measured again. I can keep it.

本実施形態による位置ずれ検出方法は、検知の時間も短縮しているという長所がある。一回測ったA点又はB点よりやや離れた位置からキャリア21を走査し直せば、A′点又はB′点の位置がわかる。搬送路の左端からわざわざA′点又はB′点の位置までキャリア21を移動させなくても良い。従って端部検出に要する処理時間を減らせる。搬送路の両サイドにガイド壁がない状況下の従来技術と通帳プリンタ1とを比較すると、処理時間で有利である。   The positional deviation detection method according to the present embodiment has an advantage that the detection time is shortened. If the carrier 21 is scanned again from a position slightly separated from the point A or B measured once, the position of the point A ′ or B ′ can be known. It is not necessary to move the carrier 21 from the left end of the transport path to the position of point A ′ or B ′. Therefore, the processing time required for edge detection can be reduced. Compared with the passbook printer 1 in the situation where there are no guide walls on both sides of the conveyance path, the processing time is advantageous.

このように、通帳プリンタ1は、通帳25の主走査方向について左右少なくとも一方の通帳端部の位置を検出した後、通帳25の位置ずれが発生しやすいタイミングでこの位置より離れた他の位置を他の端部としてキャリア21が走査し直すため、処理時間の短縮が図れる。   As described above, the passbook printer 1 detects the position of at least one of the left and right passbook ends in the main scanning direction of the passbook 25, and then determines another position away from this position at a timing at which the passbook 25 is likely to be misaligned. Since the carrier 21 scans again as the other end, the processing time can be shortened.

主走査方向のキャリア21の走査に要する時間を減らすことができるようになる。通帳25が副走査方向に搬送されている最中は印字業務を通帳プリンタ1は行えないため、主走査方向での印刷時間を短くすることは、通帳25の挿入から排出までの時間を短くすることを可能にする。通帳25の両端部の位置を通帳プリンタ1が検出したとしても、あるいは検出処理を実行する頻度を上げたとしても全体の業務の処理時間が大きくならないようにすることができる。   The time required for scanning the carrier 21 in the main scanning direction can be reduced. Since the passbook printer 1 cannot perform the printing job while the bankbook 25 is being conveyed in the sub-scanning direction, shortening the printing time in the main scanning direction shortens the time from insertion to ejection of the bankbook 25. Make it possible. Even if the passbook printer 1 detects the positions of both ends of the passbook 25 or increases the frequency of executing the detection process, it is possible to prevent the processing time of the entire business from increasing.

通帳25を検出することができるセンサ30を持つキャリア21を持ち、挿排出口11のどの位置から通帳25を挿入してもガイドや幅寄せを使用しないで業務を行う装置において、センサ30が検出した通帳25の両端の位置情報を利用し、通帳25の搬送時の通帳25のずれを検出することができるようになる。基準タイミングとして、通帳25がずれやすい動作があった後など、指定された判断基準に則して業務を行うことで、位置検出の処理時間の増加を抑えることができる。   The sensor 30 detects in a device that has a carrier 21 having a sensor 30 that can detect the bankbook 25 and performs business without using a guide or width adjustment even if the bankbook 25 is inserted from any position of the insertion / ejection port 11. By using the positional information on both ends of the passbook 25, it is possible to detect the deviation of the passbook 25 when the passbook 25 is transported. By performing the work in accordance with the designated determination standard, such as after the passbook 25 is likely to be shifted as the reference timing, it is possible to suppress an increase in processing time for position detection.

このようにして、本実施形態に係る情報処理装置及び同装置の被印刷媒体の位置ずれ検出方法によれば、搬送路15等にて斜行する可能性を有する通帳25の姿勢を補正するガイドや規制のための部材を設けずに、印刷等、装置全体の業務に要する処理時間を減らすことが可能となる。   In this way, according to the information processing apparatus and the printing medium misalignment detection method of the apparatus according to the present embodiment, the guide for correcting the posture of the bankbook 25 that has a possibility of skewing in the conveyance path 15 or the like. It is possible to reduce the processing time required for the operation of the entire apparatus, such as printing, without providing a member for regulation.

記録紙の主走査方向について片方の側縁部の主走査方向の位置を検出し、位置より離れた位置を他の側縁部としてキャリッジを走査し直すようにすることによって、主走査方向のキャリッジの走査に要する走行量を減らすことができるようになる。全体の印刷等の業務に要する処理時間を減らすことが可能になる。   A carriage in the main scanning direction is detected by detecting the position of one side edge in the main scanning direction of the recording paper in the main scanning direction and rescanning the carriage with the position apart from the position as the other side edge. This makes it possible to reduce the amount of travel required for scanning. It is possible to reduce the processing time required for operations such as overall printing.

予め保持する幅サイズの情報と、一側縁部の検出位置とを記憶し、キャリッジの走査を再開するため、記録紙の一方の端部の位置のみで走査開始位置を決めることができるようになる。   Since the width size information held in advance and the detection position of one side edge are stored and the scanning of the carriage is resumed, the scanning start position can be determined only by the position of one end of the recording paper. Become.

尚、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。上記の実施形態では、業務処理装置は通帳プリンタ1だったが、本発明は、媒体に印字するシリアル印字機構を有する装置に利用可能である。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In the above embodiment, the business processing apparatus is the passbook printer 1, but the present invention is applicable to an apparatus having a serial printing mechanism for printing on a medium.

また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。   In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment.

通帳プリンタ1は、ATM(Automated Teller Machine:現金自動預払機)やCD(Cash Dispenser)等の他の機器に組込まれたプリンタと、他の機器から独立したプリンタとのいずれに用いることが可能である。   The passbook printer 1 can be used for either a printer incorporated in another device such as an ATM (Automated Teller Machine) or a CD (Cash Dispenser), or a printer independent of the other device. is there.

上記実施形態では、媒体として通帳が用いられたが、所定幅にカットされ厚みを有する帳票類に対しても使用できる。上記実施形態は横型の通帳の例であるが、通帳プリンタは、図2(b)に示すように、搬送方向に沿う綴じ目を有する縦型通帳を用いることができる。縦型通帳の挿入は、挿排出口11の開口幅に対して綴じ部を直交させ、この綴じ部が通帳搬送方向と平行になるようにする。この場合、通帳プリンタ1は、通帳搬送方向と直交する方向についての通帳両端部の位置をローディングにより検出して上記例と同様な処理を行う。   In the above embodiment, a passbook is used as a medium, but it can also be used for forms having a thickness cut to a predetermined width. The above embodiment is an example of a horizontal passbook, but as shown in FIG. 2B, a passbook printer can use a vertical passbook having stitches along the transport direction. In inserting the vertical passbook, the binding portion is orthogonal to the opening width of the insertion / ejection port 11 so that the binding portion is parallel to the passbook conveyance direction. In this case, the passbook printer 1 detects the positions of both ends of the passbook in the direction orthogonal to the passbook transport direction by loading and performs the same processing as in the above example.

また、本発明の実施の形態に係る情報処理装置は、払込書といった紙や通帳といった冊子の異種帳票を処理する複合帳票処理ユニットとして用いてもよい。例えば被印字媒体が何ページも連なる連続媒体である場合、各ページの印字が終わったら、次ページ目を印字する前に一度紙のずれが生じていないかどうかをチェックする。   The information processing apparatus according to the embodiment of the present invention may be used as a composite form processing unit that processes different forms of booklets such as paper and passbooks such as payment forms. For example, when the printing medium is a continuous medium including a number of pages, when printing of each page is completed, it is checked whether or not a paper misalignment has occurred once before printing the next page.

通帳25に対する処理の順序は、通帳プリンタ1が用いられる業種やユーザの入力操作により変わる。光学的情報の読出し、磁気処理、ページめくり処理、印字処理等の配置を変更して実施したに過ぎない発明に対して本発明の優位性は何ら損なわれるものではない。   The processing order for the passbook 25 varies depending on the type of business in which the passbook printer 1 is used and the user's input operation. The advantage of the present invention is not impaired at all with respect to the invention which is implemented by changing the arrangement of optical information reading, magnetic processing, page turning processing, printing processing and the like.

また、本実施の形態では装置内部に発明を実施する機能が予め記録されている場合で説明をしたが、これに限らず同様の機能をネットワークから装置にダウンロードしても良いし、同様の機能を記録通帳に記憶させたものを装置にインストールしてもよい。記録通帳としては、ブルーレイ(登録商標)、CD−ROM等プログラムを記憶でき、かつ装置が読取り可能な記録通帳であれば、その形態は何れの形態であっても良い。またこのように予めインストールやダウンロードにより得る機能は装置内部のOS(オペレーティング・システム)等と協働してその機能を実現させるものであってもよい。   In this embodiment, the function for carrying out the invention is recorded in advance in the apparatus. However, the present invention is not limited to this, and the same function may be downloaded from the network to the apparatus. May be installed in the apparatus. The recording passbook may be in any form as long as it is a recording passbook that can store programs such as Blu-ray (registered trademark) and CD-ROM and can be read by the apparatus. In addition, the function obtained by installing or downloading in advance may be realized in cooperation with an OS (operating system) inside the apparatus.

1…通帳プリンタ(業務処理装置)、11…挿排出口(挿入口)、12…挿排出口、13…下側台座、14…上側台座、15,16,17…搬送路、17A…搬送路の端、18…ブレード、19…搬送ローラ対、19a…駆動ローラ、19b…従動ローラ、20…光学スキャナ/OCR装置、21…キャリア、22…ヘッドホルダ、23…印字ヘッド、24…ノーズ、24a…ノーズ先端部、25…通帳(媒体)、26…プラテン、27…圧縮バネ、28…プラテンローラ、29…シリアル印字機構、30…センサ、31…ガイドシャフト、32…キャリアシャフト、33…発光ダイオード、34…フォトダイオード、35…ページめくり機構、36…通信部37…磁気処理部、38…ROM、39…挿入センサ、40…制御部、41…CPU、42…バスライン、44…RAM、45…カウンタ、46…インターフェース、47…上位装置、48…センサ制御回路、50…モータ駆動回路、51…搬送モータ、52…キャリッジモータ、53…印字ヘッド制御回路。   DESCRIPTION OF SYMBOLS 1 ... Passbook printer (business processing apparatus), 11 ... Insertion / ejection port (insertion port), 12 ... Insertion / ejection port, 13 ... Lower base, 14 ... Upper base, 15, 16, 17 ... Conveyance path, 17A ... Conveyance path 18 ... blade, 19 ... conveying roller pair, 19a ... driving roller, 19b ... driven roller, 20 ... optical scanner / OCR device, 21 ... carrier, 22 ... head holder, 23 ... print head, 24 ... nose, 24a ... Nose tip, 25 ... Passbook (medium), 26 ... Platen, 27 ... Compression spring, 28 ... Platen roller, 29 ... Serial printing mechanism, 30 ... Sensor, 31 ... Guide shaft, 32 ... Carrier shaft, 33 ... Light emitting diode , 34 ... Photodiode, 35 ... Page turning mechanism, 36 ... Communication unit 37 ... Magnetic processing unit, 38 ... ROM, 39 ... Insertion sensor, 40 ... Control unit, 41 ... CP , 42 ... bus line, 44 ... RAM, 45 ... counter, 46 ... interface, 47 ... host device, 48 ... sensor control circuit, 50 ... motor drive circuit, 51 ... transport motor, 52 ... carriage motor, 53 ... print head control circuit.

Claims (8)

媒体を搬送する搬送部と、
この搬送部による前記媒体の搬送方向と交叉する印字桁方向に往復動するキャリア、このキャリアに搭載された印字ヘッド、この印字ヘッドに対向配置されたプラテン、およびこのプラテンに沿って前記印字ヘッドを前記キャリアを介して前記印字桁方向で往復動させる駆動機構を有するシリアル印字機構と、
このシリアル印字機構の前記キャリアに設けられ、前記媒体の前記印字桁方向の少なくとも一方の端部の位置を検知するセンサと、
このセンサが検知した前記一方の端部の位置ずれが生じるとして予め定めた基準タイミングでトリガ信号を出力するタイミング生成部と、
このタイミング生成部からの前記トリガ信号により前記センサを動作させ、前記キャリアの移動を制御する制御部と、を備え、
この制御部は、前記トリガ信号を受けると、前記キャリアを前記一方の端部の最初の位置から、前記印字桁方向の媒体幅に比して小さい設定距離を移動させた後、前記センサに前記一方の端部の位置を再検出させ、再検出した位置および前記最初の位置の間の差が許容される距離内であるかどうかを判定することを特徴とする業務処理装置。
A transport unit for transporting the medium;
A carrier that reciprocates in the direction of a printing digit that intersects the conveyance direction of the medium by the conveyance unit, a print head mounted on the carrier, a platen disposed opposite to the print head, and the print head along the platen A serial printing mechanism having a drive mechanism that reciprocates in the printing digit direction via the carrier;
A sensor provided on the carrier of the serial printing mechanism for detecting the position of at least one end of the medium in the print digit direction;
A timing generation unit that outputs a trigger signal at a predetermined reference timing as a position shift of the one end detected by the sensor occurs;
A controller that operates the sensor in response to the trigger signal from the timing generator and controls movement of the carrier, and
When the control unit receives the trigger signal, the control unit moves the carrier from a first position of the one end portion by a set distance smaller than the medium width in the print digit direction, and then moves the carrier to the sensor. A business processing apparatus, comprising: redetecting a position of one end and determining whether a difference between the redetected position and the first position is within an allowable distance.
前記シリアル印字機構に対して印字すべきデータを供給する上位装置と、前記印字すべきデータを記憶するバッファと、前記印字すべきデータのドットパターンを前記印字ヘッダの印字素子の配列に応じて割当てる処理部とを更に備え、
前記制御部による判定の結果が否定的である場合、前記処理部は、再検出して得られた前記一方の端部の位置に基づき、前記印字すべきデータを補正することを特徴とする請求項1記載の業務処理装置。
A host device for supplying data to be printed to the serial printing mechanism, a buffer for storing the data to be printed, and a dot pattern of the data to be printed are allocated according to the arrangement of the printing elements of the print header. A processing unit,
When the determination result by the control unit is negative, the processing unit corrects the data to be printed based on the position of the one end obtained by re-detection. Item 1. The business processing device according to item 1.
前記タイミング生成部が指定する前記基準タイミングは、冊子状の前記媒体の折り目を前記印字ヘッドが通過するとき、ページめくり機構によるページめくり処理のとき、前記搬送部による前記媒体の搬送方向が正逆反転するとき、および前記媒体のページ厚み方向の段差部を前記印字ヘッドが通過するときの少なくとも何れかのときであることを特徴とする請求項1記載の業務処理装置。   The reference timing specified by the timing generation unit is such that the conveyance direction of the medium by the conveyance unit is forward or reverse when the print head passes through a fold of the booklet-shaped medium, or when the page turning process is performed by a page turning mechanism. 2. The business processing apparatus according to claim 1, wherein the job processing apparatus is at least one of when the print head passes through the step portion in the page thickness direction of the medium. 前記センサが最初に前記媒体の両端部それぞれの位置を検知する場合、
前記制御部は、前記トリガ信号により、最初に検知した前記両端部の間の検知位置間の距離を越える距離に亘って前記キャリアを移動させることを特徴とする請求項1記載の業務処理装置。
When the sensor first detects the position of each end of the medium,
2. The business processing apparatus according to claim 1, wherein the control unit moves the carrier over a distance exceeding a distance between detection positions between the two end portions detected first by the trigger signal.
媒体の搬送方向と交叉する印字桁方向に往復動するキャリア、このキャリアに搭載された印字ヘッド、この印字ヘッドに対向配置されたプラテン、およびこのプラテンに沿って前記印字ヘッドを前記キャリアを介して前記印字桁方向で往復動させる駆動機構を有するシリアル印字機構の前記キャリアにセンサを設け、
前記キャリアの移動を制御する制御部が、前記媒体が媒体搬送方向下流の所定位置にセットされたときに、前記センサに前記媒体の前記印字桁方向の両端部のうち少なくとも一方の端部の位置を検知させ、
前記制御部が、前記シリアル印字機構に前記媒体への印字を行わせて媒体搬送を開始させ、
前記制御部が、前記一方の端部の位置ずれが生じるとして予め定めた基準タイミングで、前記キャリアを前記媒体の前記一方の端部の最初の位置から、前記印字桁方向の媒体幅に比して小さい設定距離を移動させ、前記センサに前記一方の端部の位置を再検出させ、
前記制御部が、再検出した位置および前記最初の位置の間の差が許容される距離内であるかどうかを判定することを特徴とする業務処理装置における媒体の搬送時の位置ずれ検出方法。
A carrier that reciprocates in the direction of a print digit that intersects the conveyance direction of the medium, a print head mounted on the carrier, a platen disposed opposite to the print head, and the print head along the platen via the carrier A sensor is provided on the carrier of the serial printing mechanism having a drive mechanism that reciprocates in the printing digit direction,
When the control unit that controls the movement of the carrier is set at a predetermined position downstream in the medium conveyance direction, the position of at least one end of the both ends of the medium in the print digit direction is set to the sensor. To detect
The controller causes the serial printing mechanism to perform printing on the medium to start medium conveyance;
The control unit compares the carrier from the initial position of the one end of the medium to the medium width in the print digit direction at a reference timing determined in advance as the positional deviation of the one end occurs. Moving a small set distance, causing the sensor to re-detect the position of the one end,
A method of detecting misalignment during transport of a medium in a business processing apparatus, wherein the control unit determines whether or not a difference between the re-detected position and the first position is within an allowable distance.
前記制御部による判定の結果が否定的である場合、前記制御部は、再検出して得られた前記一方の端部の位置に基づき、前記印字すべきデータを補正することを特徴とする請求項5記載の業務処理装置における媒体の搬送時の位置ずれ検出方法。   When the determination result by the control unit is negative, the control unit corrects the data to be printed based on the position of the one end obtained by re-detection. Item 6. A method of detecting misalignment during conveyance of a medium in the business processing device according to Item 5. 前記基準タイミングは、冊子状の前記媒体の折り目を前記印字ヘッドが通過するとき、ページめくり機構によるページめくり処理のとき、前記媒体の搬送方向が正逆反転するとき、および前記媒体のページ厚み方向の段差部を前記印字ヘッドが通過するときの少なくとも何れかのときであることを特徴とする請求項5記載の業務処理装置における媒体の搬送時の位置ずれ検出方法。   The reference timing includes when the fold of the booklet-shaped medium passes through the print head, when the page turning process is performed by a page turning mechanism, when the conveyance direction of the medium is reversed in the forward and reverse directions, and the page thickness direction of the medium 6. The method of detecting misalignment during transport of a medium in a business processing apparatus according to claim 5, wherein the print head passes at least one of the step portions. 前記制御部が前記センサに最初に前記媒体の両端部それぞれの位置を検知させた場合、
前記制御部は、前記基準タイミングで、前記キャリアを、最初に検知した前記両端部の間の検知位置間の距離を越える距離に亘って移動させることを特徴とする請求項5記載の業務処理装置における媒体の搬送時の位置ずれ検出方法。
When the control unit first causes the sensor to detect the positions of both ends of the medium,
The business processing apparatus according to claim 5, wherein the control unit moves the carrier over a distance exceeding a distance between detection positions between the two end portions detected first at the reference timing. A method for detecting misalignment during conveyance of a medium.
JP2010046656A 2010-03-03 2010-03-03 Operation processing device, and method for detecting displacement during transfer of medium in the same Pending JP2011178114A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010046656A JP2011178114A (en) 2010-03-03 2010-03-03 Operation processing device, and method for detecting displacement during transfer of medium in the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010046656A JP2011178114A (en) 2010-03-03 2010-03-03 Operation processing device, and method for detecting displacement during transfer of medium in the same

Publications (1)

Publication Number Publication Date
JP2011178114A true JP2011178114A (en) 2011-09-15

Family

ID=44690144

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010046656A Pending JP2011178114A (en) 2010-03-03 2010-03-03 Operation processing device, and method for detecting displacement during transfer of medium in the same

Country Status (1)

Country Link
JP (1) JP2011178114A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015026268A (en) * 2013-07-26 2015-02-05 Necプラットフォームズ株式会社 Bankbook processing device and transportation control method
JP2018092650A (en) * 2018-02-14 2018-06-14 Necプラットフォームズ株式会社 Bankbook processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015026268A (en) * 2013-07-26 2015-02-05 Necプラットフォームズ株式会社 Bankbook processing device and transportation control method
JP2018092650A (en) * 2018-02-14 2018-06-14 Necプラットフォームズ株式会社 Bankbook processing apparatus

Similar Documents

Publication Publication Date Title
US8582181B2 (en) Optical reading device, control method for an optical reading device, and program
US8564850B2 (en) Optical reading device, control method for an optical reading device, and storage medium
US20110170125A1 (en) Optical reading device, control method for an optical reading device, and program
JP2012029120A (en) Optical reader, and method and program for controlling the same
JP5655309B2 (en) Optical reader, optical reader control method, and program
US8493635B2 (en) Optical reading device, control method for an optical reading device, and computer-readable recording medium storing a control program for an optical reading device
JP5691323B2 (en) Electronic device, control method of electronic device, and program
US6637852B2 (en) Method for media handling in an imaging device
JP2011178114A (en) Operation processing device, and method for detecting displacement during transfer of medium in the same
JP2012025078A (en) Information reading and printing apparatus, control method for the information reading and printing apparatus, and control program
JP2012029121A (en) Reading system, image acquisition device, optical reader, method of regulating image acquisition device, and program
US11077683B2 (en) Image forming apparatus and storage medium
JP2014046459A (en) Electronic apparatus, and control method for the electronic device
JP2007283553A (en) Method for controlling printing medium processor and printing medium processor
CN211467915U (en) Printing device
CN211467914U (en) Printing device
JP5664047B2 (en) Multifunction machine, control method of multi-function machine, and program
JP2009223947A (en) Recording device and method for controlling the same
JP2011040844A (en) Reader, control method of the reader, and program
JP2011146834A (en) Optical reading device, and control method and control program for the same
JP2020138474A (en) Image formation apparatus and program
JP2007288371A (en) Cut paper reader, and control method of cut paper reader
JP2007137034A (en) Control method of print medium processor and print medium processor
JP2011034625A (en) Magnetic information-reading device, method for controlling the same, and program
JP2016088656A (en) Printer