JPS6082372A - Bar-code printer - Google Patents

Bar-code printer

Info

Publication number
JPS6082372A
JPS6082372A JP19016883A JP19016883A JPS6082372A JP S6082372 A JPS6082372 A JP S6082372A JP 19016883 A JP19016883 A JP 19016883A JP 19016883 A JP19016883 A JP 19016883A JP S6082372 A JPS6082372 A JP S6082372A
Authority
JP
Japan
Prior art keywords
input
digit
check digit
data
bar
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
JP19016883A
Other languages
Japanese (ja)
Other versions
JPH0263067B2 (en
Inventor
Manabu Nishida
学 西田
Hitoshi Futamura
二村 等
Mamoru Ishikawa
衛 石川
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.)
Tokyo Sanyo Electric Co Ltd
Toshiba TEC Corp
Original Assignee
Tokyo Sanyo Electric Co Ltd
Tokyo Electric 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 Tokyo Sanyo Electric Co Ltd, Tokyo Electric Co Ltd filed Critical Tokyo Sanyo Electric Co Ltd
Priority to JP19016883A priority Critical patent/JPS6082372A/en
Publication of JPS6082372A publication Critical patent/JPS6082372A/en
Publication of JPH0263067B2 publication Critical patent/JPH0263067B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)

Abstract

PURPOSE:To prevent erroneous bar-code printing due to a mistake in an input operation, by displaying an error when a check digit does not coincide with a check digit computed automatically on the basis of input data. CONSTITUTION:When an input of 7-digit or 12-digit data is completed, a check digit C/D is computed automatically on the basis of the input data and compared with a key-input check digit based on a bar-code table. When there is a coincidence between these digits, the input is determined as correct, and the input check digit C/D is displayed in the C/D field of a bar-code display unit 7, whereby setting is completed. When there is no coincidence, on the other hand, the input data are determined to be erroneous, and a process of error check is taken. Since the bar-code data and the check digit are inputted by keys with the bar-code table being monitored, erroneous bar-code printing can be prevented.

Description

【発明の詳細な説明】 発明の技術分野 本発明は、バーコードプリンタに関する。[Detailed description of the invention] Technical field of invention The present invention relates to a barcode printer.

発明の技術的背景及びその問題点 一般に、バーコードには13桁の標準バージョン、8桁
の短縮バージョンがあるが、バーコード印字に際しては
1桁のチェックディジットを除く12桁又は7桁のデー
タをキー人力により設定しているものである。そして、
このように12桁又は7桁のデータを入力するとそのデ
ータに某づきチェックディジットが自動計算されて設定
されるものである。
Technical Background of the Invention and Problems Therein Generally, there are 13-digit standard versions and 8-digit shortened versions of barcodes, but when printing barcodes, 12-digit or 7-digit data excluding the 1-digit check digit is used. The key is set manually. and,
When 12-digit or 7-digit data is input in this way, a check digit is automatically calculated and set based on the data.

ところが、12桁又は7桁とその桁数が多いため、オペ
レータの入力ミスが生じ易い。そして、入力ミスを生じ
たとしてもその誤データに基づきチェックディジットが
自動計算されて設定されてしまい、入力ミス判定手段が
ないため、誤まったバーコードが印字されてしまうこと
になる。
However, since the number of digits is large (12 digits or 7 digits), input errors by the operator are likely to occur. Even if an input error occurs, a check digit is automatically calculated and set based on the erroneous data, and since there is no input error determination means, an erroneous bar code will be printed.

発明の目的 本発明は、このような点に鑑みなされたもので、キー人
力によりバーコード設定を行なうが、その時の入力操作
ミスによる誤まったバーコード印字を防止することがで
きるパルコードプリンタを得ることを目的とする。
Purpose of the Invention The present invention has been made in view of the above points, and provides a palcode printer that can prevent incorrect barcode printing due to input operation errors when barcodes are set manually using keys. The purpose is to obtain.

発明の概要 本発明は、バーコードのデータとともにチェックディジ
ットをもキー人力させて、このチェックディジットに対
して入力データに基づき自動計算されたチェックディジ
ットが一致しないときには、入力データにミスがあるこ
とになり、エラー表示によりオペレータに入力ミスを知
らしめるように構成したものである。
Summary of the Invention The present invention manually inputs a check digit along with barcode data, and when the check digit that is automatically calculated based on the input data does not match, it is determined that there is an error in the input data. The system is configured to notify the operator of input errors by displaying an error message.

発明の実施例 本発明の一実施例を図面に基づいて説明する。Examples of the invention An embodiment of the present invention will be described based on the drawings.

まず、第1図はプリンタ本体1の外観を示すもので1台
紙2とともにラベル3を矢印方向に巻取りつつバーコー
ド印字を行ない。所定枚数のラベル3につきバーコード
印字が終了したら台紙2をカッター4でカットし、巻取
ら]した台紙2、ラベル3をハンドラベラ等にセットさ
せればよいものである。
First, FIG. 1 shows the external appearance of a printer main body 1, in which barcode printing is performed while winding up a label 3 together with a mount 2 in the direction of the arrow. When barcode printing is completed for a predetermined number of labels 3, the mount 2 is cut with a cutter 4 and wound up.The mount 2 and labels 3 may be set on a hand labeller or the like.

又、プリンタ本体1の前面には表示部5と操作部6とが
設けられている。表示部5は第2図に示すように13桁
用のFLAG、C0DE、PC/D(値段チェックディ
ジット)、PRICE[C0DE)、C/D (チェッ
クディジット)又は8桁用のFLAG、C0DE、C/
Dによるバーコード表示部7とLABEL (”:0U
NTで示す3桁の枚数表示部8とDEPT、C0DEで
示す3桁の部門表示部9とPRICEで示す5桁の値段
表示部10とREG、で示す登録数表示部11とからな
る。一方、操作部6には第3図に示すように各種のスイ
ッチ、キーが設けられている。12は設定モード(下段
)か発行モード(」二段)かを切換えるスイッチ、13
は13桁(上段)か8桁(下段)かのバーコードフォー
マットを設定するスイッチである。14は0〜9なるテ
ンキー、15はCキー、16は発行数キー、17は値段
キー。
Further, a display section 5 and an operation section 6 are provided on the front surface of the printer main body 1. The display section 5 displays FLAG, C0DE, PC/D (price check digit), PRICE [C0DE), C/D (check digit) for 13 digits or FLAG, C0DE, C for 8 digits as shown in FIG. /
Barcode display section 7 and LABEL (”:0U
It consists of a three-digit quantity display section 8 indicated by NT, a three-digit department display section 9 indicated by DEPT and C0DE, a five-digit price display section 10 indicated by PRICE, and a registered number display section 11 indicated by REG. On the other hand, the operation section 6 is provided with various switches and keys as shown in FIG. 12 is a switch for switching between setting mode (lower row) and issuing mode (second row); 13
is a switch that sets the barcode format to 13 digits (upper row) or 8 digits (lower row). 14 is a numeric keypad from 0 to 9, 15 is a C key, 16 is an issue number key, and 17 is a price key.

18は部門キー、19は停止キー、20はPLOキー、
21はアスタルキー、22は登録キー、23は発行キー
、24は定量発行キーである。又、プリンタ本体1の下
面には第4図に示すようにイニシャル設定モードか設定
/発行モードかを切換えるモード切換スイッチ25が設
けられている。
18 is the department key, 19 is the stop key, 20 is the PLO key,
21 is an astal key, 22 is a registration key, 23 is an issue key, and 24 is a quantitative issue key. Further, as shown in FIG. 4, a mode changeover switch 25 is provided on the bottom surface of the printer body 1 for switching between an initial setting mode and a setting/issuance mode.

第5図はブロック図であり、バックアップ用のRAM2
6を有するCPU27にはインターフェース28を介し
てバーコード等を印字する印字機構29が接続されてい
る。又、CPU27には表示回路30を介してキーボー
ド6が接続され、更にブザー32が接続されている。
Figure 5 is a block diagram of the RAM2 for backup.
A printing mechanism 29 for printing barcodes and the like is connected to the CPU 27 having the CPU 6 via an interface 28. Further, a keyboard 6 is connected to the CPU 27 via a display circuit 30, and a buzzer 32 is further connected to the CPU 27.

このような構成において、第6図はメインフローを示す
もので、I10イニシャライズ、メモlノイニシャライ
ズ、ディスプレイのスキャニング、部門消去スイッチ・
値段消去スイッチ等の5TATUS読込みの後、エラー
チェック、モードチェック、キー処理のルーチンが繰返
される。
In such a configuration, FIG. 6 shows the main flow, which includes I10 initialization, memory initialization, display scanning, department erase switch,
After reading 5TATUS of the price erase switch, etc., the error check, mode check, and key processing routines are repeated.

ここで、エラーチェックのルーチン番よ、第7図に示す
ように、エラーフラッグERRF=1のとき、エラー表
示をしてブザー32を鳴らし、り「ノアキー15が押さ
れたらエラーを解除してエラーフラッグE RRI” 
= 0とし、ブザー32を止めるものである。
Now, in the error check routine, as shown in Fig. 7, when the error flag ERRF = 1, an error is displayed and the buzzer 32 is sounded. Flag E RRI”
= 0, and the buzzer 32 is stopped.

又、モードチェックのルーチンは、第8図に示すように
、モード切換スイッチ12.25の状態が読込まれる。
Further, in the mode check routine, as shown in FIG. 8, the state of the mode changeover switch 12.25 is read.

この結果、モード切換スイッチ25によりイニシャル設
定モードが選択さ]してbするとき、イニシャルフラッ
グINITF=1であ才(ばそのままであるが、0であ
ればINITF=1とされ、かつ、他の発行フラッグR
EGF、設定1勺・ソノノS ET F、枚数フラッグ
C,0UNTF、部門フラッグDPF、値段フラッグP
RICFは全て0とされてイニシャル設定初期表示とな
る。
As a result, when the initial setting mode is selected by the mode changeover switch 25, the initial flag INITF=1 remains unchanged, but if it is 0, INITF=1, and other Issue flag R
EGF, setting 1, Sonono S ET F, quantity flag C, 0UNTF, department flag DPF, price flag P
All RICFs are set to 0 and the initial settings are displayed.

一方、スイッチ12.25により設定モードが選択され
ているとき、設定フラッグ5ETF=1であればそのま
まであるが、0であればこの設定フラッグ5ETFのみ
1とされ、設定モードの初期表示が行なわれる。更に、
発行モードであれば、発行フラッグREGFのみ1とさ
れて発行モードの初期表示がなされる。
On the other hand, when the setting mode is selected by switch 12.25, if setting flag 5ETF = 1, it remains unchanged, but if it is 0, only this setting flag 5ETF is set to 1, and the initial display of setting mode is performed. . Furthermore,
In the issue mode, only the issue flag REGF is set to 1 to provide an initial display of the issue mode.

しかして、印字すべきバーコードのデータ設定は発行モ
ードにおいて行なわれるものであり、そのときのキー処
理のルーチンを示すのが第9図である。即ち1発行モー
ドに設定後、バーコードデープル(図示せず)に示され
たデータ及びチェックディジットをテンキー14により
順次入力することになるが、この入力データはテンキー
レジスタNREGに入力される。この操作において、デ
ータ入力が完了するまでテンキーレジスタN REGの
内容がバーコード表示部7に順次表示される。
Data setting of the bar code to be printed is performed in the issue mode, and FIG. 9 shows the key processing routine at that time. That is, after setting the 1-issue mode, the data and check digit shown on the barcode table (not shown) are sequentially input using the numeric keypad 14, and this input data is input to the numeric keypad register NREG. In this operation, the contents of the numeric keypad register NREG are sequentially displayed on the barcode display section 7 until the data input is completed.

しかして、7桁又は12桁のデータ入力が完了すると、
このキー人力されたデータに基づきチェックディジット
C/Dが自動計算されて、バーコードテーブルに基づき
キー人力されたチェックディジットと比較される。この
両者が一致していれば入力は正しいとされ、入力したチ
ェックディジットC/Dをバーコード表示部7のC/D
欄に表示して設定完了l5SUOK=1とする、一方、
一致しなければ入力データにミスがあったことになり、
エラーフラッグERRFが1とされ、エラーチェック(
第7図)の処理が行なわれる。ここで、本実施例では従
来方式も可能とするため、チェックデイジツI−C/ 
Dをキー人力させるか否かの切換スイッチを内部に持つ
ものであり、C/D人力無しに設定されているときには
、入力データに基づき自動計算したチェックディジット
C/Dをバーコード表示部7のC/D欄に表示して自動
設定し、設定完了l5SUOK=1とするものである。
However, once the 7-digit or 12-digit data input is completed,
A check digit C/D is automatically calculated based on this key-entered data and compared with the key-entered check digit based on the barcode table. If these two match, the input is considered correct, and the input check digit C/D is displayed as the C/D on the barcode display section 7.
column and complete the setting. Set 15SUOK=1. On the other hand,
If they do not match, there is a mistake in the input data.
The error flag ERRF is set to 1, and the error check (
The process shown in FIG. 7) is performed. Here, in this embodiment, since the conventional method is also possible, the check digit I-C/
It has an internal switch to select whether or not to manually press the key D. When the C/D key is set to not be pressed manually, the check digit C/D automatically calculated based on the input data is displayed on the barcode display section 7. It is displayed in the C/D column and automatically set, and when the setting is complete, 15SUOK=1.

その後、発行キー23を押すことによりラベル発行(バ
ーコード印字)が行なわれる。
Thereafter, by pressing the issue key 23, a label is issued (barcode printing).

つまり、バーコードテーブルを見ながら、バーコードの
データ及びチェックディジットをキー人力するわけであ
るが、入力データにミスがあればこのデータに基づき自
動計算されたチェックディジットとキー人力したチェッ
クデイジッ1−とが一致せず、又、データを正確にキー
人力しチェックデイジッ1−のキー人力をミスしたとし
ても一致せず、よって、正しくキー人力した場合にバー
コード印字が行なわれることとなり、入力ミスによる誤
まったバーコード印字を防止できる。なお、データとチ
ェックディジットとのキー人力双方にミスを生じること
がありうるがそれはまれであり、かつ、そのときの自動
計算されたチェックディジットとキー人力したチェック
ディジットとが一致することは極めてまれであり、無視
しつる。
In other words, you manually input the barcode data and check digit while looking at the barcode table, but if there is an error in the input data, the check digit automatically calculated based on this data and the manually input check digit are input. - do not match, and even if you enter the data correctly manually and make a mistake in checking the check digits 1-, they do not match.Therefore, if you manually enter the data correctly, the barcode will be printed. Prevents printing of incorrect barcodes due to input errors. It is possible that mistakes may occur in both the data and the check digit, but this is rare, and it is extremely rare for the automatically calculated check digit to match the check digit entered manually. And I ignore it.

発明の効果 本発明は、上述したようにチェックディジットをもキー
人力させて、このチェックディジットと入力データに基
づき自動計算されたチェックディジットとを比較し、一
致しないときにはエラー表示を行なうようにしたので、
入力操作ミスが生じた場合そのままバーコード印字して
しまうことがなく、よって、入力ミスによる誤まったバ
ーコード印字を防止することができるものである。
Effects of the Invention As described above, the present invention manually generates the check digit, compares the check digit with the check digit automatically calculated based on the input data, and displays an error message if they do not match. ,
If an input operation error occurs, the bar code will not be printed as is, and therefore, incorrect bar code printing due to input errors can be prevented.

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

図面は本発明の一実施例を示すもので、第1図は外観斜
視図、第2図は表示部の正面図、第3図は操作部の平面
図、第4図はモード切換スイッチの平面図、第5図はブ
ロック図、第6図ないし第9図はフローチャートである
。 出 願 人 東京電気株式会社
The drawings show one embodiment of the present invention, in which Fig. 1 is a perspective view of the exterior, Fig. 2 is a front view of the display section, Fig. 3 is a plan view of the operating section, and Fig. 4 is a plan view of the mode changeover switch. 5 is a block diagram, and FIGS. 6 to 9 are flowcharts. Applicant Tokyo Electric Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] バーコードのデータ及びチェックディジットをキー人力
により設定し、キー入力されたデータに基づき自動計算
されたチェックディジットとキー人力されたチェックデ
ィジットとを比較し、一致しないときはエラー表示し、
一致するときはバーコード印字を行なうことを特徴とす
るバーコードプリンタ。
Set the barcode data and check digit manually, compare the automatically calculated check digit based on the key input data with the manually input check digit, and display an error if they do not match.
A barcode printer that prints a barcode when there is a match.
JP19016883A 1983-10-12 1983-10-12 Bar-code printer Granted JPS6082372A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19016883A JPS6082372A (en) 1983-10-12 1983-10-12 Bar-code printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19016883A JPS6082372A (en) 1983-10-12 1983-10-12 Bar-code printer

Publications (2)

Publication Number Publication Date
JPS6082372A true JPS6082372A (en) 1985-05-10
JPH0263067B2 JPH0263067B2 (en) 1990-12-27

Family

ID=16253562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19016883A Granted JPS6082372A (en) 1983-10-12 1983-10-12 Bar-code printer

Country Status (1)

Country Link
JP (1) JPS6082372A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01280572A (en) * 1988-05-06 1989-11-10 Tokyo Electric Co Ltd Printer

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0383364U (en) * 1989-12-18 1991-08-23
JP7150082B1 (en) * 2021-03-31 2022-10-07 三菱電機株式会社 Vessel bearing control device and bearing control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01280572A (en) * 1988-05-06 1989-11-10 Tokyo Electric Co Ltd Printer

Also Published As

Publication number Publication date
JPH0263067B2 (en) 1990-12-27

Similar Documents

Publication Publication Date Title
US4355372A (en) Market survey data collection method
USRE31951E (en) Market survey data collection method
JPS6082372A (en) Bar-code printer
JPS6124473A (en) Confirmation of bar code information input
JPS6131907B2 (en)
JPS6220027Y2 (en)
JPS6113631B2 (en)
JPH0254788B2 (en)
JP2505168B2 (en) Data management device
JPH0373030B2 (en)
JPS59186086A (en) Condition input unit for vending machine
JPS59230775A (en) Bar code printer
JPS5846462A (en) Print processor of electronic cash register
JPS59230776A (en) Bar code printer
JPH06309557A (en) Electronic cash register and bar code table
JPH032737B2 (en)
JPS6324488A (en) Electronic type cash register
JPS61213173A (en) Printing by bar code printer
JPH02110630A (en) Electronic apparatus
JPH0348866B2 (en)
JPS63132396A (en) Electronic cash register
JP2000207478A (en) Ballot paper issuing machine
JPS61117616A (en) Simple data input device
JPS6054699B2 (en) How to re-enter refunded voting tickets
JPS6135053B2 (en)