JPH04340679A - Medium mark reading system - Google Patents

Medium mark reading system

Info

Publication number
JPH04340679A
JPH04340679A JP3140598A JP14059891A JPH04340679A JP H04340679 A JPH04340679 A JP H04340679A JP 3140598 A JP3140598 A JP 3140598A JP 14059891 A JP14059891 A JP 14059891A JP H04340679 A JPH04340679 A JP H04340679A
Authority
JP
Japan
Prior art keywords
medium
mark
gain
carriage
mark reading
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.)
Granted
Application number
JP3140598A
Other languages
Japanese (ja)
Other versions
JP2946836B2 (en
Inventor
Kazuaki Arai
和明 新井
Takeo Fujii
武夫 藤井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP3140598A priority Critical patent/JP2946836B2/en
Publication of JPH04340679A publication Critical patent/JPH04340679A/en
Application granted granted Critical
Publication of JP2946836B2 publication Critical patent/JP2946836B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the stable medium mark reading system to stably set a gain and not to lower a medium mark reading rate. CONSTITUTION:In the medium mark reading system to read a mark attached to a medium according to the gain by setting the gain for certifying the white level of the medium, a medium edge is detected before setting the gain, a gain setting position is decided with the detected medium edge as a reference, the gain is set at the decided gain setting position and according to the gain, the mark on the medium is read.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、媒体マーク読取り方式
に関し、特に媒体マーク読取り率が低下しないようにす
るのに好適な媒体マーク読取り方式に関するものである
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a medium mark reading method, and more particularly to a medium mark reading method suitable for preventing a decrease in the medium mark reading rate.

【0002】0002

【従来の技術】近年、媒体にバーコード等のマークを付
し、これを装置で読取って種々の情報を得る技術が広く
用いられている。この種のマークは、たとえばスーパー
マーケットにおいて商品の種別、価格等をレジスタ装置
で認識するため、銀行等金融機関において使用される通
帳の口座情報、ページ情報等を通帳記帳装置で認識する
ため、光学式文字読取り装置で帳票のID情報等を認識
するため、あるいはシリアルプリンタ等で印字媒体のフ
ォーマット情報を認識するため等、種々の目的のため利
用されいてる。
2. Description of the Related Art In recent years, a technique has been widely used in which a mark such as a bar code is attached to a medium and the mark is read by a device to obtain various information. This type of mark is used, for example, in supermarkets to recognize product type, price, etc. with a register device, and in financial institutions such as banks to recognize passbook account information and page information, etc. in a passbook recording device. It is used for various purposes, such as for recognizing ID information of a form in a character reading device, or for recognizing format information of a print medium in a serial printer or the like.

【0003】このような媒体に付されたバーコード等の
マークを読取る媒体マーク読取り装置としては、例えば
特開昭63−10290号公報が挙げられる。この例を
図5に示す。この媒体マーク読取り装置では、次のよう
に媒体マーク読取りが行われる。
[0003] An example of a medium mark reading device for reading marks such as bar codes attached to such a medium is disclosed in Japanese Patent Application Laid-Open No. 10290/1983. An example of this is shown in FIG. In this medium mark reading device, medium mark reading is performed as follows.

【0004】先ず、CPU56の指令によりプログラマ
ブルアンプ52の利得及び基準電圧発生器55の設定す
る基準電圧の初期設定が行われる。この初期設定は、検
出器51が媒体のマーク無印刷部のレベル(白レベル)
を検出したとき比較器54の出力が変化するように行わ
れる。マーク無印刷部のレベル検出により比較器54の
出力が変化すると、CPU56の指令により基準電圧発
生器55は基準電圧(1)を比較器54に出力し、一方
プログラマブルアンプ52の出力が基準電圧(1)以上
となるように該アンプ52の利得が設定される。
First, the gain of the programmable amplifier 52 and the reference voltage set by the reference voltage generator 55 are initialized by a command from the CPU 56. In this initial setting, the detector 51 detects the level (white level) of the unprinted part of the medium.
This is done so that the output of the comparator 54 changes when it is detected. When the output of the comparator 54 changes due to the level detection of the non-printed part of the mark, the reference voltage generator 55 outputs the reference voltage (1) to the comparator 54 according to a command from the CPU 56, while the output of the programmable amplifier 52 changes to the reference voltage (1). 1) The gain of the amplifier 52 is set so as to be as follows.

【0005】次に、CPU56の指令により基準電圧発
生器55は基準電圧(1)より大きい基準電圧(2)を
設定し、プログラマブルアンプ52の出力が基準電圧(
1)と基準電圧(2)の間にくるように該アンプ52の
利得が設定される。これにより、マーク無印刷部につい
てのプログラマブルアンプ出力レベルが一定化された状
態で検出器51、コード検出装置53の働きにより、マ
ーク読取りが実行される。
Next, according to a command from the CPU 56, the reference voltage generator 55 sets a reference voltage (2) larger than the reference voltage (1), and the output of the programmable amplifier 52 reaches the reference voltage (1).
The gain of the amplifier 52 is set so as to be between the reference voltage (1) and the reference voltage (2). Thereby, mark reading is executed by the functions of the detector 51 and the code detection device 53 in a state where the programmable amplifier output level for the mark-unprinted portion is made constant.

【0006】このように、媒体マーク読取り装置は、予
め媒体の白レベル確定のため利得制御(ゲインコントロ
ール)を行い、媒体マークを読取るものであった。
As described above, the medium mark reading device performs gain control in advance to determine the white level of the medium, and then reads the medium mark.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、前記構
成の装置では、利得(ゲイン)設定を実行すべき位置を
、予め設定しておく必要があるため、例えば媒体挿入ガ
イドを移動させて媒体を挿入された場合、極端な場合に
は、媒体外でゲイン設定を行なったり、媒体マーク上で
ゲイン設定をしてしまい、媒体マーク読取り率が低下し
てしまうという問題点がある。
[Problems to be Solved by the Invention] However, in the device having the above configuration, it is necessary to set the position where the gain setting is to be performed in advance. In extreme cases, the gain may be set outside the medium or on the medium mark, resulting in a decrease in the medium mark reading rate.

【0008】本発明の目的は、このような従来の問題点
を解決し、ゲイン設定を安定して行い、媒体マーク読取
り率が低下することのない安定した媒体マーク読取り方
式を提供することにある。
An object of the present invention is to solve these conventional problems and provide a stable medium mark reading method in which gain setting is performed stably and the medium mark reading rate does not decrease. .

【0009】[0009]

【課題を解決するための手段】前記目的を達成するため
、本発明の媒体マーク読取り方式は、媒体の白レベルを
確定するためのゲイン設定を行い、該ゲインにより媒体
に付されたマークを読取る媒体マーク読取り方式におい
て、前記ゲイン設定の前に、媒体エッジを検出し、該検
出された媒体エッジを基準にしてゲイン設定位置を決定
し、該決定されたゲイン設定位置によりゲイン設定を行
い、該ゲインにより前記媒体上のマークを読取ることに
特徴がある。
[Means for Solving the Problem] In order to achieve the above object, the medium mark reading method of the present invention sets a gain to determine the white level of the medium, and reads the mark attached to the medium using the gain. In the medium mark reading method, before the gain setting, a medium edge is detected, a gain setting position is determined based on the detected medium edge, a gain setting is performed based on the determined gain setting position, and the gain setting position is determined based on the detected medium edge. The feature is that the mark on the medium is read by the gain.

【0010】0010

【作用】本発明においては、前記ゲイン設定の前に、媒
体エッジを検出し、該検出された媒体エッジを基準にし
てゲイン設定位置を決定し、該決定されたゲイン設定位
置によりゲイン設定を行い、該ゲインにより前記媒体上
のマークを読取る。これにより、媒体ガイドの挿入位置
の変更にかかわらず、安定してゲイン設定が行え、マー
ク読み取り率の低下もなくなる。
[Operation] In the present invention, before the gain setting, a medium edge is detected, a gain setting position is determined based on the detected medium edge, and the gain setting is performed based on the determined gain setting position. , the mark on the medium is read by the gain. As a result, regardless of changes in the insertion position of the medium guide, the gain can be set stably, and there is no drop in mark reading rate.

【0011】[0011]

【実施例】以下、本発明の一実施例を、図面により詳細
に説明する。図2は、本発明を適用した水平型ドットプ
リンタの構成図である。これは、上位装置からの指令に
よってバーコード等のマークを媒体に印刷するドットプ
リンタにおいて、マーク印刷後マークセンサによりその
読取りを行って反射率の判定を行い、その結果読取り不
可のときには再印刷を行える構成を示している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 2 is a block diagram of a horizontal dot printer to which the present invention is applied. In dot printers that print marks such as barcodes on media based on instructions from a host device, after the mark is printed, the mark sensor reads it to determine the reflectance, and if the mark cannot be read, it is reprinted. This shows possible configurations.

【0012】図2において、2は媒体の挿入位置を決定
するための媒体ガイドであり、スペース方向Bと同一方
向に移動可能となっており、オペレータにより任意に位
置をセットされる。3は媒体マーク印刷済の媒体、4は
媒体3を読取り部へ導く媒体搬送路、5は媒体搬送路4
上に設けられ図示せぬ駆動手段により駆動して、媒体3
を搬送する媒体搬送用ローラである。6はドットインパ
クト式の印字ヘッド、7は印字ヘッド6を搭載したキャ
リッジであり、このキャリッジ7はキャリッジシャフト
8に嵌合してスペース方向Bに移動する。11はキャリ
ッジ7上に搭載される媒体マーク読取り用のマークセン
サであり、キャリッジ7の移動と共に、媒体搬送方向A
に対して直角方向すなわちスペース方向Bに移動し、媒
体3に印刷された媒体マークの読取りを行う。
In FIG. 2, reference numeral 2 denotes a medium guide for determining the insertion position of the medium, which is movable in the same direction as the space direction B, and whose position can be set arbitrarily by the operator. 3 is a medium on which a media mark has been printed, 4 is a medium transport path that leads the medium 3 to the reading section, and 5 is a medium transport path 4
The medium 3 is driven by a driving means (not shown) provided above.
This is a roller for conveying the medium. Reference numeral 6 indicates a dot impact type print head, and reference numeral 7 indicates a carriage on which the print head 6 is mounted.This carriage 7 is fitted onto a carriage shaft 8 and moves in the space direction B. Reference numeral 11 denotes a mark sensor for reading medium marks mounted on the carriage 7, and as the carriage 7 moves, the sensor 11 moves in the medium conveying direction A.
3, and reads the medium mark printed on the medium 3.

【0013】図3は、媒体3が媒体搬送用ローラ5によ
り媒体マーク読取りの所定位置まで送られた状態でのキ
ャリッジ位置と、媒体位置の関係を示す図である。ここ
で、A,B,Cは、それぞれ媒体ガイド2が左、中央、
右にセットされた時の媒体位置を示すものであるが、場
合によってはこれらの中間的な位置にセットされること
もある。
FIG. 3 is a diagram showing the relationship between the carriage position and the medium position when the medium 3 has been conveyed by the medium conveying roller 5 to a predetermined position for reading the medium mark. Here, for A, B, and C, the medium guide 2 is on the left, in the center, and
This indicates the position of the medium when it is set to the right, but in some cases it may be set to an intermediate position.

【0014】図4は、媒体3に印刷されている媒体マー
クの印刷位置を示す図である。媒体マークは、図4に示
すように、媒体搬送方向Aに対し直角方向、つまりスペ
ース方向Bと同一方向に印刷されている。また、媒体マ
ークは可変長であるため、媒体マーク読取りに先立つゲ
イン設定は媒体3上の媒体エッジからαの位置のaの位
置で行う必要がある。しかしながら、図3に示すように
、媒体ガイド2のセット位置によりゲイン設定位置Aa
,Ba,Ca(図3中)のキャリッジ位置は異なる。 この場合、いずれも媒体エッジよりαの位置がゲイン設
定位置である。
FIG. 4 is a diagram showing the printing position of the medium mark printed on the medium 3. As shown in FIG. The medium mark is printed in a direction perpendicular to the medium conveyance direction A, that is, in the same direction as the space direction B, as shown in FIG. Furthermore, since the medium mark has a variable length, the gain setting prior to reading the medium mark must be performed at a position a on the medium 3 at a position α from the medium edge. However, as shown in FIG. 3, depending on the set position of the medium guide 2, the gain setting position Aa
, Ba, and Ca (in FIG. 3) have different carriage positions. In both cases, the gain setting position is at a position α from the edge of the medium.

【0015】図1は、本発明の一実施例を示す媒体マー
ク読取り方式を説明するための図である。これは、図2
に示した水平型ドットプリンタと上位装置としてのCP
Uを接続したブロック構成を示している。
FIG. 1 is a diagram for explaining a medium mark reading method showing an embodiment of the present invention. This is shown in Figure 2
Horizontal dot printer and CP as a host device shown in
It shows a block configuration in which U are connected.

【0016】図1において、7はキャリッジ、11は媒
体マークセンサ、13は本発明の特徴的なキャリッジ7
の位置を検出するキャリッジ位置検出回路、16はキャ
リッジ7の駆動を制御するキャリッジ駆動回路、17は
媒体搬送用ローラ5の駆動を制御する媒体搬送用ローラ
駆動回路、18はこれらの回路全体を制御する上位装置
としてのCPUである。19は媒体マーク読取り回路で
ある。
In FIG. 1, 7 is a carriage, 11 is a medium mark sensor, and 13 is a carriage 7 characteristic of the present invention.
16 is a carriage drive circuit that controls the drive of the carriage 7; 17 is a medium conveyance roller drive circuit that controls the drive of the medium conveyance roller 5; 18 is a control circuit for all of these circuits; This is a CPU as a host device. 19 is a medium mark reading circuit.

【0017】次に、本実施例の動作を説明する。先ず、
CPU18は、媒体搬送用ローラ駆動回路17に指令を
出し、媒体を所定位置に搬送する。次に、CPU18は
、キャリッジ駆動回路16に指令を出し、キャリッジ7
をキャリッジ位置が減少する方向へ移動させると共に、
媒体マークセンサ11の状態を監視し、媒体マークセン
サ11の状態が、媒体有から媒体無に変化した時のキャ
リッジ位置CPをキャリッジ位置検出回路13により読
取る。すなわち、媒体エッジを検出する。次に、CPU
18は、キャリッジ駆動回路16に対し、キャリッジ7
をキャリッジ位置CPからCP+αの位置へ移動させる
ように指令を出す。CPU18は、キャリッジ7がキャ
リッジ位置CP+αへ移動完了後、媒体マーク読取り回
路19にゲインコントロール(利得制御)の指令を出す
。その後、CPU18はキャリッジ駆動回路16に対し
、キャリッジ位置が増加する方向へ移動するように指令
を出すと共に、同時に媒体マーク読取り回路19に対し
、媒体マーク読取りの指令を出す。
Next, the operation of this embodiment will be explained. First of all,
The CPU 18 issues a command to the medium conveyance roller drive circuit 17 to convey the medium to a predetermined position. Next, the CPU 18 issues a command to the carriage drive circuit 16 to drive the carriage 7.
is moved in the direction that the carriage position decreases, and
The state of the medium mark sensor 11 is monitored, and the carriage position detection circuit 13 reads the carriage position CP when the state of the medium mark sensor 11 changes from medium present to medium absent. That is, detect the media edge. Next, the CPU
Reference numeral 18 denotes a carriage 7 for the carriage drive circuit 16.
A command is issued to move the carriage from the carriage position CP to the position CP+α. After the carriage 7 completes moving to the carriage position CP+α, the CPU 18 issues a gain control command to the medium mark reading circuit 19. Thereafter, the CPU 18 issues a command to the carriage drive circuit 16 to move in a direction in which the carriage position increases, and at the same time issues a command to the medium mark reading circuit 19 to read the medium mark.

【0018】このように、本実施例においては、キャリ
ッジ位置検出回路により媒体エッジ読取り時の位置を検
出し、その位置を基準にゲイン設定位置を決定するので
、媒体ガイド2がどのような位置に設定されたとしても
、媒体エッジよりαの位置においてゲインコントロール
(利得制御)を実施することが可能となる。
As described above, in this embodiment, the carriage position detection circuit detects the position at the time of reading the edge of the medium, and the gain setting position is determined based on this position, so it is difficult to determine the position of the medium guide 2. Even if it is set, gain control can be performed at a position α from the edge of the medium.

【0019】[0019]

【発明の効果】以上説明したように、本発明によれば、
ゲイン設定に先立ち、媒体エッジを検出し、それを基に
、ゲイン設定位置を決定するようにしたため、ゲイン設
定を安定して行なえるようになり、媒体マーク読取りを
安定して行なうことができる。
[Effects of the Invention] As explained above, according to the present invention,
Prior to gain setting, the edge of the medium is detected and the gain setting position is determined based on it, so that gain setting can be performed stably and medium marks can be read stably.

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

【図1】本発明の一実施例を示す媒体マーク読取り方式
を説明するための図である。
FIG. 1 is a diagram for explaining a medium mark reading method showing an embodiment of the present invention.

【図2】本発明を適用した水平型ドットプリンタの構成
図である。
FIG. 2 is a configuration diagram of a horizontal dot printer to which the present invention is applied.

【図3】媒体搬送後のキャリッジ位置と媒体位置との関
係を示す図である。
FIG. 3 is a diagram showing the relationship between the carriage position and the medium position after the medium is conveyed.

【図4】媒体に印刷されている媒体マークの印刷位置を
示す図である。
FIG. 4 is a diagram showing the printing position of a medium mark printed on a medium.

【図5】従来の媒体マーク読取り装置の構成図である。 2  媒体ガイド 3  媒体 4  媒体搬送路 5  媒体搬送用ローラ 6  印字ヘッド 7  キャリッジ 8  キャリッジシャフト 11  媒体マークセンサ 13  キャリッジ位置検出回路 16  キャリッジ駆動回路 17  媒体搬送用ローラ駆動回路 18  CPU 19  媒体マーク読取り回路FIG. 5 is a configuration diagram of a conventional medium mark reading device. 2 Media guide 3 Medium 4 Media conveyance path 5 Media conveyance roller 6 Print head 7 Carriage 8 Carriage shaft 11 Media mark sensor 13 Carriage position detection circuit 16 Carriage drive circuit 17 Roller drive circuit for media conveyance 18 CPU 19 Media mark reading circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  媒体の白レベルを確定するためのゲイ
ン設定を行い、該ゲインにより媒体に付されたマークを
読取る媒体マーク読取り方式において、前記ゲイン設定
の前に、媒体エッジを検出し、該検出された媒体エッジ
を基準にしてゲイン設定位置を決定し、該決定されたゲ
イン設定位置によりゲイン設定を行い、該ゲインにより
前記媒体上のマークを読取ることを特徴とする媒体マー
ク読取り方式。
1. In a medium mark reading method in which a gain is set to determine the white level of the medium and a mark attached to the medium is read using the gain, before the gain setting, a medium edge is detected, and a mark attached to the medium is read. A medium mark reading method characterized in that a gain setting position is determined based on a detected medium edge, a gain is set according to the determined gain setting position, and a mark on the medium is read using the gain.
JP3140598A 1991-05-17 1991-05-17 Media mark reading method Expired - Lifetime JP2946836B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3140598A JP2946836B2 (en) 1991-05-17 1991-05-17 Media mark reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3140598A JP2946836B2 (en) 1991-05-17 1991-05-17 Media mark reading method

Publications (2)

Publication Number Publication Date
JPH04340679A true JPH04340679A (en) 1992-11-27
JP2946836B2 JP2946836B2 (en) 1999-09-06

Family

ID=15272428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3140598A Expired - Lifetime JP2946836B2 (en) 1991-05-17 1991-05-17 Media mark reading method

Country Status (1)

Country Link
JP (1) JP2946836B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008219455A (en) * 2007-03-05 2008-09-18 Oki Electric Ind Co Ltd Equalizer and equalizing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008219455A (en) * 2007-03-05 2008-09-18 Oki Electric Ind Co Ltd Equalizer and equalizing method
JP4709789B2 (en) * 2007-03-05 2011-06-22 Okiセミコンダクタ株式会社 Equalizer

Also Published As

Publication number Publication date
JP2946836B2 (en) 1999-09-06

Similar Documents

Publication Publication Date Title
EP0774728B1 (en) Magnetic ink character detection apparatus and method
JPH04340679A (en) Medium mark reading system
JP2000001033A (en) Apparatus for detecting end of printing medium and printing apparatus using the same
JPH09311906A (en) Method and device for recognizing magnetic pattern, and composite processor
JP2704188B2 (en) Media mark reading and printing device
JP3209005B2 (en) Mobile terminal device
JP2972801B2 (en) Optical reader
JPH0820455A (en) Passbook printer
JP3591167B2 (en) Control method of magnetic ink character detection device
JPH01173271A (en) Mark reading system
JP4505883B2 (en) Print defect detection system
JPS60183164A (en) Shuttle mechanism of printer
JPH0129096Y2 (en)
JP2578920B2 (en) Printer print positioning mechanism
JPS61215077A (en) Inserter apparatus
JP2808688B2 (en) Printer
JPH1016301A (en) Printer with print area determination function and printing method
JP3126236B2 (en) Recording device
JPH113402A (en) Image reader
JP2813284B2 (en) Medium mark reading method
JP2001293920A (en) Print position correcting mechanism in medium processor
JP2982534B2 (en) Printer device
JPH1016336A (en) Printer
JP2001191603A (en) Defective print detector for printer
JPH03270958A (en) Control system for conveying passbook

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990601

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

Free format text: PAYMENT UNTIL: 20080702

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090702

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100702

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110702

Year of fee payment: 12

EXPY Cancellation because of completion of term