JPH043311B2 - - Google Patents
Info
- Publication number
- JPH043311B2 JPH043311B2 JP58185199A JP18519983A JPH043311B2 JP H043311 B2 JPH043311 B2 JP H043311B2 JP 58185199 A JP58185199 A JP 58185199A JP 18519983 A JP18519983 A JP 18519983A JP H043311 B2 JPH043311 B2 JP H043311B2
- Authority
- JP
- Japan
- Prior art keywords
- barcode
- key
- setting
- check
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Printers Characterized By Their Purpose (AREA)
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
Description
本発明は、バーコードプリンタ付電子料金秤に
関するものである。
発明の技術的背景及びその問題点
従来、この種のバーコードプリンタにあつて
は、バーコードフオーマツトに対応したデイツプ
スイツチを設けているものであるが、バーコード
フオーマツトには種々のものがあり、各種フオー
マツトに対応するためには多数のデイツプスイツ
チを設ける必要がある。又、新しいフオーマツト
が出現した場合にはこれに対処できず、その都度
新たに開発する必要がある。結局、ユーザーの要
求に応じられない場合が多々あるものである。
発明の目的
本発明は、このような点に鑑みなされたもの
で、ユーザーの要求するすべてのバーコードフオ
ーマツトに容易に対処することができるバーコー
ドプリンタ付電子料金秤を得ることを目的とす
る。
発明の概要
本発明は、デイツプスイツチ方式をやめて、キ
ー入力によりバーコードフオーマツトを設定する
ことにより、ユーザーの要求するすべてのバーコ
ードフオーマツトに対処できるように構成したも
のである。
発明の実施例
まず、電子料金秤1は、載皿2を有する秤部3
と支柱4の上端に取付けられた表示部5とよりな
る。この表示部5は両面同一表示のものであり、
その片面の表示配列についてみれば第2図に示す
ように重量表示部6、単価表示部7、値段表示部
8等を有する。又、左端にはゼロ点(ZERO)、
風袋(TARE)、固定(FIX)、エラー
(ERROR)、印字(PRINT)のそれぞれの表示
をするLED9が設けられている。ついで、前記
秤部3の本体ケース10の正面には、キーボード
部11が設けられ、このキーボード部11の左側
にはPLUコードまたは日付を表示する表示部1
2が設けられ、前記キーボード部11の右側には
レシート発行口13が設けられている。つぎに、
前記本体ケース10の背面には第3図に示すよう
に鍵スイツチ操作部14が設けられている。この
鍵スイツチ操作部14は、秤のゼロ設定スイツチ
15とアナログダブルチエツク回路のテストスイ
ツチ16と操作部切換スイツチ17と発録モード
切換スイツチ18と鍵スイツチ19とを有する。
ここに、前記鍵スイツチ19は、PR2,PR1,
EIN,AUS,X,Z,RAM CLEAR,TEST
READの8モードに切換え可能である。「PR2」
は後述するリモートキーボードによりPLUの品
名、単価、グループNo.、PLUコード、計量/非
計量の区分、日付、時刻、店名、店コード、機械
No.、バーコードのフラツグ等の設定を行なうモー
ドである。
つぎに、第4図に示すものは、リモートキーボ
ード20でり、前記本体ケース10の図示しない
接続口に接続されるプラグ21を有し、第5図に
示すように多数のキー22が配設されている。こ
のリモートキーボード20は前記鍵スイツチ19
が「PR2」のモードのときに、PLUの単価、品
名及び日付、時刻、バーコードのフラツグ等を設
定するときに使用されるものである。
ついで、第6図に基いて各部の電気的接続の概
略を説明する。まず、ロードセル23がADC回
路24に接続され、このADC回路24はCPU2
5に接続されている。このCPU25にはI/O
ブロツク26が接続され、このI/Oブロツク2
6には印字部段となるサーマルプリンタ27と表
示ブロツク28とが接続されている。この表示ブ
ロツク28には、前記リモートキーボード20と
前記キーボー7部11とが接続されている。
なお、前記秤部3の本体ケース10内には、と
くに図示しないが電子料金秤1としての各種の仕
様を設定するデイツプスイツチが内部スイツチと
して設けられている。これらのデイツプスイツチ
はメーカーからの出荷後には変えることができな
いものである。
つぎに、第7図および第8図に基いてメインフ
ローを説明する。まず、スタート後にメモリーク
リア、ROMチエツク、I/O初期設定、デイツ
プスイツチ読込みがなされた後に登録モード切換
スイツチ18の読込みがなされる。ここで、
OFFか否かのチエツクがなされる。OFFである
ことは、早打ち登録(AUS1)かため打ち登録
(AUS2)かであり、OFFでないことは単品締め
登録(EIN)である。ここに、早打ち登録、ため
打ち登録、単品締め登録等の内容につき、本発明
では重要でないのでその説明を省略する。
いま、単品締め登録(EIN)であると、
MAIN 0にいたり、デイツプスイツチのパリテ
イチエツクをしてから表示部のセグメントチエツ
クを行なう。ここでは、0〜9の表示と滅打とを
繰り返すものである。そして、ハカリデータが安
定したところでゼロ範囲のチエツクをし、停電検
知して第8図のMAINにいたる。
また、第7図において登録モード切換スイツチ
18がOFF(AUS)であると、ハカリデータをリ
ードし、ハカリデータを処理し、スタートから16
秒をすぎると表示を滅灯し、デイツプスイツチを
リードして再び登録モード切換スイツチ18を読
み、ここでOFFであればハカリデータを読み出
し、ハカリデータ処理をし、表示滅灯の位置にも
どる。ここで、登録モード切換スイツチ18が
OFFでなければ、MAIN 1にいたり、デイツプ
スイツチのパリテイチエツクをし、表示部のセグ
メントチエツクを行なう。このときのセグメント
は8と滅灯との繰り返しである。そして、ハカリ
データが安定すると、ゼロ範囲のチエツク、停電
検知を行ない、第8図のMAINにいたる。
第8図においては、モードチエツクをし、フロ
ントスイツチチエツクを行なう。ここで「フロン
トスイツチ」とは操作部切換スイツチ17と登録
モード切換スイツチ18とのことであり、このフ
ロントスイツチチエツクの内容は省略する。この
チエツクが終了すると、登録モード切換スイツチ
18がOFFか否かのチエツクが行なわれ、OFF
であれば第7図のOFFの表示部に戻り、OFFで
なければキー有か否かのチエツクがなされる。
ここで、キー有の場合は、フロントキーか否か
のチエツクがなされる。この「フロントキー」
は、キーボード部11のキーのことであり、フロ
ントキーであればフロントキー処理を行なうが、
その内容は省略する。そして、その処理後にネツ
ト計算が必要か否かのチエツクがなされ、必要で
あればクロスを算出し、このグロスから風袋量を
差し引いてネツトを求める。また、値段計算が必
要か否かのチエツクがなされ、必要ならばネツト
と単価とを乗算して値段を求め、四捨五入等の手
段により値段をまるめ、ランプ表示して表示し、
表示ダブルチエツクをする。
そして、フロントキーでない場合は、リモート
キーボード20のキーであるため、リモートキー
処理を行ない、ランプ表示して表示し、表示ダブ
ルチエツクを行なう。
また、前述のキー有か否かのチエツクを行なつ
た際に、キーが押されていなければ、ハカリデー
タをリードし、そのハカリデータを処理し、オー
トゼロ処理を行ない登録モード切換スイツチ18
がOFFか否かのチエツクを行なう。OFFならば
第7図のOFFの位置に戻り、OFFでなければ第
7図のOFFの位置に戻り、OFFでなければ本体
ケース10内に設けられた図示しないクオーツタ
イマーから日付および時刻のデータをリードす
る。そして、ネツト計算が必要か否かのチエツク
を行ない、必要ならばグロス算出をしてオートク
リアをし、グロスから風袋量を差し引いてネツト
を求め、オートクリア条件をチエツクする。つぎ
に値段計算が必要か否かのチエツクを行ない、必
要ならばネツトと単価との乗算を行ない、値段を
まるめる。そして、ランプ表示して表示し表示ダ
ブルチエツクを行なつてMAINにもどる。
しかして、バーコードのフオーマツトは通常は
13桁であるが、短縮8桁、6桁Eバージヨンなど
がある。いずれにしても、表1、表2に例示する
ように各種のバーコードフオーマツトがある。表
中、JANは日本、EANはヨーロツパ、UPCはア
メリカ、TECは個人特有のもの、INDUSTRY
は産業用を示す。又、フオーマツト中、04等はフ
ラツグ、Cはコード、Pはプライス、C/Dは全
体のチエツクデイジツト、PC/Dはプライスチ
エツクデイジツトを表わす。
このように各種のバーコードフオーマツトがあ
るが、どのようなフオーマツトであつても、第8
図に示したメインフロー中のリモートKEY処理
におけるキー操作により必要なフオーマツトの設
定がなされる。今、例としてNo.06で示すUPCの
バーコードフオーマツト設定の操作手順を第9図
の記憶手段として作用するPAMのRAMマツプ、
第10図ないし第26図のフローチヤートを参照
しつつ表3に基づいて説明する。
The present invention relates to an electronic fare scale with a barcode printer. Technical Background of the Invention and Problems Thereto Conventionally, this type of barcode printer has been equipped with a deep switch compatible with the barcode format, but there are various barcode formats. In order to accommodate various formats, it is necessary to provide a large number of deep switches. Furthermore, if a new format appears, it cannot be handled and a new format must be developed each time. As a result, there are many cases where the user's requests cannot be met. Purpose of the Invention The present invention was made in view of the above points, and an object of the present invention is to obtain an electronic fare scale with a barcode printer that can easily handle all barcode formats requested by users. . SUMMARY OF THE INVENTION The present invention is configured to be able to handle all barcode formats requested by the user by eliminating the dip switch method and setting the barcode format by key input. Embodiments of the Invention First, the electronic fare scale 1 includes a weighing section 3 having a mounting plate 2.
and a display section 5 attached to the upper end of the support column 4. This display section 5 has the same display on both sides,
Regarding the display arrangement on one side, as shown in FIG. 2, it has a weight display section 6, a unit price display section 7, a price display section 8, etc. Also, on the left end is the zero point (ZERO),
LED 9 is provided to display each of tare (TARE), fixation (FIX), error (ERROR), and print (PRINT). Next, a keyboard section 11 is provided on the front side of the main body case 10 of the weighing section 3, and a display section 1 for displaying the PLU code or date is provided on the left side of the keyboard section 11.
2, and a receipt issuing port 13 is provided on the right side of the keyboard section 11. next,
A key switch operation section 14 is provided on the back side of the main body case 10, as shown in FIG. The key switch operation section 14 has a scale zero setting switch 15, an analog double check circuit test switch 16, an operation section changeover switch 17, a recording mode changeover switch 18, and a key switch 19.
Here, the key switch 19 is PR2, PR1,
EIN, AUS, X, Z, RAM CLEAR, TEST
It is possible to switch to 8 READ modes. "PR2"
Use the remote keyboard described below to enter the PLU product name, unit price, group number, PLU code, weighing/non-weighing classification, date, time, store name, store code, and machine.
This is the mode for setting No., barcode flags, etc. Next, the one shown in FIG. 4 is a remote keyboard 20, which has a plug 21 connected to a connection port (not shown) of the main body case 10, and has a large number of keys 22 as shown in FIG. has been done. This remote keyboard 20 is connected to the key switch 19.
This is used to set the unit price, product name, date, time, barcode flag, etc. of the PLU when it is in "PR2" mode. Next, the outline of electrical connections of each part will be explained based on FIG. First, the load cell 23 is connected to the ADC circuit 24, and this ADC circuit 24 is connected to the CPU 2.
5. This CPU25 has I/O
Block 26 is connected, and this I/O block 2
6 is connected to a thermal printer 27 serving as a printing section and a display block 28. The remote keyboard 20 and the keyboard 7 section 11 are connected to this display block 28. Although not particularly shown, a deep switch for setting various specifications of the electronic fare scale 1 is provided in the main body case 10 of the weighing section 3 as an internal switch. These deep switches cannot be changed after being shipped from the manufacturer. Next, the main flow will be explained based on FIGS. 7 and 8. First, after the start, memory clearing, ROM check, I/O initial setting, and deep switch reading are performed, and then the registration mode changeover switch 18 is read. here,
A check is made to see if it is OFF. If it is OFF, it means early registration (AUS1) or firm registration (AUS2), and if it is not OFF, it means single item tightening registration (EIN). Here, descriptions of the contents of quick registration, advance registration, single item tightening registration, etc. are omitted because they are not important to the present invention. Now, if you have a single item tightening registration (EIN),
Go to MAIN 0, check the parity of the deep switch, and then check the segment of the display. Here, the display of 0 to 9 and the non-touching are repeated. Then, when the exposure data becomes stable, the zero range is checked, a power outage is detected, and the process reaches MAIN in Figure 8. In addition, when the registration mode changeover switch 18 is OFF (AUS) in FIG.
When the seconds have passed, the display goes out, reads the date switch, reads the registration mode changeover switch 18 again, and if it is OFF here, the light-up data is read out, the light-up data is processed, and the display returns to the position where the light goes out. Here, the registration mode changeover switch 18 is set to
If it is not OFF, go to MAIN 1, check the parity of the deep switch, and check the segment of the display. The segment at this time is a repetition of 8 and off. Then, when the exposure data becomes stable, a zero range check and power outage detection are performed, leading to the MAIN shown in Figure 8. In FIG. 8, a mode check is performed and a front switch check is performed. Here, the term "front switch" refers to the operation section changeover switch 17 and the registration mode changeover switch 18, and the details of this front switch check will be omitted. When this check is completed, a check is made to see if the registration mode changeover switch 18 is OFF.
If so, the display returns to OFF in FIG. 7, and if it is not OFF, a check is made to see if the key is present. Here, if a key is present, a check is made to see if it is a front key. This "front key"
is a key on the keyboard section 11, and if it is a front key, front key processing is performed.
Its contents are omitted. After that processing, a check is made to see if net calculation is necessary, and if necessary, a cross is calculated, and the net is determined by subtracting the tare amount from this gross. Also, a check is made as to whether or not price calculation is necessary, and if necessary, the price is determined by multiplying the net by the unit price, the price is rounded by means such as rounding, and the price is displayed using a lamp.
Double check the display. If it is not a front key, it is a key on the remote keyboard 20, so remote key processing is performed, a lamp is displayed, and a display double check is performed. Furthermore, if the key is not pressed when the above-mentioned check is performed to see if the key is present or not, the scanner reads the exposure data, processes the exposure data, performs auto-zero processing, and switches the registration mode changeover switch 18.
Checks whether or not is OFF. If it is OFF, it returns to the OFF position in Figure 7. If it is not OFF, it returns to the OFF position in Figure 7. If it is not OFF, it reads date and time data from a quartz timer (not shown) provided inside the main body case 10. Lead. Then, it is checked whether net calculation is necessary or not, and if necessary, gross calculation is performed and auto-clear is performed, net is obtained by subtracting the tare weight from gross, and auto-clear conditions are checked. Next, it is checked whether price calculation is necessary or not, and if necessary, the net is multiplied by the unit price to round up the price. Then, display the lamp, double-check the display, and return to MAIN. However, the barcode format is usually
It is 13 digits, but there are abbreviated 8-digit and 6-digit E versions. In any case, there are various barcode formats as illustrated in Tables 1 and 2. In the table, JAN is Japan, EAN is Europe, UPC is America, TEC is individual-specific, INDUSTRY
indicates industrial use. Also, in the format, 04 etc. represent a flag, C represents a code, P represents a price, C/D represents an overall check digit, and PC/D represents a price check digit. There are various barcode formats as described above, but no matter what format it is, the 8th
Necessary format settings are made by key operations in the remote KEY process in the main flow shown in the figure. Now, as an example, the operation procedure for setting the UPC barcode format shown in No. 06 is shown in the PAM RAM map that acts as a storage means as shown in Fig. 9.
This will be explained based on Table 3 while referring to the flowcharts of FIGS. 10 to 26.
【表】【table】
【表】【table】
【表】【table】
【表】
まず、手順1で示すようにリモートキーボード
20の「B」キーにより設定が開始され、この設
定開始手段として作用する「B」キーが押された
ときバーコード設定カウンタBCDSCTに1を設
定する。このとき、表示状態はとなる。次に何
文字入力されたかを示す入力数カウンタ
NCUNTを0にし、第9図のRAMマツプに示し
たFORMAT1〜6、BARCOD1〜13を全て
クリアしてリターンする。これが、第10図のフ
ローチヤートに基づくKEY1処理であり、第1
1図に示される。
次に、手順2のように設定キーによりバーコー
ドフオーマツトの桁数を入力する。今、13桁Eバ
ージヨンであるとして「1」「3」をキー入力す
る。これにより、第12図のKEY2のフローと
なり、バーコード設定カウンタBCDSCTの内容
が1ないし5のとき、KEY20ないしKEY24
の処理が実行される。いま、バーコード設定カウ
ンタBCDSCTの内容が1であるため、KEY20
の処理が行なわれる。このKEY20の処理は第
13図に示すように入力された数字(たとえば
13)の表示が値段表示部8にて行なわれるもので
ある。桁数入力後、手順3で示す「ENTER」キ
ーを押すことにより、KEY4の処理となり、バ
ーコード設定カウンタBCDSCTの内容が1ない
し5のとき、KEY40ないしKEY44の処理が
実行される。いま、バーコード設定カウンタ
BCDSCTの内容が1であるため、第19図に示
されるようにKEY40の処理に移る。このKEY
40の処理は第20図に示すように表示されてい
る数字、即ち、バーコードフオーマツトの桁数を
RAMマツプ中のFORMAT6に格納した後、表
3中の表示の状態をとり、カウンタNCUNT
の内容を0にし、バーコード設定カウンタ
BCDSCTに1を加算してリターンする。ここで、
桁数が0であれば、FORMAT6の内容が0であ
るので、表示で示す初期表示に戻り、バーコー
ド設定カウンタBCDSCT内容が0にされてリタ
ーンする。
「ENTER」キー操作後、設定キーで手順4の
フラツグ入力に移る。フラツグ入力は1桁又は2
桁の数字であり、例えば「0」「2」とキー入力
することにより行なわれる。これにより、KEY
2処理中、2番目のKEY21のフラツグ処理と
なり、第14図に示すように、入力された数字
(例えば02)が表示された後、入力数カウンタ
NCUNTの内容に1が加算されてリターンする。
そして、手順5に従い「ENTER」キーを押すこ
とにより、KEY4処理中、2番目のKEY41の
処理に移る。即ち、第21図に示すように、入力
数カウンタNCUNTの内容が1か2であるかに
応じて処理される。まず、1であればフラツグ桁
数が1ということであり、表示されている数字を
BARCOD1に格納した後、FORMAT1の内容
を1にし、入力数カウンタNCUNTを0にし、
バーコードアドレスBARADRとして次の
BARCOD2を指定する。そして、表示の状態
を経た後、バーコード設定カウンタBCDSCTに
1を加算してリターンする。一方、NCUNTの
内容が1でなければ、フラツグ桁数が2というこ
とであり、表示されている数字をBARCOD1、
BARCOD2に各々格納し、FORMAT1の内容
を2に設定し、NCUNTを0にし、バーコード
アドレスBARADRをBARCOD3に指定し表示
を経てリターンする。このようにしてフラツグ
入力が行なわれるが、フラツグのない場合には数
値を入力せず、直接「ENTER」キーを押せば、
NCUNT=0であるので、FORMAT1が0に設
定される。
上述したフラツグ入力に続き、設定キーで手順
6のコード入力を行なう。これは、バーコードに
商品コードの何桁目を印字するかを入力するもの
であり、印字位置左側より上位から何桁目かを数
字で入力する。例えば、「1」「2」「3」「4」
「5」とキー入力する。この数値入力により第1
5図に示すようにKEY22の処理が行なわれる。
即ち、入力された数字が表示され、バーコードア
ドレスBARADRの示す番地に入力された数字が
順次格納され、NCUNTのカウント数が1加算
され、バーコードアドレスBARADRも次の
BARADRを指定する。そして、手順7の
「ENTER」キーを押すと、3回目であり、第2
2図に示すKEY42の処理が行なわれる。即ち、
FORMAT2にNCUNTにおけるコード桁数(例
えば5)が格納されて、このNCUNTが0にな
り、値段表示部8が滅灯する表示の状態とな
り、バーコード設定カウンタBCDSCTに1を加
算してリターンする。
次いで、設定キーで手順8に従いプライスチエ
ツクデイジツトPC/Dが有るか無いかを入力す
る。有れば「1」を、無ければ「0」を置数す
る。表3ではPC/Dがあり、「1」を置数した場
合を示す。これにより、第16図に示すように
KEY23の処理が行なわれ、入力された数字
「0」又は「1」の表示が行なわれる。そして、
手順9の「ENTER」キーを押すと、4回目であ
り、第23図に示すKEY43の処理が行なわれ
る。即ち、表示が1でなければPC/Dが無いこ
とになり、FORMAT3が0に設定されるが、1
であればPC/Dが有ることになり、FORMAT
3が1に設定され、バーコードアドレス
BARADRの示す番地BARCODに1が格納され、
BARADRは次の番地を指定する。そして、値段
表示部8の表示が減灯する表示の状態となり、
バーコード設定カウンタBCDSCTに1を加算し
てリターンする。
そして、手順10に従いプライスを印字するか重
量を印字するかを「P」又は「W」キーで入力す
る。これにより、第18図に示すようなKEY3
の処理となり、バーコード設定カウンタ
BCDSCTが5であることを条件に、「P」キーが
押されたのであれば、プライスということで
FORMAT5が0に設定される。一方、「W」キ
ーであれば、重量ということでFORMAT5が1
に設定される。そして、表示の状態になるが、
「P」キーの場合にはP、「W」キーの場合には0
と表示される。その後、PWフラツグ=1とされ
てリターンする。
このように、プライスか重量かを設定した後、
手順11に従いその数値内容を置数キーにて入力す
る(例えば、表3のように「4」「3」「2」
「1」)。このキー操作により、第17図に示す
KEY24の処理が行なわれる。即ち、PWフラツ
グ=1の下、入力された数字が表示され、
NCUNTの内容が1加算される。そして、手順
13の「ENTER」キーを押すと、5回目であり、
第24図に示すKEY44の処理が行なわれる。
即ち、PWフラツグが1でなければジヤンプする
が、1であれば表示されている数字をBARADR
の示す番地から順次格納し、FORMAT4に
NCUNTの内容(桁数)を格納する。ここで、
プライスチエツクデイジツトPC/Dが無ければ
そのまま、有ればNCUNT=4あるいは
NCUNT=5かをチエツクした後、FORMAT1
〜4の内容を加算してsとする。そして、このs
がFORMAT6の内容に等しいかチエツクし、等
しくなければ最初に入力したバーコード桁数と設
定入力した桁数とが一致しないことになり、エラ
ーとなる。等しければOKであり、フラツグ、カ
ウンタがすべてクリアされ、表示で示す初期表
示に戻り、バーコード設定カウンタBCDSCTに
1を加算して設定を終了する。
ところで、プライス又は重量の数値入力後、手
順12により設定キー、すなわち「C」キーにより
モジユールチエツクデイジツトを入力すると、第
25図に示すKEY25の処理となり、バーコー
ド設定カウンタBCDSCTの内容が5であること
を条件に、Cを表示する表示の状態になり、
NCUNTの内容が1加算される。
このようなリモートキーボード20におけるキ
ー22操作により、バーコードフオーマツトの設
定がなされるものである。
しかして、第26図に示すレシート発行モード
において、トータルレシート発行に引き続き、
FORMAT6の内容(桁数)が0でなければ、
BARCOD1〜13の内容及びFORMAT6の桁
数によりバーコードがレシートに印字される。
一方、すべて0設定すれば、FORMAT6の内
容も0となり、レシートにバーコード印字は行な
われない。よつて、バーコード印字が必要でない
場合にも容易に対処できる。
表4は表3と同様であるが、バーコードが8桁
の短縮バージヨンの場合のフオーマツト設定手順
の一例を示すものである。[Table] First, as shown in step 1, the setting is started by pressing the "B" key on the remote keyboard 20, and when the "B" key, which acts as a means to start this setting, is pressed, the barcode setting counter BCDSCT is set to 1. do. At this time, the display state is as follows. Input counter that shows how many characters are entered next
Set NCUNT to 0, clear all FORMATs 1 to 6 and BARCODs 1 to 13 shown in the RAM map of FIG. 9, and return. This is the KEY1 process based on the flowchart in Figure 10.
This is shown in Figure 1. Next, as in step 2, input the number of digits of the barcode format using the setting key. Now, assume that it is the 13-digit E version, and enter "1" and "3" using the keys. As a result, the flow becomes KEY2 in Figure 12, and when the content of the barcode setting counter BCDSCT is 1 to 5, KEY20 to KEY24 is set.
processing is executed. Currently, the content of the barcode setting counter BCDSCT is 1, so KEY20
processing is performed. This KEY20 process is performed as shown in Figure 13.
13) is displayed on the price display section 8. After inputting the number of digits, pressing the "ENTER" key shown in step 3 causes the processing of KEY4, and when the content of the barcode setting counter BCDSCT is 1 to 5, the processing of KEY40 to KEY44 is executed. Now the barcode setting counter
Since the content of BCDSCT is 1, the process moves to KEY 40 as shown in FIG. This KEY
40 is the number displayed as shown in Figure 20, that is, the number of digits in the barcode format.
After storing it in FORMAT6 in the RAM map, take the display state in Table 3 and write the counter NCUNT.
Set the contents to 0 and set the barcode setting counter.
Add 1 to BCDSCT and return. here,
If the number of digits is 0, the content of FORMAT6 is 0, so the process returns to the initial display shown in the display, the content of the barcode setting counter BCDSCT is set to 0, and the process returns. After pressing the "ENTER" key, move to step 4, flag input, using the setting key. Flag input is 1 digit or 2
This is a digit number, and is entered by key-inputting, for example, "0" or "2". This allows the KEY
2 processing, the second KEY21 is flagged, and as shown in Figure 14, after the input number (for example 02) is displayed, the input number counter is displayed.
Adds 1 to the contents of NCUNT and returns.
Then, by pressing the "ENTER" key according to step 5, the process moves to the second KEY41 during KEY4 processing. That is, as shown in FIG. 21, processing is performed depending on whether the content of the input number counter NCUNT is 1 or 2. First, if it is 1, it means that the number of flag digits is 1, and the displayed number is
After storing in BARCOD1, set the contents of FORMAT1 to 1, set the input number counter NCUNT to 0,
The following barcode address BARADR
Specify BARCOD2. After passing through the display state, 1 is added to the barcode setting counter BCDSCT and the process returns. On the other hand, if the content of NCUNT is not 1, it means that the number of flag digits is 2, and the displayed number is BARCOD1,
Store each in BARCOD2, set the contents of FORMAT1 to 2, set NCUNT to 0, specify barcode address BARADR to BARCOD3, display, and then return. Flag input is performed in this way, but if there is no flag, if you press the "ENTER" key directly without entering a value,
Since NCUNT=0, FORMAT1 is set to 0. Following the flag input described above, the code is input in step 6 using the setting key. This is to input the number of digits of the product code to be printed on the barcode, and the number of digits from the left side of the printing position is entered as a number. For example, "1""2""3""4"
Key in "5". By inputting this value, the first
As shown in FIG. 5, processing of KEY22 is performed.
In other words, the input numbers are displayed, the input numbers are sequentially stored at the address indicated by the barcode address BARADR, the count number of NCUNT is incremented by 1, and the barcode address BARADR is also set to the next address.
Specify BARADR. Then, when you press the "ENTER" key in step 7, it is the third time and the second
The processing of KEY 42 shown in FIG. 2 is performed. That is,
The number of code digits in NCUNT (for example, 5) is stored in FORMAT2, NCUNT becomes 0, the price display section 8 turns off, the barcode setting counter BCDSCT is incremented by 1, and the process returns. Next, use the setting key to input whether the price check digit PC/D is present or not according to step 8. If there is, set "1", otherwise set "0". Table 3 shows the case where there is PC/D and "1" is set. As a result, as shown in Figure 16,
The KEY 23 is processed and the input number "0" or "1" is displayed. and,
When the "ENTER" key in step 9 is pressed for the fourth time, the process of KEY 43 shown in FIG. 23 is performed. In other words, if the display is not 1, it means that there is no PC/D, and FORMAT3 is set to 0, but if the display is 1
If so, there is a PC/D, and the FORMAT
3 is set to 1, barcode address
1 is stored in the address BARCOD indicated by BARADR,
BARADR specifies the next address. Then, the display on the price display section 8 becomes a state where the light is dimmed,
Add 1 to the barcode setting counter BCDSCT and return. Then, according to step 10, input whether to print the price or weight using the "P" or "W" key. As a result, KEY3 as shown in Figure 18
will be processed, and the barcode setting counter will be
Provided that BCDSCT is 5, if the "P" key is pressed, it is a price.
FORMAT5 is set to 0. On the other hand, if you use the "W" key, FORMAT5 is 1 due to weight.
is set to Then, it will be in the display state,
P for "P" key, 0 for "W" key
is displayed. Thereafter, the PW flag is set to 1 and the process returns. In this way, after setting the price or weight,
Follow step 11 and enter the numerical value using the numeric keys (for example, "4", "3", "2" as shown in Table 3).
"1"). With this key operation, the
Processing of KEY24 is performed. That is, the entered number is displayed under the PW flag = 1,
The contents of NCUNT are incremented by 1. And the steps
When you press the "ENTER" key on number 13, it is the fifth time,
The processing of KEY 44 shown in FIG. 24 is performed.
In other words, if the PW flag is not 1, it will jump, but if it is 1, the displayed number will be BARADR.
Store sequentially from the address indicated by and save it to FORMAT4.
Stores the contents (number of digits) of NCUNT. here,
If there is no price check digit PC/D, leave it as is, if there is, NCUNT = 4 or
After checking whether NCUNT=5, FORMAT1
The contents of ~4 are added to give s. And this s
Check whether the barcode is equal to the contents of FORMAT 6, and if they are not equal, the number of digits of the barcode input at the beginning does not match the number of digits input by setting, and an error occurs. If they are equal, it is OK, all flags and counters are cleared, the display returns to the initial display, 1 is added to the barcode setting counter BCDSCT, and the setting is completed. By the way, if you input the module check digit using the setting key, that is, the "C" key in step 12 after inputting the value of price or weight, the process of KEY25 shown in Fig. 25 will occur, and the contents of the barcode setting counter BCDSCT will change to On the condition that
The contents of NCUNT are incremented by 1. The barcode format is set by operating the keys 22 on the remote keyboard 20 as described above. Therefore, in the receipt issuing mode shown in FIG. 26, following the total receipt issuing,
If the contents of FORMAT6 (number of digits) is not 0,
A barcode is printed on the receipt based on the contents of BARCOD1-13 and the number of digits in FORMAT6. On the other hand, if all are set to 0, the contents of FORMAT6 will also be 0, and no barcode will be printed on the receipt. Therefore, even when barcode printing is not necessary, it can be easily handled. Table 4 is similar to Table 3, but shows an example of the format setting procedure when the bar code is an 8-digit shortened version.
【表】【table】
【表】
発明の効果
本発明は、上述したようにバーコードフオーマ
ツト設定をキー入力により可能としたので、ユー
ザーの要求するすべてのバーコードフオーマツト
に容易に対処することができ、又、キー入力に際
して0入力させればバーコード印字を行なわせな
いことができ、バーコード印字が必要ない場合に
も容易に対処できるものである。[Table] Effects of the Invention As described above, the present invention makes it possible to set barcode formats by key input, so it is possible to easily handle all barcode formats requested by users. If 0 is entered at the time of input, barcode printing can be disabled, and it can be easily handled even when barcode printing is not required.
図面は本発明の一実施例を示すもので、第1図
は電子料金秤の斜視図、第2図はその表示部の正
面図、第3図は鍵スイツチ部分の正面図、第4図
はリモートキーボードの斜視図、第5図はそのキ
ー状態を示す平面図、第6図はブロツク図、第7
図及び第8図はメインフローのフローチヤート、
第9図はRAMマツプ、第10図ないし第25図
はバーコードフオーマツト設定のフローチヤー
ト、第26図はレシート発行のフローチヤートで
ある。
The drawings show one embodiment of the present invention; FIG. 1 is a perspective view of an electronic fare scale, FIG. 2 is a front view of the display section, FIG. 3 is a front view of the key switch part, and FIG. FIG. 5 is a perspective view of the remote keyboard, FIG. 5 is a plan view showing its key states, FIG. 6 is a block diagram, and FIG.
Figure 8 and Figure 8 are flowcharts of the main flow,
FIG. 9 is a RAM map, FIGS. 10 to 25 are flowcharts for barcode format setting, and FIG. 26 is a flowchart for issuing a receipt.
Claims (1)
イスチエツクデイジツト、全体のチエツクデイジ
ツトなどの要素との選択的な組合せからなる各種
のバーコードフオーマツトに対し、バーコードフ
オーマツトの設定を開始する設定開始手段と、バ
ーコードの桁数、フラグ、プライス、プライスチ
エツクデイジツト、全体のチエツクデイジツトな
どを設定入力する設定キーとを設け、この設定キ
ーにより入力されたフオーマツトを記憶する記憶
手段を設け、この記憶手段に記憶されたフオーマ
ツトに基づいてバーコードを印字する印字手段を
設けたことを特徴とするバーコードプリンタ付電
子料金秤。1 Start setting barcode formats for various barcode formats consisting of selective combinations of the number of barcode digits and elements such as flags, prices, price check digits, and overall check digits. A setting start means and a setting key for setting and inputting the number of barcode digits, flag, price, price check digit, overall check digit, etc. are provided, and a storage means is provided for storing the format input by the setting key. 1. An electronic fare scale with a barcode printer, characterized in that a printing means is provided for printing a barcode based on a format stored in the storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18519983A JPS6078315A (en) | 1983-10-05 | 1983-10-05 | Electronic charge scale with bar-code printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18519983A JPS6078315A (en) | 1983-10-05 | 1983-10-05 | Electronic charge scale with bar-code printer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6078315A JPS6078315A (en) | 1985-05-04 |
| JPH043311B2 true JPH043311B2 (en) | 1992-01-22 |
Family
ID=16166593
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP18519983A Granted JPS6078315A (en) | 1983-10-05 | 1983-10-05 | Electronic charge scale with bar-code printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6078315A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0491984B1 (en) * | 1990-12-24 | 1993-12-22 | Pall Corporation | Construction for joining two fluid system sections |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5755843A (en) * | 1980-09-09 | 1982-04-03 | Tokyo Electric Co Ltd | Weighing label dispenser with bar code printer |
-
1983
- 1983-10-05 JP JP18519983A patent/JPS6078315A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6078315A (en) | 1985-05-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4180206A (en) | Merchandise sales control system | |
| JP2882947B2 (en) | Registration device | |
| JPH043311B2 (en) | ||
| JP2012079136A (en) | Article sales data processing device | |
| JP4047952B2 (en) | Printer | |
| JPH0490095A (en) | electronic cash register | |
| JP2656975B2 (en) | Key input device | |
| JP2945204B2 (en) | Printer | |
| JPH074713Y2 (en) | Electronic cash register | |
| JP2000246970A (en) | Bar code printing machine and commodity processing apparatus equipped with the bar code printing machine | |
| JPH0373030B2 (en) | ||
| JPS59153259A (en) | Totalizing method in transaction processor | |
| JPS62240821A (en) | Label printer | |
| JPH0263067B2 (en) | ||
| JPS5840217B2 (en) | electronic cash register | |
| JP2546661B2 (en) | Electronic scales | |
| JP3001328B2 (en) | Product sales data processing device | |
| JPS5846462A (en) | Print processor of electronic cash register | |
| JPH09109477A (en) | Label printer | |
| JPS61895A (en) | Product sales data processing device | |
| KR920008393B1 (en) | How to check the information on each function key of the cash register | |
| JP2612651B2 (en) | Product data processing device | |
| JPH02259976A (en) | Barcodes and barcode printers | |
| JPH04349593A (en) | Product registration processing device | |
| JPS61282996A (en) | Transaction processor |