JP2022142636A - Label printer and control program of the same - Google Patents
Label printer and control program of the same Download PDFInfo
- Publication number
- JP2022142636A JP2022142636A JP2021042886A JP2021042886A JP2022142636A JP 2022142636 A JP2022142636 A JP 2022142636A JP 2021042886 A JP2021042886 A JP 2021042886A JP 2021042886 A JP2021042886 A JP 2021042886A JP 2022142636 A JP2022142636 A JP 2022142636A
- Authority
- JP
- Japan
- Prior art keywords
- processor
- date
- label
- information
- 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.)
- Pending
Links
- 230000008859 change Effects 0.000 claims description 22
- 238000012545 processing Methods 0.000 description 58
- 230000006870 function Effects 0.000 description 40
- 238000010079 rubber tapping Methods 0.000 description 21
- 230000010365 information processing Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000000034 method Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 9
- 238000012790 confirmation Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 4
- 101100215341 Arabidopsis thaliana ACT12 gene Proteins 0.000 description 3
- 101100215344 Dictyostelium discoideum act17 gene Proteins 0.000 description 3
- 101100215345 Dictyostelium discoideum act18 gene Proteins 0.000 description 3
- 101100215368 Dictyostelium discoideum act21 gene Proteins 0.000 description 3
- 101100161922 Dictyostelium discoideum act22 gene Proteins 0.000 description 3
- 101100054764 Dictyostelium discoideum act24 gene Proteins 0.000 description 3
- 101100054766 Dictyostelium discoideum act25 gene Proteins 0.000 description 3
- 101100054770 Dictyostelium discoideum act29 gene Proteins 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 101100054768 Dictyostelium discoideum act27 gene Proteins 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 101100215339 Arabidopsis thaliana ACT11 gene Proteins 0.000 description 1
- 101100054763 Dictyostelium discoideum act23 gene Proteins 0.000 description 1
- 101100054767 Dictyostelium discoideum act26 gene Proteins 0.000 description 1
- 101100054769 Dictyostelium discoideum act28 gene Proteins 0.000 description 1
- 101100217138 Mus musculus Actr10 gene Proteins 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000010411 cooking Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000011347 resin Substances 0.000 description 1
- 229920005989 resin Polymers 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Printers Characterized By Their Purpose (AREA)
Abstract
Description
本発明の実施形態は、ラベルプリンタ及びその制御プログラムに関する。 An embodiment of the present invention relates to a label printer and its control program.
ラベルプリンタには、ラベルをプリントする日の日付を、加工日又は製造日などとして自動的にプリントする機能を備えるものがある。
しかしながら、日付による表示であると、商品の品質が十分に保たれている期間であっても、早い日付が表示された商品は古くなっているとの印象を購買者に与えてしまい、そのような誤った印象に基づく買い控えが生じる恐れがあった。
このような事情から、日付よりも長い期間を、加工などの事象のタイミングを表す情報として含んだラベルをプリントできることが望まれていた。
Some label printers have a function of automatically printing the date on which the label is printed as the date of processing or the date of manufacture.
However, if the date is displayed, even if the quality of the product is sufficiently maintained, it gives the purchaser the impression that the product with an earlier date is outdated. There was a risk that people would hold back on buying based on a false impression.
Under such circumstances, it has been desired to be able to print a label containing a period longer than the date as information indicating the timing of an event such as processing.
本発明が解決しようとする課題は、日付よりも長い期間を事象のタイミングを表す情報として含んだラベルをプリントできるラベルプリンタ及びその制御プログラムを提供することである。 SUMMARY OF THE INVENTION An object of the present invention is to provide a label printer and its control program capable of printing a label containing a period longer than a date as information representing the timing of an event.
実施形態のラベルプリンタは、プリントデバイス、決定手段、プリント手段、取得手段及び判定手段を備える。プリントデバイスは、ラベル用紙に画像をプリントする。決定手段は、ラベル用紙へのプリント情報を決定する。プリント手段は、決定手段により決定されたプリント情報をプリントデバイスによってラベル用紙にプリントさせる。取得手段は、決定手段がプリント情報を決定するタイミングを表すタイミング情報を取得する。判定手段は、取得手段により取得されたタイミング情報が表すタイミングが複数の期間のいずれに属するかを判定する。そして決定手段はまた、判定手段により判定された期間の識別名をプリント情報に含める。 A label printer of an embodiment comprises a printing device, a determining means, a printing means, an obtaining means and a determining means. The printing device prints the image on the label paper. The determining means determines print information to be printed on the label paper. The printing means causes the print information determined by the determining means to be printed on the label paper by the printing device. The acquiring means acquires timing information representing the timing at which the deciding means decides the print information. The determining means determines to which of the plurality of periods the timing represented by the timing information acquired by the acquiring means belongs. The determination means also includes the identification name of the period determined by the determination means in the print information.
以下、実施の形態について図面を用いて説明する。
図1は本実施形態に係るラベルプリンタ1の要部回路構成を示すブロック図である。
ラベルプリンタ1は、プロセッサ11、メモリユニット12、ハードウェアクロック13、表示ユニット14、入力ユニット15、プリントユニット16、インタフェースユニット17及び伝送路18を含む。
Embodiments will be described below with reference to the drawings.
FIG. 1 is a block diagram showing the essential circuitry of a
The
プロセッサ11は、メモリユニット12、ハードウェアクロック13、表示ユニット14、入力ユニット15、プリントユニット16及びインタフェースユニット17と、伝送路18を介して通信可能とされている。そして、プロセッサ11及びメモリユニット12が伝送路18により接続されていることによって、ラベルプリンタ1を制御するためのコンピュータが構成される。
プロセッサ11は、上記コンピュータの中枢部分に相当する。プロセッサ11は、オペレーティングシステム、ファームウェア及びアプリケーションプログラム等の情報処理プログラムに従って、ラベルプリンタ1としての各種の機能を実現するための情報処理を実行する。プロセッサ11は、例えばCPU(central processing unit)である。
The
メモリユニット12は、上記コンピュータの主記憶部分及び補助記憶部に相当する。メモリユニット12は、不揮発性のメモリ領域と揮発性のメモリ領域とを含む。メモリユニット12は、不揮発性のメモリ領域では上記の情報処理プログラムを記憶する。メモリユニット12は、プロセッサ11が情報処理を実行する上で必要なデータを不揮発性又は揮発性のメモリ領域で記憶する場合もある。メモリユニット12は、揮発性のメモリ領域を、プロセッサ11によってデータが適宜書き換えられるワークエリアとして使用する。不揮発性のメモリ領域は、例えばROM(read only memory)及びEEPROM(electric erasable programmable read-only memory)の記憶領域などである。揮発性のメモリ領域は、例えばRAM(random access memory)の記憶領域などである。不揮発性のメモリ領域は、例えばHDD(hard disc drive)、あるいはSSD(solid state drive)等の記憶領域であってもよい。メモリユニット12は、不揮発性のメモリ領域を、プロセッサ11が各種の処理を行う上で使用するデータ、あるいはプロセッサ11での処理によって作成されたデータ等を保存する領域として使用する。
The
メモリユニット12が記憶する情報処理プログラムの1つは、制御プログラムPRである。制御プログラムPRは、後述する制御処理を含んだラベルプリンタ1の動作制御の為の情報処理について記述された情報処理プログラムである。
One of the information processing programs stored in the
ハードウェアクロック13は、常に計時動作を行い、日付情報を出力する。日付情報は、月及び日を少なくとも示す。本実施形態では、日付情報は、年、月、日、時、分、秒をそれぞれ示すこととする。つまり本実施形態では、日付情報は、日付及び時刻を示す。ハードウェアクロック13は、オペレーティングシステムにより管理されるシステムクロックなどのソフトウェアクロックに置き換えられてもよい。
The
表示ユニット14は、操作者に対して各種の情報を通知するための各種の表示動作を行う。表示ユニット14としては、液晶表示器等の画面表示デバイス及びLEDランプ等の発光デバイスなどの周知の表示デバイスを、単独又は組み合わせて用いることができる。表示ユニット14に含まれる表示デバイスは例えば、タッチパネルに備えられた表示デバイスである。
The
入力ユニット15は、操作者による各種の指示を入力する。入力ユニット15としては、タッチセンサ、キースイッチ及びキーボードなどの周知の入力デバイスを、単独又は組み合わせて用いることができる。入力ユニット15に含まれる入力デバイスは例えば、上記のタッチパネルに備えられたタッチセンサである。
The
プリントユニット16は、細長い台紙を搬送しながら、この台紙の一面に貼り付けられているラベル用紙に、文字などを表したラベル画像をプリントする。台紙及びラベル用紙の材質は、典型的には紙であるが、樹脂などの紙以外の材質であっても構わない。また、台紙及びラベル用紙のそれぞれの材質が互いに異なっていてもよい。プリントユニットは、感熱式、熱転写式、ドットインパクト式、あるいはインクジェット式などの種々の周知のプリント方式のいずれが採用されてもよい。このプリントユニット16は、プリントデバイスの一例である。
The
インタフェースユニット17は、外部の情報端末装置等とデータを授受するための通信処理を行う。インタフェースユニット17としては、例えばLAN(local area network)規格、あるいはUSB(universal serial bus)規格などに準拠した周知の通信デバイスなどを用いることができる。
伝送路18は、アドレスバス、データバス及び制御信号線等を含み、接続された各部の間で授受されるデータ及び制御信号を伝送する。
The
The
メモリユニット12が記憶するデータには、設定データ群DAが含まれる。設定データ群DAは、ラベルプリンタ1の動作に関わる諸設定に関する設定データの集合である。設定データの1つは、ラベルにプリントするラベル画像のフォーマットを表す。設定データ群DAには、それぞれ異なるフォーマットに関する複数の設定データが含まれ得る。設定データの1つは、後述する年月旬プリントに適用する複数の期間のそれぞれの識別名に関連付けて、その期間の開始日及び終了日を表す。かくして当該設定データを記憶していることによりメモリユニット12は、複数の期間のそれぞれの範囲と、複数の期間のそれぞれの識別名とを関連付けて記憶する記憶手段に相当する。
Data stored in the
図2はフォーマットに関する設定データDAAの1つについての構造を模式的に示す図である。
設定データDAAは、1つのフォーマットに関連付けられる。フォーマットは、ラベル画像の範囲内に、それぞれ異なる項目に関する情報をプリントするための領域として複数のプリント領域を定めている。設定データDAAは、フィールドFAA,FAB,FAC,FAD…を含む。フィールドFAAには、関連付けられたフォーマットの識別子としてのフォーマット番号がセットされる。フィールドFABには、関連付けられたフォーマットの識別名としてのフォーマット名称がセットされる。フィールドFAC以降には、関連付けられたフォーマットにて定められたプリント領域のそれぞれに関する領域データがセットされる。プリント領域の数は、フォーマット毎に任意である。このため、設定データDAAに含まれるフィールドFAC以降のフィールドの数は、設定データDAAが関連付けられたフォーマットにいくつのプリント領域が設定されているかに応じて変化する。
1つの領域データは、1つのプリント領域に関連付けられ、フィールドFBA,FBB,FBCを含む。フィールドFBAには、関連付けられたプリント領域の識別子としての領域番号がセットされる。フィールドFBBには、関連付けられたプリント領域に関する項目の識別子としての項目番号がセットされる。フィールドFBCには、関連付けられたプリント領域に関する設定値群がセットされる。設定値群は、複数の設定値を含む。設定値群がどのような設定値を含むかは、関連付けられたプリント領域がどの項目に関するかに応じて変化する。
FIG. 2 is a diagram schematically showing the structure of one format-related setting data DAA.
The setting data DAA are associated with one format. The format defines multiple print areas within the label image as areas for printing information about different items. The setting data DAA includes fields FAA, FAB, FAC, FAD . . . Field FAA is set with a format number as an identifier of the associated format. A format name as an identification name of the associated format is set in the field FAB. After the field FAC, area data relating to each print area defined by the associated format is set. The number of print areas is arbitrary for each format. Therefore, the number of fields after the field FAC included in the setting data DAA varies depending on how many print areas are set in the format associated with the setting data DAA.
One region data is associated with one print region and includes fields FBA, FBB, FBC. Field FBA is set with an area number as an identifier of the associated print area. A field FBB is set with an item number as an identifier of an item relating to the associated print area. A field FBC is set with a group of setting values for the associated print area. A setting value group includes a plurality of setting values. What setting values are included in the set value group changes depending on which item the associated print area relates to.
図3は項目「加工日」のためのプリント領域に関する設定値群のデータ構造を模式的に示す図である。
図3に示す設定値群は、設定値VAA,VAB,VAC,VAD,VAE,VAF,VAG,VAHを含む。
設定値VAA~VAHはいずれも、該当のプリント領域に加工日を表すべくプリントする文字に関する諸設定を示す。設定値VAAは、文字の種類を示す。設定値VABは、文字の倍率を示す。設定値VACは、文字の向きの角度を示す。設定値VADは、プリント領域内での文字の配置を示す。設定値VAEは、文字の数を示す。設定値VAFは、加工日の表現のパターンを示す。設定値VAGは、元号を表す文字を含むか否かを表す元号フラグである。設定値VAHは、年月旬表示を適用するか否かを表す年月旬フラグである。
FIG. 3 is a diagram schematically showing the data structure of the set value group regarding the print area for the item "processing date".
The set value group shown in FIG. 3 includes set values VAA, VAB, VAC, VAD, VAE, VAF, VAG, and VAH.
All of the set values VAA to VAH indicate various settings related to characters to be printed in the corresponding print area to represent the date of processing. The set value VAA indicates the type of character. The set value VAB indicates the magnification of characters. The setting VAC indicates the orientation angle of the character. The set value VAD indicates the arrangement of characters within the print area. The set value VAE indicates the number of characters. The set value VAF indicates the expression pattern of the processing date. The set value VAG is an era name flag that indicates whether or not characters representing the era name are included. The set value VAH is a year-month-season flag indicating whether to apply the year-month-season display.
次に以上のように構成されたラベルプリンタ1の動作について説明する。なお、以下に説明する処理の内容は一例であって、一部の処理の順序の変更、一部の処理の省略、あるいは別の処理の追加などは適宜に可能である。
ラベルプリンタ1は、例えば店舗にて陳列販売する商品に貼り付けるラベルを発行するために用いられる。
Next, the operation of the
The
プロセッサ11は、例えば入力ユニット15での予め定められた操作によりフォーマットを選択する旨が操作者により宣言されたことに応じて、フォーマット選択及び編集のための処理ルーチンを制御プログラムPRに従って実行する。
図4及び図5はフォーマット選択及び編集のための処理ルーチンのフローチャートである。
The
4 and 5 are flowcharts of processing routines for format selection and editing.
ACT11としてプロセッサ11は、選択画面を表示ユニット14に表示させる。選択画面は、設定データ群DAに含まれる設定データが表すフォーマットの1つを操作者に選択させるための画面である。
図6は一例としての選択画面SCAを示す図である。
選択画面SCAは、キー群KAAと、キー群KAAに含まれない、ソフトキーKAB等の複数のソフトキーとを表す。
キー群KAAは、設定データ群DAに含まれる設定データが表すフォーマットのうちの任意の1つを操作者が指定するための複数のソフトキーを含む。図6の例では、最も上に表されるソフトキーは、フォーマット番号が「1」、かつフォーマット名称が「AAA」であるフォーマットを指定するための操作キーであり、その領域内に「1」及び「AAA」なる文字を表している。
ソフトキーKAB等のその他のソフトキーは、プロセッサ11が選択画面SCAにて指定を受ける複数の機能のそれぞれに関連付けられ、その機能を実行すべき機能として指定するための操作キーである。なお、ソフトキーKABは、フォーマットの編集を実行すべき機能として指定するための操作キーである。
これらソフトキーは、プロセッサ11が選択画面での操作者の操作を受けるためのGUI(graphical user interface)要素である。選択画面SCAのその他の表示要素も、GUI要素であってもよい。
As
FIG. 6 is a diagram showing a selection screen SCA as an example.
The selection screen SCA represents a key group KAA and a plurality of soft keys such as a soft key KAB that are not included in the key group KAA.
Key group KAA includes a plurality of soft keys for the operator to designate any one of the formats represented by the setting data included in setting data group DA. In the example of FIG. 6, the topmost soft key is an operation key for designating a format with a format number of "1" and a format name of "AAA". and "AAA".
Other soft keys such as soft key KAB are operation keys associated with each of a plurality of functions designated by
These softkeys are GUI (graphical user interface) elements for the
図4中のACT12としてプロセッサ11は、フォーマットの1つが指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT13へと進む。
ACT13としてプロセッサ11は、実行すべき機能が指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT12へと戻る。
かくしてプロセッサ11はACT12及びACT13としては、フォーマット又は機能が指定されるのを待ち受ける。
As
In
Thus,
操作者は、例えば選択画面SCA中のキー群KAAのうちの所望のフォーマットが関連付けられたソフトキーをタップするなどの予め定められた操作により、フォーマットの1つを指定する。そしてプロセッサ11は、このような操作が入力ユニット15により入力されたならば、ACT12にてYESと判定し、ACT14へと進む。
ACT14としてプロセッサ11は、指定されたフォーマットを有効フォーマットとして設定する。そしてプロセッサ11はこののち、ACT12及びACT13の待受状態に戻る。なおプロセッサ11は、有効フォーマットとして設定されているフォーマットが関連付けられたソフトキーについては、予め定められた方法でハイライト表示する。図6に示す選択画面SCAにおいてプロセッサ11は、最も上に表されたソフトキーを囲う状態で太線枠を表すことでハイライト表示を行っている。つまり図6に示す選択画面SCAは、フォーマット名称が「AAA」であるフォーマットが有効フォーマットとして設定されている状況を表している。
The operator designates one of the formats by a predetermined operation such as tapping a soft key associated with the desired format among the key group KAA on the selection screen SCA. Then, if such an operation is input by the
As
操作者は、フォーマットの選択を終え、何らかの処置に進む場合には、その処置のための機能に関連付けられたソフトキーをタップするなどの予め定められた操作を行う。プロセッサ11は、このような操作が入力ユニット15により入力されたならばACT13にてYESと判定し、ACT15へと進む。
ACT15としてプロセッサ11は、指定された機能がフォーマットの編集であるか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、指定された機能に関する処理へと進む。例えば操作者は、有効フォーマットを利用してのラベルのプリントを、実行すべき機能として指定するためのソフトキーをタップするなどの予め定められた操作を行う。そしてプロセッサ11はこの操作が入力ユニット15により入力されたことを確認の上で、ラベルプリントのための後述する処理ルーチンに移行する。ただし、ACT15にてNOと判定した後のプロセッサ11の他の処理についての説明は省略する。
When the operator finishes selecting the format and proceeds to some treatment, the operator performs a predetermined operation such as tapping a soft key associated with the function for that treatment. If such an operation is input by the
In
操作者は、有効フォーマットを編集したいならば、例えば図6中のソフトキーKABをタップするなどの予め定められた操作を行う。プロセッサ11は、このような操作が入力ユニット15により入力されたことに応じてACT15へと進んだ場合は、ACT15にてYESと判定し、ACT16へと進む。
ACT16としてプロセッサ11は、編集画面を表示ユニット14に表示させる。編集画面は、有効フォーマットの編集に関わる様々な指定を受け付けるための画面である。
図7は一例としての編集画面SCBを示す図である。
編集画面SCBは、有効フォーマットに含まれるプリント領域のそれぞれに関する項目の1つを指定するためのGUI要素を表す。当該のGUI要素は、表示領域ABA,ABB及びソフトキーKBA,KBBを含む。プロセッサ11は、表示領域ABA,ABBには、1つの項目に関する項目番号及び項目名称をそれぞれ表す。ソフトキーKBA,KBBは、表示領域ABA,ABBに表される項目の順送り及び逆送りをそれぞれ指示するための操作キーである。
また編集画面SCBは、ソフトキーKBA,KBB以外に、ソフトキーKACを含む複数のソフトキーを表す。これらのソフトキーは、それぞれに関連付けられた機能を実行すべき機能として指定するための操作キーである。なおソフトキーKACは、後述するように対象項目として設定された項目の編集を実行すべき機能として操作者が指定するため操作キーである。
If the operator wants to edit the valid format, he performs a predetermined operation such as tapping the soft key KAB in FIG. If the
As
FIG. 7 is a diagram showing an editing screen SCB as an example.
The edit screen SCB represents GUI elements for designating one of the items for each of the print areas included in the effective format. The GUI elements of interest include display areas ABA, ABB and softkeys KBA, KBB. The
The edit screen SCB also displays a plurality of soft keys including the soft key KAC in addition to the soft keys KBA and KBB. These soft keys are operation keys for designating functions associated with them as functions to be executed. The soft key KAC is an operation key for the operator to designate a function to edit an item set as a target item, as will be described later.
ACT17としてプロセッサ11は、項目の1つが指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT18へと進む。
ACT18としてプロセッサ11は、実行すべき機能が指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT17へと戻る。
かくしてプロセッサ11はACT17及びACT18としては、項目又は機能が指定されるのを待ち受ける。
As
As
Thus,
操作者は、例えばソフトキーKBA,KBBをタップするなどの予め定められた操作により、項目の1つを指定する。そしてプロセッサ11は、このような操作が入力ユニット15により入力されたならば、ACT17にてYESと判定し、ACT19へと進む。
ACT19としてプロセッサ11は、指定された項目を編集の対象項目として設定する。プロセッサ11は例えば、ソフトキーKBA,KBBのいずれかがタップされるごとに、表示領域ABA,ABBに項目番号及び項目名称を表す項目を変更し、当該項目を対象項目とする。そしてプロセッサ11はこののち、ACT17及びACT18の待受状態に戻る。
The operator designates one of the items by a predetermined operation such as tapping soft keys KBA and KBB. Then, if such an operation is input by the
As ACT 19, the
操作者は、項目の選択を終え、何らかの処置に進む場合には、例えばソフトキーKBA,KBB以外のいずれかのソフトキーをタップするなどの予め定められた操作を行う。なお、このときに操作者は、対象項目を編集したいならば、例えば図7中のソフトキーKBCをタップするなどの予め定められた操作を行う。プロセッサ11は、このような操作が入力ユニット15により入力されたならばACT18にてYESと判定し、ACT20へと進む。
ACT20としてプロセッサ11は、指定された機能が項目の編集であるか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、指定された機能に関する処理へと進む。例えば、編集を終えてフォーマットの選択に戻るのであれば、操作者は戻りを実行すべき機能として指定するためのソフトキーをタップするなどの予め操作を行う。そしてプロセッサ11はこの操作が入力ユニット15により入力されたことを確認の上で、例えばACT11へと戻る。ただし、ACT20にてNOと判定した後のプロセッサ11の処理についての説明は省略する。
When the operator finishes selecting items and proceeds to some action, the operator performs a predetermined operation such as tapping any soft key other than the soft keys KBA and KBB, for example. At this time, if the operator wants to edit the target item, he/she performs a predetermined operation such as tapping the soft key KBC in FIG. If such an operation is input by the
As
プロセッサ11は、ACT20へと進む契機となった操作が、ソフトキーKBCをタップするなどの項目の編集を実行すべき機能として指定するための操作であったならばACT20にてYESと判定し、ACT21へと進む。
ACT21としてプロセッサ11は、対象項目が「加工日」であるか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、対象項目に関する編集のための処理へと進む。ただし、ACT21にてNOと判定した後のプロセッサ11の処理についての説明は省略する。
The
As
一方、プロセッサ11は、対象項目が「加工日」であるならば、ACT21にてYESと判定し、図5中のACT22へと進む。
ACT22としてプロセッサ11は、設定確認画面を表示ユニット14に表示させる。設定確認画面は、「加工日」に関する現状の設定の状況を操作者に確認させるための画面である。
図8は一例としての設定確認画面SCCを示す図である。
設定確認画面SCCは、表示領域ACA,ACB,ACC,ACD,ACE、ソフトキーKCA,KCB,KCC,KCD,KCEを表す。
表示領域ACA~ACEは、項目「加工日」のためのプリント領域に関する設定値群に含まれる各設定値の内容を表すためのエリアである。プロセッサ11は、表示領域ACAには、設定値VAAが示す種類を表す。プロセッサ11は、表示領域ACBには、設定値VABが示す倍率を表す。プロセッサ11は、表示領域ACCには、設定値VACが示す角度を表す。プロセッサ11は、表示領域ACDには、設定値VADが示す配置と、設定値VAEが示す文字数とを表す。プロセッサ11は、表示領域ACEには、設定値VAFが示すパターンを表す。
ソフトキーKCA~KCEは、表示領域ACA~ACEのそれぞれに関連付けられ、その関連付けられた表示領域の左隣に位置している。ソフトキーKCA~KCEは、関連付けられた表示領域ACA~ACEに内容が表された設定値の変更を操作者が指定するための操作キーである。
設定確認画面SCCには、ソフトキーKCA~KCEとは別に、他の機能を実行すべき機能として指定するための、例えばソフトキーKCF等の複数のソフトキーを含む。設定確認画面SCCのその他の表示要素も、GUI要素であってもよい。
On the other hand, if the target item is "processing date", the
As ACT 22, the
FIG. 8 is a diagram showing a setting confirmation screen SCC as an example.
The setting confirmation screen SCC shows display areas ACA, ACB, ACC, ACD, ACE and soft keys KCA, KCB, KCC, KCD, KCE.
The display areas ACA to ACE are areas for displaying the contents of each set value included in the set value group regarding the print area for the item "processing date". The
Soft keys KCA-KCE are associated with display areas ACA-ACE, respectively, and are located to the left of their associated display areas. The soft keys KCA to KCE are operation keys for the operator to specify changes in the set values whose contents are displayed in the associated display areas ACA to ACE.
The setting confirmation screen SCC includes, in addition to the soft keys KCA to KCE, a plurality of soft keys such as the soft key KCF for designating other functions as functions to be executed. Other display elements of the setting confirmation screen SCC may also be GUI elements.
図5中のACT23としてプロセッサ11は、「加工日」に関する設定の項目のうちの1つが指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT24へと進む。
ACT24としてプロセッサ11は、実行すべき機能が指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT24へと戻る。
かくしてプロセッサ11はACT23及びACT24としては、項目又は機能が指定されるのを待ち受ける。
As ACT 23 in FIG. 5, the
As ACT 24, the
Thus,
操作者は、「加工日」に関する設定の変更以外の何らかの機能を実行させたい場合には、例えばソフトキーKCA~KCE以外のソフトキーをタップするなどの予め定められた操作を行う。プロセッサ11は、このような操作が入力ユニット15により入力されたならばACT24にてYESと判定し、指定された機能に関する処理へと進む。例えば、表示ユニット14での表示を編集画面に戻したいのであれば、操作者は戻りを実行すべき機能として指定するためのソフトキーKCFをタップするなどの予め定められた操作を行う。そしてプロセッサ11はこの操作が入力ユニット15により入力されたことを確認の上で、例えば図4中のACT16へと戻る。ただし、ACT24にてNOと判定した後のプロセッサ11の他の処理についての説明は省略する。
When the operator wants to execute some function other than changing the setting related to "processing date", the operator performs a predetermined operation such as tapping a soft key other than the soft keys KCA to KCE. If such an operation is input by the
操作者は、「加工日」に関する設定を変更したいならば、表示領域ACA~ACEのうちで変更したい設定内容が表された表示領域に関連付けられたソフトキーKCA~KCEをタップするなどの予め定められた操作により、変更対象の設定値を指定する。そしてプロセッサ11は、このような操作が入力ユニット15により入力されたならば、ACT23にてYESと判定し、ACT25へと進む。
ACT25としてプロセッサ11は、変更対象として「プリントパターン」が指定されたか否か確認する。プリントパターンとは、加工日を表す日付をプリントする際の表現パターンのことである。例えば「21.12.31」「2021.12.31」「12.31.2021」などがそれぞれプリントパターンの例である。そしてプロセッサ11は、指定された項目が「プリントパターン」ではないならばNOと判定し、指定された項目に関しての設定を変更するための処理に進む。ただし、ACT25にてNOと判定した後のプロセッサ11の処理についての説明は省略する。
If the operator wants to change the setting related to the "processing date", the operator taps the soft keys KCA to KCE associated with the display area showing the setting content to be changed among the display areas ACA to ACE. Specify the setting value to be changed by the specified operation. Then, if such an operation is input by the
In ACT 25, the
プロセッサ11は、例えばソフトキーKCEへのタップなどにより項目「プリントパターン」が指定されたならばACT25にてYESと判定し、ACT26へと進む。
ACT26としてプロセッサ11は、設定画面を表示ユニット14に表示させる。設定画面は、プリントパターンに関する設定のためのGUI要素を含んだ画面である。
The
As ACT 26, the
図9は一例としての設定画面SCDを示す図である。
設定画面SCDは、設定確認画面SCCに重ねてウィンドウWDAを表した画面である。
ウィンドウWDAは、複数のプリントパターンをそれぞれ関連付けたソフトキーKDA,KDB,KDCを表す。ウィンドウWDAは、元号プリントの「有り」及び「無し」をそれぞれ指定するための2つのソフトキーKDD,KDEを表す。ウィンドウWDAは、年月旬プリントの「有り」及び「無し」をそれぞれ指定するための2つのソフトキーKDF,KDGを表す。ウィンドウWDAは、プリントパターンに関する設定の変更をキャンセル又は実行することをそれぞれ指定するためのソフトキーKDH,KDIを表す。
FIG. 9 is a diagram showing a setting screen SCD as an example.
The setting screen SCD is a screen showing a window WDA superimposed on the setting confirmation screen SCC.
A window WDA represents softkeys KDA, KDB, and KDC each associated with a plurality of print patterns. Window WDA displays two softkeys KDD and KDE for designating "yes" and "no" of era name printing, respectively. The window WDA displays two soft keys KDF and KDG for designating "yes" and "no" of year-month-season print, respectively. A window WDA displays soft keys KDH and KDI for designating cancellation or execution of the change of the print pattern settings, respectively.
図5中のACT27としてプロセッサ11は、プリントパターンに関する設定の変更が指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT28へと進む。
ACT28としてプロセッサ11は、設定変更の実行が指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT29へと進む。
ACT29としてプロセッサ11は、設定変更のキャンセルが指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT27へと戻る。
かくしてプロセッサ11はACT27~ACT29としては、変更、実行及びキャンセルのいずれかが指定されるのを待ち受ける。
As ACT 27 in FIG. 5, the
In ACT 28, the
In ACT 29, the
Thus, the
操作者は、複数のプリントパターンのうちで「加工日」のプリント領域に適用するプリントパターンを変更するならば、例えばソフトキーKDA,KDB,KDCのうちの変更後のプリントパターンが関連付けられたソフトキーをタップするなどの予め定められた操作により、そのプリントパターンの変更を指定する。操作者は、「加工日」のプリント領域において元号をプリントさせたいならば、例えばソフトキーKDDをタップするなどの予め定められた操作により元号プリントを「有り」とする変更を指定する。操作者は、「加工日」のプリント領域において元号をプリントさせたくないならば、例えばソフトキーKDEをタップするなどの予め定められた操作により元号プリントを「無し」とする変更を指定する。操作者は、「加工日」のプリント領域におけるプリントに年月旬を適用したいならば、例えばソフトキーKDFをタップするなどの予め定められた操作により年月旬プリントを「有り」とする変更を指定する。操作者は、「加工日」のプリント領域における年月旬をプリントさせたくないならば、例えばソフトキーKDGをタップするなどの予め定められた操作により年月旬プリントを「無し」とする変更を指定する。
なお、年月旬とは、例えば「2021.1.上旬」のような形態を指す。
If the operator changes the print pattern to be applied to the print area of the "process date" among the plurality of print patterns, for example, the software associated with the changed print pattern among the soft keys KDA, KDB, and KDC. A predetermined operation such as tapping a key designates a change in the print pattern. If the operator wants to print the era name in the print area of "processing date", he/she designates change to "yes" printing of the era name by a predetermined operation such as tapping the soft key KDD. If the operator does not want the era name to be printed in the print area of "processing date", the operator designates a change to "no" printing of the era name by a predetermined operation such as tapping the soft key KDE. . If the operator wants to apply the year/month/month to printing in the print area of the "processing date", the operator can change the year/month/season print to "yes" by a predetermined operation such as tapping the soft key KDF. specify. If the operator does not want to print the year/month/season in the print area of "processing date", the operator can change the year/month/season print to "no" by a predetermined operation such as tapping the soft key KDG. specify.
Note that the year, month, and month refers to a form such as "early January, 2021", for example.
プロセッサ11は、変更を指定するための上記のような操作が入力ユニット15により入力されたならば、ACT27にてYESと判定し、ACT30へと進む。
ACT30としてプロセッサ11は、行われた変更の指定を保留しておく。プロセッサ11は例えば、プリントパターン、元号プリント及び年月旬プリントのそれぞれに関する
最新の指定をそれぞれ表した保留データを、メモリユニット12に保存しておく。そしてプロセッサ11はこののち、ACT27~ACT29の待受状態に戻る。なおプロセッサ11は、保留データが表す設定に対応するソフトキーについては、予め定められた方法でハイライト表示する。図9に示す設定画面SCDにおいてプロセッサ11は、ソフトキーKDA,KDE,KDFをそれぞれ囲う状態で太線枠を表すことでハイライト表示を行っている。つまり図9に示す設定画面SCDは、「YY.MM.DD」なるプリントパターン、元号プリント「無し」、年月旬プリント「有り」、が最新の指定である状況を表している。
The
As ACT 30
プロセッサ11は、変更の実行を指定するための上記のような操作が入力ユニット15により入力されたならば、ACT28にてYESと判定し、ACT31へと進む。
ACT31としてプロセッサ11は、保留してある指定を設定に反映する。プロセッサ11は例えば、上記の保留データに表される変更指定に応じて、設定データ群DAに含まれるフォームデータを更新する。そしてプロセッサ11はこののち、ACT22に戻る。
なおプロセッサ11は、変更のキャンセルを指定するための上記のような操作が入力ユニット15により入力されたならば、ACT29にてYESと判定し、ACT31を実行することなしにACT22へと戻る。
以上のように操作者は、加工日のプリントに関して年月旬プリントを適用するか否かをフォーマット毎に任意に設定できる。
The
As ACT 31, the
It should be noted that the
As described above, the operator can arbitrarily set for each format whether or not year/month/month printing is to be applied with respect to printing of the processing date.
プロセッサ11は、例えば入力ユニット15での予め定められた操作により日時に関する設定を行う旨が操作者により宣言されたことに応じて、日時変更のための処理ルーチンを制御プログラムPRに従って実行する。
図10は日時変更のための処理ルーチンのフローチャートである。
The
FIG. 10 is a flow chart of a processing routine for changing the date and time.
ACT41としてプロセッサ11は、日時設定画面を表示ユニット14に表示させる。
図11は一例としての日時設定画面SCEを示す図である。
日時設定画面SCEは、日付用及び時刻用の表示領域AEA,AEBを表す。プロセッサ11は、これら表示領域AEA,AEBは、GUI要素としての入力領域と兼用とする。プロセッサ11は、表示領域AEA,AEBには、ハードウェアクロック13が出力する日付情報が示す日付及び時刻をリアルタイムに表す。日時設定画面SCEは、年月旬プリントに適用する複数の期間のそれぞれに関して、識別名と、開始日及び終了日とを、設定データ群DAに含まれていてそれらを表した設定データに基づいて表す。本実施形態では、年月旬プリントに適用する期間は3つであり、それらの識別名は「上旬」「中旬」及び「下旬」と定められていることとする。そしてプロセッサ11は本実施形態では、「上旬 1~10」「中旬 11~20」「下旬 21~末日」のような表示を日時設置画面に含める。そしてプロセッサ11は、識別名が「上旬」及び「中旬」である期間の終了日については、表示領域AEC,AEDにそれぞれ表す。プロセッサ11は、表示領域AEC,AEDは、GUI要素としての入力領域と兼用する。
As ACT 41, the
FIG. 11 is a diagram showing a date and time setting screen SCE as an example.
The date and time setting screen SCE shows display areas AEA and AEB for date and time. The
図10中のACT42としてプロセッサ11は、日時設定画面に関する何らかの操作がなされるのを待ち受ける。
操作者は、例えばハードウェアクロック13が出力する日付情報を修正したいならば、例えば表示領域AEA,AEBのいずれかをタップするなどの予め定められた操作を行う。また操作者は、識別名が「上旬」である期間の終了日を変更したいならば、例えば表示領域AECをタップするなどの予め定められた操作を行う。また操作者は、識別名が「中旬」である期間の終了日を変更したいならば、例えば表示領域AEDをタップするなどの予め定められた操作を行う。そして操作者は、タップした表示領域に変更後の値を入力するよう、入力ユニット15を操作する。
As ACT 42 in FIG. 10, the
For example, if the operator wishes to correct the date information output by the
プロセッサ11は、上記のような操作等の何らかの操作が入力ユニット15により入力されたならば、ACT42にてYESと判定し、ACT43へと進む。
ACT43としてプロセッサ11は、識別名が「上旬」である期間の終了日に関する値が入力されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できたならばYESと判定し、ACT44へと進む。
The
As ACT 43, the
ACT44としてプロセッサ11は、設定データ群DAに含まれ、年月旬プリントに適用する期間に関する設定を表した設定データを、行われた操作に応じて更新する。プロセッサ11は例えば、該当の設定データに「上旬」なる識別名に関連付けて表された終了日を、入力された値に書き換えるとともに、「中旬」なる識別名に関連付けて表された開始日を、入力された値よりも1つ大きな値に書き換える。そしてプロセッサ11はこののち、ACT42の待受状態に戻る。
As ACT 44, the
一方、プロセッサ11は、識別名が「上旬」である期間の終了日に関する値が入力されたのでなければACT43にてNOと判定し、ACT45へと進む。
ACT45としてプロセッサ11は、識別名が「中旬」である期間の終了日に関する値が入力されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できたならばYESと判定し、ACT46へと進む。
ACT46としてプロセッサ11は、設定データ群DAに含まれ、年月旬プリントに適用する期間に関する設定を表した設定データを、行われた操作に応じて更新する。プロセッサ11は例えば、該当の設定データに「中旬」なる識別名に関連付けて表された終了日を、表示領域AECに入力された値に書き換えるとともに、「下旬」なる識別名に関連付けて表された開始日を、入力された値よりも1つ大きな値に書き換える。そしてプロセッサ11はこののち、ACT42の待受状態に戻る。
かくして制御プログラムに基づく情報処理をプロセッサ11が実行することによって、プロセッサ11を中枢部分とするコンピュータは更新手段として機能する。
On the other hand, the
As ACT 45, the
As ACT 46, the
As a result of the
一方、プロセッサ11は、識別名が「中旬」である期間の終了日の表示領域に値が入力されたのでなければACT45にてNOと判定し、なされた操作に応じた処理へと進む。プロセッサ11は例えば、日付用の表示領域に値が入力されたのであるならば、ハードウェアクロック13で管理している日付を、表示領域AEAに入力された値に合わせるようにハードウェアクロック13に指示する。ただし、ACT15にてNOと判定した後のプロセッサ11の他の処理についての説明は省略する。
以上のようにして、操作者は、年月旬プリントに適用する各期間の開始日及び終了日を任意に変更できる。
On the other hand, the
As described above, the operator can arbitrarily change the start date and end date of each period applied to year-month-season print.
なお、本実施形態においては、「上旬」なる識別名の期間の開始日は「1日」に、また「下旬」なる識別名の期間の終了日は「末日」に、それぞれ固定している。また「中旬」及び「下旬」なる識別名の期間の開始日は、「上旬」及び「中旬」なる識別名の期間の終了日の翌日としている。このため、これらの日を表す値は、設定データに含めなくてもよい。ただし、これらの日についての値も設定データに含めておき、変更後の値を入力する操作を受けるようにした上で、その操作に応じてプロセッサ11が設定データ中の値を変更するようにしてもよい。
In this embodiment, the start date of the period of the identification name "early" is fixed to "1st", and the end date of the period of the identification name "late" is fixed to the "last day". Also, the start dates of the periods of the identifiers "mid" and "late" are the days following the end dates of the periods of the identifiers "early" and "mid". Therefore, values representing these days may not be included in the configuration data. However, values for these days are also included in the setting data, and after receiving an operation to input the changed values, the
プロセッサ11は、例えば入力ユニット15での予め定められた操作によりラベルの発行のための動作の開始が操作者により指示されたことに応じて、ラベルプリントのための処理ルーチンを制御プログラムPRに従って実行する。
図12はラベルプリントのための処理ルーチンのフローチャートである。
The
FIG. 12 is a flow chart of a processing routine for label printing.
ACT51としてプロセッサ11は、有効フォーマットに基づき、その有効フォーマットに基づいてラベルに表すべき各種項目の情報を取得する。ここで取得する情報は例えば、商品名、単価、製造者の情報、あるいはバーコードなどである。なお、各種情報の取得は、例えば、操作者による手入力を受けるのでもよいし、店舗サーバ(不図示)が管理する商品マスタや他のデータベースに記憶された情報を、インタフェースユニット17を介して通信により取得するのでもよい。各種情報の取得は、既存の別のラベルプリンタにより行われている処理と同様な処理により行うことができる。
As ACT 51, the
ACT52としてプロセッサ11は、発行画面を表示ユニット14に表示させる。発行画面は、ラベルにプリントされる各種の情報を操作者に確認させるための画面である。プロセッサ11は、ACT51で取得した情報を発行画面に表す。またプロセッサ11は、ハードウェアクロック13が出力する日付情報を周期的に取得し、最新の日付情報が表す日付及び時刻を発行画面に表す。またプロセッサ11は例えば、機能を操作者が指定するためのGUI要素を選択画面に含める。なお、GUI要素は、例えばソフトキーである。
As ACT 52, the
ACT53としてプロセッサ11は、1枚のラベルのプリントを開始する条件(以下、プリント条件と称する)が成立したか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT54へと進む。
ACT54としてプロセッサ11は、実行すべき機能が指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT53へと戻る。
かくしてプロセッサ11はACT53及びACT54としては、プリント条件が成立
するか、機能が指定されるのを待ち受ける。
As ACT 53, the
As ACT 54, the
Thus, the
操作者は、ラベルのプリント以外の何らかの機能を実行させたい場合には、その機能が関連付けられたソフトキーをタップするなどの予め定められた操作を行う。そしてプロセッサ11は、このような操作が入力ユニット15により入力されたならば、ACT54にてYESと判定し、指定された機能に関する処理へと進む。ただし、ACT54にてYESと判定した後のプロセッサ11の処理についての説明は省略する。
When the operator wants to execute some function other than label printing, the operator performs a predetermined operation such as tapping a soft key associated with that function. Then, if such an operation is input by the
プリント条件は、例えば「開始を指示する操作が行われた」、あるいは「前のラベルのプリントが終了した」などのように定めることが想定される。なお、重量計をラベルプリンタ1に内蔵又は外付けし、プリント条件は「重量計での商品重量の計測が終了した」としてもよい。あるいは、プリント済みのラベルの台紙からの除去を検出するセンサをラベルプリンタ1に内蔵又は外付けし、プリント条件は「プリント済みのラベルの除去がセンサにより検出された」としてもよい。このようなプリント条件は、制御プログラムPRの作成者、あるいはラベルプリンタ1の管理者などにより任意に定められてよい。そしてプロセッサ11は、定められているプリント条件が成立したならば、ACT53にてYESと判定し、ACT55へと進む。
It is assumed that the print condition is defined as, for example, ``an operation instructing the start has been performed'' or ``printing of the previous label has been completed''. Note that the weight scale may be built in or externally attached to the
ACT55としてプロセッサ11は、プリントする項目として「加工日」が含まれるか否かを確認する。プロセッサ11は例えば、有効フォーマットのフォーマットデータを確認し、プリントする項目として「加工日」が含まれているか否かを確認する。そしてプロセッサ11は、「加工日」が含まれているならばYESと判定し、ACT56へと進む。
In ACT 55, the
ACT56としてプロセッサ11は、年月旬プリントが「有り」に設定されているか否かを確認する。プロセッサ11は例えば、有効フォーマットのフォーマットデータを確認し、年月旬プリントに関する設定が「有り」とされているか否かを確認する。そしてプロセッサ11は、年月旬プリントが「有り」に設定されているならばYESと判定し、ACT57へと進む。
In ACT 56, the
ACT57としてプロセッサ11は、ハードウェアクロック13が出力する最新の日付情報を取得する。
ACT58としてプロセッサ11は、ACT57で取得した日付情報が表す日付を年月旬に変換する。プロセッサ11は例えば、該当の日付のうちの「日」が、識別名が「上旬」である期間の開始日から終了日までのいずれかの日であるならば、該当の日付を有効フォーマットでの設定に応じたプリントパターンで表す文字列のうちで「日」を表す数字又は数字列を、文字列「上旬」に置き換える。プロセッサ11は例えば、該当の日付のうちの「日」が、識別名が「中旬」である期間の開始日から終了日までのいずれかの日であるならば、該当の日付を有効フォーマットでの設定に応じたプリントパターンで表す文字列のうちで「日」を表す数字又は数字列を、文字列「中旬」に置き換える。プロセッサ11は例えば、該当の日付のうちの「日」が、識別名が「下旬」である期間の開始日から、該当の日付のうちの「月」の末日までのいずれかの日であるならば、該当の日付を有効フォーマットでの設定に応じたプリントパターンで表す文字列のうちで「日」を表す数字又は数字列を、文字列「下旬」に置き換える。具体例としてプロセッサ11は、該当の日付を有効フォーマットでの設定に応じたプリントパターンで表す文字列が「21. 1.20」である場合で、識別名が「中旬」である期間の開始日及び終了日が「11」及び「20」と設定されているならば、上記の「21. 1.20」を「21. 1.中旬」に変換する。
かくしてプロセッサ11はここで、タイミング情報としての日付情報が表すタイミングとしての日付が、識別名が「上旬」「中旬」又は「下旬」である3つの期間のいずれに属するかを判定している。つまり制御プログラムPRに基づく情報処理をプロセッサ11が実行することによって、プロセッサ11を中枢部分とするコンピュータは判定手段として機能する。
As ACT 57 , the
In ACT58, the
Thus, the
ACT59としてプロセッサ11は、ラベル画像を生成する。プロセッサ11は例えば、有効フォーマットでの設定に従い、ACT51で取得したプリント情報とACT58で得た年月旬とを各プリント領域に配置することによりラベル画像を生成する。なおプロセッサ11は、「加工日」が関連付けられたプリント領域には、ACT58で得た年月旬を配置する。
かくしてプロセッサ11はここで、ACT51で取得したプリント情報とACT58で得た年月旬とをラベルへのプリント情報として決定していることになる。そしてプロセッサ11は、このようにプリント情報を決定するタイミングを表すタイミング情報として、ACT57として日付情報を取得している。つまり制御プログラムPRに基づく情報処理をプロセッサ11が実行することによって、プロセッサ11を中枢部分とするコンピュータは決定手段及び取得手段として機能する。
図13は一例としてのラベル画像IMAを示す図である。
画像IMAは、文字列CSAを表す。文字列CSAは、項目「加工日」に関する設定に応じて、上記のように日付「21. 1.20」を、年月旬を表すように変換して得た文字列である。
As ACT 59
Thus, the
FIG. 13 is a diagram showing a label image IMA as an example.
The image IMA represents the character string CSA. The character string CSA is a character string obtained by converting the date “21.
一方でプロセッサ11は、プリントする項目として「加工日」が含まれていなかった場合、あるいは年月旬プリントが「無し」に設定されている場合には、図12中のACT55又はACT56にてNOと判定し、いずれの場合もACT60へと進む。
ACT60としてプロセッサ11は、ハードウェアクロック13が出力する最新の日付情報を取得する。
On the other hand, the
As ACT 60 ,
ACT61としてプロセッサ11は、ラベル画像を生成する。プロセッサ11は例えば、有効フォーマットでの設定に従い、ACT51で取得したプリント情報とACT60で得た日付情報とを各プリント領域に展開することによりラベル画像を生成する。なおプロセッサ11は、ACT56にNOと判定している場合には、「加工日」が関連付けられたプリント領域には、ACT60で得た日付情報が表す日付を有効フォーマットでの設定に応じたプリントパターンで表す文字列を配置する。つまりプロセッサ11は例えば、上記の具体例の場合は、「加工日」が関連付けられたプリント領域に「21. 1.20」を配置する。
As ACT 61
プロセッサ11は、ACT59又はACT61でのラベル画像の生成を終えると、いずれの場合もACT62へと進む。
ACT62としてプロセッサ11は、プリントユニット16を動作させ、ACT59又はACT61で生成されたラベル画像をラベル用紙にプリントする。そしてプロセッサ11はこののち、ACT53及びACT54の待受状態に戻る。
When
As ACT62, the
ACT59にて生成されたラベル画像をラベル用紙にプリントすることは、決定手段により決定されたプリント情報をラベルにプリントすることに相当する。つまり制御プログラムPRに基づく情報処理をプロセッサ11が実行することによって、プロセッサ11を中枢部分とするコンピュータはプリント手段として機能する。
Printing the label image generated in ACT 59 on the label paper corresponds to printing the print information determined by the determining means on the label. In other words, the
以上のようにラベルプリンタ1は、「21. 1.20」のような日付から変換した「21. 1.中旬」のような年月旬を「加工日」が関連付けられたプリント領域に表したラベルをプリントできる。つまり、日付よりも長い期間を事象のタイミングを表す情報として含んだラベルをプリントできる。
As described above, the
またラベルプリンタ1は、日付よりも長い複数の期間のそれぞれの開始日及び終了日を、操作者が適宜に設定できる。このため、店舗毎の事情などに応じた柔軟な運用が可能となる。
Further, the
またラベルプリンタ1は、「加工日」が関連付けられたプリント領域に年月旬を適用するか否かをフォーマット毎に任意に設定できる。このため、フォーマットの選択により、「加工日」が関連付けられたプリント領域に年月旬を適用するラベルと適用しないラベルとをそれぞれプリントすることができる。
In addition, the
この実施形態は、次のような種々の変形実施が可能である。
日付よりも長い複数の期間の数は、2つ又は4つ以上であってもよい。例えば、識別名を「上旬」又は「前期」とした期間と、識別名を「下旬」又は「後期」とした期間との2つとしてもよい。あるいは例えば、識別名を「第1クォーター」「第2クォーター」「第3クォーター」及び「第4クォーター」とした4つの期間としてもよい。
This embodiment can be modified in various ways as follows.
The number of multiple periods longer than the date may be two or four or more. For example, there may be two periods, one with the identifier "early" or "early" and the other with the identifier "late" or "late". Alternatively, for example, it may be four periods with identifier names of "first quarter,""secondquarter,""thirdquarter," and "fourth quarter."
前記実施形態では、日付よりも長い複数の期間は、「月」を複数に区切った期間として定めることを想定している。しかしながら、「月」とは別の、例えば「年」などの任意の期間を複数に区切った期間として各期間が定められてもよい。 In the above embodiment, it is assumed that the multiple periods longer than the date are defined as periods obtained by dividing a "month" into multiple periods. However, each period may be defined as a period in which any period other than "month", such as "year", is divided into a plurality of periods.
前記実施形態でプロセッサ11が行っている各種の設定は、インタフェースユニット17に接続された外部の情報端末装置などで行われてもよい。そしてこの場合は、設定データを外部の情報端末装置において保持しておき、メモリユニット12には記憶しないようにしてもよい。あるいは、外部の情報端末装置で作成された設定データを、インタフェースユニット17を介して、あるいは記憶媒体を介してラベルプリンタ1に取り込んで、メモリユニット12に記憶させてもよい。
Various settings performed by the
年月旬のような形態でのプリントを適用するプリント領域は、「加工日」以外の、例えば「製造日」又は「調理日」などのような項目に関連付けられていてもよい。 A print area to which printing in a form such as year/month/season is applied may be associated with items other than "processing date" such as "manufacturing date" or "cooking date".
情報処理によりプロセッサ11が実現する各機能は、その一部又は全てをロジック回路などのようなプログラムに基づかない情報処理を実行するハードウェアにより実現することも可能である。また上記の各機能のそれぞれは、上記のロジック回路などのハードウェアにソフトウェア制御を組み合わせて実現することも可能である。
Each function realized by the
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 While several embodiments of the invention have been described, these embodiments have been presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and modifications can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the scope of the invention described in the claims and equivalents thereof.
1…ラベルプリンタ、11…プロセッサ、12…メモリユニット、13…ハードウェアクロック、14…表示ユニット、15…入力ユニット、16…プリントユニット、17…インタフェースユニット、18…伝送路。
DESCRIPTION OF
Claims (5)
ラベル用紙へのプリント情報を決定する決定手段と、
前記決定手段により決定されたプリント情報を前記プリントデバイスによってラベル用紙にプリントさせるプリント手段と、
前記決定手段がプリント情報を決定するタイミングを表すタイミング情報を取得する取得手段と、
前記取得手段により取得されたタイミング情報が表すタイミングが複数の期間のいずれに属するかを判定する判定手段と、
を具備し、
前記決定手段は、前記判定手段により判定された期間の識別名を前記プリント情報に含める、
ラベルプリンタ。 a printing device for printing images on label paper;
determining means for determining print information on label paper;
printing means for causing the printing device to print the print information determined by the determining means on label paper;
Acquisition means for acquiring timing information representing timing at which the determination means determines print information;
determination means for determining to which of a plurality of periods the timing represented by the timing information acquired by the acquisition means belongs;
and
The determination means includes the identification name of the period determined by the determination means in the print information.
label printer.
請求項1に記載のラベルプリンタ。 The determining means determines print information for each label sheet each time an image is printed on one label sheet.
A label printer according to claim 1.
をさらに備える請求項1又は請求項2に記載のラベルプリンタ。 storage means for storing the range of each of the plurality of periods and the identification name of each of the plurality of periods in association with each other;
3. A label printer according to claim 1 or claim 2, further comprising:
をさらに備える請求項3に記載のラベルプリンタ。 update means for updating the range stored in the storage means in accordance with a change instruction;
4. The label printer of Claim 3, further comprising:
ラベル用紙へのプリント情報を決定する決定手段と、
前記決定手段により決定されたプリント情報を前記プリントデバイスによってラベル用紙にプリントさせるプリント手段と、
前記決定手段がプリント情報を決定するタイミングを表すタイミング情報を取得する取得手段と、
前記取得手段により取得されたタイミング情報が表すタイミングが複数の期間のいずれに属するかを判定する判定手段と、
して機能させ、
かつ前記決定手段により、前記判定手段により判定された期間の識別名を前記プリント情報に含めさせる、
制御プログラム。
A computer controlling a label printer equipped with a printing device for printing images on label paper,
determining means for determining print information on label paper;
printing means for causing the printing device to print the print information determined by the determining means on label paper;
Acquisition means for acquiring timing information representing timing at which the determination means determines print information;
determination means for determining to which of a plurality of periods the timing represented by the timing information acquired by the acquisition means belongs;
to make it work,
and causing the determining means to include the identification name of the period determined by the determining means in the print information;
control program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021042886A JP2022142636A (en) | 2021-03-16 | 2021-03-16 | Label printer and control program of the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021042886A JP2022142636A (en) | 2021-03-16 | 2021-03-16 | Label printer and control program of the same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022142636A true JP2022142636A (en) | 2022-09-30 |
Family
ID=83426469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021042886A Pending JP2022142636A (en) | 2021-03-16 | 2021-03-16 | Label printer and control program of the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022142636A (en) |
-
2021
- 2021-03-16 JP JP2021042886A patent/JP2022142636A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2022142636A (en) | Label printer and control program of the same | |
JP6098177B2 (en) | Control device, printer, and program | |
JP5750463B2 (en) | Label printer and its control program | |
JP6657980B2 (en) | Calculation data printing device and program | |
CN111216459B (en) | Printing apparatus, control method, and printer system | |
JP2022002037A (en) | Information processing device, image forming system, control method of information processing device, and program | |
JP6088990B2 (en) | Label printer and its control program | |
CN101739392A (en) | Computer system for editing and printing data | |
JP6318275B2 (en) | Label printer and its control program | |
US5500932A (en) | Slip output apparatus | |
JP2024030080A (en) | Label printer and information processing program | |
JP6155653B2 (en) | Label printer | |
JP7266740B2 (en) | Printer device and printer system | |
US11090948B2 (en) | Label printer configured to reissue a label with stored print information | |
JP7344712B2 (en) | Information processing system, information processing method | |
JP6958242B2 (en) | Computer, printing method and program of the computer | |
JPH11110444A (en) | Data processor and program recording medium therefor | |
JP2021026682A (en) | Program, information processing system, and information processing method | |
JP6398929B2 (en) | Sales data processing apparatus and program | |
JPH11103386A (en) | Page make-up system utilizing computer network | |
KR100548140B1 (en) | A image forming apparutus capable of revising menu tree and method thereof | |
JP3663633B2 (en) | Slip processing equipment | |
JP2023135746A (en) | Information processing system, printer, and program | |
JP2019152952A (en) | Advertisement processing device and program | |
JPH02133822A (en) | Data processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20230104 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240122 |