JPS6249579A - Bar code reading method - Google Patents

Bar code reading method

Info

Publication number
JPS6249579A
JPS6249579A JP60188615A JP18861585A JPS6249579A JP S6249579 A JPS6249579 A JP S6249579A JP 60188615 A JP60188615 A JP 60188615A JP 18861585 A JP18861585 A JP 18861585A JP S6249579 A JPS6249579 A JP S6249579A
Authority
JP
Japan
Prior art keywords
value
character
comparison
bar
stored
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
JP60188615A
Other languages
Japanese (ja)
Other versions
JPH0668774B2 (en
Inventor
Masataka Oota
正孝 太田
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.)
Sato Corp
Original Assignee
Sato Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sato Corp filed Critical Sato Corp
Priority to JP60188615A priority Critical patent/JPH0668774B2/en
Publication of JPS6249579A publication Critical patent/JPS6249579A/en
Publication of JPH0668774B2 publication Critical patent/JPH0668774B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To read special characters by decoding again characters having a decoding error in a decoding process of standard characters in a decoding process of special characters. CONSTITUTION:Bar codes are operated by a reader 7 to store values corresponding to respective areas consisting of bars and spaces in a data storing circuit 4. Then respective characters are decoded in a standard character decoding process according to the value stored in each area. The character having a decoding error in the standard character decoding process is decoded again in the special character decoding process. In such a way, not only the standard character but also the special characters can also be read completely. This omits a process to decide whether the characters to be decoded are equal to standard or special characters.

Description

【発明の詳細な説明】 (発明の利用分野) 本発明はバーコード読取方法に関するもので、特に所定
の規則から外れた特殊キャラクタのバーコードを読取る
ことができる方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Application of the Invention) The present invention relates to a barcode reading method, and more particularly to a method capable of reading barcodes with special characters that deviate from predetermined rules.

(従来技術) バーコードには種々の形式のものがあり、その形式によ
って夫々所定の規則が存在している。
(Prior Art) There are various types of barcodes, and each type has its own predetermined rules.

これらのバーコード形式の代表的なものの一つとして、
rNW−7Jと称されるコード形式のものがある。この
コードは第13図のコード表に示される如く、各キャラ
クタ共に4個のバー(黒バー)と3個のスペース(白バ
ー)からなっていて、通常は「0」〜「9」の数字のみ
がデータとして使用される。上記コード表から明らかな
ように各数字キャラクタと「¥」および「−」は、4個
のバーのうち1個のみが幅広であり、かつ3個のスペー
スのうち1個のみが幅広になっている。また、主にスタ
ートコード、ストップコードとして使用されるraJ 
 、rbJ ・・・等の特殊キャラクタは4個のバーの
うち1個のみが幅広であり。
One of the typical barcode formats is
There is a code format called rNW-7J. As shown in the code table in Figure 13, this code consists of four bars (black bars) and three spaces (white bars) for each character, and is usually a number between "0" and "9". only used as data. As is clear from the code table above, each numeric character, "\" and "-" have only one wide bar out of four bars and one wide out of three spaces. There is. Also, raJ is mainly used as a start code and stop code.
, rbJ, etc., only one of the four bars is wide.

かつ3個のスペースのうち2個が幅広になっている。さ
らに、r、」 、r+」・・・等の特殊キャラクタは4
個のバーのうち3個が幅広であり、かつ3個のスペース
は全て幅狭になっている。そして、バーおよびスペース
共に幅広のものが二進値rlJを意味し、幅狭のものが
二進値「0」を意味するように定義付けられている。
And two of the three spaces are wide. Furthermore, special characters such as r, ", r+", etc.
Three of the bars are wide, and all three spaces are narrow. Both the bar and the space are defined so that a wide one means a binary value rlJ, and a narrow one means a binary value "0".

上記のようなバーコードを読取る方法としては従来より
種々のものが提案されているが1本出願人は読取器の走
査スピードの変化や、バーおよびスペースの多少の幅変
化等に対しても極力正確な読取を行ない得るようなバー
コード読取方法を既に出願している。
Various methods have been proposed in the past for reading barcodes such as those mentioned above, but the applicant has developed a method that takes into account changes in the scanning speed of the reader, slight changes in the width of bars and spaces, etc. An application has already been filed for a barcode reading method that allows accurate reading.

第一の方法は、特願昭59−221970として出願さ
れていて、読取器によってバーコードを走査することに
よりバーおよびスペースからなる各領域の幅に相当する
値を記憶し、この記憶された各領域の幅に相当する値に
基づいて比較基準値を算出し、この算出された比較基準
値と上記各領域の幅に相当する値とを比較してその大小
関係に従って上記各領域の幅を判定する方法である。
The first method, filed as Japanese Patent Application No. 59-221970, stores a value corresponding to the width of each area consisting of bars and spaces by scanning a bar code with a reader, and each of the stored values is A comparison reference value is calculated based on the value equivalent to the width of the area, and the calculated comparison reference value is compared with the value equivalent to the width of each of the above areas, and the width of each of the above areas is determined according to the size relationship. This is the way to do it.

また第二の方法は、特願昭60−121570として出
願されていて、読取器によってバーコードを走査するこ
とによりバーおよびスペースからなる各領域の幅に相当
する値を記憶し、この記憶された各領域の幅に相当する
値のうち所定数の値を合計して合計値を算出し、この算
出された合計値と上記各領域の幅に相当する値との商を
算出してこの算出値とあらかじめ設定されている比較値
とを比較し、その大小関係に従って上記各領域の幅を判
定する方法である。
The second method, which has been filed as Japanese Patent Application No. 121570/1982, stores a value corresponding to the width of each area consisting of bars and spaces by scanning a barcode with a reader. A total value is calculated by summing a predetermined number of values corresponding to the width of each area, and the quotient of this calculated total value and the value corresponding to the width of each area above is calculated to obtain this calculated value. In this method, the width of each area is determined based on the magnitude relationship between the two and a preset comparison value.

上記第一、第二の読取方法の具体的内容については後述
する本発明の実施例中において詳細に説明するが、読取
器の走査スピードの変化や、バーおよびスペースの多少
の幅変化等に対しても正確な読取を行ない得るという利
点を有している反面、特に上述したr、」、r+」・・
・等からなる特殊キャラクタの読取ができないという問
題が残されていた。これはキャラクタ毎にバーおよびス
ペースの幅に相当する値に基づいて比較基準値または合
計値を算出し、その算出した比較基準値や合計値を用い
て各バーおよびスペースからなる領域幅の大小を判定す
る方法を採用している為である。
The specific contents of the first and second reading methods will be explained in detail in the embodiments of the present invention to be described later, but it is possible to Although it has the advantage of being able to perform accurate readings even when using
There remained the problem that special characters such as ・ etc. could not be read. This calculates a comparison reference value or total value for each character based on the value equivalent to the width of the bar and space, and then uses the calculated comparison reference value or total value to calculate the width of the area made up of each bar and space. This is because a method of judgment is adopted.

(発明の目的) 本発明は上述した問題点に鑑みてなされたもので、基本
的にはト記第−1第二の読取方法を採用することにより
読取器の走査スピードの変化や、バーおよびスペースの
多少の幅変化に対応できるようにし、かつ特殊キャラク
タの読取りも可能としたバーコード読取方法を提供する
ことを目的とする。
(Object of the Invention) The present invention has been made in view of the above-mentioned problems, and basically, by adopting the reading method described in Section 1-1, the scanning speed of the reader can be changed, the bar and To provide a barcode reading method that can cope with slight changes in the width of a space and can also read special characters.

(発明の概要) 本発明においては、読取器によってバーコードを走査す
ることによりバーおよびスペースからなる各領域幅に相
当する値を記憶し、この記憶された各領域幅の値に基づ
いて標準キャラクタデコード過程にてキャラクタ毎にデ
コードを行ない、この標準キャラクタデコード過程にて
デコードエラーとなったキャラクタについては特殊キャ
ラクタデコード過程にて再度デコードされるようにした
ものである。
(Summary of the Invention) In the present invention, by scanning a barcode with a reader, values corresponding to the widths of each region consisting of bars and spaces are stored, and based on the stored values of the widths of each region, standard characters are Each character is decoded in the decoding process, and any character that results in a decoding error in the standard character decoding process is decoded again in the special character decoding process.

(実施例) 以下、第1図〜第13図を参照して、本発明によるバー
コード読取方法の実施例について詳述する。
(Example) Hereinafter, an example of the barcode reading method according to the present invention will be described in detail with reference to FIGS. 1 to 13.

第1図は読取装置の回路図を示すもので、CPU2はパ
スラインlによってプログラム記憶回路3、データ記憶
回路4.デジタル入出力回路5゜および表示制御回路6
に夫々接続されている。このCPU2は、ROMによっ
て構成されたプログラム記憶回路3のプログラムに従っ
て全体の動作を制御するようになっている。また、RA
Mによって構成されたデータ記憶回路4は、領域幅記憶
部Ml、基準値あるいは合計値を記憶する記憶部M2.
読取データ記憶部M3.一時記憶部M4゜およびその他
のデータを記憶する記憶部M5を有している。
FIG. 1 shows a circuit diagram of a reading device, in which a CPU 2 is connected to a program storage circuit 3, a data storage circuit 4, . Digital input/output circuit 5° and display control circuit 6
are connected to each other. This CPU 2 is designed to control the overall operation according to a program stored in a program storage circuit 3 constituted by a ROM. Also, R.A.
The data storage circuit 4 includes an area width storage section Ml, a storage section M2 .
Read data storage section M3. It has a temporary storage section M4° and a storage section M5 for storing other data.

デジタル入出力回路5にはバーコードを走査する手動式
の光学的読取器7が接続されており、このデジタル入出
力回路5は読取器7がバーの領域を走査中であるかスペ
ースの領域を走査中であるかを検出して、その状態を二
値信号でパスラインlに出力するように構成されている
0表示制御回路6は、読取データ記憶部M3に記憶され
ているバーコードの読取データに基づいて変換された表
示データにしたがってCRTディスプレイ等からなる表
示部8にその内容を表示するためのものである。
A manual optical reader 7 for scanning barcodes is connected to the digital input/output circuit 5, and the digital input/output circuit 5 detects whether the reader 7 is scanning a bar area or a space area. The 0 display control circuit 6, which is configured to detect whether scanning is in progress and output the status as a binary signal to the pass line l, reads the barcode stored in the read data storage section M3. This is for displaying the contents on a display unit 8 made of a CRT display or the like according to display data converted based on the data.

次に、上記回路を備えた読取装置によって第12図に示
されるようなバーコードを読取る方法について説明する
。このバーコードは、第13図の表に示される形式のも
のであり、かつバーおよびスペース共に幅広のものと幅
狭のものとの比が3:lになっているものとする。
Next, a method of reading a bar code as shown in FIG. 12 using a reading device equipped with the above circuit will be described. It is assumed that this barcode is of the format shown in the table of FIG. 13, and that the ratio of wide to narrow bars and spaces is 3:1.

最初に、前述した第一の読取方法を改良してなるバーコ
ード読取方法について説明する。
First, a barcode reading method that is an improved version of the first reading method described above will be described.

第2図には全体の動作が示されており、まず計数動作が
開始される。この計数動作は読取器7が第12図に示さ
れるバーコードを走査することにより、バーおよびスペ
ースからなる各領域の幅に相当する値を計数して記憶す
る動作を示すものである。この計数動作の詳細について
第3図を参照して説明する。
FIG. 2 shows the overall operation, and first a counting operation is started. This counting operation shows an operation in which the reader 7 scans the bar code shown in FIG. 12, thereby counting and storing values corresponding to the width of each area consisting of bars and spaces. The details of this counting operation will be explained with reference to FIG.

第1図に示される各回路がイニシャルセラトコれた後、
読取器7によって第12図にLlで示すスタートマージ
ンに相当する空白部が走査されたかどうかの判断がなさ
れる。あらかじめ設定されているスタートマージンL1
の走査が完了するとスタートマージンLlが終了したか
どうかの判断がなされ、終了したらステップ3−4にて
読取器7がバーの走査を行なっているかどうかの判断が
なされる。スタートマージンLlが終了していれば読取
器7は当然にバーの走査に入っており、記憶部M5の所
定番地に設定されているバーの計数値Bを1だけ加算す
る。読取器7が一番目のバーBAIを走査している間ス
テップ3−4と3−5が繰り返され、この一番目のバー
BAIの幅に相当する値が計数される。読取器7が一番
目のバーBAIの走査を終了すると記憶部M5に記憶さ
れているバーの計数値Bを領域幅記憶部M1にストアす
る。
After each circuit shown in Figure 1 has been initialized,
It is determined by the reader 7 whether a blank area corresponding to the start margin indicated by Ll in FIG. 12 has been scanned. Preset start margin L1
When the scanning of the bar is completed, it is determined whether the start margin Ll has ended or not, and when it is completed, it is determined in step 3-4 whether the reader 7 is scanning the bar or not. If the start margin Ll has ended, the reader 7 is naturally scanning the bar, and adds 1 to the bar count value B set at a predetermined location in the storage section M5. Steps 3-4 and 3-5 are repeated while the reader 7 is scanning the first bar BAI, and the value corresponding to the width of this first bar BAI is counted. When the reader 7 finishes scanning the first bar BAI, the bar count value B stored in the storage section M5 is stored in the area width storage section M1.

次に読取器7がスペースの走査中であるかどうかの判断
がなされ、スペースの走査がなされている場合はスペー
スの計数値を1だけ加算して記憶部M5の所定番地にセ
ットする。そしてこのスペースの計数値が第12図にL
2で示すストップマージンに相当する幅の値に達したか
否かの判断がなされ、達していない場合はステップ3−
7からステップ3−9の動作が繰り返され一番目のスペ
ースSPIの幅に相当する値が計数される。読取器7が
一番目のスペースSPIの走査を終了すると記憶部M5
にセットされているスペースの計数値Sを領域幅記憶部
Mlにストアした後ステップ3−4に戻る。
Next, it is determined whether the reader 7 is scanning a space or not, and if it is scanning a space, the count value of the space is incremented by 1 and set in a predetermined location in the storage section M5. And the count value of this space is shown in Figure 12.
It is determined whether the width value corresponding to the stop margin shown in 2 has been reached, and if it has not been reached, step 3-
The operations from step 7 to step 3-9 are repeated and a value corresponding to the width of the first space SPI is counted. When the reader 7 finishes scanning the first space SPI, the memory M5
After storing the space count value S set in the area width storage unit Ml, the process returns to step 3-4.

以下同様にして、ステップ3−4からステップ3−6に
よって二番目以降のバーBA2 、BA3、BA4・・
・・の幅に相当する値が計数されて領域幅記憶部Mlに
ストアされ、かつステップ3−7からステップ3−1O
によって二番目以降のスペースSP2,5P3−・・・
の幅に相当スる値が計数されて領域幅記憶部M1に夫々
ストアされることによりバーコード全体のバーおよびス
ペースからなる領域幅に相当する値が計数される。
Thereafter, in the same manner, from step 3-4 to step 3-6, the second and subsequent bars BA2, BA3, BA4, etc.
A value corresponding to the width of .
The second and subsequent spaces SP2, 5P3-...
The values corresponding to the width of the bar code are counted and stored in the area width storage section M1, thereby counting the value corresponding to the width of the area consisting of bars and spaces of the entire barcode.

読取器7が第12図に示されるスタートマージンL2の
領域幅に相当する値を計数した場合は、バーコードの走
査は完了したものとみなし、基準値計算に移る。なお、
バーについては3−4.3−5の2ステツプによりlだ
けカウントア・シブし。
When the reader 7 counts a value corresponding to the area width of the start margin L2 shown in FIG. 12, it is assumed that scanning of the bar code is completed, and the process moves on to the reference value calculation. In addition,
For the bar, count by l using the two steps of 3-4.3-5.

スペースについては3−7.3−8.3−9の3ステツ
プにより1だけカウントアツプしており両者の計数条件
が異なる。このため、ステップ3−5の次に意味のない
疑似的なステップを付加することにより、バーとスペー
スの計数条件を均等にすることが好ましい。
As for the space, it is counted up by 1 in the three steps of 3-7.3-8.3-9, and the counting conditions for both are different. Therefore, it is preferable to equalize the counting conditions for bars and spaces by adding a meaningless pseudo step after step 3-5.

上記計数動作によって、第12図に示されるバーコード
全体の各バーおよびスペースからなる蒙域の幅に相当す
る値が領域幅記憶部Mlに記憶された状態になる0次に
、第2図にステップ2−2で示す標準キャラクタの基準
値計算に入る。この基準値計算動作の詳細について第4
図を参照して説明する。
By the above counting operation, a value corresponding to the width of the area consisting of each bar and space of the entire barcode shown in FIG. 12 is stored in the area width storage unit Ml. The standard value calculation for the standard character shown in step 2-2 begins. For details of this standard value calculation operation, see Section 4.
This will be explained with reference to the figures.

まず、ステップ4−1ではバーコード全体のキャラクタ
の桁数Aが求められる。このキャラクタの桁数Aは、バ
ーコード全体が何個のキャラクタによって構成されてい
るかということを表わすものであり、求められた桁数A
(第12図の例では桁数A=5)は記憶部M5の所定番
地にセットされる。
First, in step 4-1, the number of character digits A of the entire barcode is determined. The number of digits A of this character represents how many characters the entire barcode is made up of, and the number of digits A obtained is
(In the example of FIG. 12, the number of digits A=5) is set at a predetermined location in the storage section M5.

そして、一番目の1キャラクタ分に相当する四個のバー
の計数値を合計し、この合計値をプログラム記憶回路3
に記憶されているあらかじめ設定された定数Klで割る
ことにより最初のキャラクタのバーに相当する比較基準
値Nlとして記憶部M2にストアする0次に最初のキャ
ラクタ分の三個のスペースの計数値を合計し、この合計
値をプログラム記憶回路3に記憶されているあらかじめ
設定された定数に2で割ることにより最初のキャラクタ
分に相当するスペースの比較基準値N2として記憶部M
2にストアする。なお、比較基準値N1は幅狭バーに相
当する計数値と幅広バーに相当する計数値との略中間値
となるように上記定数Klを3に設定し、かつ比較基準
値N2は幅狭スペースに相当する計数値と幅広スペース
に相当する計数値との略中間値となるように上記定数に
2を2.5に設定している。
Then, the count values of the four bars corresponding to the first character are totaled, and this total value is stored in the program storage circuit 3.
By dividing by a preset constant Kl stored in , the count value of three spaces for the first character is stored in the storage unit M2 as a comparison reference value Nl corresponding to the bar of the first character. The total value is divided by 2 to a preset constant stored in the program storage circuit 3 to obtain a comparison reference value N2 of the space corresponding to the first character in the memory unit M.
Store in 2. The constant Kl is set to 3 so that the comparison reference value N1 is approximately the middle value between the count value corresponding to the narrow bar and the count value corresponding to the wide bar, and the comparison reference value N2 is set to 3 for the count value corresponding to the narrow bar and the count value corresponding to the wide bar. The constant 2 is set to 2.5 so that the count value corresponding to the wide space is approximately the middle value between the count value corresponding to the wide space and the count value corresponding to the wide space.

これで最初のキャラクタ分のバーおよびスペースに相当
する基準値Nl、N2の計算が終了し、キャラクタの桁
数Aが1だけ減算される。そして、この桁数AがOにな
ったかどうかの判断がなされ、Oでない場合はステップ
4−3からステップ4−10が繰り返されて以後のキャ
ラクタ分に相当するバーおよびスペースの基準値計算が
なされて夫々記憶部M2にストアされる。また1桁数A
がOであると判断された場合は、バーコード全体のバー
およびスペースに相当する基準値計算が終了したものと
みなされる。基準値計算が終了すると、第2図にステッ
プ2−3で示す標準キャラクタのデータ比較に移る0次
に、このデータ比較動作の詳細について第5図を参照し
て説明する。
This completes the calculation of the reference values Nl and N2 corresponding to the bar and space for the first character, and the number of digits A of the character is subtracted by one. Then, it is determined whether this number of digits A has become O, and if it is not O, steps 4-3 to 4-10 are repeated to calculate the standard values of bars and spaces corresponding to subsequent characters. and are respectively stored in the storage unit M2. Also, one digit number A
If it is determined that is O, it is considered that the reference value calculation corresponding to the bars and spaces of the entire barcode has been completed. When the reference value calculation is completed, the process moves on to the data comparison of the standard character shown in step 2-3 in FIG. 2. Next, the details of this data comparison operation will be explained with reference to FIG. 5.

まず、ステップ5−1においてキャラクタの桁数Aを再
びセットし、さらに最初のキャラクタの基準値Nl、N
2が格納されている記憶部M2の番地を記憶部M5にセ
ットする。このセットが完了すると、ステップ5−3に
おいてlキャラクタ分のバーおよびスペースの合計数D
=8を記憶部M5の所定番地にセットする。なお、バー
とスペースの合計数は第12図に示されるように実際に
は7であるが、これにキャラクタ間スペースC5が加わ
るため合計数りは8にセットしておくものである。
First, in step 5-1, the number of digits A of the character is set again, and the reference values Nl and N of the first character are set again.
The address of the memory section M2 where 2 is stored is set in the memory section M5. When this set is completed, in step 5-3 the total number of bars and spaces D for l characters is
=8 is set at a predetermined location in the storage section M5. The total number of bars and spaces is actually 7 as shown in FIG. 12, but since the inter-character space C5 is added to this, the total number is set to 8.

そしてステップ5−4にて、領域幅記憶部M1に記憶さ
れている一番目の計数値がバーであるかスペースである
かの判断がなされる。バーである場合には記憶部M5に
セットされている最初のキャラクタの比較基準値の番地
を参照し記憶部M2に記憶されている最初のキャラクタ
のバーの比較基準値NlをCPUZ内のレジスタD m
 E reg内にセットする0次にステップ5−6にお
いて、領域幅記憶部M1に記憶されている一番目のバー
BA1の計数値とステップ5−5においてレジスタD 
++ E regにセットされた最初のキャラクタのバ
ーの比較基準値Nlとの大小比較がなされ、計数値が比
較基準値N1より大きい場合は一番目のバーは二進値「
l」と判断され、計数値が比較基準値Nlより大きくな
い場合は二進値「0」と判断される。これらの二進値「
1」または「0」のデータは一時記憶部M4にストアさ
れる。第12図の例では一番目のバーBAIが幅狭であ
り、その計数値は比較基準値Nlより小さくなるため二
進値「0」がストアされる。
Then, in step 5-4, it is determined whether the first count value stored in the area width storage section M1 is a bar or a space. If it is a bar, refer to the address of the comparison reference value of the first character set in the storage unit M5 and set the comparison reference value Nl of the bar of the first character stored in the storage unit M2 to the register D in CPUZ. m
0 set in E reg Next, in step 5-6, the count value of the first bar BA1 stored in the area width storage unit M1 and the register D in step 5-5 are set.
++ The bar of the first character set in E reg is compared in size with the comparison reference value Nl, and if the count value is greater than the comparison reference value N1, the first bar is a binary value "
If the count value is not larger than the comparison reference value Nl, it is determined to be a binary value of "0". These binary values “
Data of "1" or "0" is stored in the temporary storage section M4. In the example of FIG. 12, the first bar BAI is narrow and its count value is smaller than the comparison reference value Nl, so a binary value "0" is stored.

そして、Dがlだけ減算された後ステップ5−9におい
てD=0かどうかの判断がなされた後、Oでない場合は
ステップ5−4に戻る。そこで領域幅記憶部M1の二番
目には一番目のスペースSPiの計数値が記憶されてい
るため、記憶部M5にセットされている最初のキャラク
タのスペースに相ちする比較基準値N2の番地を参照し
て記憶部M2より最初のキャラクタのスペースの比較基
準値N2をCPUZ内のレジスタD * E regに
セットする。そして、領域幅記憶部Mlに記憶されてい
る二番目のデータすなわち一番目のスペースSPIの幅
に相当する計数値とレジスタD@Eregにセットされ
たスペースの比較基準値N2との大小関係とを比較する
。この比較の結果スペースSPIの計数値が比較基準値
N2より大きい場合は二進値「1」と判断され大きくな
い場合は二進値「0」と判断される。その結果、二進値
「l」または「0」が一時記憶部M4にストアされる。
After D is subtracted by l, it is determined in step 5-9 whether D=0, and if it is not O, the process returns to step 5-4. Therefore, since the count value of the first space SPi is stored in the second area width storage part M1, the address of the comparison reference value N2 corresponding to the space of the first character set in the storage part M5 is stored. Referring to this, a comparison reference value N2 of the space of the first character is set in the register D*E reg in CPUZ from the storage unit M2. Then, the magnitude relationship between the second data stored in the area width storage unit Ml, that is, the count value corresponding to the width of the first space SPI, and the space comparison reference value N2 set in the register D@Ereg is determined. compare. As a result of this comparison, if the count value of the space SPI is larger than the comparison reference value N2, it is determined to be a binary value "1", and if not, it is determined to be a binary value "0". As a result, the binary value "l" or "0" is stored in the temporary storage M4.

第12の例では一番目のスペースSPlが幅狭であり、
その計数値は比較基準値N2より大きくないため二進値
「0」がストアされる。そして、Dの値が1だけ減算さ
れた後ステップ5−9に移る。この動作が繰り返される
ことにより最初のキャラクタ分のバーおよびスペースと
キャラクタ間スペースのデータ比較が行なわれる。
In the twelfth example, the first space SPl is narrow,
Since the count value is not greater than the comparison reference value N2, a binary value of "0" is stored. After the value of D is subtracted by 1, the process moves to step 5-9. By repeating this operation, data comparison between the bar and space for the first character and the inter-character space is performed.

また、ステップ5−9においてD=0と判断された時、
ステップ5−12において一時記憶部M4にストアされ
た1キャラクタ分のデータのうち最初の7ビツト分、す
なわちキャラクタ間スペースC5を除いたバーおよびス
ペースのデータに相当する内容を読取データ記憶部M3
にストアする。そしてステップ5−13にて、記憶部M
5にセットされている最初のキャラクタの比較基準値の
番地データをクリアして次のキャラクタの比較基?t!
!値の番地データをセットし、かつステップ5−14に
てキャラクタの桁数Aを1だけ減算する。 次に、ステ
ップ5−15においてこの桁数AがOかどうかの判断が
なされ、Oでない場合にはステップ5−3からステップ
5−15を繰り返すことにより順次各キャラクタ分のバ
ーおよびスペースのデータ比較を行なう、また、この比
較の結果によって得られたデータは、読取データ記憶部
M3に所定の順序にてストアされる。なお、最終キャラ
クタにはキャラクタ間スペースC3がなくバーおよびス
ペースの合計数りは7となるため、ステップ5−6にて
判定される八番目の二進値については全く意味のないも
のとなるが、ステップ5−12にてこの八番目の二進値
は放棄されるので問題は生じない。
Also, when it is determined that D=0 in step 5-9,
In step 5-12, the first 7 bits of the data for one character stored in the temporary storage section M4, that is, the content corresponding to the bar and space data excluding the inter-character space C5, is read out from the data storage section M3.
Store in. Then, in step 5-13, the storage unit M
Clear the address data of the comparison reference value of the first character set to 5 and set it as the comparison base of the next character? T!
! The address data of the value is set, and the number of digits A of the character is subtracted by 1 in step 5-14. Next, in step 5-15, it is determined whether this number of digits A is O or not. If it is not O, steps 5-3 to 5-15 are repeated to sequentially compare bar and space data for each character. The data obtained as a result of this comparison are stored in the read data storage section M3 in a predetermined order. Note that the final character does not have an inter-character space C3 and the total number of bars and spaces is 7, so the eighth binary value determined in step 5-6 is completely meaningless. , this eighth binary value is discarded in step 5-12, so no problem arises.

このようにしてすべてのキャラクタ分のノ(−およびス
ペースのデータ比較および比較結果のデータストアが完
了するとキャラクタの桁数Aが0となり、第2図のステ
ップ2−4に移る。
In this way, when data comparison of all characters (- and spaces) and data storage of the comparison results are completed, the number of digits A of characters becomes 0, and the process moves to step 2-4 in FIG.

このステップ2−4においては、読取データ記憶部M3
にストアされている最初のキャラクタに相当する7ビツ
ト分のデータがCPUZ内のレジスタA regにセッ
トされる。そして、ステップ2−5においては、第13
図に示される「¥」に相当する7ビツトのコードr00
11000Jがプログラム記憶回路3から呼び出されて
CPUZ内のレジスタB regにセットされる。
In this step 2-4, the read data storage section M3
Seven bits of data corresponding to the first character stored in is set in register A reg in CPUZ. Then, in step 2-5, the 13th
7-bit code r00 corresponding to “¥” shown in the figure
11000J is called from the program storage circuit 3 and set in the register B reg in CPUZ.

次に、ステップ2−6にてA regの内容とBreg
の内容との比較、すなわち最初のキャラクタが「¥」で
あるか否かの判断がなされる。実際には、レジスタA 
regにセットされているデータは「1」に相当する内
容で゛あるため、Areg==Bregではないと判断
されてステップ2−7に移り、第13図に示される全て
のコードとの比較が完了したかどうかの判断がなされる
。全てのコードとの比較が完了していない場合は、次の
「−」に相当するコードをB regにセットした後再
びAreg = B regの比較が行なわれる。この
ような動作が繰り返されることによりB regにro
oo。
Next, in step 2-6, the contents of A reg and Breg
, that is, it is determined whether the first character is "\". Actually, register A
Since the data set in reg is equivalent to "1", it is determined that Areg==Breg, and the process moves to step 2-7, where comparison with all the codes shown in Figure 13 is performed. A determination is made as to whether the process is complete. If the comparison with all codes has not been completed, the next code corresponding to "-" is set in B reg, and then the comparison of Areg=B reg is performed again. By repeating this operation, ro is added to B reg.
oo.

011」がセットされた状態テA reg = B r
eg cy)条件が満足され、ステップ2−9にてB 
regにセットされているコードに対応するキャラクタ
「1」が記憶部M5の所定番地にセットされる。
011” is set A reg = B r
eg cy) condition is satisfied, and in step 2-9 B
The character "1" corresponding to the code set in reg is set at a predetermined location in the storage section M5.

次に、記憶部M5の所定番地に設定されているフラグを
クリアした後、ステップ2−11にて全てのキャラクタ
のデコードが終了したかどうかの判断を行ない、終了し
ていない場合は読取データ記憶部M3にストアされてい
る二番目のキャラクタに相当する7ビツト分のデータが
レジスタAregにセットされる。この二番目のキャラ
クタについても上述した最初のキャラクタと同様にして
判断され、キャラクタ「2」が記憶部M5の所定番地に
セットされる。
Next, after clearing the flag set at a predetermined location in the storage unit M5, it is determined in step 2-11 whether decoding of all characters has been completed, and if not, the read data is stored. Seven bits of data corresponding to the second character stored in section M3 is set in register Areg. This second character is also determined in the same manner as the first character described above, and the character "2" is set at a predetermined location in the storage section M5.

次に、三番目のキャラクタに相当する7ビツト分のデー
タがレジスタA regにセットされ、レジスタB r
egに順次セットされる「¥j以下のコードとの比較が
行なわれる。しかしながら、三番目の「/」については
4個のバーのうち3個が幅広でかつ3個のスペースは全
て幅狭という特殊キャラクタであり、数字等からなる標
準キャラクタとは構成が異なっている。したがって、第
4図に示す標準キャラクタの基準値計算において正確な
基準値が算出されていないため、三番目の「/」に相当
する7ビツトのデータは第13図に示すようなrlol
ooolJ とはナラずro o o o o 。
Next, 7 bits of data corresponding to the third character are set in register A reg, and register B r
A comparison is made with the codes below ``\j'' that are set in eg sequentially.However, for the third ``/'', 3 out of 4 bars are wide and all 3 spaces are narrow. It is a special character and has a different structure from standard characters consisting of numbers, etc. Therefore, in the standard value calculation of the standard character shown in Figure 4, an accurate standard value is not calculated, so the 7-bit data corresponding to the third "/" is converted to rlol as shown in Figure 13.
ooolJ is narazuro o o o o.

O」になってしまう。It becomes "O".

このようにデータがro O00000Jとなっている
場合は、第2図のステップ2−6〜2−8が鰻り返され
て全てのコードとの比較動作が終了してもA regと
B regの内容は一致せず、デコードエラーと判断さ
れる。デコードエラーとなった場合は、ステップ2−1
3にて記憶部M5内のフラグが「l」かどうかをチェッ
クすることにより、特殊キャラクタのデコードを行なっ
たかどうかの判断を行なう0行なっていないと判断され
た場合には、ステップ2−14の特殊キャラクタの基準
値計算を開始する。次に、この特殊キャラクタの基準値
計算について第6図を参照して説明する。
If the data is ro O00000J in this way, even if steps 2-6 to 2-8 in Fig. 2 are repeated and the comparison operation with all codes is completed, the A reg and B reg The contents do not match, and a decoding error is determined. If a decoding error occurs, step 2-1
In step 3, it is determined whether or not the special character has been decoded by checking whether the flag in the storage unit M5 is "l". If it is determined that the special character has not been decoded, step 2-14 Start standard value calculation for special characters. Next, reference value calculation for this special character will be explained with reference to FIG.

まず、ステップ6−1では現在デコード中のキャラクタ
分に相当する4個のバーの計数値を合計する。そして、
この合計値をプログラム記憶回路3に記憶されているあ
らかじめ設定された定数に3で割ることにより現在デコ
ード中のキャラクタのバーに相当する比較基準値N3を
算出し、記憶部M2にストアする0次に、3個のスペー
スの計数値を合計し、この合計値をプログラム記憶回路
3に記憶されているあらかじめ設定された定数に4で割
ることによりスペースの比較基準値N4として記憶部M
2にストアする。上記比較基準値N3は、「、」〜「/
」の幅狭バーに相当する計数値と幅広バーに相当する計
数値との略中間値となるように上記定数に3を5に設定
し、かつ比較基準値N4は幅狭スペースに相当する計数
値と幅広スペースに相当する計数値との略中間値となる
ように上記定数に4を1.5に設定している。
First, in step 6-1, the count values of four bars corresponding to the character currently being decoded are summed. and,
By dividing this total value by 3 to a preset constant stored in the program storage circuit 3, a comparison reference value N3 corresponding to the bar of the character currently being decoded is calculated, and is stored in the storage unit M2. Then, the count values of the three spaces are totaled, and this total value is divided by 4 to a preset constant stored in the program storage circuit 3, thereby obtaining the space comparison reference value N4 in the storage section M.
Store in 2. The above comparison standard value N3 is "," to "/
The constant 3 is set to 5 so that the count value corresponding to the narrow bar and the count value corresponding to the wide bar are approximately the middle value, and the comparison reference value N4 is the count value corresponding to the narrow space. The constant 4 is set to 1.5 so that the value is approximately halfway between the numerical value and the count value corresponding to the wide space.

このようにして特殊キャラクタの基準値計算が終了する
と、第7図に示されるような特殊キャラクタのデータ比
較が行なわれる。
When the calculation of the reference value of the special character is completed in this way, data comparison of the special character as shown in FIG. 7 is performed.

このデータ比較においては、まずステップ7−1におい
て、lキャラクタ分のバーおよびスペースの合計数D=
8を記憶部M5の所定番地にセットする。そしてステッ
プ7−2にて、領域幅記憶部Mlに記憶されている現在
デコード中のキャラクタの一番目の計数値がバーである
かスペースであるかの判断がなされる。バーである場合
には。
In this data comparison, first in step 7-1, the total number of bars and spaces for l characters D=
8 at a predetermined location in the storage section M5. Then, in step 7-2, it is determined whether the first count value of the character currently being decoded stored in the area width storage section Ml is a bar or a space. If it's a bar.

記憶部M2に記憶されているバーの比較基準値N3をC
PUZ内のレジスタD m E reg内にセットする
。次にステー、プアー4において、領域幅記憶部Mlに
記憶されている現在デコード中のキャラクタの一番目の
バーの計数値とステップ7−3においてレジスタD a
 E regにセットされたバーの比較基準値N3との
大小比較がなされ計数値が比較基準値N3より大きい場
合は一番目のバーは二進値「1」と判断され、計数値が
比較基準値N3より大きくない場合は二進値「0」と判
断される。これらの二進値rlJまたは「0」のデータ
は一時記憶部M4にストアされる。そして、Dが1だけ
減算された後ステップ7−7においてD=0かどうかの
判断がなされた後、Oでない場合はステップ7−2に戻
る。
The bar comparison reference value N3 stored in the storage unit M2 is
Set in register D m E reg in PUZ. Next, in stay and poor 4, the count value of the first bar of the character currently being decoded, which is stored in the area width storage unit Ml, and the register D a in step 7-3.
A comparison is made with the comparison reference value N3 of the bar set in E reg, and if the counted value is greater than the comparison reference value N3, the first bar is determined to be a binary value "1", and the counted value is set to the comparison reference value. If it is not larger than N3, it is determined that the binary value is "0". These binary values rlJ or "0" data are stored in the temporary storage section M4. After D is subtracted by 1, it is determined in step 7-7 whether D=0, and if it is not O, the process returns to step 7-2.

次に、ステップ7−2にて二番目の計数値がスペースで
あると判断され、記憶部M2よりスペースの比較基準値
N4をCPUZ内の所定レジスタD e E regに
セットする。そして、領域幅記憶部M1に記憶されてい
る二番目の計数値すなわち一番目のスペースの幅に相当
する計数値とレジスタD m E regにセットされ
たスペースの比較基準値N4との大小関係とを比較する
。この比較の結果スペースの計数値が比較基準値N4よ
り大きい場合は二進値「1」と判断され大きくない場合
は二進値「0」と判断される。その結果、二進値「1」
またはrQJが一時記憶部M4にストアされる。モして
Dの値が1だけ減算された後ステップ7−7に移る。こ
の動作が繰り返されることにより現在デコード中のキャ
ラクタ分のバーおよびスペースとキャラクタ間スペース
のデータ比較が行なわれる。また、ステップ7−7にお
いてD=0と判断された場合はデータ比較が完了したも
のとみなされて、第2図に示されるステップ2−16に
移る。
Next, in step 7-2, it is determined that the second count value is a space, and a space comparison reference value N4 is set in a predetermined register D e E reg in the CPUZ from the storage unit M2. Then, the magnitude relationship between the second count value stored in the area width storage unit M1, that is, the count value corresponding to the width of the first space, and the space comparison reference value N4 set in the register DmEreg. Compare. As a result of this comparison, if the count value of the space is larger than the comparison reference value N4, it is determined to be a binary value "1", and if not, it is determined to be a binary value "0". As a result, the binary value "1"
Alternatively, rQJ is stored in temporary storage M4. After the value of D is subtracted by 1, the process moves to step 7-7. By repeating this operation, data comparison between bars and spaces for the character currently being decoded and spaces between characters is performed. Further, if it is determined that D=0 in step 7-7, it is assumed that the data comparison has been completed, and the process moves to step 2-16 shown in FIG.

ステップ2−16では一時記憶部M4にストアされてい
る上記特殊キャラクタ分のデータのうち最初の7ビツト
分、すなわちキャラクタ間スペースC5を除いたバーお
よびスペースのデータに相当する内容をCPUZ内のレ
ジスタA regセットする。そして、フラグをrlJ
にセットし、かつB regに最初のコードをセットし
た後、ステップ2−6〜ステップ2−8を繰り返すこと
により現在デコード中のキャラクタ即ち第12図に示さ
れる三番目のキャラクタは「/」であることが認識され
、ステップ2−9にてその内容がM5にセットされる。
In step 2-16, the first 7 bits of the data for the special characters stored in the temporary storage M4, that is, the contents corresponding to the bar and space data excluding the intercharacter space C5, are stored in the register in the CPUZ. Set A reg. And set the flag to rlJ
and after setting the first code in B reg, by repeating steps 2-6 to 2-8, the character currently being decoded, that is, the third character shown in FIG. It is recognized that there is, and its contents are set in M5 in step 2-9.

上記セットが完了するとフラグはクリアされ、A re
gに次のキャラクタデータ即ち四番目のキャラクタデー
タがセットされる。四番目および三番目のキャラクタデ
ータについては一番目および二番目のキャラクタデータ
と同様にしてデコードされる。このようにして第12図
に示される五個のキャラクタのデコードが全て終了する
とステップ2−11にて全キャラクタ終了の判断がなさ
れ。
When the above set is completed, the flag is cleared and A re
The next character data, that is, the fourth character data is set in g. The fourth and third character data are decoded in the same manner as the first and second character data. When all five characters shown in FIG. 12 have been decoded in this manner, it is determined in step 2-11 that all characters have been decoded.

そのデコードされた内容r12/23」は第1図に示さ
れる表示制御回路6を介して表示部8に表示される。
The decoded contents "r12/23" are displayed on the display section 8 via the display control circuit 6 shown in FIG.

また、特殊キャラクタのデコードを行なってもキャラク
タの認識ができない場合、即ち全コードの比較が終了し
たにもかかわらずフラグが「1」である場合は読取りエ
ラーとしてステップ2−19にて表示部8にエラー表示
し、かつフラグをクリアした後ステップ2−1に戻る。
In addition, if the character cannot be recognized even after decoding the special character, that is, if the flag is "1" even though all the codes have been compared, this is determined to be a reading error and the display screen 8 displays in step 2-19. After displaying an error and clearing the flag, the process returns to step 2-1.

以上のようにして、「¥J、r−」 、r数字」等から
なる標準キャラクタ、および「、」〜「/」からなる特
殊キャラクタの読取りを正確に行なうことができる。
In the manner described above, standard characters such as "\J, r-", "r digit", and special characters such as "," to "/" can be read accurately.

なお、「a」〜「e」については、標準キャラクタに比
べて幅広のスペースが一個多いだけであるため!!:4
準キャラクタのデコード過程にて読取ることが可能であ
るが、上述した「、」〜「/」と同様にして最も好適な
特別の定数を用いて比較基準値を算出してデコードする
こともできる。特に、これらのraJ〜reJについて
は、一般にスタートコードおよびエンドコードとして使
用されることが多いため、最初と最後のキャラクタのみ
強制的に上記特別の定数を用いて比較基準値を算出する
ことも可能である。
Note that "a" to "e" only have one more wide space than standard characters! ! :4
It can be read in the process of decoding quasi-characters, but it can also be decoded by calculating a comparison reference value using the most suitable special constant in the same way as for "," to "/" described above. In particular, these raJ to reJ are often used as start codes and end codes, so it is also possible to force only the first and last characters to use the above special constants to calculate the comparison reference value. It is.

次に、前述した第二の読取方法を改良してなる八−コー
ド読取方法について説明する。
Next, an eight-code reading method that is an improved version of the second reading method described above will be described.

第8図のステップ8−1において、バーコードの各バー
およびスペースの領域幅に相当する値の計数が行なわれ
る。この計数動作については、上記第3図を用いて説明
した前述の実施例と同様であるため説明を省略する。
In step 8-1 of FIG. 8, a value corresponding to the area width of each bar and space of the bar code is counted. This counting operation is the same as that of the above-mentioned embodiment explained using FIG. 3, so the explanation will be omitted.

上記計数動作によって、第12図に示されるようなバー
コード全体の各バーおよびスペースからなる望域の幅に
相当する値が領域幅記憶部Mlに記憶された状態になっ
ている。計数動作が完了すると、第8図にステップ8−
2で示される標準キャラクタの合計値計算に移る。
As a result of the above counting operation, a value corresponding to the width of the desired area consisting of each bar and space of the entire barcode as shown in FIG. 12 is stored in the area width storage section Ml. When the counting operation is completed, step 8-
Let us move on to the calculation of the total value of the standard characters indicated by 2.

この合計値計算について第9図を参照して説明すると、
まずステップ9−1ではバーコード全体のキャラクタの
桁数Aが求められる。このキャラクタの桁数Aは、バー
コード全体が何個のキャラクタによって構成されている
かということを表わすものであり、求められた桁数Aは
記憶部M5の所定番地にセットされる。
This total value calculation will be explained with reference to Figure 9.
First, in step 9-1, the number of character digits A of the entire barcode is determined. This number of digits A of characters represents how many characters the entire barcode is made up of, and the obtained number of digits A is set in a predetermined location in the storage section M5.

そして、一番目の1キャラクタ分に相当する4個のバー
の計数値を合計し、この合計値P1を記憶部M2にスト
アする。次に最初のキャラクタ分の3個のスペースの計
数値を合計し、この合計値P2を記憶部M2にストアす
る。
Then, the count values of the four bars corresponding to the first character are totaled, and this total value P1 is stored in the storage section M2. Next, the count values of the three spaces for the first character are totaled, and this total value P2 is stored in the storage section M2.

これで最初のキャラクタ分のバーおよびスペースに相当
する合計値PI 、P2の計算が終了し、キャラクタの
桁数Aが1だけ減算される。そして、この桁数AがOに
なったかどうかの判断がなされ、Oでない場合はステッ
プ9−3からステップ9−8が繰り返されて以後のキャ
ラクタ分に相当するバーおよびスペースの合計値計算が
なされて夫々記憶部M2にストアされる。また、桁数A
が0であると判断された場合には、バーコード全体の/
へ−およびスペースに相当する合計値計算が終了したも
のとみなし、ステップ8−3で示される標準キャラクタ
のデータ比較に移る。
This completes the calculation of the total values PI and P2 corresponding to the bar and space for the first character, and the number of digits A of the character is subtracted by 1. Then, it is determined whether this number of digits A has become O, and if it is not O, steps 9-3 to 9-8 are repeated to calculate the total value of bars and spaces corresponding to subsequent characters. and are respectively stored in the storage unit M2. Also, the number of digits A
is determined to be 0, the / of the entire barcode is determined to be 0.
It is assumed that the calculation of the total value corresponding to the spaces and spaces is completed, and the process moves on to the standard character data comparison shown in step 8-3.

次に、上記のようにして算出された合計値P1、P2を
用いて、各バーおよびスペースのデータ比較を行なう動
作について第10図を参照して説明する。
Next, the operation of comparing the data of each bar and space using the total values P1 and P2 calculated as described above will be explained with reference to FIG.

まず、ステップ10−1においてキャラクタの桁数Aを
再びセットし、さらに最初のキャラクタの合計値PL、
P2が格納されている記憶部M2の番地を記憶部M5に
セットする。このセットが完了すると、ステップ10−
3においてキャラクタ間スペースC5を含む1キャラク
タ分のバーおよびスペースの合計数D=8を記憶部M5
の所定番地にセットする。
First, in step 10-1, the number of character digits A is set again, and the total value PL of the first character is set again.
The address of the storage section M2 where P2 is stored is set in the storage section M5. Once this set is complete, step 10-
3, the total number of bars and spaces for one character D=8 including the inter-character space C5 is stored in the storage unit M5.
Set it to the specified location.

そしてステップ10−4にて、記憶部M2に記憶されて
いる一番目の合計値がバーであるかスペースであるかの
判断がなされる。バーである場合には記憶部M5にセッ
トされている最初のキャラクタの合計値の番地を参照し
て記憶部M2に記憶されている最初のキャラクタのバー
の合計値P1をCPUZ内のレジスタD m E re
gにセットし、かつステップ10−6において、プログ
ラム記憶回路3にあらかじめ記憶されているバーの比較
値QlをCPUZ内(7)レジスタH* L regに
セットする。
Then, in step 10-4, it is determined whether the first total value stored in the storage section M2 is a bar or a space. If it is a bar, the address of the total value of the first character set in the memory section M5 is referred to, and the total value P1 of the bar of the first character stored in the memory section M2 is stored in the register D m in CPUZ. E re
g, and in step 10-6, the bar comparison value Ql previously stored in the program storage circuit 3 is set in the (7) register H*L reg in the CPUZ.

比較値Q1のセットが完了すると、ステップ10−7に
て最初のキャラクタのバーの合計値P1を一番目のバー
BAIの計数値で割ることにより商を算出し、この算出
値とバーの比較値Q1との大小比較がなされる。比較の
結果、算出値が比較値Q1より大きい場合は一番目のバ
ーは二進値「0」と判定され、算出値が比較値Qlより
大きくない場合は二進値「1」と判定される。これらの
二進値rlJまたはrQJのデータは、一時記憶部M4
にストアされる。第12図の例では一番目のバーBAI
が幅狭であり、その算出値は比較値Q1より大きいため
二進値「0」がストアされそして、Dが1だけ減算され
た後ステップ10−10においてD=0かどうかの判断
がなされた後、Oでない場合はステップ10−4に戻る
。そこで領域幅記憶部M1の二番目には一番目のスペー
スSPIの計数値が記憶されているため、記憶部M2よ
り最初のキャラクタ分のスペースの合計値P2をレジス
タD e E regにセットし、かつステップ10−
12にてプログラム記憶回路3にあらかじめ記憶されて
いるスペースの比較値Q2をレジスタH@Lregにセ
ットする。
When the setting of the comparison value Q1 is completed, in step 10-7, the quotient is calculated by dividing the total value P1 of the bars of the first character by the count value of the first bar BAI, and the comparison value of this calculated value and the bar is calculated. A comparison is made in size with Q1. As a result of the comparison, if the calculated value is greater than the comparison value Q1, the first bar is determined to be a binary value of "0", and if the calculated value is not greater than the comparison value Ql, it is determined to be a binary value of "1". . The data of these binary values rlJ or rQJ is stored in the temporary storage section M4.
Stored in In the example of Figure 12, the first bar BAI
is narrow and its calculated value is greater than the comparison value Q1, so the binary value "0" is stored, and after D is subtracted by 1, it is determined whether D=0 in step 10-10. After that, if it is not O, the process returns to step 10-4. Therefore, since the count value of the first space SPI is stored in the second area width storage part M1, the total value P2 of spaces for the first character is set from the storage part M2 to the register D e E reg, and step 10-
At step 12, the space comparison value Q2 previously stored in the program storage circuit 3 is set in the register H@Lreg.

これらのセッ゛トが完了すると、ステップ1〇−7にて
最初のキャラクタのスペースの合計値P2を一番目のス
ペースSPIの計数値で割ることにより商を算出し、こ
の算出値と比較値Q2との大小比較がなされる。この比
較の結果、算出値が比較値Q2より大きい場合は二進値
「0」と判定され、大きくない場合は二進値rlJと判
定される。その結果、二進値rlJまたは「0」が一時
記憶部M4にストアされる。第12図の例では一番目の
スペースSP1が幅狭であり、その算出値は比較値Q2
より大きいため二進値「0」がストアされる。そして、
Dの値が1だけ減算された後ステップ10−10に移る
。この動作が緑り返されることにより最初のキャラクタ
分のバーおよびスペースとキャラクタ間スペースのデー
タ比較が行なわれる。
When these sets are completed, in step 10-7, the quotient is calculated by dividing the total space value P2 of the first character by the count value of the first space SPI, and this calculated value and the comparison value Q2 are calculated. A comparison is made in size. As a result of this comparison, if the calculated value is larger than the comparison value Q2, it is determined to be a binary value "0", and if it is not larger, it is determined to be a binary value rlJ. As a result, the binary value rlJ or "0" is stored in the temporary storage section M4. In the example of FIG. 12, the first space SP1 is narrow, and its calculated value is the comparison value Q2.
Since the value is greater than 0, the binary value ``0'' is stored. and,
After the value of D is subtracted by 1, the process moves to step 10-10. By turning this operation green again, data comparison between the bar and space for the first character and the inter-character space is performed.

なお、比較値Qlはバーの合計値を幅狭バーの計数値で
割った値と幅広バーの計数値で割った値との略中間値に
設定され、また比較値Q2はスペースの合計値を幅狭ス
ペースの計数値で割った値と幅広スペースの計数値で割
った値との略中間値に設定されている。
The comparison value Ql is set to approximately the midpoint between the total value of the bars divided by the count value of the narrow bar and the value divided by the count value of the wide bar, and the comparison value Q2 is set by dividing the total value of the bars by the count value of the wide bar. It is set to approximately the middle value between the value divided by the count value of the narrow space and the value divided by the count value of the wide space.

1キャラクタ分のバーおよびスペースのデータ比較が終
了してステップ1O−1oにてD=Oと判断された後、
ステップ10−14において一時記憶部M4にストアさ
れたlキヤラクタ分のデータのうち最初の7ビツト分、
すなわちキャラクタ間スペースCSを除いたバーおよび
スペースのデータに相当する内容を読取データ記憶部M
3にスドアする。そしてステップ10−15にて、記憶
部M5にセットされている最初のキャラクタの合計値の
番地データをクリアして次のキャラクタの合計値の番地
データをセットし、かつステップ10−16にてキャラ
クタの桁数Aを1だけ減算する。次に、ステップ10−
17におい・てこの桁数Aが0かどうかの判断がなされ
、0でない場合にはステップ10−3からステップ10
−17を繰り返すことにより順次各キャラクタ分のバー
およびスペースのデータ比較を行なう、また、この比較
の結果によって得られたデータは、読取データ記憶部M
3に所定の順序にてストアされる。なお、最終キャラク
タにはキャラクタ間スペースC5がなくバーおよびスペ
ースの合計数りは7となるため、ステップ10−7にて
判定される八番目の二進値については全く意味のないも
のとなるが、ステップ10−14にてこの八番目の二進
値は放棄されるので問題は生じない。
After data comparison of bar and space for one character is completed and it is determined that D=O in step 1O-1o,
The first 7 bits of data for l characters stored in the temporary storage unit M4 in step 10-14,
In other words, the data storage unit M reads the contents corresponding to the bar and space data excluding the inter-character spaces CS.
Sudoor to 3. Then, in step 10-15, the address data of the total value of the first character set in the storage section M5 is cleared, and the address data of the total value of the next character is set, and in step 10-16, the address data of the total value of the first character is cleared. Subtract 1 from the number of digits A. Next, step 10-
In step 17, it is determined whether the number of digits A of the lever is 0, and if it is not 0, steps 10-3 to 10 are performed.
-17 is repeated to sequentially compare bar and space data for each character, and the data obtained as a result of this comparison is stored in the read data storage M
3 in a predetermined order. Note that the final character does not have an inter-character space C5 and the total number of bars and spaces is 7, so the eighth binary value determined in step 10-7 is completely meaningless. , this eighth binary value is discarded in steps 10-14, so no problem arises.

このようにしてすべてのキャラクタ分のバーおよびスペ
ースのデータ比較および比較結果のデータストアが完了
するとキャラクタの桁数Aが0となり、第8図のステッ
プ8−4に移る。
When data comparison of bars and spaces for all characters and data storage of comparison results are completed in this way, the number of digits A of characters becomes 0, and the process moves to step 8-4 in FIG.

このステップ8−4においては、読取データ記憶部M3
にストアされている最初のキャラクタに相当する7ビツ
ト分のデータがCPUZ内のレジスタA regにセッ
トされる。そして、ステップ8−5においては、第13
図に示される「¥」に相当する7ビツトのコードr00
11000Jがプログラム記憶回路3から呼び出されて
CPUZ内のレジスタB regにセットされる。
In this step 8-4, the read data storage section M3
Seven bits of data corresponding to the first character stored in is set in register A reg in CPUZ. Then, in step 8-5, the thirteenth
7-bit code r00 corresponding to “¥” shown in the figure
11000J is called from the program storage circuit 3 and set in the register B reg in CPUZ.

次に、ステップ8−6にてA regの内容とBreg
の内容との比較、すなわち最初のキャラクタが「¥」で
あるか否かの判断がなされる。実際には、レジスタA 
regにセットされているデータはrLJに相当する内
容であるため、Areg=Bregではないと判断され
てステップ8−7に移り、第13図に示される全てのコ
ードとの比較が完了したかどうかの判断がなされる。全
てのコードとの比較が完了していない場合は、次の「−
」に相当するコードをB regにセットした後Are
g=B ragの比較が行なわれる。このような動作が
繰り返されることによりB regにroooooit
Jがセットされた状態でA reg = B regの
条件が満足され、ステップ8−9にてB regにセッ
トされているコードに対応するキャラクタ「1」が記t
i部M5の所定番地にセットされる。
Next, in step 8-6, the contents of A reg and Breg
, that is, it is determined whether the first character is "\". Actually, register A
Since the data set in reg corresponds to rLJ, it is determined that Areg is not Breg, and the process moves to step 8-7 to determine whether the comparison with all the codes shown in FIG. 13 has been completed. A judgment will be made. If the comparison with all codes is not completed, click the following "-
" After setting the code corresponding to "Are
A comparison is made: g=B rag. By repeating this operation, B reg becomes roooooit.
With J set, the condition A reg = B reg is satisfied, and in step 8-9, the character "1" corresponding to the code set in B reg is written.
It is set at a predetermined location in part i M5.

次に、記憶部M5内のフラグをクリアした後、ステップ
8−11にて全てのキャラクタのデコードが終了したか
どうかの判断を行ない、終了していない場合は読取デー
タ記憶部M3にストアされている二番目のキャラクタに
相当する7ビツト分のデータがレジスタA regにセ
ットされる。この二番目のキャラクタについても上述し
た最初のキャラクタと同様にして判断され、キャラクタ
「2」が記憶部M5の所定番地にセットされる。
Next, after clearing the flag in the storage unit M5, it is determined in step 8-11 whether decoding of all characters has been completed, and if not, the read data is stored in the read data storage unit M3. 7 bits of data corresponding to the second character in the character are set in register A reg. This second character is also determined in the same manner as the first character described above, and the character "2" is set at a predetermined location in the storage section M5.

次に、三番目のキャラクタに相当する7ビツト分のデー
タがレジスタA regにセットされ、レジスタB r
egに順次セットされるコードとの比較が行なわれる。
Next, 7 bits of data corresponding to the third character are set in register A reg, and register B r
A comparison is made with the codes sequentially set in eg.

しかしながら、三番目の「/」については4個のバーの
うち3個が幅広でかつ3個のスペースは全て幅狭という
特殊キャラクタであり、数字等からなる標準キャラクタ
とは構成が異なっている。したがって、第101に示す
標準キャラクタのデータ比較において正確なデータが作
成されていないため、三番目の「/」に相当する7ビツ
トのデータは第13図に示すようなrlolooolJ
とはならずrllllollJ等のように誤ったものと
なってしまう。
However, the third "/" is a special character in which three of the four bars are wide and all three spaces are narrow, and its structure is different from standard characters consisting of numbers and the like. Therefore, since accurate data is not created in the data comparison of the standard character shown in No. 101, the 7-bit data corresponding to the third "/" is rlolooolJ as shown in FIG.
Instead, it becomes incorrect, such as rllllollJ.

このようにデータがrlllloll」となっている場
合は、第8図のステップ8−6〜8−8が繰り返されて
全てのコードとの比較動作が終了してもA regとB
 regの内容は一致せずデコードエラーと判断される
。デコードエラーとなった場合は、ステップ8−13に
て記憶部M5内のフラグがrlJかどうかをチェックす
ることにより、特殊キャラクタのデコードを行なったか
どうかの判断を行なう0行なっていないと判断された場
合には、ステップ8−14の特殊キャラクタのデータ比
較を開始する。
If the data is "rlllloll" in this way, even if steps 8-6 to 8-8 in FIG. 8 are repeated and the comparison operation with all codes is completed, A reg and B
The contents of reg do not match and a decoding error is determined. If a decoding error occurs, it is determined in step 8-13 whether or not the special character has been decoded by checking whether the flag in the storage unit M5 is rlJ. If so, the special character data comparison in step 8-14 is started.

次に、この特殊キャラクタのデータ比較について第11
図を参照して説明する。
Next, we will discuss the data comparison of this special character in the 11th section.
This will be explained with reference to the figures.

まず、ステップ1 i−tにおいてエキャラクタ分のバ
ーおよびスペースの合計aD=8を記憶部M5の所定番
地にセットする。そしてステップ11−2にて、領域幅
記憶部Mlに記憶されている現在デコード中のキャラク
タの一番目の計数値がバーであるかスペースであるかの
判断がなされる。バーである場合には記憶部M2に記憶
されている現在デコード中のキャラクタのバーの合計値
P1をレジスタD ++ E regにセットし、かつ
ステップ11−4において、プログラム記憶回路3にあ
らかじめ記憶されている特殊キャラクタ用のバーの比較
値Q3をレジスタHe L regにセットする。
First, in step 1 it, a total of bars and spaces for the character character aD=8 is set at a predetermined location in the storage section M5. Then, in step 11-2, it is determined whether the first count value of the character currently being decoded stored in the area width storage unit Ml is a bar or a space. If it is a bar, the total value P1 of the bars of the character currently being decoded stored in the storage section M2 is set in the register D++E reg, and in step 11-4, the total value P1 of the bars of the character currently being decoded is stored in the memory section M2, and in step 11-4, the total value P1 of the bars of the character currently being decoded is stored in the memory section M2. The comparison value Q3 of the special character bar is set in the register He L reg.

これらのセットが完了すると、ステップ11−5にて現
在デコード中のキャラクタのバーの合計値Plを一番目
のバーの計数値で割ることにより商を算出し、この算出
値とバーの比較値Q3との大小比較がなされる。比較の
結果、算出値が比較値Q3より大きい場合は一番目のバ
ーは二進値「0」と判定され、算出値が比較値Q3より
大きくない場合は二進値「1」と判定される。これらの
二進値「1」またはrQJのデータは一時記憶部M4に
ストアされる。第12図の例では一番目のバーが幅広で
あり、その算出値は比較値Q3より大きくないため二進
値rlJがストアされる。
When these sets are completed, in step 11-5, a quotient is calculated by dividing the total value Pl of the bars of the character currently being decoded by the count value of the first bar, and a comparison value Q3 between this calculated value and the bar is calculated. A comparison is made in size. As a result of the comparison, if the calculated value is greater than the comparison value Q3, the first bar is determined to be a binary value of "0", and if the calculated value is not greater than the comparison value Q3, it is determined to be a binary value of "1". . These binary values "1" or rQJ data are stored in the temporary storage section M4. In the example of FIG. 12, the first bar is wide and its calculated value is not greater than the comparison value Q3, so the binary value rlJ is stored.

そして、Dが1だけ減算された後ステップ11−8にお
いてD=Oかどうかの判断がなされた後、Oでない場合
はステップ11−2に戻る。そこで、二番目の計数値が
スペースであると判断されると、記憶部M2より現在デ
コード中のキャラクタのスペースの合計値P2をレジス
タDφE regにセットし、かつステップtt−to
にてプログラム記憶回路3にあらかじめ記憶されている
特殊キャラクタ用のスペースの比較値Q4をレジスタH
@ L regにセットする。
After D is subtracted by 1, it is determined in step 11-8 whether D=O, and if it is not O, the process returns to step 11-2. Therefore, when it is determined that the second count value is a space, the total space value P2 of the character currently being decoded is set in the register DφE reg from the storage unit M2, and the step tt-to
The comparison value Q4 of the special character space stored in advance in the program storage circuit 3 is stored in the register H.
@ Set to L reg.

そして、ステップ11−5にてスペースの合計値P2を
現在デコード中の一番目のスペースの計数値で割ること
により商を算出し、この算出値と比較値Q4との大小比
較がなされる。この比較の結果、算出値が比較値Q4よ
り大きい場合は二進値「0」と判定され、大きくない場
合は二進値「l」と判定される。その結果、二進値「1
」または「0」が一時記憶部M4にストアされる。第1
2図の例では一番目のスペースが幅狭であり、その算出
値は比較値Q4より大きいため二進値「0」がストアさ
れる。そして、Dの値が1だけ減算された後ステップ1
1−8に移る。この動作が繰り返されることにより、最
初のキャラクタ分のバーおよびスペースとキャラクタ間
スペースのデータ比較が行なわれる。
Then, in step 11-5, a quotient is calculated by dividing the total space value P2 by the count value of the first space currently being decoded, and a comparison is made between this calculated value and the comparison value Q4. As a result of this comparison, if the calculated value is larger than the comparison value Q4, it is determined to be a binary value "0", and if it is not larger, it is determined to be a binary value "l". As a result, the binary value “1
” or “0” is stored in the temporary storage unit M4. 1st
In the example of FIG. 2, the first space is narrow and its calculated value is greater than the comparison value Q4, so a binary value of "0" is stored. Then, after the value of D is subtracted by 1, step 1
Move on to 1-8. By repeating this operation, data comparison between the bar and space for the first character and the inter-character space is performed.

なお、比較値Q3は特殊キャラクタにおけるバーの合計
値を幅狭バーの計数値で割った値と幅広バーの計数値で
割った値との略中間値に設定され、また比較値Q4は特
殊キャラクタにおけるスペースの合計値を幅狭スペース
の計数値で割った値と幅広スペースの計数値で割った値
との略中間値に設定されている。
The comparison value Q3 is set to approximately the midpoint between the total value of the bars in the special character divided by the count value of the narrow bar and the value divided by the count value of the wide bar. The total value of spaces in is set to approximately the midpoint between the value obtained by dividing the total value of spaces by the count value of narrow spaces and the value obtained by dividing the count value of wide spaces.

」二足のようにしてステップ11−8にてD=Oと判断
された場合はデータ比較が完了したものとみなされて、
第8図に示されるステップ8−15に移る。
” If it is determined that D=O in step 11-8, it is considered that the data comparison is completed,
Proceed to step 8-15 shown in FIG.

ステップ8−15では、一時記憶部M4にストアされて
いる上記特殊キャラクタ分のデータのうち最初の7ビツ
ト分、すなわちキャラクタ間スペースC5を除いたバー
およびスペースのデータに相当する内容をCPUZ内の
レジスタA regにセットする。そして、フラグをr
lJにセットしかつB regに最初のコードをセット
した後、ステップ8−6〜8−8を繰り返すことにより
現在デコード中のキャラクタ即ち第12図に示される三
番目のキャラクタは「/」であることが認識され、ステ
ップ8〜9にてその内容がM5にセットされる。
In step 8-15, the first 7 bits of the data for the special characters stored in the temporary storage M4, that is, the contents corresponding to the bar and space data excluding the inter-character space C5, are stored in the CPUZ. Set in register A reg. And set the flag to r
After setting IJ and setting the first code in B reg, repeating steps 8-6 to 8-8 determines that the character currently being decoded, i.e. the third character shown in FIG. 12, is "/". This is recognized and its contents are set in M5 in steps 8-9.

上記セットが完了するとフラグはクリアされ。The flag is cleared when the above set is completed.

A regに次のキャラクタデータ即ち四番目のキャラ
クタデータがセットされる。四番目および三番目のキャ
ラクタデータについては一番目および二番目のキャラク
タデータと同様にしてデコードされる。このようにして
第12図に示される五個のキャラクタのデコードが全て
終了するとステップ8−11にて全キャラクタ終了の判
断がなされ、そのデコードされた内容「12/23」は
第1図に示される表示制御回路6を介して表示部8に表
示される。
The next character data, that is, the fourth character data is set in A reg. The fourth and third character data are decoded in the same manner as the first and second character data. When all five characters shown in FIG. 12 have been decoded in this way, it is determined in step 8-11 that all characters have been decoded, and the decoded content "12/23" is shown in FIG. The image is displayed on the display section 8 via the display control circuit 6.

なお、特殊キャラクタのデコードを行なってもキャラク
タの認識ができない場合、即ち全コードの比較が終了し
たにもかかわらずフラグが「1」である場合は読取りエ
ラーとしてステップ8−18にて表示部8にエラー表示
し、かつフラグをクリアした後ステップ8−1に戻る。
Note that if the character cannot be recognized even after decoding the special character, that is, if the flag is "1" even though all the codes have been compared, it is assumed that a reading error has occurred and the display section 8 is displayed in step 8-18. After displaying an error and clearing the flag, the process returns to step 8-1.

以上のようにして、「¥J  、 r−J  、  r
数字」等からなる標準キャラクタ、および「、」〜「/
」からなる特殊キャラクタの読取りを正確に行なうこと
ができる。また、「a」〜reJについても、上記「、
」〜「/」と同様に最も好適な比較値を用意して、「、
」〜「/」とは別の特殊キャラクタデコード過程にてデ
コードすることができる。
In the above manner, ``¥J, r-J, r
Standard characters consisting of numbers, etc., and characters from , to /
” can be read accurately. Also, regarding “a” to reJ, the above “,
” ~ Prepare the most suitable comparison value in the same way as “/” and select “,
” to “/” can be decoded in a special character decoding process different from that of “/”.

なお、上記実施例においては、rNW−7Jと称される
コードの読取りについてのみ説明したが、各キャラクタ
が5個のバーと4個のスペースとからなる「コード39
」と称されるコード等についても適用することができる
。この「コード39」は、標準キャラクタは幅広のバー
が2個で幅広のスペースが1個設定されているが、特殊
キャラクタについては幅広のバーがなく幅広のスペース
が3個からなっている。
In the above embodiment, only the reading of the code called rNW-7J was explained, but the reading of the code called "Code 39", in which each character consists of 5 bars and 4 spaces, was explained.
This can also be applied to codes called "." In this "Code 39", the standard character has two wide bars and one wide space, but the special character has no wide bar and has three wide spaces.

(効果) 上述の如く、本発明においてば、読取器によってバーコ
ードを操作することによりバーおよびスペースからなる
各領域に相当する値を記憶し、この記憶された各領域幅
の値に基づいて標準キャラクタデコード過程にてキャラ
クタ毎にデコードを行ない、この標準キャラクタデコー
ド過程にてデコードエラーとなったキャラクタについて
は特殊キャラクタデコード過程にて再度デコードされる
ように構成されている。従って、標準キャラクタのみな
らず特殊キャラクタも確実に読取ることが可能でありか
つデコードするキャラクタが標準キャラクタであるか特
殊キャラクタであるかという複雑な判断をあらかじめ行
なう必要が全くない。
(Effects) As described above, in the present invention, values corresponding to each region consisting of bars and spaces are stored by operating a barcode with a reader, and a standard value is determined based on the stored value of each region width. Each character is decoded in the character decoding process, and any character that results in a decoding error in the standard character decoding process is decoded again in the special character decoding process. Therefore, not only standard characters but also special characters can be reliably read, and there is no need to make a complicated judgment in advance as to whether a character to be decoded is a standard character or a special character.

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

各図面は本発明の実施例を示すもので、第1図は読取装
置の回路図を示すブロック図、第2図〜第7図は第一の
実施例を示すもので、第2図は読取動作全体を示すフロ
ーチャート図、第3図は計数動作を示すフローチャート
図、第4図は標準キャラクタの基準値計算動作を示すフ
ローチャート図、第5図は標準キャラクタのデータ比較
動作を示すフローチャート図、第6図は特殊キャラクタ
の基準値計算動作を示すフローチャート図、第7図は特
殊キャラクタのデータ比較動作を示すフローチャート図
、第8図〜第11図は第二の実施例を示すもので、第8
図は読取動作全体を示すフローチャート図、第9図は標
準キャラクタの合計値計算動作を示すフローチャート図
、第10図は標準キャラクタのデータ比較動作を示すフ
ローチャート図、第11図は特殊キャラクタのデータ比
較動作を示すフローチャート図、第12図はバーコード
の一例を示す図、第13図は第12図に示すバーコード
のコード表である。 図面中、 2・・・CPU   3−・・プログラム記憶回路4番
・會データ記憶回路  6・・会読取器8・・・表示部
Each drawing shows an embodiment of the present invention. Fig. 1 is a block diagram showing a circuit diagram of a reading device, Figs. 2 to 7 show a first embodiment, and Fig. 2 is a block diagram showing a circuit diagram of a reading device. 3 is a flowchart showing the counting operation, FIG. 4 is a flowchart showing the standard value calculation operation of the standard character, FIG. 5 is a flowchart showing the data comparison operation of the standard character, and FIG. 6 is a flowchart showing the standard value calculation operation for special characters, FIG. 7 is a flowchart showing the data comparison operation for special characters, and FIGS. 8 to 11 show the second embodiment.
Figure 9 is a flowchart showing the entire reading operation, Figure 9 is a flowchart showing the total value calculation operation for standard characters, Figure 10 is a flowchart showing the data comparison operation for standard characters, and Figure 11 is data comparison for special characters. FIG. 12 is a flow chart showing the operation, FIG. 12 is a diagram showing an example of a bar code, and FIG. 13 is a code table of the bar code shown in FIG. In the drawing, 2...CPU 3-...Program storage circuit No. 4/Meeting data storage circuit 6...Meeting reader 8...Display section

Claims (1)

【特許請求の範囲】[Claims] (1)、交互に配列されたバーとスペースのうち少なく
とも一方が二種類以上の幅からなっていてこの幅の大小
によってビット値を表現するように構成されたバーコー
ドを読取るバーコード読取方法において、読取器によっ
て前記バーコードを走査することにより前記バーおよび
スペースからなる各領域の幅に相当する値を記憶し、こ
の記憶された各領域幅の値に基づいて標準キャラクタデ
コード過程にてキャラクタ毎にデコードを行ない、この
標準キャラクタデコード過程にてデコードエラーとなっ
たキャラクタについては特殊キャラクタデコード過程に
て再度デコードされることを特徴とするバーコード読取
方法。
(1) In a barcode reading method for reading a barcode in which at least one of alternately arranged bars and spaces has two or more widths, and a bit value is expressed depending on the width. , by scanning the barcode with a reader, a value corresponding to the width of each area consisting of bars and spaces is stored, and based on the stored area width value, each character is decoded in a standard character decoding process. A bar code reading method is characterized in that a character that causes a decoding error in this standard character decoding process is decoded again in a special character decoding process.
JP60188615A 1985-08-29 1985-08-29 Bar code reading method Expired - Lifetime JPH0668774B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60188615A JPH0668774B2 (en) 1985-08-29 1985-08-29 Bar code reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60188615A JPH0668774B2 (en) 1985-08-29 1985-08-29 Bar code reading method

Publications (2)

Publication Number Publication Date
JPS6249579A true JPS6249579A (en) 1987-03-04
JPH0668774B2 JPH0668774B2 (en) 1994-08-31

Family

ID=16226776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60188615A Expired - Lifetime JPH0668774B2 (en) 1985-08-29 1985-08-29 Bar code reading method

Country Status (1)

Country Link
JP (1) JPH0668774B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008159084A (en) * 2008-03-25 2008-07-10 Denso Wave Inc Bar code reading method, bar code reader and computer program
JP2008159085A (en) * 2008-03-25 2008-07-10 Denso Wave Inc Bar code reading method, bar code reading device and computer program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5299713A (en) * 1976-02-17 1977-08-22 Omron Tateisi Electronics Co Code reading device
JPS593589A (en) * 1982-06-30 1984-01-10 Casio Comput Co Ltd Bar code reader

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5299713A (en) * 1976-02-17 1977-08-22 Omron Tateisi Electronics Co Code reading device
JPS593589A (en) * 1982-06-30 1984-01-10 Casio Comput Co Ltd Bar code reader

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008159084A (en) * 2008-03-25 2008-07-10 Denso Wave Inc Bar code reading method, bar code reader and computer program
JP2008159085A (en) * 2008-03-25 2008-07-10 Denso Wave Inc Bar code reading method, bar code reading device and computer program
JP4636105B2 (en) * 2008-03-25 2011-02-23 株式会社デンソーウェーブ Bar code reading method, bar code reading apparatus, and computer program
JP4636104B2 (en) * 2008-03-25 2011-02-23 株式会社デンソーウェーブ Bar code reading method, bar code reading apparatus, and computer program

Also Published As

Publication number Publication date
JPH0668774B2 (en) 1994-08-31

Similar Documents

Publication Publication Date Title
EP0180152A2 (en) Bar code reading method and apparatus
CA2374623A1 (en) Serial number mask and check digit for electronic registration system (ers)
US4389707A (en) Electronic cash register
Cull et al. Error-correcting codes on the Towers of Hanoi graphs
CN101821752B (en) Information processing apparatus and information processing method
JPS6249579A (en) Bar code reading method
Gerbner et al. Turán problems for edge-ordered graphs
EP0126286A2 (en) Electronic cash register
EP0818019B1 (en) Method and device for decoding bar codes
JPH01290091A (en) Code reading device
JP3366303B2 (en) Barcode reader and its misreading detection method.
JPH08263585A (en) Bar code reading device
JP2560344Y2 (en) Small electronic calculator
JP2508238B2 (en) Image registration device and layout scanner device using the same
Reghizzi et al. Reducing the local alphabet size in tiling systems by means of 2D comma-free codes
JP2001005907A (en) Bar code reader and storage medium
JP3005386B2 (en) Butt check method
JPS584485A (en) Symbol demodulator
JPH0855088A (en) Arithmetic unit
JP2858322B2 (en) Table data processing device
JPH01293463A (en) Character processor
JP2001283151A (en) System for verifying validity of print data for ocr
JPH03122782A (en) Bar-code reader
JPS59202569A (en) Graphic input device
JPH06325139A (en) Method for retrieving line drawing data

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term