JPH0263067B2 - - Google Patents

Info

Publication number
JPH0263067B2
JPH0263067B2 JP19016883A JP19016883A JPH0263067B2 JP H0263067 B2 JPH0263067 B2 JP H0263067B2 JP 19016883 A JP19016883 A JP 19016883A JP 19016883 A JP19016883 A JP 19016883A JP H0263067 B2 JPH0263067 B2 JP H0263067B2
Authority
JP
Japan
Prior art keywords
input
key
digit
data
barcode
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
Application number
JP19016883A
Other languages
Japanese (ja)
Other versions
JPS6082372A (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.)
Toshiba Tec Corp
Original Assignee
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 Electric Co Ltd filed Critical Tokyo 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)

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 its problems In general, barcodes include a 13-digit standard version and an 8-digit shortened version, but when printing barcodes, the 1-digit check digit is excluded.
12-digit or 7-digit data is set by key input. And like this 12 digits or 7
When digit data is input, a check digit is automatically calculated and set based on the data.

ところが、12桁又は7桁とその桁数が多いた
め、オペレータの入力ミスが生じ易い。そして、
入力ミスを生じたとしてもその誤データに基づき
チエツクデイジツトが自動計算されて設定されて
しまい、入力ミス判定手段がないため、誤まつた
バーコードが印字されてしまうことになる。
However, since the number of digits is large (12 or 7 digits), input errors by the operator are likely to occur. and,
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 was made in view of the above points, and barcode settings are performed by key input.
To provide a barcode printer capable of preventing erroneous printing of barcodes due to input operation errors at that time.

発明の概要 本発明は、バーコードのデータとともにチエツ
クデイジツトをもキー入力させて、このチエツク
デイジツトに対して入力データに基づき自動計算
されたチエツクデイジツトが一致しないときに
は、入力データにミスがあることになり、エラー
表示によりオペレータに入力ミスを知らしめるよ
うに構成したものである。
SUMMARY OF THE INVENTION The present invention allows a check digit to be entered with a key together with barcode data, and when the check digit that is automatically calculated based on the input data does not match, it is possible to detect an error in the input data. Therefore, the system is configured to notify the operator of the input error by displaying an error message.

発明の実施例 本発明の一実施例を図面に基づいて説明する。
まず、第1図はプリンタ本体1の外観を示すもの
で、台紙2とともにラベル3を矢印方向に巻取り
つつバーコード印字を行ない。所定枚数のラベル
3につきバーコード印字が終了したら台紙2をカ
ツター4でカツトし、巻取られた台紙2、ラベル
3をハンドラベル等にセツトさせればよいもので
ある。
Embodiment of the Invention An embodiment of the present invention will be described based on the drawings.
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 the wound mount 2 and labels 3 are set on a hand label or the like.

又、プリンタ本体1の前面には表示部5と操作
部6とが設けられている。表示部5は第2図に示
すように13桁用のFLAG、CODE、PC/D(値段
チエツクデイジツト)、PRICE〔CODE〕、C/D
(チエツクデイジツト)又は8桁用のFLAG、
CODE、C/Dによるバーコード表示部7と
LABEL COUNTで示す3桁の枚数表示部8と
DEPT.CODEで示す3桁の部門表示部9と
PRICEで示す5桁の値段表示部10とREG.で示
す登録数表示部11とからなる。一方、操作部6
には第3図に示すように各種のスイツチ、キーが
設けられている。12は設定モード(下段)か発
行モード(上段)かを切換えるスイツチ、13は
13桁(上段)か8桁(下段)かのバーコードフオ
ーマツトを設定するスイツチである。14は0〜
9なるテンキー、15はCキー、16は発行数キ
ー、17は値段キー、18は部門キー、19は停
止キー、20はPLUキー、21はアスタルキー、
22は登録キー、2,は発行キー、24は定量発
行キーである。又、プリンタ本体1の下面には第
4図に示すようにイニシヤル設定モードが設定/
発行モードを切換えるモード切換スイツチ25が
設けられている。
Further, a display section 5 and an operation section 6 are provided on the front surface of the printer main body 1. As shown in Figure 2, the display section 5 displays 13 digits of FLAG, CODE, PC/D (price check digit), PRICE [CODE], and C/D.
(check digit) or FLAG for 8 digits,
CODE, C/D barcode display section 7 and
The 3-digit number display section 8 indicated by LABEL COUNT and
The three-digit department display section 9 indicated by DEPT.CODE and
It consists of a 5-digit price display section 10 indicated by PRICE and a registration number display section 11 indicated by REG. On the other hand, the operation section 6
As shown in FIG. 3, various switches and keys are provided. 12 is a switch for switching between setting mode (lower row) and issuing mode (upper row), and 13 is a switch for switching between setting mode (lower row) and issuing mode (upper row).
This is a switch to set the barcode format to 13 digits (upper row) or 8 digits (lower row). 14 is 0~
9 is the numeric keypad, 15 is the C key, 16 is the issue number key, 17 is the price key, 18 is the department key, 19 is the stop key, 20 is the PLU key, 21 is the asterisk key,
22 is a registration key, 2 is an issue key, and 24 is a quantitative issue key. In addition, the initial setting mode is set/set on the bottom of the printer main body 1 as shown in Fig. 4.
A mode changeover switch 25 is provided to change over the issuing mode.

第5図はブロツク図であり、バツクアツプ用の
RAM26を有するCPU27にはインターフエー
ス28を介してバーコード等を印字する印字機構
29が接続されている。又、CPU27には表示
回路30を介してキーボード6が接続され、更に
ブザー32が接続されている。
Figure 5 is a block diagram of the backup
A printing mechanism 29 for printing barcodes and the like is connected to the CPU 27 having the RAM 26 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図はメインフロ
ーを示すもので、I/Oイニシヤライズ、メモリ
イニシヤライズ、デイスプレイのスキヤニング、
部門消去スイツチ・値段消去スイツチ等の
STATUS読込みの後、エラーチエツク、モード
チエツク、キー処理のルーチンが繰返される。
In such a configuration, FIG. 6 shows the main flow, which includes I/O initialization, memory initialization, display scanning,
Department deletion switch, price deletion switch, etc.
After reading STATUS, the error check, mode check, and key processing routines are repeated.

ここで、エラーチエツクのルーチンは、第7図
に示すように、エラーフラツグERRF=1のと
き、エラー表示をしてブザー32を鳴らし、クリ
アキー15が押されたらエラーを解除してエラー
フラツグERRF=0とし、ブザー32を止めるも
のである。
Here, in the error check routine, as shown in FIG. 7, when the error flag ERRF=1, an error is displayed and the buzzer 32 sounds, and when the clear key 15 is pressed, the error is canceled and the error flag ERRF=0. and stops the buzzer 32.

又、モードチエツクのルーチンは、第8図に示
すように、モード切換スイツチ12,25の状態
が読込まれる。この結果、モード切換スイツチ2
5によりイニシヤル設定モードが選択されている
とき、イニシヤルフラツグINITE=1であれば
そのままであるが、0であればINITF=1とさ
れ、かつ、他の発行フラツグREGF、設定フラツ
グSETF、枚数フラツグCOUNTF、部門フラツ
グDPF、値段フラツグPRICFは全て0とされて
イニシヤル設定初期表示となる。一方、スイツチ
12,25により設定モードが選択されていると
き、設定フラツグSETF=1であればそのままで
あるが、0であればこの設定フラツグSETFのみ
1とされ、設定モードの初期表示が行なわれる。
更に、発行モードであれば、発行フラツグREGF
のみ1とされて発行モードの初期表示がなされ
る。
Further, in the mode check routine, the states of the mode changeover switches 12 and 25 are read, as shown in FIG. As a result, mode selector switch 2
When the initial setting mode is selected by 5, if the initial flag INITE = 1, it remains as is, but if it is 0, INITF = 1, and other issue flags REGF, setting flag SETF, and number of sheets are set. The flag COUNTF, department flag DPF, and price flag PRICF are all set to 0 and are displayed as initial settings. On the other hand, when the setting mode is selected by the switches 12 and 25, if the setting flag SETF=1, it remains as is, but if it is 0, only this setting flag SETF is set to 1, and the initial display of the setting mode is performed. .
Furthermore, if it is in issue mode, issue flag REGF
is set to 1, and the initial display of the issue mode is made.

しかして、印字すべきバーコードのデータ設定
は発行モードにおいて行なわれるものであり、そ
のときのキー処理のルーチンを示すのが第9図で
ある。即ち、発行モードに設定後、バーコードデ
ーブル(図示せず)に示されたデータ及びチエツ
クデイジツトをテンキー14により順次入力する
ことになるが、この入力データはテンキーレジス
タNREGに入力される。この操作において、デ
ータ入力が完了するまでテンキーレジスタ
NREGの内容がバーコード表示部7に順次表示
される。しかして、7桁又は12桁のデータ入力が
完了すると、このキー入力されたデータに基づき
チエツクデイジツトC/Dが自動計算されて、バ
ーコードテーブルに基づきキー入力されたチエツ
クデイジツトと比較される。この両者が一致して
いれば入力は正しいとされ、入力したチエツクデ
イジツトC/Dをバーコード表示部7のC/D欄
に表示して設定完了ISSUOK=1とする、一方、
一致しなければ入力データにミスがあつたことに
なり、エラーフラツグERRFが1とされ、エラー
チエツク(第7図)の処理が行なわれる。ここ
で、本実施例では従来方式も可能とするため、チ
エツクデイジツトC/Dをキー入力させるか否か
の切換スイツチを内部に持つものであり、C/D
入力無しに設定されているときには、入力データ
に基づき自動計算したチエツクデイジツトC/D
をバーコード表示部7のC/D欄に表示して自動
設定し、設定完了ISSUOK=1とするものであ
る。その後、発行キー23を押すことによりラベ
ル発行(バーコード印字)が行なわれる。
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 issue mode, data shown in a bar code table (not shown) and check digits are sequentially input using the numeric keypad 14, and this input data is input to the numeric keypad register NREG. In this operation, the numeric keypad register is pressed until data input is completed.
The contents of NREG are sequentially displayed on the barcode display section 7. When the 7-digit or 12-digit data input is completed, the check digit C/D is automatically calculated based on this key-in data and compared with the key-in check digit based on the barcode table. Ru. If these two match, the input is considered correct, and the input check digit C/D is displayed in the C/D column of the barcode display section 7, setting completion ISSUOK = 1. On the other hand,
If they do not match, it means that there is an error in the input data, the error flag ERRF is set to 1, and the error check process (FIG. 7) is performed. Here, in order to enable the conventional method, this embodiment has an internal switch for selecting whether or not to input the check digit C/D by key.
When set to no input, check digit C/D automatically calculated based on input data.
is displayed in the C/D column of the barcode display section 7 and automatically set, and the setting is completed and ISSUOK=1. Thereafter, by pressing the issue key 23, a label is issued (barcode printing).

つまり、バーコードテーブルを見ながら、バー
コードのデータ及びチエツクデイジツトをキー入
力するわけであるが、入力データにミスがあれば
このデータに基づき自動計算されたチエツクデイ
ジツトとキー入力したチエツクデイジツトとが一
致せず、又、データを正確にキー入力しチエツク
デイジツトのキー入力をミスしたとしても一致せ
ず、よつて、正しくキー入力した場合にバーコー
ド印字が行なわれることとなり、入力ミスによる
誤まつたバーコード印字を防止できる。なお、デ
ータとチエツクデイジツトとのキー入力双方にミ
スを生じることがありうるがそれはまれであり、
かつ、そのときの自動計算されたチエツクデイジ
ツトとキー入力したチエツクデイジツトとが一致
することは極めてまれであり、無視しうる。
In other words, you key-in the barcode data and check digit while looking at the barcode table, but if there is a mistake in the input data, the check digit automatically calculated based on this data and the key-input check digit are displayed. Also, even if you input the data correctly and make a mistake in the key input of the check digit, it will not match. It can prevent incorrect barcode printing due to mistakes. It is possible that mistakes may occur in both the data and the check data, but this is rare.
Moreover, it is extremely rare that the automatically calculated check digit at that time and the key-input check digit match, and can be ignored.

発明の効果 本発明は、上述したようにチエツクデイジツト
をもキー入力させて、このチエツクデイジツトと
入力データに基づき自動計算されたチエツクデイ
ジツトとを比較し、一致しないときにはエラー表
示を行なうようにしたので、入力操作ミスが生じ
た場合そのままバーコード印字してしまうことが
なく、よつて、入力ミスによる誤まつたバーコー
ド印字を防止することができるものである。
Effects of the Invention As described above, the present invention allows the user to input a check digit using the keypad, compares this check digit with the check digit automatically calculated based on the input data, and displays an error message when the check digit does not match. Therefore, even if an input operation error occurs, the bar code will not be printed as is, and it is possible to prevent incorrect bar code printing due to an input error.

【図面の簡単な説明】[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.

Claims (1)

【特許請求の範囲】[Claims] 1 バーコードのデータ及びチエツクデイジツト
をキー入力により設定し、キー入力されたデータ
に基づき自動計算されたチエツクデイジツトとキ
ー入力されたチエツクデイジツトとを比較し、一
致しないときはエラー表示し、一致するときはバ
ーコード印字を行なうことを特徴とするバーコー
ドプリンタ。
1 Set the barcode data and check digit by key input, compare the check digit automatically calculated based on the key input data and the key 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 barcode printer Granted JPS6082372A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPS6082372A JPS6082372A (en) 1985-05-10
JPH0263067B2 true 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 barcode 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
JPH0383364U (en) * 1989-12-18 1991-08-23

Families Citing this family (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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0383364U (en) * 1989-12-18 1991-08-23

Also Published As

Publication number Publication date
JPS6082372A (en) 1985-05-10

Similar Documents

Publication Publication Date Title
US4742521A (en) Bar cord information input confirming method
JPS6082372A (en) barcode printer
JPH0254788B2 (en)
JPS6131907B2 (en)
JPH04281591A (en) electronic register
JPS6220027Y2 (en)
JPH11240210A (en) Label issuing machine
JPS6313240B2 (en)
JPH074713Y2 (en) Electronic cash register
JPS59186086A (en) Condition input unit for vending machine
JPH0373030B2 (en)
JP2968529B2 (en) Label printer
JPH032737B2 (en)
JPH0143357B2 (en)
JPH0541018Y2 (en)
JPS5856147B2 (en) data processing equipment
JP2687332B2 (en) Label printer
JPS59230775A (en) Barcode printing device
JPS5922982B2 (en) Tab setting device for tabulation machine using serial printer
JPS59163137A (en) Control panel for price labeller
JPS5840217B2 (en) electronic cash register
JPH0844916A (en) Time recorder system with time card closing date setting function
JPH043311B2 (en)
JPS62187997A (en) Sales data processor
JPH0528440B2 (en)