JP4830947B2 - Electronic device and control program thereof - Google Patents
Electronic device and control program thereof Download PDFInfo
- Publication number
- JP4830947B2 JP4830947B2 JP2007094742A JP2007094742A JP4830947B2 JP 4830947 B2 JP4830947 B2 JP 4830947B2 JP 2007094742 A JP2007094742 A JP 2007094742A JP 2007094742 A JP2007094742 A JP 2007094742A JP 4830947 B2 JP4830947 B2 JP 4830947B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- date
- document information
- period
- document
- 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.)
- Active
Links
Images
Description
本発明は、記憶保持された文書情報に含まれる所定の年度又は月度の情報を更新することができる電子装置およびその制御プログラムに関する。 The present invention relates to an electronic apparatus capable of updating information of a predetermined year or month included in document information stored and held, and a control program therefor.
特許文献1には、印字テープに文書情報を印字するとともに、時計回路を備え、文書情報を印字テープに印字するときに、時計回路から得られる日付情報も共に印字する印字装置が開示されている。
上記従来の印字装置では、文書情報を印字するときに、時計回路から得られる日付情報も共に印字するものであるが、例えば、日付情報を含む文書情報を作成し印字した後に、その文書情報を印字装置の記憶装置に登録しておき、必要に応じて文書情報を呼び出して、その文書情報を再利用することがある。その場合、文書情報に含まれる過去の作成時の日付情報を再利用時の日付情報に自動的に更新できれば便利であるが、上記従来の印字装置ではそのような機能は有していない。特に、文書情報に単なるカレンダの日付情報ではなく、年度や月度の情報が含まれているような場合、その文書情報を呼び出して再利用するときに、その文書情報に含まれる年度や月度の情報を現在の日付に対応した年度や月度に更新することができれば便利であるが、上記従来の印字装置では、そのような要望に対応することはできていない。そのため、文書情報の年度や月度の情報が含まれている場合に、その年度や月度を現在の日付に対応させて再入力することになるが、年度や月度はカレンダの日付とは必ずしも一致しないため、現在の日付情報が得られてもその日付情報に基づいて現在の年度や月度を判断し再入力することが煩わしく間違いも生じやすい。 In the conventional printing apparatus, when document information is printed, date information obtained from a clock circuit is also printed. For example, after document information including date information is created and printed, the document information is In some cases, the document information is registered in the storage device of the printing apparatus, the document information is called as necessary, and the document information is reused. In this case, it is convenient if the date information at the time of past creation included in the document information can be automatically updated to the date information at the time of reuse. However, the conventional printing apparatus does not have such a function. In particular, if the document information contains year or month information rather than just calendar date information, the year or month information included in the document information when the document information is called and reused. Is convenient if it can be updated in the fiscal year or month corresponding to the current date, but the above-described conventional printing apparatus cannot meet such a demand. Therefore, if the document information includes year or month information, the year or month will be re-entered according to the current date, but the year or month will not necessarily match the calendar date. Therefore, even if the current date information is obtained, it is troublesome and erroneous to determine and re-enter the current year or month based on the date information.
本発明はこのような問題点を解決するものであり、保存されている文書情報に所定の年度又は月度又は期間の情報が含まれている場合、その所定の年度又は月度又は期間の情報を現在の日付情報に対応したものに自動的に更新して出力することができる電子装置およびその制御プログラムを提供することを目的とする。 The present invention solves such a problem, and when the stored document information includes information on a predetermined year, month, or period, the information on the predetermined year, month, or period is currently displayed. It is an object of the present invention to provide an electronic device capable of automatically updating and outputting the information corresponding to the date information and its control program.
請求項1の発明は、文書情報を記憶する文書情報記憶手段と、開始日付から終了日付までの所定の期間を暦の区切りとは異なる区切りの期間表現とすべく定義する定義情報を記憶する定義情報記憶手段と、前記期間表現と組み合わされて表される変数情報を前記文書情報記憶手段に記憶された文書情報から検索する検索手段と、現在の日付情報を取得する日付情報取得手段と、前記検索手段によって検索された前記文書情報に含まれる前記変数情報を、前記日付情報取得手段によって取得される現在の日付情報と前記定義情報記憶手段に記憶された定義情報に基づいて自動的に更新する更新手段と、前記更新手段によって更新された前記期間表現と変数情報を含んだ文書情報を出力する出力手段と、を備えることを特徴とする。 The invention of claim 1 is a document information storage means for storing document information, and a definition for storing definition information for defining a predetermined period from a start date to an end date as a period expression different from a calendar period. information storage means, a search means for variable information represented in combination with the period represented retrieves from the document information stored in the document information storage means, and date information acquisition means for acquiring the current date information, the automatically updated based the variable information included in the document information retrieved by the retrieval means, before SL current date information and the definition information defining information stored in the storage means is acquired by the date information acquisition means Updating means for outputting, and output means for outputting document information including the period expression and variable information updated by the updating means.
請求項2の発明は、請求項1の発明において、前記定義情報記憶手段に記憶する定義情報としての、前記開始日付と終了日付の情報を、任意の日付で入力設定する入力設定手段を更に備えることを特徴としている。 According to a second aspect of the invention, in the invention of claim 1, as definition information stored in the definition information storage means, the information before KiHiraki start and end date, an input setting means for inputting set at any date Furthermore, it is characterized by providing.
請求項3の発明は、請求項1又は請求項2の何れか1項の発明において、前記出力手段は、前記更新手段によって更新された前記文書情報を記録紙に印字する印字手段であることを特徴としている。 According to a third aspect of the present invention, in the first or second aspect of the present invention, the output means is a printing means for printing the document information updated by the updating means on a recording sheet. It is a feature.
請求項4の発明は、請求項1又は請求項2の何れか1項の発明において、前記出力手段は、前記更新手段によって更新された前記文書情報を表示画面に表示する表示手段であることを特徴としている。 According to a fourth aspect of the present invention, in the first or second aspect of the present invention, the output means is a display means for displaying the document information updated by the update means on a display screen. It is a feature.
請求項5の発明は、文書情報を記憶する文書情報記憶手段を備えた電子装置のコンピュータを制御するための制御プログラムであって、前記コンピュータを、開始日付から終了日付までの所定の期間を暦の区切りとは異なる区切りの期間表現とすべく定義する定義情報を記憶する定義情報記憶手段、前記期間表現と組み合わされて表される変数情報を前記文書情報記憶手段に記憶された文書情報から検索する検索手段、現在の日付情報を取得する日付情報取得手段、前記検索手段によって検索された前記文書情報に含まれる前記変数情報を、前記日付情報取得手段によって取得される現在の日付情報と前記定義情報記憶手段に記憶された定義情報に基づいて自動的に更新する更新手段、前記更新手段によって更新された前記期間表現と変数情報を含んだ文書情報を出力する出力手段として機能させることを特徴としている。
The invention according to
本発明によれば、記憶保存されている文書情報に所定の年度又は月度又は期間の情報が含まれている場合、その所定の年度又は月度又は期間の情報を現在の日付情報に対応したものに自動的に更新して出力することができ、現在の日付情報に対応して所定の年度又は月度又は期間の情報をどのように更新すべきか否かを判断したり、年度又は月度又は期間の情報を再入力したりする煩わしさがなくなる。 According to the present invention, when information on a predetermined year, month, or period is included in the stored and stored document information, the information on the predetermined year, month, or period corresponds to the current date information. It can be automatically updated and output, and it can be judged whether or not the information for a given year or month or period should be updated corresponding to the current date information, or the year or month or period information. There is no need to re-enter.
以下、本発明の実施形態について図面を参照して説明する。図1は本発明の実施形態に係る印字装置の外観を示す平面図、図2はその印字装置に使用するテープカセットの外観及び印字装置の内部構造の一部を示す斜視図である。図1及び図2に示すように、印字装置1は、装置本体2の上面に入力部3、表示部4、および開閉蓋5を備えている。開閉蓋5の内側には印字テープ31及びインクリボン35を収容したテープカセット21を装填するためのカセット装填部6が形成されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a plan view showing an appearance of a printing apparatus according to an embodiment of the present invention, and FIG. 2 is a perspective view showing an appearance of a tape cassette used in the printing apparatus and a part of the internal structure of the printing apparatus. As shown in FIGS. 1 and 2, the printing apparatus 1 includes an
入力部3は、文字情報を入力する文字入力キー、入力した文字により文書を編集するためのキー、作成した文書情報を登録する登録キー、登録された文書情報を呼び出す呼出キー、印字開始を指示する印字キー、表示部4の表示画面上のカーソルを移動操作するカーソルキー、印字モードの設定や各種設定処理などを行う種々のキーを備えている。
The
表示部4は液晶表示装置であり、入力された文字や文書や各種設定のための選択メニュー画面や処理に関するメッセージなどが表示されると共に、印字モードの状態などの各種の情報を表示する。
The
カセット装填部6内には、印字素子が縦方向に配列され長尺の被印字媒体(印字テープ)31に印字を行う印字ヘッド(サーマルヘッド)7と、サーマルヘッド7との間で印字テープ31及びインクリボン35を挟んでこれを搬送するプラテンローラ8と、印字に使用したインクリボン35をテープカセット21内に巻き取るリボン巻取軸9と、印字テープ31を切断するためのカッタ13とを備えたプリンタ部20が設けられている。また、カセット装填部6内には、テープカセット21を所定の位置に支持するためのカセット受部10を備え、また、カセット装填部6の一端部には装置本体2外に通じる排出口12が形成されており、この排出口12には、固定刃13aと可動刃13bとを備えたカッタ13が設けられている。
In the
一方、テープカセット21は、カセットケース22を備え、このカセットケース22の内部には、印字テープ31を巻回したテープコア23、未使用のインクリボン35を巻回したリボン供給コア24、印字に使用済のインクリボン35を巻き取るリボン巻取コア25がそれぞれ収納されている。前記印字テープ31は、印字が行われる印字テープ層と貼着剤層と剥離テープ層の積層構造を有している。このテープカセット21のカセットケース22には、カセット装填部6内にテープカセット21を装填したときにサーマルヘッド7が配置されるヘッド配置部27が形成されており、また、カセットケース22の隅部には、カセット装填部6のカセット受部10に係合してそれに支持される被係合部29が形成されている。
On the other hand, the
この印字装置1では、入力部3から入力した文字によって作成した文書情報の印字を指示すると、印字テープ31とインクリボン35とがテープカセット21から引き出され、重ね合わせた状態でプラテンローラ8とサーマルヘッド7の間に挟まれて共に搬送されると共に、サーマルヘッド7が入力された文字の印字データに基づいて発熱駆動されてインクリボン35のインクが印字テープ31に熱転写されて印字が行われる。印字が終了すると、カッタ13が作動して印字テープ31が切断され印字ラベルが作成される。
In this printing apparatus 1, when printing of document information created by characters input from the
図3はこの印字装置の電子回路の構成を示すブロック図である。この印字装置の電子回路には、コンピュータであるCPUからなる制御部40が備えられる。制御部40は、入力部3からのキー操作信号に応じてROM41に予め記憶されているシステムプログラム、あるいはメモリカード,CD−ROMなどの外部記憶媒体50からその記憶媒体読み取り部51を介して内部メモリに読み込まれた装置制御プログラム、あるいは外部通信ネットワークN上のWebサーバ52から通信制御部53を介して内部メモリに読み込まれた装置制御プログラムを起動させ、RAM42をワークメモリとして回路各部の動作を制御する。この制御部40には、前記入力部3、前記表示部4、前記プリンタ部20、ROM41、RAM42が接続される他、表示用の文字フォントを格納する表示用フォントROM43、印字用の文字フォントを格納する印字用フォントROM44が接続される。また、制御部40には、入力部3から入力された文字によって作成された文書情報を登録して記憶保存する文書情報メモリ45、保存された文書情報に含まれる所定の年度又は月度又は期間を表す情報を検索するための特定文字列情報を記憶しておく特定文字列情報メモリ46、所定の年度又は月度又は期間を定義する定義情報を記憶する定義情報メモリ47及び日付情報を発生するRTC(リアルタイムクロック)48が接続される。
FIG. 3 is a block diagram showing the configuration of the electronic circuit of this printing apparatus. The electronic circuit of the printing apparatus includes a
ROM41には、入力部3から入力された文書情報を印字するためのプログラム、本発明に係る文書情報中の所定の年度又は月度又は期間を表す情報を更新するプログラム、及び印字装置1によって行われる各処理のプログラムが記憶されている。また、RAM42には、入力された文書情報を記憶する入力データメモリ、文字の印字パターンデータ(印字データ)が記憶される印字データメモリ、表示部4に表示されるパターンデータが記憶される表示データメモリの各領域が確保され、印字処理などに必要なデータを一時的に記憶するレジスタやカウンタなどが設けられている。
The
図4は特定文字列情報メモリ46に記憶される特定文字列情報を表している。この特定文字列情報は、文書情報中に含まれる所定の年度又は月度又は期間を表す情報を検索する際に参照されるものであり、検索の結果、文書情報中に図4に示す特定文字列に対応する文字列が存在すると、各特定文字列に対応する識別フラグを設定する。この特定文字列情報メモリ46には、例えば、特定文字列として、年度を表す「平成××年度」、月度を表す「××月度」、四半期を表す「第×4四半期」が記憶されている。記号「×」は任意の数字を意味しており、Y、M、Tは識別フラグを表している。
FIG. 4 shows specific character string information stored in the specific character
また、定義情報メモリ47は、所定の年度又は月度又は期間を定義する定義情報を記憶するためのものであり、図5に図示のように、所定の年度又は月度にあっては、それらの開始日付情報YK、MKが記憶される。なお、月度にあっては、更に開始月情報が記憶される。また所定の期間としての四半期にあっては、開始日付情報T1K〜T4Kと終了日付情報T1L〜T4Lとが記憶される。これらの開始日付情報、終了日付情報及び開始月情報はユーザによって入力設定されるようになっている。
The
図10は、所定の年度又は月度又は期間を定義する定義情報の設定処理を示すフローチャートであり、図8はその定義情報の設定画面を示している。以下、図10及び図8に基づいて、定義情報の設定処理について説明する。入力部3の所定キーの操作により定義情報の設定処理モードが起動する。まず、年度又は月度又は期間の定義情報設定の選択画面が表示部4に表示される(ステップA1)。この選択画面では、(1)年度、(2)月度、(3)四半期の3種類のうちから定義情報の入力設定を行うものを選択するようになっている。前記選択画面によって選択が行われると、その選択に応じた設定画面が表示部4に表示され、ユーザにより必要項目に対して入力が行われる(ステップA2)。例えば、図8(a)は「年度」が選択された場合の定義情報の設定画面4aを表している。ここでは、案内に従って、年度の初めの日付を月と日で入力するようになっている。また、図8(b)は「月度」が選択された場合の定義情報の設定画面4bを表している。ここでは、案内に従って、月度の初めの日付を日で入力するようになっている。また、開始月情報として、「前月」と「当月」のいずれかを選択するようになっている。この場合は「前月」が選択されている。この開始月情報とは、当月度の開始日が前月か当月のいずれかを表すものであり、例えば、月度の初めの日(開始日付)を21日とし、3月度を2月21から3月20までとした場合、開始月情報は「前月」とする。3月度に対して開始日がその前月の2月だからである。また、例えば、月度の初めの日(開始日付)を11日とし、3月度を3月11から4月10までとした場合、開始月情報は「当月」とする。3月度に対して開始日がそれと同月の3月だからである。さらに、図8(c)は「四半期」が選択された場合の定義情報の設定画面4cを表している。この場合は、第1四半期から第4四半期の4枚の画面を使い、それぞれに初めと終わりの日付を月と日で入力を行う。
FIG. 10 is a flowchart showing a definition information setting process for defining a predetermined year, month, or period, and FIG. 8 shows the definition information setting screen. The definition information setting process will be described below with reference to FIGS. 10 and 8. The definition information setting processing mode is activated by operating a predetermined key of the
このようにして、表示部4に表示された設定画面上で設定項目の入力が行われるが、必要な入力がなされたか否か判断され(ステップA3)、入力がされた場合(ステップA3のYES)、その入力された日付情報などからなる定義情報が図5に示すように定義情報メモリ47に設定登録される(ステップA4)。そして、さらに続けて設定登録を行うか否かが判断され(ステップA5)、続ける場合(ステップA5のYES)は、ステップA1に戻って次の定義情報の設定処理が繰り返される。続けなければ(ステップA5のNO)、処理を終了する。
In this way, setting items are input on the setting screen displayed on the
次に、文書情報メモリ45に記憶された文書情報を呼び出しその文書情報に含まれる所定の年度又は月度又は期間を表す情報を更新する処理について説明する。
Next, processing for calling document information stored in the
図6はその処理を表すフローチャートを示している。まず、文書情報メモリ45に記憶されている文書情報がRAM42の所定領域に呼び出されてその文書情報が表示部4に表示されるとともに、その文書情報の更新を行うか否かの選択が促される(ステップS1)。次に、文書情報の更新を行うことが選択されたか否かが判断され(ステップS2)、更新を行うことが判断された場合(ステップS2のYES)、文書情報中に含まれる特定文字列の検索が行われる(ステップS3)。例えば、図4には、「年度」、「月度」、「四半期」に関する特定文字列が記憶されているが、それらについて検索が行われる。この特定文字列の検索では、文書情報の頭から順に特定文字列があるか判断され(ステップS4)、特定文字列があれば(ステップS4のYES)、識別フラグがその文書情報中の文字列に設定される(ステップS5)。特定文字列がなければ(ステップS4のNO)、ステップS5はスキップする。すなわち、例えば、文書情報中に「平成17年度」の文字列があるとすると、その文字列は、図4に示す特定文字列の「平成××年度」に対応するものであり、したがって、「平成17年度」の文字列の「1」と「7」の文字にそれぞれ識別フラグの「Y」が設定される。文書情報の全文字の検索が終了したか判断され(ステップS6)、終了していなければ(ステップS6のNO)、ステップS3からS5を繰り返し、文書情報の検索が全て終了した場合(ステップS6のYES)には、次に、文書情報中に識別フラグが設定されているか否かが判断される(ステップS7)。識別フラグが設定されていれば(ステップS7のYES)、RTC48から現在の日付情報が取得される(ステップS8)。そして、対象となる文書情報に対して、所定の年度又は月度又は期間の更新処理が行われる(ステップS9)。
FIG. 6 is a flowchart showing the processing. First, the document information stored in the
図7は、所定の年度又は月度又は期間の更新処理を示すフローチャートである。まず、特定文字列の検索が行われた文書情報中に設定される識別フラグが「Y」であるか判断される(ステップS901)。その識別フラグが「Y」であれば(ステップS901のYES)、ステップS8でRTC48から取得された現在の日付情報のうちの年月情報が定義情報メモリ47に設定された開始日付YK以上か判断される(ステップS902)。そして、現在の年月情報が開始日付YK以上であれば(ステップS902のYES)、文書情報中の識別フラグの「Y」が設定されている文字列の数字部分が現在の年情報で更新が行われる(ステップS903)。また、現在の年月情報が開始日付YK以上でなければ(ステップS902のNO)、文書情報中の識別フラグの「Y」が設定されている文字列の数字部分が現在の年情報−1で更新が行われる(ステップS904)。
FIG. 7 is a flowchart showing an update process for a predetermined year, month, or period. First, it is determined whether or not the identification flag set in the document information searched for the specific character string is “Y” (step S901). If the identification flag is “Y” (YES in step S901), it is determined whether the year / month information of the current date information acquired from the
例えば、文書情報の内容が図12(a)に示す「平成17年度の売上データ」とする。また、現在の日付が平成18年11月11日とする。また、年度の開始日付(YK)は4月1日に設定されている。このような条件では、ステップS903で、現在の年情報(平成18年)で更新が行われる。すなわち、更新された文書情報は図12(b)に示すように、「平成18年度の売上データ」となる。また、前記現在の日付が平成19年3月25日とすると、ステップS904で、現在の年情報(平成19年)から1をマイナスした「平成18年」で更新が行われる。すなわち、更新された文書情報は図12(b)に示すように、「平成18年度の売上データ」となる。平成18年11月11日も平成19年3月25日も年度の開始日付を「4月1日」とすると、いずれも「平成18年度」に属しており、いずれもカレンダの日付と年度とが対応している。 For example, the content of the document information is “2005 sales data” shown in FIG. The current date is November 11, 2006. The start date (YK) of the year is set to April 1. Under such conditions, in step S903, the current year information (2006) is updated. That is, the updated document information becomes “Sales data for FY2006” as shown in FIG. If the current date is March 25, 2007, the update is performed in step S904 with "2006" minus 1 from the current year information (2007). That is, the updated document information becomes “Sales data for FY2006” as shown in FIG. On November 11, 2006 and March 25, 2007, if the start date of the fiscal year is “April 1”, both belong to “FY2006”, and both the calendar date and year Corresponds.
図7に戻って、ステップS901で識別フラグが「Y」でないと判断されると、文書情報中に設定される識別フラグが「M」かどうか判断される(ステップS905)。識別フラグが「M」であると判断されると(ステップS905のYES)、次に開始月情報が「前月」かどうか判断される(ステップS906)。開始月情報が「前月」であると判断されると(ステップS906のYES)、次に現在の日情報が定義情報メモリ47に設定された開始日付MK以上か判断される(ステップS907)。そして、現在の日情報が開始日付MK以上であれば(ステップS907のYES)、現在の月情報に1をプラスして更新が行われる(ステップS908)。また、現在の日情報が開始日付MK以上でなければ(ステップS907のNO)、現在の月情報で更新が行われる(ステップS909)。 Returning to FIG. 7, if it is determined in step S901 that the identification flag is not “Y”, it is determined whether or not the identification flag set in the document information is “M” (step S905). If it is determined that the identification flag is “M” (YES in step S905), it is then determined whether the start month information is “previous month” (step S906). If it is determined that the start month information is “previous month” (YES in step S906), it is then determined whether the current day information is greater than or equal to the start date MK set in the definition information memory 47 (step S907). If the current day information is greater than or equal to the start date MK (YES in step S907), the current month information is updated by adding 1 (step S908). If the current day information is not greater than or equal to the start date MK (NO in step S907), the current month information is updated (step S909).
例えば、文書情報の内容が図11(a)に示す「平成19年3月度の就業管理カード」とする。また、現在の日付が平成19年3月25日とする。また、月度の開始日付(MK)は21日に設定されている。このような条件では、ステップS908で、現在の月情報(3月)に1をプラスして更新が行われる。すなわち、更新された文書情報は図11(b)に示すように、「平成19年4月度の就業管理カード」となる。また、前記現在の日付が平成19年4月5日とすると、ステップS909で、現在の月情報(4月)で更新が行われる。すなわち、更新された文書情報は図11(b)に示すように、「平成19年4月度の就業管理カード」となる。平成19年3月25日も平成19年4月5日も月度の開始日付を前月の「21日」とすると、いずれも「4月度」に属しており、いずれもカレンダの日付と月度とが対応している。 For example, it is assumed that the content of the document information is “March 2007 work management card” shown in FIG. The current date is March 25, 2007. The start date (MK) of the month is set to 21st. Under such conditions, in step S908, the current month information (March) is incremented by 1 and updated. That is, the updated document information is “April 2007 work management card” as shown in FIG. If the current date is April 5, 2007, the current month information (April) is updated in step S909. That is, the updated document information is “April 2007 work management card” as shown in FIG. As of March 25, 2007 and April 5, 2007, if the start date of the month is the “21st” of the previous month, both belong to “April” and both the calendar date and the month It corresponds.
また、図7のステップS906で開始月情報が「前月」でないと判断されると、次に現在の日情報が定義情報メモリ47に設定された開始日付MK以上か判断される(ステップS910)。そして、現在の日情報が開始日付MK以上であれば(ステップS910のYES)、現在の月情報で更新が行われる(ステップS911)。また、現在の日情報が開始日付MK以上でなければ(ステップS910のNO)、現在の月情報から1をマイナスして更新が行われる(ステップS912)。 If it is determined in step S906 in FIG. 7 that the start month information is not “previous month”, it is then determined whether the current day information is greater than or equal to the start date MK set in the definition information memory 47 (step S910). If the current day information is greater than or equal to the start date MK (YES in step S910), the current month information is updated (step S911). If the current day information is not equal to or greater than the start date MK (NO in step S910), the current month information is updated by subtracting 1 (step S912).
例えば、文書情報の内容が「平成19年2月度の就業管理カード」とする。また、現在の日付が平成19年3月25日とする。また、開始月情報が「当月」に設定され、月度の開始日付(MK)は11日に設定されている。このような条件では、ステップS911で、現在の月情報(3月)で更新が行われる。すなわち、更新された文書情報は「平成19年3月度の就業管理カード」となる。また、前記現在の日付が平成19年4月5日とすると、ステップS912で、現在の月情報(4月)から1をマイナスした「3月」で更新が行われる。すなわち、更新された文書情報は「平成19年3月度の就業管理カード」となる。 For example, it is assumed that the content of the document information is “February 2007 work management card”. The current date is March 25, 2007. The start month information is set to “current month”, and the start date (MK) of the month is set to 11th. Under such conditions, in step S911, the current month information (March) is updated. That is, the updated document information is “March 2007 work management card”. If the current date is April 5, 2007, the update is performed in “March”, which is obtained by subtracting 1 from the current month information (April) in step S912. That is, the updated document information is “March 2007 work management card”.
更に、ステップS901で識別フラグが「Y」ではないと判断され、ステップS905で識別フラグが「M」ではないと判断されると、現在の月日情報がT1K〜T1Lか判断され(ステップS913)、現在の月日情報がT1K〜T1Lであれば(ステップS913のYES)、第1四半期に更新される(ステップS914)。ステップS913で現在の月日情報がT1K〜T1Lではないと判断されると、現在の月日情報がT2K〜T2Lかどうか判断される(ステップS915)。現在の月日情報がT2K〜T2Lであれば(ステップS915のYES)、第2四半期に更新される(ステップS916)。また、ステップS915で現在の月日情報がT2K〜T2Lではないと判断されると、現在の月日情報がT3K〜T3Lかどうか判断される(ステップS917)。現在の月日情報がT3K〜T3Lであれば(ステップS917のYES)、第3四半期に更新される(ステップS918)。また、ステップS917で現在の月日情報がT3K〜T3Lではないと判断されると、第4四半期に更新される(ステップS919)。図13(b)は平成18年8月1日の現在日付情報によって図13(a)の文書情報を更新した場合を示している。 Further, if it is determined in step S901 that the identification flag is not “Y” and it is determined in step S905 that the identification flag is not “M”, it is determined whether the current date information is T1K to T1L (step S913). If the current date information is T1K to T1L (YES in step S913), it is updated in the first quarter (step S914). If it is determined in step S913 that the current date information is not T1K to T1L, it is determined whether the current date information is T2K to T2L (step S915). If the current date information is T2K to T2L (YES in step S915), it is updated in the second quarter (step S916). If it is determined in step S915 that the current date information is not T2K to T2L, it is determined whether the current date information is T3K to T3L (step S917). If the current date information is T3K to T3L (YES in step S917), it is updated in the third quarter (step S918). If it is determined in step S917 that the current date information is not T3K to T3L, it is updated in the fourth quarter (step S919). FIG. 13B shows a case where the document information in FIG. 13A is updated with the current date information on August 1, 2006.
なお、図11ないし図13において、符号L1及びL2は印字テープ31によって作成した印字ラベルの印字物を示しているが、上記図7での説明を分かりやすくするため、文書情報のデータに置き換えて説明している。
In FIGS. 11 to 13, reference numerals L1 and L2 indicate the printed matter of the printed label created by the
そして、図7の更新処理を終了すると、図6のステップS10にリターンする。このステップS10では、更新結果を表示部4に表示する。図9はその表示例を示している。表示画面4dには、「文書を更新しました」のメッセージとともに、更新した文書情報が表示されている。
When the update process in FIG. 7 is completed, the process returns to step S10 in FIG. In step S10, the update result is displayed on the
この更新結果の表示の後、更新した文書情報の印字を行うかどうかの選択画面が表示部4に表示され、ユーザによって選択が行われる(ステップS11)。印字の実行の選択が判断されると(ステップS12のYES)、プリンタ部20によって印字テープ31に印字が行われ(ステップS13)、処理を終了する。図11ないし図13は印字例を示すものである。L1は、文書情報を印字テープ31に印字した印字ラベルであり、L2は、更新した文書情報を印字テープ31に印字した印字ラベルを示している。また、ステップS12で印字の実行が判断されない場合は、印字を行うことなく処理を終了する。また、ステップS2で呼び出した文書情報の更新実行が判断されない場合と(ステップS2のNO)、ステップS7で文書情報に識別フラグあると判断されない場合は(ステップS7のNO)、ステップS11に移行し、続いてステップS12,S13の処理が行われる。
After the update result is displayed, a selection screen for displaying whether or not the updated document information is to be printed is displayed on the
上記実施の形態によれば、文書情報メモリ45に記憶保存されている文書情報に所定の年度又は月度又は期間の情報が含まれている場合、その所定の年度又は月度又は期間の情報をRTC48から取得した現在の日付情報に対応したものに自動的に更新して出力することができ、登録してある文書情報を有効に利用することができる。また、使用者の事情に合せて年度又は月度又は所定の期間を任意に定義することができる。
According to the above embodiment, when the document information stored in the
なお、前記実施形態において記載した手法、すなわち、図10のフローチャートに示す所定の年度又は月度又は期間を定義する定義情報の設定処理、図6のフローチャートに示す文書情報に含まれる所定の年度又は月度又は期間を表す情報を更新する文書情報の更新処理、図7のフローチャートに示す前記文書情報の更新処理に伴う所定の年度又は月度又は期間の更新処理などの各手法は、コンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記憶媒体50に格納して配布することができる。そして、文書処理機能を備えたパーソナルコンピュータや印字装置(1)のコンピュータは、この外部記憶媒体50に記憶されたプログラムを内部の記憶装置(41)(42)に読み込み、この読み込んだプログラムによって動作が制御されることにより、前記実施形態において説明した文書情報に含まれる所定の年度又は月度又は期間を表す情報更新機能を実現し、前述した手法による同様の処理を実行することができる。
The method described in the above embodiment, that is, the definition information setting process for defining the predetermined year or month or period shown in the flowchart of FIG. 10, the predetermined year or month included in the document information shown in the flowchart of FIG. Alternatively, each method such as update processing of document information for updating information representing a period, update processing of a predetermined year or month or period accompanying the update processing of the document information shown in the flowchart of FIG. 7 may be executed by a computer. Programs that can be stored and distributed in an
また、前記各手法を実現するためのプログラムのデータは、プログラムコードの形態として通信ネットワーク(公衆回線)N上を伝送させることができ、この通信ネットワークNに接続された通信装置(53)によって前記プログラムデータを文書処理機能を備えたパーソナルコンピュータや印字装置(1)のコンピュータに取り込み、前述した文書情報に含まれる所定の年度又は月度又は期間を表す情報更新機能を実現することもできる。 The program data for realizing each of the above methods can be transmitted on a communication network (public line) N in the form of a program code, and the communication device (53) connected to the communication network N The program data can be taken into a personal computer or a computer of the printing apparatus (1) having a document processing function to realize an information update function that represents a predetermined year, month, or period included in the document information.
なお、本願発明は、前記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、前記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が異なる形態にして組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。 Note that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention in the implementation stage. Further, the embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment or some constituent requirements are combined in different forms, the problems described in the column of the problem to be solved by the invention are not solved. When the effects described in the column “Effects of the Invention” can be obtained, a configuration in which these constituent requirements are deleted or combined can be extracted as an invention.
1…ラベル作成装置 2…装置本体 3…入力部 4…表示部
4a…「年度」定義情報設定画面 4b…「月度」定義情報設定画面
4c…「四半期」定義情報設定画面 4d…更新結果表示画面 5…開閉蓋
6…カセット装填部 7…印字ヘッド(サーマルヘッド) 8…プラテンローラ
9…リボン巻取軸 10…カセット受部 12…排出口 13…カッタ
21…テープカセット 22…カセットケース 23…テープコア
24…リボン供給コア 25…リボン巻取コア 27…ヘッド配置部 29…被係合部
31…印字テープ 35…インクリボン 40…制御部 41…ROM 42…RAM
43…表示用フォントROM 44…印字用フォントROM 45…文書情報メモリ
46…特定文字列情報メモリ 47…定義情報メモリ 48…RTC
50…外部記憶媒体 51…記憶媒体読み取り部 52…Webサーバ
N…通信ネットワーク L1,L2…印字ラベル
DESCRIPTION OF SYMBOLS 1 ... Label production apparatus 2 ... Apparatus
43 ... Display font ROM 44 ...
DESCRIPTION OF
Claims (5)
開始日付から終了日付までの所定の期間を暦の区切りとは異なる区切りの期間表現とすべく定義する定義情報を記憶する定義情報記憶手段と、
前記期間表現と組み合わされて表される変数情報を前記文書情報記憶手段に記憶された文書情報から検索する検索手段と、
現在の日付情報を取得する日付情報取得手段と、
前記検索手段によって検索された前記文書情報に含まれる変数情報を、前記日付情報取得手段によって取得される現在の日付情報と前記定義情報記憶手段に記憶された定義情報に基づいて自動的に更新する更新手段と、
前記更新手段によって更新された前記期間表現と変数情報を含んだ文書情報を出力する出力手段と、
を備えることを特徴とする電子装置。 Document information storage means for storing document information;
Definition information storage means for storing definition information for defining a predetermined period from the start date to the end date as a period expression of a period different from the calendar period ;
And retrieving means for retrieving variable information represented in combination with the period represented by the document information stored in the document information storage unit,
Date information acquisition means for acquiring current date information;
Automatically updated based variable information included in the document information retrieved by said retrieval means, before SL current date information and the definition information defining information stored in the storage means is acquired by the date information acquisition means Updating means to
Output means for outputting document information including the period expression and variable information updated by the update means;
An electronic device comprising:
前記コンピュータを、
開始日付から終了日付までの所定の期間を暦の区切りとは異なる区切りの期間表現とすべく定義する定義情報を記憶する定義情報記憶手段、
前記期間表現と組み合わされて表される変数情報を前記文書情報記憶手段に記憶された文書情報から検索する検索手段、
現在の日付情報を取得する日付情報取得手段、
前記検索手段によって検索された前記文書情報に含まれる前記変数情報を、前記日付情報取得手段によって取得される現在の日付情報と前記定義情報記憶手段に記憶された定義情報に基づいて自動的に更新する更新手段、
前記更新手段によって更新された前記期間表現と変数情報を含んだ文書情報を出力する出力手段、
として機能させるようにしたコンピュータ読み込み可能な制御プログラム。 A control program for controlling a computer of an electronic apparatus provided with document information storage means for storing document information,
The computer,
Definition information storage means for storing definition information for defining a predetermined period from the start date to the end date as a period expression of a period different from the calendar period ;
Retrieving means for retrieving variable information represented in combination with the period represented by the document information stored in the document information storage unit,
Date information acquisition means for acquiring current date information;
The variable information included in the document information retrieved by said retrieval means, before SL automatically based on the current date information and the definition information defining information stored in the storage means is acquired by the date information acquisition means Update means to update,
Output means for outputting document information including the period expression and variable information updated by the update means;
A computer-readable control program designed to function as a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007094742A JP4830947B2 (en) | 2007-03-30 | 2007-03-30 | Electronic device and control program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007094742A JP4830947B2 (en) | 2007-03-30 | 2007-03-30 | Electronic device and control program thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008250917A JP2008250917A (en) | 2008-10-16 |
JP4830947B2 true JP4830947B2 (en) | 2011-12-07 |
Family
ID=39975740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007094742A Active JP4830947B2 (en) | 2007-03-30 | 2007-03-30 | Electronic device and control program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4830947B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0738191B2 (en) * | 1990-08-28 | 1995-04-26 | 株式会社ピーエフユー | Document processing device with date automatic update output function |
JPH09305681A (en) * | 1996-05-10 | 1997-11-28 | Casio Comput Co Ltd | Slip output method |
-
2007
- 2007-03-30 JP JP2007094742A patent/JP4830947B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2008250917A (en) | 2008-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3684554B2 (en) | Document processing device | |
JP2007245663A (en) | Printer | |
TWI290301B (en) | Tape printing system, tape printing method, and tape printing program | |
EP2409844B1 (en) | Printer device and printer system | |
JP2013161273A (en) | Control device, printing system, printer, method for controlling print, and program | |
JP5125660B2 (en) | Printing apparatus and control program therefor | |
JP2015087890A (en) | Advertising matter creation support device and advertising matter creation support program | |
JP4830947B2 (en) | Electronic device and control program thereof | |
JP4791860B2 (en) | Small printed matter creating apparatus, small printed matter creating method, and small printed matter creating program | |
CN113031881A (en) | Print information processing system, method of processing print information, and server | |
JP6858054B2 (en) | Printed image generator, label printing device, printed image generation method and its program | |
JP4491220B2 (en) | Small printed matter creating apparatus, small printed matter creating method, and small printed matter creating program | |
JP3587181B2 (en) | Tape-shaped label making device | |
JP4661660B2 (en) | Printing apparatus and printing method | |
JP4770774B2 (en) | Printing apparatus and printing control program | |
JP2998829B2 (en) | Tape-shaped label making device | |
WO2020213288A1 (en) | Display device and display control method | |
JP7331888B2 (en) | Information processing device, label creation method and label creation program | |
JP2000280435A (en) | Delivered data checking system | |
JP5861878B2 (en) | Content processing program and content information processing method | |
JP2024033745A (en) | Control method and program | |
JP2004259221A (en) | Image pasting device and method | |
JP2008229899A (en) | Label making device, label making method, and label making processing program | |
JP2011104797A (en) | Printer and control method therefor | |
JP2016060189A (en) | Editing device, editing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090625 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110525 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110607 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110729 |
|
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: 20110823 |
|
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: 20110905 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4830947 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140930 Year of fee payment: 3 |