JP4466166B2 - Tape printer, program and recording medium - Google Patents

Tape printer, program and recording medium Download PDF

Info

Publication number
JP4466166B2
JP4466166B2 JP2004107081A JP2004107081A JP4466166B2 JP 4466166 B2 JP4466166 B2 JP 4466166B2 JP 2004107081 A JP2004107081 A JP 2004107081A JP 2004107081 A JP2004107081 A JP 2004107081A JP 4466166 B2 JP4466166 B2 JP 4466166B2
Authority
JP
Japan
Prior art keywords
tax
amount
excluded
candidate
price
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
JP2004107081A
Other languages
Japanese (ja)
Other versions
JP2005288871A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2004107081A priority Critical patent/JP4466166B2/en
Publication of JP2005288871A publication Critical patent/JP2005288871A/en
Application granted granted Critical
Publication of JP4466166B2 publication Critical patent/JP4466166B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Record Information Processing For Printing (AREA)

Description

本発明は、長尺状のテープを搬送しつつ該テープに消費税込みの税込み額又は消費税抜きの税抜き額を含むラベルデータを印字するテープ印字装置、プログラム及び記録媒体に関するものである。   The present invention relates to a tape printing apparatus, a program, and a recording medium for printing label data including a consumption tax-inclusive amount or a consumption tax-excluded amount on a tape while transporting a long tape.

従来より、消費税込みの税込み額又は消費税抜きの税抜き額を計算後、この計算した税込み額又は税抜き額をテープ印字装置に入力して、該税込み額又は税抜き額を含むラベルデータを長尺状のテープに印字している。
例えば、この消費税込みの税込み額又は消費税抜きの税抜き額を計算する従来の税計算機では、予め設定された税率を記憶する税率記憶手段と、税込額および税額の計算の優先順位を設定する設定手段と、金額を置数する入力手段と、税込額および税額の計算結果を表示させる特定キーと、前記入力手段の置数入力に続いて前記特定キーが操作された際に前記税率記憶手段に記憶されている税率および前記金額の置数から前記税込額および税額のうち前記特定手段で優先指定されている一方を計算して表示させる第1の制御手段と、この第1の制御手段で税額および税込額の一方が計算され表示された後で前記特定キーが操作される度に前記税込額および税額を切換表示させる第2の制御手段とから構成されている(例えば、特許文献1参照。)。
Conventionally, after calculating the tax-included amount including consumption tax or the amount excluding consumption tax, the calculated tax-included amount or tax-excluded amount is input to the tape printer, and label data including the tax-included amount or tax-excluded amount is input. Printed on long tape.
For example, in the conventional tax calculator for calculating the tax-included tax-excluded tax or the tax-excluded tax-excluded tax, the tax rate storage means for storing the preset tax rate and the priority order for calculating the tax-included amount and the tax amount are set. A setting means; an input means for entering a monetary amount; a specific key for displaying a tax-included amount and a calculation result of the tax amount; and the tax rate storage means when the specific key is operated following the input of the numeric value of the input means A first control means for calculating and displaying one of the tax-included amount and the tax amount, which is preferentially designated by the specifying means, from the tax rate and the numerical value stored in After one of the tax amount and the tax amount is calculated and displayed, the control unit includes second control means for switching and displaying the tax amount and the tax amount each time the specific key is operated (see, for example, Patent Document 1). ).

そして、このような構成においては、予め税込額および税額の計算の優先順位を設定するのみで、その後は、手数の掛からない簡単な操作のみで所望する計算結果を優先的に求めることができる。従って、この計算した消費税込みの税込み額又は消費税抜きの税抜き額をテープ印字装置に入力することによって、該税込み額又は税抜き額を含むラベルデータを長尺状のテープに印字することができる。
特開平10−187622号公報(段落(0007)〜(0024)、図1〜図4)
In such a configuration, it is possible to preferentially obtain a desired calculation result only by a simple operation that does not require time and effort, by simply setting the tax-included amount and the priority order for calculating the tax amount in advance. Therefore, by inputting the calculated tax-included tax amount or the tax-excluded tax amount into the tape printer, the label data including the tax-included amount or the tax-excluded amount can be printed on a long tape. it can.
JP-A-10-187622 (paragraphs (0007) to (0024), FIGS. 1 to 4)

しかしながら、上述した従来のテープ印字装置においては、消費税込みの税込み額又は消費税抜きの税抜き額を計算してテープ印字装置に入力する必要があり、印字データ入力作業が煩雑であるという問題がある。また、消費税込みの税込み額を計算する場合には、1通貨単位(例えば、1円、1ドル、1セント、1フラン等)未満の端数を「切り上げ」、「四捨五入」、「切り捨て」等の計算方法を予め設定し、それぞれ個別に計算してどの計算方法の税込み額を採用するか否かを決定する必要があり、印字データ作成作業が煩雑であるという問題がある。また、税込み額の計算方法を毎回設定するのは煩雑であるという問題がある。更に、予定税込み金額から消費税抜きの税抜き額を計算して1通貨単位未満の端数がでた場合に、この予定税込み金額に最も近い端数のでない税込み額を一々計算する必要があり、予定税込み金額を決定する作業が煩雑であるという問題がある。   However, in the above-described conventional tape printing apparatus, it is necessary to calculate the tax-included amount including consumption tax or the tax-excluded amount including consumption tax and to input it to the tape printing apparatus, and the print data input operation is complicated. is there. In addition, when calculating the tax-included amount including consumption tax, the fractions less than one currency unit (for example, 1 yen, 1 dollar, 1 cent, 1 franc, etc.) are rounded up, rounded down, rounded down, etc. There is a problem that it is necessary to set a calculation method in advance and determine which calculation method to include the tax-included amount, and the print data creation work is complicated. In addition, there is a problem that it is complicated to set the calculation method of the tax-included amount every time. Furthermore, if the tax-excluded amount excluding consumption tax is calculated from the planned tax-included amount and a fraction less than one currency unit is obtained, it is necessary to calculate the non-fractional tax-included amount closest to this planned tax-included amount one by one. There is a problem that the work of determining the amount including tax is complicated.

そこで、本発明は、上述した問題点を解決するためになされたものであり、金額を入力することによって、テープに印字する税込み額を容易に決定して、簡易且つ迅速にラベルデータとしてテープに印字することができるテープ印字装置を提供することを目的とする。 Accordingly, the present invention has been made to solve the above-described problems. By inputting the amount, the tax-included amount to be printed on the tape can be easily determined, and the label data can be simply and quickly applied to the tape. An object of the present invention is to provide a tape printer capable of printing.

前記目的を達成するため請求項1に係るテープ印字装置は、長尺状のテープを搬送するためのテープ搬送手段と、入力手段と、前記入力手段によって入力又は編集された文字や図柄等からなるラベルデータを前記テープに印字する印字手段と、前記印字手段を駆動制御する印字制御手段と、を備え、テープ上にラベルデータが印字されたラベルを作成するテープ印字装置において、前記印字制御手段は、予め所定税率を記憶する税率記憶手段と、税込み額を入力する金額入力手段と、前記金額入力手段によって入力された税込み額を前記所定税率の数値に1加算した数値で除算して税抜き額を計算する税抜き額計算手段と、前記税抜き額に1通貨単位未満の余りがあるか否かを判定する余り判定手段と、前記余り判定手段によって前記税抜き額に1通貨単位未満の余りがあると判定された場合には、該税抜き額の1通貨単位未満の余りを切り捨てた金額を第1候補税抜き額として記憶する第1候補税抜き額記憶手段と、1通貨単位未満を切り捨てる第1計算方法と1通貨単位未満を四捨五入する第2計算方法と1通貨単位未満を切り上げる第3計算方法とのうちから現在設定されている一の計算方法を選択する計算方法選択手段と、前記第1候補税抜き額に前記所定税率の数値に1加算した数値を掛け算した金額から前記計算方法選択手段によって選択された計算方法に従って算出した金額を第1候補税込み額として記憶する第1候補税込み額記憶手段と、前記第1候補税込み額が前記金額入力手段によって入力された税込み額と一致するか否かを判定する第1候補税込み額判定手段と、前記第1候補税込み額判定手段によって前記第1候補税込み額が前記金額入力手段によって入力された税込み額と一致しないと判定された場合には、前記第1候補税抜き額に1通貨単位加算した金額を第2候補税抜き額として記憶する第2候補税抜き額記憶手段と、前記第2候補税抜き額に前記所定税率の数値に1加算した数値を掛け算した金額から前記計算方法選択手段によって選択された計算方法に従って算出した金額を第2候補税込み額として記憶する第2候補税込み額記憶手段と、前記第2候補税込み額が前記金額入力手段によって入力された税込み額と一致するか否かを判定する第2候補税込み額判定手段と、前記余り判定手段によって前記税抜き額に1通貨単位未満の余りがないと判定された場合には、該税抜き額を前記金額入力手段によって入力された税込み額に対応する税抜き額として表示し、また、前記第1候補税込み額判定手段によって前記第1候補税込み額が前記金額入力手段によって入力された税込み額と一致すると判定された場合には、前記第1候補税抜き額を前記金額入力手段によって入力された税込み額に対応する税抜き額として表示し、更に、前記第2候補税込み額判定手段によって前記第2候補税込み額が前記金額入力手段によって入力された税込み額と一致すると判定された場合には、前記第2候補税抜き額を前記金額入力手段によって入力された税込み額に対応する税抜き額として表示する第1税抜き額表示手段と、前記第2候補税込み額判定手段によって前記第2候補税込み額が前記金額入力手段によって入力された税込み額と一致しないと判定された場合には、前記第1候補税込み額と前記第1候補税抜き額とを対応させると共に、前記第2候補税込み額と前記第2候補税抜き額とを対応させて並列表示する第2税抜き額表示手段と、前記第2税抜き額表示手段によって並列表示された前記第1候補税抜き額又は前記第2候補税抜き額の一方を印字データとして選択する印字データ選択手段と、を有し、該印字制御手段は、前記第1税抜き額表示手段によって前記税抜き額又は前記第1候補税抜き額又は前記第2候補税抜き額が表示された場合には、この表示された前記税抜き額又は前記第1候補税抜き額又は前記第2候補税抜き額の印字データを含むラベルデータが前記テープに印字されるように駆動制御し、前記第2税抜き額表示手段によって前記第1候補税抜き額と前記第2候補税抜き額とが並列表示された場合には、前記印字データ選択手段によって選択された前記第1候補税抜き額又は前記第2候補税抜き額の印字データを含むラベルデータが前記テープに印字されるように駆動制御することを特徴とする。 In order to achieve the above object, a tape printer according to claim 1 includes a tape transport unit for transporting a long tape, an input unit, and characters or designs input or edited by the input unit. In a tape printer comprising a printing means for printing label data on the tape, and a printing control means for driving and controlling the printing means, the printing control means for creating a label on which the label data is printed on the tape. the rate storage means for previously storing a predetermined rate, and amount input means for inputting a tax amount, tax amount is divided by adding 1 numerical a tax amount entered in numerical value of the predetermined rate by the amount input means A tax-excluded amount calculating means for calculating the tax-excluded amount, a surplus determining means for determining whether or not the tax-excluded amount has a remainder of less than one currency unit; First tax-excluded amount storage means for storing, as a first candidate tax-excluded amount, the amount obtained by rounding off the remainder less than one currency unit of the tax-excluded amount Select one of the currently set calculation methods from the first calculation method that rounds off less than one currency unit, the second calculation method that rounds off less than one currency unit, and the third calculation method that rounds up less than one currency unit A calculation method selection means for calculating the amount calculated according to the calculation method selected by the calculation method selection means from an amount obtained by multiplying the first tax-excluded amount by a value obtained by adding 1 to the numerical value of the predetermined tax rate. A first candidate tax-included amount storage means for storing the amount, and a first candidate tax-included amount determination unit for determining whether or not the first candidate tax-included amount matches the tax-included amount input by the amount input means And when the first candidate tax-included amount determining means determines that the first candidate tax-included amount does not match the tax-included amount input by the amount input means, the first candidate tax-excluded amount includes one currency unit. The second candidate tax-excluded amount storage means for storing the added amount as a second candidate tax-excluded amount, and the calculation method selection from an amount obtained by multiplying the second candidate tax-excluded amount by a value obtained by adding 1 to the numerical value of the predetermined tax rate A second candidate tax-included amount storage means for storing the amount calculated according to the calculation method selected by the means as a second candidate tax-included amount; and whether the second candidate tax-included amount matches the tax-included amount input by the amount input means A second candidate tax-included amount determining means for determining whether or not the surplus determining means determines that the tax-excluded amount is not less than one currency unit; Displayed as a tax-excluded amount corresponding to the tax-included amount input by the amount input means, and when the first candidate tax-included amount matches the tax-included amount input by the amount input means by the first candidate tax-included amount determining means If determined, the first candidate tax-excluded amount is displayed as a tax-excluded amount corresponding to the tax-included amount input by the amount input unit, and the second candidate tax-included amount determination unit further displays the second candidate tax-excluded unit. If it is determined that the tax-inclusive amount matches the tax-inclusive amount input by the amount input unit, the second candidate tax-excluded amount is displayed as a tax-excluded amount corresponding to the tax-inclusive amount input by the amount input unit. The second candidate tax-included amount matches the tax-included amount input by the amount input unit by the first tax-excluded amount display means and the second candidate tax-included amount determination means. If it is determined that the first candidate tax-included amount is associated with the first candidate tax-excluded amount, the second candidate tax-included amount and the second candidate tax-excluded amount are associated with each other and displayed in parallel. Second tax-excluded amount display means and print data selection means for selecting one of the first candidate tax-excluded amount or the second candidate tax-excluded amount displayed in parallel by the second tax-excluded amount display means as print data And when the first tax-excluded amount display unit displays the tax-excluded amount, the first candidate tax-excluded amount, or the second candidate tax-excluded amount, The second tax-excluded amount display is controlled such that label data including print data of the displayed tax-excluded amount or the first candidate tax-excluded amount or the second candidate tax-excluded amount is printed on the tape. The first candidate tax-excluded amount by means Wherein when the second and the candidate tax amount displayed in parallel, the label data the containing print data of the first candidate tax amount selected by the print data selecting means or the second candidate tax amount The drive control is performed so as to print on the tape.

また、請求項2に係るテープ印字装置は、請求項1に記載されるテープ印字装置において、前記第2税抜き額表示手段は、前記金額入力手段によって入力された税込み額に一致する税抜き金額を算出できない旨を表すエラー表示を同時に表示することを特徴とする。 The tape printer according to claim 2 is the tape printer according to claim 1, wherein the second tax-excluded amount display means matches the tax-excluded amount that matches the tax-included amount input by the amount input means. An error display indicating that it cannot be calculated is simultaneously displayed.

また、請求項3に係るテープ印字装置は、請求項1又は請求項2に記載のテープ印字装置において、前記印字制御手段は、前記所定税率を変更する税率変更手段を有し、前記税率変更手段によって該所定税率が変更された場合には、前記税率記憶手段は、該所定税率に替えて変更された税率を記憶することを特徴とする。   The tape printer according to claim 3 is the tape printer according to claim 1 or 2, wherein the print control means includes a tax rate changing means for changing the predetermined tax rate, and the tax rate changing means. When the predetermined tax rate is changed, the tax rate storage means stores the changed tax rate instead of the predetermined tax rate.

また、請求項に係るプログラムは、請求項1乃至請求項のいずれかに記載のテープ印字装置の印字制御手段としてコンピュータを機能させることを特徴とする。 According to a fourth aspect of the present invention, there is provided a program that causes a computer to function as a print control unit of the tape printer according to any one of the first to third aspects.

更に、請求項に係る記録媒体は、請求項1乃至請求項のいずれかに記載のテープ印字装置の印字制御手段としてコンピュータを機能させるためのプログラムが記録されてコンピュータで読み取り可能なことを特徴とする。 Further, a recording medium according to claim 5 is recorded with a program for causing a computer to function as the printing control means of the tape printer according to any one of claims 1 to 3 and readable by the computer. Features.

請求項1に係るテープ印字装置では、消費税の税率が記憶されており、金額入力手段によって入力された税込み額から消費税抜きの税抜き額を計算する場合には、この予め記憶されている税率に基づいて税抜き額が計算される。そして、この税抜き額に余りがない場合、即ち、1通貨単位未満の端数がない場合には、入力された税込みの金額に対応する税抜き額としてこの税抜き額が表示され、印字開始キーを押下することにより、該税抜き額を含むラベルデータが印字されたラベルを容易に得ることができる。
一方、この税抜き額に余りがある場合には、この余りを切り捨てた税抜き額を第1候補税抜き額として記憶する。そして、この第1候補税抜き額から「切り上げ」、「四捨五入」、「切り捨て」のいずれか一の現在設定されている計算方法に従って第1候補税込み額を計算する。そして、この第1候補税込み額が入力された税込み額と一致する場合には、入力された税込みの金額に対応する税抜き額としてこの第1候補税抜き額が表示され、印字開始キーを押下することにより、該第1候補税抜き額を含むラベルデータが印字されたラベルを容易に得ることができる。
他方、この第1候補税込み額が入力された税込み額と一致しない場合には、この第1候補税抜き額に1通貨単位加算した金額を第2候補税抜き額として記憶する。そして、この第2候補税抜き額から「切り上げ」、「四捨五入」、「切り捨て」のいずれか一の現在設定されている計算方法に従って第2候補税込み額を計算する。そして、この第2候補税込み額が入力された税込み額と一致する場合には、入力された税込み額に対応する税抜き額としてこの第2候補税抜き額が表示され、印字開始キーを押下することにより該第2候補税抜き額を含むラベルデータが印字されたラベルを容易に得ることができる。
また一方、第2候補税込み額が入力された税込み額と一致しない場合には、第1候補税込み額と第1候補税抜き額とが対応させられると共に、第2候補税込み額と第2候補税抜き額とが対応させられて並列表示される。そして、並列表示された第1候補税抜き額又は第2候補税抜き額の一方を印字データとして選択することによって、この選択された第1候補税抜き額又は第2候補税抜き額を含むラベルデータがテープに印字される。
これにより、ユーザは、税込み額を入力するだけで、この入力された税込み額に対応する消費税抜きの税抜き額が計算され、該税抜き額を含むラベルデータが印字されたラベルを容易に得ることができ、税抜き額が印字されたラベル作成の作業性の向上を図ることができる。また、入力された税込み額に対応する消費税抜きの税抜き額が計算できない場合には、この入力された税込み額を修正した2つの候補税込み額と各候補税込み額に対応する各候補税抜き額が表示されるため、ユーザは修正した2つの候補税込み額と各候補税込み額に対応する各候補税抜き額を容易に確認することができる。また、この修正した2つの候補税込み額と各候補税込み額に対応する各候補税抜き額から一の候補税抜き額を選択した場合には、該候補税抜き額を含むラベルデータが印字されたラベルを容易に得ることができ、税抜き額が印字されたラベル作成の作業性の更なる向上を図ることができる。
In the tape printer according to claim 1, the tax rate of the consumption tax is stored , and this is stored in advance when the tax-excluded amount without the consumption tax is calculated from the tax-included amount input by the amount input means . The tax-excluded amount is calculated based on the tax rate. If there is no surplus in this tax-excluded amount, that is, if there is no fraction less than one currency unit, this tax-excluded amount is displayed as the tax-excluded amount corresponding to the input tax-included amount, and the print start key By pressing, it is possible to easily obtain a label on which label data including the tax-excluded amount is printed.
On the other hand, if there is a surplus in the tax-excluded amount, the tax-excluded amount obtained by discarding the remainder is stored as the first candidate tax-excluded amount. Then, the first candidate tax-included amount is calculated from the first candidate tax-excluded amount according to any currently set calculation method of “rounded up”, “rounded off”, or “rounded down”. If the first candidate tax-included amount matches the input tax-included amount, the first candidate tax-excluded amount is displayed as the tax-excluded amount corresponding to the input tax-included amount, and the print start key is pressed. By doing this, it is possible to easily obtain a label on which label data including the first candidate tax-excluded amount is printed.
On the other hand, if the first candidate tax-included amount does not match the input tax-included amount, the amount obtained by adding one currency unit to the first candidate tax-excluded amount is stored as the second candidate tax-excluded amount. Then, the second candidate tax-included amount is calculated from this second candidate tax-excluded amount according to any currently set calculation method of “rounded up”, “rounded off”, or “rounded down”. If the second candidate tax-included amount matches the input tax-included amount, the second candidate tax-excluded amount is displayed as the tax-excluded amount corresponding to the input tax-included amount, and the print start key is pressed. Thus, a label on which label data including the second candidate tax-excluded amount is printed can be easily obtained.
On the other hand, if the second candidate tax-included amount does not match the input tax-included amount, the first candidate tax-included amount and the first candidate tax-excluded amount are made to correspond to each other, and the second candidate tax-included amount and the second candidate tax-included amount The withdrawal amount is displayed in parallel with the corresponding amount. Then, by selecting one of the first candidate tax-excluded amount or the second candidate tax-excluded amount displayed in parallel as print data, a label including the selected first candidate tax-excluded amount or second candidate tax-excluded amount Data is printed on tape.
As a result, the user calculates the tax-excluded amount excluding the consumption tax corresponding to the input tax-included amount simply by inputting the tax-included amount, and easily labels the label data including the tax-excluded amount printed. Thus, it is possible to improve the workability of creating a label on which a tax-excluded amount is printed. If the tax-excluded amount excluding consumption tax corresponding to the input tax-included amount cannot be calculated, two candidate tax-included amounts modified from the input tax-included amount and each candidate tax-excluded corresponding to each candidate tax-included amount Since the amount is displayed, the user can easily confirm the two candidate tax-included amounts corrected and the respective candidate tax-excluded amounts corresponding to the candidate tax-included amounts. In addition, when one candidate tax-excluded amount is selected from these two candidate tax-included amounts and each candidate tax-excluded amount corresponding to each candidate tax-included amount, label data including the candidate tax-excluded amount is printed. A label can be easily obtained, and the workability of creating a label on which a tax-excluding amount is printed can be further improved.

また、請求項2に係るテープ印字装置では、第2候補税込み額が入力された税込み額と一致しない場合には、入力された税込み額に一致する税抜き額を算出できない旨を表すエラー表示が同時に表示される。これにより、ユーザは入力された税込み額を修正した2つの候補税込み額と各候補税込み額に対応する各候補税抜き額との表示が、修正した候補税込み額と候補税抜き額を示していることを直感的に認識することができ、税抜き額が印字されたラベル作成の作業性の更なる向上を図ることができる。 In the tape printer according to claim 2, if the second candidate tax-included amount does not match the input tax-included amount, an error display indicating that the tax-excluded amount that matches the input tax-included amount cannot be calculated. Displayed at the same time. As a result, the display of the two candidate tax-included amounts corrected for the input tax-included amount and each candidate tax-excluded amount corresponding to each candidate tax-included amount indicates the corrected candidate tax-included amount and the candidate tax-excluded amount. This can be intuitively recognized, and the workability of creating a label printed with a tax-excluded amount can be further improved.

また、請求項3に係るテープ印字装置では、税率変更手段によって該所定税率が変更された場合には、該所定税率に替えて変更された税率が記憶されるため、その後、税込み額を入力した場合には、この変更された税率に基づいて税抜きや、各候補税込み額、各候補税抜き額が計算される。
これにより、ユーザは、税率が変更された場合には、この変更された税率を税率変更手段を介して入力するだけで、その後、この変更された税率に基づいて計算された抜き、第1候補税抜き額、又は、第2候補税抜き額のうちのいずれかを含むラベルデータが印字されたラベルを容易に得ることができ、新たな税率に対応した税抜き額が印字されたラベル作成の作業性の更なる向上を図ることができる。
Further, in the tape printing apparatus according to claim 3, when the predetermined rate is changed by the rate changing means, since the rate which is changed in place of the predetermined rate are stored, then enter a tax amount case, and the tax amount on the basis of the changed tax rate, each candidate tax amount, Ru each candidate tax amount is calculated.
Thus, the user, when the rate is changed, only by inputting the changed rate through the rate changing means, then, tax amount calculated on the basis of the changed tax rate, A label printed with label data including either the first candidate tax-excluded amount or the second candidate tax-excluded amount can be easily obtained, and the tax- excluded amount corresponding to the new tax rate is printed. The workability of label production can be further improved.

また、請求項に係るプログラムでは、コンピュータは当該プログラムを読み込むことによって、請求項1乃至請求項のいずれかに記載のテープ印字装置の制御手段として機能するため、ユーザは、税込み額を入力するだけで、この入力した税込み額に対応する消費税抜きの税抜き額、第1候補税抜き額、又は、第2候補税抜き額のうちのいずれかを含むラベルデータが印字されたラベルを容易に得ることができ、税抜き額が印字されたラベル作成の作業性の向上を図ることができる。 Further, the program according to claim 4, by the computer that reads the program, to function as a control means of the tape printing apparatus according to any one of claims 1 to 3, the user, the tax-inclusive amount just type, tax amount of consumption tax corresponding to tax amount and the input, first candidate tax amount, or label the label data including any of the second candidate tax amount is printed Can be easily obtained, and the workability of creating a label printed with a tax- free amount can be improved.

更に、請求項に係る記録媒体では、請求項1乃至請求項のいずれかに記載のテープ印字装置の印字制御手段を実現するための機能をコンピュータで実行されるプログラムとして備えることができる。このようなプログラムの場合、例えば、半導体メモリ、ハードディスク、フロッピー(登録商標)ディスク、データカード(ICカード、磁気カード等)、光ディスク(CD−ROM、DVD等)、光磁気ディスク(MD等)、相変化ディスク、磁気テープ等のコンピュータで読み取り可能な記録媒体に記録し、必要に応じてコンピュータにロードして起動することにより用いることができる。この他、ROMやバックアップRAMに前記プログラムを記録しておき、このROMやバックアップRAMをコンピュータに組み込んで用いてもよい。 Furthermore, the recording medium according to claim 5 can be provided with a function for realizing the print control means of the tape printer according to any one of claims 1 to 3 as a program executed by a computer. In the case of such a program, for example, semiconductor memory, hard disk, floppy (registered trademark) disk, data card (IC card, magnetic card, etc.), optical disk (CD-ROM, DVD, etc.), magneto-optical disk (MD, etc.), It can be used by recording on a computer-readable recording medium such as a phase change disk, magnetic tape, etc., and loading and starting the computer if necessary. In addition, the program may be recorded in a ROM or backup RAM, and the ROM or backup RAM may be incorporated into a computer.

以下、本発明に係るテープ印字装置について、具体化した一実施形態に基づいて図面を参照しつつ詳細に説明する。   Hereinafter, a tape printer according to the present invention will be described in detail with reference to the drawings based on a specific embodiment.

先ず、本実施形態に係るテープ印字装置の概略構成について図1乃至図3に基づき説明する。
図1に示すように、本実施形態に係るテープ印字装置1には、文書データからなるテキストを作成するための文字入力キー2、テキストの印字を指令する印刷キー3、及び、改行指令や各種処理の実行、選択を指令するリターンキー4、文字等のキャラクタを複数行に渡って表示する液晶ディスプレイ(LCD)7上でカーソルを上下、左右に移動させるカーソルキー5、後述の各種機能を選択する際に押下する機能キー13A、後述のように消費税ラベルを作成する場合に、機能キー13Aを押下後、押下する消費税キー13Bと、後述のように印刷モードを変更する場合に、機能キー13Aを押下後、押下する印刷モード選択キー13C等を設けたキーボード6、及び、後述のテープカセット21(図2参照)を収納するカセット収納部8が収納カバー8Aで覆われて配設されている。また、こ
のキーボード6の下側には、制御回路部が構成される制御基板12が配設されている。また、カセット収納部8の左側面部には、印字されたテープが排出されるラベル排出口16が形成されている。また、該カセット収納部8の右側面部には、電源アダプタが取り付けられるアダプタ挿入口17、及び不図示のパーソナルコンピュータと接続するためのUSBケーブルが取り付けられるコネクタ18が設けられている。
First, a schematic configuration of the tape printer according to the present embodiment will be described with reference to FIGS. 1 to 3.
As shown in FIG. 1, the tape printer 1 according to the present embodiment includes a character input key 2 for creating text composed of document data, a print key 3 for instructing text printing, a line feed command, and various types. Selects the return key 4 for instructing the execution of processing, the cursor key 5 for moving the cursor up and down, left and right on the liquid crystal display (LCD) 7 for displaying characters such as characters over a plurality of lines, and various functions described later. Function key 13A to be pressed when performing, when creating a consumption tax label as described later, function tax 13B to be pressed after pressing the function key 13A, and function when changing the print mode as described later After pressing the key 13A, a keyboard 6 provided with a print mode selection key 13C to be pressed, and a cassette storage section for storing a tape cassette 21 (see FIG. 2) described later. There are disposed is covered with housing cover 8A. A control board 12 that constitutes a control circuit section is disposed below the keyboard 6. In addition, a label discharge port 16 through which a printed tape is discharged is formed on the left side surface portion of the cassette housing portion 8. Further, an adapter insertion port 17 to which a power adapter is attached and a connector 18 to which a USB cable for connection to a personal computer (not shown) is attached are provided on the right side surface of the cassette housing portion 8.

また、このカセット収納部8には、サーマルヘッド9と、このサーマルヘッド9に対向するプラテンローラ10と、このプラテンローラ10の下流側のテープ送り用ローラ11と、このテープ送り用ローラ11に対向するテープ駆動ローラ軸14とが配置されている他に、更に、テープカセット21内に収納されるインクリボンを送るリボン巻取軸15等が配置されている。
このサーマルヘッド9は、正面視略縦長四角形の平板状で、前面の左端縁部には、所定個数の各発熱素子R1〜Rn(nは、本実施形態では、128個である。)が、該左端縁部の辺に沿って一列に配列されて形成されている。また、該サーマルヘッド9は、メッキ鋼板やステンレス鋼板等により形成される正面視略四角形の放熱板9Aの前面の左端縁部に、各発熱素子R1〜Rnの配列方向が、該放熱板9Aの左端縁部の辺に平行になるように接着剤などによって固着されている。そして、該放熱板9Aは、各発熱素子R1〜Rnの配列方向が、テープカセット21の開口部32(図2参照)における被印字テープ36(図2参照)の搬送方向に略直交するように、ビス止め等によってカセット収納部8の下側に取り付けられている。
The cassette housing 8 includes a thermal head 9, a platen roller 10 facing the thermal head 9, a tape feeding roller 11 on the downstream side of the platen roller 10, and the tape feeding roller 11. In addition to the tape drive roller shaft 14 to be arranged, a ribbon take-up shaft 15 for feeding an ink ribbon accommodated in the tape cassette 21 is also arranged.
The thermal head 9 is a flat plate having a substantially rectangular shape when viewed from the front, and a predetermined number of heating elements R1 to Rn (n is 128 in this embodiment) are provided on the left edge of the front surface. It is arranged in a line along the side of the left edge. Further, the thermal head 9 is arranged on the left end edge of the front surface of a substantially square heat sink 9A formed of a plated steel plate, a stainless steel plate, or the like so that the arrangement direction of the heat generating elements R1 to Rn is the heat sink 9A. It is fixed with an adhesive or the like so as to be parallel to the side of the left edge. The heat radiating plate 9A is arranged so that the arrangement direction of the heat generating elements R1 to Rn is substantially orthogonal to the transport direction of the print-receiving tape 36 (see FIG. 2) in the opening 32 (see FIG. 2) of the tape cassette 21. It is attached to the lower side of the cassette housing portion 8 by screws or the like.

また、リボン巻取軸15は、後述のステッピングモータ等により構成されるテープ送りモータ52(図3参照)から適宜の駆動機構を介して回転駆動される。また、テープ駆動ローラ軸14は、テープ送りモータ52から適宜の伝達機構を介して回転駆動され、後述するテープ駆動ローラ33(図2参照)を回転駆動する   Further, the ribbon take-up shaft 15 is rotationally driven through an appropriate drive mechanism from a tape feed motor 52 (see FIG. 3) constituted by a stepping motor or the like described later. The tape drive roller shaft 14 is rotationally driven from the tape feed motor 52 via an appropriate transmission mechanism, and rotationally drives a tape drive roller 33 (see FIG. 2) described later.

次に、テープ印字装置1のカセット収納部8にテープカセット21を装着した場合の概略構成について図2に基づいて説明する。
図2に示すように、テープカセット21は透明テープ等からなる被印字テープ36、この被印字テープ36に印字を施すためのインクリボン30、更には、印字がなされた被印字テープ36に裏貼りされる両面粘着テープ31を各々、テープスプール36A、リール30A、テープスプール31Aに巻回して、テープカセットの底面に立設されるカセットボス36B、リールボス30B、カセットボス31Bに回転可能に嵌挿して収納したものであり、更に、使用済みのインクリボン30を巻き取るインクリボン巻取リール30Cを備えている。
Next, a schematic configuration when the tape cassette 21 is mounted in the cassette housing portion 8 of the tape printer 1 will be described with reference to FIG.
As shown in FIG. 2, the tape cassette 21 has a print-receiving tape 36 made of a transparent tape or the like, an ink ribbon 30 for printing on the print-receiving tape 36, and a back-side printing on the print-receiving tape 36 on which printing has been performed. The double-sided adhesive tape 31 is wound around the tape spool 36A, the reel 30A, and the tape spool 31A, and is rotatably inserted into the cassette boss 36B, the reel boss 30B, and the cassette boss 31B standing on the bottom surface of the tape cassette. In addition, an ink ribbon take-up reel 30C for taking up the used ink ribbon 30 is provided.

そして、前記リール30Aに巻回され、このリール30Aから引き出された未使用インクリボン30Aは、被印字テープ36と重ね合わされ、被印字テープ36と共に開口部32に入り、サーマルヘッド9及びプラテンローラ10の間を通過する。その後、インクリボン30は、被印字テープ36から引き離され、リボン巻取軸15により回転駆動されるインクリボン巻取リール30Cに至り、このインクリボン巻取リール30Cにより巻き取られる。   Then, the unused ink ribbon 30A wound around the reel 30A and pulled out from the reel 30A is overlapped with the print-receiving tape 36, enters the opening 32 together with the print-receiving tape 36, and the thermal head 9 and the platen roller 10. Pass between. Thereafter, the ink ribbon 30 is separated from the print-receiving tape 36, reaches the ink ribbon take-up reel 30 </ b> C rotated by the ribbon take-up shaft 15, and is taken up by the ink ribbon take-up reel 30 </ b> C.

また、前記両面粘着テープ31は、片面に離形紙を重ね合わされた状態で、離形紙を外側にしてテープスプール31Aに巻回されて収納されている。そして、このテープスプール31Aから引き出された両面粘着テープ31は、テープ駆動ローラ33とテープ送り用ローラ11との間を通過し、離形紙が重ね合わされない側の粘着面が被印字テープ36に貼着される。   The double-sided pressure-sensitive adhesive tape 31 is wound and accommodated on a tape spool 31A with the release paper facing outside with the release paper superimposed on one side. The double-sided adhesive tape 31 pulled out from the tape spool 31A passes between the tape drive roller 33 and the tape feeding roller 11, and the adhesive surface on the side where the release paper is not superimposed is pasted on the print-receiving tape 36. Worn.

これにより、前記テープスプール36Aに巻回され、このテープスプール36Aから引き出された被印字テープ36は、テープカセット21のサーマルヘッド9が挿入される開口部32を通過する。その後、両面粘着テープ31が貼り合わされる被印字テープ36は、テープカセット21の片側下方部(図2中、左下側部)に回転自在に設けられ、テープ送りモータ52の駆動を受けて回転するテープ駆動ローラ33と、このテープ駆動ローラ33に対向配置されるテープ送り用ローラ11との間を通過して、テープカセット21の外部に送り出されて、テープ印字装置1のテープ排出口16から印刷テープ22が排出される。この場合、両面粘着テープ30は、被印字テープ36に対してテープ駆動ローラ33及びテープ送り用ローラ11によって圧着される。   Thus, the print-receiving tape 36 wound around the tape spool 36A and pulled out from the tape spool 36A passes through the opening 32 into which the thermal head 9 of the tape cassette 21 is inserted. Thereafter, the print-receiving tape 36 to which the double-sided adhesive tape 31 is bonded is rotatably provided at one side lower part (lower left side part in FIG. 2) of the tape cassette 21 and is rotated by the drive of the tape feed motor 52. It passes between the tape drive roller 33 and the tape feed roller 11 disposed opposite to the tape drive roller 33, and is sent out of the tape cassette 21 and printed from the tape discharge port 16 of the tape printer 1. The tape 22 is discharged. In this case, the double-sided adhesive tape 30 is pressed against the print-receiving tape 36 by the tape driving roller 33 and the tape feeding roller 11.

次に、この両面粘着テープ30が圧着された被印字テープ36を自動的に切断する切断装置34について簡単に説明する。前記テープカセット21の左側に対応するテープ印字装置1の本体フレームの直ぐ内側には、板状の補助フレーム35が立設され、この補助フレーム35に固定刃35Aが上向きに固着されている。補助フレーム35に固着された左右方向向きの枢支軸37には、前後方向に延びる操作レバー38の前端近傍部が回動可能に枢支され、その操作レバー38の枢支軸37より前側に対応する部位において、可動刃38Aが前記固定刃35Aと対向して取付けられている。また、操作レバー38の後端部は、切断用モータ54(図3参照)に連結された揺動駆動機構(図示略)により上下揺動可能に構成され、常には、可動刃38Aが固定刃35Aから離間した状態で保持されている。   Next, the cutting device 34 that automatically cuts the print-receiving tape 36 to which the double-sided adhesive tape 30 has been pressure-bonded will be briefly described. A plate-like auxiliary frame 35 is erected immediately inside the main body frame of the tape printer 1 corresponding to the left side of the tape cassette 21, and a fixed blade 35A is fixed to the auxiliary frame 35 upward. A pivotal support shaft 37 fixed in the left-right direction fixed to the auxiliary frame 35 is pivotally supported in the vicinity of the front end of an operation lever 38 extending in the front-rear direction. In the corresponding part, the movable blade 38A is attached to face the fixed blade 35A. Further, the rear end portion of the operation lever 38 is configured to be vertically swingable by a swing drive mechanism (not shown) coupled to a cutting motor 54 (see FIG. 3), and the movable blade 38A is always a fixed blade. It is held in a state separated from 35A.

そして、サーマルヘッド9により印字されて両面粘着テープ30が圧着された印刷テープ22は、テープカセット21から固定刃35Aと可動刃38Aとの間を通ってテープ排出口16から外に延びているので、切断信号により駆動された切断用モータ54により、揺動駆動機構を介して操作レバー38の後端部が上下揺動され、可動刃38Aが固定刃35Aに接近して、これら両刃35A・38Aで印刷テープ22が切断される。   Then, the printing tape 22 printed by the thermal head 9 and having the double-sided adhesive tape 30 bonded thereto passes from the tape cassette 21 between the fixed blade 35A and the movable blade 38A and extends from the tape discharge port 16 to the outside. The cutting motor 54 driven by the cutting signal causes the rear end of the operation lever 38 to swing up and down via the swing drive mechanism, and the movable blade 38A approaches the fixed blade 35A. Thus, the printing tape 22 is cut.

ところで、前記テープカセット21から繰出される被印字テープ36として、テープ幅を6mm、9mm、12mm、18mmとする4種類が準備されており、これらテープカセット21の底壁部には、これら4種類のテープ幅の何れかを検知する為に、4つの突出爪の有無を組合せた突出片39が設けられている。そして、このテープカセット21の下側を支持するカセット収納部8の底面部には、この突出片39の突出爪の組合せからテープ幅を検知するカセットセンサ49(図3参照)が取付けられている。即ち、このカセットセンサ49は、突出片39を構成する突出爪の組合せにより、例えば、テープ幅が9mmのときには「0100」のカセット信号を出力し、またテープ幅が18mmのときには「1100」のカセット信号を出力するとともに、テープカセット21が装着されていないときには、「0000」のカセット信号を出力する。   By the way, as the print-receiving tape 36 fed out from the tape cassette 21, four types having tape widths of 6 mm, 9 mm, 12 mm, and 18 mm are prepared, and these four types are provided on the bottom wall portion of the tape cassette 21. In order to detect any one of the tape widths, a protruding piece 39 that combines the presence or absence of four protruding claws is provided. A cassette sensor 49 (see FIG. 3) for detecting the tape width from the combination of the protruding claws of the protruding piece 39 is attached to the bottom surface of the cassette housing portion 8 that supports the lower side of the tape cassette 21. . That is, this cassette sensor 49 outputs a cassette signal of “0100” when the tape width is 9 mm, for example, by combining the protruding claws constituting the protruding piece 39, and “1100” cassette when the tape width is 18 mm. A signal is output, and when the tape cassette 21 is not loaded, a cassette signal of “0000” is output.

次に、テープ印字装置1の回路構成について図3に基づき説明する。
図3に示すように、テープ印字装置1の制御基板12上に形成される制御回路部40は、CPU41、CG(キャラクタジェネレータ)ROM42、ROM43、フラッシュメモリ44、RAM45、入出力インターフェース(I/F)46、及び通信用インターフェース(I/F)47等を備えている。また、CPU41、CGROM42、ROM43、フラッシュメモリ44、RAM45、入出力インターフェース(I/F)46、及び通信用インターフェース(I/F)47は、バス線48により相互に接続されて、相互にデータのやり取りが行われる。
Next, the circuit configuration of the tape printer 1 will be described with reference to FIG.
As shown in FIG. 3, the control circuit unit 40 formed on the control board 12 of the tape printer 1 includes a CPU 41, a CG (character generator) ROM 42, a ROM 43, a flash memory 44, a RAM 45, an input / output interface (I / F). ) 46, a communication interface (I / F) 47, and the like. The CPU 41, the CGROM 42, the ROM 43, the flash memory 44, the RAM 45, the input / output interface (I / F) 46, and the communication interface (I / F) 47 are connected to each other by a bus line 48, so Exchanges take place.

ここに、CGROM42には各キャラクタに対応するドットパターンデータが記憶されており、ドットパターンデータがCGROM42から読み出され、そのドットパターンデータに基づいて液晶ディスプレイ(LCD)7上にドットパターンが表示される。
また、ROM43には、各種のプログラムを記憶させておくものであり、後述のように入力された金額から消費税込み金額又は消費税抜き金額を計算して液晶ディスプレイ7に表示するなどの消費税処理を実行するための消費税処理プログラムが予め格納される消費税処理プログラム記憶領域43Aが設けられている。また、この消費税処理によって計算された消費税込み金額又は消費税抜き金額をラベルデータとして被印字テープ36に印字して印刷テープ22を作成する印刷処理を実行するための印刷処理プログラムが格納される印刷処理プログラム記憶領域43Bが設けられている。また、ROM43には、後述のように入力された金額の消費税込み金額を計算する場合に、1円(単位通貨)未満の数値を切り捨てる切り捨て計算方法(第1計算方法)、1円(単位通貨)未満の数値を四捨五入する四捨五入計算方法(第2計算方法)、1円(単位通貨)未満の数値を切り上げる切り上げ計算方法(第3計算方法)が予め格納される計算方法記憶領域43Cが設けられている。
Here, the dot pattern data corresponding to each character is stored in the CGROM 42, the dot pattern data is read from the CGROM 42, and the dot pattern is displayed on the liquid crystal display (LCD) 7 based on the dot pattern data. The
The ROM 43 stores various programs. The consumption tax processing such as calculating the consumption tax-inclusive amount or the consumption tax-excluded amount from the input amount as will be described later and displaying it on the liquid crystal display 7 is performed. There is provided a consumption tax processing program storage area 43A in which a consumption tax processing program for executing is stored in advance. In addition, a print processing program for executing a printing process for creating the printing tape 22 by printing the consumption tax-included amount or the consumption tax-excluded amount calculated by the consumption tax processing on the print-receiving tape 36 as label data is stored. A print processing program storage area 43B is provided. In addition, the ROM 43 calculates a round-down calculation method (first calculation method), 1 yen (unit currency) for rounding down a value less than 1 yen (unit currency) when calculating the amount including consumption tax of the amount entered as described later. ) Rounding off calculation method (second calculation method) for rounding off numbers less than 1 (calculation method storage area 43C for storing round-up calculation method (third calculation method) that rounds up values less than 1 yen (unit currency) is provided. ing.

そして、CPU41はかかるROM43に記憶されている各種のプログラムに基づいて各種の演算を行なうものである。また、ROM43には、アルファベット文字や記号等のキャラクタを印字するための多数のキャラクタの各々に関して、印字用ドットパターンデータが、書体(ゴシック系書体、明朝体書体等)毎に分類され、各書体毎に4種類(16、24、32、48のドットサイズ)の印字文字サイズ分、コードデータに対応させて格納されている。また、階調表現を含むグラフィック画像を印字するためのグラフィックパターンデータも記憶されている。また、このROM43には、キーボード6から入力された文字や数字等のキャラクタのコードデータに対応させて液晶ディスプレイコントローラ(LCDC)50を制御する表示駆動制御プログラム、印字バッファ45Aのデータを読み出してサーマルヘッド9やテープ送りモータ52を駆動する印字駆動制御プログラム等、その他テープ印字装置1の制御上必要な各種のプログラムが格納されている。
また、フラッシュメモリ44には、消費税の所定税率(例えば、消費税5%等である。)が予め記憶される税率記憶領域44Aが設けられている。また、フラッシュメモリ44には、後述のように切り捨て計算方法、四捨五入計算方法又は切り上げ計算方法のいずれかを消費税の計算法として選択した場合に、この選択された計算方法を記憶しておく選択計算方法記憶領域44Bが設けられている。また、フラッシュメモリ44には、コネクタ18を介して外部のコンピュータ装置から受信した印字データや各種図柄データのドットパターンデータ等に登録番号を付して記憶するものであり、テープ印字装置1の電源をオフしてもこれらの記憶内容を保持している。
The CPU 41 performs various calculations based on various programs stored in the ROM 43. In addition, the ROM 43 classifies dot pattern data for printing for each of a large number of characters for printing characters such as alphabet letters and symbols, for each typeface (Gothic typeface, Mincho typeface, etc.). For each typeface, four types of print character sizes (16, 24, 32, and 48 dot sizes) are stored corresponding to the code data. In addition, graphic pattern data for printing a graphic image including gradation expression is also stored. Further, the ROM 43 reads out the data of the display drive control program for controlling the liquid crystal display controller (LCDC) 50 corresponding to the character code data such as characters and numbers inputted from the keyboard 6 and the data of the print buffer 45A. Various programs necessary for controlling the tape printer 1 such as a print drive control program for driving the head 9 and the tape feed motor 52 are stored.
Further, the flash memory 44 is provided with a tax rate storage area 44A in which a predetermined tax rate of the consumption tax (for example, the consumption tax is 5%, etc.) is stored in advance. In addition, the flash memory 44 is selected to store the selected calculation method when any of the round-down calculation method, the round-off calculation method, or the round-up calculation method is selected as the consumption tax calculation method as described later. A calculation method storage area 44B is provided. The flash memory 44 stores print data received from an external computer device via the connector 18 and dot pattern data of various symbol data with a registration number. Even if is turned off, these stored contents are retained.

また、RAM45は、CPU41により演算された各種の演算結果を一時的に記憶させておくためのものである。また、RAM45には、印字バッファ45A、編集入力領域45B、表示画像バッファ45C、ワーク領域45D等の各種のメモリ領域が設けられている。この印字バッファ45Aには、複数の文字や記号等の印字用ドットパターンや各ドットの形成エネルギ量である印加パルス数等がドットパターンデータとして格納され、サーマルヘッド9はかかる印字バッファ45Aに記憶されているドットパターンデータに従ってドット印字を行う。また、編集入力領域45Bには、キーボード6から入力された文書データ等のラベルデータとしての編集テキストが格納される。また、表示画像バッファ45Cには、液晶ディスプレイ7に表示されるグラフィックデータ等が格納される。   The RAM 45 is for temporarily storing various calculation results calculated by the CPU 41. The RAM 45 is provided with various memory areas such as a print buffer 45A, an edit input area 45B, a display image buffer 45C, and a work area 45D. In the print buffer 45A, dot patterns for printing such as a plurality of characters and symbols, the number of applied pulses that are the amount of energy for forming each dot, and the like are stored as dot pattern data, and the thermal head 9 is stored in the print buffer 45A. Dot printing is performed according to the dot pattern data. In the edit input area 45B, edit text as label data such as document data input from the keyboard 6 is stored. The display image buffer 45C stores graphic data displayed on the liquid crystal display 7 and the like.

また、入出力I/F46には、キーボード6、カセットセンサ49と、液晶ディスプレイ(LCD)7に表示データを出力する為のビデオRAMを有するディスプレイコントローラ(LCDC)50と、サーマルヘッド9を駆動する為の駆動回路51と、テープ送りモータ52を駆動する為の駆動回路53と、切断用モータ54を駆動する為の駆動回路55とが夫々接続されている。
また、通信用I/F66は、例えば、USB(Universal Serial Bus)等から構成され、外部のコンピュータ装置とUSBケーブル等によって接続され、双方向データ通信が可能になっている。
よって、キーボード6の文字キーを介して文字等が入力された場合、そのテキスト(文書データ)が編集入力領域45Bに順次記憶されていくとともに、ドットパターン発生制御プログラム及び表示駆動制御プログラムに基づいてキーボード6を介して入力された文字等に対応するドットパターンが液晶ディスプレイ(LCD)7上に表示される。また、サーマルヘッド9は駆動回路51を介して駆動され、印字バッファ領域45Aに記憶されたドットパターンデータの印字を行い、これと同期してテープ送りモータ52が駆動回路53を介してテープの送り制御を行うものである。また、外部のコンピュータ装置から通信用I/F47を介して入力された印字データを編集入力領域45Bが順次記憶し、ドットパターン発生制御プログラムに基づいて印字バッファ領域45Aにドットパターンデータとして記憶されて、サーマルヘッドを介して被印字テープ36に印字される。
The input / output I / F 46 drives a keyboard 6, a cassette sensor 49, a display controller (LCDC) 50 having a video RAM for outputting display data to a liquid crystal display (LCD) 7, and a thermal head 9. A drive circuit 51 for driving the tape feed motor 52, a drive circuit 53 for driving the cutting motor 54, and a drive circuit 55 for driving the cutting motor 54 are respectively connected.
In addition, the communication I / F 66 is configured by, for example, a USB (Universal Serial Bus) or the like, and is connected to an external computer device by a USB cable or the like to enable bidirectional data communication.
Therefore, when characters or the like are input through the character keys of the keyboard 6, the text (document data) is sequentially stored in the edit input area 45B, and based on the dot pattern generation control program and the display drive control program. A dot pattern corresponding to a character or the like input via the keyboard 6 is displayed on a liquid crystal display (LCD) 7. The thermal head 9 is driven through the drive circuit 51 to print the dot pattern data stored in the print buffer area 45A, and in synchronization with this, the tape feed motor 52 feeds the tape through the drive circuit 53. Control is performed. Further, the edit input area 45B sequentially stores print data input from an external computer device via the communication I / F 47, and is stored as dot pattern data in the print buffer area 45A based on a dot pattern generation control program. Then, printing is performed on the print-receiving tape 36 via the thermal head.

次に、このように構成されたテープ印字装置1の消費税込み金額等を決定する消費税処理及び該決定した消費税込み金額等をテープに印刷する印刷処理などの制御処理について図4乃至図17に基づいて説明する。
図4に示すように、先ず、ステップ(以下、Sと略記する)1において、テープ印字装置1のCPU41は、起動時に後述の初期設定処理(図5参照)を実行する。
そして、S2において、CPU41は、機能キー13Aが押下されたか否かを判定する判定処理を実行する。
そして、機能キー13Aが押下されず、文字入力キー2が押下された場合には(S2:NO)、S3において、CPU41は、各文字入力キー2が押下される毎に、CGROM42から該押下された各文字入力キー2に対応する「通常」又は「CAPSロック」時に登録されている文字を順次読み出し、液晶ディスプレイ(LCD)7に点滅表示(又は白黒反転表示など)を行い、文章データを表示し、再度S2以降の処理を実行する。そして、CPU41は、リターンキー4が押下された場合には、液晶ディスプレイ(LCD)7の表示画面に点滅表示(又は、白黒反転表示など)されている文字を通常表示にして、確定表示すると共に、この文字を編集入力領域45Bに印字文字データ(編集テキスト)として記憶する。その後、再度S2以降の処理を実行する。
Next, FIG. 4 to FIG. 17 show control processing such as consumption tax processing for determining the consumption tax-inclusive amount of the tape printer 1 configured as described above and printing processing for printing the determined consumption tax-inclusive amount on the tape. This will be explained based on.
As shown in FIG. 4, first, in step (hereinafter abbreviated as S) 1, the CPU 41 of the tape printer 1 executes an initial setting process (see FIG. 5), which will be described later, at the time of activation.
In S2, the CPU 41 executes determination processing for determining whether or not the function key 13A has been pressed.
If the function key 13A is not pressed and the character input key 2 is pressed (S2: NO), the CPU 41 presses the CGROM 42 every time the character input key 2 is pressed in S3. The characters registered in “Normal” or “CAPS lock” corresponding to each character input key 2 are sequentially read out, and blinking display (or black-and-white reverse display, etc.) is displayed on the liquid crystal display (LCD) to display the text data. Then, the processing after S2 is executed again. Then, when the return key 4 is pressed, the CPU 41 sets the characters that are blinking (or black-and-white inverted display) on the display screen of the liquid crystal display (LCD) 7 to the normal display and confirms the display. The character is stored in the edit input area 45B as print character data (edit text). Thereafter, the processes after S2 are executed again.

また、S2で、機能キー13Aが押下された場合には(S2:YES)、S4において、CPU41は、消費税キー13Bが押下されたか否かを判定する判定処理を実行する。
そして、消費税キー13Bが押下された場合には(S4:YES)、S5において、CPU41は、入力された金額に対して税込み金額等を計算表示する後述の消費税処理を実行後(図6等参照)、再度S2以降の処理を実行する。
また、S4で、消費税キー13Bが押下されなかった場合には(S4:NO)、S6において、CPU41は、印刷キー3が押下されたか否かを判定する判定処理を実行する。
そして、印刷キー3が押下された場合には(S6:YES)、S7において、CPU41は、後述の印刷処理のサブ処理を実行後(図9等参照)、再度S2以降の処理を実行する。
一方、S6で、印刷キー3が押下されていない場合には(S6:NO)、S8において、CPU41は、押下されたキーに対応する各種処理を実行後、再度、S2以降の処理を実行する。
When the function key 13A is pressed in S2 (S2: YES), in S4, the CPU 41 executes a determination process for determining whether or not the consumption tax key 13B is pressed.
When the consumption tax key 13B is pressed (S4: YES), in S5, the CPU 41 executes a later-described consumption tax process for calculating and displaying a tax-included amount on the input amount (FIG. 6). Etc.), and the processing after S2 is executed again.
If the consumption tax key 13B is not pressed in S4 (S4: NO), in S6, the CPU 41 executes a determination process for determining whether or not the print key 3 is pressed.
When the print key 3 is pressed (S6: YES), in S7, the CPU 41 executes the sub-process of the print process described later (see FIG. 9 and the like), and then executes the process after S2 again.
On the other hand, when the print key 3 is not pressed in S6 (S6: NO), in S8, the CPU 41 executes various processes corresponding to the pressed key and then executes the processes after S2 again. .

次に、S1において実行する初期設定処理のサブ処理について図5に基づいて説明する。
図5に示すように、S11において、CPU41は、フラッシュメモリ44の選択計算方法記憶領域44Bに予め記憶されている切り捨て計算方法を読み出し、この切り捨て計算方法をRAM45に第1優先順位の計算方法として記憶する。また、CPU41は、フラッシュメモリ44の税率記憶領域44Aから予め記憶されている消費税の税率5%を読み出し、この税率5%をRAM45に現在設定されている消費税の税率として記憶後、当該サブ処理を終了してメインフローチャートに戻る。
Next, a sub-process of the initial setting process executed in S1 will be described with reference to FIG.
As shown in FIG. 5, in S <b> 11, the CPU 41 reads out a truncation calculation method stored in advance in the selection calculation method storage area 44 </ b> B of the flash memory 44, and uses this truncation calculation method as a first priority calculation method in the RAM 45. Remember. In addition, the CPU 41 reads the consumption tax rate 5% stored in advance from the tax rate storage area 44A of the flash memory 44, stores this tax rate 5% as the consumption tax rate currently set in the RAM 45, and then The process ends and the process returns to the main flowchart.

次に、S5において実行する「消費税処理」のサブ処理について図6乃至図13に基づいて説明する。
図6に示すように、先ず、S21において、CPU41は、RAM45に現在設定されている消費税の税率として記憶される税率を読み出し、該税率を液晶ディスプレイ7に表示すると共に、この税率を消費税の税率とするか変更するかを問う旨を液晶ディスプレイ7に表示する。また、新たな税率がキーボード6から入力された場合には、この新たな税率を液晶ディスプレイ7に表示すると共に、この新たな税率を現在設定されている消費税の税率としてRAM45に記憶する。
続いて、S22において、CPU41は、液晶ディスプレイ7に表示した税率が表示消費税の税率として決定されたか否かを判定する、即ち、リターンキー4が所定時間内に押下されたか否かを判定する判定処理を実行する。そして、リターンキー4が所定時間内に押下されていない場合には(S22:NO)、再度S21の処理を実行する。
Next, sub-processing of “consumption tax processing” executed in S5 will be described with reference to FIGS.
As shown in FIG. 6, first, in S21, the CPU 41 reads the tax rate stored as the consumption tax rate currently set in the RAM 45, displays the tax rate on the liquid crystal display 7, and displays this tax rate on the consumption tax. The liquid crystal display 7 displays a message asking whether to change the tax rate. When a new tax rate is input from the keyboard 6, the new tax rate is displayed on the liquid crystal display 7, and the new tax rate is stored in the RAM 45 as the currently set consumption tax rate.
Subsequently, in S22, the CPU 41 determines whether or not the tax rate displayed on the liquid crystal display 7 is determined as the tax rate of the display consumption tax, that is, determines whether or not the return key 4 is pressed within a predetermined time. Execute the judgment process. If the return key 4 has not been pressed within the predetermined time (S22: NO), the process of S21 is executed again.

例えば、図7(A)に示すように、CPU41は、税率記憶領域44Aに記憶される税率を読み出し、液晶ディスプレイ7に「現在の設定税率 5%」と表示すると共に、その下側に「OK?」と表示する。そして、新たな税率(例えば、「7」や「10」等の数値や「7%」や「10%」等である。)が入力された場合には、この入力された税率を液晶ディスプレイ7の「5%」に替えて表示し(例えば、「7%」や「10%」等を表示する。)、その下側に「OK?」と表示すると共に、この新たな税率を現在設定されている消費税の税率としてRAM45に記憶する。   For example, as shown in FIG. 7A, the CPU 41 reads the tax rate stored in the tax rate storage area 44A, displays “currently set tax rate 5%” on the liquid crystal display 7, and displays “OK” below the tax rate. ? "Is displayed. When a new tax rate (for example, a numerical value such as “7” or “10” or “7%” or “10%”) is input, the input tax rate is displayed on the liquid crystal display 7. Is displayed instead of “5%” (for example, “7%”, “10%”, etc. is displayed), and “OK?” Is displayed below it, and this new tax rate is currently set. It is stored in the RAM 45 as the consumption tax rate.

一方、リターンキー4が所定時間内に押下された場合には(S22:YES)、23において、CPU41は、液晶ディスプレイ7に表示していた税率を再度、現在設定されている消費税の税率としてフラッシュメモリ44の税率記憶領域44Aに消費税の税率として記憶する。
その後、CPU41は、ROM43から税抜き価格を入力して税込み価格を計算する「税抜き→税込み」の計算モードと、税込み価格を入力して税抜き価格を計算する「税込み→税抜き」の計算モードとを読み出し、各計算モードを液晶ディスプレイ7に表示すると共に、現在設定されている計算モードがいずれの計算モードであるかを通知する。尚、起動時には、「税抜き→税込み」の計算モードが設定計算モードとしてRAM45に記憶される。
そして、液晶ディスプレイ7に表示されているこの設定されている計算モードから他の計算モードにカーソルキー5によって変更された場合には、変更後の計算モードを現在設定されている設定計算モードとして変更した旨を通知する。
On the other hand, when the return key 4 is pressed within a predetermined time (S22: YES), in 23, the CPU 41 again sets the tax rate displayed on the liquid crystal display 7 as the tax rate of the currently set consumption tax. The tax rate storage area 44A of the flash memory 44 stores the consumption tax rate.
Thereafter, the CPU 41 inputs a tax-excluded price from the ROM 43 and calculates a tax-inclusive price “tax-excluded → tax-inclusive” calculation mode, and calculates a tax-excluded price by inputting the tax-inclusive price. The mode is read out, each calculation mode is displayed on the liquid crystal display 7, and the currently set calculation mode is notified. At the time of activation, the calculation mode of “tax excluded → tax included” is stored in the RAM 45 as the setting calculation mode.
When the set calculation mode displayed on the liquid crystal display 7 is changed to another calculation mode with the cursor key 5, the changed calculation mode is changed to the currently set setting calculation mode. Notify that it has been done.

例えば、図7(B)に示すように、CPU41は、液晶ディスプレイ7の最上段に「現在の計算モード」と表示し、中段に「税抜き→税込み」と表示し、下段に「税込み→税抜き」と表示する。また、中段の「税抜き→税込み」にアンダーラインを表示すると共に、右端部に黒丸印61を表示し、現在設定されている計算モードが、「税抜き→税込み」の計算モードである旨を通知している。また、この黒丸印61は、カーソルキー5によって上下方向に移動する。
そして、カーソルキー5によって下段の「税込み→税抜き」の方に黒丸印61が移動された場合には、下段の「税込み→税抜き」の右端部に黒丸印61を表示し、現在設定されている計算モードを該「税込み→税抜き」の計算モードへ変更した旨を通知する。
For example, as shown in FIG. 7B, the CPU 41 displays “current calculation mode” on the top of the liquid crystal display 7, displays “tax excluded → tax included” on the middle, and “tax included → tax included” on the bottom. "Unplugged" is displayed. In addition, an underline is displayed in the middle “tax excluded → tax included” and a black circle 61 is displayed at the right end to indicate that the currently set calculation mode is “tax excluded → tax included”. Notify. The black circle 61 is moved up and down by the cursor key 5.
If the black circle 61 is moved to the lower “tax included → tax excluded” by the cursor key 5, the black circle 61 is displayed at the right end of the lower “tax included → tax excluded” and is currently set. That the current calculation mode is changed to the calculation mode of “tax-included → tax-excluded”.

続いて、S24において、CPU41は、液晶ディスプレイ7に表示した現在設定されている計算モードが変更されたか否か、即ち、「税込み→税抜き」の計算モードへ変更されたか否かを判定する判定処理を実行する。即ち、CPU41は、カーソルキー5によって「税込み→税抜き」の計算モードに変更されて、リターンキー4が押下されたか否かを判定する判定処理を実行する。
そして、カーソルキー5によって「税込み→税抜き」の計算モードに変更されないで、即ち「税抜き→税込み」の計算モードが設定された状態でリターンキー4が押下された場合には(S24:NO)、S25において、CPU41は、「税抜き→税込み」の計算モードを現在の設定計算モードとしてRAM45に記憶後、後述の「税抜き→税込み処理」のサブ処理を実行した後、メインフローチャートに戻る。
一方、カーソルキー5によって「税込み→税抜き」の計算モードに変更された場合には(S24:YES)、S26において、CPU41は、「税込み→税抜き」の計算モードを現在の設定計算モードとしてRAM45に記憶後、後述の「税込み→税抜き処理」のサブ処理を実行した後、メインフローチャートに戻る。
Subsequently, in S24, the CPU 41 determines whether or not the currently set calculation mode displayed on the liquid crystal display 7 has been changed, that is, whether or not the calculation mode has been changed to a calculation mode of “tax included → tax excluded”. Execute the process. In other words, the CPU 41 changes to the calculation mode of “tax-included → tax-excluded” by the cursor key 5 and executes a determination process for determining whether the return key 4 is pressed.
Then, when the cursor key 5 does not change the calculation mode to “tax-included → tax-excluded”, that is, when the return key 4 is pressed with the calculation mode “tax excluded → tax-included” set (S24: NO) In S25, the CPU 41 stores the calculation mode of “tax excluded → tax included” in the RAM 45 as the current setting calculation mode, and then executes a sub-process of “tax excluded → tax included processing” described later, and then returns to the main flowchart. .
On the other hand, when the cursor key 5 is used to change the calculation mode to “tax-included → tax-excluded” (S24: YES), in S26, the CPU 41 sets the calculation mode “tax-included → tax excluded” as the current set calculation mode. After storing in the RAM 45, after executing a sub-process of “tax-included → tax-excluded process” described later, the process returns to the main flowchart.

例えば、図7(B)に示すように、液晶ディスプレイ7の中段の「税抜き→税込み」の右端部に黒丸印61が表示された状態で、リターンキー4が押下された場合には(S24:NO)、CPU41は、「税抜き→税込み」の計算モードを設定計算モードとしてRAM45に記憶後、後述の「税抜き→税込み処理」のサブ処理を実行した後、メインフローチャートに戻る。
一方、カーソルキー5によって液晶ディスプレイ7の下段の「税込み→税抜き」の方に黒丸印61が移動された状態で、リターンキー4が押下された場合には(S24:YES)、CPU41は、この変更後の「税込み→税抜き」の計算モードを新たな設定計算モードとしてRAM45に記憶後、後述の「税込み→税抜き処理」のサブ処理を実行した後、メインフローチャートに戻る。
For example, as shown in FIG. 7B, when the return key 4 is pressed while the black circle 61 is displayed at the right end of “tax excluded → tax included” in the middle of the liquid crystal display 7 (S24). : NO), the CPU 41 stores the calculation mode of “tax excluded → tax included” in the RAM 45 as the setting calculation mode, and then executes a sub-process of “tax excluded → tax included processing” described later, and then returns to the main flowchart.
On the other hand, when the return key 4 is pressed in a state where the black circle 61 has been moved toward the “tax-included → tax-excluded” portion of the lower part of the liquid crystal display 7 by the cursor key 5 (S24: YES), the CPU 41 After this change, the calculation mode of “including tax → excluding tax” is stored in the RAM 45 as a new setting calculation mode, and after executing a sub process of “tax included → excluding tax” described later, the process returns to the main flowchart.

次に、S25において実行する「税抜き→税込み処理」のサブ処理について図8及び図9に基づいて説明する。
図8に示すように、S31において、CPU41は、液晶ディスプレイ7に税抜き価格の入力を要求する旨を表示すると共に、キーボード6を介して入力された金額を液晶ディスプレイ7に表示する。
例えば、図9(A)に示すように、CPU41は、液晶ディスプレイ7の上段に「<金額入力>」を表示すると共に、中段に「税抜(円):」と表示し、税抜き価格の入力を要求する旨を表示する。そして、税抜き価格として「198」が入力された場合には、中段の右端部に入力された税抜き価格「198」を表示する。
Next, the sub-processing of “tax excluded → tax included processing” executed in S25 will be described with reference to FIGS.
As shown in FIG. 8, in S <b> 31, the CPU 41 displays on the liquid crystal display 7 the request for inputting the tax-excluded price and displays the amount of money input via the keyboard 6 on the liquid crystal display 7.
For example, as shown in FIG. 9A, the CPU 41 displays “<Amount Input>” on the upper part of the liquid crystal display 7 and “Tax Excluded (Yen):” on the middle part. Indicates that input is requested. When “198” is input as the tax-excluded price, the tax-excluded price “198” input is displayed at the right end of the middle row.

そして、S32において、CPU41は、リターンキー4が押下された場合には、この入力された税抜き価格をRAM45に「税抜き価格」として記憶する。また、CPU41は、ROM44の計算方法記憶領域43Cから切り捨て計算方法、四捨五入計算方法、及び切り上げ計算方法を順次読み出し、各計算方法をRAM45に記憶する。
また、S33において、CPU41は、フラッシュメモリ44の税率記憶領域44Aから消費税の税率を読み出して、RAM45に現在設定されている消費税の税率として記憶する。
続いて、S34において、CPU41は、この入力された税抜き価格から各計算方法によって計算した税込み価格を計算してRAM45に各「税込み価格」として記憶すると共に、各計算方法によって計算した税込み価格を液晶ディスプレイ7に表示する。また、CPU41は、フラッシュメモリ44の選択計算方法記憶領域44Bに記憶される計算方法を読み出し、該計算方法が税込み価格を計算する計算条件として現在設定されている旨を液晶ディスプレイ7に表示する。
そして、液晶ディスプレイ7に表示されているこの税込み価格を計算する計算条件として設定されている計算方法から他の計算方法にカーソルキー5によって変更された場合には、変更後の計算方法を現在設定されている税込み価格を計算する計算条件として変更した旨を通知する。
In S <b> 32, when the return key 4 is pressed, the CPU 41 stores the input tax-excluded price in the RAM 45 as “tax-excluded price”. Further, the CPU 41 sequentially reads the round-down calculation method, the round-off calculation method, and the round-up calculation method from the calculation method storage area 43 </ b> C of the ROM 44 and stores each calculation method in the RAM 45.
In S <b> 33, the CPU 41 reads the tax rate of the consumption tax from the tax rate storage area 44 </ b> A of the flash memory 44 and stores it as the tax rate of the consumption tax currently set in the RAM 45.
Subsequently, in S34, the CPU 41 calculates a tax-inclusive price calculated by each calculation method from the inputted tax-excluded price, stores it as each “tax-inclusive price” in the RAM 45, and also calculates the tax-inclusive price calculated by each calculation method. Displayed on the liquid crystal display 7. Further, the CPU 41 reads the calculation method stored in the selection calculation method storage area 44B of the flash memory 44 and displays on the liquid crystal display 7 that the calculation method is currently set as a calculation condition for calculating the tax-inclusive price.
When the calculation method set as the calculation condition for calculating the tax-inclusive price displayed on the liquid crystal display 7 is changed to another calculation method by the cursor key 5, the changed calculation method is set at present. Notify that it has been changed as a calculation condition to calculate the price including tax.

続いて、S35において、CPU41は、リターンキー4が押下された場合には、液晶ディスプレイ7に税込み価格を計算する計算条件として現在設定されている旨が表示されている計算方法を再度、フラッシュメモリ44の選択計算方法記憶領域44Bに記憶する。 また、S36において、CPU41は、この選択計算方法記憶領域44Bに記憶した計算方法で計算した税込み価格に対応する「税込み価格」をRAM45から読み出して編集入力領域45Bに被印字テープ36に印字する「税込み価格」として記憶後、当該サブ処理を終了して、消費税処理に戻る。   Subsequently, in S35, when the return key 4 is pressed, the CPU 41 re-executes the calculation method in which the fact that it is currently set as the calculation condition for calculating the tax-inclusive price is displayed on the liquid crystal display 7 again. 44 selection calculation method storage area 44B. In S36, the CPU 41 reads from the RAM 45 the “tax-included price” corresponding to the tax-included price calculated by the calculation method stored in the selection calculation method storage area 44B, and prints it on the print-receiving tape 36 in the edit input area 45B. After storing as “tax-included price”, the sub-process is terminated and the process returns to the consumption tax process.

例えば、図9(B)に示すように、CPU41は、液晶ディスプレイ7の上段に、切り捨て計算方法で計算した税込み価格を表す「切り捨て:」を表示すると共に、入力された金額「198円」に対する該切り捨て計算方法で計算した税込み価格である「207円」を表示する。また、CPU41は、液晶ディスプレイ7の中段に、四捨五入計算方法で計算した税込み価格を表す「四捨五入:」を表示すると共に、入力された金額「198円」に対する該四捨五入計算方法で計算した税込み価格である「208円」を表示する。更に、CPU41は、液晶ディスプレイ7の下段に、切り上げ計算方法で計算した税込み価格を表す「切り上げ:」を表示すると共に、入力された金額「198円」に対する該切り上げ計算方法で計算した税込み価格である「208円」を表示する。また、CPU41は、フラッシュメモリ44の選択計算方法記憶領域44Bから読み出した計算方法が「切り捨て計算方法」であった場合には、液晶ディスプレイ7の上段に表示される「切り捨て:207円」にアンダーラインを表示すると共に、右端部に黒丸印62を表示し、該切り捨て計算方法が税込み価格を計算する計算条件として現在設定されている旨を表示する。また、この黒丸印61は、カーソルキー5によって上下方向に移動する。   For example, as shown in FIG. 9B, the CPU 41 displays “rounded down:” representing the tax-inclusive price calculated by the rounded down calculation method on the upper part of the liquid crystal display 7 and corresponds to the input amount “198 yen”. “207 yen” which is the tax-inclusive price calculated by the round-down calculation method is displayed. In addition, the CPU 41 displays “rounding:” representing the tax-inclusive price calculated by the rounding calculation method in the middle of the liquid crystal display 7 and the tax-inclusive price calculated by the rounding-off calculation method for the input amount “198 yen”. A certain “208 yen” is displayed. Further, the CPU 41 displays “Round-up:” representing the tax-inclusive price calculated by the round-up calculation method on the lower part of the liquid crystal display 7 and also includes the tax-inclusive price calculated by the round-up calculation method for the input amount “198 yen”. A certain “208 yen” is displayed. Further, when the calculation method read from the selection calculation method storage area 44B of the flash memory 44 is the “cut-off calculation method”, the CPU 41 underlines “cut-off: 207 yen” displayed on the upper stage of the liquid crystal display 7. A line is displayed, and a black circle 62 is displayed at the right end to indicate that the round-down calculation method is currently set as a calculation condition for calculating a tax-inclusive price. The black circle 61 is moved up and down by the cursor key 5.

そして、図9(C)に示すように、カーソルキー5によって中段の「四捨五入:208円」の方に黒丸印62が移動された場合には、CPU41は、該「四捨五入:208円」にアンダーラインを表示し、税込み価格を計算する計算条件として四捨五入計算方法が選択された旨を表示する。
続いて、リターンキー4が押下された場合には、この黒丸印62が付された「四捨五入:208円」に対応する四捨五入計算方法をフラッシュメモリ44の選択計算方法記憶領域44Bに記憶すると共に、この税込み価格「208円」を編集入力領域45Bに被印字テープ36に印字する「税込み価格」として記憶後、当該サブ処理を終了して、諸費税処理に戻る。
Then, as shown in FIG. 9C, when the black circle 62 is moved by the cursor key 5 toward the middle “rounding off: 208 yen”, the CPU 41 underlines the “rounding off: 208 yen”. A line is displayed to indicate that the rounding calculation method has been selected as the calculation condition for calculating the price including tax.
Subsequently, when the return key 4 is pressed, a rounding calculation method corresponding to “rounding: 208 yen” marked with the black circle 62 is stored in the selection calculation method storage area 44B of the flash memory 44, and After storing this tax-included price “208 yen” as “tax-included price” to be printed on the print-receiving tape 36 in the edit input area 45B, the sub-process is terminated, and the process returns to the various-tax process.

次に、S26において実行する「税込み→税抜き処理」のサブ処理について図10乃至図13に基づいて説明する。
図10に示すように、S41において、CPU41は、液晶ディスプレイ7に税込み価格の入力を要求する旨を表示すると共に、キーボード6を介して入力された金額を液晶ディスプレイ7に表示する。
例えば、図12(A)に示すように、CPU41は、液晶ディスプレイ7の上段に「<金額入力>」を表示すると共に、中段に「税込(円):」と表示し、税込み価格の入力を要求する旨を表示する。そして、金額「105円」が入力された場合には、CPU41は、中段の右端部に、「105」と表示する。
また、図13(A)に示すように、CPU41は、液晶ディスプレイ7の上段に「<金額入力>」を表示すると共に、中段に「税込(円):」と表示し、税込み価格の入力を要求する旨を表示する。そして、金額「115円」が入力された場合には、CPU41は、中段の右端部に、「115」と表示する。
Next, the sub-process of “tax-included → tax-excluded process” executed in S26 will be described with reference to FIGS.
As shown in FIG. 10, in S <b> 41, the CPU 41 displays on the liquid crystal display 7 that the liquid crystal display 7 requests to input the tax-inclusive price, and displays the amount input via the keyboard 6.
For example, as shown in FIG. 12A, the CPU 41 displays “<amount input>” in the upper part of the liquid crystal display 7 and “tax included (yen):” in the middle part, and inputs the price including tax. Display the request. When the amount “105 yen” is input, the CPU 41 displays “105” at the right end of the middle row.
Further, as shown in FIG. 13A, the CPU 41 displays “<amount input>” in the upper part of the liquid crystal display 7 and “tax included (yen):” in the middle part, and inputs the price including tax. Display the request. When the amount “115 yen” is input, the CPU 41 displays “115” at the right end of the middle row.

そして、S42において、CPU41は、リターンキー4が押下された場合には、この入力された金額をRAM45に「税込み価格」として記憶する。また、フラッシュメモリ44の税率記憶領域44Aから税率を読み出し、該税率を現在設定されている消費税の税率としてRAM45に記憶する。また、フラッシュメモリ44の選択計算方法記憶領域44Bに記憶されている計算方法を読み出し、該計算方法を現在設定されている計算条件としてRAM45に記憶する。
続いて、S43において、CPU41は、RAM45に記憶されている入力された「税込み価格」及び消費税の税率に基づいて「税抜き価格」を算出すると共に、この算出した「税抜き価格」から再度、RAM45に記憶されている消費税の税率に基づいて「税込み価格」を算出し、この算出した「税込み価格」と入力された「税込み価格」とが一致するか否かを検算する「税抜き価格計算・計算結果から検算処理」のサブ処理を実行する。
In S <b> 42, when the return key 4 is pressed, the CPU 41 stores the input amount in the RAM 45 as “tax-included price”. Further, the tax rate is read from the tax rate storage area 44A of the flash memory 44, and the tax rate is stored in the RAM 45 as the currently set consumption tax rate. Further, the calculation method stored in the selection calculation method storage area 44B of the flash memory 44 is read, and the calculation method is stored in the RAM 45 as the currently set calculation condition.
Subsequently, in S43, the CPU 41 calculates a “tax-excluded price” based on the inputted “tax-included price” stored in the RAM 45 and the tax rate of the consumption tax, and again from the calculated “tax-excluded price”. The “tax-included price” is calculated based on the tax rate of the consumption tax stored in the RAM 45, and the calculated “tax-included price” is checked whether or not the input “tax-included price” matches. Execute sub-processing of “Price calculation / verification from calculation result”.

ここで、「税抜き価格計算・計算結果から検算処理」のサブ処理について図11に基づいて説明する。
図11に示すように、S51において、CPU41は、RAM45に記憶されている入力された「税込み価格」及び消費税の税率に基づいて、該税率の数値に「1」加算した数値(例えば、消費税が5%の場合には、1+0.05=1.05の数値である。)でこの「税込み価格」を除算して、「税抜き価格」を算出し、RAM45に「税抜き価格」(第1税抜き額)として記憶する。
続いて、S52において、CPU41は、再度RAM45から該「税抜き価格」(第1税抜き額)を読み出し、余りがあるか否か、即ち、1円(単位通貨)未満の端数があるか否かを判定する判定処理を実行する。
そして、該「税抜き価格」(第1税抜き額)に余りがない、即ち、1円(単位通貨)未満の端数がない場合には(S52:NO)、S53において、CPU41は、当該「税抜き価格」(第1税抜き額)を入力された「税込み価格」に対応する「税抜き価格」として確定して、確定「税抜き価格」としてRAM45に記憶する。また、CPU41は、RAM45から税抜き価格フラグを読み出して該税抜き価格フラグをONにして再度、RAM45に記憶後、当該サブ処理を終了して、「税込み→税抜きモード処理」のサブ処理に戻る。
Here, the sub-process of “calculation without tax calculation / verification from calculation result” will be described with reference to FIG.
As shown in FIG. 11, in S51, the CPU 41 adds “1” to the numerical value of the tax rate based on the inputted “tax-included price” stored in the RAM 45 and the tax rate of the consumption tax (for example, consumption When the tax is 5%, the value is 1 + 0.05 = 1.05.) The “tax-excluded price” is calculated by dividing this “tax-included price”, and the “tax-excluded price” ( Stored as the first tax-excluded amount.
Subsequently, in S52, the CPU 41 reads the “tax-excluded price” (first tax-excluded price) from the RAM 45 again, and whether there is a remainder, that is, whether there is a fraction less than one yen (unit currency). A determination process is performed to determine whether or not.
When the “tax-excluded price” (first tax-excluded price) is not excessive, that is, when there is no fraction less than one yen (unit currency) (S52: NO), in S53, the CPU 41 The “tax-excluded price” (first tax-excluded price) is fixed as the “tax-excluded price” corresponding to the inputted “tax-included price” and stored in the RAM 45 as the confirmed “tax-excluded price”. Further, the CPU 41 reads the tax-excluded price flag from the RAM 45, turns on the tax-excluded price flag, stores it again in the RAM 45, ends the sub-process, and enters the sub-process of “tax-included → tax-excluded mode process”. Return.

一方、該「税抜き価格」(第1税抜き額)に余りがある、即ち、1円(単位通貨)未満の端数がある場合には(S52:YES)、S54において、CPU41は、該「税抜き価格」(第1税抜き額)の1円(単位通貨)未満の端数を切り捨てた金額を「税抜き価格候補1」(第2税抜き額)としてRAM45に記憶する。
そして、S55において、CPU41は、RAM45から現在設定されている消費税の税率を読み出し、「税抜き価格候補1」(第2税抜き額)から「税込み価格」を算出する。
続いて、S56において、CPU41は、RAM45から現在設定されている計算条件としての計算方法を読み出し、この算出した「税込み価格」の1円(単位通貨)未満の端数を処理して、再度、この算出した「税込み価格」をRAM45に算出した「税込み価格」(第1税込み額)として記憶する。従って、現在設定されている計算条件としての計算方法が切り捨て計算方法の場合には、「税込み価格」の1円(単位通貨)未満の端数を切り捨てた金額が、算出した「税込み価格」(第1税込み額)としてRAM45に記憶される。また、現在設定されている計算条件としての計算方法が四捨五入計算方法の場合には、「税込み価格」の1円(単位通貨)未満の端数を四捨五入した金額が、算出した「税込み価格」(第1税込み額)としてRAM45に記憶される。更に、現在設定されている計算条件としての計算方法が切り上げ計算方法の場合には、「税込み価格」の1円(単位通貨)未満の端数を切り上げた金額が、算出した「税込み価格」(第1税込み額)としてRAM45に記憶される。
On the other hand, if the “tax-excluded price” (first tax-excluded price) has a remainder, that is, there is a fraction less than 1 yen (unit currency) (S52: YES), in S54, the CPU 41 The amount less than 1 yen (unit currency) of the “tax-excluded price” (first tax-excluded price) is stored in the RAM 45 as “tax-excluded price candidate 1” (second tax-excluded price).
In S55, the CPU 41 reads the currently set tax rate of the consumption tax from the RAM 45, and calculates “tax-included price” from “tax-excluded price candidate 1” (second tax-excluded amount).
Subsequently, in S56, the CPU 41 reads out the calculation method as the currently set calculation condition from the RAM 45, processes the calculated “tax-included price” of less than 1 yen (unit currency), and again executes this calculation. The calculated “tax-included price” is stored in the RAM 45 as the calculated “tax-included price” (first tax-included amount). Therefore, if the currently set calculation method is the round-down calculation method, the amount less than 1 yen (unit currency) of the “tax-included price” is rounded down to the calculated “tax-included price” (No. 1 amount including tax) is stored in the RAM 45. In addition, when the calculation method as the currently set calculation condition is the rounding off calculation method, the amount rounded off to the nearest less than 1 yen (unit currency) of the “tax included price” is the calculated “tax included price” (No. 1 amount including tax) is stored in the RAM 45. Furthermore, when the calculation method as the currently set calculation condition is a round-up calculation method, the amount obtained by rounding up the fraction less than 1 yen (unit currency) of the “tax-included price” is the calculated “tax-included price” (No. 1 amount including tax) is stored in the RAM 45.

例えば、入力された「税込み価格」が「115円」で、消費税が5%の場合には、「税抜き価格候補1」(第2税抜き額)として「109円」がRAM45に記憶される。また、また、現在設定されている計算条件としての計算方法が四捨五入計算方法の場合には、「114円」が算出した「税込み価格」(第1税込み額)としてRAM45に記憶される。   For example, when the input “tax-included price” is “115 yen” and the consumption tax is 5%, “109 yen” is stored in the RAM 45 as “tax-excluded price candidate 1” (second tax-excluded amount). The Further, when the calculation method as the currently set calculation condition is a rounding calculation method, “114 yen” is stored in the RAM 45 as the “tax-included price” (first tax-included amount) calculated.

そしてまた、S57において、CPU41は、RAM45から算出した「税込み価格」(第1税込み額)を読み出し、入力された「税込み価格」と一致するか否かを判定する判定処理を実行する。
そして、この算出した「税込み価格」(第1税込み額)が、入力された「税込み価格」と一致した場合には(S57:YES)、S53において、CPU41は、RAM45から「税抜き価格候補1」(第2税抜き額)を読み出し、この「税抜き価格候補1」(第2税抜き額)を入力された「税込み価格」に対応する「税抜き価格」として確定して、確定「税抜き価格」としてRAM45に記憶する。また、CPU41は、RAM45から税抜き価格フラグを読み出して該税抜き価格フラグをONにして再度、RAM45に記憶後、当該サブ処理を終了して、「税込み→税抜きモード処理」のサブ処理に戻る。
In S <b> 57, the CPU 41 reads the “tax-inclusive price” (first tax-inclusive price) calculated from the RAM 45, and executes a determination process for determining whether or not the input “tax-inclusive price” matches.
When the calculated “tax-included price” (first tax-included price) matches the inputted “tax-included price” (S57: YES), the CPU 41 reads “candidate price candidate 1” from the RAM 45 in S53. "(Tax-excluded amount)" is read, and "Tax-excluded price candidate 1" (Second tax-excluded amount) is confirmed as the "Tax-excluded price" corresponding to the entered "Tax-inclusive price" It is stored in the RAM 45 as a “price”. Further, the CPU 41 reads the tax-excluded price flag from the RAM 45, turns on the tax-excluded price flag, stores it again in the RAM 45, ends the sub-process, and enters the sub-process of “tax-included → tax-excluded mode process”. Return.

一方、S57で、この算出した「税込み価格」(第1税込み額)が、入力された「税込み価格」と一致しない場合には(S57:NO)、S58において、CPU41は、RAM45から「税抜き価格候補1」(第2税抜き額)を読み出し、該「税抜き価格候補1」(第2税抜き額)に1円(単位通貨)加算した金額を「税抜き価格候補2」(第3税抜き額)としてRAM45に記憶する。
そして、S59において、CPU41は、RAM45から現在設定されている消費税の税率を読み出し、「税抜き価格候補2」(第3税抜き額)から「税込み価格」を算出する。
続いて、S60において、CPU41は、RAM45から現在設定されている計算条件としての計算方法を読み出し、この算出した「税込み価格」の1円(単位通貨)未満の端数を処理して、再度、この算出した「税込み価格」をRAM45に算出した「税込み額」(第2税込み額)として記憶する。従って、現在設定されている計算条件としての計算方法が切り捨て計算方法の場合には、「税込み価格」の1円(単位通貨)未満の端数を切り捨てた金額が、算出した「税込み価格」(第2税込み額)としてRAM45に記憶される。また、現在設定されている計算条件としての計算方法が四捨五入計算方法の場合には、「税込み価格」の1円(単位通貨)未満の端数を四捨五入した金額が、算出した「税込み価格」(第2税込み額)としてRAM45に記憶される。更に、現在設定されている計算条件としての計算方法が切り上げ計算方法の場合には、「税込み価格」の1円(単位通貨)未満の端数を切り上げた金額が、算出した「税込み価格」(第2税込み額)としてRAM45に記憶される。
On the other hand, if the calculated “tax-included price” (first tax-included price) does not match the inputted “tax-included price” in S57 (S57: NO), the CPU 41 reads “excluding tax” from the RAM 45 in S58. “Price candidate 1” (second tax-excluded amount) is read out, and the amount obtained by adding 1 yen (unit currency) to the “tax-excluded price candidate 1” (second tax-excluded amount) is added to “tax-excluded price candidate 2” (third It is stored in the RAM 45 as a tax-excluded amount.
In S <b> 59, the CPU 41 reads the currently set consumption tax rate from the RAM 45, and calculates “tax-included price” from “tax-excluded price candidate 2” (third tax-excluded amount).
Subsequently, in S60, the CPU 41 reads out the calculation method as the currently set calculation condition from the RAM 45, processes the calculated “tax-included price” of less than 1 yen (unit currency), and again executes this calculation. The calculated “tax-included price” is stored in the RAM 45 as the calculated “tax-included amount” (second tax-included amount). Therefore, if the currently set calculation method is the round-down calculation method, the amount less than 1 yen (unit currency) of the “tax-included price” is rounded down to the calculated “tax-included price” (No. 2) (including tax). In addition, when the calculation method as the currently set calculation condition is the rounding off calculation method, the amount rounded off to the nearest less than 1 yen (unit currency) of the “tax included price” is the calculated “tax included price” (No. 2) (including tax). Furthermore, when the calculation method as the currently set calculation condition is a round-up calculation method, the amount obtained by rounding up the fraction less than 1 yen (unit currency) of the “tax-included price” is the calculated “tax-included price” (No. 2) (including tax).

例えば、入力された「税込み価格」が「115円」で、消費税が5%の場合には、「税抜き価格候補2」(第3税抜き額)として「110円」がRAM45に記憶される。また、また、現在設定されている計算条件としての計算方法が四捨五入計算方法の場合には、「116円」が算出した「税込み価格」(第2税込み額)としてRAM45に記憶される。   For example, if the input “tax-included price” is “115 yen” and the consumption tax is 5%, “110 yen” is stored in the RAM 45 as “tax-excluded price candidate 2” (third tax-excluded amount). The In addition, when the calculation method as the currently set calculation condition is a rounding calculation method, “116 yen” is stored in the RAM 45 as the “tax-included price” (second tax-included amount) calculated.

そしてまた、S61において、CPU41は、RAM45から算出した「税込み価格」(第2税込み額)を読み出し、入力された「税込み価格」と一致するか否かを判定する判定処理を実行する。
そして、この算出した「税込み価格」(第2税込み額)が、入力された「税込み価格」と一致した場合には(S61:YES)、S53において、CPU41は、RAM45から「税抜き価格候補2」(第3税抜き額)を読み出し、この「税抜き価格候補2」(第3税抜き額)を入力された「税込み価格」に対応する「税抜き価格」として確定して、確定「税抜き価格」としてRAM45に記憶する。また、CPU41は、RAM45から税抜き価格フラグを読み出して該税抜き価格フラグをONにして再度、RAM45に記憶後、当該サブ処理を終了して、「税込み→税抜きモード処理」のサブ処理に戻る。
In S <b> 61, the CPU 41 reads the “tax-included price” (second tax-included price) calculated from the RAM 45 and executes a determination process for determining whether or not the input “tax-included price” matches.
If the calculated “tax-included price” (second tax-included price) matches the input “tax-included price” (S61: YES), in S53, the CPU 41 reads the “tax-excluded price candidate 2” from the RAM 45. "(Tax-excluded amount)", and "Tax-excluded price candidate 2" (Third tax-excluded amount) is confirmed as the "Tax-free price" corresponding to the entered "Tax-inclusive price" It is stored in the RAM 45 as a “price”. Further, the CPU 41 reads the tax-excluded price flag from the RAM 45, turns on the tax-excluded price flag, stores it again in the RAM 45, ends the sub-process, and enters the sub-process of “tax-included → tax-excluded mode process”. Return.

一方、S61で、この算出した「税込み価格」(第2税込み額)が、入力された「税込み価格」と一致しない場合には(S61:NO)、S62において、CPU41は、RAM45から「税抜き価格候補1」(第2税抜き額)と「税抜き価格候補2」(第3税抜き額)を読み出し、選択用確定「税抜き価格」としてRAM45に記憶する。また、CPU41は、RAM45から税抜き価格フラグを読み出して該税抜き価格フラグをOFFにして再度、RAM45に記憶後、当該サブ処理を終了して、「税込み→税抜きモード処理」のサブ処理に戻る。   On the other hand, when the calculated “tax-included price” (second tax-included price) does not match the input “tax-included price” in S61 (S61: NO), in S62, the CPU 41 reads “ “Price candidate 1” (second tax-excluded price) and “tax-excluded price candidate 2” (third tax-excluded price) are read out and stored in the RAM 45 as a selection confirmation “tax-excluded price”. Further, the CPU 41 reads the tax-excluded price flag from the RAM 45, turns off the tax-excluded price flag, stores it again in the RAM 45, terminates the sub-process, and enters the sub-process of “tax-included → tax-excluded mode process”. Return.

続いて、図10に示すように、S44において、CPU41は、S43の処理において、検算結果が一致したか否か、即ち、RAM45から読み出した税抜き価格フラグがONかOFFかを判定する判定処理を実行する。
そして、検算結果が一致したと判定した場合、即ち、RAM45から読み出した税抜き価格フラグがONの場合には、S45において、CPU41は、RAM45から入力された「税込み価格」と確定「税抜き価格」とを読み出し、該「税込み価格」と確定「税抜き価格」とを液晶ディスプレイ7に表示する。また、この「税込み価格」と確定「税抜き価格」とを被印字テープ36に印字するか否かを問う旨を液晶ディスプレイ7に表示する。
Subsequently, as shown in FIG. 10, in S44, the CPU 41 determines whether or not the verification results match in the process of S43, that is, whether the tax-excluded price flag read from the RAM 45 is ON or OFF. Execute.
If it is determined that the verification results match, that is, if the tax-excluded price flag read from the RAM 45 is ON, in S45, the CPU 41 confirms the “tax-included price” input from the RAM 45 and the determined “tax-excluded price”. ”And read the“ tax-included price ”and the confirmed“ tax-excluded price ”on the liquid crystal display 7. In addition, the liquid crystal display 7 displays a message asking whether or not to print the “tax-included price” and the confirmed “tax-excluded price” on the tape to be printed 36.

例えば、図12(B)に示すように、CPU41は、RAM45から入力された「税込み価格」(105円)と確定「税抜き価格」(100円)とを読み出し、液晶ディスプレイ7に「105円:税抜100円」と表示する。また、この「105円:税抜100円」にアンダーラインを表示する。更に、その下側に「OK?」と表示して、この「税込み価格」と確定「税抜き価格」とを被印字テープ36に印字するか否かを問う旨を表示する。   For example, as shown in FIG. 12B, the CPU 41 reads the “tax-included price” (105 yen) and the confirmed “tax-excluded price” (100 yen) input from the RAM 45, and reads “105 yen on the liquid crystal display 7. : 100 yen without tax ". In addition, an underline is displayed at “105 yen: 100 yen excluding tax”. Further, “OK?” Is displayed below the screen, and a message is displayed asking whether or not to print the “tax-included price” and the finalized “tax-excluded price” on the print-receiving tape 36.

そして、S46において、CPU41は、液晶ディスプレイ7に表示した「税込み価格」と確定「税抜き価格」とを被印字テープ36に印字すると決定されたか否かを判定する、即ち、リターンキー4が押下されたか否かを判定する判定処理を実行する。そして、リターンキー4が所定時間内に押下されていない場合には(S46:NO)、再度S41の処理を実行する。
一方、リターンキー4が所定時間内に押下された場合には(S46:YES)、47において、CPU41は、この「税込み価格」と確定「税抜き価格」とをRAM45から読み出して、被印字テープ36に印字する「税込み価格」と「税抜き価格」として編集入力領域45Bに記憶後、当該サブ処理を終了して、消費税処理に戻る。
In S46, the CPU 41 determines whether or not it is decided to print the “tax-included price” and the confirmed “tax-excluded price” displayed on the liquid crystal display 7 on the print-receiving tape 36, that is, the return key 4 is pressed. A determination process for determining whether or not the process has been performed is executed. If the return key 4 has not been pressed within the predetermined time (S46: NO), the process of S41 is executed again.
On the other hand, if the return key 4 is pressed within a predetermined time (S46: YES), the CPU 41 reads the "tax-included price" and the confirmed "tax-excluded price" from the RAM 45 at 47, and prints the tape to be printed. After the “tax-included price” and “tax-excluded price” to be printed on 36 are stored in the edit input area 45B, the sub-process is terminated and the process returns to the consumption tax process.

他方、S44で、検算結果が一致しないと判定した場合、即ち、RAM45から読み出した税抜き価格フラグがOFFの場合には、S48において、CPU41は、液晶ディスプレイ7に入力された「税込み価格」に対する「税抜き価格」を計算できなかった旨を表示する。また同時に、CPU41は、RAM45から「税抜き価格候補1」(第2税抜き額)と該「税抜き価格候補1」(第2税抜き額)に対応する算出した「税込み価格」(第1税込み額)とを読み出し、液晶ディスプレイ7に、この「税抜き価格候補1」(第2税抜き額)と「税込み価格」(第1税込み額)とを表示する。更に同時に、CPU41は、RAM45から「税抜き価格候補2」(第3税抜き額)と該「税抜き価格候補2」(第3税抜き額)に対応する算出した「税込み価格」(第2税込み額)とを読み出し、液晶ディスプレイ7に、この「税抜き価格候補2」(第3税抜き額)と「税込み価格」(第2税込み額)とを表示する。   On the other hand, if it is determined in S44 that the verification results do not match, that is, if the tax-excluded price flag read from the RAM 45 is OFF, in S48, the CPU 41 selects the “tax-included price” input to the liquid crystal display 7. Display that “Tax-excluded price” could not be calculated. At the same time, the CPU 41 calculates from the RAM 45 the “tax-excluded price candidate 1” (second tax-excluded price) and the calculated “tax-included price” (first tax-excluded price) corresponding to the “tax-excluded price candidate 1” (second tax-excluded price). The tax-excluded price) is read out, and the “tax-excluded price candidate 1” (second tax-excluded price) and the “tax-included price” (first tax-included price) are displayed on the liquid crystal display 7. At the same time, the CPU 41 calculates from the RAM 45 the “tax-excluded price candidate 2” (third tax-excluded amount) and the “tax-excluded price” (second tax-excluded) calculated corresponding to the “tax-excluded price candidate 2” (third tax-excluded amount). The tax-excluded price) is read out, and the “tax-excluded price candidate 2” (third tax-excluded price) and the “tax-included price” (second tax-included price) are displayed on the liquid crystal display 7.

例えば、図13(B)に示すように、CPU41は、液晶ディスプレイ7の上段に、入力された「税込み価格」に対する「税抜き価格」を計算できなかった旨を表す「税込み115円はエラー」を表示する。また、CPU41は、計算条件として四捨五入計算方法が現在設定され、消費税が5%の場合に、入力された「税込み価格」の「115円」から算出された「税込み価格」(第1税込み額)である「114円」と、「税抜き価格候補1」(第2税抜き額)である「109円」とをRAM45から読み出し、液晶ディスプレイ7の中段に、「114円:税抜109円」を表示する。また、CPU41は、計算条件として四捨五入計算方法が現在設定され、消費税が5%の場合に、入力された「税込み価格」の「115円」から算出された「税込み価格」(第2税込み額)である「116円」と、「税抜き価格候補2」(第3税抜き額)である「110円」とをRAM45から読み出し、液晶ディスプレイ7の中段に、「116円:税抜110円」を表示する。   For example, as shown in FIG. 13 (B), the CPU 41 indicates that the “tax-excluded price” for the inputted “tax-included price” cannot be calculated in the upper part of the liquid crystal display 7 “115 yen including tax is an error”. Is displayed. Further, when the rounding off calculation method is currently set as the calculation condition and the consumption tax is 5%, the CPU 41 calculates the “tax-included price” (the amount including the first tax) calculated from “115 yen” of the input “tax-included price”. ) “114 yen” and “109 yen”, which is “tax-excluded price candidate 1” (second tax-excluded amount), are read from the RAM 45, and “114 yen: 109 yen without tax” is displayed in the middle of the liquid crystal display 7. Is displayed. Further, when the rounding off calculation method is currently set as the calculation condition and the consumption tax is 5%, the CPU 41 calculates the “tax-included price” (the amount including the second tax) calculated from “115 yen” of the input “tax-included price”. ) “116 yen” and “110 yen without tax” (third tax-excluded price) are read from the RAM 45, and “116 yen: 110 yen without tax” are displayed in the middle of the liquid crystal display 7. Is displayed.

そして、S49において、CPU41は、液晶ディスプレイ7に表示されている、この「税抜き価格候補1」(第2税抜き額)と「税込み価格」(第1税込み額)とが被印字テープ36に印字する「税抜き価格」と「税込み価格」として現在設定されている旨を表示する。
そしてまた、液晶ディスプレイ7に表示されている「税抜き価格候補2」(第3税抜き額)と「税込み価格」(第2税込み額)がカーソルキー5によって選択された場合には、該「税抜き価格候補2」(第3税抜き額)と「税込み価格」(第2税込み額)とが被印字テープ36に印字する「税抜き価格」と「税込み価格」として現在設定されている旨を表示する。
In S49, the CPU 41 displays the “tax-excluded price candidate 1” (second tax-excluded price) and “tax-included price” (first tax-included price) displayed on the liquid crystal display 7 on the print-receiving tape 36. It is displayed that “Price without tax” and “Price including tax” to be printed are currently set.
When the “tax-excluded price candidate 2” (third tax-excluded price) and “tax-included price” (second tax-included price) displayed on the liquid crystal display 7 are selected by the cursor key 5, “Tax-excluded price candidate 2” (third tax-excluded price) and “tax-included price” (second tax-included price) are currently set as “tax-excluded price” and “tax-included price” printed on the print-receiving tape 36. Is displayed.

例えば、図13(B)に示すように、CPU41は、液晶ディスプレイ7の「114円:税抜109円」の右端部に黒丸印63を表示し、税込み価格として「114円」、税抜き価格として「109円」が被印字テープ36に印字する「税抜き価格」と「税込み価格」として現在設定されている旨を表示する。また、黒丸印63は、カーソルキー5によって上下方向に移動する。
そして、黒丸印63がカーソルキー5によって下側に移動された場合には、液晶ディスプレイ7の「116円:税抜110円」の右端部に黒丸印63を表示し、税込み価格として「116円」、税抜き価格として「110円」が被印字テープ36に印字する「税抜き価格」と「税込み価格」として現在設定されている旨を表示する。
For example, as shown in FIG. 13B, the CPU 41 displays a black circle 63 on the right end of “114 yen: 109 yen excluding tax” on the liquid crystal display 7, “114 yen” as the price including tax, "109 Yen" is displayed as "Tax-excluded price" and "Tax-included price" that are currently set on the tape 36 to be printed. The black circle 63 is moved up and down by the cursor key 5.
When the black circle 63 is moved downward by the cursor key 5, the black circle 63 is displayed at the right end of “116 yen: 110 yen excluding tax” on the liquid crystal display 7, and the price including tax is “116 yen. “Tax-excluded price” and “Tax-inclusive price” that are currently set as “tax-excluded price” and “tax-included price” printed on the print-receiving tape 36 are displayed.

続いて、S46において、CPU41は、液晶ディスプレイ7に表示した黒丸印63が表示された「税抜き価格」と「税込み価格」とを被印字テープ36に印字すると決定されたか否かを判定する、即ち、リターンキー4が押下されたか否かを判定する判定処理を実行する。そして、リターンキー4が所定時間内に押下されていない場合には(S46:NO)、再度S41の処理を実行する。
一方、リターンキー4が所定時間内に押下された場合には(S46:YES)、47において、CPU41は、この黒丸印63が表示された「税抜き価格」と「税込み価格」とを被印字テープ36に印字する「税込み価格」と「税抜き価格」として編集入力領域45Bに記憶後、当該サブ処理を終了して、消費税処理に戻る。
Subsequently, in S46, the CPU 41 determines whether or not it is decided to print the “tax-excluded price” and the “tax-included price” on which the black circle mark 63 displayed on the liquid crystal display 7 is printed on the print-receiving tape 36. That is, a determination process for determining whether or not the return key 4 has been pressed is executed. If the return key 4 has not been pressed within the predetermined time (S46: NO), the process of S41 is executed again.
On the other hand, when the return key 4 is pressed within a predetermined time (S46: YES), in 47, the CPU 41 prints the "tax-excluded price" and the "tax-included price" on which this black circle 63 is displayed. After the “tax-included price” and “tax-excluded price” to be printed on the tape 36 are stored in the edit input area 45B, the sub-process is terminated and the process returns to the consumption tax process.

次に、S7において実行する「印刷処理」のサブ処理について図14乃至図17に基づいて説明する。
図7に示すように、先ず、S71において、CPU41は、印刷モードを決定する処理を実行する。この印刷モードを決定する処理は、印刷モード選択キー13Cが押下されていない場合には、ROM43に格納された初期設定モードを読み出し、該初期設定モードを印刷モードとしてRAM45に記憶する。
また、印刷モード選択キー13Cが押下された場合には、CPU41は、先ず、被印字テープ36に印字する「税込み価格」と「税抜き価格」とのレイアウトを決定するためのレイアウト選択表示を液晶ディスプレイ7に表示する。
Next, the “printing process” sub-process executed in S7 will be described with reference to FIGS.
As shown in FIG. 7, first, in S71, the CPU 41 executes a process for determining a print mode. In the process of determining the print mode, when the print mode selection key 13C is not pressed, the initial setting mode stored in the ROM 43 is read and stored in the RAM 45 as the print mode.
When the print mode selection key 13C is pressed, the CPU 41 first displays a layout selection display for determining the layout of “tax-included price” and “tax-excluded price” printed on the print-receiving tape 36. Displayed on the display 7.

例えば、図15(A)〜(D)に示すように、カセット収納部8に収納されたテープカセット21のテープ幅が6mm〜9mmの場合には、カーソルキー5を押下する毎に、「1行A」のレイアウト→「1行B」のレイアウト→「1行C」のレイアウト→「1行D」のレイアウト→「1行A」のレイアウト→「1行B」のレイアウト→・・・と被印字テープ36に一行で「税込み価格」と「税抜き価格」とを印字する各レイアウトが順次液晶ディスプレイ7に表示される。
また、図15(A)〜(F)に示すように、カセット収納部8に収納されたテープカセット21のテープ幅が12mm〜18mmの場合には、カーソルキー5を押下する毎に、「1行A」のレイアウト→「1行B」のレイアウト→「1行C」のレイアウト→「1行D」のレイアウト→「2行A」のレイアウト→「2行B」のレイアウト→「1行A」のレイアウト→「1行B」のレイアウト→・・・と被印字テープ36に一行で「税込み価格」と「税抜き価格」とを印字する各レイアウトが順次液晶ディスプレイ7に表示される。
For example, as shown in FIGS. 15A to 15D, when the tape width of the tape cassette 21 stored in the cassette storage unit 8 is 6 mm to 9 mm, “1” every time the cursor key 5 is pressed. "Row A"layout->"1 row B"layout->"1 row C"layout->"1 row D"layout->"1 row A"layout->"1 row B"layout-> Each layout for printing “tax-included price” and “tax-excluded price” in one line on the print-receiving tape 36 is sequentially displayed on the liquid crystal display 7.
Further, as shown in FIGS. 15A to 15F, when the tape width of the tape cassette 21 stored in the cassette storage unit 8 is 12 mm to 18 mm, every time the cursor key 5 is pressed, “1 "Row A"layout->"1 row B"layout->"1 row C"layout->"1 row D"layout->"2 row A"layout->"2 row B"layout->"1 row A" Layout of “1 line B” →... And each layout for printing “tax-inclusive price” and “tax-excluded price” in one line on the print-receiving tape 36 is sequentially displayed on the liquid crystal display 7.

そして、リターンキー4が押下された場合には、液晶ディスプレイ7に表示されているレイアウトを「税込み価格」と「税抜き価格」とを被印字テープ36に印字するレイアウトとしてRAM45に記憶する。
続いて、CPU41は、液晶ディスプレイ7に「書体」と「枠あり・枠なし」とを選択する表示画面を表示する。
When the return key 4 is pressed, the layout displayed on the liquid crystal display 7 is stored in the RAM 45 as a layout for printing “tax-included price” and “tax-excluded price” on the print-receiving tape 36.
Subsequently, the CPU 41 displays a display screen for selecting “typeface” and “with / without frame” on the liquid crystal display 7.

例えば、図16(A)に示すように、液晶ディスプレイ7の上段に「書体」の選択欄が表示され、その下側に「枠あり・枠なし」の選択欄が表示される。そして、書体名を枠で囲んで該書体の種類が選択されている状態が表示される。この場合には、カーソルキー5を押下する毎に、書体名が変更され、リターンキー4が押下されると枠内の書体名の書体を「税込み価格」と「税抜き価格」とを被印字テープ36に印字する書体の種類であるとしてRAM45に記憶する。
また、図16(B)に示すように、「書体」として「ゴシック」が選択された場合には、CPU41は、カーソルキー5が押下される毎に、「わく」の欄に「あり」又は「なし」が枠で囲んで交互に表示し、「あり」が表示されている場合に、リターンキー4が押下されると、「税込み価格」と「税抜き価格」とを枠で囲んで被印字テープ36に印字する印字スタイルをRAM45に記憶する。また、「なし」が表示されている場合に、リターンキー4が押下されると、「税込み価格」と「税抜き価格」とを枠無しで被印字テープ36に印字する印字スタイルをRAM45に記憶する。
For example, as shown in FIG. 16A, a “typeface” selection field is displayed in the upper part of the liquid crystal display 7, and a “with / without frame” selection field is displayed below. Then, a state in which the typeface type is selected is displayed by enclosing the typeface name in a frame. In this case, each time the cursor key 5 is pressed, the typeface name is changed. When the return key 4 is pressed, the typeface name typeface in the frame is printed as "tax-included price" and "tax-excluded price". It is stored in the RAM 45 as the type of font to be printed on the tape 36.
Further, as shown in FIG. 16B, when “Gothic” is selected as “Typeface”, the CPU 41 displays “Yes” or “Yes” in the “Waku” column every time the cursor key 5 is pressed. When “None” is displayed alternately in a frame and “Yes” is displayed, when the return key 4 is pressed, “Tax included price” and “Tax excluded price” are surrounded by a frame. A print style to be printed on the print tape 36 is stored in the RAM 45. In addition, when “None” is displayed, when the return key 4 is pressed, a printing style for printing “tax-included price” and “tax-excluded price” on the print-receiving tape 36 without a frame is stored in the RAM 45. To do.

そして、「税込み価格」と「税抜き価格」を被印字テープ36に印字するレイアウトや印字スタイルが決定された場合には、S72において、CPU41は、再度、印刷キー3が押下されるのを待つ(S72:NO)。そして、印刷キー3が押下された場合には(S72:YES)、S73において、CPU41は、RAM45に記憶した印字するレイアウトや印字スタイルを読み出し、これらに基づいて「税込み価格」と「税抜き価格」との印字データを作成して印字バッファ45Aに格納し、順次被印字テープ36に印字して、「税込み価格」と「税抜き価格」が印刷された印刷テープ22を作成後、当該サブ処理を終了して、メインフローチャートに戻る。   When the layout and print style for printing the “tax-included price” and the “tax-excluded price” on the print-receiving tape 36 are determined, the CPU 41 waits for the print key 3 to be pressed again in S72. (S72: NO). When the print key 3 is pressed (S72: YES), in S73, the CPU 41 reads the layout and print style to be printed stored in the RAM 45, and based on these, the “tax-included price” and the “tax-excluded price” are read out. ”And stored in the print buffer 45A, and sequentially printed on the print-receiving tape 36, and after creating the print tape 22 on which“ tax-included price ”and“ tax-excluded price ”are printed, the sub-process To return to the main flowchart.

ここで、「税込み価格」が「1,029円」で、「税抜き価格」が「980円」の場合の、テープ幅18mmの印刷テープ22への印刷例を図17に示す。図17(A)は、レイアウトが「1行A」、「書体」が「ゴシック」、及び「枠」が「なし」の場合に印刷された印刷テープ22の例である。図17(B)は、レイアウトが「1行B」、「書体」が「ゴシック」、及び「枠」が「なし」の場合に印刷された印刷テープ22の例である。図17(C)は、レイアウトが「1行C」、「書体」が「ゴシック」、及び「枠」が「なし」の場合に印刷された印刷テープ22の例である。図17(D)は、レイアウトが「1行D」、「書体」が「ゴシック」、及び「枠」が「なし」の場合に印刷された印刷テープ22の例である。図17(E)は、レイアウトが「2行A」、「書体」が「ゴシック」、及び「枠」が「なし」の場合に印刷された印刷テープ22の例である。図17(F)は、レイアウトが「2行B」、「書体」が「ゴシック」、及び「枠」が「なし」の場合に印刷された印刷テープ22の例である。図17(G)は、レイアウトが「2行A」、「書体」が「ゴシック」、及び「枠」が「あり」の場合に印刷された印刷テープ22の例である。図17(H)は、レイアウトが「2行B」、「書体」が「明朝体」、及び「枠」が「なし」の場合に印刷された印刷テープ22の例である。   Here, FIG. 17 shows an example of printing on the printing tape 22 having a tape width of 18 mm when the “tax-included price” is “1,029 yen” and the “tax-excluded price” is “980 yen”. FIG. 17A shows an example of the print tape 22 printed when the layout is “one line A”, the “typeface” is “Gothic”, and the “frame” is “none”. FIG. 17B is an example of the print tape 22 printed when the layout is “one line B”, the “typeface” is “Gothic”, and the “frame” is “none”. FIG. 17C shows an example of the printing tape 22 printed when the layout is “one line C”, the “typeface” is “Gothic”, and the “frame” is “none”. FIG. 17D shows an example of the print tape 22 printed when the layout is “1 line D”, the “typeface” is “Gothic”, and the “frame” is “none”. FIG. 17E is an example of the print tape 22 printed when the layout is “2 rows A”, the “typeface” is “Gothic”, and the “frame” is “none”. FIG. 17F is an example of the print tape 22 printed when the layout is “2 rows B”, the “typeface” is “Gothic”, and the “frame” is “none”. FIG. 17G shows an example of the print tape 22 printed when the layout is “2 rows A”, the “typeface” is “Gothic”, and the “frame” is “Yes”. FIG. 17H shows an example of the print tape 22 printed when the layout is “2 rows B”, “font” is “Mincho”, and “frame” is “none”.

従って、本実施形態に係るテープ印字装置1では、ユーザは、税込み価格の印字された印刷テープ22を得る場合には、税抜き価格を入力するだけで、税込み価格を計算する各計算方法とそれに対応する各税込み価格とが液晶ディスプレイ7に並列表示されるため、印字する税込み価格を簡易且つ迅速に決定することができる。また、ユーザは、液晶ディスプレイ7に並列表示された各税込み価格から希望する税込み価格を選択するだけで、この選択した税込み価格を含むラベルデータが印字されたラベルを容易に得ることができ、税込み価格が印字されたラベル作成の作業性の向上を図ることができる。
また、税抜き価格から税込み価格を計算する計算方法(例えば、切り捨て等)を変更しない場合には、税抜き価格を入力する度に、各計算方法に対応して並列表示された各税込み価格から希望する計算方法の税込み価格が選択されているため、ユーザは液晶ディスプレイ7に並列表示された複数の税込み価格から印字する税込み価格を毎回選択する必要がなく、印刷キー3を押下するだけで税込み価格を含むラベルデータが印字された印刷テープ22を容易に得ることができ、税込み価格が印字されたラベル作成の作業性の更なる向上を図ることができる。
Therefore, in the tape printer 1 according to the present embodiment, when the user obtains the printing tape 22 on which the tax-inclusive price is printed, each calculation method for calculating the tax-inclusive price by simply inputting the tax-exclusive price and Since each corresponding tax-inclusive price is displayed in parallel on the liquid crystal display 7, the tax-inclusive price to be printed can be determined easily and quickly. In addition, the user can easily obtain a label on which label data including the selected tax-included price is printed by simply selecting a desired tax-included price from the respective tax-included prices displayed in parallel on the liquid crystal display 7. It is possible to improve the workability of creating a label printed with a price.
Also, if you do not change the calculation method for calculating the tax-inclusive price from the tax-excluded price (for example, rounding down), each time the tax-excluded price is entered, the tax-inclusive price displayed in parallel for each calculation method is used. Since the tax-inclusive price of the desired calculation method is selected, the user does not need to select the tax-inclusive price to be printed from a plurality of tax-inclusive prices displayed in parallel on the liquid crystal display 7, and the tax is included only by pressing the print key 3. The printing tape 22 on which the label data including the price is printed can be easily obtained, and the workability of creating the label on which the price including tax is printed can be further improved.

また、ユーザは、消費税の税率が変更された場合には、現在設定されている設定税率が表示される表示画面(図7(A)参照)でこの変更された税率を入力するだけで、その後、新たな税率に対応した税込み価格が液晶ディスプレイ7に並列表示されるため、被印字テープ36に印字する税込み価格を簡易且つ迅速に決定することができる。また、ユーザは、液晶ディスプレイ7に並列表示された新たな税率に対応した各税込み価格から希望する税込み価格を選択するだけで、この選択した税込み価格を含むラベルデータが印字された印刷テープ22を容易に得ることができ、新たな税率に対応した税込み額が印字されたラベル作成の作業性の更なる向上を図ることができる。
また、前回印字データとして選択された消費税込みの税込み価格を計算した際に選択された計算方法が選択計算方法記憶領域44Bに記憶され、また、消費税の税率が税率記憶領域44Aに記憶されており、再度、税込みの価格を入力してこの税込み価格に対応する消費税抜きの税抜き価格を計算する場合には、この予め記憶されている税率に基づいて税抜き価格(第1税抜き額)が計算される。そして、この税抜き価格(第1税抜き額)に余りがない場合、即ち、1円(通貨単位)未満の端数がない場合には、入力された税込みの価格に対応する税抜き価格としてこの算出した税抜き価格(第1税抜き額)が表示され、印刷キー3を押下することにより該税抜き価格(第1税抜き額)を含むラベルデータが印字されたラベルを容易に得ることができる。
Further, when the tax rate of the consumption tax is changed, the user simply inputs the changed tax rate on the display screen (see FIG. 7A) on which the currently set tax rate is displayed. Thereafter, since the tax-inclusive price corresponding to the new tax rate is displayed in parallel on the liquid crystal display 7, the tax-inclusive price to be printed on the print-receiving tape 36 can be determined easily and quickly. Further, the user simply selects a desired tax-inclusive price from each tax-inclusive price corresponding to the new tax rate displayed in parallel on the liquid crystal display 7, and the printing tape 22 on which the label data including the selected tax-inclusive price is printed. It can be easily obtained, and it is possible to further improve the workability of creating a label on which a tax-included amount corresponding to a new tax rate is printed.
The calculation method selected when the tax-included price including consumption tax selected as the previous print data is calculated is stored in the selection calculation method storage area 44B, and the tax rate of the consumption tax is stored in the tax rate storage area 44A. When the tax-excluded price is calculated again by inputting the tax-inclusive price and the tax-excluded price corresponding to the tax-inclusive price is calculated, the tax-exclusive price (the first tax-excluded amount is calculated based on the pre-stored tax rate. ) Is calculated. If there is no surplus in the tax-excluded price (first tax-excluded price), that is, if there is no fraction less than 1 yen (currency unit), the tax-excluded price corresponding to the entered tax-inclusive price The calculated tax-excluded price (first tax-excluded amount) is displayed, and by pressing the print key 3, a label on which label data including the tax-excluded price (first tax-excluded amount) is printed can be easily obtained. it can.

一方、この算出した税抜き価格(第1税抜き額)に余りがある場合には、この余りを切り捨てた税抜き価格候補1(第2税抜き額)と、該税抜き価格候補1(第2税抜き額)から選択計算方法記憶領域44Bに記憶している計算方法に従って税込み価格(第1税込み額)を計算する。そして、この算出した税込み価格(第1税込み額)が入力された税込みの価格と一致する場合には、入力された税込みの価格に対応する税抜き価格としてこの税抜き価格候補1(第2税抜き額)が表示され、印刷キー3を押下することにより該税抜き価格候補1(第2税抜き額)を含むラベルデータが印字されたラベルを容易に得ることができる。
他方、この算出した税込み価格(第1税込み額)が入力された税込みの価格と一致しない場合には、この税抜き価格候補1(第2税抜き額)に1円(通貨単位)加算した税抜き価格候補2(第3税抜き額)と、該税抜き価格候補2(第3税抜き額)から選択計算方法記憶領域44Bに記憶している計算方法に従って税込み価格(第2税込み額)を計算する。そして、この算出した税込み価格(第2税込み額)が入力された税込みの価格と一致する場合には、入力された税込みの価格に対応する税抜き価格としてこの税抜き価格候補2(第3税抜き額)が表示され、印刷キー3を押下することにより該税抜き価格候補2(第3税抜き額)を含むラベルデータが印字されたラベルを容易に得ることができる。
従って、ユーザは、税込みの価格を入力することによって、前回印字データとして選択された消費税込みの税込み額を計算した際に選択された計算方法に対応する計算方法に従って、この入力された税込みの価格に対応する消費税抜きの税抜き価格が計算され、該税抜き価格を含むラベルデータが印字されたラベルを容易に得ることができ、税抜き価格が印字されたラベル作成の作業性の向上を図ることができる。
On the other hand, if there is a surplus in the calculated tax-excluded price (first tax-excluded price), the tax-excluded price candidate 1 (second excl. The tax-inclusive price (first tax-inclusive amount) is calculated according to the calculation method stored in the selection calculation method storage area 44B. If the calculated tax-inclusive price (first tax-inclusive amount) matches the input tax-inclusive price, the tax-excluded price candidate 1 (second tax) is selected as the tax-excluded price corresponding to the input tax-inclusive price. When the print key 3 is pressed, a label printed with label data including the tax-excluded price candidate 1 (second tax-excluded amount) can be easily obtained.
On the other hand, if this calculated tax-inclusive price (first tax-inclusive amount) does not match the input tax-inclusive price, this tax-excluded price candidate 1 (second tax-excluded amount) is added 1 yen (in currency units). The tax-excluded price candidate 2 (third tax-excluded amount) and the tax-included price (second tax-included amount) according to the calculation method stored in the selection calculation method storage area 44B from the tax-excluded price candidate 2 (third tax-excluded amount) calculate. If the calculated tax-inclusive price (second tax-inclusive amount) matches the input tax-inclusive price, the tax-excluded price candidate 2 (third tax) is included as the tax-excluded price corresponding to the input tax-inclusive price. When the print key 3 is pressed, a label on which label data including the tax-excluded price candidate 2 (third tax-excluded amount) is printed can be easily obtained.
Therefore, the user enters the price including tax according to the calculation method corresponding to the calculation method selected when the tax-included amount including consumption tax selected as the previous print data is calculated by inputting the price including tax. The tax-excluded price corresponding to the consumption tax is calculated and the label data including the tax-excluded price can be easily obtained, improving the workability of creating the label with the tax-excluded price printed. Can be planned.

また、前回印字データとして選択された消費税込みの税込み価格を計算した際に選択された計算方法と消費税の税率に従って、入力された税込みの価格に対応する消費税抜きの税抜き額が計算できない場合には、この入力された税込み価格を修正した税抜き価格候補1(第2税抜き額)とそれに対応する税込み価格(第1税込み額)、及び税抜き価格候補2(第3税抜き額)とそれに対応する税込み価格(第2税込み額)が表示されるため、ユーザは複数の修正した税込み価格と各税込み価格に対応する税抜き価格を容易に確認することができる。また、この修正した複数の税込み価格と各税込み価格に対応する税抜き価格ら一の税抜き価格を選択した場合には、該税抜き価格を含むラベルデータが印字された印刷テープ22を容易に得ることができ、税抜き価格が印字されたラベル作成の作業性の更なる向上を図ることができる。
また、前回印字データとして選択された消費税込みの税込み価格を計算した際に選択された計算方法と消費税の税率に従って、入力された税込みの価格に対応する消費税抜きの税抜き価格が計算できない場合には、この入力された税込みの価格に一致する税抜き価格を算出できない旨を表すエラー表示が同時に表示されるため、ユーザは入力された税込み価格を修正した複数の税込み価格と各税込み価格に対応する税抜き価格との表示が、複数の修正候補を示していることを直感的に認識することができ、税抜き価格が印字されたラベル作成の作業性の更なる向上を図ることができる。
更に、入力された税抜き価格から税込み価格を計算する場合には、1円(通貨単位)未満を切り捨てる切り捨て計算方法と、1円(通貨単位)未満を四捨五入する四捨五入計算方法と、1円(通貨単位)未満を切り上げる切り上げ計算方法とに従って複数の税込み価格が計算されて液晶ディスプレイ7に並列表示されるため、ユーザは複数の税込み価格から所望の税込み価格を簡易且つ容易に選択することができる。
In addition, the tax-excluded amount without the consumption tax corresponding to the entered tax-inclusive price cannot be calculated according to the calculation method selected when calculating the tax-inclusive price including the consumption tax selected as the previous print data and the tax rate of the consumption tax. In this case, the tax-excluded price candidate 1 (second tax-excluded price) obtained by correcting the input tax-included price, the corresponding tax-included price (first tax-included price), and the tax-exclusive price candidate 2 (third tax-excluded price) ) And the corresponding tax-included price (second tax-included price) are displayed, the user can easily confirm a plurality of corrected tax-included prices and the tax-excluded price corresponding to each tax-included price. In addition, when a single tax-excluded price is selected from the corrected plural tax-included prices and the tax-excluded price corresponding to each tax-included price, the printing tape 22 on which the label data including the tax-excluded price is printed can be easily obtained. Thus, it is possible to further improve the workability of creating a label printed with a tax-excluded price.
Also, the tax-excluded price without the consumption tax corresponding to the entered tax-included price cannot be calculated according to the calculation method selected when calculating the tax-included price including the consumption tax selected as the previous print data and the tax rate of the consumption tax. In this case, since an error display indicating that a tax-excluded price that cannot match the entered tax-included price cannot be calculated is displayed at the same time, the user can modify multiple entered tax-included prices and each tax-included price. It is possible to intuitively recognize that the display of the tax-excluded price corresponding to indicates multiple correction candidates, and further improve the workability of creating a label with the tax-excluded price printed. it can.
Furthermore, when calculating the tax-included price from the entered tax-excluded price, a round-down calculation method that rounds off less than 1 yen (currency unit), a round-off calculation method that rounds off less than 1 yen (currency unit), and 1 yen ( Since a plurality of tax-inclusive prices are calculated and displayed in parallel on the liquid crystal display 7 in accordance with a round-up calculation method that rounds up less than a currency unit), the user can easily and easily select a desired tax-inclusive price from a plurality of tax-inclusive prices. .

ここで、被印字テープ36は、長尺状のテープを構成する。また、テープ送りモータ52、駆動回路53及びテープ送り用ローラ11は、テープ搬送手段を構成する。また、文字入力キー2、リターンキー4及びカーソルキー5は、入力手段を構成する。また、編集入力領域45Bに格納される各印字データはラベルデータを構成する。また、サーマルヘッド9、駆動回路51及びプラテンローラ10は、印字手段を構成する。また、制御回路部40は、印字制御手段として機能する。また、税率記憶領域44Aは、税率記憶手段として機能する。また、計算方法記憶領域43Bは、第1計算方法記憶手段として機能する。また、キーボード6は、金額入力手段として機能する。また、液晶ディスプレイ7は、第1表示手段、第2表示手段、第3表示手段、選択標識表示手段として機能する。また、カーソルキー5及びリターンキー4は、第1データ選択手段、第2データ選択手段を構成する。また、選択計算方法記憶領域44Bは、第2計算方法記憶手段として機能する。また、また、カーソルキー5及びリターンキー4、機能キー13A、消費税キー13Bは、税率変更手段を構成する。また、CPU41、ROM43、フラッシュメモリ44、RAM45は、第1税抜き額計算手段、第1判定手段、第1税込み額計算手段、第2判定手段、第2税込み額計算手段、第3判定手段を構成する。また、RAM45は、第1記憶手段、第2記憶手段、第3記憶手段として機能する。   Here, the print-receiving tape 36 constitutes a long tape. The tape feed motor 52, the drive circuit 53, and the tape feed roller 11 constitute a tape transport unit. The character input key 2, the return key 4, and the cursor key 5 constitute input means. Each print data stored in the edit input area 45B constitutes label data. The thermal head 9, the drive circuit 51, and the platen roller 10 constitute a printing unit. The control circuit unit 40 functions as a print control unit. The tax rate storage area 44A functions as a tax rate storage means. The calculation method storage area 43B functions as a first calculation method storage unit. The keyboard 6 functions as a money amount input means. The liquid crystal display 7 functions as first display means, second display means, third display means, and selection indicator display means. The cursor key 5 and the return key 4 constitute first data selection means and second data selection means. The selection calculation method storage area 44B functions as a second calculation method storage unit. Further, the cursor key 5, the return key 4, the function key 13A, and the consumption tax key 13B constitute a tax rate changing means. The CPU 41, the ROM 43, the flash memory 44, and the RAM 45 include a first tax-excluding amount calculating unit, a first determining unit, a first tax-inclusive amount calculating unit, a second determining unit, a second tax-inclusive amount calculating unit, and a third determining unit. Constitute. The RAM 45 functions as a first storage unit, a second storage unit, and a third storage unit.

尚、本発明は前記実施形態に限定されることはなく、本発明の要旨を逸脱しない範囲内で種々の改良、変形が可能であることは勿論である。例えば、以下のようにしてもよい。   In addition, this invention is not limited to the said embodiment, Of course, various improvement and deformation | transformation are possible within the range which does not deviate from the summary of this invention. For example, the following may be used.

前記実施形態では、消費税処理(S5)のサブ処理をテープ印字装置1で実行していたが、該消費税処理(S5)を図18に示すコンピュータ装置70で実行し、該コンピュータ装置70で決定された「税抜き価格」と「税込み価格」とのデータを上記テープ印字装置1に出力して、印刷テープ22を作成するようにしてもよい。
ここで、コンピュータ装置70の制御回路構成を図18乃至図20に基づいて説明する。
図18に示すように、コンピュータ装置70は、CPU71、ROM72、RAM73、入出力インターフェース(I/F)74、通信用インターフェース(I/F)75、フロッピー(登録商標)ディスクコントローラ(FDC)76、フロッピー(登録商標)ディスクドライブ(FDD)77、ハードディスクコントローラ(HDC)78、ハードディスクドライブ(HDD)79、表示装置コントローラ80、液晶表示装置(LCD)88、キーボード90、モデム81等を備えている。また、CPU71、ROM72、RAM73、入出力インターフェース(I/F)74、通信用インターフェース(I/F)75、及びモデム81は、バス線82により相互に接続されて、相互にデータのやり取りが行われる。また、入出力I/F74には、FDD77を駆動制御するFDC76を介してFDD77、HDD79を駆動制御するHDC78を介してHDD79、表示装置コントローラ80、文字や記号等を入力するためのキーボード90、及び印字用データや上記消費税処理(S5)を実行するための制御プログラム等をCD−ROM86に書き込み及び読み込むためのCDリード・ライター(CD−R/W)84が接続されている。また、モデム81には電話回線83が接続され、印字用データや上記消費税処理(S5)を実行するための制御プログラム等を外部のコンピュータ装置等に送信可能に構成されている。
In the embodiment, the sub-process of the consumption tax process (S5) is executed by the tape printer 1. However, the consumption tax process (S5) is executed by the computer device 70 shown in FIG. Data of the determined “tax-excluded price” and “tax-included price” may be output to the tape printer 1 to create the printing tape 22.
Here, the control circuit configuration of the computer device 70 will be described with reference to FIGS.
As shown in FIG. 18, the computer device 70 includes a CPU 71, a ROM 72, a RAM 73, an input / output interface (I / F) 74, a communication interface (I / F) 75, a floppy (registered trademark) disk controller (FDC) 76, A floppy (registered trademark) disk drive (FDD) 77, a hard disk controller (HDC) 78, a hard disk drive (HDD) 79, a display device controller 80, a liquid crystal display (LCD) 88, a keyboard 90, a modem 81, and the like are provided. The CPU 71, ROM 72, RAM 73, input / output interface (I / F) 74, communication interface (I / F) 75, and modem 81 are connected to each other via a bus line 82 and exchange data with each other. Is called. The input / output I / F 74 includes an FDD 77 through an FDC 76 that controls the drive of the FDD 77, an HDD 79 through an HDC 78 that controls the drive of the HDD 79, a display device controller 80, a keyboard 90 for inputting characters and symbols, and the like. A CD read / writer (CD-R / W) 84 for writing / reading data for printing, a control program for executing the consumption tax processing (S5) and the like to / from the CD-ROM 86 is connected. A telephone line 83 is connected to the modem 81 so that printing data, a control program for executing the consumption tax process (S5), and the like can be transmitted to an external computer device or the like.

また、コンピュータ装置70には、入出力I/F74を介して液晶表示装置88の表示画面上の座標を入力するためのマウス91が接続されている。また、コンピュータ装置70には、通信用I/F75及びインターフェースケーブルS1を介して上記テープ印字装置1などの外部装置が接続される。   The computer device 70 is connected to a mouse 91 for inputting coordinates on the display screen of the liquid crystal display device 88 via the input / output I / F 74. The computer device 70 is connected to an external device such as the tape printer 1 via a communication I / F 75 and an interface cable S1.

CPU71は、コンピュータ装置70全体を制御し、後述のようにハードディスクドライブ79に記憶されたプログラムやパラメータデータに基づいて、上記消費税処理(S5)等の制御動作に関する全てのデータを管理する。また、上記消費税処理(S5)を実行し、決定された「税込み価格」と「税抜き価格」とを一時、RAM73に記憶後、インターフェースケーブルS1を介してテープ印字装置1に出力する。
また、ROM72には、一般のパーソナルコンピュータと同様に電源投入時にコンピュータ装置70を立ち上げてCPU71を起動させるための起動プログラムが格納されている。
また、RAM73は、CPU71が種々の制御を実行する際に、各種データを一時的に記憶するものである。
The CPU 71 controls the entire computer device 70 and manages all data related to the control operation such as the consumption tax process (S5) based on programs and parameter data stored in the hard disk drive 79 as described later. Further, the consumption tax processing (S5) is executed, and the determined “tax-included price” and “tax-excluded price” are temporarily stored in the RAM 73 and then output to the tape printer 1 via the interface cable S1.
The ROM 72 stores a startup program for starting up the computer device 70 and starting up the CPU 71 when the power is turned on, as in a general personal computer.
The RAM 73 temporarily stores various data when the CPU 71 executes various controls.

ここで、図19に示すように、RAM73には、上記RAM45の編集入力領域45Bに相当する編集入力領域73A、上記RAM45の表示画像バッファ45Cに相当する表示画像バッファ73B、上記RAM45のワーク領域45Dに相当するワーク領域73Cが設けられている。
また、通信用I/F75は、例えば、USB(UniversalSerial Bus)等から構成され、外部のテープ印字装置1等と双方向データ通信が可能になっている。
また、HDD79に装着されるハードディスクには、MS−DOS(登録商標)やウィンドウズ(登録商標)システム等の各種オペレーティングシステム(OS)に加えて、外部の電子機器に対して上記消費税処理(S5)を実行するためのプログラム等のデータの送受信を行うための通信用プロトコル、当該OSにて実行可能なワープロソフトや印刷用データ作成ソフト等の各種アプリケーションプログラムが必要に応じて格納されている。
19, the RAM 73 includes an edit input area 73A corresponding to the edit input area 45B of the RAM 45, a display image buffer 73B corresponding to the display image buffer 45C of the RAM 45, and a work area 45D of the RAM 45. A work area 73C corresponding to is provided.
Further, the communication I / F 75 is configured by, for example, a USB (Universal Serial Bus) or the like, and can perform bidirectional data communication with the external tape printer 1 or the like.
In addition to the various operating systems (OS) such as MS-DOS (registered trademark) and Windows (registered trademark) system, the consumption tax processing (S5) ) And other application programs such as word processor software and print data creation software executable by the OS are stored as necessary.

また、図20に示すように、HDD79には、上記ROM43の消費税処理プログラム記憶領域43Aに相当する消費税処理プログラム記憶領域79Aが設けられ、入力された金額から消費税込み金額又は消費税抜き金額を計算して「税込み価格」と「税抜き価格」をLCD88に表示するなどの上記消費税処理(S5)を実行するための消費税処理プログラムが予め格納されている。
また、HDD79には、上記印刷処理プログラム記憶領域43Bに相当する印刷処理プログラム記憶領域79Bが設けられ、消費税込み金額又は消費税抜き金額をラベルデータとして被印字テープ36に印字するための印字データを作成するための処理プログラムが格納されている。
また、HDD79には、上記計算方法記憶領域43Cに相当する計算方法記憶領域79Cが設けられ、入力された金額の消費税込み金額を計算する場合に、1円(単位通貨)未満の数値を切り捨てる切り捨て計算方法(第1計算方法)、1円(単位通貨)未満の数値を四捨五入する四捨五入計算方法(第2計算方法)、1円(単位通貨)未満の数値を切り上げる切り上げ計算方法(第3計算方法)が予め格納されている。
また、HDD79には、上記フラッシュメモリ44の税率記憶領域44Aに相当する税率記憶領域79Dが設けられており、消費税の税率(例えば、5%等)が予め格納されている。
更に、HDD79には、選択計算方法記憶領域44Bに相当する選択計算方法記憶領域79Eが設けられ、税込み価格を計算した際に使用した計算方法が格納される。
Further, as shown in FIG. 20, the HDD 79 is provided with a consumption tax processing program storage area 79A corresponding to the consumption tax processing program storage area 43A of the ROM 43, and the consumption tax-inclusive amount or the consumption tax-excluded amount from the input amount. A consumption tax processing program for executing the above-described consumption tax processing (S5), such as calculating “Price including tax” and “Price without tax” on the LCD 88, is stored in advance.
Further, the HDD 79 is provided with a print processing program storage area 79B corresponding to the print processing program storage area 43B, and print data for printing on the print-receiving tape 36 with the consumption tax-inclusive amount or the consumption tax-excluded amount as label data. Stores a processing program for creation.
In addition, the HDD 79 is provided with a calculation method storage area 79C corresponding to the calculation method storage area 43C. When calculating an amount including consumption tax of the input amount, a value less than one yen (unit currency) is rounded down. Calculation method (first calculation method) Rounding calculation method that rounds numbers less than 1 yen (unit currency) (second calculation method) Rounding up calculation method that rounds numbers less than 1 yen (unit currency) (third calculation method) ) Is stored in advance.
Further, the HDD 79 is provided with a tax rate storage area 79D corresponding to the tax rate storage area 44A of the flash memory 44, and stores a tax rate of consumption tax (for example, 5%, etc.) in advance.
Further, the HDD 79 is provided with a selection calculation method storage area 79E corresponding to the selection calculation method storage area 44B, and stores the calculation method used when calculating the tax-included price.

従って、コンピュータ装置70はHDD79に格納される各プログラムを読み込むことによって、ユーザは、LCD88に並列表示された各税込み額から希望する税込み額を選択するだけで、「税込み価格」と「税抜き価格」とを迅速に決定できる。また、この決定した「税込み価格」と「税抜き価格」のデータをインターフェースケーブルS1を介してテープ印字装置1に出力することにより、ユーザは、この選択した税込み価格を含むラベルデータが印字されたラベルを容易に得ることができ、税込み価格が印字されたラベル作成の作業性の向上を図ることができる。   Accordingly, the computer device 70 reads each program stored in the HDD 79, so that the user simply selects a desired tax-inclusive amount from the tax-inclusive amounts displayed in parallel on the LCD 88, and the "tax-inclusive price" and the "tax-exclusive price" are selected. Can be quickly determined. Further, by outputting the determined “tax-included price” and “tax-excluded price” data to the tape printer 1 via the interface cable S1, the user has printed the label data including the selected tax-included price. A label can be obtained easily, and the workability of creating a label printed with a tax-inclusive price can be improved.

本実施形態に係るテープ印字装置の概略外観図で、(A)は概略上方外観図、(B)は概略右側方外観図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a schematic external view of the tape printer concerning this embodiment, (A) is a general | schematic upper external view, (B) is a schematic right side external view. 本実施形態に係るテープ印字装置に装着されるテープカセットのカバーを外した場合の平面図である。It is a top view at the time of removing the cover of the tape cassette with which the tape printer which concerns on this embodiment is mounted | worn. 本実施形態に係るテープ印字装置の制御構成を示すブロック図である。It is a block diagram which shows the control structure of the tape printer which concerns on this embodiment. 本実施形態に係るテープ印字装置の文書編集、消費税処理や印刷処理等の制御処理を示すメインフローチャートである。4 is a main flowchart showing control processing such as document editing, consumption tax processing, and printing processing of the tape printer according to the present embodiment. 本実施形態に係るテープ印字装置の初期設定処理を示すサブフローチャートである。It is a sub-flowchart which shows the initial setting process of the tape printer which concerns on this embodiment. 本実施形態に係るテープ印字装置の消費税処理を示すサブフローチャートである。It is a sub-flowchart which shows the consumption tax process of the tape printer which concerns on this embodiment. 本実施形態に係るテープ印字装置の液晶ディスプレイに表示される画面表示の一例を示す図で、(A)は消費税の税率設定時、(B)は消費税の計算モード設定時の画面表示の一例である。It is a figure which shows an example of the screen display displayed on the liquid crystal display of the tape printer which concerns on this embodiment, (A) is the time of consumption tax setting, (B) is the screen display at the time of consumption tax calculation mode setting. It is an example. 本実施形態に係るテープ印字装置の税抜き金額から税込み金額を計算する計算モードの「税抜き→税込みモード処理」を示すサブフローチャートである。It is a sub-flowchart which shows "tax-excluded-> tax-included mode process" of the calculation mode which calculates a tax-included amount from the tax-excluded amount of the tape printer which concerns on this embodiment. 本実施形態に係るテープ印字装置の税抜き金額から税込み金額を計算する計算モードの「税抜き→税込みモード処理」を実行する場合に、液晶ディスプレイに表示される画面表示の一例を示す図で、(A)は税抜き価格入力時、(B)は各計算方法で計算した税込み金額の結果表示時、(C)は計算条件選択時の画面表示の一例である。FIG. 7 is a diagram illustrating an example of a screen display displayed on the liquid crystal display when executing “tax excluded → tax included mode processing” in a calculation mode for calculating the tax included amount from the tax excluded amount of the tape printer according to the present embodiment; (A) is an example of a price display without tax, (B) is a result display of a tax-inclusive amount calculated by each calculation method, and (C) is an example of a screen display when a calculation condition is selected. 本実施形態に係るテープ印字装置の税込み金額から税抜き金額を計算する計算モードの「税込み→税抜きモード処理」を示すサブフローチャートである。It is a sub-flowchart which shows "tax-included → tax-excluded mode process" of the calculation mode which calculates a tax-excluded amount from the tax-included amount of the tape printer which concerns on this embodiment. 本実施形態に係るテープ印字装置の税抜き価格計算及びその計算結果から検算する処理の「税抜き価格計算・計算結果から検算処理」を示すサブフローチャートである。6 is a sub-flowchart showing “tax-excluded price calculation / calculation result from calculation result” of the process of calculating the tax-excluded price and calculating from the calculation result of the tape printer according to the present embodiment. 本実施形態に係るテープ印字装置の税込み金額から税抜き金額を計算する計算モードの「税込み→税抜きモード処理」を実行する場合に、液晶ディスプレイに表示される画面表示の一例を示す図で、(A)は税込み価格入力時、(B)は入力された税込み価格から算出した税抜き価格の検算結果が一致した場合に表示される「税込み価格」と「税抜き価格」との表示画面である。FIG. 7 is a diagram illustrating an example of a screen display displayed on the liquid crystal display when executing the “tax-included → tax-excluded mode process” in the calculation mode for calculating the tax-excluded amount from the tax-included amount of the tape printer according to the embodiment; (A) is the time when tax-included price is input, (B) is the display screen of “tax-included price” and “tax-excluded price” that is displayed when the verification result of the tax-excluded price calculated from the input tax-included price matches. is there. 本実施形態に係るテープ印字装置の税込み金額から税抜き金額を計算する計算モードの「税込み→税抜きモード処理」を実行する場合に、液晶ディスプレイに表示される画面表示の一例を示す図で、(A)は税込み価格入力時、(B)は入力された税込み価格から算出した税抜き価格の検算結果が一致しない場合に表示される「エラーメッセージ」と変更可能な「税込み価格」と「税抜き価格」との組み合わせの表示画面である。FIG. 7 is a diagram illustrating an example of a screen display displayed on the liquid crystal display when executing the “tax-included → tax-excluded mode process” in the calculation mode for calculating the tax-excluded amount from the tax-included amount of the tape printer according to the embodiment; (A) is when the tax-included price is entered, (B) is the “error message” that is displayed when the verification result of the tax-excluded price calculated from the entered tax-included price does not match, and the changeable “tax-included price” and “tax” It is a display screen of a combination with “excluding price”. 本実施形態に係るテープ印字装置の印刷処理を示すサブフローチャートである。5 is a sub-flowchart showing a printing process of the tape printer according to the present embodiment. 本実施形態に係るテープ印字装置の印刷モード決定時に液晶ディスプレイに表示される印刷レイアウト選択画面の一例を示す図で、(A)〜(D)はカセット収納部に収納されたテープカセットのテープ幅が6mm〜9mmの場合、(A)〜(F)はカセット収納部に収納されたテープカセットのテープ幅が12mm〜18mmの場合にカーソルキーを押下する毎に表示される表示画面である。5A and 5B are diagrams illustrating an example of a print layout selection screen displayed on the liquid crystal display when the print mode of the tape printer according to the embodiment is determined, and FIGS. 5A to 5D are tape widths of a tape cassette stored in a cassette storage unit. (A) to (F) are display screens that are displayed each time the cursor key is pressed when the tape width of the tape cassette stored in the cassette storage unit is 12 mm to 18 mm. 本実施形態に係るテープ印字装置の印刷モード決定時に液晶ディスプレイに表示される「書体」と「枠あり・枠なし」とを選択する表示画面の一例を示す図で、(A)は書体を選択する状態を示す表示画面、(B)は「枠あり・枠なし」を選択する状態を示す表示画面である。FIG. 5A is a diagram showing an example of a display screen for selecting “typeface” and “with / without frame” displayed on the liquid crystal display when the printing mode of the tape printer according to the present embodiment is determined. FIG. (B) is a display screen showing a state in which “with / without frame” is selected. 本実施形態に係るテープ印字装置の各種印刷モードに対する「税込み価格」と「税抜き価格」とのテープ幅18mmの印刷テープへ印刷した各種印刷例を示す図である。It is a figure which shows the various printing examples printed on the printing tape of the tape width of 18 mm of the "tax-included price" and the "tax-excluded price" with respect to various printing modes of the tape printer which concerns on this embodiment. 他の実施形態に係るコンピュータ装置の制御構成を示すブロック図である。It is a block diagram which shows the control structure of the computer apparatus which concerns on other embodiment. 他の実施形態に係るコンピュータ装置のRAMの構成を示すブロック図である。It is a block diagram which shows the structure of RAM of the computer apparatus which concerns on other embodiment. 他の実施形態に係るコンピュータ装置のHDDの構成を示すブロック図である。It is a block diagram which shows the structure of HDD of the computer apparatus which concerns on other embodiment.

1 テープ印字装置
6 キーボード
7 液晶ディスプレイ
9 サーマルヘッド
13A 機能キー
13B 消費税キー
13C 印刷モード選択キー
21 テープカセット
36 被印字テープ
40 制御回路部
41 CPU
43 ROM
44 フラッシュメモリ
45 RAM
43A 消費税処理プログラム記憶領域
43B 印刷処理プログラム記憶領域
43C 計算方法記憶領域
44A 税率記憶領域
44B 選択計算方法記憶領域
45A 印字バッファ
45B 編集入力領域
45C 表示画像バッファ
45D ワーク領域
51、53、55 駆動回路
52 テープ送りモータ

DESCRIPTION OF SYMBOLS 1 Tape printer 6 Keyboard 7 Liquid crystal display 9 Thermal head 13A Function key 13B Consumption tax key 13C Print mode selection key 21 Tape cassette 36 Tape to be printed 40 Control circuit part 41 CPU
43 ROM
44 Flash memory 45 RAM
43A Consumption tax processing program storage area 43B Print processing program storage area 43C Calculation method storage area 44A Tax rate storage area 44B Selection calculation method storage area 45A Print buffer 45B Edit input area 45C Display image buffer 45D Work area 51, 53, 55 Drive circuit 52 Tape feed motor

Claims (5)

長尺状のテープを搬送するためのテープ搬送手段と、入力手段と、前記入力手段によって入力又は編集された文字や図柄等からなるラベルデータを前記テープに印字する印字手段と、前記印字手段を駆動制御する印字制御手段と、を備え、テープ上にラベルデータが印字されたラベルを作成するテープ印字装置において、
前記印字制御手段は、予め所定税率を記憶する税率記憶手段と、
税込み額を入力する金額入力手段と、
前記金額入力手段によって入力された税込み額を前記所定税率の数値に1加算した数値で除算して税抜き額を計算する税抜き額計算手段と、
前記税抜き額に1通貨単位未満の余りがあるか否かを判定する余り判定手段と、
前記余り判定手段によって前記税抜き額に1通貨単位未満の余りがあると判定された場合には、該税抜き額の1通貨単位未満の余りを切り捨てた金額を第1候補税抜き額として記憶する第1候補税抜き額記憶手段と、
1通貨単位未満を切り捨てる第1計算方法と1通貨単位未満を四捨五入する第2計算方法と1通貨単位未満を切り上げる第3計算方法とのうちから現在設定されている一の計算方法を選択する計算方法選択手段と、
前記第1候補税抜き額に前記所定税率の数値に1加算した数値を掛け算した金額から前記計算方法選択手段によって選択された計算方法に従って算出した金額を第1候補税込み額として記憶する第1候補税込み額記憶手段と、
前記第1候補税込み額が前記金額入力手段によって入力された税込み額と一致するか否かを判定する第1候補税込み額判定手段と、
前記第1候補税込み額判定手段によって前記第1候補税込み額が前記金額入力手段によって入力された税込み額と一致しないと判定された場合には、前記第1候補税抜き額に1通貨単位加算した金額を第2候補税抜き額として記憶する第2候補税抜き額記憶手段と、
前記第2候補税抜き額に前記所定税率の数値に1加算した数値を掛け算した金額から前記計算方法選択手段によって選択された計算方法に従って算出した金額を第2候補税込み額として記憶する第2候補税込み額記憶手段と、
前記第2候補税込み額が前記金額入力手段によって入力された税込み額と一致するか否かを判定する第2候補税込み額判定手段と、
前記余り判定手段によって前記税抜き額に1通貨単位未満の余りがないと判定された場合には、該税抜き額を前記金額入力手段によって入力された税込み額に対応する税抜き額として表示し、また、前記第1候補税込み額判定手段によって前記第1候補税込み額が前記金額入力手段によって入力された税込み額と一致すると判定された場合には、前記第1候補税抜き額を前記金額入力手段によって入力された税込み額に対応する税抜き額として表示し、更に、前記第2候補税込み額判定手段によって前記第2候補税込み額が前記金額入力手段によって入力された税込み額と一致すると判定された場合には、前記第2候補税抜き額を前記金額入力手段によって入力された税込み額に対応する税抜き額として表示する第1税抜き額表示手段と、
前記第2候補税込み額判定手段によって前記第2候補税込み額が前記金額入力手段によって入力された税込み額と一致しないと判定された場合には、前記第1候補税込み額と前記第1候補税抜き額とを対応させると共に、前記第2候補税込み額と前記第2候補税抜き額とを対応させて並列表示する第2税抜き額表示手段と、
前記第2税抜き額表示手段によって並列表示された前記第1候補税抜き額又は前記第2候補税抜き額の一方を印字データとして選択する印字データ選択手段と、
を有し、
該印字制御手段は、前記第1税抜き額表示手段によって前記税抜き額又は前記第1候補税抜き額又は前記第2候補税抜き額が表示された場合には、この表示された前記税抜き額又は前記第1候補税抜き額又は前記第2候補税抜き額の印字データを含むラベルデータが前記テープに印字されるように駆動制御し、前記第2税抜き額表示手段によって前記第1候補税抜き額と前記第2候補税抜き額とが並列表示された場合には、前記印字データ選択手段によって選択された前記第1候補税抜き額又は前記第2候補税抜き額の印字データを含むラベルデータが前記テープに印字されるように駆動制御することを特徴とするテープ印字装置。
A tape conveying means for conveying a long tape, an input means, a printing means for printing on the tape label data consisting of characters or designs input or edited by the input means, and the printing means; A tape printing apparatus for creating a label having label data printed on a tape, the printing control means for driving and controlling,
The print control means includes a tax rate storage means for storing a predetermined tax rate in advance,
Amount input means to input the tax-included amount,
Tax-excluded amount calculating means for calculating the amount excluding tax by dividing the tax-included amount input by the amount input means by a numerical value obtained by adding 1 to the numerical value of the predetermined tax rate;
A remainder determining means for determining whether or not the tax-excluded amount has a remainder of less than one currency unit;
If it is determined by the remainder determining means that the tax-excluded amount has a remainder of less than one currency unit, an amount obtained by rounding down the remainder of the tax-excluded amount less than one currency unit is stored as the first candidate tax-excluded amount. First candidate tax-excluded amount storage means,
Calculation that selects one currently set calculation method from the first calculation method that rounds off less than one currency unit, the second calculation method that rounds off less than one currency unit, and the third calculation method that rounds up less than one currency unit Method selection means;
A first candidate that stores, as a first candidate tax-included amount, an amount calculated according to a calculation method selected by the calculation method selection means from an amount obtained by multiplying the first candidate tax-excluded amount by a value obtained by adding 1 to the numerical value of the predetermined tax rate Tax-included amount storage means,
First candidate tax-included amount determining means for determining whether or not the first candidate tax-included amount matches the tax-included amount input by the amount input means;
When it is determined by the first candidate tax-included amount determining means that the first candidate tax-included amount does not match the tax-included amount input by the amount input means, one currency unit is added to the first candidate tax-excluded amount Second candidate tax-excluded amount storage means for storing the amount of money as a second candidate tax-excluded amount;
A second candidate that stores, as a second candidate tax-included amount, an amount calculated according to a calculation method selected by the calculation method selection means from an amount obtained by multiplying the second candidate tax-excluded amount by a value obtained by adding 1 to the numerical value of the predetermined tax rate. Tax-included amount storage means,
Second candidate tax-included amount determining means for determining whether or not the second candidate tax-included amount matches the tax-included amount input by the amount input means;
When it is determined by the surplus determination means that the tax-excluded amount has no remainder less than one currency unit, the tax-excluded amount is displayed as a tax-excluded amount corresponding to the tax-included amount input by the amount input unit. When the first candidate tax-included amount determining means determines that the first candidate tax-included amount matches the tax-included amount input by the amount input means, the first candidate tax-excluded amount is input as the amount. Displayed as a tax-excluded amount corresponding to the tax-included amount input by the means, and further, determined by the second candidate tax-included amount determining means that the second candidate tax-included amount matches the tax-included amount input by the amount input means. A first tax-excluded amount display unit for displaying the second candidate tax-excluded amount as a tax-excluded amount corresponding to the tax-inclusive amount input by the amount input unit;
If it is determined by the second candidate tax-included amount determining means that the second candidate tax-included amount does not match the tax-included amount input by the amount input means, the first candidate tax-included amount and the first candidate tax-excluded amount are excluded. A second tax-excluded amount display means for displaying the second candidate tax-included amount and the second candidate tax-excluded amount in correspondence with each other,
Print data selection means for selecting, as print data, either the first candidate tax-excluded amount or the second candidate tax-excluded amount displayed in parallel by the second tax-excluded amount display means;
Have
When the tax-excluded amount, the first candidate tax-excluded amount, or the second candidate tax-excluded amount is displayed by the first tax-excluded amount display unit, the print control unit displays the displayed tax-excluded amount. Control is performed so that label data including print data of the amount or the first candidate tax-excluded amount or the second candidate tax-excluded amount is printed on the tape, and the first candidate is displayed by the second tax-excluded amount display means. When the tax-excluded amount and the second candidate tax-excluded amount are displayed in parallel, the print data of the first candidate tax-excluded amount or the second candidate tax-excluded amount selected by the print data selection unit is included. A tape printing apparatus that controls driving so that label data is printed on the tape.
前記第2税抜き額表示手段は、前記金額入力手段によって入力された税込み額に一致する税抜き金額を算出できない旨を表すエラー表示を同時に表示することを特徴とする請求項1に記載のテープ印字装置。 2. The tape according to claim 1, wherein the second tax-excluded amount display unit simultaneously displays an error display indicating that a tax-excluded amount that matches the tax-included amount input by the amount input unit cannot be calculated. Printing device. 前記印字制御手段は、前記所定税率を変更する税率変更手段を有し、
前記税率変更手段によって該所定税率が変更された場合には、前記税率記憶手段は、該所定税率に替えて変更された税率を記憶することを特徴とする請求項1又は請求項2に記載のテープ印字装置。
The printing control means has a tax rate changing means for changing the predetermined tax rate,
3. The tax rate storage unit stores the changed tax rate in place of the predetermined tax rate when the predetermined tax rate is changed by the tax rate changing unit. Tape printer.
請求項1乃至請求項3のいずれかに記載のテープ印字装置の印字制御手段としてコンピュータを機能させることを特徴とするプログラムA program for causing a computer to function as a print control unit of the tape printer according to any one of claims 1 to 3 . 請求項1乃至請求項3のいずれかに記載のテープ印字装置の印字制御手段としてコンピュータを機能させるためのプログラムが記録されてコンピュータで読み取り可能なことを特徴とする記録媒体A recording medium on which a program for causing a computer to function as printing control means of the tape printer according to claim 1 is recorded and readable by the computer .
JP2004107081A 2004-03-31 2004-03-31 Tape printer, program and recording medium Expired - Fee Related JP4466166B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004107081A JP4466166B2 (en) 2004-03-31 2004-03-31 Tape printer, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004107081A JP4466166B2 (en) 2004-03-31 2004-03-31 Tape printer, program and recording medium

Publications (2)

Publication Number Publication Date
JP2005288871A JP2005288871A (en) 2005-10-20
JP4466166B2 true JP4466166B2 (en) 2010-05-26

Family

ID=35322370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004107081A Expired - Fee Related JP4466166B2 (en) 2004-03-31 2004-03-31 Tape printer, program and recording medium

Country Status (1)

Country Link
JP (1) JP4466166B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5233707B2 (en) * 2009-02-04 2013-07-10 マックス株式会社 Label printer
JP6318275B2 (en) * 2017-02-06 2018-04-25 東芝テック株式会社 Label printer and its control program

Also Published As

Publication number Publication date
JP2005288871A (en) 2005-10-20

Similar Documents

Publication Publication Date Title
JP3212039B2 (en) Tape printer
JP4576964B2 (en) Label producing apparatus, program, and recording medium
EP1788476B1 (en) Document processing apparatus
US7588380B2 (en) Label data creating apparatus, label data creating method, and computer program product
JP3094658B2 (en) Tape printer
JP4924566B2 (en) Label data creation device, program, and recording medium
EP1580009B1 (en) Tape printer and tape making method
JP2006099261A (en) Label creation device, program and recording medium
JP5228766B2 (en) Tape printer
JP4466166B2 (en) Tape printer, program and recording medium
EP2711189A1 (en) Printer
JP2910817B2 (en) Tape printer
JP4506230B2 (en) Tape printer
JP3377277B2 (en) Document processing device
JP5636830B2 (en) Tape printer
JP3050469B2 (en) Tape printer
JP5098697B2 (en) Label data creation device, program, and recording medium
JP3189924B2 (en) Tape printer
JPH07195791A (en) Tape printer
JP2914473B2 (en) Document processing device
JP3826536B2 (en) Document processing device
TW200532566A (en) System, method, and program for generating barcode data
JP3366729B2 (en) Document processing apparatus and document processing method
JP2011251456A (en) Printing system, input device
JP2005119047A (en) External character data creation/edit system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100106

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: 20100202

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: 20100215

R150 Certificate of patent or registration of utility model

Ref document number: 4466166

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: 20130305

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130305

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140305

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees