JP2008012894A - Apparatus and method for discriminating among types of media - Google Patents
Apparatus and method for discriminating among types of media Download PDFInfo
- Publication number
- JP2008012894A JP2008012894A JP2006189395A JP2006189395A JP2008012894A JP 2008012894 A JP2008012894 A JP 2008012894A JP 2006189395 A JP2006189395 A JP 2006189395A JP 2006189395 A JP2006189395 A JP 2006189395A JP 2008012894 A JP2008012894 A JP 2008012894A
- Authority
- JP
- Japan
- Prior art keywords
- medium
- width
- detected
- detection unit
- change point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、通帳や帳票などの媒体の媒体種別判別装置及び媒体種別判別方法に係り、特に光学的読取装置によって媒体の種別を判別する媒体種別判別装置及び媒体種別判別方法に関する。 The present invention relates to a medium type determination apparatus and a medium type determination method for a medium such as a passbook or a form, and more particularly to a medium type determination apparatus and a medium type determination method for determining a medium type by an optical reader.
従来の媒体種別判別装置は媒体種別毎の横幅にあわせて複数の光学センサを配置することにより媒体の横幅を検出していた。しかし、媒体の種別が増加するに従い横幅の大きさも種類が増加するため光学センサを数多く用いなければならず、一つの装置の中に配置しきれなくなるという問題点があった。また、横幅の差が小さい媒体間においては光学センサが誤検出するという問題点があった。 A conventional medium type discriminating apparatus detects the width of a medium by arranging a plurality of optical sensors in accordance with the width of each medium type. However, as the type of medium increases, the size of the horizontal width also increases, so that a large number of optical sensors must be used, and there is a problem in that it cannot be arranged in one apparatus. In addition, there is a problem that the optical sensor erroneously detects between media having a small width difference.
この問題に関する従来技術には以下のものがある。 Prior art relating to this problem includes the following.
特許文献1には、帳票積載部の上方に帳票正面までの距離を測定するセンサを帳票の幅方向に複数配列し、幅の異なる帳票が幅方向に階段状に積載されているとき、センサが距離の変化点を検知することにより帳票の位置及び幅を検出する技術が記載されている。 In Patent Document 1, a plurality of sensors for measuring the distance to the front of the form are arranged above the form stacking unit in the width direction of the form, and when the forms having different widths are stacked stepwise in the width direction, A technique for detecting the position and width of a form by detecting a change point of the distance is described.
しかし、通帳や帳票を一部ずつ媒体種別判別装置に投入した場合には、非常に高精度のセンサを用いない限り横幅の検出が困難になるという問題点があった。また、高精度のセンサは非常に高価であり、媒体種別判別装置の製造コストを押し上げるという問題点があった。
本発明は上記のような問題点に鑑みてなされたものであり、サイズの異なる複数種類の通帳や帳票などの媒体を高精度に判別する媒体種別判別装置及び媒体種別判別方法を提供することを目的とする。 The present invention has been made in view of the above problems, and provides a medium type determination apparatus and a medium type determination method for accurately determining a plurality of types of media such as passbooks and forms having different sizes. Objective.
この目的を達成するために、請求項1の媒体種別判別装置は、媒体挿入口に設けられ媒体の有無を検知する光学センサと、この光学センサを媒体が通過する時間と移動速度から媒体の縦幅を検出する縦幅検出部と、印刷する媒体をスキャンし画像情報を得る光学的読取装置と、光学的読取装置によって検出された輝度の変化点から媒体の横幅を検出する横幅検出部と、媒体種類毎に固有の縦幅と横幅との関係を格納した媒体サイズテーブルと、縦幅検出部が検出した媒体の縦幅と横幅検出部が検出した媒体の横幅とを基に媒体サイズテーブルを参照して媒体種別を判別する制御部と、光学的読取装置によって検出された輝度の変化点から印字位置を検出する印字位置検出部と、を有することを特徴とする。 In order to achieve this object, a medium type discriminating apparatus according to claim 1 includes an optical sensor provided at a medium insertion port for detecting the presence or absence of a medium, and the vertical and vertical directions of the medium based on the time and moving speed of the medium passing through the optical sensor. A vertical width detection unit that detects a width; an optical reader that scans a medium to be printed to obtain image information; a horizontal width detector that detects a horizontal width of a medium from a change point in luminance detected by the optical reader; Based on the media size table that stores the relationship between the specific vertical width and horizontal width for each media type, and the media width detected by the vertical width detection unit and the horizontal width of the medium detected by the horizontal width detection unit. It has a control part which distinguishes a medium type with reference, and a printing position detection part which detects a printing position from a change point of luminance detected by an optical reading device.
また、請求項3の媒体種別判別方法は、縦幅検出部が、光学センサを媒体が通過する時間と移動速度から媒体の縦幅を検出する縦幅検出ステップと、横幅検出部が、光学的読取装置によって検知された輝度の変化点から媒体の横幅を検出する横幅検出ステップと、制御部が、縦幅検出部が検出した媒体の縦幅と横幅検出部が検出した媒体の横幅とを基に媒体サイズテーブルを参照して媒体種別を判別する媒体判別ステップと、印字位置検出部が、光学的読取装置によって検出された輝度の変化点から印字位置を検出する印刷位置検出ステップと、を有することを特徴とする。 According to a third aspect of the present invention, there is provided a medium type determining method in which the vertical width detecting unit detects the vertical width of the medium from the time when the medium passes through the optical sensor and the moving speed, and the horizontal width detecting unit is optical. The width detection step for detecting the width of the medium from the brightness change point detected by the reader, and the control unit based on the height of the medium detected by the length detection unit and the width of the medium detected by the width detection unit. A medium determining step for determining the medium type with reference to the medium size table, and a print position detecting step in which the print position detecting unit detects the print position from the change point of the brightness detected by the optical reader. It is characterized by that.
本発明の媒体種別判別装置及び媒体種別判別方法によれば、光学的読取装置により媒体の横幅を検出するため多数種類の媒体の種別を高精度に判別でき、印刷位置の判定をも行うことができる。 According to the medium type discriminating apparatus and the medium type discriminating method of the present invention, since the horizontal width of the medium is detected by the optical reading device, the types of the various types of media can be discriminated with high accuracy, and the print position can also be discriminated. it can.
以下、本発明の実施形態について図面を用いて説明する。図1は本発明の実施形態における媒体種別判別装置の構成例を模式的に表した図である。本発明の実施形態の媒体種別判別装置101は、媒体挿入口111と、媒体搬送路112の上方に配置された媒体の有無を検知する光学センサ105および媒体を撮像する光学的読取装置106および媒体に印字する印字ヘッド107と、搬送路の上下に配置された、媒体のページを捲るページ捲り機構110と、搬送路112の下方に媒体が有する磁気ストライプを読み込む磁気リーダ108とを備える。符号102は媒体を表し、符号103は媒体の挿入方向を、符号104は媒体の搬出方向を表す。また図示していないが、媒体を搬送する搬送機構と、媒体の横幅及び縦幅から媒体種別を判定する制御部と、印字位置を検出する印字位置検出部と、をさらに備える。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram schematically illustrating a configuration example of a medium type discrimination device according to an embodiment of the present invention. The medium type
ここで、媒体とは冊子状の通帳の他、1枚又は複数枚の紙からなる帳票を含むが、印字又は磁気的書き込みができる他の媒体をも含むものとする。また、光学センサは透過型でも反射型でもよい。さらに、印字ヘッドは熱転写型、ドットインパクト型、インクジェット型のいずれでもよい。 Here, the medium includes a booklet-like passbook and forms made up of one or a plurality of papers, but also includes other media capable of printing or magnetic writing. The optical sensor may be transmissive or reflective. Furthermore, the print head may be any of a thermal transfer type, a dot impact type, and an ink jet type.
図2(a)は本発明の実施形態における媒体種別判別装置201を上方から見た状態を模式的に表した図である。媒体202において、矢印203は媒体の縦方向の長さを、矢印204は媒体の横幅をそれぞれ表す。符号205は媒体202の横幅の種類を模式的に表したものである。これらの横幅においては差が数ミリしかないものも含まれる。
FIG. 2A is a diagram schematically showing a state in which the medium
符号206は媒体の搬入方向を、符号207は媒体の搬出方向をそれぞれ表す。媒体の有無を検出する光学センサ208は媒体挿入口に配置される。光学的読取装置209は媒体搬送方向に垂直に配置される。印字部211は媒体搬送方向に垂直に設けられ、印字ヘッドは印字部211の長手方向に移動可能に設けられている。なお、媒体の縦幅とは媒体の搬送方向の長さであり、媒体の横幅とは媒体の搬送方向と垂直な方向の長さを意味する。
図2(b)は光学的読取装置209を媒体側から見た状態を模式的に表した図である。光学的読取装置209には光学的読取素子210を複数並べて配置してある。光学的読取素子の背面にはライトと反射鏡が設けられている。光学的読取素子209にはたとえばCCD(Charge Coupled Devices(電荷結合素子))を用いることができる。光学的読取装置209は媒体をスキャンして反射光を取り込み、画像情報を得る。
FIG. 2B is a diagram schematically illustrating a state in which the
図3(a)は本発明の実施形態における媒体種別判別装置201に挿入された媒体である通帳及び搬送路を上方から見た図である。搬送路301は黒色に塗られている。光学的読取装置209は、通帳の余白部分302をスキャンする。図3(b)は光学的読取装置209がスキャンにより検知した結果をグラフに表した図である。縦軸305は輝度を、横軸306は横幅方向の位置を示す。通帳がある部分は輝度が大きく、グラフに表すと符号307に示すようになる。搬送路301は黒色に塗られているため輝度が小さく、グラフにすると符号308に示すようになる。このように輝度が変化する位置、すなわち輝度の変化点を判定し、媒体の横幅を検出することができる。
FIG. 3A is a diagram of a passbook and a conveyance path, which are media inserted in the medium
図3(c)は光学的読取装置209が通帳に印字された行303をスキャンにより検知した結果を表した図である。印字された部分は輝度が小さくなるため、グラフに表すと符号309に示すようにグラフが細かく上下する。符号309の様な部分が検出された場合、制御部はその行はすでに印字済みであると判定する。この印字済みの行の次に図3(b)のように輝度が小さくなった部分が検出されない行を媒体に検出した場合、その行が印字位置であると判定する。なお、印字位置の判定には輝度に代えて色を用いてもよい。
FIG. 3C is a diagram illustrating a result of scanning the
図4は本発明の実施形態における媒体種別判別装置を構成する要素のブロック図である。実施形態における媒体種別判別装置は、媒体の有無を検出する光学センサ403と、この光学センサから検出値を入力し、媒体を検出した時間と搬送速度から媒体の縦幅を判定する縦幅検出部402と、光学的読取装置405から検出値を入力し輝度又は色のデータから媒体の横幅を検出する横幅検出部404と、媒体を搬送する搬送機構406と、媒体の種類ごとに媒体の縦幅と横幅との関係を格納する媒体サイズテーブル407と、縦幅検出部402が判定した縦幅と横幅検出部404が判定した横幅とを基に媒体サイズテーブル407を参照し、媒体種別を判定する制御部401と、光学的読取装置が検出した輝度又は色の変化から印字位置を判定する印字位置検出部と、印字を行う印字部410と、印字位置検出部409と印字部410を制御する印字制御部408と、を備える。
FIG. 4 is a block diagram of elements constituting the medium type discriminating apparatus according to the embodiment of the present invention. The medium type discriminating apparatus in the embodiment includes an
制御部401は縦幅検出部402及び横幅検出部404及び搬送機構406及び印字制御部408とを制御する。搬送機構406は制御部401からの指示に従い、1行分ずつ媒体を搬送することができる。媒体サイズテーブル407は新規な媒体サイズを追加することができる。また、媒体サイズテーブル407はメモリに格納されていても磁気ディスクなどの外部記憶装置に格納されていてもよい。なお、媒体種別判別装置を構成する要素はこれらに限られるものではない。
The
図5は本発明の実施形態における媒体種別判別処理のフローチャートである。ステップS501において、縦幅検出部402は光学センサ403が媒体を検知している時間と搬送スピードから媒体の縦幅を検出し、制御部401に送信する。ステップS502において、制御部401は媒体サイズテーブル407を参照し、受信した媒体の縦幅が媒体サイズテーブル407に格納されているか判定する。受信した縦幅が格納されていなければステップS509に進み、格納されている場合はステップS503に進む。
FIG. 5 is a flowchart of medium type determination processing in the embodiment of the present invention. In step S <b> 501, the vertical
ステップS503において、横幅検出部404は光学的読取装置405によって検出された輝度又は色からその変化点を検出することにより媒体の横幅を検出し、制御部401に送信する。ステップS504において、制御部401はステップS501において受信した縦幅と、本ステップにおいて受信した横幅の組み合わせから該当する媒体種別が媒体サイズテーブルに格納されているかを判定する。媒体種別が格納されていなければステップS509に進み、格納されている場合にはステップS505に進む。
In step S <b> 503, the horizontal
ステップS505において、制御部401は印刷位置を判定する。具体的には、制御部401は横幅検出部404が検出した輝度又は色の横方向の位置毎の検出値から当該の行が印字済みであるかを判定する。印字済みであることの判定は、印字位置検出部409が次のように行う。
In step S505, the
光学的読取装置405が検出した輝度又は色の検出値を左端から順に読み込む。最初に輝度の大きい又は色が白い検出値が検出され、次いで輝度の小さい又は色の黒い検出値が検出され、次いで再び輝度の大きい又は色が白い検出値が検出され、あらかじめ定められた回数以上これらの輝度の変動が繰り返された場合には、その行は印刷済みであると判定する。媒体において輝度の大きい又は色が白い検出値だけが検出された場合には、その行は印刷されていないと判定する。これらの判定手順を媒体の最終行まで行い、印字済みの行の次に検出された印字されていない行を印刷位置と判定する。
Luminance or color detection values detected by the
ステップS506において、制御部は挿入された媒体、例えば通帳の当該のページの中に印刷可能な行を検出できた場合には、ステップS508において印字処理を行う。印字可能な行が検出できなかった場合にはステップS507に進む。ステップ507において、制御部はページ捲り機構106にページ捲り指示を送信し、ページ捲り機構106ページを捲った後に印字可能な行があるか判定し、印字可能な行があれば印字し、なければ搬送機構406に媒体を排出するように指示を送信し、搬送機構406は通帳を排出する。一方、ステップS509において、搬送機構406は媒体を排出する。
In step S506, if the control unit detects a printable line in the inserted medium, for example, the corresponding page of the passbook, the control unit performs a printing process in step S508. If no printable line is detected, the process proceeds to step S507. In
以上のように構成することにより、本実施形態においては光学的読取装置により媒体の横幅を検出するため、多数種類の媒体の種別を判別でき、印刷位置の判定をも行うことができる。さらに媒体サイズの種類が増加しても高精度に媒体の種類を判別できる。 With this configuration, in the present embodiment, since the horizontal width of the medium is detected by the optical reading device, it is possible to determine the type of many types of media and to determine the printing position. Furthermore, even if the type of medium size increases, the type of medium can be determined with high accuracy.
なお、本発明はその技術思想の範囲内において種々変形して実施できる。 The present invention can be implemented with various modifications within the scope of its technical idea.
101:媒体種別判別装置、
102:媒体、
105:光学センサ、
106:光学的読取装置、
107:印字ヘッド、
110:ページ捲り機構、
401:制御部、
402:縦幅検出部、
404:横幅検出部、
407:媒体サイズテーブル。
101: Medium type discrimination device,
102: medium,
105: Optical sensor,
106: an optical reader;
107: Print head,
110: Page turning mechanism,
401: control unit,
402: Vertical width detection unit,
404: width detection unit,
407: Medium size table.
Claims (4)
この光学センサを前記媒体が通過する時間と移動速度から前記媒体の縦幅を検出する縦幅検出部と、
印刷する媒体をスキャンし画像情報を得る光学的読取装置と、
前記光学的読取装置によって検出された輝度の変化点から媒体の横幅を検出する横幅検出部と、
媒体種類毎に固有の縦幅と横幅との関係を格納した媒体サイズテーブルと、
前記縦幅検出部が検出した媒体の縦幅と前記横幅検出部が検出した媒体の横幅とを基に前記媒体サイズテーブルを参照して媒体種別を判別する制御部と、
前記光学的読取装置によって検出された輝度の変化点から印字位置を検出する印字位置検出部と、
を有することを特徴とする媒体種別判別装置。 An optical sensor provided at the medium insertion port for detecting the presence or absence of the medium;
A vertical width detection unit that detects the vertical width of the medium from the time that the medium passes through the optical sensor and the moving speed;
An optical reader that scans a medium to be printed and obtains image information;
A width detection unit for detecting the width of the medium from the change point of the brightness detected by the optical reader;
A media size table storing the relationship between the vertical and horizontal widths specific to each media type;
A control unit that determines the medium type by referring to the medium size table based on the vertical width of the medium detected by the vertical width detection unit and the horizontal width of the medium detected by the horizontal width detection unit;
A print position detection unit for detecting a print position from a change point in luminance detected by the optical reader;
A medium type discriminating apparatus comprising:
前記印字位置検出部が前記光学的読取装置によって検出された色の変化点から印字位置を検出することを特徴とする、請求項1記載の媒体種別判別装置。 The horizontal width detection unit detects the horizontal width of the medium from the color change point detected by the optical reader,
2. The medium type discriminating apparatus according to claim 1, wherein the print position detecting unit detects a print position from a color change point detected by the optical reading device.
前記横幅検出部が、前記光学的読取装置によって検知された輝度の変化点から媒体の横幅を検出する横幅検出ステップと、
前記制御部が、前記縦幅検出部が検出した媒体の縦幅と前記横幅検出部が検出した媒体の横幅とを基に前記媒体サイズテーブルを参照して媒体種別を判別する媒体判別ステップと、
前記印字位置検出部が、前記光学的読取装置によって検出された輝度の変化点から印字位置を検出する印刷位置検出ステップと、
を有することを特徴とする媒体種別判別方法。 The vertical width detecting unit detects the vertical width of the medium from the time and the moving speed of the medium passing through the optical sensor;
A width detecting step in which the width detecting unit detects a width of the medium from a change point of luminance detected by the optical reader;
A medium determination step for determining a medium type by referring to the medium size table based on the vertical width of the medium detected by the vertical width detection unit and the horizontal width of the medium detected by the horizontal width detection unit;
A printing position detection step in which the printing position detection unit detects a printing position from a luminance change point detected by the optical reader;
A medium type determination method characterized by comprising:
前記印刷位置検出ステップにおいて、前記印字位置検出部が前記光学的読取装置によって検出された色の変化点から印字位置を検出することを特徴とする、請求項3記載の媒体種別判別方法。 In the width detection step, the width detection unit detects the width of the medium from the color change point detected by the optical reader,
4. The medium type discriminating method according to claim 3, wherein, in the print position detecting step, the print position detecting unit detects a print position from a color change point detected by the optical reading device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006189395A JP2008012894A (en) | 2006-07-10 | 2006-07-10 | Apparatus and method for discriminating among types of media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006189395A JP2008012894A (en) | 2006-07-10 | 2006-07-10 | Apparatus and method for discriminating among types of media |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008012894A true JP2008012894A (en) | 2008-01-24 |
Family
ID=39070386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006189395A Pending JP2008012894A (en) | 2006-07-10 | 2006-07-10 | Apparatus and method for discriminating among types of media |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008012894A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103003960A (en) * | 2011-04-13 | 2013-03-27 | 惠州科锐半导体照明有限公司 | LED devices with narrow viewing angle and an LED display including same |
JP2020049742A (en) * | 2018-09-26 | 2020-04-02 | ブラザー工業株式会社 | Printer |
-
2006
- 2006-07-10 JP JP2006189395A patent/JP2008012894A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103003960A (en) * | 2011-04-13 | 2013-03-27 | 惠州科锐半导体照明有限公司 | LED devices with narrow viewing angle and an LED display including same |
JP2020049742A (en) * | 2018-09-26 | 2020-04-02 | ブラザー工業株式会社 | Printer |
JP7206749B2 (en) | 2018-09-26 | 2023-01-18 | ブラザー工業株式会社 | printer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8562099B2 (en) | Ink jet recording apparatus and method for detecting faulty discharge in ink jet recording apparatus | |
US10322577B2 (en) | Printing apparatus and printing method | |
US7227164B2 (en) | Media width detecting apparatus | |
US9073309B1 (en) | Apparatus and method for recording | |
JP2012206353A (en) | Printing apparatus | |
JP2007283604A (en) | Printer | |
JP6023491B2 (en) | Optical reading method and apparatus for booklet-shaped print media | |
JP2008012894A (en) | Apparatus and method for discriminating among types of media | |
US20160127605A1 (en) | Smart Copy Apparatus | |
JP2006079571A (en) | Printer print verification inspection device | |
EP3280663B1 (en) | Automatic document feeder | |
US20070036602A1 (en) | Apparatus and method for detecting the amount of ink ribbon used | |
JP2006341936A (en) | Recording device and recording method | |
JP2022044352A (en) | Image forming apparatus, position detection method, and program | |
US20060097052A1 (en) | Method and apparatus for acquiring printing medium information using barcode sensors | |
US20050068360A1 (en) | Image-forming device in which media is manually inserted and remains stationary during image formation | |
JP2007008704A (en) | Medium recognizing device | |
JP4669297B2 (en) | Printing apparatus and printing processing method | |
CN113199876B (en) | Printing apparatus and control method | |
JP6159206B2 (en) | Recording apparatus and detection method | |
JP2007153609A (en) | Recording medium discriminating device of recorder, recording medium discriminating method of recorder, program and storage medium | |
JP2007144716A (en) | Printing device | |
JP2006051795A (en) | Medium-positioning sensor assembly, image formation device with the same assembly and method for using the same | |
JP2007268773A (en) | Printer | |
JP2008092232A (en) | Form reader |