Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4408971B2 - Label printer - Google Patents
[go: Go Back, main page]

JP4408971B2 - Label printer - Google Patents

Label printer Download PDF

Info

Publication number
JP4408971B2
JP4408971B2 JP30406198A JP30406198A JP4408971B2 JP 4408971 B2 JP4408971 B2 JP 4408971B2 JP 30406198 A JP30406198 A JP 30406198A JP 30406198 A JP30406198 A JP 30406198A JP 4408971 B2 JP4408971 B2 JP 4408971B2
Authority
JP
Japan
Prior art keywords
date
data
label
month
day
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 - Fee Related
Application number
JP30406198A
Other languages
Japanese (ja)
Other versions
JP2000127569A (en
Inventor
三千秋 谷本
健司 三田尾
太一 小坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamato Scale Co Ltd
Original Assignee
Yamato Scale 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 Yamato Scale Co Ltd filed Critical Yamato Scale Co Ltd
Priority to JP30406198A priority Critical patent/JP4408971B2/en
Publication of JP2000127569A publication Critical patent/JP2000127569A/en
Application granted granted Critical
Publication of JP4408971B2 publication Critical patent/JP4408971B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Printers Characterized By Their Purpose (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、例えば前工程で計量、包装された商品の加工日、消費期限、重量等をラベルにプリントしてそのラベルを発行するラベルプリンタに関する。
【0002】
【従来の技術】
従来のこの種のラベルプリンタとしては、日付及び時刻を出力する時計ICと、この日付を品物の加工日として、この加工日と賞味日数とから消費期限を演算する演算部(CPU)と、品物の品名、加工日、及び消費期限(賞味期限とも言う。)等を表示する表示部と、品名、加工日、及び消費期限等を印字するプリンタと、を備えているものがある。
【0003】
しかし、上記従来のラベルプリンタは電子機器であるために、ラベルプリンタの使用中に電源の瞬時停電、電源ライン若しくはラベルプリンタに接続されているジャーナルプリンタ(集計された内容等を印字するためのプリンタ)等の接続線から外来ノイズ等が伝わり、内蔵されている時計ICの日付のデータが変わることがある。
従って、作業者は、ラベルプリンタの電源をONした時に表示部に表示されている日付をチェックする必要があるし、ラベルに加工日等をプリントする際にも表示部に表示されている加工日及び消費期限が正しいか否かをチェックする必要がある。更に、ラベルプリンタを使用中においても、表示部に表示されている加工日等、及びラベルにプリント(印字)された加工日等が正しいか否かを適宜チェックする必要がある。
【0004】
【発明が解決しようとする課題】
しかし、表示部に表示されている加工日及び消費期限、及びラベルに印字されているそれらをチェックするタイミングを、作業者自身によって管理させることは、作業者の不注意により完全を期し難いし、全てのラベルにプリントされた加工日等に誤りが無いことを作業者にチェックさせることは作業者に過大な負担を負わせることとなる。
つまり、従来のラベルプリンタでは、間違った加工日及び消費期限等の日付に関するデータがラベルにプリントされないように、作業者にそれらを所定のタイミングでチェックさせるための機能が施されていないし、ラベルプリンタ自身で加工日等を自動的にチェックする機能も施されていないという問題がある。
【0005】
本発明は、ラベルにプリントされる加工日等を予め自動的にチェックすることができるラベルプリンタを提供することを目的とする。
【0009】
【課題を解決するための手段】
第1の発明は、日付及び時刻を出力する時計部を内蔵し、この時計部から出力される月日を基に、ラベルに印字する月日データを演算部が演算し、演算された月日を含むデータをラベルにプリントすることができるラベルプリンタにおいて、前回のラベルにプリントした月日のデータである前回月日データ、及び次回のラベルにプリントする予定の月日のデータである次回月日データを記憶する記憶手段と、この記憶手段に記憶されている前回月日データと、前記次回月日データとが互いに一致しているか否かを判定する月日判定手段と、前回月日データが前記次回月日データと一致すると前記月日データ判定手段が判定したときのみ、前記次回月日データを含むデータを前記ラベルにプリントする印字手段とを、具備するものである。
【0010】
第2の発明は、第1の発明のラベルプリンタにおいて、前記月日判定手段が前記前回月日データと前記次回月日データとが互いに一致していないと判定したときに、前記前回月日データと前記次回月日データとを表示する表示手段を設けたものである。第3の発明は第1または第2の発明のラベルプリンタにおいて、上記月日は、加工日と消費期限であるものである。
【0012】
第1の発明によると、月日を含むデータをラベルにプリントするごとに、前回のラベルにプリントされた月日のデータと次回のラベルにプリントする予定の月日のデータを記憶手段に順次記憶しておき、前回と次回の月日のデータが互いに一致しているか否かを月日判定手段により判定することができる。
【0013】
第2の発明によると、月日判定手段が前回の月日のデータと次回の月日のデータとが互いに一致していないと判定したときに、前回と次回の各月日のデータを表示手段に表示させることができる。
第3の発明における加工日は、このラベルが付される品物が加工された月日であり、消費期限(賞味期限)は、この品物の加工日と賞味日数とから演算された月日である。この加工日と消費期限のデータをラベルにプリントすることができる。
【0014】
【発明の実施の形態】
本発明に係るラベルプリンタの一実施形態を各図を参照して説明する。このラベルプリンタは、例えば前工程で計量、包装された品物の重量、包装日等をラベルにプリント(以下、「印字」とも言う。)してそのラベルを発行するものである。この包装日とは、品物を例えばパックしてそのパックにラベルを貼り付けた日を言い、以下、加工日と言う。
図6は、ラベルプリンタの電気回路を示すブロック図である。
CPU1、ROM2、RAM3、品名マスタ記憶部4、及び時計部9は、図6に示すように、それぞれが互いに電気的に接続している。そして、CPU1、ROM2、RAM3、品名マスタ記憶部4、及び時計部9には、それぞれI/O21〜24を介して表示部5、入力部6、プリンタ7、及び鍵スイッチ8が電気的に接続している。
【0015】
CPU1は、このラベルプリンタを電気的にコントロールするマイクロプロセッサである。
ROM2は、ラベルプリンタを作動させるためのプログラムを記憶するリードオンリーメモリである。
RAM3は、ROM2に記憶されているプログラムの進行に伴って各種データが演算されて得られたその演算結果及び各種データ等を記憶するランダムアクセスメモリである。
品名マスタ記憶部4は、複数の各品名コードと対応させて品名、原材料、添加物、内容量、賞味日数等のデータからなる複数の品名マスターを記憶するものである。
時計部9は、プログラムに従って年月日及び時刻のデータを出力することができ、年月日等の各データの変更を行うことができるものである。
表示部5は、品名コード、品名、原材料、添加物、内容量、加工日、消費期限等の各種データを表示するものである。
入力部6は、各種データや命令等を入力するためのキーボードである。
プリンタ7は、ラベルに各種データ等を印字するものである。
【0016】
鍵スイッチ8は、ラベルプリンタの処理モードを切り換えるためのスイッチであり、処理モードには、プリントモード、記憶モード、プログラムモード、及び集計モードがある。
プリントモードは、ラベルに所望のデータ等を印字するためのモードである。記憶モードは、例えば品名マスターの各種データの登録、変更等を行うためのモードである。
プログラムモードは、例えばラベルに印字する内容の設定、変更、及び時計部9の年月日及び時刻のデータの変更等を行うためのモードである。
集計モードは、例えば品物の重量、金額等の小計及び合計を行い、集計内容を印字するためのモードである。
【0017】
図7は、時計部9の内容を示したものであり、年、月、日、時、分、秒を表す信号を出力するものである。例えば1998年8月1日15時00分00秒は、98,08,01,15,00,00を表す信号が出力される。
【0018】
図8は、RAM3の日付(年月日)データ、及び警報に関するレジスタを示している。
年月日レジスタ12は、時計部9の年月日データをリアルタイムに読み出して記憶するレジスタである。
時分レジスタ13は、時計部9の時分データをリアルタイムに読み出して記憶するレジスタである。
なお、年月日データ、及び時分データを読み出すタイミングは、割り込みプログラムで行っており、その割り込みのタイミングはタイマで行っている。このラベルプリンタがラベルに印字する時間は時分までであり、秒を印字していないので、その割り込みのタイミングを1秒間隔としている。
賞味日数レジスタ14は、品物の賞味日数データを記憶するレジスタである。賞味日数データは、品名コードが入力(設定)されたときに該当する品名マスタが読み出され、その品名マスタに含まれているものである。
消費期限レジスタ15は、消費期限データを記憶するレジスタである。消費期限データは、品名コードが入力されたときに、CPU1が該当する品名マスタを読み出して、その時の年月日レジスタ12に記憶されている年月日データと賞味日数レジスタ14に記憶されている賞味日数データとから算出した期限である。例えば、年月日データが1998年8月1日、賞味日数が30日とすると、消費期限データは1998年8月30日となる。賞味日数が1日とは、加工日の当日を言う。
消費期限を計算するタイミング(消費期限レジスタ15のデータを更新するタイミング)は、
(1)品名マスタの賞味日数が賞味日数レジスタ14に記憶されている状態では、年月日レジスタ12に年月日データが記憶されるごとのタイミングと、
(2)品名マスタの賞味日数が読み出され、賞味日数が賞味日数レジスタ14に記憶されるタイミングと、である。
【0019】
第1の加工日レジスタ16は、次(次回)のラベルに印字しようとする年月日データ、即ち、加工日データを記憶するレジスタである。ラベルに印字するプリントモードのプログラムを実行するとき、次のラベルに印字する前に年月日レジスタ12に記憶されている年月日データがこの第1の加工日レジスタ16に書き込まれる。
第2の加工日レジスタ17は、前(前回)のラベルに印字された加工日データを記憶するレジスタである。プリントモードのプログラムを実行して第1の加工日レジスタ16に記憶されている加工日データがラベルに印字された後に、第1の加工日レジスタ16に記憶されている加工日データが第2の加工日レジスタ17に書き込まれる。
第1の消費期限レジスタ18は、次(次回)のラベルに印字しようとする消費期限データを記憶するレジスタである。プリントモードのプログラムを実行するとき、次のラベルに印字する前に消費期限レジスタ15に記憶されている消費期限データがこの第1の消費期限レジスタ18に書き込まれる。
第2の消費期限レジスタ19は、前(前回)のラベルに印字された消費期限データを記憶するレジスタである。プリントモードのプログラムを実行して第1の消費期限レジスタ18に記憶されている消費期限データがラベルに印字された後に、第1の消費期限レジスタ18に記憶されている消費期限データが第2の消費期限レジスタ19に書き込まれる。
警報フラグ20は、第1と第2の加工日レジスタ16、17に記憶されている2つの加工日データが一致しているか否かの判定が行われ、一致していないと判定されたとき、及び第1と第2の消費期限レジスタ18、19に記憶されている2つの消費期限データが一致しているか否かの判定が行われ、一致していないと判定されたときにエラーを示すものである。
【0020】
図9は、品名マスタ記憶部4に記憶されている品名マスタの内容を示す図である。品名マスタは、品名コード、品名、原材料・添加物、内容量、及び賞味日数で構成されている。
図10は、プリントモードにおいて、表示部5に表示されたデータ及び計算結果を示す図である。図10に示す内容は、品名コードを入力して図3に示すステップS300の処理が終了したときに表示される。上から品名コード、品名、原材料・添加物、内容量、加工日(第1の加工日レジスタ16に記憶されている加工日データ)、賞味日数、消費期限(第1の消費期限レジスタ18に記憶されている消費期限データ)、及び時刻(時分レジスタ13に記憶されている時刻)が表示されている。この表示がされている時に入力部6のラベル印字キー(ラベル発行キー)を押すと、この表示の内容をラベルに印字することができる。
【0021】
図11は、時計部9が出力する年月日及び時分データ(年月日及び時分レジスタ12、13に記憶されているデータ)を表示部5が表示しており、その年月日等のデータを作業者に確認するように表示している状態を示している。図11に示す内容は、
(1)電源をONにして図1に示すステップS108が処理される段階と、
(2)プリントモード以外のモードからプリントモードに切り替わったときであって、図2に示すステップS210が処理される段階と、で表示される。
ラベルプリンタの電源をONにしたときは、始業点検の際に時計部9が出力する年月日等のデータを表示部5に自動的に表示して、これにより作業者に対して年月日等のデータが正しいか否かの判定を強制的に行わせることができるようにしている。
プリントモード以外のモードからプリントモードに切り替わったときとしたのは、時計部9の年月日等のデータの書き換えはプログラムモードで行うことができるので、プリントモード以外のモードからプリントモードに切り替わったときは、年月日等のデータが書き換えられている可能性があるので、この時も、作業者に対して年月日等のデータが正しいか否かの判定を強制的に行わせることができるようにしている。
そして、図11に示すように、年月日等のデータと共に、この年月日等のデータが正しいか否かの判定内容を入力すべき旨のメッセージも表示している。この時、Yesキー(入力部6のラベル発行キー)、及びNoキー(入力部6の消キー)以外のキーを操作しても命令を入力できないようになっているので、作業者に対して年月日等のデータの判定を確実に行わせることができ、年月日等のデータの必要な修正を確実に行わせることができる。入力部6のYesキーを押すと、ラベルに印字ができるステージ(ステップ)に進むことができるが、Noキーを押すと、時計部9の年月日、時刻のデータの変更を指示する図12に示す表示が表示部5に表示される(S114、S220)。また、プログラムモードに切り換えて時計部9の年月日、時刻のデータを変更すると、プリントモードに戻ったときに図11に示す内容が表示部5に表示され(S210)、変更後の年月日、時刻のデータを確認することができる。
【0022】
図13は、時計部9の年月日等のデータを変更した後に品名コードを入力した場合に、ステップS414の段階で加工日及び消費期限データを表示部5に表示される内容を示しており、作業者に対して加工日及び消費期限データが正しいか否かの判定を強制的に行わせることができるようにしている。なお、ステップS416では、確認キーが押されたか否かを判定しているが、この判定は、時計部9の年月日データが変更されていない場合に行われる(確認キーが表示されている図は示さない。)。しかし、時計部9の年月日データが変更されている場合は、図13に示すように、加工日及び消費期限データが正しいか否かの判定内容を入力するためのYesキー又はNoキーを押す旨のメッセージを表示することとしている(フローチャートには示していない。)。
【0023】
図14は、プリントモードにおいて、警報フラグ20がONとなったときに、表示部5が表示する内容を示す図である。つまり、直前ラベル印字データとは、第2の加工日レジスタ及び消費期限レジスタ17、19に記憶されている加工日及び消費期限データであり、前回のラベルに既に印字されたデータである。ラベル印字データとは、第1の加工日レジスタ及び消費期限レジスタ16、18に記憶されている加工日及び消費期限データであり、次回のラベルに印字することを予定しているデータである。
図14は、ラベル印字データの加工日が、本来であれば「8月」であるべきところが例えば外来ノイズ等により「9月」に変更されている状態を示している。つまり、加工日及び消費期限が同じ内容のデータを所定の枚数のラベルに順次印字する場合、次のラベルに印字しようとする加工日又は消費期限データが前のラベルに印字したデータと相違しているときは、図14に示す表示を行い、作業者に誤っているデータを修正するように警告することができる。そして、この表示がされると印字を自動的に中断させて、誤ったデータがラベルに印字されないようにすることができる。
また、深夜にこのラベルプリンタを使用していて時計部9の年月日データ(日付)が変更して加工日及び消費期限データが変更した場合は、図15に示す表示が行われ、その変更された内容を作業者に知らせることができる。
【0025】
請求項1に記載の記憶手段は、図8に示す第1及び第2の加工日レジスタ16、17、並びに第1及び第2の消費期限レジスタ18、19であり、月日判定手段は、後述する図5に示すステップS508、S510の各ステップと対応している。月日判定手段は、第1と第2の加工日レジスタ16、17に記憶されている2つの加工日データが一致しているか否かを判定すると共に(S508)、第1と第2の消費期限レジスタ18、19に記憶されている2つの消費期限データが一致しているか否かを判定する手段である(S510)。
請求項2に記載の表示手段が表示する内容は図14、図15に示すものであり、この表示は図5に示すステップS520が処理される段階で表示される。ステップS520は、月日判定手段が、第1と第2の加工日レジスタ16、17に記憶されている2つの加工日データが一致していないと判定したとき、又は第1と第2の消費期限レジスタ18、19に記憶されている2つの消費期限データが一致していないと判定したときに、図14、図15に示すように、前回と次回の各加工日データ及び各消費期限データを表示する処理を行うステップである。そして、図14、図15に示すように、確認すべき加工日及び消費期間の領域を網かけしたような表示をして目立つようにしてあり、作業者か確認し易いようにしてある。図13に示す表示も同様に、確認すべき加工日及び消費期間の領域を網かけして目立つようにしてある。網かけする代わりに、確認すべき領域を枠で囲んだり、白黒反転表示したりしてもよいし、その領域と他の領域を色分けしてもよい。
【0026】
次に、上記のように構成されたラベルプリンタがラベルに所定の内容を印字する手順、及び年月日、時刻、加工日、及び消費期限のチェックについて、図1乃至図5に示すフローチャートを参照して説明する。
図1は、ラベルプリンタの電源をONした際の時計部9の年月日、及び時刻データのチェックを行う手順を示す。まず、作業者が電源をONにすると(S100)、CPU1がI/O21〜24、レジスタ12〜19等の初期化をする(S102)。次に、CPU1が時計部9の年月日、時刻データを年月日レジスタ12及び時分レジスタ13に書き込む(S104)。そして、年月日、時刻の日付チェックの指令がされているか否かを判定し(S106)、日付チェックの指令がされておりYESと判定したときは、表示部5に図11に示す年月日、時刻等を表す内容を表示させる(S108)。表示部5が図11に示す年月日、時刻等を表示する状態では、作業者が年月日等のデータが正しいか否かを判定(チェック)して、作業者がYesキー(ラベル発行キー)又はNoキー(消キー)を押すまでCPU1は次の処理を行うことができず、作業者が年月日等が正しいと判定してYesキーを押すとステップS200に進む(S110、S112)。
【0027】
ただし、ステップS106において、日付チェックの指令(設定)がされておらずNOと判定したときは、年月日等の表示を行わず次のステップS200に進む。
そして、ステップS112において、作業者が年月日等のデータが誤っていると判定してNoキーを押すと、表示部5が、図12に示すように年月日等のデータを調整すべき旨のメッセージを表示してステップS200に進む(S114)。
このように、ラベルプリンタの電源をONした際に、作業者に対して時計部5の年月日等のデータが正しいか否かの判定を強制的に行わせることができるようにしているので、作業者の注意力に頼らなくても年月日等のデータのチェックを確実に行わせることができる。
【0028】
次に、CPU1は、鍵スイッチ8の位置がプリントモードであるか否かを判定する(S200)。つまり、ステップS112において、作業者が年月日等が誤っていると判定してNoキーを押した場合は、時計部9の年月日等のデータの調整を行うために、鍵スイッチ8の位置をプログラムモードにする必要があるが、ステップS112において、作業者が年月日等が正しいと判定してYesキーを押した場合は、その年月日等のデータをラベルに印字することができるので、鍵スイッチ8の位置をプリントモードする。
ここで、まず、ステップS112において、作業者がNoキーを押し、鍵スイッチ8の位置をプログラムモードにして、時計部9の年月日等のデータの調整を行う場合の手順を説明する。従って、ステップS200において、CPU1がNOと判定して、作業者がプログラムモードで時計部9の年月日等のデータの調整を行い(S202)、この調整が終了するとCPU1が日付チェックフラグ(図示せず)をONにして(S204)、ステップS200に戻る。
【0029】
これで時計部9の年月日等のデータの調整が終了したので、作業者が鍵スイッチ8の位置をプリントモードに切り換える(S200)。すると、ステップS200でYESと判定し、日付チェック有りであるのでステップS206でYESと判定し、日付チェックフラグがONであるか否かを判定する(S208)。この日付チェックフラグがONであるか否かを判定するのは、日付チェックフラグがONでありYESと判定した場合は、時計部9の年月日等のデータの調整が行われた可能性があるので次のステップS210〜S214で更に年月日等のデータが正しいか否かの判定の処理を行うことができるようにするためである。そして、日付チェックフラグがOFFでありNOと判定した場合は、ステップS108〜S112で年月日等のデータの判定(チェック)を行っているので再度の判定を行わずに、ラベルに年月日等のデータを印字する処理を行う(S218)ことができるようにするためである。
【0030】
なお、ステップS210〜S214の処理は、ステップS108〜S112の処理と同等であるのでその説明を省略する。
そして、ステップS214において、作業者が年月日等のデータが正しいと判定してYesキーを押しCPU1がYESと判定した場合は、日付チェックフラグをOFFにして(S216)、ラベルに年月日等のデータを印字する処理を行い(S218)、ステップS200に戻る。
また、ステップS214において、作業者が年月日等のデータが誤っていると判定してNoキーを押しCPU1がNOと判定した場合は、表示部5が、図12に示すように年月日等のデータを調整すべき旨のメッセージを表示してステップS200に進む(S220)。そして、上記と同様にして、ステップS202にて時計部9の年月日等のデータの調整を行う。
このように、鍵スイッチ8の位置がプリントモード以外のモードからプリントモードに切り換えられた際に、作業者に対して時計部5の年月日等のデータが正しいか否かの判定を強制的に行わせることができるようにしているので、作業者の注意力に頼らなくても年月日等のデータのチェックを確実に行わせることができる。
【0031】
次に、ラベルに印字するステップS218の処理の内容を図3を参照して説明する。まず、作業者が印字しようとする品物の品名コード等の印字するデータの内容及び書式等を入力部6を操作して入力する(S300)。そして、印字(プリント)するラベルの枚数を設定してラベル印字キーを押す(S302、S304)。ラベル印字キーは、印字を開始させるコマンドキーである。すると、CPU1は印字しようとするラベルの残りの枚数が0であるか否かを判定し(S306)、ラベルの残り枚数が0でなくNOと判定したときは、自動プリントに設定されているか否かを判定する(S308)。このラベルプリンタは、予め設定されている枚数のラベルを連続して自動的に印字させる自動プリント設定と、作業者がラベル発行キーを押すたびにラベルを1枚ずつ印字する手動プリント設定と、があり、これらの設定は予め設定することができる。つまり、ステップS308において、CPU1が自動プリントに設定されておりYESと判定したときは、印字したラベルを送り出すことができるように、前回の印字済みラベルが台紙から剥離されたか否かを判定し(S312)、印字済みラベルが台紙から剥離されておりYESと判定したときに今回のラベルに印字を行い、この印字済みラベルを送り出す(S314)。そして、予め設定されている印字しようとするラベルの枚数から印字済みラベルの枚数を減算して、印字しようとするラベルの残りの枚数を算出する(S316)。しかる後に、ステップS306に戻り、ラベルの残りの枚数が0であるか否かを判定し、残りの枚数が0になるまで上記と同様にしてラベルに印字を行い(S306〜S316)、残りの枚数が0になった時に印字を終了して、図2に示すステップS200に進む。
【0032】
ただし、ステップS308において、手動プリントに設定されておりNOと判定した場合は、作業者によりラベル発行キーが押されたか否かを判定し(S310)、ラベル発行キーが押された後に、自動プリントの場合と同様にして、前回の印字済みラベルが台紙から剥離されるのを待ってそれ以降の処理を順次行う。このようにしてラベルに印字することができる。
【0033】
次に、作業者が印字しようとする品物の品名コード等のデータを入力したとににCPU1が行う処理の内容、即ちステップS300の内容を図4を参照して説明する。まず、作業者が品名コードを入力すると(S400)、CPU1がその品名コードを品名マスタ記憶部4に記憶されているものの中から検索する(S402)。そして、検索の結果、その品名コードのデータが存在するか否かを判定し(S404)、データが存在してYESと判定したときはその品名コードと対応する品名マスタのデータを読み出し(S406)、データが存在せずNOと判定したときはこのプログラムを終了する。そして、別の品名コードが入力できる状態となる。そして、品名マスタの各データが読み出されると、その読み出された各データはそれぞれ対応するレジスタに記憶され、賞味日数は賞味日数レジスタ14に書き込む(S408)。そして、年月日レジスタ12及び賞味日数レジスタ14に記憶されている年月日データと賞味日数データとを加算して消費期限を算出し、その算出した消費期限データを消費期限レジスタ15に書き込む(S410)。
【0034】
次に、日付をチェックするように設定されているか否かを判定し(S412)、日付をチェックするように設定されておらずNOと判定したときは、時計部9の年月日、時刻データの表示及びチェックを行わずに図3に示す次のステップS302以降の処理を行う。そして、ステップS412において、日付をチェックするように設定されておりYESと判定したときは、時計部9の年月日、時刻データを表示部5に表示する(S414)。次に、作業者がこの表示された年月日等のデータが正しいか否かを判定して、正しいと判定して入力部6の確認キーを押すと、CPU1が日付、時刻表示を消して図10に示す品名マスタの内容を表示部5に表示させ(S416、S418)、しかる後に、ステップS302に進む。
ただし、ステップS414において時計部9の年月日、時刻データを表示部5に表示させるが、その表示内容は、図11に示す内容において、「Yesキー又はNoキーを押して下さい。」と表示する代わりに、「確認キーを押して下さい。」と表示するようにしている(図示せず)。ここで、表示されている年月日等のデータが誤っていると作業者が判定した場合は、プログラムモードに切り換えて時計部9の年月日等のデータの調整を行うことができる。そして、このようにして、時計部9の年月日データを変更した後に品名コードを入力した場合には、ステップS414の段階で図13に示すように、加工日及び消費期限データが表示部5に表示される。
【0035】
次に、CPU1が加工日等のデータをラベルに印字する手順、及びその際の加工日等をチェックする手順、即ちステップS314の内容を図5を参照して説明する。まず、CPU1が年月日レジスタ12に記憶されている年月日データを第1の加工日レジスタ16に書き込み(S500)、消費期限レジスタ15に記憶されている消費期限データを第1の消費期限レジスタ18に書き込む(S502)。そして、日付チェックをするように設定されているか否かを判定すると共に(S504)、日付(加工日等の年月日データ)の印字がされるように設定されているか否かを判定する(S506)。ここで、日付をチェックするように設定されておらずNOと判定したとき、又は日付の印字がされるように設定されておらずNOと判定したときは、ステップS508及びS510の加工日及び消費期限データのチェックを行わずに、次のステップS512以降の印字等の処理を行う。そして、ステップS504及びS506において、日付をチェックするように設定されており、かつ、日付の印字がされるように設定されており、いずれもYESと判定したときは、第1と第2の各加工日レジスタ16、17に記憶されている2つの加工日データが一致しているか否かを判定する(S508)。そして、2つの加工日データが一致しておりYESと判定したときは、第1と第2の各消費期限レジスタ18、19に記憶されている2つの消費期限データが一致しているか否かを判定する(S510)。そして、第1と第2の加工日データが一致しておりYESと判定し、かつ、第1と第2の消費期限データが一致しておりYESと判定したときに、予め設定されている例えば図10に示す内容のデータをラベルに印字する(S512)。
ただし、第1と第2の加工日データが一致しておらずNOと判定したとき、又は第1と第2の消費期限データが一致しておらずNOと判定したときは、警報フラグをONにして(S518)、表示部5に例えば図14に示す内容を表示させてこのプログラムを終了する。そして、プログラムモードに切り換えて時計部9の年月日等のデータを調整した後にラベルに印字を行うことができる。
【0036】
このように、第1の加工日レジスタ16及び消費期限レジスタ18に記憶されている次のラベルに印字しようとする加工日及び消費期限データと、第2の加工日レジスタ17及び消費期限レジスタ19に記憶されている前のラベルに印字された加工日及び消費期限データと、がそれぞれ対応するものどうしが互いに一致しているか否かを判定して、加工日及び消費期限データの対応するものどうしが互いに一致している場合にそのデータをラベルに印字しているので、ラベル1枚ごとに加工日及び消費期限データのチェックを行うことができ、ラベルには常に正しい加工日及び消費期限データを印字することができる。従って、例えば複数の枚数のラベルに同じ日付の加工日等を印字している時に、外来ノイズ等により第1と第2の加工日レジスタ16、17等に記憶されている加工日等のデータの対応するものどうしが互いに一致しない状態となった場合に、自動的にその異常を検出してラベルの印字を中断させて、その異常を表示部5に表示して作業者に知らせることができる。そして、異常を知らせる場合は、図13乃至図15に示すように、確認すべき加工日及び消費期間のデータを表示する領域を網かけ、又は白黒反転表示して目立つようにしてあるので、その旨を確実に作業者に知らせることができる。
【0037】
そして、ステップS512において印字処理を行った後に、第1の加工日レジスタ16に記憶されている今回印字された加工日データを第2の加工日レジスタ17に書き込むと共に(S514)、第1の消費期限レジスタ18に記憶されている今回印字された消費期限データを第2の消費期限レジスタ19に書き込み(S516)。しかる後に、ステップS316に進み各ステップの処理を行う。
【0038】
また、ステップS106、S206、S412、及びS504において、日付をチェックする設定がされているか否かの判定を行い、日付のチェックの設定がされていない場合は、表示部5に加工日等のデータを表示させないこととしているので、その場合は、作業者は加工日等のデータの不要なチェックをすることなく、ラベルプリンタは印字処理のステップを順次進めることができ、プリント時間の短縮を図ることができる。
更に、ステップS506では、日付の印字が設定されているか否かを判定しているので、日付をチェックする設定がされている場合でも、日付を印字しないときは、不要な日付のチェックを行わずに順次ラベルプリンタの印字処理のステップを進めることができる。
【0042】
【発明の効果】
第1の発明は、月日を含むデータをラベルにプリントするごとに、前回のラベルにプリントした月日のデータと次回のラベルにプリントする予定の月日のデータとが互いに一致しているか否かを月日判定手段により順次判定することができる構成である。従って、例えばこのラベルプリンタにより月日を含むデータをラベルに順次プリントしている最中に、外来ノイズによって作業者が気付かない状態で月日のデータが変更された場合でも、その変更を自動的に確実に月日判定手段が判定することができる。これにより、このラベルプリンタによると、ラベルにプリントされた月日をラベル1枚ごとに自動的にチェックして、誤った月日のデータがラベルにプリントされないようにすることができる。
【0043】
第2の発明によると、月日判定手段が前回の月日のデータと次回の月日のデータとが互いに一致していないと判定したときに、前回と次回の各月日のデータを表示手段に表示させることができるので、作業者は、表示手段に表示されている互いに相違する前回と次回の各月日のデータを目で簡単に確認することができる。従って、次回の月日のデータが誤っている場合は、そのデータの変更を確実に行うことができる。
【0044】
第3の発明によると、加工日と消費期限のデータをラベルにプリントすることができるラベルプリンタに第1乃至第5の各発明を適用することにより、加工された品物に対して、誤った加工日及び消費期限がプリントされないようにすることができ、これにより、このラベルが付された品物を販売する者の業務上の信用の維持を図ることができる。
【図面の簡単な説明】
【図1】この発明の一実施形態に係るラベルプリンタの電源をONした際の時計部の年月日等のデータのチェックを行う手順を示すフローチャートである。
【図2】同実施形態のラベルプリンタのモードをプリントモードに切り換えた際の時計部の年月日等のデータのチェックを行う手順を示すフローチャートである。
【図3】図2に示すステップS218の処理の内容を示すフローチャートである。
【図4】図3に示すステップS300の処理の内容を示すフローチャートである。
【図5】図3に示すステップS314の処理の内容を示すフローチャートである。
【図6】同実施形態のラベルプリンタの電気回路を示すブロック図である。
【図7】同実施形態の時計部が出力する年月日等のデータを示す図である。
【図8】同実施形態のRAMの日付等に関するレジスタを示す図である。
【図9】同実施形態の品名マスタ記憶部の品名マスタを記憶する部分の内容を示す図である。
【図10】同実施形態のラベルプリンタがプリントモードにおいて表示部が印字内容を表示している状態を示す図である。
【図11】同実施形態の表示部が年月日等のデータのチェックを求めるための表示を行っている状態を示す図である。
【図12】同実施形態の表示部が時計部の年月日等のデータの変更を指示する表示を行っている状態を示す図である。
【図13】品名マスタを読み出したときに同実施形態の表示部が時計部の変更された年月日等のデータのチェックを求めるための表示を行っている状態を示す図である。
【図14】同実施形態の表示部が加工日について警報する表示を行っている状態を示す図である。
【図15】同実施形態のラベルプリンタにおいて日付が代わり加工日等を変更したことを表示部が警報する表示を行っている状態を示す図である。
【符号の説明】
1 CPU
2 ROM
3 RAM
4 品名マスタ記憶部
5 表示部
6 入力部
7 プリンタ
8 鍵スイッチ
9 時計部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a label printer that prints, for example, the processing date, expiry date, weight, and the like of a product weighed and packaged in a previous process and issues the label.
[0002]
[Prior art]
A conventional label printer of this type includes a clock IC that outputs a date and time, a calculation unit (CPU) that calculates the expiration date from the date of processing and the number of days of expiration, using the date as the processing date of the product, There are display units for displaying the product name, processing date, expiry date (also referred to as the expiration date), and a printer for printing the product name, processing date, expiry date, and the like.
[0003]
However, since the above-described conventional label printer is an electronic device, an instantaneous power failure during use of the label printer, a journal printer connected to the power supply line or the label printer (printer for printing aggregated contents, etc.) ) Etc., external noise etc. may be transmitted and the date data of the built-in clock IC may change.
Therefore, the operator needs to check the date displayed on the display unit when the label printer is turned on, and the processing date displayed on the display unit when printing the processing date etc. on the label. It is necessary to check whether the expiration date is correct. Furthermore, even when the label printer is in use, it is necessary to check appropriately whether the processing date displayed on the display unit and the processing date printed on the label are correct.
[0004]
[Problems to be solved by the invention]
However, it is difficult for the operator himself to manage the processing date and expiry date displayed on the display unit, and the timing for checking those printed on the label, due to the carelessness of the operator. Allowing the operator to check that there are no errors in the processing dates printed on all the labels puts an excessive burden on the operator.
In other words, the conventional label printer does not have a function for causing an operator to check data at a predetermined timing so that data relating to wrong processing date and expiration date is not printed on the label. There is a problem that the function of automatically checking the processing date is not provided.
[0005]
  The present inventionA label printer that can automatically check the processing date etc. printed on the label in advanceThe purpose is to provide.
[0009]
[Means for Solving the Problems]
  The first invention has a built-in clock unit that outputs the date and time, and based on the month and date output from the clock unit, the calculation unit calculates the month and day data to be printed on the label, and the calculated month and day In a label printer that can print data includinglabelStorage means for storing the previous month and day data that is printed on the date and the next month and day data that is scheduled to be printed on the next label, and the previous month stored in the storage means When the date data determining means determines whether the date data and the next date data match each other, and the date data determining means determines that the previous date data matches the next date data. And a printing means for printing data including the next month date data on the label.
[0010]
  The second invention isOf the first inventionIn label printer,The month / day determination means determines whether the previous month / day data and the next month / day data areWhen it is determined that they do not match each other,The previous month date data and the next month date dataDisplay means to displayIt is provided. The third invention is,Of the first or second inventionIn label printers, the above date is the processing date and expiry date.Is.
[0012]
  According to the first invention,Every time data including the month and day is printed on the label, the date and time data printed on the previous label and the date and time scheduled to be printed on the next label are sequentially stored in the storage means. It can be determined by the month / day determination means whether or not the data of the month / day match.
[0013]
  Second inventionAccording to the above, when the date determination means determines that the previous month date data and the next month date data do not match each other, the previous and next month date data is displayed on the display means. Can do.
  Third inventionThe processing date in is the date on which the item with this label is processed, and the expiry date (expiration date) is the date calculated from the processing date of this item and the number of best days. This processing date and expiration date data can be printed on the label.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of a label printer according to the present invention will be described with reference to the drawings. In this label printer, for example, the weight of the product weighed and packaged in the previous process, the date of packaging, and the like are printed on a label (hereinafter also referred to as “printing”) and the label is issued. This wrapping date refers to the date when an item is packed, for example, and a label is attached to the pack, and hereinafter referred to as a processing date.
FIG. 6 is a block diagram showing an electric circuit of the label printer.
As shown in FIG. 6, the CPU 1, the ROM 2, the RAM 3, the product name master storage unit 4, and the clock unit 9 are electrically connected to each other. The display unit 5, input unit 6, printer 7, and key switch 8 are electrically connected to the CPU 1, ROM 2, RAM 3, product name master storage unit 4, and clock unit 9 via I / Os 21 to 24, respectively. is doing.
[0015]
The CPU 1 is a microprocessor that electrically controls the label printer.
The ROM 2 is a read-only memory that stores a program for operating the label printer.
The RAM 3 is a random access memory that stores calculation results obtained by calculating various data as the program stored in the ROM 2 progresses, various data, and the like.
The product name master storage unit 4 stores a plurality of product name masters composed of data such as product names, raw materials, additives, contents, and best days in association with a plurality of product name codes.
The clock unit 9 can output the date and time data according to the program, and can change each data such as the date.
The display unit 5 displays various data such as a product name code, product name, raw material, additive, content, processing date, expiration date, and the like.
The input unit 6 is a keyboard for inputting various data and commands.
The printer 7 prints various data on a label.
[0016]
The key switch 8 is a switch for switching the processing mode of the label printer. The processing modes include a print mode, a storage mode, a program mode, and a totaling mode.
The print mode is a mode for printing desired data or the like on the label. The storage mode is a mode for registering and changing various data of the product name master, for example.
The program mode is a mode for setting or changing the content to be printed on the label, changing the date and time data of the clock unit 9, and the like.
The tabulation mode is a mode for printing the contents of tabulation, for example, by subtotaling and summing up the weight and amount of goods.
[0017]
FIG. 7 shows the contents of the clock unit 9 and outputs signals representing the year, month, day, hour, minute, and second. For example, at 15:00 on August 1, 1998, a signal representing 98, 08, 01, 15, 00, 00 is output.
[0018]
FIG. 8 shows the date (year / month / day) data of the RAM 3 and a register relating to the alarm.
The year / month / day register 12 is a register that reads and stores the date / time data of the clock unit 9 in real time.
The hour / minute register 13 is a register that reads and stores the hour / minute data of the clock unit 9 in real time.
Note that the timing for reading the year / month / day data and the hour / minute data is performed by an interrupt program, and the timing of the interrupt is performed by a timer. The label printer prints on the label up to the hour and minute, and does not print the second, so the interrupt timing is set at 1 second intervals.
The best day register 14 is a register for storing the best day data of the product. In the best day data, the corresponding product name master is read when the product name code is input (set), and is included in the product name master.
The expiration date register 15 is a register that stores expiration date data. The expiry date data is stored in the date / date data stored in the date / date register 12 and the best-of-satisfaction date register 14 when the CPU 1 reads the corresponding product name master when the product name code is input. This is the deadline calculated from the best-before date data. For example, if the date data is August 1, 1998 and the best-before date is 30 days, the expiration date data is August 30, 1998. The best day is the day of the processing date.
The timing for calculating the expiration date (timing for updating the data in the expiration date register 15) is as follows:
(1) In the state in which the best days of the product name master are stored in the best days register 14, the timing every time the date data is stored in the date register 12,
(2) The timing when the best day of the product name master is read and the best day is stored in the best day register 14.
[0019]
The first processing date register 16 is a register for storing date data to be printed on the next (next) label, that is, processing date data. When the print mode program for printing on the label is executed, the year / month / day data stored in the year / month / day register 12 is written in the first processing date register 16 before printing on the next label.
The second processing date register 17 is a register for storing processing date data printed on the previous (previous) label. After the print mode program is executed and the processing date data stored in the first processing date register 16 is printed on the label, the processing date data stored in the first processing date register 16 is changed to the second processing date data. It is written in the processing date register 17.
The first expiration date register 18 is a register that stores expiration date data to be printed on the next (next) label. When the program in the print mode is executed, the expiration date data stored in the expiration date register 15 is written into the first expiration date register 18 before printing on the next label.
The second expiration date register 19 is a register that stores expiration date data printed on the previous (previous) label. After the print mode program is executed and the expiration date data stored in the first expiration date register 18 is printed on the label, the expiration date data stored in the first expiration date register 18 is changed to the second expiration date data. It is written in the expiration date register 19.
The warning flag 20 is determined whether or not the two processing date data stored in the first and second processing date registers 16 and 17 match, and when it is determined that they do not match, A determination is made as to whether or not the two expiration date data stored in the first and second expiration date registers 18 and 19 match, and an error is indicated when it is determined that they do not match It is.
[0020]
FIG. 9 is a diagram showing the contents of the product name master stored in the product name master storage unit 4. The product name master is composed of a product name code, a product name, raw materials / additives, content, and best days.
FIG. 10 is a diagram showing data and calculation results displayed on the display unit 5 in the print mode. The contents shown in FIG. 10 are displayed when the product name code is input and the process of step S300 shown in FIG. 3 is completed. From above, product name code, product name, raw materials / additives, content, processing date (processing date data stored in the first processing date register 16), best days, expiration date (stored in the first expiration date register 18) Displayed), and the time (the time stored in the hour / minute register 13) are displayed. If the label printing key (label issuing key) of the input unit 6 is pressed while this display is being made, the contents of this display can be printed on the label.
[0021]
In FIG. 11, the display unit 5 displays the date and hour / minute data (data stored in the year / month / day and hour / minute registers 12 and 13) output from the clock unit 9. The data is displayed so that the operator can confirm the data. The contents shown in FIG.
(1) A stage where step S108 shown in FIG.
(2) Displayed when the mode is switched from the mode other than the print mode to the print mode and the step S210 shown in FIG. 2 is processed.
When the power of the label printer is turned on, the data such as the date and time output from the clock unit 9 at the start of work inspection is automatically displayed on the display unit 5, thereby providing the operator with the date Thus, it is possible to forcibly determine whether or not the data is correct.
When switching from a mode other than the print mode to the print mode, the data such as the date of the clock unit 9 can be rewritten in the program mode, so the mode other than the print mode is switched to the print mode. Sometimes, data such as date may have been rewritten. At this time, the operator may be forced to determine whether the data such as date is correct. I can do it.
Then, as shown in FIG. 11, a message indicating that the determination contents as to whether the data such as the date is correct is to be input is displayed together with the data such as the date. At this time, even if a key other than the Yes key (label issuing key of the input unit 6) and the No key (erase key of the input unit 6) is operated, an instruction cannot be input. Data such as date can be reliably determined, and necessary correction of data such as date can be reliably performed. When the Yes key of the input unit 6 is pressed, it is possible to proceed to a stage (step) where printing can be performed on the label, but when the No key is pressed, an instruction to change the date / time data of the clock unit 9 is given. Is displayed on the display unit 5 (S114, S220). If the date and time data of the clock unit 9 is changed by switching to the program mode, the contents shown in FIG. 11 are displayed on the display unit 5 when returning to the print mode (S210). Date and time data can be confirmed.
[0022]
FIG. 13 shows the contents displayed on the display unit 5 with the processing date and the expiration date data at the stage of step S414 when the product name code is input after changing the data such as the date of the clock unit 9. The operator can be forced to determine whether the processing date and the expiration date data are correct. In step S416, it is determined whether or not the confirmation key has been pressed. This determination is performed when the date data of the clock unit 9 has not been changed (the confirmation key is displayed). (The figure is not shown.) However, when the date data of the clock unit 9 has been changed, as shown in FIG. 13, a Yes key or No key for inputting the contents of determination as to whether the processing date and the expiration date data are correct is displayed. A message to be pressed is displayed (not shown in the flowchart).
[0023]
FIG. 14 is a diagram illustrating the contents displayed on the display unit 5 when the alarm flag 20 is turned on in the print mode. That is, the immediately preceding label print data is the process date and expiry date data stored in the second process date register and the expiry date registers 17 and 19, and is data that has already been printed on the previous label. The label print data is the process date and expiry date data stored in the first process date register and the expiry date registers 16 and 18, and is the data scheduled to be printed on the next label.
FIG. 14 shows a state where the processing date of the label print data is supposed to be “August” if it is originally changed to “September” due to, for example, external noise. In other words, when data with the same processing date and expiration date is sequentially printed on a predetermined number of labels, the processing date or expiration date data to be printed on the next label is different from the data printed on the previous label. 14 is displayed, the operator can be warned to correct erroneous data. When this display is made, printing can be automatically interrupted so that erroneous data is not printed on the label.
Further, when this label printer is used at midnight and the date and time data (date) of the clock unit 9 is changed and the processing date and the expiration date data are changed, the display shown in FIG. It is possible to inform the worker of the contents that have been made.
[0025]
  Claim 1The storage means described are the first and second processing date registers 16 and 17 and the first and second expiration date registers 18 and 19 shown in FIG. 8, and the month / day determination means is shown in FIG. This corresponds to the steps S508 and S510 shown. The date determination unit determines whether or not the two processing date data stored in the first and second processing date registers 16 and 17 match (S508), and the first and second consumptions. This is means for determining whether or not the two expiration date data stored in the expiration date registers 18 and 19 match (S510).
  Claim 2The contents displayed by the described display means are as shown in FIG. 14 and FIG. 15, and this display is displayed when step S520 shown in FIG. 5 is processed. Step S520 is when the date determination unit determines that the two processing date data stored in the first and second processing date registers 16 and 17 do not match, or the first and second consumption. When it is determined that the two expiration date data stored in the expiration date registers 18 and 19 do not match, as shown in FIG. 14 and FIG. This is a step for performing processing to display. As shown in FIGS. 14 and 15, the processing date and consumption period areas to be confirmed are displayed in a shaded manner so that the operator can easily confirm. Similarly, the display shown in FIG. 13 is also conspicuous by shading the areas of the processing date and the consumption period to be confirmed. Instead of shading, the area to be confirmed should be surrounded by a frame or displayed in reverse videoOrAlternatively, the area and other areas may be color-coded.
[0026]
Next, with reference to the flowcharts shown in FIGS. 1 to 5, the label printer configured as described above prints a predetermined content on the label and checks the date, time, processing date, and expiration date. To explain.
FIG. 1 shows a procedure for checking the date and time data of the clock unit 9 when the power of the label printer is turned on. First, when the operator turns on the power (S100), the CPU 1 initializes the I / O 21 to 24, the registers 12 to 19, and the like (S102). Next, the CPU 1 writes the date and time data of the clock unit 9 into the year / month / day register 12 and the hour / minute register 13 (S104). Then, it is determined whether or not a date check instruction has been issued (S106). If the date check instruction has been issued and the determination is YES, the date shown in FIG. Contents representing date, time, etc. are displayed (S108). In the state where the display unit 5 displays the date, time, and the like shown in FIG. 11, the operator determines (checks) whether the data such as the date is correct, and the operator presses the Yes key (label issuance). The CPU 1 cannot perform the next processing until the key (No) or No key (Erasing key) is pressed. If the operator determines that the date is correct and presses the Yes key, the process proceeds to Step S200 (S110, S112). ).
[0027]
However, if it is determined in step S106 that the date check command (setting) is not issued and NO is determined, the process proceeds to the next step S200 without displaying the date.
In step S112, when the operator determines that the data such as the date is incorrect and presses the No key, the display unit 5 should adjust the data such as the date as shown in FIG. A message to the effect is displayed and the process proceeds to step S200 (S114).
As described above, when the power of the label printer is turned on, the operator can be forced to determine whether the data such as the date of the clock unit 5 is correct. Even without relying on the operator's attention, data such as date can be surely checked.
[0028]
Next, the CPU 1 determines whether or not the position of the key switch 8 is in the print mode (S200). That is, in step S112, when the operator determines that the date is incorrect and presses the No key, in order to adjust the data such as the date of the clock unit 9, the key switch 8 Although it is necessary to set the position to the program mode, in step S112, when the operator determines that the date is correct and presses the Yes key, data such as the date can be printed on the label. Since this is possible, the position of the key switch 8 is set to the print mode.
Here, first, the procedure in the case where the operator presses the No key, sets the position of the key switch 8 to the program mode, and adjusts data such as the date of the clock unit 9 in step S112 will be described. Accordingly, in step S200, the CPU 1 determines NO, and the operator adjusts data such as the date of the clock unit 9 in the program mode (S202). (Not shown) is turned on (S204), and the process returns to step S200.
[0029]
Since the adjustment of data such as the date of the clock unit 9 has been completed, the operator switches the position of the key switch 8 to the print mode (S200). Then, it determines with YES by step S200, and since there is a date check, it determines with YES by step S206, and determines whether a date check flag is ON (S208). Whether the date check flag is ON or not is determined because the date check flag is ON and YES is determined as YES, there is a possibility that data such as the date of the clock unit 9 has been adjusted. Therefore, in the next steps S210 to S214, it is possible to further perform processing for determining whether or not the data such as date is correct. If the date check flag is OFF and it is determined NO, the data such as the date is determined (checked) in steps S108 to S112, so that the date is not displayed on the label again. This is because it is possible to perform the process of printing data such as (S218).
[0030]
In addition, since the process of step S210-S214 is equivalent to the process of step S108-S112, the description is abbreviate | omitted.
In step S214, when the operator determines that the data such as the date is correct and presses the Yes key and the CPU 1 determines YES, the date check flag is turned off (S216), and the date is displayed on the label. Etc. is performed (S218), and the process returns to step S200.
In step S214, when the operator determines that the data such as the date is incorrect and presses the No key and the CPU 1 determines NO, the display unit 5 displays the date as shown in FIG. A message indicating that the data should be adjusted is displayed and the process proceeds to step S200 (S220). In the same manner as described above, data such as the date of the clock unit 9 is adjusted in step S202.
Thus, when the position of the key switch 8 is switched from the mode other than the print mode to the print mode, the operator is forced to determine whether the data such as the date of the clock unit 5 is correct. Therefore, data such as date can be surely checked without depending on the operator's attention.
[0031]
Next, the contents of the process of step S218 for printing on the label will be described with reference to FIG. First, the operator inputs the content and format of data to be printed such as the product name code of the product to be printed by operating the input unit 6 (S300). Then, the number of labels to be printed (printed) is set and the label print key is pressed (S302, S304). The label print key is a command key for starting printing. Then, the CPU 1 determines whether or not the remaining number of labels to be printed is 0 (S306). If it is determined that the remaining number of labels is not 0 but NO, it is determined whether or not automatic printing is set. Is determined (S308). This label printer has an automatic print setting for automatically printing a predetermined number of labels continuously, and a manual print setting for printing one label each time an operator presses a label issuing key. Yes, these settings can be preset. That is, in step S308, if the CPU 1 is set to automatic printing and determines YES, it is determined whether or not the previous printed label has been peeled off from the mount so that the printed label can be sent out ( S312) When it is determined that the printed label has been peeled off from the mount and it is determined to be YES, printing is performed on the current label, and this printed label is sent out (S314). Then, the number of printed labels is subtracted from the preset number of labels to be printed to calculate the remaining number of labels to be printed (S316). Thereafter, the process returns to step S306 to determine whether or not the remaining number of labels is 0, and printing is performed on the label in the same manner as described above until the remaining number becomes 0 (S306 to S316). When the number of sheets reaches 0, the printing is terminated, and the process proceeds to step S200 shown in FIG.
[0032]
However, if it is determined in step S308 that manual printing is set and NO, it is determined whether or not the label issuance key has been pressed by the operator (S310), and automatic printing is performed after the label issuance key has been pressed. In the same manner as in, the subsequent printing is sequentially performed after the previous printed label is peeled off from the mount. In this way, the label can be printed.
[0033]
Next, the contents of the process performed by the CPU 1 when the operator inputs data such as the article name code of the article to be printed, that is, the contents of step S300 will be described with reference to FIG. First, when an operator inputs a product name code (S400), the CPU 1 searches the product name code stored in the product name master storage unit 4 (S402). Then, as a result of the search, it is determined whether or not the data of the product name code exists (S404). If the data exists and it is determined YES, the product name master data corresponding to the product name code is read (S406). If it is determined NO because there is no data, the program is terminated. Then, another product name code can be input. When each data of the product name master is read, each read data is stored in a corresponding register, and the best days are written in the best days register 14 (S408). Then, the expiration date is calculated by adding the date data stored in the date register 12 and the expiration date register 14 and the expiration date data, and the calculated expiration date data is written to the expiration date register 15 ( S410).
[0034]
Next, it is determined whether or not the date is set to be checked (S412). If it is determined that the date is not set and NO is determined, the date and time data of the clock unit 9 is determined. The following processing from step S302 shown in FIG. 3 is performed without displaying and checking. If it is determined in step S412 that the date is set to be checked and YES is determined, the date and time data of the clock unit 9 is displayed on the display unit 5 (S414). Next, when the operator determines whether or not the displayed data such as date is correct and determines that the data is correct and presses the confirmation key of the input unit 6, the CPU 1 turns off the date and time display. The contents of the product name master shown in FIG. 10 are displayed on the display unit 5 (S416, S418), and then the process proceeds to step S302.
However, in step S414, the date and time data of the clock unit 9 is displayed on the display unit 5. The display content is “Please press the Yes key or No key” in the content shown in FIG. Instead, “Please press the confirmation key” is displayed (not shown). Here, when the operator determines that the displayed data such as the date is incorrect, it is possible to adjust the data such as the date of the clock unit 9 by switching to the program mode. When the product name code is input after changing the date / time data of the clock unit 9 in this way, the processing date and the expiration date data are displayed on the display unit 5 as shown in FIG. Is displayed.
[0035]
Next, the procedure for the CPU 1 to print data such as the processing date on the label and the procedure for checking the processing date at that time, that is, the contents of step S314 will be described with reference to FIG. First, the CPU 1 writes the date data stored in the date register 12 to the first processing date register 16 (S500), and uses the expiration date data stored in the expiration date register 15 as the first expiration date. Write to the register 18 (S502). Then, it is determined whether or not the date is set to be checked (S504), and it is determined whether or not the date (year / month / day data such as the processing date) is set to be printed ( S506). Here, when it is determined that the date is not set and NO is determined, or when it is determined that the date is not set to be printed and NO is determined, the processing date and consumption in steps S508 and S510. Without checking the deadline data, processing such as printing after the next step S512 is performed. In steps S504 and S506, the date is set to be checked, and the date is set to be printed. When both are determined to be YES, the first and second are set. It is determined whether or not the two processing date data stored in the processing date registers 16 and 17 match (S508). If the two processing date data match and it is determined YES, it is determined whether or not the two expiration date data stored in the first and second expiration date registers 18 and 19 match. Determination is made (S510). And when the 1st and 2nd processing date data correspond and it determines with YES, and the 1st and 2nd expiry date data corresponds and it determines with YES, it is preset, for example The data having the contents shown in FIG. 10 is printed on the label (S512).
However, if the first and second processing date data do not match and it is determined NO, or if the first and second expiry date data do not match and it is determined NO, the alarm flag is turned on. Then (S518), for example, the contents shown in FIG. 14 are displayed on the display unit 5, and this program is terminated. Then, it is possible to print on the label after switching to the program mode and adjusting data such as the date of the clock unit 9.
[0036]
Thus, the processing date and the expiration date data to be printed on the next label stored in the first processing date register 16 and the expiration date register 18, and the second processing date register 17 and the expiration date register 19 are stored. It is determined whether or not the corresponding processing date and expiry date data printed on the previous label stored correspond to each other, and the corresponding processing date and expiry date data correspond to each other. Since the data is printed on the label when they match each other, the processing date and expiration date data can be checked for each label, and the correct processing date and expiration date data are always printed on the label. can do. Therefore, for example, when the processing date of the same date is printed on a plurality of labels, the data of the processing date stored in the first and second processing date registers 16, 17 etc. due to external noise or the like. When the corresponding items do not coincide with each other, the abnormality is automatically detected and label printing is interrupted, and the abnormality can be displayed on the display unit 5 to notify the operator. When notifying the abnormality, as shown in FIGS. 13 to 15, the area for displaying the data of the processing date and the consumption period to be confirmed is shaded or displayed in black and white so that it stands out. An operator can be surely notified.
[0037]
Then, after performing the printing process in step S512, the machining date data printed this time stored in the first machining date register 16 is written to the second machining date register 17 (S514), and the first consumption The expiration date data printed this time stored in the expiration date register 18 is written to the second expiration date register 19 (S516). Thereafter, the process proceeds to step S316, and the process of each step is performed.
[0038]
Further, in steps S106, S206, S412, and S504, it is determined whether or not the date check is set. If the date check is not set, data such as a processing date is displayed on the display unit 5. In this case, the label printer can proceed with the printing process steps sequentially without unnecessary checking of data such as the processing date, and the printing time can be shortened. Can do.
Further, in step S506, it is determined whether or not date printing is set. Even when the date check is set, when the date is not printed, the unnecessary date is not checked. The steps of the printing process of the label printer can be advanced sequentially.
[0042]
【The invention's effect】
  The first invention isEach time the data including the month and day is printed on the label, it is determined whether or not the data of the month and date printed on the previous label and the data on the month and day scheduled to be printed on the next label match each other. Thus, the determination can be made sequentially. Therefore, for example, when data including the date is printed on the label sequentially by this label printer, even if the date data is changed without the operator's awareness due to external noise, the change is automatically performed. The date determination means can reliably determine the date. Thereby, according to this label printer, the month and date printed on the label can be automatically checked for each label so that incorrect date data is not printed on the label.
[0043]
  Second inventionAccording to the above, when the date determination means determines that the previous month date data and the next month date data do not match each other, the previous and next month date data is displayed on the display means. Therefore, the operator can easily visually check the data of the previous and next months displayed on the display means that are different from each other. Therefore, if the next date data is incorrect, the data can be changed reliably.
[0044]
  Third inventionAccording to the present invention, by applying each of the first to fifth inventions to a label printer capable of printing data on the processing date and the expiration date on the label, an incorrect processing date and expiration date are applied to the processed product. Can be prevented from being printed, thereby maintaining the business credibility of the person who sells the item with the label.
[Brief description of the drawings]
FIG. 1 is a flowchart showing a procedure for checking data such as a date of a clock unit when a label printer according to an embodiment of the present invention is turned on.
FIG. 2 is a flowchart showing a procedure for checking data such as a date of a clock unit when the mode of the label printer of the embodiment is switched to a print mode.
FIG. 3 is a flowchart showing details of processing in step S218 shown in FIG. 2;
FIG. 4 is a flowchart showing the contents of processing in step S300 shown in FIG.
FIG. 5 is a flowchart showing details of processing in step S314 shown in FIG. 3;
FIG. 6 is a block diagram showing an electric circuit of the label printer of the embodiment.
FIG. 7 is a diagram showing data such as a date that is output by the clock unit of the embodiment.
FIG. 8 is a diagram illustrating a register related to a date and the like in the RAM according to the embodiment;
FIG. 9 is a diagram showing the contents of a part storing a product name master in a product name master storage unit of the embodiment;
FIG. 10 is a diagram illustrating a state in which the display unit displays print contents in the print mode of the label printer of the embodiment.
FIG. 11 is a diagram showing a state in which the display unit of the embodiment performs display for requesting data check such as date.
FIG. 12 is a diagram showing a state in which the display unit of the embodiment performs a display instructing change of data such as a date of a clock unit.
FIG. 13 is a diagram illustrating a state where the display unit of the embodiment performs display for checking data such as a changed date of the clock unit when the product name master is read.
FIG. 14 is a diagram showing a state in which the display unit of the embodiment performs a display for warning about a processing date.
FIG. 15 is a diagram showing a state in which the display unit displays a warning that the date has changed and the processing date has been changed in the label printer of the embodiment.
[Explanation of symbols]
1 CPU
2 ROM
3 RAM
4 Product name master storage
5 display section
6 Input section
7 Printer
8 Key switch
9 Clock part

Claims (3)

日付及び時刻を出力する時計部を内蔵し、この時計部から出力される月日を基に、ラベルに印字する月日データを演算部が演算し、演算された月日を含むデータをラベルにプリントすることができるラベルプリンタにおいて、
前回のラベルにプリントした月日のデータである前回月日データ、及び次回のラベルにプリントする予定の月日のデータである次回月日データを記憶する記憶手段と、
この記憶手段に記憶されている前回月日データと、前記次回月日データとが互いに一致しているか否かを判定する月日判定手段と、
前回月日データが前記次回月日データと一致すると前記月日データ判定手段が判定したときのみ、前記次回月日データを含むデータを前記ラベルにプリントする印字手段とを、
具備するラベルプリンタ。
A clock unit that outputs the date and time is built in. Based on the month and date output from this clock unit, the calculation unit calculates the date data printed on the label, and the data including the calculated month and date is used as the label. In a label printer that can print,
Storage means for storing previous month / day data which is data of the month / day printed on the previous label , and next month / day data which is data of a month / day scheduled to be printed on the next label;
Month / day determination means for determining whether or not the previous month / day data stored in the storage means and the next month / day data match each other;
Printing means for printing data including the next month / day data on the label only when the previous month / day data determination unit determines that the previous month / day data matches the next month / day data;
Label printer provided.
請求項1に記載のラベルプリンタにおいて、前記月日判定手段が前記前回月日データと前記次回月日データとが互いに一致していないと判定したときに、前記前回月日データと前記次回月日データとを表示する表示手段を設けたラベルプリンタ。 2. The label printer according to claim 1, wherein the previous month date data and the next month date are determined when the month date determination unit determines that the previous month date data does not match the next month date data. A label printer provided with display means for displaying data . 請求項1または2に記載のラベルプリンタにおいて、上記月日は、加工日と消費期限であるラベルプリンタ。In the label printer according to claim 1 or 2, the month and day, the label printer is expiration and processing date.
JP30406198A 1998-10-26 1998-10-26 Label printer Expired - Fee Related JP4408971B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30406198A JP4408971B2 (en) 1998-10-26 1998-10-26 Label printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30406198A JP4408971B2 (en) 1998-10-26 1998-10-26 Label printer

Publications (2)

Publication Number Publication Date
JP2000127569A JP2000127569A (en) 2000-05-09
JP4408971B2 true JP4408971B2 (en) 2010-02-03

Family

ID=17928573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30406198A Expired - Fee Related JP4408971B2 (en) 1998-10-26 1998-10-26 Label printer

Country Status (1)

Country Link
JP (1) JP4408971B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003019829A (en) * 2001-07-10 2003-01-21 Brother Ind Ltd Printing equipment
JP6019316B2 (en) * 2011-12-27 2016-11-02 株式会社寺岡精工 Label printer and program
JP5807688B2 (en) * 2014-01-22 2015-11-10 株式会社寺岡精工 Label issuing device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5676871A (en) * 1979-11-28 1981-06-24 Canon Inc Computer
JPS59184645U (en) * 1983-05-25 1984-12-08 株式会社クボタ Label printer with product name printed
JPH08295054A (en) * 1995-04-27 1996-11-12 Tec Corp Label printer
JPH1067145A (en) * 1996-08-29 1998-03-10 Teraoka Seiko Co Ltd Label printer

Also Published As

Publication number Publication date
JP2000127569A (en) 2000-05-09

Similar Documents

Publication Publication Date Title
JP4408971B2 (en) Label printer
JP2011011525A (en) Label printer
JP2508219Y2 (en) Electronic scales
JP3373866B2 (en) Label issuing machine
JP4553946B2 (en) Product label printing device
JP4373243B2 (en) Product data processing device
JP3963986B2 (en) POS system
JP5382785B2 (en) Label issuing device
JP3373918B2 (en) Sales registration device
JPH08202951A (en) Sales data processor
JPH0348455B2 (en)
JP3597091B2 (en) Label printer and label printer date and time setting method
JPH0147725B2 (en)
JPH0661961B2 (en) Label printing device
JPH0229467Y2 (en)
JP2546662B2 (en) Electronic scales
JP4310662B2 (en) Label printer
JPS6073319A (en) Automatic setting-printing apparatus of operation date and hour for electronic balance
JPS62240821A (en) Label printer
JP2549394B2 (en) Label printer
JP2002172820A (en) Product label printing device
JP3132570B2 (en) Sales data processing device
JPH0329735A (en) Commodity data processing device
JPH04314561A (en) label printer
JPS5845651B2 (en) How to display tare weight on a label printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051004

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090407

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090630

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090929

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091001

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091110

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091111

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121120

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20151120

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees