JP2744513B2 - Media mark reader - Google Patents

Media mark reader

Info

Publication number
JP2744513B2
JP2744513B2 JP2196256A JP19625690A JP2744513B2 JP 2744513 B2 JP2744513 B2 JP 2744513B2 JP 2196256 A JP2196256 A JP 2196256A JP 19625690 A JP19625690 A JP 19625690A JP 2744513 B2 JP2744513 B2 JP 2744513B2
Authority
JP
Japan
Prior art keywords
gain
mark
programmable amplifier
reading
setting
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.)
Expired - Lifetime
Application number
JP2196256A
Other languages
Japanese (ja)
Other versions
JPH0488487A (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.)
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 JP2196256A priority Critical patent/JP2744513B2/en
Publication of JPH0488487A publication Critical patent/JPH0488487A/en
Application granted granted Critical
Publication of JP2744513B2 publication Critical patent/JP2744513B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、媒体に付されたバーコード等のマークを読
取る媒体マーク読取り装置に関する。
Description: TECHNICAL FIELD The present invention relates to a medium mark reading device for reading a mark such as a bar code attached to a medium.

(従来の技術) 近年、媒体のバーコード等のマークを付し、これを装
置で読取って種々の情報を得る技術が広く用いられてい
る。
(Prior Art) In recent years, a technique of attaching a mark such as a barcode on a medium and reading the mark with a device to obtain various information has been widely used.

この種のマークは、例えば光学的読取り装置で帳票の
ID情報等を認識するため、あるいはシリアルプリンタ等
で印字媒体のフォーマット情報を認識するため等、種々
の目的のために利用されている。
This type of mark can be printed on a form, for example, with an optical reader.
It is used for various purposes, such as for recognizing ID information or the like, or for recognizing format information of a print medium by a serial printer or the like.

上記マークを読取る媒体マーク読取り装置としては例
えば特開昭63−10290号公報に示すものがあった。
As a medium mark reading device for reading the above mark, there is one disclosed in, for example, JP-A-63-10290.

この装置は、バーコード等のマークを光学的に検出す
る検出器と、この検出器の出力に基づきマークのコード
情報を検出するコード検出装置と、装置各部の動作を制
御する中央処理装置と、この中央処理装置に指令された
利得で検出器の出力を増幅し、コード検出装置に供給す
るプログラマブルアンプと、プログラマブルアンプの出
力を基準電圧と比較する比較器と、中央処理装置の指令
により基準電圧を変化させる基準電圧設定器とを備え、
比較器の出力に基づいて、媒体のマーク無印刷部につい
てのプログラマブルアンプの出力を一定化するようにし
たものである。
This device is a detector that optically detects a mark such as a bar code, a code detection device that detects mark code information based on the output of the detector, a central processing unit that controls the operation of each unit of the device, A programmable amplifier that amplifies the output of the detector with the gain instructed by the central processing unit and supplies it to the code detection device, a comparator that compares the output of the programmable amplifier with a reference voltage, and a reference voltage that is controlled by the central processing unit. And a reference voltage setting device that changes
Based on the output of the comparator, the output of the programmable amplifier for the unmarked portion of the medium is made constant.

(発明が解決しようとする課題) しかしながら、上記従来の装置では、マークの無印刷
部検出後にプログラマブルアンプの利得設定を必ず行な
っている。このため、マークの読取り回数が多ければ多
いほど利得設定の回数が増加し、その結果、読取り装置
としての全体のスループットが低下してしまうという問
題点があった。
(Problems to be Solved by the Invention) However, in the above-described conventional apparatus, the gain setting of the programmable amplifier is always performed after detecting the non-printed portion of the mark. Therefore, as the number of times of reading a mark is larger, the number of times of gain setting is increased, and as a result, there is a problem that the overall throughput as a reading device is reduced.

また、従来の装置では毎回異なった種類の媒体が挿入
される恐れのある単票と、連続要旨として一定期間同一
の媒体である帳票とを媒体の処理として区別していなか
ったため、特に、同一の媒体が継続的に使用される帳票
の処理では無駄な利得設定処理が存在し、スループット
向上への妨げとなっていた。
In addition, in the conventional apparatus, a single form in which a different type of medium may be inserted every time and a form in which the same medium is used for a certain period of time as a continuous gist are not distinguished as the processing of the medium. In the processing of a form in which the medium is used continuously, there is useless gain setting processing, which hinders an improvement in throughput.

本発明は上記の問題を解決するためになされたもの
で、読取り精度が高く、かつ高スループットの媒体マー
ク読取り装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and has as its object to provide a medium mark reading device having high reading accuracy and high throughput.

(課題を解決するための手段) 本発明の媒体マーク読取り装置は、媒体に付されたマ
ークを光学的に検出する検出器と、前記検出器の出力を
増幅するプログラマブルアンプと、前記プログラマブル
アンプの出力に基づきマークのコード情報を検出するコ
ード検出手段と、媒体の単票か帳票かを選択する選択手
段と、前記選択手段の選択に基づき、前記プログラマブ
ルアンプの出力が前記コード検出手段に対して所定値と
なるよう、単票時と帳票時の該プログラマブルアンプの
利得を設定する利得設定手段と、前記利得設定手段で設
定された利得の設定値を格納する不揮発性メモリと、前
記利得設定手段による利得設定後、前記選択手段の選択
に基づき、前記不揮発性メモリに格納された単票と帳票
の利得設定値をそれぞれ前記プログラマブルアンプに設
定する利得制御手段を設けたものである。
(Means for Solving the Problems) A medium mark reading apparatus according to the present invention includes a detector for optically detecting a mark attached to a medium, a programmable amplifier for amplifying an output of the detector, and a programmable amplifier. Code detecting means for detecting the code information of the mark based on the output, selecting means for selecting whether the form is a single sheet or a form, and based on the selection of the selecting means, the output of the programmable amplifier is supplied to the code detecting means. Gain setting means for setting the gain of the programmable amplifier at the time of a single form and a form so as to be a predetermined value; a non-volatile memory for storing a set value of the gain set by the gain setting means; After the gain setting by the selection means, based on the selection of the selection means, the gain setting values of the slip and the form stored in the non-volatile memory are respectively programmed The amplifier is provided with gain control means for setting.

(作用) 本発明の装置は、利得設定手段が単票時と帳票時のプ
ログラマブルンプの利得を設定し、この設定値を不揮発
性メモリに格納する。その後は利得制御手段が不揮発性
メモリから単票,帳票それぞれの利得設定値を読出して
プログラマブルアンプに設定する。
(Operation) In the apparatus according to the present invention, the gain setting means sets the gain of the programmable amplifier at the time of a single form and at the time of a form, and stores the set value in a nonvolatile memory. Thereafter, the gain control means reads out the gain setting values of the single form and the form from the nonvolatile memory and sets them in the programmable amplifier.

これにより、検出器で検出されたマークの信号は、単
票,帳票に応じて所定の利得に設定されたプログラマブ
ルアンプで増幅され、コード検出手段でマークのコード
情報が検出される。
As a result, the signal of the mark detected by the detector is amplified by the programmable amplifier set to a predetermined gain in accordance with the form and the form, and the code information of the mark is detected by the code detecting means.

従って、単票または帳票でもプログラマブルアンプの
利得設定をマークの読取り毎に行なう必要がなく、マー
クの読取り処理時間が短縮される。
Therefore, it is not necessary to set the gain of the programmable amplifier every time a mark is read even in a single form or a form, and the mark reading processing time is shortened.

(実施例) 以下、本発明を図の実施例を用いて詳細に説明する。Hereinafter, the present invention will be described in detail with reference to an embodiment shown in the drawings.

第1図は本発明の媒体マーク読取り装置の実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a medium mark reading apparatus according to the present invention.

図の装置は、検出器1と、プログラマブルアンプ2
と、コード検出手段3と、選択手段4と、利得設定手段
5と、不揮発性メモリ6と、利得制御手段7とから構成
されており、本実施例ではシリアルプリンタに適用して
いる。
The device shown comprises a detector 1 and a programmable amplifier 2
It comprises a code detecting means 3, a selecting means 4, a gain setting means 5, a non-volatile memory 6, and a gain controlling means 7, and is applied to a serial printer in this embodiment.

検出器1は搬送される媒体に付されたバーコード等の
マークを光学的に読取る既知のバーコードリーダから構
成されている。
The detector 1 is composed of a known barcode reader that optically reads a mark such as a barcode attached to a transported medium.

プログラマブルアンプ2は、検出器1の出力を増幅す
る回路で、その利得が利得設定手段5,利得制御手段7に
よって設定されている既知の増幅回路から成る。
The programmable amplifier 2 is a circuit that amplifies the output of the detector 1 and is composed of a known amplifier circuit whose gain is set by the gain setting means 5 and the gain control means 7.

コード検出手段3は、プログラマブルアンプ2の出力
を2値化信号に変換し、この2値化信号よりマークのコ
ード判定を行なう手段で、後述するコード検出装置及び
CPU(中央処理装置)のコード検出部とから構成されて
いる。
The code detecting means 3 converts the output of the programmable amplifier 2 into a binarized signal and judges the code of the mark based on the binarized signal.
And a code detection unit of a CPU (central processing unit).

選択手段4は媒体が一枚一枚個別の単票か、連続要旨
の帳票かを選択する手段で、単票/帳票切換スイッチか
らなるものである。
The selection means 4 is a means for selecting whether the medium is an individual single sheet or a continuous summary form, and includes a single form / form changeover switch.

利得設定手段5は、選択手段4の選択に基づき、単票
時と帳票時におけるプログラマブルアンプ2の利得を設
定する手段で、後述する比較器、基準電圧発生器及びCP
Uの利得設定部とから構成されている。
The gain setting means 5 is a means for setting the gain of the programmable amplifier 2 at the time of a single form and at the time of a form based on the selection of the selection means 4, and includes a comparator, a reference voltage generator, and a
U gain setting unit.

不揮発性メモリ6は、利得設定手段5で設定された利
得の設定値を格納するメモリで、必要に応じてデータが
更新可能になっており、装置の主電源とは異なる別電源
でバックアップされた半導体メモリ等から構成されてい
る。
The non-volatile memory 6 is a memory for storing the set value of the gain set by the gain setting means 5 and is capable of updating data as necessary, and is backed up by another power supply different from the main power supply of the apparatus. It is composed of a semiconductor memory and the like.

利得制御手段7は、利得設定手段5による利得設定
後、選択手段4による単票/帳票の選択に基づき、不揮
発性メモリ6に格納されている単票,帳票それぞれの利
得の設定値を読出してプログラマブルアンプ2に設定す
る手段で、後述するCPUの利得制御部で構成されてい
る。
After setting the gain by the gain setting means 5, the gain control means 7 reads out the set value of each of the single form and the form stored in the nonvolatile memory 6 based on the selection of the single form / form by the selection means 4. The means for setting the programmable amplifier 2 is constituted by a gain control unit of a CPU described later.

第2図は本発明の装置を具体的に示す構成図である。 FIG. 2 is a block diagram specifically showing the apparatus of the present invention.

即ち、シリアルプリンタ100の上面には第1図の選択
手段4を構成する単/帳切換レバー8が設けられてお
り、またシリアルプリンタ100内部に設けられ、制御を
行なう回路を第2図上部に示している。この回路中、コ
ード検出装置9とCPU10のコード検出部10cの構成が第1
図のコード検出手段3に対応し、また比較器11、基準電
圧発生器12、CPU10の利得設定部10aの構成が利得設定手
段5に、CPU10の利得制御部10bが利得制御手段7に対応
している。
That is, on the upper surface of the serial printer 100, a single / book switching lever 8 constituting the selecting means 4 shown in FIG. 1 is provided, and a circuit for controlling the unit provided inside the serial printer 100 is provided at the upper part of FIG. Is shown. In this circuit, the configuration of the code detector 9 and the code detector 10c of the CPU 10 is the first.
The configuration of the comparator 11, the reference voltage generator 12, and the gain setting unit 10a of the CPU 10 correspond to the gain setting unit 5, and the gain control unit 10b of the CPU 10 corresponds to the gain control unit 7. ing.

コード検出装置9は、プログラマブルアンプ2の出力
を2値化信号に変換する回路で、既知の基準電圧発生回
路と比較回路等で構成されている。
The code detection device 9 is a circuit for converting the output of the programmable amplifier 2 into a binary signal, and includes a known reference voltage generation circuit, a comparison circuit, and the like.

比較器11は、プログラマブルアンプ2の出力と基準電
圧発生器12からの出力電圧を比較し、その比較結果をCP
U10に出力する既知の比較回路からなる。
The comparator 11 compares the output of the programmable amplifier 2 with the output voltage from the reference voltage generator 12, and compares the comparison result with the CP.
It consists of a known comparison circuit that outputs to U10.

また、基準電圧発生器12は、CPU10の利得設定部10aか
らの指令に基づき所定の基準電圧を発生し、その基準電
圧を比較器11に供給する既知の電圧発生回路である。
The reference voltage generator 12 is a known voltage generation circuit that generates a predetermined reference voltage based on a command from the gain setting unit 10a of the CPU 10, and supplies the reference voltage to the comparator 11.

次に上記構成の媒体マーク読取り装置の動作を説明す
る。
Next, the operation of the medium mark reading device having the above configuration will be described.

先ず、切換レバー8が単票/帳票いずれの側に選択さ
れていても、その選択に対応してCPU10の利得設定部10a
により、プログラマブルアンプ2の利得及び基準電圧発
生器12の設定する基準電圧の初期設定が行なわれる。こ
の初期設定は、検出器1が媒体のマーク無印刷部のレベ
ルを検出したとき比較器11の出力が変化するように行な
われる。
First, irrespective of whether the switching lever 8 is selected on either the single-sheet or the form, the gain setting unit 10a of the CPU 10 corresponds to the selection.
Thus, the initial setting of the gain of the programmable amplifier 2 and the reference voltage set by the reference voltage generator 12 is performed. This initial setting is performed so that the output of the comparator 11 changes when the detector 1 detects the level of the mark-unprinted portion of the medium.

即ち、マーク無印刷部のレベル検出により比較器11の
出力が変化すると、利得設定部10aの指令により基準電
圧発生器12は第1の基準電圧を比較器11に出力し、一方
プログラマブルアンプ2の出力がこの第1の基準電圧以
上となるようプログラマブルアンプ2の利得を設定す
る。
That is, when the output of the comparator 11 changes due to the detection of the level of the mark-unprinted portion, the reference voltage generator 12 outputs the first reference voltage to the comparator 11 according to a command from the gain setting unit 10a, while the programmable amplifier 2 The gain of the programmable amplifier 2 is set so that the output is equal to or higher than the first reference voltage.

次に、利得設定部10aは、基準電圧発生器12が第1の
基準電圧より大きい第2の基準電圧を発生するよう指令
し、またプログラマブルアンプ2の出力が第1の基準電
圧と第2の基準電圧との間にくるようにプログラマブル
アンプ2の利得を変化させて設定する。
Next, the gain setting unit 10a instructs the reference voltage generator 12 to generate a second reference voltage higher than the first reference voltage, and outputs the programmable amplifier 2 with the first reference voltage and the second reference voltage. The gain of the programmable amplifier 2 is changed and set so as to be between the reference voltage and the reference voltage.

これにより、単票/帳票いずれの場合も媒体のマーク
無印刷部についてのプログラマブルアンプ2の出力が一
定に設定されている。
As a result, the output of the programmable amplifier 2 for the non-marked print portion of the medium is set to be constant in both the single form and the form.

また、プログラマブルアンプ2の単票/帳票それぞれ
の利得設定値は不揮発性メモリ6に格納される。
Further, the gain setting value of each of the single form and the form of the programmable amplifier 2 is stored in the nonvolatile memory 6.

次いで、検出器1が光学的にバーコード等のマークを
読取り走査し、この検出器1の出力をプログラマブルア
ンプ2が設定された利得で増幅してコード検出装置9が
2値化信号に変換する。そして、この2値化信号はCPU1
0のコード検出部10cで処理され、バーコード等のマーク
のコード判定が行なわれる。
Next, the detector 1 optically reads and scans a mark such as a bar code, and the output of the detector 1 is amplified by the programmable amplifier 2 with the set gain, and the code detector 9 converts it into a binary signal. . And this binarized signal is CPU1
The processing is performed by the 0 code detection unit 10c, and the code of a mark such as a bar code is determined.

次に、上記利得設定後のマーク読取り動作を説明す
る。
Next, the mark reading operation after the above gain setting will be described.

第3図は実施例装置の利得設定後以後の読取り動作を
示すフローチャートである。
FIG. 3 is a flowchart showing a read operation after the gain setting of the apparatus of the embodiment.

先ず、切換レバー8により単票か帳票かの選択を行な
う(ステップS1)。
First, a selection is made between a single form and a form using the switching lever 8 (step S1).

ここで、帳票が選択された場合、CPU10の利得制御部1
0bは不揮発性メモリ6に格納されている帳票の利得設定
値を読出し、これをプログラマブルアンプ2に設定する
(ステップS2)。
Here, when the form is selected, the gain control unit 1 of the CPU 10
0b reads out the gain setting value of the form stored in the non-volatile memory 6 and sets it in the programmable amplifier 2 (step S2).

次いで最初のマーク読取りと同様にマークの読取り処
理を行なう(ステップS3)。
Next, a mark reading process is performed in the same manner as the first mark reading (step S3).

この読取り処理で読取りエラーが発生した場合(ステ
ップS4)、利得設定部10aによりプログラマブルアンプ
2の利得が最初の設定動作と同様に再設定され、かつ再
設定された利得が不揮発性メモリ6に格納される(ステ
ップS5)。即ち、不揮発性メモリ6内の設定値が更新さ
れる。また、その後はステップS3に戻り、マークの読取
りを行なう。
If a reading error occurs in this reading process (step S4), the gain of the programmable amplifier 2 is reset by the gain setting unit 10a in the same manner as the first setting operation, and the reset gain is stored in the nonvolatile memory 6. Is performed (step S5). That is, the set value in the nonvolatile memory 6 is updated. Thereafter, the process returns to step S3 to read the mark.

一方、マーク読取り処理で読取りエラーが発生せず、
通常の読取りが行なわれた場合、読取るマークが残って
いるか否かを判定し(ステップS6)、読取るマークが残
っている場合はステップS3に戻ってマークの読取りを続
行し、読取るマークがない場合は終了とする。
On the other hand, no reading error occurred in the mark reading process,
When the normal reading is performed, it is determined whether or not the mark to be read remains (step S6). If the mark to be read remains, the process returns to step S3 to continue reading the mark. Ends.

次に、切換レバー8で単票側が選択された場合は、単
票毎にプログラマブルアンプ2の利得を設定する(ステ
ップS7)。即ち、単票の場合は毎回異なった媒体のマー
ク読取りを行なう可能性があるため、各単票の最初のマ
ーク読取りの前に利得設定部10aによる利得設定を行な
う。
Next, when the cut side is selected by the switching lever 8, the gain of the programmable amplifier 2 is set for each cut (step S7). That is, in the case of a cut sheet, there is a possibility that a different medium may be read each time, so the gain setting unit 10a sets the gain before reading the first mark of each cut sheet.

その後は帳票時の動作と同様に、マークの読取り処理
を行なう(ステップS8)。この読取り処理で読取りエラ
ーが発生した場合(ステップS9)はステップS7に戻って
利得の再設定を行ない、ステップS9でエラー無しであっ
た場合は、同一単票内に読取るマークが残っているか否
かを判定する(ステップS10)。
Thereafter, a mark reading process is performed in the same manner as the operation at the time of the form (step S8). If a reading error occurs in this reading process (step S9), the process returns to step S7 to reset the gain. If no error is found in step S9, whether a mark to be read remains in the same cut sheet Is determined (step S10).

同一単票内に読取るマークが残っている場合はステッ
プS8に戻ってマークの読取り処理を続行し、読取るマー
クがない場合は終了とする。
If the mark to be read remains in the same cut, the process returns to step S8 to continue the mark reading process, and if there is no mark to be read, the process ends.

第4図は実施例装置の上記読取り動作を従来装置の読
取り動作と比較して示すタイムチャートである。同図
(a),(b)は従来装置の利得設定及びマーク読取り
を示し、同図(c),(d)は実施例装置の帳票時、同
図(e),(f)は単票時の利得設定とマーク読取りを
それぞれ示している。
FIG. 4 is a time chart showing the reading operation of the embodiment device in comparison with the reading operation of the conventional device. 6A and 6B show the gain setting and mark reading of the conventional apparatus, and FIGS. 6C and 6D show the forms of the apparatus according to the embodiment, and FIGS. Time gain setting and mark reading are shown, respectively.

この第4図から明らかなように、従来装置では、マー
ク読取り動作(図面中、時間rで示す)に先立ち、利得
設定動作(図面中、時間gで示す)を必ず実施してい
る。これに対し、実施例では、帳票上のマーク読取り時
には、不揮発性メモリ6に格納された利得設定値をプロ
グラマブルアンプ2に設定し、その後は利得設定を行な
うことなく、次々とマークの読取りを行なうため、第4
図(d)にT1で示す時間だけ処理時間が短縮可能とな
る。尚、第4図中のt1,t2で示す時間は検出器1がマー
クの読取りを終了してから次のマーク位置へ移動するの
に要する時間を示している。
As is apparent from FIG. 4, in the conventional apparatus, the gain setting operation (shown by time g in the drawing) is always performed prior to the mark reading operation (shown by time r in the drawing). On the other hand, in the embodiment, when reading a mark on a form, the gain setting value stored in the non-volatile memory 6 is set in the programmable amplifier 2, and thereafter the mark is read one after another without setting the gain. Because the fourth
Only the processing time period indicated by T 1 enables shortening in FIG (d). The time indicated by t 1 and t 2 in FIG. 4 indicates the time required for the detector 1 to move to the next mark position after finishing reading the mark.

また単票時のマーク読取り時においても、同一媒体上
で複数のマークを読取る場合は、最初に利得設定を行な
うが、2個目以後の読取り時は、最初に設定した利得で
読取りを行なうため、第4図(f)にT2で示す時間だけ
処理時間が短縮可能となる。
Also, when reading a plurality of marks on the same medium even when reading a mark at the time of a cut, the gain is set first, but when reading the second and subsequent marks, reading is performed with the gain set first. , only the processing time period indicated by T 2 enables reduced to FIG. 4 (f).

尚、上記実施例において、プログラマブルアンプ2の
利得再設定をエラー発生時だけでなく、マークの濃度判
定時、即ちプログラマブルアンプ2の出力電圧と基準電
圧との関係により、媒体のマーク無印刷部とマーク黒部
分との相対反射率を検出する場合等に行なうよう構成し
ても良いことはもちろんである。
In the above embodiment, the resetting of the gain of the programmable amplifier 2 is performed not only when an error occurs, but also when the density of the mark is determined, that is, depending on the relationship between the output voltage of the programmable amplifier 2 and the reference voltage, the non-marked printing portion of the medium. Needless to say, it may be configured to detect the relative reflectance with the mark black portion.

また、上記実施例では媒体マーク読取り装置をシリア
ルプリンタに適用した場合について説明したが、これ以
外にも単票と帳票のマークを読取る装置であれば同様の
効果を奏することができる。
Further, in the above embodiment, the case where the medium mark reading device is applied to a serial printer has been described. However, in addition to the above, the same effects can be obtained if the device reads a mark of a single form and a form.

更に、不揮発性メモリ6はバッテリでバックアップさ
れたメモリだけでなく、装置の主電源が遮断されても記
憶内容が保持できるものであれば同様に用いることがで
きる。
Further, the non-volatile memory 6 can be used not only as a memory backed up by a battery but also as long as it can retain stored contents even when the main power supply of the apparatus is cut off.

(発明の効果) 以上説明した本発明の媒体マーク読取り装置によれ
ば、単票時と帳票時のプログラマブルアンプの利得をそ
れぞれ設定し、かつこの設定値を不揮発性メモリに格納
し、利得設定後は単票と帳票との選択に基づきそれぞれ
の利得設定値を不揮発性メモリから読出してプログラマ
ブルアンプに設定するようにしたので、マークの読取り
毎に利得再設定を実施する必要がなく、マーク読取りの
処理時間の大幅な時間短縮が可能となる。また、単票と
帳票との処理が分離されているため、それぞれの媒体に
適した処理が行なえ、単票と帳票とに精度の高い読取り
が行なえると共に高スループットが得られる。
(Effects of the Invention) According to the medium mark reading device of the present invention described above, the gain of the programmable amplifier is set for each of the slip and the form, and the set value is stored in the nonvolatile memory. Since the gain setting values are read from the non-volatile memory and set in the programmable amplifier based on the selection of the form and the form, it is not necessary to reset the gain every time the mark is read, and the mark reading is not performed. The processing time can be greatly reduced. In addition, since the processing of the single form and the form is separated, processing suitable for each medium can be performed, high-precision reading can be performed on the single form and the form, and high throughput can be obtained.

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

第1図は本発明の媒体マーク読取り装置の実施例を示す
ブロック図、第2図は本発明装置の具体的な実施例を示
す構成図、第3図は本発明装置の動作を示すフローチャ
ート、第4図は本発明装置の読取り動作を従来装置と比
較して示すタイムチャートである。 1……検出器、2……プログラマブルアンプ、 3……コード検出手段、4……選択手段、 5……利得設定手段、6……不揮発性メモリ、 7……利得制御手段。
FIG. 1 is a block diagram showing an embodiment of the medium mark reading apparatus of the present invention, FIG. 2 is a block diagram showing a specific embodiment of the present invention apparatus, FIG. 3 is a flowchart showing the operation of the present invention apparatus, FIG. 4 is a time chart showing the reading operation of the apparatus of the present invention in comparison with the conventional apparatus. DESCRIPTION OF SYMBOLS 1 ... Detector, 2 ... Programmable amplifier, 3 ... Code detecting means, 4 ... Selecting means, 5 ... Gain setting means, 6 ... Non-volatile memory, 7 ... Gain control means.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】媒体に付されたマークを光学的に検出する
検出器と、 前記検出器の出力を増幅するプログラマブルアンプと、 前記プログラマブルアンプの出力に基づきマークのコー
ド情報を検出するコード検出手段と、 媒体の単票か帳票かを選択する選択手段と、 前記選択手段の選択に基づき、前記プログラマブルアン
プの出力が前記コード検出手段に対して所定値となるよ
う、単票時と帳票時の該プログラマブルアンプの利得を
設定する利得設定手段と、 前記利得設定手段で設定された利得の設定値を格納する
不揮発性メモリと、 前記利得設定手段による利得設定後、前記選択手段の選
択に基づき、前記不揮発性メモリに格納された単票と帳
票の利得設定値をそれぞれ前記プログラマブルアンプに
設定する利得制御手段を設けたことを特徴とする媒体マ
ーク読取り装置。
A detector for optically detecting a mark provided on a medium; a programmable amplifier for amplifying an output of the detector; and a code detecting means for detecting code information of the mark based on an output of the programmable amplifier. Selecting means for selecting whether the medium is a single form or a form, based on the selection of the selecting means, so that the output of the programmable amplifier becomes a predetermined value with respect to the code detecting means, at the time of the single form and the form. Gain setting means for setting the gain of the programmable amplifier; a non-volatile memory for storing a set value of the gain set by the gain setting means; and after setting the gain by the gain setting means, based on the selection of the selection means, Gain control means for setting the gain setting values of the form and the form stored in the nonvolatile memory to the programmable amplifier, respectively. Media and mark reader.
JP2196256A 1990-07-26 1990-07-26 Media mark reader Expired - Lifetime JP2744513B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2196256A JP2744513B2 (en) 1990-07-26 1990-07-26 Media mark reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2196256A JP2744513B2 (en) 1990-07-26 1990-07-26 Media mark reader

Publications (2)

Publication Number Publication Date
JPH0488487A JPH0488487A (en) 1992-03-23
JP2744513B2 true JP2744513B2 (en) 1998-04-28

Family

ID=16354786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2196256A Expired - Lifetime JP2744513B2 (en) 1990-07-26 1990-07-26 Media mark reader

Country Status (1)

Country Link
JP (1) JP2744513B2 (en)

Also Published As

Publication number Publication date
JPH0488487A (en) 1992-03-23

Similar Documents

Publication Publication Date Title
US6624903B1 (en) Techniques for over-life encoding of media type and roll length
US4322157A (en) Copying machine
JPS605992B2 (en) How to record information on print media with bar codes
JP4149867B2 (en) Printer and its control method
JP2744513B2 (en) Media mark reader
JP3960751B2 (en) Printer top edge position correction method and computer readable medium
JP2813284B2 (en) Medium mark reading method
JP2704188B2 (en) Media mark reading and printing device
JPH0661967B2 (en) output method
JPS63191661A (en) Printing press
JPH07172024A (en) Information storage method and information recovery method
US6493017B1 (en) Color printer with sensors arranged along a length of a ribbon for detecting the ribbon's position
JP4505883B2 (en) Print defect detection system
JPS6042038B2 (en) printing device
US5914745A (en) Electronic white board apparatus
JP2589402B2 (en) Slip printer
JPH0129096Y2 (en)
JPS63197672A (en) Printer with verifying function for bar-code printing
JP2698915B2 (en) Recording device
JPH0753332Y2 (en) Fax machine
JPS6158770A (en) Printing device
JPS61286983A (en) System for correcting inclination of character pattern data
JPS6132155B2 (en)
JP2685613B2 (en) Printing device control method
JP2757863B1 (en) Barcode reader

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090206

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090206

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100206

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110206

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110206

Year of fee payment: 13