JP2013203012A - Label printer, program of label printer, and method of displaying number of printing sheets of label printer - Google Patents

Label printer, program of label printer, and method of displaying number of printing sheets of label printer Download PDF

Info

Publication number
JP2013203012A
JP2013203012A JP2012076657A JP2012076657A JP2013203012A JP 2013203012 A JP2013203012 A JP 2013203012A JP 2012076657 A JP2012076657 A JP 2012076657A JP 2012076657 A JP2012076657 A JP 2012076657A JP 2013203012 A JP2013203012 A JP 2013203012A
Authority
JP
Japan
Prior art keywords
voltage
printing
battery
label
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012076657A
Other languages
Japanese (ja)
Inventor
Takashi Goto
隆 後藤
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2012076657A priority Critical patent/JP2013203012A/en
Publication of JP2013203012A publication Critical patent/JP2013203012A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Printers Characterized By Their Purpose (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow a printable number of sheets of labels printable from now to be correctly displayed in a label printer printing the labels based on a battery.SOLUTION: A label printer driven by a battery includes: a detection portion detecting a voltage of the battery; a print portion printing labels; a printing number memory portion counting a number of the labels printed by the print portion; a voltage memory portion detecting a previous voltage of the battery before printing by the print portion and a later voltage of the battery just after printing by the detection means and memorizing them; a drop detection portion detecting a voltage drop value when printing a single label from the previous voltage and the later voltage memorized in the voltage memory portion and from the printing number of the labels memorized in the printing number storage portion; a calculation portion calculating a printable number by the print portion to the minimum voltage of the battery, by which the print portion can print the label, from a present voltage value detected by the battery detection means and the voltage drop value detected by the drop detection means; and a display displaying the printable number calculated by the calculation means.

Description

本発明の実施形態は、ラベルプリンタ、ラベルプリンタのプログラムおよびラベルプリンタの印字枚数表示方法に関する。   Embodiments described herein relate generally to a label printer, a program for the label printer, and a method for displaying the number of printed sheets of the label printer.

長尺の台紙に多数のラベルを連続して並べて貼り付けたラベル用紙に印字可能なラベルプリンタが知られている。このようなラベルプリンタは、例えばスーパーマーケットのバックヤードに置かれていて、惣菜や生鮮食品などのパッケージに値段を表示するために貼り付けられるラベルを印字する。このようなラベルプリンタにおいて、商用電源が供給できないスーパーマーケットの売り場、あるいは商用電源が不安定な地域での使用を考慮してバッテリによって駆動されるものが開発されている。   There is known a label printer capable of printing on a label sheet in which a number of labels are continuously arranged and pasted on a long mount. Such a label printer is placed in a back yard of a supermarket, for example, and prints a label that is pasted to display a price on a package such as sugar beet or fresh food. In such a label printer, a printer driven by a battery has been developed in consideration of use in a supermarket where commercial power cannot be supplied or in an area where commercial power is unstable.

ところで、バッテリを用いる一般のプリンタでは、バッテリの残量によりこれから印字ができるラベルの枚数が確認できるように、バッテリ残量を検出してこのバッテリ残量によってどの程度の枚数が印字できるかを出力するようにしたものがある。   By the way, in a general printer using a battery, the remaining amount of the battery is detected so that the number of labels that can be printed is confirmed by the remaining amount of the battery, and how many sheets can be printed by the remaining amount of the battery is output. There is something to do.

特開平11−58898号公報JP 11-58898 A

ところで、バッテリを用いたプリンタにおいて、印字する内容が大きく異なると、その印字内容によって1枚の印字に必要な電力量が異なるので、印字できる枚数が変わってくる。例えば、写真などの画像データであれば、1行の総ドットに対する印字するドットの割合である印字率が高くなるため印字部での消費電力が多くなるが、文字だけを印字する場合には比較的印字率が低いために印字部での消費電力は少ない。そこで、現在のバッテリの残量で印字できる枚数を知るために印字するデータを入力する必要がある。しかし、これから印字する内容が決まっていない場合には、バッテリの残量で印字可能な枚数が算出できない。   By the way, in a printer using a battery, if the contents to be printed differ greatly, the amount of power required for printing one sheet varies depending on the contents to be printed, so the number of printable sheets varies. For example, in the case of image data such as a photograph, the printing rate, which is the ratio of dots to be printed with respect to the total number of dots in one line, increases, so the power consumption in the printing unit increases. Since the printing rate is low, the power consumption in the printing section is low. Therefore, it is necessary to input data to be printed in order to know the number of sheets that can be printed with the current remaining battery level. However, if the contents to be printed are not determined, the number of printable sheets cannot be calculated based on the remaining battery level.

一方、ラベルプリンタでは、例えば食品のパッケージに貼り付けるものであって、用紙の大きさや内容が印字するごとに大きく変わることがなく、このために1枚の印字で消費される電力はあまり変わらない。しかし、バッテリの残量によって印字できるラベルの枚数の算出方法が明確でない。   On the other hand, a label printer is attached to a food package, for example, and does not change greatly every time the size or content of a sheet is printed. For this reason, the power consumed by one sheet of printing does not change much. . However, it is not clear how to calculate the number of labels that can be printed depending on the remaining battery level.

本実施例では、バッテリで駆動されるラベルプリンタにおいて、バッテリの電圧を検出する検出部と、ラベルに印字する印字部と、前記印字部で印字したラベルの枚数を計数する印字枚数記憶部と、前記印字部で印字する前の前記バッテリの前電圧と印字直後の前記バッテリの後電圧を前記検出手段で検出して記憶する電圧記憶部と、前記電圧記憶部に記憶した前電圧と後電圧および前記印字枚数記憶部に記憶したラベルの印字枚数からラベル1枚に印字するときの電圧降下値を検出する降下検出部と、前記印字部でラベルに印字可能なバッテリの最低電圧までに前記印字部で印字可能な枚数を前記バッテリ検出手段で検出した現在の電圧値と前記降下検出手段で検出した電圧降下値とから演算する演算部と、前記演算手段で演算された印字可能な枚数を表示する表示器とを備えたラベルプリンタとした。   In the present embodiment, in a label printer driven by a battery, a detection unit for detecting the voltage of the battery, a printing unit for printing on the label, a number-of-prints storage unit for counting the number of labels printed by the printing unit, A voltage storage unit for detecting and storing a pre-voltage of the battery before printing by the printing unit and a post-voltage of the battery immediately after printing by the detection means; a pre-voltage and a post-voltage stored in the voltage storage unit; A drop detecting unit for detecting a voltage drop value when printing one label from the number of printed labels stored in the printed sheet storage unit, and the printing unit up to a minimum battery voltage that can be printed on the label by the printing unit. A calculation unit for calculating the number of printable sheets from the current voltage value detected by the battery detection unit and the voltage drop value detected by the drop detection unit, and the printing calculated by the calculation unit And a label printer and a display for displaying the capacity of sheets.

本実施の形態のラベルプリンタの電気的接続を示すブロック図。FIG. 3 is a block diagram showing electrical connection of the label printer according to the present embodiment. このラベルプリンタのRAMに形成された領域を示す図。The figure which shows the area | region formed in RAM of this label printer. このラベルプリンタの不揮発性メモリに形成された領域を示す図。The figure which shows the area | region formed in the non-volatile memory of this label printer. このラベルプリンタが実行する処理を示すフローチャート。The flowchart which shows the process which this label printer performs.

以下、図1ないし図4を用いて、この実施の形態のラベルプリンタを説明する。   The label printer according to this embodiment will be described below with reference to FIGS.

図1は本実施の形態のラベルプリンタの電気的接続を示すブロック図、図2はこのラベルプリンタのRAMに形成された領域を示す、図3はこのラベルプリンタの不揮発性メモリに形成された領域を示す図、図4はこのラベルプリンタが実行する処理を示すフローチャートである。また、このラベルプリンタは、熱により発色する多数のラベルが長尺の台紙に連続して貼り付けられたラベル用紙に、サーマルヘッドを用いてラベルを発色させて印字するものである。   1 is a block diagram showing the electrical connection of the label printer of the present embodiment, FIG. 2 shows an area formed in the RAM of this label printer, and FIG. 3 shows an area formed in the nonvolatile memory of this label printer. FIG. 4 is a flowchart showing processing executed by the label printer. Further, this label printer uses a thermal head to color a label and print it on a label sheet in which a number of labels that are colored by heat are continuously attached to a long mount.

図1に示すように、このラベルプリンタ1は、CPU(Central Processing Unit)2に、ROM(Read Only Memory)3、RAM(Random Access Memory)4、フラッシュメモリなどの不揮発性メモリ5、ラベルを熱によって発色させるサーマルヘッド6、用紙の搬送を行う搬送モータ7、ラベルの先端から印字できるようにラベル用紙の所定の位置を検出するために用いる光学式の用紙センサ8、入力されたデータなどを表示するとともに、残りの印字可能枚数を表示できるカラー表示可能な液晶で形成された表示器9、データを入力するキーボード10、バッテリの電圧を検出する電圧センサ11がバスライン12で接続されている。ここで、前記不揮発性メモリは、バッテリでバックアップされたSRAM(Static Random Access Memory)としてもよい。これらのCPU2、ROM3、RAM4、不揮発性メモリ5、サーマルヘッド6、搬送モータ7、用紙センサ8、表示器9、キーボード10、電圧センサ11は、このラベルプリンタ1が内蔵するバッテリ13で駆動される。   As shown in FIG. 1, the label printer 1 includes a CPU (Central Processing Unit) 2, a ROM (Read Only Memory) 3, a RAM (Random Access Memory) 4, a non-volatile memory 5 such as a flash memory, and a label. Displays a thermal head 6 that develops color, a transport motor 7 that transports the paper, an optical paper sensor 8 that is used to detect a predetermined position of the label paper so that printing can be performed from the leading edge of the label, and input data. In addition, a display 9 made of a color displayable liquid crystal capable of displaying the remaining number of printable sheets, a keyboard 10 for inputting data, and a voltage sensor 11 for detecting battery voltage are connected by a bus line 12. Here, the nonvolatile memory may be an SRAM (Static Random Access Memory) backed up by a battery. The CPU 2, ROM 3, RAM 4, nonvolatile memory 5, thermal head 6, transport motor 7, paper sensor 8, display 9, keyboard 10, and voltage sensor 11 are driven by a battery 13 built in the label printer 1. .

図2は、RAM4内に形成された記憶領域を示すもので、このRAM4には、サーマルヘッド6に供給してラベルに印字する画像を展開する描画エリア4a、このラベルプリンタ1の表示器9で表示するデータを記憶する表示エリア4b、このラベルプリンタ1が行なう各種処理を実行する上で使われるワークエリア4cが形成される。ワークエリア4cは、例えばキーボード10で入力されたキーの情報を一時的に保存するキーバッファ、用紙センサ8や電圧センサ11が取り込んだ各センサの情報を記憶するエリアなどである。   FIG. 2 shows a storage area formed in the RAM 4. The RAM 4 includes a drawing area 4 a for developing an image supplied to the thermal head 6 and printed on a label, and a display 9 of the label printer 1. A display area 4b for storing data to be displayed and a work area 4c used for executing various processes performed by the label printer 1 are formed. The work area 4c is, for example, a key buffer that temporarily stores key information input from the keyboard 10, an area that stores information of each sensor captured by the paper sensor 8 or the voltage sensor 11, and the like.

図3は、不揮発性メモリ5に形成された記憶領域を示す。この不揮発性メモリ5には、発行枚数エリア5a、前電圧エリア5b、後電圧エリア5c、ローバッテリ電圧エリア5d、表示識別電圧エリア5e、1枚電力エリア5fが設けられている。発行枚数エリア5aは、バッテリ13が充電されたときにクリアされ、その後に印字されたラベルの枚数を計数するためのエリアである。前電圧エリア5bは、キーボード10から印字指令を受けたときに、印字ヘッド6および搬送モータ7を駆動する前のバッテリ電圧を電圧センサ11で検出した値を記憶する。後電圧エリア5cは、印字が終わってラベルを排出した後にバッテリ電圧を電圧センサ11で検出した値を記憶する。なお、前電圧エリア5b、後電圧エリア5cには、1枚の印字が行なわれるごとに前電圧と後電圧がそれぞれ記憶される。つまり、100枚のラベル印字が行なわれれば、前電圧エリア5bと後電圧エリア5cに100個のデータが記憶される。ローバッテリ電圧エリア5dは、装着されたバッテリ13がローバッテリ電圧エリア5dに記憶されている値以下になったときに、ローバッテリとして印字を中止する基準となる電圧値が記憶されている。表示識別電圧エリア5eは、電圧センサ11で取得したバッテリ電圧が十分に高いときには印字可能枚数を表示せずに、バッテリ電圧がこの表示識別電圧エリア5eに記憶した電圧を下回った場合に、このラベルプリンタ1が印字可能な枚数を表示するために設けたものである。1枚電力エリア5fは、後述する計算式で求めたラベル1枚を印字するために必要な電力量を記憶するものである。   FIG. 3 shows a storage area formed in the nonvolatile memory 5. The non-volatile memory 5 is provided with an issue number area 5a, a front voltage area 5b, a rear voltage area 5c, a low battery voltage area 5d, a display identification voltage area 5e, and a single power area 5f. The issued number area 5a is an area for counting the number of labels that are cleared and subsequently printed when the battery 13 is charged. The previous voltage area 5b stores a value obtained by detecting the battery voltage before the print head 6 and the carry motor 7 are driven by the voltage sensor 11 when a print command is received from the keyboard 10. The rear voltage area 5c stores a value obtained by detecting the battery voltage with the voltage sensor 11 after the printing is finished and the label is discharged. The front voltage area 5b and the rear voltage area 5c store a front voltage and a rear voltage each time one sheet is printed. That is, if 100 labels are printed, 100 data are stored in the front voltage area 5b and the back voltage area 5c. The low battery voltage area 5d stores a reference voltage value for stopping printing as a low battery when the attached battery 13 is equal to or less than the value stored in the low battery voltage area 5d. The display identification voltage area 5e displays this label when the battery voltage falls below the voltage stored in the display identification voltage area 5e without displaying the number of printable sheets when the battery voltage acquired by the voltage sensor 11 is sufficiently high. The printer 1 is provided for displaying the number of printable sheets. The single-sheet power area 5f stores an amount of power necessary for printing one label obtained by a calculation formula described later.

図4を用いて、このラベルプリンタ1が実行する処理を説明する。まず、電圧センサ11でバッテリ電圧を取得し(Act1)、表示識別電圧エリア5eに記憶した識別電圧以下か否かを判断する(Act2)。識別電圧以下であれば、ラベルを1枚印字するために必要な電力量が計算されているか否かを判断し(Act3)、ラベルを1枚印字するために必要な電力量が算出されていれば印字可能枚数を計算して(Act4)、この計算した印字可能枚数を表示エリア4bに記憶することで表示器9に表示する(Act5)。Act2で識別電圧よりも高い電圧であることを判断したならば、Act3、Act4の処理は実行されない。識別電圧以上か否かの判断は、現在のバッテリ残量で通常の使用であれば十分に多くのラベルが印字可能であるために、印字可能枚数を表示しないようにするためのものである。また、Act3でラベル1枚の印字に必要な電力量が算出されていなければ、Act4の表示は行われない。この処理は、ラベルプリンタ1を初めて使うときに、このラベルプリンタ1でラベル1枚に印字するために必要な電力量がまだ計測できていないためである。すなわち、ここでラベル1枚に印字するための電力量を、詳細は後述するように、バッテリを充電した後から印字できなくなるまでに印字した枚数を計数して行なっているので、1枚に印字するために必要な電力量が計測できていなければ、Act4の表示が行われない。   The processing executed by the label printer 1 will be described with reference to FIG. First, the battery voltage is acquired by the voltage sensor 11 (Act 1), and it is determined whether or not it is equal to or lower than the identification voltage stored in the display identification voltage area 5e (Act 2). If the voltage is equal to or lower than the identification voltage, it is determined whether the amount of power required for printing one label is calculated (Act 3), and the amount of power required for printing one label is calculated. If the number of printable sheets is calculated (Act 4), the calculated number of printable sheets is stored in the display area 4b and displayed on the display 9 (Act 5). If it is determined in Act2 that the voltage is higher than the identification voltage, the processes in Act3 and Act4 are not executed. The determination as to whether or not the voltage is equal to or higher than the identification voltage is made so that a sufficiently large number of labels can be printed under normal use with the current remaining battery level, so that the number of printable sheets is not displayed. If the amount of power necessary for printing one label is not calculated in Act3, Act4 is not displayed. This process is because when the label printer 1 is used for the first time, the amount of power necessary for printing on one label by the label printer 1 has not been measured yet. In other words, the amount of power for printing on one label is counted by counting the number of printed sheets from when the battery is charged until printing becomes impossible, as will be described in detail later. If the amount of power required for the measurement cannot be measured, Act4 is not displayed.

次に、キーボード10で印字の指示が行われたか否かを判断し(Act6)、印字指示がなければAct1に戻る。印字の指示があったならば、印字のためのサーマルヘッド6、搬送モータ7を駆動する前のバッテリ13の前電圧を電圧センサ11で取得する(Act7)。前電圧を取得し終えたならば、搬送モータ7を駆動してラベル用紙を搬送しながらサーマルヘッド6でラベルを発色させて印字を行い(Act8)、印字が終了したならば、発行枚数エリア5aに1を加算し(Act9)、電圧センサ11でバッテリ13の後電圧を取得する(Act10)。後電圧を取得したならば、この後電圧がローバッテリ電圧エリア5dに記憶したローバッテリ電圧(VL)よりも低いか否かを判断し(Act11)、低くなければAct1の処理に戻り、低い場合には今のバッテリ13の充電状態でラベルに印字できないので、ラベル1枚を印字するために用いる電力量を計算して、その計算結果を1枚電力エリア5fに記憶し(Act12)、ローバッテリエラーの表示を表示器に行い(Act13)、この処理を終了する。   Next, it is determined whether or not an instruction for printing has been performed with the keyboard 10 (Act 6). If there is no instruction for printing, the process returns to Act 1. If there is an instruction for printing, the voltage sensor 11 acquires the previous voltage of the battery 13 before driving the thermal head 6 for printing and the carry motor 7 (Act 7). When acquisition of the previous voltage is completed, the transport motor 7 is driven to print the label with the thermal head 6 while the label paper is transported to perform printing (Act 8). 1 is added to (Act 9), and the rear voltage of the battery 13 is acquired by the voltage sensor 11 (Act 10). If the post voltage is acquired, it is determined whether or not the post voltage is lower than the low battery voltage (VL) stored in the low battery voltage area 5d (Act 11). If not lower, the process returns to Act 1 and is lower. Since the battery 13 cannot be printed with the current charging state, the amount of power used for printing one label is calculated, and the calculation result is stored in the single power area 5f (Act 12). An error is displayed on the display (Act 13), and this process is terminated.

このラベルプリンタ1は、電源が投入されると、前回電源を切った際に表示されていた内容が自動的に表示される。つまり、前回ラベル発行に用いられていた場合には、印字するフォーマットおよび商品の商品情報が自動的に表示される。印字するフォーマットを変えずに他の商品のラベルを印字するには、新たな商品情報を内部のメモリ、あるいはサーバと通信を行なって呼び出す。フォーマットを変更するには、ラベルプリンタ1内部に記憶してあるフォーマット情報を呼び出せば良い。   When the label printer 1 is turned on, the contents displayed when the power was turned off the previous time are automatically displayed. That is, when it was used for label issuance last time, the format to be printed and the product information of the product are automatically displayed. In order to print labels of other products without changing the printing format, new product information is called by communicating with an internal memory or server. In order to change the format, the format information stored in the label printer 1 may be called up.

印字可能枚数の計算について説明する。まず、Act4の印字枚数の計算が行なわれる前に、Act12で行なうラベルを1枚印字するための消費電力VPが計算されている必要がある。ラベル1枚印字するための消費電力VPは、次の式で計算される。   The calculation of the number of printable sheets will be described. First, before calculating the number of Act4 prints, it is necessary to calculate the power consumption VP for printing one label performed in Act12. The power consumption VP for printing one label is calculated by the following equation.

1枚消費電力VP=(前電圧の総和−後電圧の総和)÷印字枚数
この式からラベル1枚を印字するための消費電力VPが求められるので、1枚電力エリア5fに求められた電力が記憶される。
次に、Act4で計算する印字可能枚数は次の式で求められる。
発行可能枚数=(VC−VL)÷VP
ただし、VCはAct1で電圧センサ11により取得した電圧値で、VLはローバッテリ電圧エリア5dに記憶してあるこのラベルプリンタ1で印字が行なえる最低の電圧である。
この式で求められた発行可能枚数が発行枚数エリア5aに保存され、また、表示エリア4bに描画されて表示器9で表示される。
Single sheet power consumption VP = (total of previous voltage−total of subsequent voltage) ÷ number of printed sheets Since the power consumption VP for printing one label is obtained from this equation, the power calculated in the single sheet power area 5f is Remembered.
Next, the number of printable sheets calculated in Act4 is obtained by the following equation.
Number of sheets that can be issued = (VC−VL) ÷ VP
However, VC is a voltage value acquired by the voltage sensor 11 in Act1, and VL is the lowest voltage that can be printed by the label printer 1 stored in the low battery voltage area 5d.
The issuable number obtained by this formula is stored in the issuance number area 5a, and is drawn in the display area 4b and displayed on the display 9.

このようなラベルプリンタ1は、まずキーボード10でラベルに印字するデータが入力される。入力されたデータは、描画エリア4aに展開され記憶される。まず、電圧センサ11でバッテリ13の電圧を取得する。この取得した電圧が表示識別電圧エリア5eに記憶した識別電圧以下か否かを判断し、識別電圧以下でなければまだ十分な枚数のラベルが印字可能であるため、印字可能枚数の表示は行わない。取得した電圧が識別電圧以下であるならば、ラベル1枚を発行するために必要な1枚電力が1枚電力エリア5fに保存済か否かを判断し、保存済みでなければ正確な印字枚数が計算できないので、印字可能枚数の表示は行わない。1枚電力が計算済であれば、印字可能枚数を表示する。印字指令がなければ、またバッテリ電圧を取得する処理から繰り返す。   In such a label printer 1, first, data to be printed on a label is input by the keyboard 10. The input data is developed and stored in the drawing area 4a. First, the voltage of the battery 13 is acquired by the voltage sensor 11. It is determined whether or not the acquired voltage is equal to or less than the identification voltage stored in the display identification voltage area 5e. If the voltage is not equal to or less than the identification voltage, a sufficient number of labels can be printed, and thus the number of printable sheets is not displayed. . If the acquired voltage is equal to or lower than the identification voltage, it is determined whether or not one sheet of power required to issue one label has been stored in the one sheet power area 5f. Since the value cannot be calculated, the number of printable sheets is not displayed. If the power for one sheet has been calculated, the number of printable sheets is displayed. If there is no print command, the process of acquiring the battery voltage is repeated.

キーボード10からラベルの印字指令があると、ラベルプリンタ1は印字を開始する前に、前電圧を取得して前電圧エリア5bに記憶する。この前電圧のデータは、取得したごとにすべて記憶して保存される。そして、ラベルに印字して、ラベルの発行枚数エリア5aに1を加えて、バッテリ13の後電圧を取得して後電圧エリア5cに記憶する。この後電圧についても、前電圧と同様に取得したごとにすべて記憶して保存される。印字後に取得した後電圧がローバッテリ電圧エリア5dに記憶した電圧以上であれば、バッテリ電圧取得の処理を行なう。ローバッテリ電圧以下となっていれば、装着されているバッテリ13ではこれ以上はラベルに印字できない程度に電圧が下がったため、充電されてからローバッテリを検出するまでに印字された枚数と、取得した前電圧、後電圧とからラベルを1枚印字するために必要な電力を計算する。そして、表示器9にローバッテリであることを示すエラー表示を行う。   When there is a label printing command from the keyboard 10, the label printer 1 acquires the previous voltage and stores it in the previous voltage area 5b before starting printing. This pre-voltage data is stored and saved every time it is acquired. And it prints on a label, adds 1 to the number-of-issues area 5a of a label, acquires the back voltage of the battery 13, and memorize | stores it in the back voltage area 5c. The subsequent voltage is also stored and saved every time it is obtained in the same manner as the previous voltage. If the voltage obtained after printing is equal to or higher than the voltage stored in the low battery voltage area 5d, the battery voltage obtaining process is performed. If the voltage is lower than the low battery voltage, the voltage is lowered to the extent that the attached battery 13 cannot print on the label any more. Therefore, the number of printed sheets from when the battery is charged to when the low battery is detected is acquired. The power required to print one label from the previous voltage and the rear voltage is calculated. And the error display which shows that it is a low battery is performed on the indicator 9.

ここで、前電圧の計測のタイミングについて説明する。この実施の形態では、ラベル1枚の印字に必要な電力量を求めるために、印字指令があった後で印字を開始する前に取得した電圧を前電圧としているが、計測するタイミングは印字指令を受けた後でなくてもかまわない。例えば、5分毎や1時間毎にバッテリ13の電圧を計測した場合の最新の電圧値を前電圧とすることも可能である。つまり、バッテリの自然放電で降下するバッテリの電圧、あるいは、ラベルプリンタ1の電源が投入されていて印字していない状態で降下するバッテリの電圧が、印字で消費される電力量に比べて十分に小さく無視できる程度の間にバッテリ13の電圧を取得すれば、バッテリ13の電圧を取得するタイミングは当該印字の前のいつでも良い。   Here, the timing of measuring the previous voltage will be described. In this embodiment, in order to obtain the amount of power required for printing one label, the voltage acquired before printing is started after the printing command is given is used as the previous voltage. It doesn't have to be after receiving. For example, the latest voltage value when the voltage of the battery 13 is measured every 5 minutes or every hour can be set as the previous voltage. That is, the voltage of the battery that drops due to the spontaneous discharge of the battery, or the voltage of the battery that drops when the label printer 1 is turned on and not printing is sufficiently larger than the amount of power consumed by printing. If the voltage of the battery 13 is acquired within a small and negligible level, the timing of acquiring the voltage of the battery 13 may be any time before the printing.

このように、このラベルプリンタ1では、ラベルに印字する前と印字した後にバッテリ13の電圧を取得して、これらの取得したバッテリ電圧を用いて、ラベルを1枚印字したときの電力量を算出しているので、単に充電された直後からローバッテリを検出するまでに印字したラベルの数から算出するものに比べて、正確な印字可能枚数を知ることができる。つまりは、バッテリ13はラベルプリンタ1を使用していない状態でも自然に放電を行なうが、この実施の形態の方法では、使用していない時間によって放電される電力を除いている。また、単に1枚だけ発行した場合の使用量でなく、充電が完了してからローバッテリとなるまでラベルに印字する毎に前電圧、後電圧を取得しているので、より正確な印字可能枚数を計算可能となる。   Thus, in this label printer 1, the voltage of the battery 13 is acquired before and after printing on the label, and the amount of electric power when one label is printed is calculated using these acquired battery voltages. As a result, it is possible to know the number of printable sheets more accurately than that calculated from the number of labels printed from immediately after charging until the low battery is detected. In other words, the battery 13 naturally discharges even when the label printer 1 is not used. However, in the method of this embodiment, the electric power discharged by the unused time is excluded. In addition, since the pre-voltage and the post-voltage are obtained every time the label is printed until the battery becomes low after charging is completed, it is not the amount used when only one sheet is issued. Can be calculated.

この実施の形態では、印字可能枚数を表示するのは、表示識別電圧エリア5eに記憶した電圧値よりも低い電圧となったときからとしたことで、バッテリ残量が多く残っているときにバッテリ13の印字可能枚数を表示するための領域を必要としない。このため、他の情報を表示することができ、表示器を有効に活用できる。   In this embodiment, the number of printable sheets is displayed when the voltage becomes lower than the voltage value stored in the display identification voltage area 5e. An area for displaying the 13 printable number of sheets is not required. For this reason, other information can be displayed and the display can be used effectively.

この実施の形態では、バッテリ13の充放電を繰り返してバッテリ13の性能が少しずつ落ちても、ローバッテリを検出するたびに1枚あたりの消費電力を更新しているので、常に最新の電池状態で1枚あたりの消費電力を使える。これにより、比較的正確な印字可能枚数を知ることができる。   In this embodiment, even if charging / discharging of the battery 13 is repeated and the performance of the battery 13 gradually decreases, the power consumption per one battery is updated every time a low battery is detected. Can use the power consumption per sheet. Thereby, it is possible to know a relatively accurate number of printable sheets.

上記した実施の形態では、表示識別電圧エリア5eに記憶した値を下回ったならばラベルの印字可能枚数を表示するようにしたが、電源が投入されていれば常に印字可能枚数を表示するようにしてもよい。また、サーマルヘッドを用いるプリンタで印字率の高い印字を行なうと、例えばサーマルヘッドの1ラインほぼ全体にわたる罫線を印字すると、サーマルヘッドに大電流を流す必要があるため、印字直後の電圧は大きく低下している場合がある。このような場合には、印字が終了してから僅かな時間を空けて電池の回復を待ってから後電圧を計測するようにしてもよい。   In the above embodiment, the printable number of labels is displayed when the value stored in the display identification voltage area 5e falls below. However, the number of printable sheets is always displayed when the power is turned on. May be. In addition, when printing with a high printing rate is performed by a printer using a thermal head, for example, if a ruled line covering almost the entire line of the thermal head is printed, it is necessary to pass a large current through the thermal head. May have. In such a case, the post-voltage may be measured after waiting for the battery to recover after a short period of time from the end of printing.

さらに、1つの印字指示でラベルを複数枚連続して印字するような場合には、1枚の印字毎に前電圧と後電圧を計測してもいいし、1枚目のラベルの印字前に前電圧を計測し最後に印字したラベルの印字後に後電圧を計測するようにしても良い。   Furthermore, when printing a plurality of labels continuously with one printing instruction, the pre-voltage and the post-voltage may be measured for each printing, and before printing the first label. The pre-voltage may be measured and the post-voltage may be measured after the last printed label is printed.

この実施の形態では、このラベルプリンタ1の1枚電力エリア5fにデータが記憶されていなければ、ラベルの印字可能枚数を表示できないと説明したが、商品出荷時に製造元であるいはラベルプリンタ1の店舗などへの納入時のセッティングで、平均的な1枚あたりの電力量を記憶させるようにしても良い。   In this embodiment, it has been described that the number of printable labels cannot be displayed unless data is stored in the single-sheet power area 5f of the label printer 1. However, at the time of shipping the product, the manufacturer or the store of the label printer 1 The average amount of power per sheet may be stored in the setting at the time of delivery.

この実施の形態では、図4に示す処理が常に行なわれているように説明したが、一定時間ごとに発生する割り込み処理で行なっても良い。また、印字指令に関しては、キー入力の割り込み処理で認識するようにしてもよい。   In this embodiment, the process shown in FIG. 4 has been described as being always performed, but it may be performed by an interrupt process that occurs at regular intervals. Further, the print command may be recognized by a key input interruption process.

このように、上記の実施の形態例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、修正を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   As described above, the embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and modifications can be made without departing from the spirit of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1・・ラベルプリンタ
5・・不揮発性メモリ
5a・・発行枚数エリア
5b・・前電圧エリア
5c・・後電圧エリア
5f・・発行可能枚数エリア
6・・サーマルヘッド
9・・表示器
11・・電圧センサ
13・・バッテリ
1. Label printer 5 Nonvolatile memory 5a Issued number area 5b Front voltage area 5c Rear voltage area 5f Issued number area 6 Thermal head 9 Display 11 Voltage Sensor 13 ... Battery

Claims (6)

バッテリで駆動されるラベルプリンタにおいて、
バッテリの電圧を検出する検出部と、
ラベルに印字する印字部と、
前記印字部で印字したラベルの枚数を計数する印字枚数記憶部と、
前記印字部で印字する前の前記バッテリの前電圧と印字直後の前記バッテリの後電圧を前記検出手段で検出して記憶する電圧記憶部と、
前記電圧記憶部に記憶した前電圧と後電圧および前記印字枚数記憶部に記憶したラベルの印字枚数からラベル1枚に印字するときの電圧降下値を検出する降下検出部と、
前記印字部でラベルに印字可能なバッテリの最低電圧までに前記印字部で印字可能な枚数を前記バッテリ検出手段で検出した現在の電圧値と前記降下検出手段で検出した電圧降下値とから演算する演算部と、
前記演算手段で演算された印字可能な枚数を表示する表示器と
を備えたラベルプリンタ。
In a label printer driven by a battery,
A detector for detecting the voltage of the battery;
A print section for printing on the label;
A print number storage unit for counting the number of labels printed by the printing unit;
A voltage storage unit for detecting and storing a pre-voltage of the battery before printing by the printing unit and a post-voltage of the battery immediately after printing by the detection unit;
A drop detection unit for detecting a voltage drop value when printing on one label from the pre-voltage and post-voltage stored in the voltage storage unit and the number of printed labels stored in the printed number storage unit;
The number of sheets that can be printed by the printing unit up to the lowest battery voltage that can be printed on the label by the printing unit is calculated from the current voltage value detected by the battery detection means and the voltage drop value detected by the drop detection means. An arithmetic unit;
A label printer comprising a display for displaying the number of printable sheets calculated by the calculating means.
前記検出手段は所定時間ごとに前記バッテリの電圧を検出し、
前記演算手段は、前記検出手段で前記バッテリの電圧を検出するたびに前記印字部で印字可能な枚数を演算する
請求項1記載のラベルプリンタ。
The detection means detects the voltage of the battery every predetermined time,
The label printer according to claim 1, wherein the calculation unit calculates the number of printable sheets by the printing unit every time the detection unit detects the voltage of the battery.
前記検出手段は、1枚のラベルを印字する前に前記バッテリの電圧を検出するとともに、この1枚のラベルを印字した後に前記バッテリの電圧を検出する
請求項1記載のラベルプリンタ。
2. The label printer according to claim 1, wherein the detecting means detects the voltage of the battery before printing one label, and detects the voltage of the battery after printing the one label.
前記印字部で印字が可能な所定電圧を設定し、
前記演算手段は、前記検出部で検出した前記バッテリの電圧が前記所定電圧を下回った場合に、前記検出部で検出した前記バッテリの電圧で印字可能な枚数を演算する
請求項1記載のラベルプリンタ。
Set a predetermined voltage that can be printed by the printing unit,
2. The label printer according to claim 1, wherein when the voltage of the battery detected by the detection unit falls below the predetermined voltage, the calculation unit calculates the number of printable sheets based on the battery voltage detected by the detection unit. .
バッテリで駆動される演算手段を備えたラベルプリンタに、
バッテリの電圧を検出部で検出させる検出手段、
印字部でラベルに印字させる印字手段、
前記印字手段の制御により前記印字部で印字したラベルの枚数を記憶する記憶手段、
印字前の前記バッテリの電圧を前記検出手段で検出して記憶部に記憶する前電圧記憶手段、
印字直後の前記バッテリの電圧を前記検出手段で検出して前記記憶部に記憶する後電圧記憶手段、
前記前電圧記憶手段と前記後電圧記憶手段に記憶した電圧値の差から所定枚数のラベルに印字するときの電圧降下値を検出する降下検出手段、
前記印字手段でラベルに印字可能なバッテリの最低電圧までに前記印字手段で印字可能な枚数を前記バッテリ検出手段で検出した現在の電圧値と前記降下検出手段で検出した電圧降下値とから演算する演算手段、
前記演算手段で演算された印字可能な枚数を表示器に表示させる表示手段
として機能させるラベルプリンタのプログラム。
For label printers equipped with battery-powered computing means,
Detection means for detecting the voltage of the battery by the detection unit;
Printing means for printing on the label in the printing section,
Storage means for storing the number of labels printed by the printing unit under the control of the printing means;
Pre-voltage storage means for detecting the voltage of the battery before printing by the detection means and storing it in the storage unit,
Post voltage storage means for detecting the voltage of the battery immediately after printing by the detection means and storing it in the storage unit,
A drop detecting means for detecting a voltage drop value when printing on a predetermined number of labels from a difference between voltage values stored in the previous voltage storing means and the subsequent voltage storing means;
The number of sheets that can be printed by the printing means up to the lowest battery voltage that can be printed on the label by the printing means is calculated from the current voltage value detected by the battery detection means and the voltage drop value detected by the drop detection means. Computing means,
A program for a label printer that functions as display means for displaying on a display the number of printable sheets calculated by the calculation means.
バッテリで駆動されるラベルプリンタにおいて、
バッテリの電圧を検出部で検出し、
印字部でラベルに印字し、
前記印字部で印字したラベルの枚数を枚数記憶部に記憶し、
印字前の前記バッテリの前電圧と印字直後の前記バッテリの後電圧を前記検出手段で検出して記憶部に記憶し、
前記電圧記憶部に記憶した前電圧と後電圧と前記枚数記憶部に記憶したラベルの枚数から1枚のラベルに印字するときの電圧降下値を検出し、
前記印字部でラベルに印字可能なバッテリの最低電圧までに前記印字部で印字可能な枚数を前記バッテリ検出部で検出した現在の電圧値と前記降下検出手段で検出した電圧降下値とから演算し、
この演算された印字可能な枚数を表示器に表示する
ラベルプリンタの印字可能枚数表示方法。
In a label printer driven by a battery,
The battery voltage is detected by the detector,
Print on the label at the print section,
The number of labels printed by the printing unit is stored in the number storage unit,
The pre-voltage of the battery before printing and the post-voltage of the battery immediately after printing are detected by the detection means and stored in the storage unit,
Detecting a voltage drop value when printing on one label from the previous voltage and the rear voltage stored in the voltage storage unit and the number of labels stored in the number storage unit;
The number of sheets that can be printed by the printing unit up to the lowest battery voltage that can be printed on the label by the printing unit is calculated from the current voltage value detected by the battery detection unit and the voltage drop value detected by the drop detection means. ,
A method for displaying the number of printable sheets of the label printer, wherein the calculated number of printable sheets is displayed on a display.
JP2012076657A 2012-03-29 2012-03-29 Label printer, program of label printer, and method of displaying number of printing sheets of label printer Pending JP2013203012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012076657A JP2013203012A (en) 2012-03-29 2012-03-29 Label printer, program of label printer, and method of displaying number of printing sheets of label printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012076657A JP2013203012A (en) 2012-03-29 2012-03-29 Label printer, program of label printer, and method of displaying number of printing sheets of label printer

Publications (1)

Publication Number Publication Date
JP2013203012A true JP2013203012A (en) 2013-10-07

Family

ID=49522630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012076657A Pending JP2013203012A (en) 2012-03-29 2012-03-29 Label printer, program of label printer, and method of displaying number of printing sheets of label printer

Country Status (1)

Country Link
JP (1) JP2013203012A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017056698A (en) * 2015-09-18 2017-03-23 東芝テック株式会社 Printer
JP2020040271A (en) * 2018-09-10 2020-03-19 サトーホールディングス株式会社 Printer and printer control method
JP2020104380A (en) * 2018-12-27 2020-07-09 サトーホールディングス株式会社 Printer, program, and information processing system
WO2022180940A1 (en) * 2021-02-26 2022-09-01 サトーホールディングス株式会社 Printer, printing system, and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017056698A (en) * 2015-09-18 2017-03-23 東芝テック株式会社 Printer
US9908349B2 (en) 2015-09-18 2018-03-06 Toshiba Tec Kabushiki Kaisha Printer
US10124612B2 (en) 2015-09-18 2018-11-13 Toshiba Tec Kabushiki Kaisha Printer
JP2020040271A (en) * 2018-09-10 2020-03-19 サトーホールディングス株式会社 Printer and printer control method
JP7114418B2 (en) 2018-09-10 2022-08-08 サトーホールディングス株式会社 Printer and printer control method
JP2020104380A (en) * 2018-12-27 2020-07-09 サトーホールディングス株式会社 Printer, program, and information processing system
US11698761B2 (en) 2018-12-27 2023-07-11 Sato Holdings Kabushiki Kaisha Printer, non-transitory computer-readable recording medium, and information processing system, for determining a number of print media printable with a rechargeable battery
JP7492313B2 (en) 2018-12-27 2024-05-29 サトーホールディングス株式会社 Printer, program, and information processing system
WO2022180940A1 (en) * 2021-02-26 2022-09-01 サトーホールディングス株式会社 Printer, printing system, and storage medium

Similar Documents

Publication Publication Date Title
ES2237738T3 (en) ENERGY CONSUMPTION REDUCTION MODES FOR A PRINTER POWERED FROM A BATTERY.
US10124612B2 (en) Printer
JP2013203012A (en) Label printer, program of label printer, and method of displaying number of printing sheets of label printer
JP2011203734A5 (en) Decoloring device, control device, display method
US8684481B2 (en) Printer
CN106541714B (en) A kind of control method and label machine of label machine
JP4621135B2 (en) Secondary battery powered printer
JP2008238757A (en) Thermal printer
JP2014048101A (en) Quality determination device for secondary battery used in printer, and the printer
JP6166626B2 (en) Printer and printing method thereof
JP5825251B2 (en) Printing device
JP2016028902A (en) Printing medium
US11698761B2 (en) Printer, non-transitory computer-readable recording medium, and information processing system, for determining a number of print media printable with a rechargeable battery
JP2010188628A (en) Genuine label and label printer
JP2019034815A (en) Medium physical property detection device, image forming apparatus and medium physical property detection program
JP2000038238A (en) Paper sheet conveying mechanism
CN104760431B (en) Method of controlling printer and printer
JP2008037030A (en) Printing device and control method of the same
JP2009208387A (en) Thermal printer
JPH10254200A (en) Cartridge for roll type image forming medium and feeding device
JP2014091309A (en) Printing apparatus and method for controlling the same
KR0163735B1 (en) Message output method & device
JP3279422B2 (en) Image forming device
JPH05246070A (en) Thermal line printer
JP2012063689A (en) Image forming apparatus