Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7021744B2 - Printer, transfer control device, transfer control method and program - Google Patents
[go: Go Back, main page]

JP7021744B2 - Printer, transfer control device, transfer control method and program - Google Patents

Printer, transfer control device, transfer control method and program Download PDF

Info

Publication number
JP7021744B2
JP7021744B2 JP2018018049A JP2018018049A JP7021744B2 JP 7021744 B2 JP7021744 B2 JP 7021744B2 JP 2018018049 A JP2018018049 A JP 2018018049A JP 2018018049 A JP2018018049 A JP 2018018049A JP 7021744 B2 JP7021744 B2 JP 7021744B2
Authority
JP
Japan
Prior art keywords
unit
print medium
passbook
slip
operator
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.)
Active
Application number
JP2018018049A
Other languages
Japanese (ja)
Other versions
JP2019135181A (en
Inventor
和也 松嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
Original Assignee
NEC Platforms Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2018018049A priority Critical patent/JP7021744B2/en
Publication of JP2019135181A publication Critical patent/JP2019135181A/en
Application granted granted Critical
Publication of JP7021744B2 publication Critical patent/JP7021744B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、プリンタ、搬送制御装置、搬送制御方法及びプログラムに関し、特に、プリンタ、プリンタへの印字媒体の搬入を制御する搬送制御装置、そのための搬送制御方法及びプログラムに関する。 The present invention relates to a printer, a transfer control device, a transfer control method and a program, and more particularly to a transfer control device for controlling the delivery of a print medium to a printer and a printer, and a transfer control method and a program for that purpose.

銀行、農協などの金融機関で取り扱われるプリンタには、通帳、帳票などの印字媒体に印字するタイプのものがある。この種のプリンタは、一般的に、オペレータが予め定められた挿入口などに印字媒体の一部を挿入すると、印字媒体の一部の挿入を検出して印字媒体をプリンタ内部に搬入する。 Some printers handled by financial institutions such as banks and agricultural cooperatives print on print media such as passbooks and forms. In this type of printer, generally, when an operator inserts a part of a print medium into a predetermined insertion slot or the like, the insertion of a part of the print medium is detected and the print medium is carried into the printer.

通帳、帳票などの印字媒体では、金額、日付などの印字内容に応じた印字領域が予め定められていることが多い。そのため、このような印字媒体に印字内容を印字するプリンタでは、通常、印字領域へ正確に印字内容を印字することが必要である。ところが、例えば、印字媒体が予め定められた正しい搬入方向に対して斜めに傾いた状態で搬入されると、印字領域外に印字内容が印字されることがある。 In print media such as passbooks and forms, a print area corresponding to the print content such as amount of money and date is often predetermined. Therefore, in a printer that prints print contents on such a print medium, it is usually necessary to accurately print the print contents on the print area. However, for example, when the print medium is carried in in a state of being tilted diagonally with respect to a predetermined correct carry-in direction, the print contents may be printed outside the print area.

プリンタにおいて印字媒体の斜行を防ぐための技術が種々提案されている。 Various techniques for preventing skewing of the print medium in a printer have been proposed.

例えば特許文献1は、印字媒体検出センサと、タイマと、搬送部とを備える自動印字処理装置を開示する。印字媒体検出センサは、挿入口から印字媒体が挿入されたことを検出する。タイマは、印字媒体が検出された後搬送が開始するまでの遅れ時間を任意に設定する。搬送部は、遅れ時間が経過したとき印字媒体の搬送を開始する。 For example, Patent Document 1 discloses an automatic print processing apparatus including a print medium detection sensor, a timer, and a transport unit. The print medium detection sensor detects that the print medium has been inserted through the insertion slot. The timer arbitrarily sets the delay time from the detection of the print medium to the start of the transfer. The transport unit starts transporting the print medium when the delay time has elapsed.

特許文献1には、個々のオペレータが操作の慣れに応じて最適な時間を遅れ時間に設定することで、印字媒体の方向を修正することができる旨の記載がある。 Patent Document 1 describes that the orientation of the print medium can be corrected by setting the optimum time as the delay time according to the familiarity of the operation by each operator.

例えば特許文献2には、斜行検出器によって斜行が検出された場合、給入動作を一旦停止した後に、用紙を逆走行させて停止させる技術が開示されている。 For example, Patent Document 2 discloses a technique in which, when skew is detected by the skew detector, the feeding operation is temporarily stopped, and then the paper is reversely run to stop.

特開平05-008470号公報Japanese Unexamined Patent Publication No. 05-0088470 特開昭62-259944号公報Japanese Unexamined Patent Publication No. 62-259944

特許文献1に記載された自動印字処理装置では、仮にオペレータが遅れ時間が経過するまでに印字媒体の向きを正しい搬入方向に修正できたとしても、その後もオペレータが印字媒体に触れている可能性がある。このような場合、自動印字処理装置は、搬入を開始したときにオペレータからの力の影響で斜めに傾いた印字媒体を搬入し、その結果、印字領域外に印字する可能性がある。 In the automatic printing processing apparatus described in Patent Document 1, even if the operator can correct the orientation of the print medium to the correct carry-in direction by the time the delay time elapses, there is a possibility that the operator is still in contact with the print medium. There is. In such a case, the automatic print processing device may carry in a print medium tilted diagonally due to the influence of the force from the operator when the carry-in is started, and as a result, print out of the print area.

これを防ぐには、オペレータが印字媒体の搬入開始時に印字媒体から手を離すように注意することが考えられる。しかし、これではオペレータの円滑な業務の遂行を阻害するおそれがある。このように、特許文献1に記載された自動印字処理装置は、印字媒体が搬入される際の操作性が悪い。 To prevent this, it is conceivable that the operator should be careful to take his / her hand off the print medium at the start of carrying in the print medium. However, this may hinder the smooth execution of business by the operator. As described above, the automatic printing processing apparatus described in Patent Document 1 has poor operability when the printing medium is carried in.

また、印字媒体が挿入口を通じて内部に搬入されるプリンタに特許文献2に記載された上記の技術を適用することが考えられる。詳細には、挿入口を通じて内部に搬入された印字媒体の斜行が斜行検出器によって検出された場合、搬入動作を一旦停止した後に、印字媒体を逆走行させて挿入口から搬出することが考えられる。 Further, it is conceivable to apply the above-mentioned technique described in Patent Document 2 to a printer in which a print medium is carried into the inside through an insertion slot. Specifically, when the skew of the print medium carried into the inside through the insertion slot is detected by the skew detector, the print medium may be run backward and carried out from the insertion slot after the carry-in operation is temporarily stopped. Conceivable.

オペレータが印字媒体を斜めに傾いた状態で挿入口へ挿入した場合、特許文献2に記載の技術を適用したプリンタは、斜行検出器が検出する箇所まで印字媒体を搬入した後に、斜行検出器が印字媒体の斜行を検出して印字媒体を搬出する。この印字媒体の搬入から搬出までの間、オペレータが当初の挿入時の状態で印字媒体に触れたままであると、印字媒体は、挿入口に挿入されたまま撓んで搬出されると考えられる。そのため、印字媒体は、再び搬入された後に搬出される。このように、印字媒体の搬入と搬出とが挿入口を通じて繰り返される可能性がある。 When the operator inserts the print medium into the insertion slot in a state of being tilted at an angle, the printer to which the technique described in Patent Document 2 is applied carries the print medium to the position detected by the skew detector and then detects the skew . The device detects the skew of the print medium and carries out the print medium. If the operator keeps touching the print medium in the state at the time of initial insertion from the loading to the unloading of the print medium, it is considered that the print medium is flexed and carried out while being inserted into the insertion slot. Therefore, the print medium is carried out after being carried in again. In this way, the loading and unloading of the print medium may be repeated through the insertion slot.

さらに、印字媒体の搬入と搬出とが繰り返されている間の搬入動作中に、オペレータが印字媒体の方向を修正しようとして印字媒体を引っ張ると、印字媒体が破損するおそれもある。 Further, if the operator pulls the print medium in an attempt to correct the direction of the print medium during the carry-in operation while the print medium is repeatedly carried in and out, the print medium may be damaged.

このような印字媒体の搬入と搬出の繰り返しや破損を防ぐには、オペレータは、印字媒体が搬出されたタイミングを見計らって印字媒体を挿入口から引き出し、その後に、正しい搬入方向で再度、印字媒体を挿入口へ挿入する必要がある。このような操作は、オペレータの円滑な業務の遂行を阻害する可能性が高い。このように、特許文献2に記載された上記の技術を上記のプリンタに適用しても、印字媒体が搬入される際の操作性が悪い。 In order to prevent such repeated loading and unloading of the print medium and damage, the operator pulls out the print medium from the insertion slot at the timing when the print medium is carried out, and then again in the correct loading direction. Needs to be inserted into the insertion slot . Such an operation is likely to hinder the smooth execution of business by the operator. As described above, even if the above technique described in Patent Document 2 is applied to the above printer, the operability when the print medium is carried in is poor.

本発明は、上記の事情に鑑みてなされたものであって、印字媒体が搬入される際の操作性を向上させることが可能なプリンタなどを提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a printer or the like capable of improving operability when a print medium is carried in.

上記の目的を達成するため、本発明の第1の観点に係るプリンタは、
オペレータにより第1の印字媒体が挿入される第1の挿入部と、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域を撮影する撮像部と、
前記撮像部によって撮影された前記撮像領域の画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定する接触判定部と、
前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部と、
前記オペレータが前記第1の印字媒体に接触していると前記接触判定部によって判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御する搬送制御部とを備える。
In order to achieve the above object, the printer according to the first aspect of the present invention is
A first insertion section into which the first print medium is inserted by the operator,
When a part of the first print medium is inserted into the first insertion unit, an image pickup unit that captures an image pickup region including an uninserted portion of the first print medium, and an image pickup unit.
A contact determination unit that determines whether or not the operator is in contact with the first print medium based on the image information of the image pickup region captured by the image pickup unit.
A first transport unit that carries in the first print medium inserted into the first insertion unit from the first insertion unit, and a first transport unit.
When the contact determination unit determines that the operator is in contact with the first print medium, the transfer control unit that controls the first transfer unit so as not to carry in the first print medium. Be prepared.

上記の目的を達成するため、本発明の第2の観点に係る搬送制御装置は、
オペレータにより第1の印字媒体が挿入される第1の挿入部と、前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部とを備えるプリンタによる前記第1の印字媒体の搬入を制御する搬送制御装置であって、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域の画像情報を取得する画像取得部と、
前記画像取得部によって取得された前記画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定する接触判定部と、
前記オペレータが前記第1の印字媒体に接触していると前記接触判定部によって判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御する搬送制御部とを備える。
In order to achieve the above object, the transfer control device according to the second aspect of the present invention is
A first insertion section into which a first print medium is inserted by an operator, and a first transfer section for carrying in the first print medium inserted into the first insertion section from the first insertion section. A transport control device for controlling the carry-in of the first print medium by a printer including the above.
An image acquisition unit that acquires image information of an imaging region including an uninserted portion of the first print medium when a part of the first print medium is inserted into the first insertion unit.
A contact determination unit that determines whether or not the operator is in contact with the first print medium based on the image information acquired by the image acquisition unit.
When the contact determination unit determines that the operator is in contact with the first print medium, the transfer control unit that controls the first transfer unit so as not to carry in the first print medium. Be prepared.

上記の目的を達成するため、本発明の第3の観点に係る搬送制御方法は、
オペレータにより第1の印字媒体が挿入される第1の挿入部と、前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部とを備えるプリンタによる前記第1の印字媒体の搬入を制御する搬入制御方法であって、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域の画像情報を取得することと、
前記取得された画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定することと、
前記オペレータが前記第1の印字媒体に接触していると判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御することとを含む。
In order to achieve the above object, the transport control method according to the third aspect of the present invention is
A first insertion section into which a first print medium is inserted by an operator, and a first transfer section for carrying in the first print medium inserted into the first insertion section from the first insertion section. A carry-in control method for controlling the carry-in of the first print medium by a printer comprising the above.
When a part of the first print medium is inserted into the first insertion portion, the image information of the imaging region including the uninserted portion of the first print medium is acquired.
Based on the acquired image information, it is determined whether or not the operator is in contact with the first print medium.
When it is determined that the operator is in contact with the first print medium, the operation includes controlling the first transport unit so as not to carry in the first print medium.

上記の目的を達成するため、本発明の第4の観点に係るプログラムは、
オペレータにより第1の印字媒体が挿入される第1の挿入部と、前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部とを備えるプリンタによる前記第1の印字媒体の搬入を制御するためのコンピュータに、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域の画像情報を取得することと、
前記取得された画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定することと、
前記オペレータが前記第1の印字媒体に接触していると判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御することとを実行させるための
プログラムである。
In order to achieve the above object, the program according to the fourth aspect of the present invention is
A first insertion section into which a first print medium is inserted by an operator, and a first transfer section for carrying in the first print medium inserted into the first insertion section from the first insertion section. To a computer for controlling the carry-in of the first print medium by a printer including
When a part of the first print medium is inserted into the first insertion portion, the image information of the imaging region including the uninserted portion of the first print medium is acquired.
Based on the acquired image information, it is determined whether or not the operator is in contact with the first print medium.
When it is determined that the operator is in contact with the first print medium, it is a program for controlling the first transport unit so as not to carry in the first print medium. ..

本発明によれば、印字媒体が搬入される際の操作性を向上させることが可能になる。 According to the present invention, it is possible to improve the operability when the print medium is carried in.

本発明の一実施の形態に係るプリンタの平面図である。It is a top view of the printer which concerns on one Embodiment of this invention. 図1のII-II線における側方断面図である。It is a side sectional view in line II-II of FIG. 一実施の形態に係るプリンタ本体の機能的な構成を示す図である。It is a figure which shows the functional structure of the printer main body which concerns on one Embodiment. プリンタ制御部の物理的な構成の一例を示す図である。It is a figure which shows an example of the physical structure of a printer control part. 一実施の形態に係る撮像ユニットの機能的な構成を示す図である。It is a figure which shows the functional structure of the image pickup unit which concerns on one Embodiment. 印字媒体情報の一例を示す図である。It is a figure which shows an example of the print medium information. 基準情報の一例を示す図である。It is a figure which shows an example of a reference information. 撮像ユニットの物理的な構成の一例を示す図である。It is a figure which shows an example of the physical structure of an image pickup unit. 本発明の一実施の形態に係る搬送制御処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the transfer control processing which concerns on one Embodiment of this invention. 通帳が通帳保持部に保持された直後のオペレータ及びプリンタの側方断面図である。It is a side sectional view of an operator and a printer immediately after the passbook is held in the passbook holding part. 通帳搬送処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a passbook transport process. 通帳搬送処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a passbook transport process. 通帳が通帳保持部に保持された直後のオペレータ及びプリンタの平面図である。It is a top view of the operator and the printer immediately after the passbook is held in the passbook holding part. 通帳が通帳保持部に保持された後にオペレータが通帳から手を離したときのオペレータ及びプリンタの平面図である。It is a top view of the operator and the printer when the operator releases the passbook after the passbook is held by the passbook holder. 通帳が傾いて通帳保持部に挿入された例を示す平面図である。It is a top view which shows the example which the passbook is tilted and inserted into the passbook holding part. 伝票が伝票保持部に保持された直後のオペレータ及びプリンタの側方断面図である。It is a side sectional view of an operator and a printer immediately after a slip is held in a slip holding part. 伝票搬送処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a slip transfer process. 伝票搬送処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a slip transfer process. 伝票挿入部に伝票が挿入された直後のオペレータ及びプリンタの側方断面図である。It is a side sectional view of an operator and a printer immediately after a slip is inserted in a slip insertion part. 伝票が伝票保持部に保持された後にオペレータが伝票から手を離したときのオペレータ及びプリンタの平面図である。It is a top view of the operator and the printer when the operator releases the hand after the slip is held in the slip holding part. 伝票が傾いて通帳保持部に挿入された例を示す平面図である。It is a top view which shows the example which the slip was tilted and inserted into the passbook holding part. 変形例2に係る搬送制御装置の構成の一例を示す図である。It is a figure which shows an example of the structure of the transfer control apparatus which concerns on modification 2.

本発明の一実施の形態について図面を参照して説明する。以下の説明において、前、後、上、下、左、右の方向を表す用語は、説明のために用いるのであって、本発明を限定する趣旨ではない。 An embodiment of the present invention will be described with reference to the drawings. In the following description, the terms indicating the front, back, up, down, left, and right directions are used for explanation and are not intended to limit the present invention.

<プリンタ100の構成>
本発明の一実施の形態に係るプリンタ100は、銀行、農協などの金融機関の接客窓口などに設置され、そこで利用される通帳及び伝票に印刷する通伝プリンタである。本実施の形態の説明に用いる通帳と伝票とは、それぞれ、予め定められた異なる2種の印字媒体としての第1の印字媒体と第2の印字媒体との例である。
<Configuration of printer 100>
The printer 100 according to an embodiment of the present invention is a transmission printer installed at a customer service counter of a financial institution such as a bank or an agricultural cooperative, and prints on a passbook or slip used there. The passbook and the slip used in the description of the present embodiment are examples of a first print medium and a second print medium as two types of predetermined print media, respectively.

なお、印字媒体は、プリンタ100が印字する媒体であればよく、通帳、伝票に限られない。例えば、通帳、伝票以外の冊子、用紙などが第1の印字媒体と第2の印字媒体との各々に適宜採用されてよい。また、第1の印字媒体と第2の印字媒体とは、本実施の形態とは異なり、同種の印字媒体であってもよく、同じ印字媒体であってもよい。 The printing medium may be any medium as long as it is printed by the printer 100, and is not limited to passbooks and slips. For example, a passbook, a booklet other than a slip, paper, or the like may be appropriately adopted for each of the first printing medium and the second printing medium. Further, the first print medium and the second print medium may be the same type of print medium or the same print medium, unlike the present embodiment.

プリンタ100は、平面図である図1と図1のII-II線における側方断面図である図2に示すように、プリンタ本体101と、撮像ユニット102と、支持部144とを備える。 The printer 100 includes a printer main body 101, an image pickup unit 102, and a support portion 144, as shown in FIG. 1 which is a plan view and FIG. 2 which is a side sectional view taken along line II-II of FIG.

プリンタ本体101は、通帳又は伝票に印字する装置である。プリンタ本体101は、筐体103を備える。また、プリンタ本体101は、筐体103の内部に、ローラFR1~FR6,TR1~TR6、ガイドG1~G6、ゲートGT、発光素子S1,S2及び受光素子S3,S4、印字ヘッドPH、めくりローラPTR及びプリンタ制御部104を備える。 The printer main body 101 is a device for printing on a passbook or a slip. The printer main body 101 includes a housing 103. Further, the printer main body 101 has rollers FR1 to FR6, TR1 to TR6, guides G1 to G6, a gate GT, light emitting elements S1 and S2, light receiving elements S3 and S4, a print head PH, and a turning roller PTR inside the housing 103. And a printer control unit 104.

筐体103は、図1及び図2に示すように、通帳挿入部105と、伝票挿入部106と、通帳載置部107と、伝票載置部108とを含む。筐体103は、樹脂、金属などの適宜の材料で作られるとよい。 As shown in FIGS. 1 and 2, the housing 103 includes a passbook insertion unit 105, a slip insertion unit 106, a passbook placement unit 107, and a slip placement unit 108. The housing 103 may be made of an appropriate material such as resin or metal.

通帳挿入部105は、通帳を筐体103の中へ搬入させる際に、オペレータが通帳を挿入する部位である。また、通帳挿入部105は、通帳が筐体103の外へ搬出される際に、通帳が通過する部位でもある。通帳挿入部105は、第1の挿入部に相当する。 The passbook insertion unit 105 is a portion where the operator inserts the passbook when the passbook is carried into the housing 103. Further, the passbook insertion unit 105 is also a portion through which the passbook passes when the passbook is carried out of the housing 103. The passbook insertion portion 105 corresponds to the first insertion portion.

伝票挿入部106は、伝票を筐体103の中へ搬入させる際に、オペレータが伝票を挿入する部位である。また、伝票挿入部106は、伝票が筐体103の外へ搬出される際に、伝票が通過する部位でもある。伝票挿入部106は、第2の挿入部に相当する。 The slip insertion unit 106 is a portion where the operator inserts the slip when the slip is carried into the housing 103. The slip insertion unit 106 is also a portion through which the slip passes when the slip is carried out of the housing 103. The slip insertion unit 106 corresponds to the second insertion unit.

本実施の形態では、通帳挿入部105と伝票挿入部106との各々は、後方から見て概ね左右に長い矩形のスリットを形成する。 In the present embodiment, each of the passbook insertion unit 105 and the slip insertion unit 106 forms a rectangular slit that is substantially long to the left and right when viewed from the rear.

通帳載置部107は、通帳を通帳挿入部105に挿入する際に、通帳を載せ置くための部位である。また、通帳載置部107は、筐体103の中から通帳挿入部105を通って搬出された通帳を受ける部位でもある。通帳載置部107は、第1の載置部に相当する。 The passbook placing section 107 is a portion for placing the passbook when inserting the passbook into the passbook inserting section 105. Further, the passbook placing portion 107 is also a portion for receiving the passbook carried out from the housing 103 through the passbook inserting portion 105. The passbook mounting unit 107 corresponds to the first mounting unit.

通帳載置部107には、予め定められた模様が設けられている。本実施の形態に係る通帳載置部107には、図1に示すように、格子状の模様が付されている。 The passbook placing portion 107 is provided with a predetermined pattern. As shown in FIG. 1, the passbook placing portion 107 according to the present embodiment is provided with a grid-like pattern.

伝票載置部108は、伝票を伝票挿入部106へ挿入する際に、伝票を載せ置くための部位である。また、伝票載置部108は、筐体103の中から伝票挿入部106を通って搬出された伝票を受ける部位でもある。伝票載置部108は、第2の載置部に相当する。 The slip placing unit 108 is a part for placing a slip when inserting the slip into the slip inserting unit 106. Further, the slip placing unit 108 is also a portion for receiving a slip carried out from the housing 103 through the slip inserting unit 106. The slip mounting unit 108 corresponds to the second mounting unit.

伝票載置部108には、予め定められた模様が設けられている。本実施の形態に係る伝票載置部108には、図1に示すように、通帳載置部107とは異なるドット状の模様が付されている。 The slip placing portion 108 is provided with a predetermined pattern. As shown in FIG. 1, the slip placing portion 108 according to the present embodiment has a dot-shaped pattern different from that of the passbook placing portion 107 .

通帳載置部107と伝票載置部108との各々に付される模様は、印刷、シールなどによって設けられてもよく、表面の凹凸などによって立体的に設けられていてもよい。通帳載置部107と伝票載置部108との各々に設けられる模様には、幾何学的に繰り返す模様が好適に採用される。なお、通帳載置部107と伝票載置部108とには、本実施の形態とは異なり、同じ模様が設けられてもよい。 The pattern attached to each of the passbook placing portion 107 and the slip placing portion 108 may be provided by printing, a sticker, or the like, or may be provided three-dimensionally by unevenness of the surface or the like. A geometrically repeating pattern is preferably adopted as the pattern provided in each of the passbook placing portion 107 and the slip placing portion 108. The passbook placing unit 107 and the slip placing unit 108 may be provided with the same pattern, unlike the present embodiment.

また、プリンタ本体101は機能的に、図3に示すように、通帳検出部109、通帳保持部110、通帳搬送部111、伝票検出部112、伝票保持部113、伝票搬送部114、切替部115、印字部116及びプリンタ制御部104を備える。これらは、筐体103の内部に物理的に備えられる上述の構成によって発揮される機能である。以下では、筐体103の内部の物理的な構成と、それによって発揮される機能的な構成とを対応付けて説明する。 Further, functionally, as shown in FIG. 3, the printer main body 101 functionally has a passbook detection unit 109, a passbook holding unit 110, a passbook transport unit 111, a slip detection unit 112, a slip holding unit 113, a slip transport unit 114, and a switching unit 115. , The printing unit 116 and the printer control unit 104 are provided. These are the functions exhibited by the above-mentioned configuration physically provided inside the housing 103. Hereinafter, the physical configuration inside the housing 103 and the functional configuration exhibited by the physical configuration will be described in association with each other.

なお、図3では、プリンタ本体101が備える機能的な構成のうち、通帳挿入部105、伝票挿入部106、通帳載置部107及び伝票載置部108は、プリンタ制御部104との間で情報を授受しないため、図示省略している。 In addition, in FIG. 3, among the functional configurations provided in the printer main body 101, the passbook insertion unit 105, the slip insertion unit 106, the passbook placement unit 107, and the slip placement unit 108 have information between the printer control unit 104 and the printer control unit 104. Is not shown because it does not give or receive.

通帳検出部109は、通帳挿入部105への通帳の一部の挿入を検出する。通帳検出部109は、検出した結果を含む通帳検出情報をプリンタ制御部104へ出力する。通帳検出部109は、第1の検出部に相当する。 The passbook detection unit 109 detects the insertion of a part of the passbook into the passbook insertion unit 105. The passbook detection unit 109 outputs the passbook detection information including the detected result to the printer control unit 104. The passbook detection unit 109 corresponds to the first detection unit.

通帳検出部109は物理的には、図2に示すように、赤外線を発する素子である発光素子S1、赤外線を受光しているか否かに応じた信号を出力する受光素子S3などから構成される。発光素子S1と受光素子S3とは、図2に示すように、通帳挿入部105の近傍に対応付けて配置されている。 As shown in FIG. 2, the passbook detection unit 109 is physically composed of a light emitting element S1 which is an element that emits infrared rays, a light receiving element S3 that outputs a signal depending on whether or not infrared rays are received, and the like. .. As shown in FIG. 2, the light emitting element S1 and the light receiving element S3 are arranged in association with each other in the vicinity of the passbook insertion portion 105.

通帳挿入部105を通じて筐体103の内部に通帳が挿入されていなければ、受光素子S3は、発光素子S1からの赤外線を受光する。通帳が通帳挿入部105から挿入されると発光素子S1からの赤外線が通帳で遮られ、受光素子S3は赤外線を受光できなくなる。そのため、受光素子S3が赤外線を受光しているか否かに応じて、通帳の挿入を検出することができる。 If the passbook is not inserted inside the housing 103 through the passbook insertion portion 105, the light receiving element S3 receives infrared rays from the light emitting element S1. When the passbook is inserted from the passbook insertion unit 105, the infrared rays from the light emitting element S1 are blocked by the passbook, and the light receiving element S3 cannot receive the infrared rays. Therefore, the insertion of the passbook can be detected depending on whether or not the light receiving element S3 receives infrared rays.

なお、通帳検出部109は、これに限られず、例えば接触を検知するタッチセンサなどから構成されてもよい。 The passbook detection unit 109 is not limited to this, and may be composed of, for example, a touch sensor that detects contact.

再び、図3を参照する。
通帳保持部110は、通帳検出部109によって通帳の挿入が検出されたとき、プリンタ制御部104の制御の下で、通帳挿入部105に挿入された通帳を保持する。
See again in FIG.
When the passbook detection unit 109 detects the insertion of the passbook, the passbook holding unit 110 holds the passbook inserted in the passbook insertion unit 105 under the control of the printer control unit 104.

通帳保持部110は物理的には、図2に示すように、筐体103の中で通帳が搬送される搬送路である通帳搬送路において通帳挿入部105と通帳検出部109との間に設けられたローラTR1及びFR1などから構成される。 As shown in FIG. 2, the passbook holding unit 110 is physically provided between the passbook inserting unit 105 and the passbook detecting unit 109 in the passbook transport path, which is a transport path in which the passbook is transported in the housing 103. It is composed of the rollers TR1 and FR1 and the like.

ローラTR1は、いわゆるテンションローラである。ローラTR1は、プリンタ制御部104の制御の下で、図示しないモータなどの力を受けてローラFR1から遠い位置とローラFR1に近い位置との間で位置を変動させることができる。図2では、ローラFR1から遠い位置のローラTR1_Rを実線で示し、ローラFR1に近い位置のローラTR1_Hを点線で示している。 The roller TR1 is a so-called tension roller. Under the control of the printer control unit 104, the roller TR1 can change its position between a position far from the roller FR1 and a position close to the roller FR1 by receiving a force such as a motor (not shown). In FIG. 2, the roller TR1_R located far from the roller FR1 is shown by a solid line, and the roller TR1_H located near the roller FR1 is shown by a dotted line.

ローラFR1は、プリンタ制御部104の制御の下で、図示しないモータなどからの力を受けて左右方向の軸を中心に回転する、いわゆるフォワードローラである。 The roller FR1 is a so-called forward roller that rotates about an axis in the left-right direction under the control of the printer control unit 104 by receiving a force from a motor or the like (not shown).

ローラTR1がローラFR1の遠くに位置する場合、ローラTR1_RとローラFR1とは、通帳の厚さよりも十分に長い距離離れている。そのため、この場合にオペレータが通帳挿入部105から通帳を挿入すると、ローラTR1及びFR1の間を通って、さらにその前方の通帳検出部109に至るまで通帳を挿し入れることができる。 When the roller TR1 is located far away from the roller FR1, the roller TR1_R and the roller FR1 are separated by a distance sufficiently longer than the thickness of the passbook. Therefore, in this case, when the operator inserts the passbook from the passbook insertion unit 105, the passbook can be inserted through between the rollers TR1 and FR1 and further to the passbook detection unit 109 in front of the roller TR1 and FR1.

ローラTR1がローラFR1の近くに位置する場合、ローラTR1_HとローラFR1とは、通帳の厚さよりも十分に短い距離で接近又は密着している。そのため、この場合、ローラTR1_HとローラFR1との間に位置する通帳は、これらのローラTR1_H及びFR1によって挟まれ、通帳の移動はローラFR1の回転動作に従うことになる。 When the roller TR1 is located near the roller FR1, the roller TR1_H and the roller FR1 are close to each other or in close contact with each other at a distance sufficiently shorter than the thickness of the passbook. Therefore, in this case, the passbook located between the roller TR1_H and the roller FR1 is sandwiched between the rollers TR1_H and FR1, and the movement of the passbook follows the rotational operation of the roller FR1.

例えば、通帳検出部109によって通帳の挿入が検出されたとき、ローラTR1は、ローラFR1の遠く(ローラTR1_R)から近く(ローラTR1_H)へ移動する。このとき、ローラFR1は、回転しないように回転軸が固定されている。これにより、ローラTR1_HとローラFR1とは、通帳挿入部105に挿入された通帳を挟んで、この通帳が移動しないように保持することができる。その後、ローラFR1が回転すると、ローラTR1_Hとの間で挟まれた通帳は、ローラFR1の回転に伴って搬送される。 For example, when the passbook detection unit 109 detects the insertion of a passbook, the roller TR1 moves from far (roller TR1_R) to near (roller TR1_H) of the roller FR1. At this time, the rotation axis of the roller FR1 is fixed so as not to rotate. As a result, the roller TR1_H and the roller FR1 can hold the passbook inserted in the passbook insertion unit 105 so as not to move. After that, when the roller FR1 rotates, the passbook sandwiched between the roller FR1 and the roller TR1_H is conveyed along with the rotation of the roller FR1.

再び、図3を参照する。
通帳搬送部111は、プリンタ制御部104の制御の下で、通帳搬送路に沿って通帳を搬送する。詳細には、通帳搬送部111は、通帳挿入部105に挿入された通帳を通帳挿入部105から筐体103の中へ搬入する。また、通帳搬送部111は、印字が終了したときなどに、通帳を筐体103の外へ搬出する。通帳搬送部111は、第1の搬送部に相当する。
See again in FIG.
The passbook transport unit 111 transports the passbook along the passbook transport path under the control of the printer control unit 104. Specifically, the passbook transport unit 111 carries the passbook inserted into the passbook insertion unit 105 into the housing 103 from the passbook insertion unit 105. Further, the passbook transport unit 111 carries out the passbook to the outside of the housing 103 when printing is completed. The passbook transport unit 111 corresponds to the first transport unit.

通帳搬送部111は物理的には、図2に示すように、ローラTR1~TR2及びFR1~FR2などから構成される。また、通帳搬送路は、ガイドG1、ガイドG2の一部、ローラTR1~TR2及びFR1~FR2などから構成される。 As shown in FIG. 2, the passbook transport unit 111 is physically composed of rollers TR1 to TR2, FR1 to FR2, and the like. Further, the passbook transport path is composed of a guide G1, a part of the guide G2, rollers TR1 to TR2, FR1 to FR2, and the like.

ガイドG1,G2の各々は、例えば予め定められた間隔で概ね互いに平行に前後左右に延在する板状の部材から構成され、これらの部材の間に搬送路を形成する。ガイドG1,G2の各々を構成する板状の部材は、金属や樹脂で作られるとよい。 Each of the guides G1 and G2 is composed of, for example, plate-shaped members extending in front, back, left and right substantially parallel to each other at predetermined intervals, and forms a transport path between these members. The plate-shaped members constituting each of the guides G1 and G2 may be made of metal or resin.

ガイドG1は、通帳挿入部105の近傍に設けられたスリットを含む。上述の発光素子S1と受光素子S3とは、ガイドG1に設けられたスリットを介して対置されている。これにより、受光素子S3は、上述のように、ガイドG1に設けられたスリットを通じて発光素子S1からの赤外線を受光することができる。 The guide G1 includes a slit provided in the vicinity of the passbook insertion portion 105. The light emitting element S1 and the light receiving element S3 described above are opposed to each other via a slit provided in the guide G1. As a result, the light receiving element S3 can receive infrared rays from the light emitting element S1 through the slit provided in the guide G1 as described above.

ガイドG2を構成する板状の部材の一方(図2では上方に設けられた部材)には、左右に延びるスリットSLが設けられている。ガイドG1と、ガイドG2のスリットSLより後方に設けられた部分とにより形成される搬送路が、通帳搬送路となる。 One of the plate-shaped members constituting the guide G2 (the member provided above in FIG. 2) is provided with a slit SL extending to the left and right. The transport path formed by the guide G1 and the portion of the guide G2 provided behind the slit SL is the passbook transport path.

ローラTR1及びFR1は、通帳搬送路に沿う方向において通帳挿入部105とガイドG1の後端との間に位置しており、上述した構成を備える。ローラFR1は、プリンタ制御部104の制御の下で、その近くに位置付けられたローラTR1_Hとの間で通帳を挟んで回転することによって、通帳搬送路に沿って通帳を搬送する。 The rollers TR1 and FR1 are located between the passbook insertion portion 105 and the rear end of the guide G1 in the direction along the passbook transport path, and have the above-described configuration. Under the control of the printer control unit 104, the roller FR1 rotates with the passbook sandwiched between the roller TR1_H and the roller TR1_H located near the roller FR1 to convey the passbook along the passbook transfer path.

ローラTR2及びFR2は、通帳搬送路に沿う方向においてガイドG1の前端とガイドG2の後端との間に位置している。ローラTR2は、いわゆるテンションローラである。ローラFR2は、プリンタ制御部104の制御の下で、図示しないモータなどからの力を受けて左右方向の軸を中心に回転する、いわゆるフォワードローラである。ローラTR2及びFR2は、通帳を予め定められた圧力で挟むことができるように対応づけて構成されている。ローラFR2は、ローラTR2との間で通帳を挟んで回転することによって、通帳搬送路に沿って通帳を搬送する。 The rollers TR2 and FR2 are located between the front end of the guide G1 and the rear end of the guide G2 in the direction along the passbook transport path. The roller TR2 is a so-called tension roller. The roller FR2 is a so-called forward roller that rotates about an axis in the left-right direction under the control of the printer control unit 104 by receiving a force from a motor or the like (not shown). The rollers TR2 and FR2 are configured so as to be able to sandwich the passbook with a predetermined pressure. The roller FR2 transports the passbook along the passbook transport path by rotating with the passbook sandwiched between the roller FR2 and the roller TR2.

再び、図3を参照する。
伝票検出部112は、伝票挿入部106への伝票の一部の挿入を検出する。伝票検出部112は、検出した結果を含む伝票検出情報をプリンタ制御部104へ出力する。伝票検出部112は、第2の検出部に相当する。
See again in FIG.
The slip detection unit 112 detects the insertion of a part of the slip into the slip insertion unit 106. The slip detection unit 112 outputs the slip detection information including the detected result to the printer control unit 104. The slip detection unit 112 corresponds to the second detection unit.

伝票検出部112は物理的には、図2に示すように、赤外線を発する素子である発光素子S2、赤外線を受光しているか否かに応じた信号を出力する受光素子S4などから構成される。発光素子S2と受光素子S4とは、図2に示すように、伝票挿入部106の近傍に対応付けて配置されている。 As shown in FIG. 2, the slip detection unit 112 is physically composed of a light emitting element S2 which is an element that emits infrared rays, a light receiving element S4 that outputs a signal depending on whether or not infrared rays are received, and the like. .. As shown in FIG. 2, the light emitting element S2 and the light receiving element S4 are arranged in association with each other in the vicinity of the slip insertion unit 106.

伝票挿入部106を通じて筐体103の内部に伝票が挿入されていなければ、受光素子S4は、発光素子S2からの赤外線を受光する。伝票が伝票挿入部106から挿入されると発光素子S2からの赤外線が伝票で遮られ、受光素子S4は赤外線を受光できなくなる。そのため、受光素子S4が赤外線を受光しているか否かに応じて、伝票の挿入を検出することができる。 If the slip is not inserted inside the housing 103 through the slip insertion unit 106, the light receiving element S4 receives infrared rays from the light emitting element S2. When the slip is inserted from the slip insertion unit 106, the infrared rays from the light emitting element S2 are blocked by the slip, and the light receiving element S4 cannot receive the infrared rays. Therefore, the insertion of the slip can be detected depending on whether or not the light receiving element S4 receives infrared rays.

なお、伝票検出部112は、これに限られず、例えば接触を検知するタッチセンサなどから構成されてもよい。 The slip detection unit 112 is not limited to this, and may be composed of, for example, a touch sensor that detects contact.

再び、図3を参照する。
伝票保持部113は、伝票検出部112によって伝票の挿入が検出されたとき、プリンタ制御部104の制御の下で、伝票挿入部106に挿入された伝票を保持する。
See again in FIG.
When the slip detection unit 112 detects the insertion of a slip, the slip holding unit 113 holds the slip inserted in the slip insertion unit 106 under the control of the printer control unit 104.

伝票保持部113は物理的には、図2に示すように、筐体103の中で伝票が搬送される搬送路である伝票搬送路において伝票挿入部106と伝票検出部112との間に設けられたローラTR3及びFR3などから構成される。 As shown in FIG. 2, the slip holding section 113 is physically provided between the slip inserting section 106 and the slip detecting section 112 in the slip transport path, which is a transport path in which the slip is transported in the housing 103. It is composed of the rollers TR3, FR3 and the like.

ローラTR3は、いわゆるテンションローラである。ローラTR3は、プリンタ制御部104の制御の下で、図示しないモータなどの力を受けてローラFR3から遠い位置とローラFR3に近い位置との間で位置を変動させることができる。図2では、ローラFR3から遠い位置のローラTR3_Rを実線で示し、ローラFR3に近い位置のローラTR3_Hを点線で示している。 The roller TR3 is a so-called tension roller. Under the control of the printer control unit 104, the roller TR3 can change its position between a position far from the roller FR3 and a position close to the roller FR3 by receiving a force such as a motor (not shown). In FIG. 2, the roller TR3_R located far from the roller FR3 is shown by a solid line, and the roller TR3_H located near the roller FR3 is shown by a dotted line.

ローラFR3は、プリンタ制御部104の制御の下で、図示しないモータなどからの力を受けて左右方向の軸を中心に回転する、いわゆるフォワードローラである。 The roller FR3 is a so-called forward roller that rotates about an axis in the left-right direction under the control of the printer control unit 104 by receiving a force from a motor or the like (not shown).

ローラTR3がローラFR3の遠くに位置する場合、ローラTR3_RとローラFR3とは、伝票の厚さよりも十分に長い距離離れている。そのため、この場合にオペレータが伝票挿入部106から伝票を挿入すると、ローラTR3及びFR3との間を通って、さらにその前方の伝票検出部112に至るまで伝票を挿し入れることができる。 When the roller TR3 is located far away from the roller FR3, the roller TR3_R and the roller FR3 are separated by a distance sufficiently longer than the thickness of the slip. Therefore, in this case, when the operator inserts the slip from the slip insertion unit 106, the slip can be inserted between the rollers TR3 and FR3 and further to the slip detection unit 112 in front of the roller TR3 and FR3.

ローラTR3がローラFR3の近くに位置する場合、ローラTR3_HとローラFR3とは、伝票の厚さよりも十分に短い距離で接近又は密着している。そのため、この場合、ローラTR3_HとローラFR3との間に位置する伝票は、これらのローラTR3_H及びFR3によって挟まれ、伝票の移動はローラFR3の回転動作に従うことになる。 When the roller TR3 is located near the roller FR3, the roller TR3_H and the roller FR3 are close to each other or in close contact with each other at a distance sufficiently shorter than the thickness of the slip. Therefore, in this case, the slip located between the roller TR3_H and the roller FR3 is sandwiched between the rollers TR3_H and FR3, and the movement of the slip follows the rotational operation of the roller FR3.

例えば、伝票検出部112によって伝票の挿入が検出されたとき、ローラTR3は、ローラFR3の遠く(ローラTR3_R)から近く(ローラTR3_H)へ移動する。このとき、ローラFRは、回転しないように回転軸が固定されている。これにより、ローラTR3_HとローラFR3とは、伝票挿入部106に挿入された伝票を挟んで、この伝票が移動しないように保持することができる。その後、ローラFR3が回転すると、ローラTR3_Hとの間で挟まれた通帳は、ローラFR3の回転に伴って搬送される。 For example, when the slip detection unit 112 detects the insertion of a slip, the roller TR3 moves from far (roller TR3_R) to near (roller TR3_H) of the roller FR3. At this time, the rotation axis of the roller FR 3 is fixed so as not to rotate. As a result, the roller TR3_H and the roller FR3 can hold the slip inserted in the slip insertion unit 106 so that the slip does not move. After that, when the roller FR3 rotates, the passbook sandwiched between the roller FR3 and the roller TR3_H is conveyed along with the rotation of the roller FR3.

再び、図3を参照する。
伝票搬送部114は、プリンタ制御部104の制御の下で、伝票搬送路に沿って伝票を搬送する。詳細には、伝票搬送部114は、伝票挿入部106に挿入された伝票を筐体103の中へ搬入する。また、伝票搬送部114は、印字が終了したときなどに、伝票を筐体103の外へ搬出する。伝票搬送部114は、第2の搬送部に相当する。
See again in FIG.
The slip transport unit 114 transports slips along the slip transport path under the control of the printer control unit 104. Specifically, the slip transfer unit 114 carries the slip inserted into the slip insertion unit 106 into the housing 103. Further, the slip transfer unit 114 carries out the slip to the outside of the housing 103 when printing is completed. The slip transport unit 114 corresponds to the second transport unit.

伝票搬送部114は物理的には、図2に示すように、ローラTR3及びFR3などから構成される。また、伝票搬送路は、ガイドG3、ローラTR3及びFR3、ゲートGTなどから構成される。 As shown in FIG. 2, the slip transfer unit 114 is physically composed of rollers TR3, FR3, and the like. Further, the slip transport path is composed of a guide G3, rollers TR3 and FR3, a gate GT and the like.

ガイドG3は、例えば予め定められた間隔で概ね互いに平行に傾斜して、左右方向及び前下方に延在する板状の部材から構成され、これらの部材の間に伝票搬送路を形成する。ガイドG3を構成する板状の部材は、金属や樹脂で作られるとよい。 The guide G3 is composed of plate-shaped members extending in the left-right direction and forward and downward, for example, inclined substantially parallel to each other at predetermined intervals, and forms a slip transport path between these members. The plate-shaped member constituting the guide G3 may be made of metal or resin.

ガイドG3は、伝票挿入部106の近傍に設けられたスリットを含む。上述の発光素子S2と受光素子S4とは、ガイドG3に設けられたスリットを介して対置されている。これにより、受光素子S4は、上述のように、ガイドG3に設けられたスリットを通じて発光素子S2からの赤外線を受光することができる。 The guide G3 includes a slit provided in the vicinity of the slip insertion portion 106. The light emitting element S2 and the light receiving element S4 described above are opposed to each other via a slit provided in the guide G3. As a result, the light receiving element S4 can receive infrared rays from the light emitting element S2 through the slit provided in the guide G3 as described above.

ローラTR3及びFR3は、伝票搬送路に沿う方向において伝票挿入部106とガイドG3の後端との間に位置しており、上述した構成を備える。ローラFR3は、その近くに位置付けられたローラTR3_Hとの間に伝票を挟んで回転することによって、伝票搬送路に沿って伝票を搬送する。 The rollers TR3 and FR3 are located between the slip insertion portion 106 and the rear end of the guide G3 in the direction along the slip transport path, and have the above-described configuration. The roller FR3 transports the slip along the slip transport path by rotating the roller FR3 with the slip sandwiched between the roller TR3_H and the roller TR3_H located near the roller FR3.

再び、図3を参照する。
切替部115は、プリンタ制御部104の制御の下で、通帳搬送路と伝票搬送路とのいずれを、印字のために通帳又は伝票が搬送される印字搬送路に接続するかを切り替える。
See again in FIG.
Under the control of the printer control unit 104, the switching unit 115 switches whether to connect the passbook transport path or the slip transport path to the print transport path on which the passbook or the slip is transported for printing.

切替部115は物理的には、図2に示すように、ゲートGT、図示しないソレノイドなどから構成される。 As shown in FIG. 2, the switching unit 115 is physically composed of a gate GT, a solenoid (not shown), and the like.

ゲートGTは、プリンタ制御部104の制御の下で、ソレノイドの力を受けて動作することによってその先端の位置がガイドG2のスリットSLの中と外とで切り替わる。詳細には、ゲートGTの先端がスリットSLの中に位置付けられていると、通帳搬送路と印字搬送路とは遮断され、伝票搬送路と印字搬送路とが接続する。ゲートGTの先端がスリットSLの外に位置付けられていると、通帳搬送路と印字搬送路とが接続し、伝票搬送路と印字搬送路とは遮断される。 The gate GT operates under the control of the printer control unit 104 under the force of a solenoid, so that the position of the tip thereof is switched between the inside and the outside of the slit SL of the guide G2. Specifically, when the tip of the gate GT is positioned in the slit SL, the passbook transport path and the print transport path are blocked, and the slip transport path and the print transport path are connected. When the tip of the gate GT is positioned outside the slit SL, the passbook transport path and the print transport path are connected, and the slip transport path and the print transport path are cut off.

再び、図3を参照する。
印字部116は、プリンタ制御部104の制御の下で、印字搬送路に搬入されてきた通帳又は伝票に印字する。詳細には、印字部116は、プリンタ制御部104の制御の下で、印字搬送路に沿って通帳又は伝票を移動させ、必要に応じて通帳のページをめくって、通帳又は伝票に印字する。これによって、プリンタ制御部104からの指示に応じた内容を通帳又は伝票の適宜定められた箇所に印字することができる。
See again in FIG.
Under the control of the printer control unit 104, the print unit 116 prints on the passbook or slip carried into the print transfer path. Specifically, the printing unit 116 moves the passbook or slip along the print transfer path under the control of the printer control unit 104, turns the pages of the passbook as necessary, and prints on the passbook or slip. As a result, it is possible to print the contents according to the instruction from the printer control unit 104 at an appropriately determined place on the passbook or slip.

印字部116は、図2に示すように、ローラFR4~FR6及びTR4~TR6、印字ヘッドPH、めくりローラPTRなどから構成される。また、印字搬送路は、ガイドG2の残部、ガイドG4、ガイドG5、ローラFR4~FR6及びTR4~TR6などから構成される。 As shown in FIG. 2, the printing unit 116 includes rollers FR4 to FR6 and TR4 to TR6, a printing head PH, a turning roller PTR , and the like. Further, the print transfer path is composed of the rest of the guide G2, the guide G4, the guide G5, the rollers FR4 to FR6, TR4 to TR6, and the like.

ガイドG2の残部は、上述したように構成されるガイドG2のスリットSLより前方の部分である。ガイドG4,G5の各々は、例えば予め定められた間隔で概ね互いに平行に前後左右に延在する板状の部材から構成され、これらの部材の間に搬送路を形成する。ガイドG4,G5の各々を構成する板状の部材は、金属や樹脂で作られるとよい。ガイドG2の残部と、ガイドG4と、ガイドG5とにより形成される搬送路が、印字搬送路となる。 The rest of the guide G2 is a portion of the guide G2 in front of the slit SL configured as described above. Each of the guides G4 and G5 is composed of, for example, plate-shaped members extending in front, back, left and right substantially parallel to each other at predetermined intervals, and forms a transport path between these members. The plate-shaped members constituting each of the guides G4 and G5 may be made of metal or resin. The transport path formed by the rest of the guide G2, the guide G4, and the guide G5 serves as a print transport path.

ローラFR4及びTR4は、印字搬送路に沿う方向においてガイドG2の前端とガイドG4の後端との間に位置している。ローラFR5及びTR5は、ガイドG4の前端とガイドG5の後端との間に位置している。ローラFR6及びTR6は、印字搬送路に沿う方向においてガイドG5の前端近傍に位置している。 The rollers FR4 and TR4 are located between the front end of the guide G2 and the rear end of the guide G4 in the direction along the print transfer path. The rollers FR5 and TR5 are located between the front end of the guide G4 and the rear end of the guide G5. The rollers FR6 and TR6 are located near the front end of the guide G5 in the direction along the print transfer path.

ローラTR4~TR6の各々は、いわゆるテンションローラである。ローラFR4~FR6の各々は、図示しないモータなどからの力を受けて、左右方向の軸を中心に回転する、いわゆるフォワードローラである。ローラTR4~TR6のそれぞれとローラFR4~FR6とは、通帳又は伝票を予め定められた圧力で挟むことができるように対応づけて構成されている。そして、ローラFR4,FR5及びFR6は、プリンタ制御部104の制御の下で、それぞれがローラTR4,TR5及びTR6との間で通帳又は伝票を挟んで回転することによって、印字搬送路に沿って通帳又は伝票を搬送する。 Each of the rollers TR4 to TR6 is a so-called tension roller. Each of the rollers FR4 to FR6 is a so-called forward roller that rotates about an axis in the left-right direction by receiving a force from a motor (not shown) or the like. Each of the rollers TR4 to TR6 and the rollers FR4 to FR6 are configured so as to be able to sandwich the passbook or slip with a predetermined pressure. Then, the rollers FR4, FR5 and FR6 rotate with the rollers TR4, TR5 and TR6 sandwiching a passbook or slip under the control of the printer control unit 104, so that the passbooks are printed along the print transfer path. Or transport the slip.

印字ヘッドPHは、プリンタ制御部104の制御の下で、ガイドG4で形成された印字搬送路を通過する通帳又は伝票に印字する部位である。なお、図2に示すように、ガイドG4には、印字する際に印字ヘッドPHが通帳又は伝票に接触するためのスリットが設けられている。 The print head PH is a portion for printing on a passbook or slip passing through a print transfer path formed by the guide G4 under the control of the printer control unit 104. As shown in FIG. 2, the guide G4 is provided with a slit for the print head PH to come into contact with the passbook or the slip when printing.

めくりローラPTRは、プリンタ制御部104の制御の下で、ガイドG5で形成された印字搬送路を通過する通帳のページをめくるローラである。めくりローラPTRは、例えば、図示しないモータの力を受けて回転することによって、通帳のページをめくる。なお、ガイドG5には、頁をめくる際にめくりローラPTRが通帳に接触するためのスリットが設けられている。 The turning roller PTR is a roller that turns the pages of the passbook passing through the print transfer path formed by the guide G5 under the control of the printer control unit 104. The turning roller PTR turns the pages of the passbook, for example, by rotating under the force of a motor (not shown). The guide G5 is provided with a slit for the turning roller PTR to come into contact with the passbook when turning pages.

再び、図3を参照する。
プリンタ制御部104は、撮像ユニット102との間で必要に応じて相互に情報を授受し、プリンタ本体101を制御する。
See again in FIG.
The printer control unit 104 controls the printer main body 101 by exchanging information with and from the image pickup unit 102 as needed.

プリンタ制御部104は物理的には、図4に示すように、プロセッサ117_a、ROM(Read Only Memory)118_a、RAM(Random Access Memory)119_a、記憶デバイス120_a、通信I/F(インタフェース)121_aなどから構成される。 Physically, as shown in FIG. 4, the printer control unit 104 is connected to a processor 117_a, a ROM (Read Only Memory) 118_a, a RAM (Random Access Memory) 119_a, a storage device 120_a, a communication I / F (interface) 121_a, and the like. It is composed.

プロセッサ117_aは、記憶デバイス120_aなどに格納されたソフトウェアプログラムを実行するためのハードウェアであり、演算処理装置、レジスタ、周辺回路などから構成される。 The processor 117_a is hardware for executing a software program stored in a storage device 120_a or the like, and is composed of an arithmetic processing unit, registers, peripheral circuits, and the like.

ROM118_aは、プロセッサ117_aが処理を実行する際に参照されるデータを保持する不揮発性のメモリである。RAM119_aは、プロセッサ117_aの作業領域として利用されるメモリである。記憶デバイス120_aは、比較的大きな容量のデータを記憶する装置であり、例えば、SSD(Solid State Drive)、HDD(Hard Disk Drive)などから構成される。通信I/F121_aは、有線用と無線用とのいずれか一方であってもよく、これらの両方であってもよい。 The ROM 118_a is a non-volatile memory that holds data referred to when the processor 117_a executes processing. The RAM 119_a is a memory used as a work area of the processor 117_a. The storage device 120_a is a device that stores a relatively large amount of data, and is composed of, for example, an SSD (Solid State Drive), an HDD (Hard Disk Drive), or the like. The communication I / F121_a may be either for wired or wireless, or may be both.

プリンタ制御部104は、例えば予め組み込まれたソフトウェアプログラムを実行することによって、図3に示す機能を発揮する。詳細には、プリンタ制御部104は機能的に、挿入判定部122と、保持制御部123と、切替制御部124と、撮像指示出力部125と、判定結果取得部126と、搬送制御部127と、印字制御部128とを備える。 The printer control unit 104 exerts the function shown in FIG. 3, for example, by executing a software program embedded in advance. Specifically, the printer control unit 104 functionally includes an insertion determination unit 122, a holding control unit 123, a switching control unit 124, an image pickup instruction output unit 125, a determination result acquisition unit 126, and a transfer control unit 127. , A print control unit 128 is provided.

挿入判定部122は、通帳検出部109からの通帳検出情報と伝票検出部112からの伝票検出情報とに基づいて、通帳の挿入が検出されたか否かと伝票の挿入が検出されたか否かを判定する。 The insertion determination unit 122 determines whether or not the passbook insertion is detected and whether or not the slip insertion is detected based on the passbook detection information from the passbook detection unit 109 and the slip detection information from the slip detection unit 112. do.

保持制御部123は、挿入判定部122による判定の結果に基づいて、通帳保持部110又は伝票保持部113を制御する。 The holding control unit 123 controls the passbook holding unit 110 or the slip holding unit 113 based on the result of the determination by the insertion determination unit 122.

詳細には、保持制御部123は、通帳検出部109によって通帳の挿入が検出されたとき、通帳挿入部105に挿入された通帳を通帳保持部110に保持させる。また、保持制御部123は、伝票検出部112によって伝票の挿入が検出されたとき、伝票挿入部106に挿入された伝票を伝票保持部113に保持させる。 Specifically, when the passbook detection unit 109 detects the insertion of the passbook, the holding control unit 123 causes the passbook holding unit 110 to hold the passbook inserted in the passbook insertion unit 105. Further, the holding control unit 123 causes the slip holding unit 113 to hold the slip inserted in the slip insertion unit 106 when the slip detection unit 112 detects the insertion of the slip.

切替制御部124は、挿入判定部122による判定の結果に基づいて切替部115を制御する。 The switching control unit 124 controls the switching unit 115 based on the result of the determination by the insertion determination unit 122.

詳細には、切替制御部124は、通帳検出部109によって通帳の挿入が検出されたとき、通帳搬送路と印字搬送路とを切替部115に接続させる。切替制御部124は、伝票検出部112によって伝票の挿入が検出されたとき、伝票搬送路と印字搬送路とを切替部115に接続させる。 Specifically, the switching control unit 124 connects the passbook transport path and the print transport path to the switching section 115 when the passbook detection unit 109 detects the insertion of the passbook. When the slip detection unit 112 detects the insertion of a slip, the switching control unit 124 connects the slip transport path and the print transport path to the switching unit 115.

撮像指示出力部125は、挿入判定部122による判定の結果に基づいて、撮像指示を撮像ユニット102へ出力する。撮像指示は、撮像ユニット102に撮像を開始させるための指示である。詳細には、撮像指示出力部125は、通帳又は伝票の挿入が検出されたとき、撮像指示を撮像ユニット102へ出力する。 The image pickup instruction output unit 125 outputs an image pickup instruction to the image pickup unit 102 based on the result of the determination by the insertion determination unit 122. The imaging instruction is an instruction for the imaging unit 102 to start imaging. Specifically, the image pickup instruction output unit 125 outputs an image pickup instruction to the image pickup unit 102 when the insertion of a passbook or a slip is detected.

判定結果取得部126は、撮像ユニット102による判定の結果を含む判定情報を撮像ユニット102から取得する。 The determination result acquisition unit 126 acquires determination information including the determination result by the image pickup unit 102 from the image pickup unit 102.

本実施の形態に係る判定情報は、詳細後述するように、オペレータが通帳又は伝票に触れているか否かと、通帳又は伝票が正しい方向を向いているか否かを含む。ここで、正しい方向とは、通帳又は伝票の向きが予め定められた基準方向に対して予め定められた範囲内にあることをいう。 The determination information according to the present embodiment includes whether or not the operator is touching the passbook or slip and whether or not the passbook or slip is facing in the correct direction, as will be described in detail later. Here, the correct direction means that the direction of the passbook or slip is within a predetermined range with respect to a predetermined reference direction.

搬送制御部127は、挿入判定部122による判定の結果と判定結果取得部126により取得された判定情報とに基づいて、通帳搬送部111又は伝票搬送部114を制御する。 The transfer control unit 127 controls the passbook transfer unit 111 or the slip transfer unit 114 based on the determination result by the insertion determination unit 122 and the determination information acquired by the determination result acquisition unit 126.

詳細には、搬送制御部127は、通帳検出部109によって通帳の挿入が検出されたとき、判定結果取得部126により取得された判定情報に基づいて通帳搬送部111に通帳を搬送させる。 Specifically, when the passbook detection unit 109 detects the insertion of the passbook, the transfer control unit 127 causes the passbook transfer unit 111 to convey the passbook based on the determination information acquired by the determination result acquisition unit 126.

通帳の挿入が検出されたときの搬送制御部127による制御の詳細は、次の通りである。 The details of the control by the transport control unit 127 when the insertion of the passbook is detected are as follows.

搬送制御部127は、オペレータが通帳に接触していること、又は通帳が正しい方向を向いていないことが判定情報に含まれる場合、通帳挿入部105に一部が挿入された通帳を搬入しないように通帳搬送部111を制御する。搬送制御部127は、オペレータが通帳に接触していないことと、通帳が正しい方向を向いていることとが判定情報に含まれる場合に、通帳挿入部105に一部が挿入された通帳を搬入するように通帳搬送部111を制御する。 When the determination information includes that the operator is in contact with the passbook or the passbook is not facing in the correct direction, the transport control unit 127 does not carry in the passbook partially inserted in the passbook insertion unit 105. Controls the passbook transfer unit 111. When the determination information includes that the operator is not in contact with the passbook and that the passbook is facing in the correct direction, the transport control unit 127 carries in the passbook partially inserted into the passbook insertion unit 105. The passbook transport unit 111 is controlled so as to do so.

また、搬送制御部127は、伝票検出部112によって伝票の挿入が検出されたとき、判定結果取得部126により取得された判定情報に基づいて伝票搬送部114に伝票を搬送させる。 Further, when the slip detection unit 112 detects the insertion of the slip, the transport control unit 127 causes the slip transport unit 114 to transport the slip based on the determination information acquired by the determination result acquisition unit 126.

伝票の挿入が検出されたときの搬送制御部127による制御の詳細は、次の通りである。 The details of the control by the transport control unit 127 when the insertion of the slip is detected are as follows.

搬送制御部127は、オペレータが伝票に接触していること、又は伝票が正しい方向を向いていないことが判定情報に含まれる場合、伝票挿入部106に一部が挿入された伝票を伝票搬送部114に搬入させない。搬送制御部127は、オペレータが伝票に接触していないことと、伝票が正しい方向を向いていることとが判定情報に含まれる場合に、伝票挿入部106に一部が挿入された伝票を伝票搬送部114に搬入させる。 When the determination information includes that the operator is in contact with the slip or the slip is not oriented in the correct direction, the transport control unit 127 transfers the slip partially inserted into the slip insertion unit 106 to the slip transport unit. Do not let it carry in to 114. When the determination information includes that the operator is not in contact with the slip and that the slip is facing in the correct direction, the transport control unit 127 inserts a slip partially inserted into the slip insertion unit 106 into the slip. It is carried into the transport unit 114.

印字制御部128は、通帳又は伝票が搬入された場合に、印字部116を制御して通帳又は伝票に印字させる。詳細には、通帳又は伝票に印字する内容や位置を示す情報は、例えばオペレータの入力に基づいて、図示しない他の装置などから適宜取得されるとよい。そして、印字制御部128は、他の装置などから取得した情報に基づいて印字部116を制御することによって、通帳又は伝票に印字させるとよい。 When the passbook or slip is brought in, the print control unit 128 controls the print unit 116 to print on the passbook or slip. In detail, the information indicating the content and position to be printed on the passbook or slip may be appropriately acquired from other devices (not shown) based on the input of the operator, for example. Then, the print control unit 128 may print on the passbook or slip by controlling the print unit 116 based on the information acquired from other devices or the like.

再び、図1及び図2を参照する。
撮像ユニット102は、通帳又は伝票の一部が挿入されたときに、未挿入部分の画像を撮像する。そして、撮像ユニット102は、撮像した画像に基づいて、オペレータが通帳又は伝票に接触しているか否かを判定する。
See again in FIGS. 1 and 2.
When a part of the passbook or slip is inserted, the image pickup unit 102 takes an image of the uninserted part. Then, the image pickup unit 102 determines whether or not the operator is in contact with the passbook or the slip based on the captured image.

撮像ユニット102は機能的に、図5に示すように、撮像部129とユニット制御部130とを備える。 The image pickup unit 102 functionally includes an image pickup unit 129 and a unit control unit 130, as shown in FIG.

撮像部129は、通帳挿入部105へ通帳の一部が挿入されたとき、通帳の未挿入部分を含む撮像領域IAを撮影する。また、撮像部129は、伝票挿入部106へ伝票の一部が挿入されたとき、伝票の未挿入部分の画像を含む撮像領域IAを撮像する。そして、撮像部129は、撮像領域IAを撮像することにより得られる画像を含む画像情報を出力する。 When a part of the passbook is inserted into the passbook insertion unit 105, the image pickup unit 129 takes an image of the image pickup region IA including the non-inserted portion of the passbook. Further, when a part of the slip is inserted into the slip insertion unit 106, the image pickup unit 129 takes an image of the image pickup region IA including the image of the non-inserted portion of the slip. Then, the image pickup unit 129 outputs image information including an image obtained by imaging the image pickup region IA.

本実施の形態に係る撮像領域IAは、図1の一点鎖線で囲まれた領域である。撮像領域IAは、通帳挿入部105へ通帳の一部が挿入されたときの当該通帳の未挿入部分と、伝票挿入部106へ伝票の一部が挿入されたときの当該伝票の未挿入部分とを含む。 The imaging region IA according to the present embodiment is a region surrounded by the alternate long and short dash line in FIG. The imaging area IA includes an uninserted portion of the passbook when a part of the passbook is inserted into the passbook insertion section 105 and an uninserted portion of the slip when a part of the slip is inserted into the slip insertion section 106. including.

未挿入部分とは、通帳又は伝票のうち、筐体103の中に未だ挿入されていない部分である。 The non-inserted portion is a portion of the passbook or slip that has not yet been inserted into the housing 103.

より詳細には、本実施の形態における通帳の未挿入部分は、通帳検出部109により通帳の挿入が検出されたときに、その通帳のうち、筐体103の中に未だ挿入されていない部分である。また、本実施の形態における伝票の未挿入部分は、伝票検出部112により伝票の挿入が検出されたときに、その伝票のうち、筐体103の中に未だ挿入されていない部分である。 More specifically, the non-inserted portion of the passbook in the present embodiment is a portion of the passbook that has not yet been inserted into the housing 103 when the passbook detection unit 109 detects the insertion of the passbook. be. Further, the non-inserted portion of the slip in the present embodiment is a portion of the slip that has not yet been inserted into the housing 103 when the slip detection unit 112 detects the insertion of the slip.

ユニット制御部130は、プリンタ本体101との間で必要に応じて相互に情報を授受し、撮像部129を制御する。ユニット制御部130は、タイマ131と、撮像制御部132と、画像取得部133と、接触判定部134と、傾き判定部135と、判定結果出力部136とを備える。さらに、ユニット制御部130は、印字媒体記憶部137と、基準記憶部138とを備える。 The unit control unit 130 transfers information to and from the printer main body 101 as needed, and controls the image pickup unit 129. The unit control unit 130 includes a timer 131, an image pickup control unit 132, an image acquisition unit 133, a contact determination unit 134, a tilt determination unit 135, and a determination result output unit 136. Further, the unit control unit 130 includes a print medium storage unit 137 and a reference storage unit 138.

タイマ131は、リセットされた時からの経過時間を計測する。 The timer 131 measures the elapsed time from the time of reset.

撮像制御部132は、撮像部129の撮影を制御する。詳細には、撮像制御部132は、撮像指示を取得すると、撮像部129に撮像を開始させる。撮像制御部132は、予め定められた監視時間の間、オペレータが正しい方向を向けて通帳又は伝票を挿入して通帳又は伝票から離れるまで、撮像部129に撮像を継続させる。 The image pickup control unit 132 controls the shooting of the image pickup unit 129. Specifically, when the image pickup control unit 132 acquires an image pickup instruction, the image pickup unit 129 causes the image pickup unit 129 to start image pickup. The image pickup control unit 132 causes the image pickup unit 129 to continue imaging until the operator inserts the passbook or slip in the correct direction and leaves the passbook or slip for a predetermined monitoring time.

画像取得部133は、撮像部129から出力された画像情報を取得する。 The image acquisition unit 133 acquires the image information output from the image pickup unit 129.

接触判定部134は、画像取得部133により取得された画像情報に基づいて、オペレータが通帳又は伝票に接触しているか否かを判定する。すなわち、撮像部129によって撮影された撮像領域IAの画像を含む画像情報に基づいて、オペレータが通帳又は伝票に接触しているか否かを判定する。 The contact determination unit 134 determines whether or not the operator is in contact with the passbook or slip based on the image information acquired by the image acquisition unit 133. That is, it is determined whether or not the operator is in contact with the passbook or slip based on the image information including the image of the image pickup region IA taken by the image pickup unit 129.

詳細には、接触判定部134は、第1の領域推定部139と、第2の領域推定部140と、重なり判定部141とを有する。 Specifically, the contact determination unit 134 has a first region estimation unit 139, a second region estimation unit 140, and an overlap determination unit 141.

第1の領域推定部139は、画像取得部133により取得された画像情報と印字媒体情報142とに基づいて、通帳又は伝票の未挿入部分の全体が占める領域である媒体領域を推定する。 The first area estimation unit 139 estimates a medium area, which is an area occupied by the entire uninserted portion of the passbook or slip, based on the image information acquired by the image acquisition unit 133 and the print medium information 142.

ここで、印字媒体情報142は、印字媒体記憶部137に予め保持されている。印字媒体情報142は、通帳又は伝票の形状を示す情報である。一般的に、通帳挿入部105又は伝票挿入部106に通帳又は伝票の一部が挿入されたとき、通帳又は伝票の未挿入部分の一部が、撮像部129から見てオペレータの手などで隠されることがある。印字媒体情報142は、このような場合に隠された部分も含めた通帳又は伝票の未挿入部分の全体を推定するための情報である。 Here, the print medium information 142 is held in advance in the print medium storage unit 137. The print medium information 142 is information indicating the shape of a passbook or a slip. Generally, when a part of a passbook or a slip is inserted into the passbook insertion unit 105 or the slip insertion part 106, a part of the uninserted part of the passbook or the slip is hidden by the operator's hand when viewed from the image pickup unit 129. May be The print medium information 142 is information for estimating the entire uninserted portion of the passbook or slip including the hidden portion in such a case.

本実施の形態に係る印字媒体情報142は、図6に例示するように、通帳と伝票との各々について全体が占める領域を推定するための情報を含む。本実施の形態に係る印字媒体情報142は、通帳と伝票とで異なっている。なお、印字媒体情報142は、通帳と伝票とで共通の情報であってもよい。 As illustrated in FIG. 6, the print medium information 142 according to the present embodiment includes information for estimating the area occupied by each of the passbook and the slip. The print medium information 142 according to the present embodiment is different between the passbook and the slip. The print medium information 142 may be information common to the passbook and the slip.

第2の領域推定部140は、画像取得部133により取得された画像情報に基づいて、画像情報が示す画像にオペレータが含まれている場合に、当該オペレータが占める領域であるオペレータ領域を推定する。オペレータ領域は、典型的には、オペレータの手、手首、前腕部などである。 The second area estimation unit 140 estimates an operator area, which is an area occupied by the operator, when the image indicated by the image information includes an operator, based on the image information acquired by the image acquisition unit 133. .. The operator area is typically the operator's hand, wrist, forearm, and the like.

重なり判定部141は、オペレータ領域と媒体領域とが互いに重なっているか否かに基づいて、オペレータが通帳又は伝票に接触しているか否かを判定する。 The overlap determination unit 141 determines whether or not the operator is in contact with the passbook or slip based on whether or not the operator area and the medium area overlap each other.

傾き判定部135は、画像取得部133により取得された画像情報と基準情報143とに基づいて、通帳又は伝票が正しい方向であるか否かを判定する。 The tilt determination unit 135 determines whether or not the passbook or the slip is in the correct direction based on the image information acquired by the image acquisition unit 133 and the reference information 143.

ここで、基準情報143は、基準記憶部138に予め保持されている。基準情報143は、通帳又は伝票が正しい方向であるか否かを判定するための基準を含む。本実施の形態では、図7に例示するように、通帳と伝票とで共通であって、基準方向情報143_aと、許容角度情報143_bとを含む。なお、基準情報143は、通帳と伝票とで異なっていてもよい。 Here, the reference information 143 is stored in advance in the reference storage unit 138. The reference information 143 includes a criterion for determining whether or not the passbook or the slip is in the correct direction. In the present embodiment, as illustrated in FIG. 7, the passbook and the slip are common to include the reference direction information 143_a and the allowable angle information 143_b. The reference information 143 may be different between the passbook and the slip.

基準方向情報143_aは、通帳又は伝票が斜めを向いていない基準方向を規定するための情報である。許容角度情報143_bは、通帳又は伝票が基準方向を向いていない場合に、基準方向からどの程度斜めを向いていても正しい方向とするかを規定するための情報である。 The reference direction information 143_a is information for defining a reference direction in which the passbook or the slip is not oriented diagonally. The permissible angle information 143_b is information for defining, when the passbook or the slip is not facing the reference direction, the correct direction is set regardless of how much the passbook or the slip is facing diagonally from the reference direction.

判定結果出力部136は、重なり判定部141及び傾き判定部135の各々による判定の結果を含む判定情報をプリンタ本体101へ出力する。本実施の形態では、図5に示すように、判定情報は、撮像制御部132を介してプリンタ本体101へ出力される。 The determination result output unit 136 outputs the determination information including the determination result by each of the overlap determination unit 141 and the tilt determination unit 135 to the printer main body 101. In the present embodiment, as shown in FIG. 5, the determination information is output to the printer main body 101 via the image pickup control unit 132.

このような撮像ユニット102は物理的には、図1及び図2に示すように、プリンタ本体101に取り付けられて上方へ延びた柱状の支持部144に固定されており、これによって、プリンタ本体101の上方に配置されたカメラ、スキャナなどである。 As shown in FIGS. 1 and 2, such an image pickup unit 102 is physically fixed to a columnar support portion 144 attached to the printer main body 101 and extending upward, whereby the printer main body 101 is fixed. Cameras, scanners, etc. placed above.

撮像ユニット102の撮像部129は物理的に、ブロック図である図8に示すように、撮像素子145、光源146などから構成される。 The image pickup unit 129 of the image pickup unit 102 is physically composed of an image pickup element 145, a light source 146, and the like, as shown in FIG. 8, which is a block diagram.

撮像素子145は、CCD(Charge Coupled Devices)イメージセンサ、CMOS(Complementary MOS)イメージセンサなどである。MOSイメージセンサは、P型とN型のMOSFETを相補的に利用する回路などであるCMOSを用いた固体撮像素子である。ここで、MOSFETは、Metal-Oxide-Semiconductor Field-Effect Transistorの略称である。 The image pickup device 145 is a CCD (Charge Coupled Devices) image sensor, a CMOS (Complementary MOS) image sensor, or the like. The MOS image sensor is a solid-state image sensor using CMOS, which is a circuit that complementarily uses P-type and N-type MOSFETs. Here, MOSFET is an abbreviation for Metal-Oxide-Semiconductor Field-Effective Transistor.

光源146は、典型的には、LED(Light Emitting Diode)などから構成される。なお、光源146は、必要に応じて設けられればよく、撮像ユニット102に含まれていなくてもよい。 The light source 146 is typically composed of an LED (Light Emitting Diode) or the like. The light source 146 may be provided as needed and may not be included in the image pickup unit 102.

ユニット制御部130は物理的に、図8に示すように、プロセッサ117_b、ROM(Read Only Memory)118_b、RAM(Random Access Memory)119_b、記憶デバイス120_b、通信I/F(インタフェース)121_bなどから構成される。 As shown in FIG. 8, the unit control unit 130 is physically composed of a processor 117_b, a ROM (Read Only Memory) 118_b, a RAM (Random Access Memory) 119_b, a storage device 120_b, a communication I / F (interface) 121_b, and the like. Will be done.

プロセッサ117_bは、記憶デバイス120_bに格納されたソフトウェアプログラムを実行するためのハードウェアであり、演算処理装置、レジスタ、周辺回路などから構成される。なお、プロセッサ117_bは、撮像ユニット102に複数備えられてもよい。 The processor 117_b is hardware for executing a software program stored in the storage device 120_b , and is composed of an arithmetic processing unit, registers, peripheral circuits, and the like. A plurality of processors 117_b may be provided in the image pickup unit 102.

ROM118_bは、プロセッサ117_bが処理を実行する際に参照されるデータを保持する不揮発性のメモリである。RAM119_bは、プロセッサ117_bの作業領域として利用されるメモリである。記憶デバイス120_bは、比較的大きな容量のデータを記憶する装置であり、例えば、SSD(Solid State Drive)、HDD(Hard Disk Drive)などから構成される。通信I/F121_bは、有線用と無線用とのいずれか一方であってもよく、これらの両方であってもよい。 The ROM 118_b is a non-volatile memory that holds data referred to when the processor 117_b executes processing. The RAM 119_b is a memory used as a work area of the processor 117_b. The storage device 120_b is a device that stores a relatively large amount of data, and is composed of, for example, an SSD (Solid State Drive), an HDD (Hard Disk Drive), or the like. The communication I / F121_b may be either for wired or wireless, or may be both.

プリンタ制御部104は、ソフトウェアプログラムを実行することによって、図5~図7を参照して説明した機能を発揮する。 The printer control unit 104 exerts the functions described with reference to FIGS. 5 to 7 by executing the software program.

これまで、本発明の一実施の形態に係るプリンタ100の構成について説明した。ここから、本実施の形態に係るプリンタ100の動作について説明する。 So far, the configuration of the printer 100 according to the embodiment of the present invention has been described. From here, the operation of the printer 100 according to this embodiment will be described.

<プリンタ100の動作>
プリンタ制御部104及びユニット制御部130は、適宜相互に通信して、図9のフローチャートに示す搬送制御処理を実行する。搬送制御処理は、通帳又は伝票を搬送するための処理であって、例えばプリンタ100及び撮像ユニット102の電源が投入されている間繰り返し実行される。
<Operation of printer 100>
The printer control unit 104 and the unit control unit 130 communicate with each other as appropriate to execute the transfer control process shown in the flowchart of FIG. The transport control process is a process for transporting a passbook or a slip, and is repeatedly executed while, for example, the printer 100 and the image pickup unit 102 are turned on.

搬送制御処理の開始時には、ローラTR1及びTR3のそれぞれは、ローラFR1及びFR3から遠い位置(ローラTR1_R及びTR3_R)に位置付けられている。 At the start of the transfer control process, the rollers TR1 and TR3 are positioned at positions far from the rollers FR1 and FR3 (rollers TR1_R and TR3_R), respectively.

挿入判定部122は、通帳検出部109からの通帳検出情報に基づいて、通帳D1の挿入が検出されたか否かを判定する(ステップS101)。 The insertion determination unit 122 determines whether or not the insertion of the passbook D1 is detected based on the passbook detection information from the passbook detection unit 109 (step S101).

詳細には、オペレータOPが通帳D1を通帳載置部107に載せて前方へ差し出すことで、通帳D1の一部が、通帳挿入部105とローラTR1_R,FR1の間とを通過し筐体103の中に挿入される。そして、図10に示すように、通帳D1の先端近傍が通帳検出部109に到達すると、通帳検出部109は、通帳D1が挿入されたことを示す通帳検出情報を出力する。 Specifically, when the operator OP puts the passbook D1 on the passbook mounting unit 107 and presents it forward, a part of the passbook D1 passes between the passbook insertion unit 105 and the rollers TR1_R and FR1 to form the housing 103. Inserted inside. Then, as shown in FIG. 10, when the vicinity of the tip of the passbook D1 reaches the passbook detection unit 109, the passbook detection unit 109 outputs the passbook detection information indicating that the passbook D1 has been inserted.

挿入判定部122は、通帳D1が挿入されたことを示す通帳検出情報を通帳検出部109から取得した場合に、通帳D1の挿入が検出されたと判定する。また、挿入判定部122は、通帳D1が挿入されたことを示す通帳検出情報を通帳検出部109から取得しない場合に、通帳D1の挿入が検出されていないと判定する。 The insertion determination unit 122 determines that the insertion of the passbook D1 has been detected when the passbook detection information indicating that the passbook D1 has been inserted is acquired from the passbook detection unit 109. Further, the insertion determination unit 122 determines that the insertion of the passbook D1 has not been detected when the passbook detection information indicating that the passbook D1 has been inserted is not acquired from the passbook detection unit 109.

保持制御部123は、挿入判定部122によって通帳D1の挿入が検出されたと判定された場合に(ステップS101;Yes)、通帳保持部110に通帳D1を保持させる(ステップS102)。 When it is determined by the insertion determination unit 122 that the insertion of the passbook D1 is detected (step S101; Yes), the holding control unit 123 causes the passbook holding unit 110 to hold the passbook D1 (step S102).

本実施の形態では、保持制御部123は、図10に示すように、ローラFR1の回転を制止しつつ、ローラTR1をローラFR1の近く(ローラTR1_H)に移動させる。これにより、通帳D1は、移動しないように通帳保持部110に保持される。 In the present embodiment, as shown in FIG. 10, the holding control unit 123 moves the roller TR1 closer to the roller FR1 (roller TR1_H) while stopping the rotation of the roller FR1. As a result, the passbook D1 is held by the passbook holding unit 110 so as not to move.

切替制御部124は、通帳搬送路と印字搬送路とを切替部115に接続させる(ステップS103)。 The switching control unit 124 connects the passbook transfer path and the print transfer path to the switching unit 115 (step S103).

撮像指示出力部125は、撮像ユニット102へ撮像指示を出力する(ステップS104)。 The image pickup instruction output unit 125 outputs an image pickup instruction to the image pickup unit 102 (step S104).

続けて、通帳D1の搬送を伴う処理である通帳搬送処理(ステップS105)が実行される。通帳搬送処理の流れを図11A及び11Bに示す。 Subsequently, the passbook transfer process (step S105), which is a process involving the transfer of the passbook D1, is executed. The flow of the passbook transport process is shown in FIGS. 11A and 11B.

撮像制御部132は、撮像指示を取得すると、図11Aに示すように、タイマ131をリセットする(ステップS201)。そして、撮像制御部132は、撮像部129に撮像を開始させる(ステップS202)。撮像制御部132は、タイマ131により計測されている時間を参照しつつ、撮像部129による撮影を監視する。これにより、撮像部129は、撮像領域IAの撮影を継続し、撮影した画像を含む画像情報を継続的に出力する。 When the image pickup control unit 132 acquires an image pickup instruction, it resets the timer 131 as shown in FIG. 11A (step S201). Then, the image pickup control unit 132 causes the image pickup unit 129 to start image pickup (step S202). The image pickup control unit 132 monitors the shooting by the image pickup unit 129 while referring to the time measured by the timer 131. As a result, the image pickup unit 129 continues shooting in the image pickup region IA, and continuously outputs image information including the captured image.

ここで、通帳D1は、通帳保持処理(ステップS102)が行われた結果、通帳保持部110に保持されたままである。そのため、撮像処理(ステップS202)が開始する時、通帳D1の未挿入部分は、撮像領域IAに含まれる。 Here, the passbook D1 is still held by the passbook holding unit 110 as a result of the passbook holding process (step S102). Therefore, when the imaging process (step S202) starts, the uninserted portion of the passbook D1 is included in the imaging region IA.

また、通帳D1を保持してから撮影を開始するまで(すなわち、ステップS102とステップS202との間に)行われるステップS103~S104,S201の処理に要する時間は通常極めて短い。言い換えると、通常、通帳D1が保持された直後に撮像処理(ステップS202)が開始する。そのため、撮像処理(ステップS202)の開始時に、オペレータOPは通常、図12に示すように通帳D1に手を置いたままである。なお、図12では、撮像ユニット102及び支持部144図示省略している。 Further, the time required for the processing of steps S103 to S104 and S201 performed from holding the passbook D1 to starting shooting (that is, between steps S102 and S202) is usually extremely short. In other words, the image pickup process (step S202) usually starts immediately after the passbook D1 is held. Therefore, at the start of the imaging process (step S202), the operator OP usually keeps his hand on the passbook D1 as shown in FIG. In FIG. 12, the image pickup unit 102 and the support portion 144 are not shown.

従って、撮像処理(ステップS202)の開始時には通常、例えば図12に例示するように撮像領域IAにおいてオペレータOPの手と通帳D1とが重なり合っている。つまり、撮像処理(ステップS202)の開始時には通常、オペレータOPの手と通帳D1とが重なり合った画像が撮影される。 Therefore, at the start of the imaging process (step S202), the operator OP's hand and the passbook D1 usually overlap each other in the imaging region IA, for example, as illustrated in FIG. That is, at the start of the imaging process (step S202), an image in which the hand of the operator OP and the passbook D1 are usually overlapped is taken.

画像取得部133は、撮像部129から画像情報を取得する(ステップS203)。詳細には、画像取得部133は、撮像部129から出力される画像情報を継続的に取得する。 The image acquisition unit 133 acquires image information from the image pickup unit 129 (step S203). Specifically, the image acquisition unit 133 continuously acquires the image information output from the image pickup unit 129.

続けて、接触判定部134は、図11A及び11Bに示すステップS204~S206の処理を実行する。接触判定部134は、ステップS204~S206の処理において、画像取得部133により取得された画像情報に基づいて、オペレータOPが通帳D1に接触しているか否かを判定する。 Subsequently, the contact determination unit 134 executes the processes of steps S204 to S206 shown in FIGS. 11A and 11B. The contact determination unit 134 determines whether or not the operator OP is in contact with the passbook D1 based on the image information acquired by the image acquisition unit 133 in the processes of steps S204 to S206.

詳細には、第1の領域推定部139は、ステップS203にて取得された画像情報と印字媒体情報142とに基づいて、通帳領域を推定する(ステップS204)。通帳領域は、通帳D1に関する媒体領域であって、通帳D1の未挿入部分の全体が占める領域である。 Specifically, the first area estimation unit 139 estimates the passbook area based on the image information acquired in step S203 and the print medium information 142 (step S204). The passbook area is a medium area related to the passbook D1 and is an area occupied by the entire uninserted portion of the passbook D1.

より詳細には、第1の領域推定部139は、通帳検出部109によって通帳D1の挿入が検出されたとき、通帳に関する印字媒体情報142を参照する。また、第1の領域推定部139は、画像情報に基づいて、オペレータOPの手などで隠れた部分を除く通帳D1の輪郭を検出する。ここで、通帳載置部107には上述の模様が設けられている。これにより、通帳D1の輪郭を容易にかつ正確に検出することができる。従って、通帳D1の輪郭を誤って検出する可能性を低減することができる。 More specifically, the first area estimation unit 139 refers to the print medium information 142 regarding the passbook when the insertion of the passbook D1 is detected by the passbook detection unit 109. Further, the first area estimation unit 139 detects the contour of the passbook D1 excluding the portion hidden by the operator OP's hand or the like based on the image information. Here, the passbook placing portion 107 is provided with the above-mentioned pattern. As a result, the contour of the passbook D1 can be easily and accurately detected. Therefore, the possibility of erroneously detecting the contour of the passbook D1 can be reduced.

第1の領域推定部139は、参照した印字媒体情報142と検出した通帳D1の輪郭とに基づいて、オペレータOPの手などで隠れた部分の通帳D1の輪郭を推定する。 The first area estimation unit 139 estimates the contour of the passbook D1 hidden by the operator OP or the like based on the referenced print medium information 142 and the detected contour of the passbook D1.

例えば、通帳D1の輪郭のうち、それに含まれる直線部分D1_B,D1_R,D1_Lが画像から検出される(図6参照)。直線部分D1_B,D1_R,D1_Lは、通帳D1の未挿入部分に含まれる3辺に相当する。図6に例示する印字媒体情報142を参照して、直線部分D1_B,D1_R,D1_Lの各々を延長した3本の直線と通帳挿入部105とで構成される長方形が作成される。 For example, in the contour of the passbook D1, the straight line portions D1_B, D1_R, and D1_L included in the contour are detected from the image (see FIG. 6). The straight line portions D1_B, D1_R, and D1_L correspond to the three sides included in the non-inserted portion of the passbook D1. With reference to the print medium information 142 exemplified in FIG. 6, a rectangle composed of three straight lines extending each of the straight line portions D1_B, D1_R, and D1_L and the passbook insertion portion 105 is created.

ここで、通帳載置部107と伝票載置部108とには異なる模様が設けられている。そのため、通帳挿入部105は、通帳載置部107と伝票載置部108との境界部分として、容易にかつ正確に検出することができる。 Here, different patterns are provided in the passbook placing section 107 and the slip placing section 108. Therefore, the passbook insertion unit 105 can be easily and accurately detected as a boundary portion between the passbook placement unit 107 and the slip placement unit 108.

作成された長方形の角を半径R[mm]の丸として修正することで、オペレータOPの手などで隠れた部分を含む通帳D1の未挿入部分の輪郭が推定される。推定された輪郭は、図12ではオペレータOPの手と重なった点線で示されている。通帳領域は、この推定された輪郭で囲まれた領域として推定される。 By correcting the corner of the created rectangle as a circle having a radius R [mm], the contour of the uninserted portion of the passbook D1 including the portion hidden by the operator OP's hand or the like is estimated. The estimated contour is shown in FIG. 12 by a dotted line overlapping the hand of the operator OP. The passbook area is estimated as the area surrounded by this estimated contour.

第2の領域推定部140は、画像取得部133により取得された画像情報に基づいて、オペレータ領域を推定する(ステップS205)。 The second area estimation unit 140 estimates the operator area based on the image information acquired by the image acquisition unit 133 (step S205).

例えば、オペレータ領域は、画像情報に含まれる画像のうち、肌色の部分、予め設定された通帳載置部107の模様及び通帳D1の色とは異なる部分などとして、適宜推定されるとよい。 For example, the operator area may be appropriately estimated as a skin-colored portion, a preset pattern of the passbook mounting portion 107, a portion different from the color of the passbook D1, and the like in the image included in the image information.

図11Bに示すように、重なり判定部141は、通帳領域とオペレータ領域とが互いに重なっているか否かに基づいて、オペレータOPが通帳D1に接触しているか否かを判定する(ステップS206)。 As shown in FIG. 11B, the overlap determination unit 141 determines whether or not the operator OP is in contact with the passbook D1 based on whether or not the passbook area and the operator area overlap each other (step S206).

詳細には、例えば図12に示すように、ステップS204で推定された通帳領域とステップS205で推定されたオペレータ領域とが互いに重なっている場合に、重なり判定部141は、接触していると判定する。また、例えば図13に示すように、ステップS204で推定された通帳領域とステップS205で推定されたオペレータ領域とが互いに重なっていない場合に、重なり判定部141は、接触していないと判定する。なお、図13では、撮像ユニット102及び支持部144図示省略している。 Specifically, for example, as shown in FIG. 12, when the passbook area estimated in step S204 and the operator area estimated in step S205 overlap each other, the overlap determination unit 141 determines that they are in contact with each other. do. Further, for example, as shown in FIG. 13, when the passbook area estimated in step S204 and the operator area estimated in step S205 do not overlap each other, the overlap determination unit 141 determines that they are not in contact with each other. Note that FIG. 13 omits the illustration of the image pickup unit 102 and the support portion 144.

接触していると判定された場合(ステップS206;Yes)、撮像制御部132は、タイマ131により計測されている時間が監視時間内であるか否かを判定する(ステップS207)。ここで、監視時間は、撮像部129により撮像を継続する時間として設定される時間であって、例えば撮像制御部132により予め保持される。 When it is determined that they are in contact (step S206; Yes), the image pickup control unit 132 determines whether or not the time measured by the timer 131 is within the monitoring time (step S207). Here, the monitoring time is a time set as a time for continuing imaging by the imaging unit 129, and is held in advance by, for example, the imaging control unit 132.

このとき、保持制御部123は、ステップS102の処理により通帳保持部110に通帳D1を保持させた状態を維持する。また、搬送制御部127は、通帳D1を搬入しないように通帳搬送部111を制御する。本実施の形態では、搬送制御部127は、通帳D1を搬入する方向にローラFR1を回転させないことによって、通帳D1を搬入しないように通帳搬送部111を制御する。 At this time, the holding control unit 123 maintains the state in which the passbook holding unit 110 holds the passbook D1 by the process of step S102. Further, the transfer control unit 127 controls the passbook transfer unit 111 so as not to carry in the passbook D1. In the present embodiment, the transfer control unit 127 controls the passbook transfer unit 111 so as not to carry in the passbook D1 by not rotating the roller FR1 in the direction in which the passbook D1 is carried in.

監視時間内であると判定された場合(ステップS207;Yes)、搬送制御部127が通帳D1を搬入しないように通帳搬送部111を制御した状態で、図11Aに示すように、ステップS202以降の処理が再び実行される。 When it is determined that the time is within the monitoring time (step S207; Yes), the passbook transport unit 111 is controlled so that the passbook D1 is not carried in, and as shown in FIG. 11A, after step S202. The process is executed again.

再び、図11Bを参照する。
接触していないと判定された場合(ステップS206;No)、傾き判定部135は、傾き判定処理(ステップS208)を実行する。傾き判定処理(ステップS208)では、ステップS203にて取得された画像情報と基準記憶部138に保持された基準情報143とに基づいて、通帳挿入部105に挿入された通帳D1の向きが正しい方向であるか否かが判定される。
Again, see FIG. 11B.
When it is determined that they are not in contact (step S206; No), the tilt determination unit 135 executes the tilt determination process (step S208). In the tilt determination process (step S208), the direction of the passbook D1 inserted into the passbook insertion unit 105 is the correct direction based on the image information acquired in step S203 and the reference information 143 held in the reference storage unit 138. It is determined whether or not it is.

本実施の形態では、図12に示すように、筐体103の右壁部の内面に通帳D1の右端D1_Rを押し当てて通帳載置部107に通帳D1を載せ置くことで、通帳D1が正しい方向を向くように構成されている。そのため、本実施の形態では、図7の基準方向情報143_aに示されるように、印字媒体である通帳D1の左端D1_Lが前後を向く方向が基準とされる。そして、図7の許容角度情報143_bに示されるように、α度が許容範囲とされる。なお、例えば通帳挿入部105に挿入された通帳D1の前端を押し当てる部材など、通帳D1を正しい方向で挿入するための構成が適宜設けられてもよい。 In the present embodiment, as shown in FIG. 12, the passbook D1 is correct by pressing the right end D1_R of the passbook D1 against the inner surface of the right wall portion of the housing 103 and placing the passbook D1 on the passbook mounting portion 107. It is configured to face the direction. Therefore, in the present embodiment, as shown in the reference direction information 143_a in FIG. 7, the direction in which the left end D1_L of the passbook D1, which is the printing medium, faces the front and back is used as a reference. Then, as shown in the permissible angle information 143_b in FIG. 7, the α degree is set as the permissible range. It should be noted that a configuration for inserting the passbook D1 in the correct direction may be appropriately provided, for example, a member for pressing the front end of the passbook D1 inserted into the passbook insertion unit 105.

そのため、画像情報に含まれる画像において、通帳D1の左端D1_Lが前後方向を向くか、又は、前後方向に対して傾いている場合であってもその傾きがα度以内である場合には、通帳D1の向きが正しい方向であると判定される。また、画像情報に含まれる画像において、通帳D1の左端D1_Lが前後方向に対してα度より大きく傾いている場合に(図14参照)、通帳D1の向きが正しい方向ではないと判定される。なお、図14では、撮像ユニット102及び支持部144図示省略している。 Therefore, in the image included in the image information, if the left end D1_L of the passbook D1 faces the front-back direction, or even if it is tilted with respect to the front-back direction, if the tilt is within α degrees, the passbook It is determined that the direction of D1 is the correct direction. Further, in the image included in the image information, when the left end D1_L of the passbook D1 is tilted more than α degrees with respect to the front-back direction (see FIG. 14), it is determined that the direction of the passbook D1 is not the correct direction. In FIG. 14, the image pickup unit 102 and the support portion 144 are not shown.

再び、図11Bを参照する。
監視時間内でないと判定された場合(ステップS207;No)、又は、正しい方向ではないと判定された場合(ステップS208;No)、搬送制御部127は、通帳搬送部111に通帳D1を搬出させる(ステップS209)。
Again, see FIG. 11B.
If it is determined that it is not within the monitoring time (step S207; No), or if it is determined that the direction is not correct (step S208; No), the transfer control unit 127 causes the passbook transfer unit 111 to carry out the passbook D1. (Step S209).

詳細には、搬送制御部127は、ローラFR1とローラTR1_Hとの間で通帳D1を挟んだ状態で、筐体103から通帳D1を搬出する方向へローラFR1を回転させる。これにより、通帳挿入部105を通じて筐体103の中に挿入されていた通帳D1の一部が、通帳挿入部105を通じて筐体103の外へ搬出される。 Specifically, the transfer control unit 127 rotates the roller FR1 in the direction of carrying out the passbook D1 from the housing 103 with the passbook D1 sandwiched between the roller FR1 and the roller TR1_H. As a result, a part of the passbook D1 inserted into the housing 103 through the passbook insertion unit 105 is carried out of the housing 103 through the passbook insertion unit 105.

正しい方向であると判定された場合(ステップS208;Yes)、搬送制御部127は、通帳D1を通帳搬送部111に搬入させる(ステップS210)。 When it is determined that the direction is correct (step S208; Yes), the transfer control unit 127 carries the passbook D1 into the passbook transfer unit 111 (step S210).

詳細には、搬送制御部127は、ローラFR1とローラTR1_Hとの間で通帳D1を挟んだ状態で、筐体103の中へ通帳D1を搬入する方向へローラFR1を回転させる。これにより、通帳D1の未挿入部分が、通帳挿入部105から筐体103の中に搬入される。 Specifically, the transfer control unit 127 rotates the roller FR1 in the direction of carrying the passbook D1 into the housing 103 with the passbook D1 sandwiched between the roller FR1 and the roller TR1_H. As a result, the uninserted portion of the passbook D1 is carried into the housing 103 from the passbook insertion portion 105.

このように、通帳D1の方向が正しい方向である場合に、通帳D1が搬入される。これにより、通帳D1を確実に正しい方向で搬入させることができる。また、通帳D1の方向が正しい方向であるか否かは、撮像ユニット102からの画像情報を基に判定される。そのため、この判定のために物理的に構成を追加する必要はほとんどない。従って、コンパクトな構成で、通帳D1を確実に正しい方向で搬入させることが可能になる。 In this way, when the direction of the passbook D1 is the correct direction, the passbook D1 is carried in. As a result, the passbook D1 can be reliably carried in in the correct direction. Further, whether or not the direction of the passbook D1 is the correct direction is determined based on the image information from the image pickup unit 102. Therefore, there is almost no need to physically add a configuration for this determination. Therefore, with a compact configuration, it is possible to reliably carry in the passbook D1 in the correct direction.

印字制御部128は、通帳D1が印字配送路へ搬送されてくると、例えば外部の装置から取得した情報に基づいて、印字部116に通帳D1を適宜搬送させつつ通帳D1への印字を行わせる(ステップS211)。このとき、適宜、通帳D1の頁がめくられるとよい。そして、印字が終了すると、印字制御部128は、印字部116に通帳D1を通帳搬送路へ搬送させる。 When the passbook D1 is conveyed to the print delivery path, the print control unit 128 causes the print unit 116 to appropriately convey the passbook D1 and print the passbook D1 based on the information acquired from, for example, an external device. (Step S211). At this time, it is advisable to turn the page of the passbook D1 as appropriate. Then, when printing is completed, the print control unit 128 causes the print unit 116 to convey the passbook D1 to the passbook transport path.

搬送制御部127は、通帳D1が通帳搬送路へ搬送されてくると、通帳搬送部111に通帳D1を搬出させる(ステップS212)。 When the passbook D1 is transported to the passbook transport path, the transport control unit 127 causes the passbook transport unit 111 to carry out the passbook D1 (step S212).

詳細には、搬送制御部127は、ローラFR2及びTR2とローラFR1及びTR1_Hとの間で順次通帳D1を挟んだ状態で、ローラFR2及びFR1の各々を筐体103から通帳D1を搬出する方向へ回転させる。これにより、通帳D1は、通帳挿入部105を通じて筐体103の外へ搬出される。 Specifically, the transfer control unit 127 has a state in which the passbook D1 is sequentially sandwiched between the rollers FR2 and TR2 and the rollers FR1 and TR1_H, and each of the rollers FR2 and FR1 is carried out from the housing 103 in the direction of carrying out the passbook D1. Rotate. As a result, the passbook D1 is carried out of the housing 103 through the passbook insertion unit 105.

これにより、通帳搬送処理(ステップS105)が終了し、搬送制御処理に戻る。図9に示すように、保持制御部123は、通帳保持部110に通帳保持状態を解除させる(ステップS106)。 As a result, the passbook transfer process (step S105) is completed, and the process returns to the transfer control process. As shown in FIG. 9, the holding control unit 123 causes the passbook holding unit 110 to release the passbook holding state (step S106).

通帳保持状態は、通帳保持部110が通帳D1を保持又は搬送するための状態である。本実施の形態での通帳保持状態の解除は、ローラTR1をローラFR1から遠い位置(ローラTR1_R)に位置付けた状態である。 The passbook holding state is a state in which the passbook holding unit 110 holds or conveys the passbook D1. The release of the passbook holding state in the present embodiment is a state in which the roller TR1 is positioned at a position far from the roller FR1 (roller TR1_R).

すなわち本実施の形態では、ステップS106にて、保持制御部123は、ローラTR1を、ローラFR1に近い位置(ローラTR1_H)からローラFR1に遠い位置(ローラTR1_R)へ移動させる。これにより、通帳保持状態が解除され、プリンタ制御部104は搬送制御処理を終了する。 That is, in the present embodiment, in step S106, the holding control unit 123 moves the roller TR1 from the position near the roller FR1 (roller TR1_H) to the position far from the roller FR1 (roller TR1_R). As a result, the passbook holding state is released, and the printer control unit 104 ends the transfer control process.

挿入判定部122は、通帳D1の挿入が検出されていない場合に(ステップS101;No)、伝票検出部112からの伝票検出情報に基づいて、伝票D2の挿入が検出されたか否かを判定する(ステップS107)。 The insertion determination unit 122 determines whether or not the insertion of the slip D2 is detected based on the slip detection information from the slip detection unit 112 when the insertion of the passbook D1 is not detected (step S101; No). (Step S107).

詳細には、オペレータOPが伝票D2を伝票載置部108に載せて前方へ差し出すことで、伝票D2の一部が、伝票挿入部106と、ローラTR3_R,FR3の間とを通過し筐体103の中に挿入される。そして、図15に示すように、伝票D2の先端近傍が伝票検出部112に到達すると、伝票検出部112は、伝票D2が挿入されたことを示す伝票検出情報を出力する。 Specifically, when the operator OP places the slip D2 on the slip mounting unit 108 and presents it forward, a part of the slip D2 passes between the slip inserting unit 106 and the rollers TR3_R and FR3, and the housing 103. It is inserted in. Then, as shown in FIG. 15, when the vicinity of the tip of the slip D2 reaches the slip detection unit 112, the slip detection unit 112 outputs the slip detection information indicating that the slip D2 has been inserted.

挿入判定部122は、伝票D2が挿入されたことを示す伝票検出情報を伝票検出部112から取得した場合に、伝票D2の挿入が検出されたと判定する。また、挿入判定部122は、伝票D2が挿入されたことを示す伝票検出情報を伝票検出部112から取得しない場合に、伝票D2の挿入が検出されていないと判定する。 The insertion determination unit 122 determines that the insertion of the slip D2 has been detected when the slip detection information indicating that the slip D2 has been inserted is acquired from the slip detection unit 112. Further, the insertion determination unit 122 determines that the insertion of the slip D2 is not detected when the slip detection information indicating that the slip D2 has been inserted is not acquired from the slip detection unit 112.

挿入判定部122は、伝票D2の挿入が検出されていない場合(ステップS107;No)、図9に示すように、ステップS101の処理を再び実行する。 If the insertion of the slip D2 is not detected (step S107; No), the insertion determination unit 122 re-executes the process of step S101 as shown in FIG.

保持制御部123は、挿入判定部122によって伝票D2の挿入が検出されたと判定された場合に(ステップS107;Yes)、伝票保持部113に伝票D2を保持させる(ステップS108)。 When it is determined by the insertion determination unit 122 that the insertion of the slip D2 is detected (step S107; Yes), the holding control unit 123 causes the slip holding unit 113 to hold the slip D2 (step S108).

本実施の形態では、保持制御部123は、図15に示すように、ローラFR3の回転を制止しつつ、ローラTR3をローラFR3の近く(ローラTR3_H)に移動させる。これにより、伝票D2は、移動しないように伝票保持部113に保持される。 In the present embodiment, as shown in FIG. 15, the holding control unit 123 moves the roller TR3 closer to the roller FR3 (roller TR3_H) while stopping the rotation of the roller FR3. As a result, the slip D2 is held in the slip holding unit 113 so as not to move.

切替制御部124は、伝票搬送路と印字搬送路とを切替部115に接続させる(ステップS109)。 The switching control unit 124 connects the slip transfer path and the print transfer path to the switching unit 115 (step S 109 ).

撮像指示出力部125は、撮像ユニット102へ撮像指示を出力する(ステップS110)。 The image pickup instruction output unit 125 outputs an image pickup instruction to the image pickup unit 102 (step S110).

続けて、伝票D2の搬送を伴う処理である伝票搬送処理(ステップS111)が実行される。伝票搬送処理の流れを図16A及び16Bに示す。 Subsequently, the slip transfer process (step S111), which is a process involving the transfer of the slip D2, is executed. The flow of the slip transfer process is shown in FIGS. 16A and 16B.

撮像制御部132は、撮像指示を取得すると、通帳搬送処理(ステップS105)と同様のステップS201~S203の処理を行う。説明を簡明にするため、伝票搬送処理(ステップS111)におけるステップS201~S203の処理の詳細な説明は省略する。 When the image pickup control unit 132 acquires the image pickup instruction, the image pickup control unit 132 performs the process of steps S201 to S203 similar to the passbook transfer process (step S105). For the sake of simplicity, the detailed description of the processes of steps S201 to S203 in the slip transfer process (step S111) will be omitted.

ここで、伝票D2は、伝票保持処理(ステップS108)が行われた結果、伝票保持部113に保持されたままである。そのため、通帳D1が挿入された場合と同様に、撮像処理(ステップS202)が開始する時、伝票D2の未挿入部分は、撮像領域IAに含まれる。 Here, the slip D2 is still held by the slip holding unit 113 as a result of the slip holding process (step S108). Therefore, as in the case where the passbook D1 is inserted, when the image pickup process (step S202) starts, the uninserted portion of the slip D2 is included in the image pickup area IA.

また、伝票D2を保持してから撮影を開始するまで(すなわち、ステップS108とステップS202との間に)行われるステップS109~S110,S201の処理に要する時間は通常極めて短い。言い換えると、通常、伝票D2が保持された直後に撮像処理(ステップS202)が開始する。そのため、撮像処理(ステップS202)の開始時に、オペレータOPは通常、図17に示すように伝票D2に手を置いたままである。なお、図17では、撮像ユニット102及び支持部144図示省略している。 Further, the time required for the processing of steps S109 to S110 and S201 performed from holding the slip D2 to starting shooting (that is, between steps S108 and S202) is usually extremely short. In other words, the imaging process (step S202) usually starts immediately after the slip D2 is held. Therefore, at the start of the imaging process (step S202), the operator OP usually keeps his hand on the slip D2 as shown in FIG. In FIG. 17, the image pickup unit 102 and the support portion 144 are not shown.

従って、撮像処理(ステップS202)の開始時には通常、例えば図17に例示するように撮像領域IAにおいてオペレータOPの手と伝票D2とが重なり合っている。つまり、撮像処理(ステップS202)の開始時には通常、オペレータOPの手と伝票D2とが重なり合った画像が撮影される。 Therefore, at the start of the imaging process (step S202), the operator OP's hand and the slip D2 usually overlap each other in the imaging region IA, for example, as illustrated in FIG. That is, at the start of the imaging process (step S202), an image in which the operator OP's hand and the slip D2 overlap is usually taken.

通帳D1が保持された直後に撮影される画像に関して上述したように、本実施の形態に係る撮像領域IAは、通帳挿入部105へ通帳D1の一部が挿入されたときの当該通帳D1の未挿入部分を含む。これに加えて、撮像領域IAは、伝票挿入部106へ伝票D2の一部が挿入されたときの当該伝票D2の未挿入部分を含む。 As described above with respect to the image taken immediately after the passbook D1 is held, the imaging region IA according to the present embodiment is not the passbook D1 when a part of the passbook D1 is inserted into the passbook insertion unit 105. Including the insertion part. In addition to this, the imaging region IA includes an uninserted portion of the slip D2 when a part of the slip D2 is inserted into the slip insertion unit 106.

このような撮像領域IAを有する撮像部129は、物理的に1つのカメラ、スキャナなどから構成することができる。従って、例えば撮像領域IAが異なる複数の撮像部129が設けられる場合よりも、撮像ユニット102をコンパクトに構成することが可能になる。 The imaging unit 129 having such an imaging region IA can be physically composed of one camera, a scanner, and the like. Therefore, for example, the image pickup unit 102 can be configured more compactly than when a plurality of image pickup units 129 having different image pickup areas IA are provided.

画像情報取得処理(ステップS203)に続けて、接触判定部134は、図16A及び16Bに示すステップS304,S205,S306の処理を実行する。これらの処理において、接触判定部134は、画像取得部133により取得された画像情報に基づいて、オペレータOPが伝票D2に接触しているか否かを判定する。 Following the image information acquisition process (step S203), the contact determination unit 134 executes the processes of steps S304, S205, and S306 shown in FIGS. 16A and 16B. In these processes, the contact determination unit 134 determines whether or not the operator OP is in contact with the slip D2 based on the image information acquired by the image acquisition unit 133.

詳細には、第1の領域推定部139は、ステップS203にて取得された画像情報と印字媒体情報142とに基づいて、伝票領域を推定する(ステップS304)。伝票領域は、伝票D2に関する媒体領域であって、伝票D2の未挿入部分の全体が占める領域である。 Specifically, the first area estimation unit 139 estimates the slip area based on the image information acquired in step S203 and the print medium information 142 (step S 304 ). The slip area is a medium area related to the slip D2, and is an area occupied by the entire uninserted portion of the slip D2.

より詳細には、第1の領域推定部139は、伝票検出部112によって伝票D2の挿入が検出されたとき、伝票D2に関する印字媒体情報142を参照する。また、第1の領域推定部139は、画像情報に基づいて、オペレータOPの手で隠れた部分を除く伝票D2の輪郭を検出する。ここで、伝票載置部108には上述の模様が設けられている。これにより、伝票D2の輪郭を容易にかつ正確に検出することができる。従って、伝票D2の輪郭を誤って検出する可能性を低減することができる。 More specifically, the first area estimation unit 139 refers to the print medium information 142 regarding the slip D2 when the insertion of the slip D2 is detected by the slip detection unit 112. Further, the first area estimation unit 139 detects the contour of the slip D2 excluding the portion hidden by the operator OP's hand based on the image information. Here, the slip placing portion 108 is provided with the above-mentioned pattern. As a result, the contour of the slip D2 can be easily and accurately detected. Therefore, it is possible to reduce the possibility of erroneously detecting the contour of the slip D2.

第1の領域推定部139は、参照した印字媒体情報142と検出した伝票D2の輪郭とに基づいて、オペレータOPの手で隠れた部分の伝票D2の輪郭を推定する。 The first area estimation unit 139 estimates the contour of the slip D2 hidden by the operator OP's hand based on the referenced print medium information 142 and the detected contour of the slip D2.

例えば、伝票D2の輪郭のうち、それに含まれる直線部分D2_B,D2_R,D2_Lが画像から検出される。直線部分D2_B,D2_R,D2_Lは、伝票D2の未挿入部分に含まれる3辺に相当する。図6に例示する印字媒体情報142を参照して、直線部分D2_B,D2_R,D2_Lの各々を延長した3本の直線と伝票挿入部106とで構成される長方形が作成される。 For example, in the contour of the slip D2, the straight line portions D2_B, D2_R, and D2_L included in the contour are detected from the image. The straight line portions D2_B, D2_R, and D2_L correspond to the three sides included in the non-inserted portion of the slip D2. With reference to the print medium information 142 exemplified in FIG. 6, a rectangle composed of three straight lines extending each of the straight line portions D2_B, D2_R, and D2_L and the slip insertion portion 106 is created.

ここで、伝票載置部108には上述の模様が設けられている。そのため、伝票挿入部106は、伝票載置部108の前端部分として、容易にかつ正確に検出することができる。 Here, the slip placing portion 108 is provided with the above-mentioned pattern. Therefore, the slip insertion unit 106 can be easily and accurately detected as the front end portion of the slip placement unit 108.

作成された長方形が、オペレータOPの手で隠れた部分を含む伝票D2の未挿入部分の輪郭として推定される。推定された輪郭は、図17ではオペレータOPの手と重なった点線で示されている。これにより、伝票領域は、この推定された輪郭で囲まれた領域として推定される。 The created rectangle is estimated as the contour of the uninserted portion of the slip D2 including the portion hidden by the operator OP's hand. The estimated contour is shown in FIG. 17 by a dotted line overlapping the operator OP's hand. As a result, the slip area is estimated as the area surrounded by this estimated contour.

第2の領域推定部140は、通帳搬送処理(ステップS105)と同様に、オペレータ領域の推定処理(ステップS205)を実行する。 The second area estimation unit 140 executes the operator area estimation process (step S205) in the same manner as the passbook transfer process (step S105).

図16Bに示すように、重なり判定部141は、伝票領域とオペレータ領域とが互いに重なっているか否かに基づいて、オペレータOPが伝票D2に接触しているか否かを判定する(ステップS306)。 As shown in FIG. 16B, the overlap determination unit 141 determines whether or not the operator OP is in contact with the slip D2 based on whether or not the slip area and the operator area overlap each other (step S306).

詳細には、例えば図17に示すように、ステップS304で推定された伝票領域とステップS205で推定されたオペレータ領域とが互いに重なっている場合に、重なり判定部141は、接触していると判定する。また、例えば図18に示すように、ステップS304で推定された通帳領域とステップS205で推定されたオペレータ領域とが互いに重なっていない場合に、重なり判定部141は、接触していないと判定する。なお、図18では、撮像ユニット102及び支持部144図示省略している。 Specifically, for example, as shown in FIG. 17, when the slip area estimated in step S304 and the operator area estimated in step S205 overlap each other, the overlap determination unit 141 determines that they are in contact with each other. do. Further, for example, as shown in FIG. 18, when the passbook area estimated in step S304 and the operator area estimated in step S205 do not overlap each other, the overlap determination unit 141 determines that they are not in contact with each other. Note that FIG. 18 omits the illustration of the image pickup unit 102 and the support portion 144.

接触していると判定された場合(ステップS306;Yes)、撮像制御部132は、通帳搬送処理(ステップS105)と同様に、監視時間の判定処理(ステップS207)を実行する。 When it is determined that they are in contact (step S306; Yes), the image pickup control unit 132 executes the monitoring time determination process (step S207) in the same manner as the passbook transfer process (step S105).

このとき、保持制御部123は、ステップS108の処理により伝票保持部113に伝票D2を保持させた状態を維持する。また、搬送制御部127は、伝票D2を搬入しないように伝票搬送部114を制御する。本実施の形態では、搬送制御部127は、伝票D2を搬入する方向にローラFR3を回転させないことによって、伝票D2を搬入しないように伝票搬送部114を制御する。 At this time, the holding control unit 123 maintains the state in which the slip holding unit 113 holds the slip D2 by the process of step S108. Further, the transport control unit 127 controls the slip transport unit 114 so as not to carry in the slip D2. In the present embodiment, the transport control unit 127 controls the slip transport unit 114 so as not to carry the slip D2 by not rotating the roller FR3 in the direction of carrying the slip D2.

そして、監視時間内であると判定された場合(ステップS207;Yes)、搬送制御部127が伝票D2を搬入しないように伝票搬送部114を制御した状態で、図16Aに示すように、ステップS202以降の処理が再び実行される。 Then, when it is determined that the monitoring time is within (step S207; Yes), the transfer control unit 127 controls the slip transfer unit 114 so as not to carry in the slip D2, and as shown in FIG. 16A, step S202. Subsequent processing is executed again.

再び、図16Bを参照する。
接触していないと判定された場合(ステップS306;No)、傾き判定部135は、傾き判定処理(ステップS308)を実行する。傾き判定処理(ステップS308)では、ステップS203にて取得された画像情報と基準記憶部138に保持された基準情報143とに基づいて、伝票挿入部106に挿入された伝票D2の向きが正しい方向であるか否かが判定される。
Again, see FIG. 16B.
When it is determined that they are not in contact (step S306; No), the tilt determination unit 135 executes the tilt determination process (step S308). In the tilt determination process (step S308), the direction of the slip D2 inserted into the slip insertion unit 106 is the correct direction based on the image information acquired in step S203 and the reference information 143 held in the reference storage unit 138. It is determined whether or not it is.

本実施の形態では、伝票D2の方向についても、基準方向情報143_a及び許容角度情報143_bを参照して、通帳D1の場合と同様に判定される。 In the present embodiment, the direction of the slip D2 is also determined in the same manner as in the case of the passbook D1 with reference to the reference direction information 143_a and the allowable angle information 143_b.

すなわち、画像情報に含まれる画像において、伝票D2の左端D2_Lが前後方向を向くか、又は、前後方向に対して傾いている場合であってもその傾きがα度以内である場合には、伝票D2の向きが正しい方向であると判定される。また、画像情報に含まれる画像において、伝票D2の左端D2_Lが前後方向に対してα度より大きく傾いている場合に(図19参照)、伝票D2の向きが正しい方向ではないと判定される。なお、図19では、撮像ユニット102及び支持部144図示省略している。 That is, in the image included in the image information, if the left end D2_L of the slip D2 faces the front-back direction, or even if it is tilted with respect to the front-back direction, the tilt is within α degrees, the slip. It is determined that the direction of D2 is the correct direction. Further, in the image included in the image information, when the left end D2_L of the slip D2 is tilted more than α degrees with respect to the front-back direction (see FIG. 19), it is determined that the direction of the slip D2 is not the correct direction. Note that FIG. 19 omits the illustration of the image pickup unit 102 and the support portion 144.

再び、図16Bを参照する。
監視時間内でないと判定された場合(ステップS207;No)、又は、正しい方向ではないと判定された場合(ステップS308;No)、搬送制御部127は、伝票搬送部114に伝票D2を搬出させる(ステップS309)。
Again, see FIG. 16B.
If it is determined that the monitoring time is not within (step S207; No), or if it is determined that the direction is not correct (step S308; No), the transfer control unit 127 causes the slip transfer unit 114 to carry out the slip D2. (Step S309).

詳細には、搬送制御部127は、ローラFR3とローラTR3_Hとの間で伝票D2を挟んだ状態で、筐体103から伝票D2を搬出する方向へローラFR3を回転させる。これにより、伝票挿入部106を通じて筐体103の中に挿入されていた伝票D2の一部が、伝票挿入部106を通じて筐体103の外へ搬出される。 Specifically, the transfer control unit 127 rotates the roller FR3 in the direction of carrying out the slip D2 from the housing 103 with the slip D2 sandwiched between the roller FR3 and the roller TR3_H. As a result, a part of the slip D2 inserted into the housing 103 through the slip inserting unit 106 is carried out of the housing 103 through the slip inserting unit 106.

正しい方向であると判定された場合(ステップS308;Yes)、搬送制御部127は、伝票D2を伝票搬送部114に搬入させる(ステップS310)。 When it is determined that the direction is correct (step S308; Yes), the transport control unit 127 carries the slip D2 into the slip transport unit 114 (step S310).

詳細には、搬送制御部127は、ローラFR3とローラTR3_Hとの間で伝票D2を挟んだ状態で、筐体103の中へ伝票D2を搬入する方向へローラFR1を回転させる。これにより、伝票D2の未挿入部分が、通帳挿入部105から筐体103の中に搬入される。 Specifically, the transfer control unit 127 rotates the roller FR1 in the direction of carrying the slip D2 into the housing 103 with the slip D2 sandwiched between the roller FR3 and the roller TR3_H. As a result, the uninserted portion of the slip D2 is carried into the housing 103 from the passbook insertion unit 105.

このように、伝票D2の方向が正しい方向である場合に、伝票D2が搬入される。これにより、伝票D2を確実に正しい方向で搬入させることができる。また、伝票D2の方向が正しい方向であるか否かは、撮像ユニット102からの画像情報に基づいて判定される。そのため、この判定のために物理的に構成を追加する必要はほとんどない。従って、コンパクトな構成で、伝票D2を確実に正しい方向で搬入させることが可能になる。 In this way, when the direction of the slip D2 is the correct direction, the slip D2 is carried in. As a result, the slip D2 can be reliably carried in in the correct direction. Further, whether or not the direction of the slip D2 is the correct direction is determined based on the image information from the image pickup unit 102. Therefore, there is almost no need to physically add a configuration for this determination. Therefore, with a compact configuration, it is possible to reliably carry in the slip D2 in the correct direction.

印字制御部128は、伝票D2が印字配送路へ搬送されてくると、例えば外部の装置から取得した情報に基づいて、印字部116に伝票D2を適宜搬送させつつ伝票D2への印字を行わせる(ステップS311)。そして、印字が終了すると、印字制御部128は、印字部116に伝票D2を伝票搬送路へ搬送させる。 When the slip D2 is transported to the print delivery route, the print control unit 128 causes the print unit 116 to appropriately transport the slip D2 and print the slip D2 based on the information acquired from, for example, an external device. (Step S311). Then, when printing is completed, the print control unit 128 causes the print unit 116 to convey the slip D2 to the slip transport path.

搬送制御部127は、伝票D2が伝票搬送路へ搬送されてくると、伝票搬送部114に伝票D2を搬出させる(ステップS312)。 When the slip D2 is transported to the slip transport path, the transport control unit 127 causes the slip transport unit 114 to carry out the slip D2 (step S312).

詳細には、搬送制御部127は、ローラFR3及びTR3_Hとの間で伝票D2を挟んだ状態で、筐体103から伝票D2を搬出する方向へローラFR3を回転させる。これにより、伝票D2は、伝票挿入部106を通じて筐体103の外へ搬出される。 Specifically, the transfer control unit 127 rotates the roller FR3 in the direction of carrying out the slip D2 from the housing 103 with the slip D2 sandwiched between the roller FR3 and TR3_H. As a result, the slip D2 is carried out of the housing 103 through the slip insertion unit 106.

これにより、伝票搬送処理(ステップS111)が終了し、搬送制御処理に戻る。図9に示すように、保持制御部123は、伝票保持部113に伝票保持状態を解除させる(ステップS112)。 As a result, the slip transfer process (step S111) ends, and the process returns to the transfer control process. As shown in FIG. 9, the holding control unit 123 causes the slip holding unit 113 to release the slip holding state (step S112).

伝票保持状態は、伝票保持部113が伝票D2を保持又は搬送するための状態である。本実施の形態での伝票保持状態の解除は、ローラTR3をローラFR3から遠い位置(ローラTR3_R)に位置付けた状態である。 The slip holding state is a state for the slip holding unit 113 to hold or transport the slip D2. The release of the slip holding state in the present embodiment is a state in which the roller TR3 is positioned at a position far from the roller FR3 (roller TR3_R).

すなわち本実施の形態では、ステップS112にて、保持制御部123は、ローラTR3を、ローラFR3に近い位置(ローラTR3_H)からローラFR1に遠い位置(ローラTR3_R)へ移動させる。これにより、通帳保持状態が解除され、プリンタ制御部104は、搬送制御処理を終了する。 That is, in the present embodiment, in step S112, the holding control unit 123 moves the roller TR3 from a position close to the roller FR3 (roller TR3_H) to a position far from the roller FR1 (roller TR3_R). As a result, the passbook holding state is released, and the printer control unit 104 ends the transfer control process.

これまで、本発明の一実施の形態について説明した。 So far, one embodiment of the present invention has been described.

本実施の形態によれば、通帳挿入部105へ通帳D1の一部が挿入されたとき、通帳D1の未挿入部分を含む撮像領域IAの画像情報に基づいて、オペレータOPが通帳D1に接触しているか否かが判定される。そして、通帳D1とオペレータOPとが接触していると判定された場合、通帳D1を搬入しないように通帳搬送部111が制御される。 According to the present embodiment, when a part of the passbook D1 is inserted into the passbook insertion unit 105, the operator OP contacts the passbook D1 based on the image information of the imaging region IA including the uninserted portion of the passbook D1. It is determined whether or not it is. Then, when it is determined that the passbook D1 and the operator OP are in contact with each other, the passbook transport unit 111 is controlled so as not to carry in the passbook D1.

また、伝票D2についても同様である。すなわち、伝票挿入部106へ伝票D2の一部が挿入されたとき、伝票D2の未挿入部分を含む撮像領域IAの画像情報に基づいて、オペレータOPが伝票D2に接触しているか否かが判定される。そして、伝票D2とオペレータOPとが接触していると判定された場合、伝票D2を搬入しないように伝票搬送部114が制御される。 The same applies to the slip D2. That is, when a part of the slip D2 is inserted into the slip insertion unit 106, it is determined whether or not the operator OP is in contact with the slip D2 based on the image information of the imaging region IA including the uninserted portion of the slip D2. Will be done. Then, when it is determined that the slip D2 and the operator OP are in contact with each other, the slip transport unit 114 is controlled so as not to carry in the slip D2.

これにより、オペレータOPが通帳D1又は伝票D2を保持した状態で通帳D1又は伝票D2が搬入されることがなくなる。そのため、通帳D1又は伝票D2が搬入される時にオペレータOPが通帳D又は伝票D21を保持していることに起因して、通帳D1又は伝票D2の方向が傾くことなどがほとんどなくなる。また、通帳D1又は伝票D2の搬入の開始時に通帳D1又は伝票D2を保持しないようにオペレータOPが特に注意する必要はない。 As a result, the passbook D1 or the slip D2 is not carried in while the operator OP holds the passbook D1 or the slip D2. Therefore, the direction of the passbook D1 or the slip D2 is hardly tilted due to the operator OP holding the passbook D or the slip D21 when the passbook D1 or the slip D2 is carried in. Further, the operator OP does not need to be particularly careful not to hold the passbook D1 or the slip D2 at the start of carrying in the passbook D1 or the slip D2.

従って、オペレータOPが通帳D1又は伝票D2を搬入させるための操作性を向上させることが可能になる。 Therefore, it is possible to improve the operability for the operator OP to carry in the passbook D1 or the slip D2.

また、実施の形態に係るプリンタ100において、筐体103に収容されたプリンタ本体101と撮像ユニット102とで物理的に別に構成されてもよい。この場合、プリンタ本体101と撮像ユニット102とが汎用のケーブルなどで接続されていてもよい。しかし、通帳や伝票に印刷するプリンタ100には、一般的に撮像部129を備えるものも多い。この種のプリンタ100では、上述のようなオペレータOPの操作性の向上のために、プリンタ100に物理的に構成を追加する必要はほとんどない。従って、コンパクトな構成で、オペレータOPが通帳D1又は伝票D2を搬入させるための操作性を向上させることが可能になる。 Further, in the printer 100 according to the embodiment, the printer main body 101 housed in the housing 103 and the image pickup unit 102 may be physically configured separately. In this case, the printer main body 101 and the image pickup unit 102 may be connected by a general-purpose cable or the like. However, many printers 100 that print on passbooks and slips generally include an image pickup unit 129. In this type of printer 100, it is almost unnecessary to physically add a configuration to the printer 100 in order to improve the operability of the operator OP as described above. Therefore, with a compact configuration, it is possible to improve the operability for the operator OP to carry in the passbook D1 or the slip D2.

本実施の形態によれば、通帳D1とオペレータOPとが接触していないと判定された場合に、通帳D1は、通帳搬送部111によって搬入される。伝票D2についても同様に、伝票D2とオペレータOPとが接触していないと判定された場合に、伝票D2は、伝票搬送部114によって搬入される。 According to the present embodiment, when it is determined that the passbook D1 and the operator OP are not in contact with each other, the passbook D1 is carried in by the passbook transport unit 111. Similarly for the slip D2, when it is determined that the slip D2 and the operator OP are not in contact with each other, the slip D2 is carried in by the slip transport unit 114.

これにより、オペレータOPが通帳D1又は伝票D2から離れた状態で通帳D1又は伝票D2が搬入されることになる。そのため、通帳D1又は伝票D2が搬入される時にオペレータOPが通帳D又は伝票D21を保持していることに起因して、通帳D1又は伝票D2の方向が傾くことなどがほとんどなくなる。また、通帳D1又は伝票D2の搬入の開始時に通帳D1又は伝票D2を保持しないようにオペレータOPが特に注意する必要はない。 As a result, the passbook D1 or the slip D2 is carried in with the operator OP away from the passbook D1 or the slip D2. Therefore, the direction of the passbook D1 or the slip D2 is hardly tilted due to the operator OP holding the passbook D or the slip D21 when the passbook D1 or the slip D2 is carried in. Further, the operator OP does not need to be particularly careful not to hold the passbook D1 or the slip D2 at the start of carrying in the passbook D1 or the slip D2.

従って、オペレータOPが通帳D1又は伝票D2を搬入させるための操作性を向上させることが可能になる。 Therefore, it is possible to improve the operability for the operator OP to carry in the passbook D1 or the slip D2.

本実施の形態によれば、撮像部129により撮影された画像を含む画像情報と印字媒体情報142とに基づいて、媒体領域とオペレータ領域とが推定される。そして、推定された媒体領域とオペレータ領域とが互いに重なり合っているか否かに基づいて、オペレータOPが通帳D1又は伝票D2に接触しているか否かが判定される。 According to the present embodiment, the medium area and the operator area are estimated based on the image information including the image taken by the image pickup unit 129 and the print medium information 142. Then, it is determined whether or not the operator OP is in contact with the passbook D1 or the slip D2 based on whether or not the estimated medium area and the operator area overlap each other.

このような方法によれば、固定された撮像ユニット102により撮像される画像を基に、オペレータOPが通帳D1又は伝票D2に接触しているか否かを容易に判定することができる。従って、簡易な構成で、オペレータOPが通帳D1又は伝票D2を搬入させるための操作性を容易に向上させることが可能になる。 According to such a method, it is possible to easily determine whether or not the operator OP is in contact with the passbook D1 or the slip D2 based on the image captured by the fixed imaging unit 102. Therefore, with a simple configuration, it is possible to easily improve the operability for the operator OP to carry in the passbook D1 or the slip D2.

通帳D1又は伝票D2の未挿入部分の画像を含む画像情報は、通帳検出部109又は伝票検出部112によって通帳D1又は伝票D2の挿入が検出されたときに出力される。これにより、オペレータOPが通帳D1又は伝票D2に接触しているか否かなどの判定に必要な時に撮像し、それ以外の間は撮像を停止することがきる。従って、省電力化を図ることが可能になる。 The image information including the image of the uninserted portion of the passbook D1 or the slip D2 is output when the insertion of the passbook D1 or the slip D2 is detected by the passbook detection unit 109 or the slip detection unit 112. As a result, it is possible to take an image when it is necessary to determine whether or not the operator OP is in contact with the passbook D1 or the slip D2, and stop the image pickup during other times. Therefore, it is possible to save power.

通帳保持部110は、通帳検出部109によって通帳D1の挿入が検出されたとき、通帳挿入部105に挿入された通帳D1を保持する。また、伝票保持部113は、伝票検出部112によって伝票D2の挿入が検出されたとき、伝票挿入部106に挿入された伝票D2を保持する。 The passbook holding unit 110 holds the passbook D1 inserted in the passbook inserting unit 105 when the insertion of the passbook D1 is detected by the passbook detecting unit 109. Further, the slip holding unit 113 holds the slip D2 inserted in the slip insertion unit 106 when the slip detection unit 112 detects the insertion of the slip D2.

これにより、オペレータOPが通帳保持部110又は伝票保持部113に挿入した通帳D1又は伝票D2から手などを離す際に、通帳D1又は伝票D2が移動して傾くことを防ぐことができる。従って、オペレータOPが通帳D1又は伝票D2を搬入させるための操作性をより向上させることが可能になる。 As a result, when the operator OP releases the passbook D1 or the slip D2 inserted into the passbook holding unit 110 or the slip holding unit 113, the passbook D1 or the slip D2 can be prevented from moving and tilting. Therefore, it becomes possible to further improve the operability for the operator OP to carry in the passbook D1 or the slip D2.

以上、本発明の一実施の形態について説明したが、本実施の形態には、次のように変更が加えられてもよい。 Although one embodiment of the present invention has been described above, the following modifications may be made to the present embodiment.

(変形例1)
例えば、傾き判定部135が撮影ユニット102のユニット制御部130に含まれていなくてもよい。この場合、通帳D1又は伝票D2が正しい方向を向いているか否かは、判定情報に含まれない。
(Modification 1)
For example, the tilt determination unit 135 may not be included in the unit control unit 130 of the photographing unit 102 . In this case, whether or not the passbook D1 or the slip D2 is facing in the correct direction is not included in the determination information.

変形例1では、搬送制御部127は、通帳D1の挿入が検出された場合において、オペレータOPが通帳D1に接触していることが判定情報に含まれるとき、当該通帳D1を搬入しないように通帳搬送部111を制御するとよい。また、搬送制御部127は、通帳D1の挿入が検出された場合において、オペレータOPが通帳D1に接触していないことが判定情報に含まれるとき、当該通帳D1を搬入するように通帳搬送部111を制御するとよい。 In the first modification, when the insertion of the passbook D1 is detected and the determination information includes that the operator OP is in contact with the passbook D1, the transfer control unit 127 does not carry in the passbook D1. It is preferable to control the transport unit 111 . Further, when the determination information includes that the operator OP is not in contact with the passbook D1 when the insertion of the passbook D1 is detected, the transfer control unit 127 carries in the passbook D1 so as to carry in the passbook D1. It is good to control.

伝票D2の挿入が検出された場合においても、搬送制御部127は、伝票搬送部114を同様に制御するとよい。すなわち、搬送制御部127は、伝票D2の挿入が検出された場合において、オペレータOPが伝票D2に接触していることが判定情報に含まれるとき、当該伝票D2を搬入しないように伝票搬送部114を制御するとよい。また搬送制御部127は、伝票D2の挿入が検出された場合において、オペレータOPが伝票D2に接触していないことが判定情報に含まれるとき、当該伝票D2を搬入するように伝票搬送部114を制御するとよい。 Even when the insertion of the slip D2 is detected, the transport control unit 127 may control the slip transport unit 114 in the same manner. That is, when the determination information includes that the operator OP is in contact with the slip D2 when the insertion of the slip D2 is detected, the transport control unit 127 does not carry in the slip D2. It is good to control. Further , when the determination information includes that the operator OP is not in contact with the slip D2 when the insertion of the slip D2 is detected, the transport control unit 127 so as to carry in the slip D2. It is good to control.

これにより、傾き判定部135の判定によるものを除いて、実施の形態と同様の効果を奏する。 As a result, the same effect as that of the embodiment is obtained except for the one determined by the inclination determination unit 135.

(変形例2)
実施の形態に係るプリンタ制御部104及びユニット制御部130の機能の一部又は全部を備える搬送制御装置が、プリンタ本体及び撮像ユニットとは別に設けられてもよい。この場合、撮像ユニットは、適宜の指示部材により筐体とは分離して支持されてもよい。また、この場合、搬送制御装置とプリンタ本体と撮像ユニットとは、有線又は無線の回線を通じて通信できるように構成されるとよい。これによって、実施の形態と同様に動作し、同様の効果を奏する。
(Modification 2)
A transport control device including a part or all of the functions of the printer control unit 104 and the unit control unit 130 according to the embodiment may be provided separately from the printer main body and the image pickup unit. In this case, the image pickup unit may be supported separately from the housing by an appropriate indicating member. Further, in this case, the transport control device, the printer main body, and the image pickup unit may be configured so as to be able to communicate with each other via a wired or wireless line. As a result, it operates in the same manner as in the embodiment and has the same effect.

図20には、変形例2に係る搬送制御装置247の一例を示す。図20に示すように、搬送制御装置247は、図3及び5のそれぞれを参照して説明したプリンタ制御部104及びユニット制御部130の機能のすべてを備える。搬送制御装置247は、例えば一般的なコンピュータであって、機能的には例えば図4又は図8に示すプリンタ制御部104又はユニット制御部130と同様の構成を備える。この機能は例えば、ソフトウェアプログラムがコンピュータに予め組み込まれることによって発揮される。 FIG. 20 shows an example of the transport control device 247 according to the modification 2. As shown in FIG. 20, the transport control device 247 includes all the functions of the printer control unit 104 and the unit control unit 130 described with reference to each of FIGS. 3 and 5. The transport control device 247 is, for example, a general computer, and functionally has the same configuration as the printer control unit 104 or the unit control unit 130 shown in FIG. 4 or FIG. This function is exerted, for example, by preliminarily incorporating a software program into a computer.

この場合、プリンタ200は、実施の形態に係る撮像ユニット102及び支持部144を含まなくてもよく、実施の形態に係るプリンタ本体101に相当する構成のみを備えるとよい。そして、プリンタ200は、実施の形態に係るプリンタ制御部104に代わるプリンタ制御部204を備える。これら点を除いて、プリンタ200は、実施の形態に係るプリンタ100と概ね同様の構成を備える。 In this case, the printer 200 does not have to include the image pickup unit 102 and the support portion 144 according to the embodiment, and may have only the configuration corresponding to the printer main body 101 according to the embodiment. The printer 200 includes a printer control unit 204 instead of the printer control unit 104 according to the embodiment. Except for these points, the printer 200 has substantially the same configuration as the printer 100 according to the embodiment.

図20では、プリンタ200が備える構成のうち、本変形例に特徴的なプリンタ制御部204のみを示しており、その他の構成は簡明のため省略している。プリンタ制御部204は、搬送制御装置247からの指示に従って、プリンタ本体を制御する。 FIG. 20 shows only the printer control unit 204, which is characteristic of this modification, among the configurations included in the printer 200, and the other configurations are omitted for the sake of simplicity. The printer control unit 204 controls the printer main body according to the instruction from the transfer control device 247.

撮像ユニット202は、実施の形態に係るユニット制御部130に代わるユニット制御部230を備える。この点を除いて、撮像ユニット202は、実施の形態に係る撮像ユニット102と概ね同様の構成を備える。図20では、撮像ユニット202が備える構成のうち、本変形例に特徴的なユニット制御部230のみを示しており、その他の構成は簡明のため省略している。ユニット制御部230は、搬送制御装置247からの指示に従って、撮像部129を制御する。 The image pickup unit 202 includes a unit control unit 230 instead of the unit control unit 130 according to the embodiment. Except for this point, the image pickup unit 202 has substantially the same configuration as the image pickup unit 102 according to the embodiment. FIG. 20 shows only the unit control unit 230, which is characteristic of this modification, among the configurations included in the image pickup unit 202, and the other configurations are omitted for the sake of simplicity. The unit control unit 230 controls the image pickup unit 129 according to the instruction from the transfer control device 247.

本変形例によっても、実施の形態と同様の効果を奏する。 This modification also has the same effect as that of the embodiment.

また、プリンタ200と撮像ユニット202との各々を管理するソフトウェアを搬送制御装置247に組み込むことで、プリンタ200と撮像ユニット202とを統一的に管理することができる。従って、プリンタ200と撮像ユニット202との管理を容易にすることが可能になる。 Further, by incorporating software for managing each of the printer 200 and the image pickup unit 202 into the transport control device 247, the printer 200 and the image pickup unit 202 can be managed in a unified manner. Therefore, it becomes possible to easily manage the printer 200 and the image pickup unit 202.

本発明の一実施の形態及び変形例について説明したが、本発明は、これらに限られない。例えば、本発明は、これまで説明した実施の形態及び変形例の一部又は全部を適宜組み合わせた形態、その形態に適宜変更を加えた形態をも含む。 Although one embodiment and modifications of the present invention have been described, the present invention is not limited thereto. For example, the present invention also includes a form in which a part or all of the embodiments described above and a modification thereof are appropriately combined, and a form in which the form is appropriately modified.

上記の実施の形態の一部又は全部は、以下の付記のようにも記載され得るが以下には限られない。
(付記1)
オペレータにより第1の印字媒体が挿入される第1の挿入部と、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域を撮影する撮像部と、
前記撮像部によって撮影された前記撮像領域の画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定する接触判定部と、
前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部と、
前記オペレータが前記第1の印字媒体に接触していると前記接触判定部によって判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御する搬送制御部とを備える
ことを特徴とするプリンタ。
(付記2)
前記搬送制御部は、前記第1の印字媒体と前記オペレータとが接触していないと前記接触判定部によって判定された場合に、前記第1の印字媒体を搬入するように前記第1の搬送部を制御する
ことを特徴とする付記1に記載のプリンタ。
(付記3)
前記第1の印字媒体の形状を示す印字媒体情報が保持される印字媒体記憶部をさらに備え、
前記接触判定部は、
前記画像情報と前記印字媒体記憶部に保持された前記印字媒体情報とに基づいて、前記第1の印字媒体の前記未挿入部分が占める領域である媒体領域を推定する第1の領域推定部と、
前記画像情報が示す画像に前記オペレータが含まれている場合に、当該オペレータが占める領域であるオペレータ領域を推定する第2の領域推定部と、
前記推定されたオペレータ領域と前記推定された媒体領域とが互いに重なっているか否かに基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定する重なり判定部とを有する
ことを特徴とする付記1又は2に記載のプリンタ。
(付記4)
前記第1の挿入部への前記第1の印字媒体の一部の挿入を検出する第1の検出部をさらに備え、
前記撮像部は、前記第1の検出部によって前記第1の印字媒体の挿入が検出されたとき、前記撮像領域を撮影する
ことを特徴とする付記1から3のいずれかに記載のプリンタ。
(付記5)
前記第1の検出部によって前記第1の印字媒体の挿入が検出されたとき、前記第1の挿入部に挿入された前記第1の印字媒体を保持する第1の保持部をさらに備える
ことを特徴とする付記1から4のいずれか1項に記載のプリンタ。
(付記6)
オペレータにより第2の印字媒体が挿入される第2の挿入部と、
前記第2の挿入部に挿入された前記第2の印字媒体を前記第2の挿入部から搬入する第2の搬送部とをさらに備え、
前記撮像部は、前記第2の挿入部へ前記第2の印字媒体の一部が挿入されたときの当該第2の印字媒体の未挿入部分をさらに含む前記撮像領域を撮影し、
前記接触判定部は、さらに、前記撮像部によって撮影された前記撮像領域の前記画像情報に基づいて、前記オペレータが前記第2の印字媒体に接触しているか否かを判定し、
前記搬送制御部は、さらに、前記オペレータが前記第2の印字媒体に接触していると前記接触判定部によって判定された場合、前記第2の印字媒体を搬入しないように前記第2の搬送部を制御する
ことを特徴とする付記1から5のいずれかに記載のプリンタ。
(付記7)
前記第1の挿入部に前記第1の印字媒体を挿入する際に、前記第1の印字媒体が載せ置かれる第1の載置部と、
前記第2の挿入部に前記第2の印字媒体を挿入する際に、前記第2の印字媒体が載せ置かれる第2の載置部とをさらに備え、
前記第1の載置部と前記第2の載置部とには、予め定められた異なる模様が設けられている
ことを特徴とする付記に記載のプリンタ。
(付記8)
前記撮像部は、前記撮像領域を有する1つのカメラ又はスキャナである
ことを特徴とする付記1から7のいずれかに記載のプリンタ。
(付記9)
前記画像情報に基づいて、前記第1の印字媒体の向きが予め定められた基準方向に対して予め定められた範囲内にあるか否かを判定する傾き判定部をさらに備え、
前記第1の搬送部は、さらに、前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬出し、
前記搬送制御部は、さらに、前記第1の印字媒体の向きが前記予め定められた範囲内にないと前記傾き判定部によって判定された場合、前記第1の印字媒体を搬出するように前記第1の搬送部を制御する
ことを特徴とする付記1から8のいずれかに記載のプリンタ。
(付記10)
オペレータにより第1の印字媒体が挿入される第1の挿入部と、前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部とを備えるプリンタによる前記第1の印字媒体の搬入を制御する搬送制御装置であって、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域の画像情報を取得する画像取得部と、
前記画像取得部によって取得された前記画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定する接触判定部と、
前記オペレータが前記第1の印字媒体に接触していると前記接触判定部によって判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御する搬送制御部とを備える
ことを特徴とする搬送制御装置。
(付記11)
オペレータにより第1の印字媒体が挿入される第1の挿入部と、前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部とを備えるプリンタによる前記第1の印字媒体の搬入を制御する搬入制御方法であって、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域の画像情報を取得することと、
前記取得された画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定することと、
前記オペレータが前記第1の印字媒体に接触していると判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御することとを含む
ことを特徴とする搬送制御方法。
(付記12)
オペレータにより第1の印字媒体が挿入される第1の挿入部と、前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部とを備えるプリンタによる前記第1の印字媒体の搬入を制御するためのコンピュータに、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域の画像情報を取得することと、
前記取得された画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定することと、
前記オペレータが前記第1の印字媒体に接触していると判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御することとを実行させるためのプログラム。
Some or all of the above embodiments may also be described, but not limited to:
(Appendix 1)
A first insertion section into which the first print medium is inserted by the operator,
When a part of the first print medium is inserted into the first insertion unit, an image pickup unit that captures an image pickup region including an uninserted portion of the first print medium, and an image pickup unit.
A contact determination unit that determines whether or not the operator is in contact with the first print medium based on the image information of the image pickup region captured by the image pickup unit.
A first transport unit that carries in the first print medium inserted into the first insertion unit from the first insertion unit, and a first transport unit.
When the contact determination unit determines that the operator is in contact with the first print medium, the transfer control unit that controls the first transfer unit so as not to carry in the first print medium. A printer characterized by being equipped.
(Appendix 2)
When the contact determination unit determines that the first print medium and the operator are not in contact with each other, the transfer control unit carries in the first print medium. The printer according to Appendix 1, characterized in that the printer is controlled.
(Appendix 3)
Further, a print medium storage unit for holding print medium information indicating the shape of the first print medium is provided.
The contact determination unit is
A first area estimation unit that estimates a medium area that is an area occupied by the non-inserted portion of the first print medium based on the image information and the print medium information held in the print medium storage unit. ,
When the operator is included in the image indicated by the image information, a second area estimation unit that estimates an operator area, which is an area occupied by the operator, and a second area estimation unit.
It has an overlap determination unit for determining whether or not the operator is in contact with the first print medium based on whether or not the estimated operator region and the estimated medium region overlap each other. The printer according to Appendix 1 or 2, wherein the printer is characterized by the above.
(Appendix 4)
A first detection unit for detecting the insertion of a part of the first print medium into the first insertion unit is further provided.
The printer according to any one of Supplementary note 1 to 3, wherein the image pickup unit captures the image pickup region when the insertion of the first print medium is detected by the first detection unit.
(Appendix 5)
When the insertion of the first print medium is detected by the first detection unit, the first holding unit for holding the first print medium inserted in the first insertion unit is further provided. The printer according to any one of Supplementary note 1 to 4, which is a feature.
(Appendix 6)
A second insertion section into which the second print medium is inserted by the operator,
Further provided with a second transport section for carrying the second print medium inserted into the second insertion section from the second insertion section.
The image pickup unit photographs the image pickup region including a non-inserted portion of the second print medium when a part of the second print medium is inserted into the second insertion unit.
The contact determination unit further determines whether or not the operator is in contact with the second print medium based on the image information of the image pickup region captured by the image pickup unit.
Further, when the contact determination unit determines that the operator is in contact with the second print medium, the transfer control unit further prevents the second print medium from being carried in. The printer according to any one of Supplementary Provisions 1 to 5, characterized in that the printer is controlled.
(Appendix 7)
When the first print medium is inserted into the first insertion portion, the first mounting portion on which the first print medium is placed and the first mounting portion.
When the second print medium is inserted into the second insertion portion, a second mounting portion on which the second print medium is placed is further provided.
The printer according to Appendix 6 , wherein the first mounting portion and the second mounting portion are provided with different predetermined patterns.
(Appendix 8)
The printer according to any one of Supplementary note 1 to 7, wherein the image pickup unit is one camera or scanner having the image pickup region.
(Appendix 9)
A tilt determination unit for determining whether or not the orientation of the first print medium is within a predetermined range with respect to a predetermined reference direction based on the image information is further provided.
The first transport unit further carries out the first print medium inserted in the first insertion unit from the first insertion unit.
When the tilt determination unit determines that the orientation of the first print medium is not within the predetermined range, the transport control unit further carries out the first print medium. The printer according to any one of Supplementary note 1 to 8, wherein the transport unit of 1 is controlled.
(Appendix 10)
A first insertion section into which a first print medium is inserted by an operator, and a first transfer section for carrying in the first print medium inserted into the first insertion section from the first insertion section. A transport control device for controlling the carry-in of the first print medium by a printer including the above.
An image acquisition unit that acquires image information of an imaging region including an uninserted portion of the first print medium when a part of the first print medium is inserted into the first insertion unit.
A contact determination unit that determines whether or not the operator is in contact with the first print medium based on the image information acquired by the image acquisition unit.
When the contact determination unit determines that the operator is in contact with the first print medium, the transfer control unit that controls the first transfer unit so as not to carry in the first print medium. A transport control device characterized by being provided.
(Appendix 11)
A first insertion section into which a first print medium is inserted by an operator, and a first transfer section for carrying in the first print medium inserted into the first insertion section from the first insertion section. A carry-in control method for controlling the carry-in of the first print medium by a printer comprising the above.
When a part of the first print medium is inserted into the first insertion portion, the image information of the imaging region including the uninserted portion of the first print medium is acquired.
Based on the acquired image information, it is determined whether or not the operator is in contact with the first print medium.
When it is determined that the operator is in contact with the first print medium, the first transport unit is controlled so as not to carry in the first print medium. Control method.
(Appendix 12)
A first insertion section into which a first print medium is inserted by an operator, and a first transfer section for carrying in the first print medium inserted into the first insertion section from the first insertion section. To a computer for controlling the carry-in of the first print medium by a printer including
When a part of the first print medium is inserted into the first insertion portion, the image information of the imaging region including the uninserted portion of the first print medium is acquired.
Based on the acquired image information, it is determined whether or not the operator is in contact with the first print medium.
A program for controlling the first transport unit so that the operator does not carry in the first print medium when it is determined that the operator is in contact with the first print medium.

本発明は、銀行、農協などの金融機関で取り扱われる通帳、各種の帳票、各種の用紙などの印字媒体をオペレータの操作に応じて取り込むプリンタに有用に利用することができる。本発明は、印字内容に応じて印字すべき領域が予め定められた印字媒体に印刷するプリンタに、特に有用に利用することができる。また、本発明は、このようなプリンタへの印字媒体の搬入を制御する搬送装置及び搬送方法、さらに、それをコンピュータに実行させるためのプログラムなどにも有用に利用することができる。 INDUSTRIAL APPLICABILITY The present invention can be usefully used for a printer that captures print media such as passbooks, various forms, and various types of paper handled by financial institutions such as banks and agricultural cooperatives according to the operation of an operator. INDUSTRIAL APPLICABILITY The present invention can be particularly usefully used for a printer that prints on a print medium in which an area to be printed according to a print content is predetermined. Further, the present invention can be usefully used for a transfer device and a transfer method for controlling the delivery of a print medium to such a printer, a program for causing a computer to execute the transfer device, and the like.

100,200 プリンタ
101 プリンタ本体
102,202 撮像ユニット
103 筐体
104,204 プリンタ制御部
105 通帳挿入部
106 伝票挿入部
107 通帳載置部
108 伝票載置部
109 通帳検出部
110 通帳保持部
111 通帳搬送部
112 伝票検出部
113 伝票保持部
114 伝票搬送部
115 切替部
116 印字部
122 挿入判定部
123 保持制御部
124 切替制御部
125 撮像指示出力部
126 判定結果取得部
127 搬送制御部
128 印字制御部
129 撮像部
130,230 ユニット制御部
131 タイマ
132 撮像制御部
133 画像取得部
134 接触判定部
135 傾き判定部
136 判定結果出力部
137 印字媒体記憶部
138 基準記憶部
139 第1の領域推定部
140 第2の領域推定部
141 重なり判定部
142 印字媒体情報
143 基準情報
143_a 基準方向情報
143_b 許容角度情報
247 搬送制御装置
100,200 Printer 101 Printer body 102, 202 Imaging unit 103 Housing 104, 204 Printer control unit 105 Passbook insertion unit 106 Passbook insertion unit 107 Passbook mounting unit 108 Passbook mounting unit 109 Passbook detection unit 110 Passbook holding unit 111 Passbook transfer Unit 112 Slip detection unit 113 Slip holding unit 114 Slip transfer unit 115 Switching unit 116 Printing unit 122 Insertion judgment unit 123 Holding control unit 124 Switching control unit 125 Imaging instruction output unit 126 Judgment result acquisition unit 127 Transfer control unit 128 Printing control unit 129 Imaging unit 130, 230 Unit control unit 131 Timer 132 Imaging control unit 133 Image acquisition unit 134 Contact determination unit 135 Tilt determination unit 136 Judgment result output unit 137 Printing medium storage unit 138 Reference storage unit 139 First area estimation unit 140 Second Area estimation unit 141 Overlap determination unit 142 Print media information 143 Reference information 143_a Reference direction information 143_b Allowable angle information 247 Conveyance control device

Claims (10)

オペレータにより第1の印字媒体が挿入される第1の挿入部と、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域を撮影する撮像部と、
前記撮像部によって撮影された前記撮像領域の画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定する接触判定部と、
前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部と、
前記オペレータが前記第1の印字媒体に接触していると前記接触判定部によって判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御する搬送制御部とを備える
ことを特徴とするプリンタ。
A first insertion section into which the first print medium is inserted by the operator,
When a part of the first print medium is inserted into the first insertion unit, an image pickup unit that captures an image pickup region including an uninserted portion of the first print medium, and an image pickup unit.
A contact determination unit that determines whether or not the operator is in contact with the first print medium based on the image information of the image pickup region captured by the image pickup unit.
A first transport unit that carries in the first print medium inserted into the first insertion unit from the first insertion unit, and a first transport unit.
When the contact determination unit determines that the operator is in contact with the first print medium, the transfer control unit that controls the first transfer unit so as not to carry in the first print medium. A printer characterized by being equipped.
前記搬送制御部は、前記第1の印字媒体と前記オペレータとが接触していないと前記接触判定部によって判定された場合に、前記第1の印字媒体を搬入するように前記第1の搬送部を制御する
ことを特徴とする請求項1に記載のプリンタ。
When the contact determination unit determines that the first print medium and the operator are not in contact with each other, the transport control unit carries in the first print medium. The printer according to claim 1, wherein the printer is controlled.
前記第1の印字媒体の形状を示す印字媒体情報が保持される印字媒体記憶部をさらに備え、
前記接触判定部は、
前記画像情報と前記印字媒体記憶部に保持された前記印字媒体情報とに基づいて、前記第1の印字媒体の前記未挿入部分が占める領域である媒体領域を推定する第1の領域推定部と、
前記画像情報が示す画像に前記オペレータが含まれている場合に、当該オペレータが占める領域であるオペレータ領域を推定する第2の領域推定部と、
前記推定されたオペレータ領域と前記推定された媒体領域とが互いに重なっているか否かに基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定する重なり判定部とを有する
ことを特徴とする請求項1又は2に記載のプリンタ。
Further, a print medium storage unit for holding print medium information indicating the shape of the first print medium is provided.
The contact determination unit is
A first area estimation unit that estimates a medium area that is an area occupied by the non-inserted portion of the first print medium based on the image information and the print medium information held in the print medium storage unit. ,
When the operator is included in the image indicated by the image information, a second area estimation unit that estimates an operator area, which is an area occupied by the operator, and a second area estimation unit.
It has an overlap determination unit for determining whether or not the operator is in contact with the first print medium based on whether or not the estimated operator region and the estimated medium region overlap each other. The printer according to claim 1 or 2, wherein the printer is characterized by the above.
前記第1の挿入部への前記第1の印字媒体の一部の挿入を検出する第1の検出部をさらに備え、
前記撮像部は、前記第1の検出部によって前記第1の印字媒体の挿入が検出されたとき、前記撮像領域を撮影する
ことを特徴とする請求項1から3のいずれか1項に記載のプリンタ。
Further, a first detection unit for detecting the insertion of a part of the first print medium into the first insertion unit is provided.
The aspect according to any one of claims 1 to 3, wherein the image pickup unit captures the image pickup region when the insertion of the first print medium is detected by the first detection unit. Printer.
オペレータにより第2の印字媒体が挿入される第2の挿入部と、
前記第2の挿入部に挿入された前記第2の印字媒体を前記第2の挿入部から搬入する第2の搬送部とをさらに備え、
前記撮像部は、前記第2の挿入部へ前記第2の印字媒体の一部が挿入されたときの当該第2の印字媒体の未挿入部分をさらに含む前記撮像領域を撮影し、
前記接触判定部は、さらに、前記撮像部によって撮影された前記撮像領域の前記画像情報に基づいて、前記オペレータが前記第2の印字媒体に接触しているか否かを判定し、
前記搬送制御部は、さらに、前記オペレータが前記第2の印字媒体に接触していると前記接触判定部によって判定された場合、前記第2の印字媒体を搬入しないように前記第2の搬送部を制御する
ことを特徴とする請求項1から4のいずれか1項に記載のプリンタ。
A second insertion section into which the second print medium is inserted by the operator,
Further provided with a second transport section for carrying the second print medium inserted into the second insertion section from the second insertion section.
The image pickup unit photographs the image pickup region including a non-inserted portion of the second print medium when a part of the second print medium is inserted into the second insertion unit.
The contact determination unit further determines whether or not the operator is in contact with the second print medium based on the image information of the image pickup region captured by the image pickup unit.
Further, when the contact determination unit determines that the operator is in contact with the second print medium, the transfer control unit further prevents the second print medium from being carried in. The printer according to any one of claims 1 to 4, wherein the printer is controlled.
前記第1の挿入部に前記第1の印字媒体を挿入する際に、前記第1の印字媒体が載せ置かれる第1の載置部と、
前記第2の挿入部に前記第2の印字媒体を挿入する際に、前記第2の印字媒体が載せ置かれる第2の載置部とをさらに備え、
前記第1の載置部と前記第2の載置部とには、予め定められた異なる模様が設けられている
ことを特徴とする請求項に記載のプリンタ。
When the first print medium is inserted into the first insertion portion, the first mounting portion on which the first print medium is placed and the first mounting portion.
When the second print medium is inserted into the second insertion portion, a second mounting portion on which the second print medium is placed is further provided.
The printer according to claim 5 , wherein the first mounting portion and the second mounting portion are provided with different predetermined patterns.
前記撮像部は、前記撮像領域を有する1つのカメラ又はスキャナである
ことを特徴とする請求項1から6のいずれか1項に記載のプリンタ。
The printer according to any one of claims 1 to 6, wherein the image pickup unit is one camera or scanner having the image pickup region.
オペレータにより第1の印字媒体が挿入される第1の挿入部と、前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部とを備えるプリンタによる前記第1の印字媒体の搬入を制御する搬送制御装置であって、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域の画像情報を取得する画像取得部と、
前記画像取得部によって取得された前記画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定する接触判定部と、
前記オペレータが前記第1の印字媒体に接触していると前記接触判定部によって判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御する搬送制御部とを備える
ことを特徴とする搬送制御装置。
A first insertion section into which a first print medium is inserted by an operator, and a first transfer section for carrying in the first print medium inserted into the first insertion section from the first insertion section. A transport control device for controlling the carry-in of the first print medium by a printer including the above.
An image acquisition unit that acquires image information of an imaging region including an uninserted portion of the first print medium when a part of the first print medium is inserted into the first insertion unit.
A contact determination unit that determines whether or not the operator is in contact with the first print medium based on the image information acquired by the image acquisition unit.
When the contact determination unit determines that the operator is in contact with the first print medium, the transfer control unit that controls the first transfer unit so as not to carry in the first print medium. A transport control device characterized by being provided.
オペレータにより第1の印字媒体が挿入される第1の挿入部と、前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部とを備えるプリンタによる前記第1の印字媒体の搬入を制御する搬入制御方法であって、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域の画像情報を取得することと、
前記取得された画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定することと、
前記オペレータが前記第1の印字媒体に接触していると判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御することとを含む
ことを特徴とする搬送制御方法。
A first insertion section into which a first print medium is inserted by an operator, and a first transfer section for carrying in the first print medium inserted into the first insertion section from the first insertion section. A carry-in control method for controlling the carry-in of the first print medium by a printer comprising the above.
When a part of the first print medium is inserted into the first insertion portion, the image information of the imaging region including the uninserted portion of the first print medium is acquired.
Based on the acquired image information, it is determined whether or not the operator is in contact with the first print medium.
When it is determined that the operator is in contact with the first print medium, the first transport unit is controlled so as not to carry in the first print medium. Control method.
オペレータにより第1の印字媒体が挿入される第1の挿入部と、前記第1の挿入部に挿入された前記第1の印字媒体を前記第1の挿入部から搬入する第1の搬送部とを備えるプリンタによる前記第1の印字媒体の搬入を制御するためのコンピュータに、
前記第1の挿入部へ前記第1の印字媒体の一部が挿入されたとき、当該第1の印字媒体の未挿入部分を含む撮像領域の画像情報を取得することと、
前記取得された画像情報に基づいて、前記オペレータが前記第1の印字媒体に接触しているか否かを判定することと、
前記オペレータが前記第1の印字媒体に接触していると判定された場合、前記第1の印字媒体を搬入しないように前記第1の搬送部を制御することとを実行させるためのプログラム。
A first insertion section into which a first print medium is inserted by an operator, and a first transfer section for carrying in the first print medium inserted into the first insertion section from the first insertion section. To a computer for controlling the carry-in of the first print medium by a printer including
When a part of the first print medium is inserted into the first insertion portion, the image information of the imaging region including the uninserted portion of the first print medium is acquired.
Based on the acquired image information, it is determined whether or not the operator is in contact with the first print medium.
A program for controlling the first transport unit so that the operator does not carry in the first print medium when it is determined that the operator is in contact with the first print medium.
JP2018018049A 2018-02-05 2018-02-05 Printer, transfer control device, transfer control method and program Active JP7021744B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018018049A JP7021744B2 (en) 2018-02-05 2018-02-05 Printer, transfer control device, transfer control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018018049A JP7021744B2 (en) 2018-02-05 2018-02-05 Printer, transfer control device, transfer control method and program

Publications (2)

Publication Number Publication Date
JP2019135181A JP2019135181A (en) 2019-08-15
JP7021744B2 true JP7021744B2 (en) 2022-02-17

Family

ID=67623655

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018018049A Active JP7021744B2 (en) 2018-02-05 2018-02-05 Printer, transfer control device, transfer control method and program

Country Status (1)

Country Link
JP (1) JP7021744B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7343221B2 (en) * 2022-01-12 2023-09-12 Necプラットフォームズ株式会社 Media processing device and media processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004235751A (en) 2003-01-28 2004-08-19 Fujitsu Ltd Form reader and form reading method
JP2005014252A (en) 2003-06-23 2005-01-20 Ricoh Co Ltd Image forming apparatus and image forming system
JP2008077379A (en) 2006-09-21 2008-04-03 Seiko Epson Corp Image detection apparatus, image detection method, and image detection program
JP2013161431A (en) 2012-02-08 2013-08-19 Oki Electric Ind Co Ltd Transaction apparatus, transaction system and transaction program
JP2014073626A (en) 2012-10-04 2014-04-24 Hitachi Omron Terminal Solutions Corp Medium processing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3330814B2 (en) * 1996-03-28 2002-09-30 沖電気工業株式会社 Media handling equipment
JP2856181B2 (en) * 1996-11-29 1999-02-10 日本電気株式会社 Passbook printer for passbook printer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004235751A (en) 2003-01-28 2004-08-19 Fujitsu Ltd Form reader and form reading method
JP2005014252A (en) 2003-06-23 2005-01-20 Ricoh Co Ltd Image forming apparatus and image forming system
JP2008077379A (en) 2006-09-21 2008-04-03 Seiko Epson Corp Image detection apparatus, image detection method, and image detection program
JP2013161431A (en) 2012-02-08 2013-08-19 Oki Electric Ind Co Ltd Transaction apparatus, transaction system and transaction program
JP2014073626A (en) 2012-10-04 2014-04-24 Hitachi Omron Terminal Solutions Corp Medium processing device

Also Published As

Publication number Publication date
JP2019135181A (en) 2019-08-15

Similar Documents

Publication Publication Date Title
JP4131206B2 (en) Medium reading apparatus and medium reading method
JP5929674B2 (en) Image reading apparatus and conveying apparatus
JP7021744B2 (en) Printer, transfer control device, transfer control method and program
JP5758025B1 (en) Image reading device
JP5899748B2 (en) Medium processing apparatus and method for controlling medium processing apparatus
CN110784611B (en) Media feeding device and image reading device
CN115914479B (en) Image reading device
JP6127404B2 (en) Medium processing apparatus and method for controlling medium processing apparatus
JP4775232B2 (en) Sheet transport device
JP2009242017A (en) Sheet feeder and image reader
ES2292281A1 (en) Medium conveyance mechanism, medium conveyance device, and medium conveyance method
US20240106949A1 (en) Information processing apparatus, image reading apparatus, image forming apparatus, non-transitory computer readable medium, and information processing method
JP6976075B2 (en) Media transfer device
JP3808770B2 (en) Sheet transport device
JPH0976592A (en) Sheet conveyor
JP4553847B2 (en) Medium transport device
JP6396252B2 (en) Card insertion / ejection mechanism and card processing apparatus
JP4470403B2 (en) Image reading device
JP6720727B2 (en) Image reading device, feeding method
US20230065191A1 (en) Detection device, image forming apparatus, and non-transitory computer readable medium
JP2015123667A (en) Printer and method for discriminating front and rear sides
JP2021031285A (en) Document transport status determination device, image reading device
JP2010079606A (en) Card processing apparatus
JP2553215B2 (en) Automatic page turning mechanism
JP6487366B2 (en) Compound equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210105

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211015

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211020

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220105

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220127

R150 Certificate of patent or registration of utility model

Ref document number: 7021744

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150