JP7839669B2 - Printing apparatus, control method, program, information processing device, and printing system - Google Patents
Printing apparatus, control method, program, information processing device, and printing systemInfo
- Publication number
- JP7839669B2 JP7839669B2 JP2022046581A JP2022046581A JP7839669B2 JP 7839669 B2 JP7839669 B2 JP 7839669B2 JP 2022046581 A JP2022046581 A JP 2022046581A JP 2022046581 A JP2022046581 A JP 2022046581A JP 7839669 B2 JP7839669 B2 JP 7839669B2
- Authority
- JP
- Japan
- Prior art keywords
- length
- roll
- threshold
- paper
- detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J11/00—Devices or arrangements of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
- B41J11/0075—Low-paper indication, i.e. indicating the state when copy material has been used up nearly or completely
Landscapes
- Controlling Sheets Or Webs (AREA)
- Controlling Rewinding, Feeding, Winding, Or Abnormalities Of Webs (AREA)
Description
本発明は、印刷装置、制御方法、プログラム、情報処理装置、および印刷システムに関する。 This invention relates to a printing apparatus, a control method, a program, an information processing apparatus, and a printing system.
感熱紙が巻かれたロール紙を用いる印刷装置がある。こうした印刷装置では、ロール紙の径が小さくなることをセンサにより検知し、ロール紙のニアエンドを検知する方法が一般的に知られている。 Some printing machines use rolls of thermal paper. In such machines, a commonly known method involves using sensors to detect when the roll's diameter decreases, thereby detecting the near end of the roll.
センサを用いた検知方法は、ロール紙の紙管の径や厚みのバラつきを予め想定したものとなっている。そのため、使用するロール紙の種類によっては、使用可能な残り長さが比較的多い状態においてもニアエンドが検知されることがある。 The detection method using sensors is designed to account for variations in the diameter and thickness of the paper core of the roll. Therefore, depending on the type of roll paper used, near-end detection may occur even when there is a relatively large amount of usable length remaining.
こうした背景から、特許文献1には、センサによるニアエンド検知後、ロール紙の残り長さを、単位時間当たりの紙の使用長さと、設定された余裕期間とで予測することで、ニアエンドを検出する技術が開示されている。 Against this backdrop, Patent Document 1 discloses a technique for detecting the near end of a roll of paper by predicting the remaining length of the roll based on the length of paper used per unit time and a set buffer period, after near-end detection using a sensor.
しかしながら、単位時間当たりの紙の使用長さが一定となる場合はそう多くないため、特許文献1に開示された技術では、精度良く検出できない。また、センサがニアエンドを検知してもユーザには通知せず、検知後に一定量の紙を使用した後にユーザにニアエンドを通知する技術がある。こうして通知タイミングを遅延させることで、使用可能な残り長さを減らす技術も存在する。 However, since the length of paper used per unit time is not always constant, the technology disclosed in Patent Document 1 cannot detect this accurately. Furthermore, there is a technology that does not notify the user when the sensor detects near-end paper usage, but only after a certain amount of paper has been used. This delay in notification timing also reduces the remaining usable length of paper.
この技術の場合、センサによるニアエンド検知後の残り長さを予め調査する必要があるが、ユーザによって使用するロール紙が異なることから、ニアエンド検知後の残り長さが一定とならないことが多い。この場合、使用可能な残り長さが想定以上に余ってしまう可能性がある。そこで、ユーザがニアエンド検知後の残り長さを調査したり、設定可能としてもよいが、ユーザによる調査はユーザにとって煩わしいため、現実的ではない。 In this technology, it's necessary to pre-determine the remaining length after near-end detection by the sensor. However, since different users use different rolls of paper, the remaining length after near-end detection is often inconsistent. In this case, there's a possibility that more usable length will be left over than expected. Therefore, while it might be possible to allow users to investigate or set the remaining length after near-end detection, this is impractical as it would be cumbersome for users.
このように、従来の技術では、ユーザにより、精度よく検知することが困難であり、またニアエンドを通知するロール紙の残量をユーザが設定できなかった。 Thus, with conventional technology, it was difficult for users to detect the remaining amount of paper in the roll that would trigger near-end notification, and users could not set this value.
上記事情に鑑み、本発明は、ユーザにより設定されたロール紙の残量を精度よく検知可能な技術を提供することを目的としている。 In view of the above circumstances, the present invention aims to provide a technology that can accurately detect the remaining amount of roll paper set by the user.
(1)上述の課題に鑑み、本発明の一態様に係る印刷装置は、ユーザにより設定されたロール紙の残量を示すユーザ設定値を取得するユーザ設定値取得部と、ロール紙の残量と相関する物理量が、第1閾値となったことを検知する第1検知部と、ロール紙の残量が第2閾値となったことを検知する第2検知部と、前記物理量が前記第1閾値となったことが検知されてから、ロール紙の残量が第2閾値となるまでに使用されたロール紙の長さである検知後長を取得する検知後長取得部と、新たなロール紙が使用された場合に、前記物理量が前記第1閾値となったことが検知されてから使用されたロール紙の長さが、前記検知後長から前記ユーザ設定値を減算した基準値を超えた場合に、ロール紙の残量が前記ユーザ設定値になったことを通知する通知部と、を備えた。 (1) In view of the above-mentioned problems, a printing apparatus according to one aspect of the present invention comprises: a user-set value acquisition unit that acquires a user-set value indicating the remaining amount of roll paper set by the user; a first detection unit that detects when a physical quantity correlated with the remaining amount of roll paper reaches a first threshold; a second detection unit that detects when the remaining amount of roll paper reaches a second threshold; a post-detection length acquisition unit that acquires the post-detection length, which is the length of roll paper used from the time it is detected that the physical quantity has reached the first threshold until the remaining amount of roll paper reaches the second threshold; and a notification unit that, when new roll paper is used, notifies that the remaining amount of roll paper has reached the user-set value when the length of roll paper used from the time it is detected that the physical quantity has reached the first threshold exceeds a reference value obtained by subtracting the user-set value from the post-detection length.
(2)本発明の一態様に係る印刷装置において、前記物理量が前記第1閾値となったことが検知されてから使用されたロール紙の長さが、前記検知後長から前記ユーザ設定値を減算した基準値を超えてから、前記物理量が前記第2閾値となるまでに使用されたロール紙の長さに応じて、前記検知後長を補正する補正部を備えた。 (2) In a printing apparatus according to one aspect of the present invention, a correction unit is provided to correct the length after detection, according to the length of roll paper used from the time the length of roll paper used after the detection of the physical quantity reaching the first threshold exceeds a reference value obtained by subtracting the user-set value from the length after detection, until the physical quantity reaches the second threshold.
(3)上述の課題に鑑み、本発明の一態様に係る印刷方法は、印刷装置の制御方法であって、ユーザにより設定されたロール紙の残量を示すユーザ設定値を取得するユーザ設定値取得ステップと、ロール紙の残量と相関する物理量が、第1閾値となったことを検知する第1検知ステップと、ロール紙の残量が第2閾値となったことを検知する第2検知ステップと、前記物理量が前記第1閾値となったことが検知されてから、ロール紙の残量が第2閾値となるまでに使用されたロール紙の長さである検知後長を取得する検知後長取得ステップと、新たなロール紙が使用された場合に、前記物理量が前記第1閾値となったことが検知されてから使用されたロール紙の長さが、前記検知後長から前記ユーザ設定値を減算した基準値を超えた場合に、ロール紙の残量が前記ユーザ設定値になったことを通知する通知ステップと、を備えた。 (3) In view of the above-mentioned problems, a printing method according to one aspect of the present invention is a control method for a printing apparatus, comprising: a user setting value acquisition step of acquiring a user setting value indicating the remaining amount of roll paper set by the user; a first detection step of detecting that a physical quantity correlated with the remaining amount of roll paper has reached a first threshold; a second detection step of detecting that the remaining amount of roll paper has reached a second threshold; a post-detection length acquisition step of acquiring the post-detection length, which is the length of roll paper used from the time it is detected that the physical quantity has reached the first threshold until the remaining amount of roll paper reaches the second threshold; and a notification step of notifying that the remaining amount of roll paper has reached the user setting value when new roll paper is used and the length of roll paper used from the time it is detected that the physical quantity has reached the first threshold exceeds a reference value obtained by subtracting the user setting value from the post-detection length.
(4)上述の課題に鑑み、本発明の一態様に係るプログラムは、印刷装置としてコンピュータを機能させるためのプログラムであって、前記コンピュータを、ユーザにより設定されたロール紙の残量を示すユーザ設定値を取得するユーザ設定値取得部と、ロール紙の残量と相関する物理量が、第1閾値となったことを検知する第1検知部と、ロール紙の残量が第2閾値となったことを検知する第2検知部と、前記物理量が前記第1閾値となったことが検知されてから、ロール紙の残量が第2閾値となるまでに使用されたロール紙の長さである検知後長を取得する検知後長取得部と、新たなロール紙が使用された場合に、前記物理量が前記第1閾値となったことが検知されてから使用されたロール紙の長さが、前記検知後長から前記ユーザ設定値を減算した基準値を超えた場合に、ロール紙の残量が前記ユーザ設定値になったことを通知する通知部と、して機能させる。 (4) In view of the above-mentioned problems, a program according to one aspect of the present invention is a program for causing a computer to function as a printing device, wherein the computer functions as: a user-set value acquisition unit that acquires a user-set value indicating the remaining amount of roll paper set by the user; a first detection unit that detects when a physical quantity correlated with the remaining amount of roll paper reaches a first threshold; a second detection unit that detects when the remaining amount of roll paper reaches a second threshold; a post-detection length acquisition unit that acquires the post-detection length, which is the length of roll paper used from the time it is detected that the physical quantity has reached the first threshold until the remaining amount of roll paper reaches the second threshold; and a notification unit that, when new roll paper is used, notifies the user that the remaining amount of roll paper has reached the user-set value when the length of roll paper used from the time it is detected that the physical quantity has reached the first threshold exceeds a reference value obtained by subtracting the user-set value from the post-detection length.
(5)上述の課題に鑑み、本発明の一態様に係る情報処理装置は、印刷装置と通信可能な情報処理装置であって、ユーザにより設定されたロール紙の残量を示すユーザ設定値を取得するユーザ設定値取得部と、前記印刷装置において、ロール紙が使用された長さを取得する使用量取得部と、前記印刷装置において、ロール紙の残量と相関する物理量が、第1閾値となったことが通知されてから、ロール紙の残量が第2閾値となったことが通知されるまでに使用されたロール紙の長さである検知後長を取得する検知後長取得部と、新たなロール紙が使用された場合に、前記物理量が前記第1閾値となったことが通知されてから使用されたロール紙の長さが、前記検知後長さから前記ユーザ設定値を減算した基準値を超えた場合に、ロール紙の残量が前記ユーザ設定値になったことを通知する通知部と、を備えた。 (5) In view of the above-mentioned problems, an information processing device according to one aspect of the present invention is an information processing device that can communicate with a printing device, comprising: a user setting value acquisition unit that acquires a user setting value indicating the remaining amount of roll paper set by the user; a usage amount acquisition unit that acquires the length of roll paper used in the printing device; a detected length acquisition unit that acquires the detected length, which is the length of roll paper used from the time a physical quantity correlated with the remaining amount of roll paper is notified to have reached a first threshold until a second threshold is notified; and a notification unit that, when new roll paper is used, notifies that the remaining amount of roll paper has reached the user setting value when the length of roll paper used from the time the physical quantity is notified to have reached the first threshold exceeds a reference value obtained by subtracting the user setting value from the detected length.
(6)上述の課題に鑑み、本発明の一態様に係る印刷システムは、印刷装置と、前記印刷装置と通信可能な情報処理装置とを含む印刷システムであって、前記印刷装置は、ロール紙の残量と相関する物理量が、第1閾値となったことを検知する第1検知部と、ロール紙の残量が第2閾値となったことを検知する第2検知部と、前記物理量が前記第1閾値となったことが検知されると、前記情報処理装置に前記物理量が前記第1閾値となったことを通知する第1通知部と、ロール紙の残量が前記第2閾値となったことが検知されると、前記情報処理装置に前記物理量が前記第2閾値となったことを通知する第2通知部と、ロール紙が使用された長さを前記情報処理装置に通知する使用量通知部と、を備え、前記情報処理装置は、ユーザにより設定されたロール紙の残量を示すユーザ設定値を取得するユーザ設定値取得部と、前記使用量通知部により通知されたロール紙が使用された長さを取得する使用量取得部と、前記第1通知部により前記物理量が前記第1閾値となったことが通知されてから、前記第2通知部によりロール紙の残量が前記第2閾値となったことが通知されるまでに使用されたロール紙の長さである検知後長を取得する検知後長取得部と、新たなロール紙が使用された場合に、前記第1通知部により前記物理量が前記第1閾値となったことが通知されてから使用されたロール紙の長さが、前記検知後長さから前記ユーザ設定値を減算した基準値を超えた場合に、ロール紙の残量が前記ユーザ設定値になったことを通知する通知部と、を備えた印刷システム。 (6) In view of the above-mentioned problems, a printing system according to one aspect of the present invention is a printing system including a printing device and an information processing device that can communicate with the printing device, wherein the printing device includes a first detection unit that detects when a physical quantity correlated with the remaining amount of roll paper reaches a first threshold, a second detection unit that detects when the remaining amount of roll paper reaches a second threshold, a first notification unit that notifies the information processing device that the physical quantity has reached the first threshold when it is detected that the physical quantity has reached the first threshold, a second notification unit that notifies the information processing device that the physical quantity has reached the second threshold when it is detected that the remaining amount of roll paper has reached the second threshold, and a usage notification unit that notifies the information processing device of the length of roll paper used, wherein the information processing device is configured to respond to the user A printing system comprising: a user-defined value acquisition unit that acquires a user-defined value indicating the remaining amount of roll paper; a usage acquisition unit that acquires the length of roll paper used as notified by the usage notification unit; a post-detection length acquisition unit that acquires the length of roll paper used from the time the first notification unit notifies that the physical quantity has reached the first threshold until the second notification unit notifies that the remaining amount of roll paper has reached the second threshold; and a notification unit that, when new roll paper is used, notifies that the remaining amount of roll paper has reached the user-defined value when the length of roll paper used from the time the first notification unit notifies that the physical quantity has reached the first threshold exceeds a reference value obtained by subtracting the user-defined value from the post-detection length.
以下、本発明の具体的な構成例について、図面を参照しながら説明する。
図1は、本実施形態に係る印刷システム10の構成例を示す図である。印刷システム10は、印刷装置100と、情報処理装置200を含む。本実施形態において印刷装置100は、サーマルプリンタを例にして説明する。情報処理装置200は、スマートフォンやPC(Personal Computer)などである。情報処理装置200は、通信部210、および制御部220を備える。通信部210は、本実施形態では印刷装置100との通信を行う。通信には、Bluetooth(登録商標)やWifi(登録商標)など各種プロトコルが用いられる。
The following describes specific examples of the present invention with reference to the drawings.
Figure 1 shows an example configuration of the printing system 10 according to this embodiment. The printing system 10 includes a printing device 100 and an information processing device 200. In this embodiment, the printing device 100 is described using a thermal printer as an example. The information processing device 200 is a smartphone or a PC (Personal Computer), etc. The information processing device 200 includes a communication unit 210 and a control unit 220. In this embodiment, the communication unit 210 communicates with the printing device 100. Various protocols such as Bluetooth® and Wi-Fi® are used for communication.
制御部220は、演算装置、記憶装置により実現される。演算装置は、CPU(Central Processing Unit)、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)等のハードウェアである。記憶装置は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリなど、揮発性記憶装置や不揮発性記憶装置である。その他、不図示の液晶や有機EL(Electro-Luminescence)ディスプレイなどの表示装置や、タッチパネルや、ハードキーなどのユーザによる操作を受け付ける操作装置も備える。 The control unit 220 is implemented by an arithmetic unit and a memory device. The arithmetic unit consists of hardware such as a CPU (Central Processing Unit), ASIC (Application Specific Integrated Circuit), and FPGA (Field Programmable Gate Array). The memory device includes volatile and non-volatile memory such as RAM (Random Access Memory), ROM (Read Only Memory), and flash memory. In addition, it includes display devices such as liquid crystal displays and organic EL (Electro-Luminescence) displays (not shown), and user-operated devices such as touch panels and hard keys.
印刷装置100は、通信部110、制御部120、およびメカニズム部130で構成される。通信部110は、本実施形態では情報処理装置200との通信を行う。通信には、上述したようにBluetoothやWifiなど各種プロトコルが用いられる。 The printing device 100 consists of a communication unit 110, a control unit 120, and a mechanism unit 130. In this embodiment, the communication unit 110 communicates with the information processing device 200. Various protocols, such as Bluetooth and Wi-Fi, are used for communication, as described above.
メカニズム部130は、ニアエンドセンサ部131、紙送り部132、紙なしセンサ部133、およびサーマルヘッド部134で構成される。図2は、ロール紙に係る各構成例を示す図である。具体的に、図2に、紙送り部132、紙なしセンサ部133、およびサーマルヘッド部134の構成例を示す図である。図2には、紙送り部132、紙なしセンサ部133、およびサーマルヘッド部134とともに、ロール紙が示されている。 The mechanism unit 130 consists of a near-end sensor unit 131, a paper feed unit 132, a paperless sensor unit 133, and a thermal head unit 134. Figure 2 shows examples of each configuration related to roll paper. Specifically, Figure 2 shows examples of the configuration of the paper feed unit 132, the paperless sensor unit 133, and the thermal head unit 134. Figure 2 shows the roll paper along with the paper feed unit 132, the paperless sensor unit 133, and the thermal head unit 134.
紙送り部132は、制御部120の制御により、ステッピングモータなどで構成され感熱紙を図に示される「紙搬送方向」に搬送する。サーマルヘッド部134は、制御部120の制御により、感熱紙に文字などを印刷する。以下において、「印字」という表現が用いられることがあるが、「印字」と「印刷」は同義である。 The paper feeding unit 132, controlled by the control unit 120, is composed of a stepping motor and transports the thermal paper in the "paper transport direction" shown in the diagram. The thermal head unit 134, controlled by the control unit 120, prints characters or other designs onto the thermal paper. In the following, the term "printing" may be used, but "printing" and "printing" are synonymous.
紙なしセンサ部133は、感熱紙を検知可能に構成され、感熱紙が検知されなくなると、紙なしと判定する。感熱紙が検知されなくなったときのロール紙の残量が第2閾値である。図2に示されるように、紙なしセンサ部133とサーマルヘッド部134との距離は0ではないが、説明を分かりやすくするために、本実施形態では、第2閾値を0として説明する。なお、図2紙なしセンサ部133は、紙なしと判定すると、ロール紙の残量が第2閾値となったことを制御部120に通知する。 The paperless sensor unit 133 is configured to detect thermal paper, and determines that there is no paper when thermal paper is no longer detected. The remaining amount of roll paper when thermal paper is no longer detected is the second threshold. As shown in Figure 2, the distance between the paperless sensor unit 133 and the thermal head unit 134 is not zero, but for the sake of clarity, in this embodiment, the second threshold will be assumed to be zero. Note that when the paperless sensor unit 133 determines that there is no paper, it notifies the control unit 120 that the remaining amount of roll paper has reached the second threshold.
本実施形態における印刷装置100は、ロール紙を載置する構成となっている。そのため、ロール紙の使用とともにロール紙の径が小さくなると、自重によって紙管の位置が徐々に下方に移動するようになっている。サーマルヘッド部134と紙送り部132は、感熱紙を挟んで対抗するように設けられる。また、紙なしセンサ部133は、紙送り部132の近傍に設けられる。 In this embodiment, the printing apparatus 100 is configured to hold a roll of paper. Therefore, as the diameter of the roll paper decreases with use, the position of the paper core gradually moves downward due to its own weight. The thermal head unit 134 and the paper feed unit 132 are arranged to oppose each other, sandwiching the thermal paper. The paperless sensor unit 133 is located near the paper feed unit 132.
図3は、ニアエンドセンサ部131の検知位置などを示す図である。ニアエンドセンサ部131は、ロール紙の側面に設けられている。図の左側には径の比較的大きいロール紙Aが示され、図の右側には使用されることで径が小さくなったロール紙Bが示されている。図4に示されるように、ロール紙の径が大きい状態では、ニアエンドセンサ部131の正面部には、検知物としてロール紙の側面部または紙管の側面部が存在する。一方、ロール紙の径が小さい状態では、ニアエンドセンサ部131の正面部には、検知物として紙管空洞部が存在する。よって、ロール紙の径が小さい状態における検知物との距離は、ロール紙の径が小さい状態における検知物との距離よりも遠いものとなる。 Figure 3 shows the detection position of the near-end sensor unit 131. The near-end sensor unit 131 is located on the side of the paper roll. The left side of the figure shows a relatively large diameter paper roll A, while the right side shows a paper roll B whose diameter has decreased due to use. As shown in Figure 4, when the paper roll has a large diameter, the front of the near-end sensor unit 131 detects either the side of the paper roll or the side of the paper core. Conversely, when the paper roll has a small diameter, the front of the near-end sensor unit 131 detects the hollow portion of the paper core. Therefore, the distance to the detected object when the paper roll has a small diameter is greater than the distance to the detected object when the paper roll has a small diameter.
これを利用して、ニアエンドセンサ部131は、ロール紙の使用とともに自重によって紙管の位置が検知位置に到達すると、ニアエンドを検知したと判定する。よって、本実施形態における「ロール紙の残量と相関する物理量」とは、底面から紙管位置までの距離dである。検知位置に紙管が到達する距離が第1閾値である。このように、ニアエンドセンサ部131は、ロール紙の残量と相関する物理量が、第1閾値となったことを検知する。ニアエンドセンサ部131は、第1閾値となったことを検知すると、第1閾値となったことを制御部120に通知する。 Using this, the near-end sensor unit 131 determines that the near-end has been detected when the paper core reaches the detection position due to its own weight as the roll paper is used. Therefore, in this embodiment, the "physical quantity correlated with the remaining amount of roll paper" is the distance d from the bottom surface to the paper core position. The distance at which the paper core reaches the detection position is the first threshold. Thus, the near-end sensor unit 131 detects that the physical quantity correlated with the remaining amount of roll paper has reached the first threshold. Upon detecting that the first threshold has been reached, the near-end sensor unit 131 notifies the control unit 120 of this.
図1に戻り、制御部120について説明する。制御部120は、ユーザ設定値取得部121、第1検知部122、第2検知部123、検知後長取得部124、通知部125、および補正部126で構成される。制御部120は、演算装置、記憶装置により実現される。演算装置は、CPU、ASIC、FPGA等のハードウェアである。記憶装置は、RAM、ROM、フラッシュメモリなど、揮発性記憶装置や不揮発性記憶装置である。 Returning to Figure 1, the control unit 120 will be described. The control unit 120 consists of a user-set value acquisition unit 121, a first detection unit 122, a second detection unit 123, a post-detection length acquisition unit 124, a notification unit 125, and a correction unit 126. The control unit 120 is implemented by an arithmetic unit and a memory device. The arithmetic unit is hardware such as a CPU, ASIC, or FPGA. The memory device is a volatile or non-volatile memory device such as RAM, ROM, or flash memory.
ユーザ設定値取得部121は、ユーザにより設定されたロール紙の残量を示すユーザ設定値を取得する。ユーザ設定値取得部121は、例えば情報処理装置200においてユーザが設定したユーザ設定値を情報処理装置200から取得してもよい。第1検知部122は、ニアエンドセンサ部131の通知によって、ロール紙の残量と相関する物理量が、第1閾値となったことを検知する。第2検知部123は、紙なしセンサ部133の通知によって、ロール紙の残量が第2閾値となったことを検知する。 The user setting acquisition unit 121 acquires a user setting value indicating the remaining amount of roll paper, as set by the user. The user setting acquisition unit 121 may, for example, acquire the user setting value set by the user in the information processing device 200 from the information processing device 200. The first detection unit 122 detects, upon notification from the near-end sensor unit 131, that a physical quantity correlated with the remaining amount of roll paper has reached a first threshold. The second detection unit 123 detects, upon notification from the paperless sensor unit 133, that the remaining amount of roll paper has reached a second threshold.
検知後長取得部124は、距離dが第1閾値となったことが検知されてから、ロール紙の残量が第2閾値となるまでに使用されたロール紙の長さである検知後長を取得する。この取得方法については後述する。 The post-detection length acquisition unit 124 acquires the post-detection length, which is the length of roll paper used from the time the distance d reaches the first threshold until the remaining amount of roll paper reaches the second threshold. The method of acquisition will be described later.
通知部125は、新たなロール紙が使用された場合に、距離dが第1閾値となったことが検知されてから使用されたロール紙の長さが、検知後長からユーザ設定値を減算した基準値を超えた場合に、ロール紙の残量がユーザ設定値になったことを通知(以下、「ニアエンド通知」ともいう)する。ここで、「新たなロール紙」とは、検知後長取得部124により検知後長が取得されたロール紙の次に印刷装置100にセットされた未使用のロール紙である。本実施形態では、同じ形式のロール紙が毎回セットされるものとする。ロール紙が交換されたか否かは、ロール紙を格納するカバーの開閉を検知する不図示の開閉センサが用いられる。例えば、カバーが開かれ、ニアエンドセンサ部131により距離dが第1閾値となったことが検知されなかった場合には、新たなロール紙がセットされたと判定してもよい。 The notification unit 125 notifies the user that the remaining amount of roll paper has reached the user-set value (hereinafter also referred to as "near-end notification") when a new roll of paper is used and the length of the roll paper used since the detection of the distance d reaching the first threshold exceeds a reference value obtained by subtracting the user-set value from the detected length. Here, "new roll paper" refers to unused roll paper set in the printing device 100 after the roll paper whose detected length has been acquired by the detected length acquisition unit 124. In this embodiment, it is assumed that the same type of roll paper is set each time. Whether or not the roll paper has been replaced is determined by an open/close sensor (not shown) that detects the opening and closing of the cover that stores the roll paper. For example, if the cover is opened and the near-end sensor unit 131 does not detect that the distance d has reached the first threshold, it may be determined that a new roll of paper has been set.
通知部125の通知先は情報処理装置200が挙げられる。情報処理装置200は、ロール紙の残量がユーザ設定値になったことが通知された場合には表示装置などを用いてユーザに通知する。または、印刷装置100に、ロール紙の残量がユーザ設定値になったことを示す発光ダイオードを設け、発光ダイオードを制御するタスクにロール紙の残量がユーザ設定値になったことが通知してもよい。発光ダイオードを制御するタスクは、ロール紙の残量がユーザ設定値になった場合、発光ダイオードを点灯または点滅させるなど、ロール紙の残量がユーザ設定値になっていないときの態様とは異なる態様となるように制御する。補正部126は、検知後長を補正する。補正方法については後述する。 The notification unit 125 can notify the information processing device 200. When the information processing device 200 receives notification that the remaining amount of roll paper has reached a user-set value, it notifies the user using a display device or the like. Alternatively, the printing device 100 may be equipped with a light-emitting diode (LED) to indicate that the remaining amount of roll paper has reached a user-set value, and the task controlling the LED may be notified that the remaining amount of roll paper has reached the user-set value. When the remaining amount of roll paper reaches the user-set value, the task controlling the LED will control it to behave differently than when the remaining amount of roll paper is not at the user-set value, such as by lighting or blinking the LED. The correction unit 126 corrects the length after detection. The correction method will be described later.
印刷装置100の処理の流れをフローチャートを用いて説明する。印刷装置100の処理には、大きく2つの処理がある。図5に示される1つ目の処理では、主として検知後長を取得する。図6に示される2つ目の処理では、主として検知後長が取得されたロール紙の次に印刷装置100にセットされたロール紙に対し、取得された検知後長を用いてニアエンド通知を行う。このように、本実施形態では、1つめのロール紙を用いて、ニアエンド通知を行うための準備を行い、2つめ以降のロール紙に対して、ニアエンド通知が行われる。 The processing flow of the printing device 100 will be explained using a flowchart. The printing device 100 has two main processes. The first process, shown in Figure 5, primarily involves acquiring the detected length. The second process, shown in Figure 6, primarily involves using the acquired detected length to perform near-end notification for the roll paper set in the printing device 100 after the roll paper whose detected length was acquired. Thus, in this embodiment, the first roll paper is used to prepare for near-end notification, and then near-end notifications are performed for subsequent roll papers.
図5、図6は、印刷装置100の処理の流れを示すフローチャートである。図5において、印刷装置100は、ユーザ設定値Aを取得する(ステップS101)。印刷装置100は、未使用のロール紙がセットされた状態から、上述した検知後長を取得するニアエンド初期設定処理を行い(ステップS102)、処理を終了する。ニアエンド初期設定処理の詳細については後述する。図5に示される処理の後、印刷装置100に新たな未使用のロール紙がセットされると、図6の処理が行われる。 Figures 5 and 6 are flowcharts showing the processing flow of the printing device 100. In Figure 5, the printing device 100 acquires the user-defined value A (step S101). The printing device 100 then performs the near-end initial setup process to acquire the detected post-final length (step S102) from a state where an unused roll of paper is loaded (step S102), and then terminates the process. Details of the near-end initial setup process will be described later. After the process shown in Figure 5, when a new unused roll of paper is loaded into the printing device 100, the process shown in Figure 6 is performed.
図6において、印刷装置100は、ニアエンド通知前処理を行う(ステップS201)。ニアエンド通知前処理の詳細については後述する。印刷装置100は、ニアエンド通知を行う(ステップS202)。これにより、ユーザはロール紙の残量がユーザ設定値になったことを認識できる。印刷装置100は、ニアエンド通知後処理を行い(ステップS203)、処理を終了する。ニアエンド通知後処理の詳細については後述する。 In Figure 6, the printing device 100 performs near-end notification pre-processing (step S201). Details of the near-end notification pre-processing will be described later. The printing device 100 then issues a near-end notification (step S202). This allows the user to recognize that the remaining amount of roll paper has reached the user-set value. The printing device 100 then performs near-end notification post-processing (step S203) and terminates the process. Details of the near-end notification post-processing will be described later.
図7は、ニアエンド初期設定処理(ステップS102)の流れを示すフローチャートである。印刷装置100は、使用量Bを0で初期化する(ステップS301)。ここで、使用量とは、ロール紙の使用量を示す。使用量は、紙送り部132におけるステッピングモータの回転数からロール紙の長さに換算されたものである。例えば、1回転あたりに使用されるロール紙の長さをLとしたときに、使用量B=L×回転数で求められる。印刷装置100は、情報処理装置200などの要求に応じて印字したり、紙送り動作を行う(ステップS302)。 Figure 7 is a flowchart showing the flow of the near-end initial setup process (step S102). The printing device 100 initializes the usage amount B to 0 (step S301). Here, usage amount refers to the amount of roll paper used. The usage amount is calculated from the rotation speed of the stepping motor in the paper feeding unit 132 to the length of the roll paper. For example, if the length of roll paper used per rotation is L, then usage amount B = L × rotation speed. The printing device 100 prints or performs paper feeding operations in response to requests from the information processing device 200, etc. (step S302).
印刷装置100は、ロール紙の使用によって、上述した距離dが第1閾値となったか否かを判定する(ステップS303)。距離dが第1閾値となっていない場合には(ステップS303:NO)、印刷装置100は、ステップS302に戻る。距離dが第1閾値となった場合には(ステップS303:YES)、印刷装置100は、使用量Bのカウントを開始する(ステップS304)。その後、印刷装置100は、情報処理装置200などの要求に応じて印字したり、紙送り動作を行う(ステップS305)。 The printing device 100 determines whether the distance d has reached the first threshold due to the use of roll paper (step S303). If the distance d has not reached the first threshold (step S303: NO), the printing device 100 returns to step S302. If the distance d has reached the first threshold (step S303: YES), the printing device 100 starts counting the usage amount B (step S304). Subsequently, the printing device 100 prints or performs paper feeding operations in response to requests from the information processing device 200 or other devices (step S305).
印刷装置100は、ロール紙の使用によって、ロール紙の残量が第2閾値となったか否かを判定する(ステップS306)。ロール紙の残量が第2閾値となっていない場合には(ステップS306:NO)、印刷装置100は、ステップS304に戻る。ロール紙の残量が第2閾値となった場合には(ステップS306:YES)、印刷装置100は、検知後長Cに使用量Bを代入して(ステップS307)、処理を終了する。このように、検知後長は、物理量が第1閾値となったことが検知されてから、ロール紙の残量が第2閾値となるまでに使用されたロール紙の長さである。 The printing device 100 determines whether the remaining amount of roll paper has reached the second threshold due to its use (step S306). If the remaining amount of roll paper has not reached the second threshold (step S306: NO), the printing device 100 returns to step S304. If the remaining amount of roll paper has reached the second threshold (step S306: YES), the printing device 100 substitutes the amount used B into the detected length C (step S307) and terminates the process. Thus, the detected length is the length of roll paper used from the time the physical quantity is detected to have reached the first threshold until the remaining amount of roll paper reaches the second threshold.
図8は、ニアエンド通知前処理(ステップS201)の流れを示すフローチャートである。このニアエンド検知前処理は、上述したように新たに未使用のロール紙がセットされた状態で行われる。 Figure 8 is a flowchart showing the flow of the near-end notification pre-processing (step S201). This near-end detection pre-processing is performed with a newly loaded, unused roll of paper, as described above.
印刷装置100は、使用量Bを0で初期化する(ステップS401)。印刷装置100は、情報処理装置200などの要求に応じて印字したり、紙送り動作を行う(ステップS402)。印刷装置100は、ロール紙の使用によって、上述した距離dが第1閾値となったか否かを判定する(ステップS403)。距離dが第1閾値となっていない場合には(ステップS403:NO)、印刷装置100は、ステップS402に戻る。距離dが第1閾値となった場合には(ステップS403:YES)、印刷装置100は、使用量Bのカウントを開始する(ステップS404)。その後、印刷装置100は、情報処理装置200などの要求に応じて印字したり、紙送り動作を行う(ステップS405)。 The printing device 100 initializes the usage amount B to 0 (step S401). The printing device 100 prints or performs paper feeding operations in response to requests from the information processing device 200, etc. (step S402). The printing device 100 determines whether the distance d has reached the first threshold due to the use of roll paper (step S403). If the distance d has not reached the first threshold (step S403: NO), the printing device 100 returns to step S402. If the distance d has reached the first threshold (step S403: YES), the printing device 100 starts counting the usage amount B (step S404). Subsequently, the printing device 100 prints or performs paper feeding operations in response to requests from the information processing device 200, etc. (step S405).
印刷装置100は、検知後長Cからユーザ設定値Aを減算した基準値(C-A)を使用量Bが超えたか否かを判定する(ステップS406)。基準値(C-A)を使用量Bが超えていない場合には(ステップS406:NO)、印刷装置100は、ステップS404に戻る。基準値(C-A)を使用量Bが超えた場合には(ステップS406:YES)、印刷装置100は、処理を終了する。 The printing device 100 determines whether the amount used B exceeds a reference value (C-A), which is obtained by subtracting the user-set value A from the detected length C (step S406). If the amount used B does not exceed the reference value (C-A) (step S406: NO), the printing device 100 returns to step S404. If the amount used B exceeds the reference value (C-A) (step S406: YES), the printing device 100 terminates the process.
ここで、基準値(C-A)の意味について説明する。検知後長Cは、ニアエンドセンサ部131による検知後のロール紙の残量である。ユーザ設定値Aは、ユーザにより設定されたロール紙の残量を示す。したがって、基準値(C-A)は、ニアエンドセンサ部131により検知されてから、残量がユーザ設定値Aとなるまでの長さを示す。よって、使用量Bが基準値(C-A)と一致すると、ロール紙の残量はユーザ設定値となる。したがって、ニアエンド検知前処理(ステップS201)が行われた次のステップS202において、ニアエンド通知が行われる。 Here, we will explain the meaning of the reference value (C-A). The detected length C is the remaining amount of roll paper after detection by the near-end sensor unit 131. The user-set value A indicates the remaining amount of roll paper as set by the user. Therefore, the reference value (C-A) indicates the length of time from detection by the near-end sensor unit 131 until the remaining amount reaches the user-set value A. Thus, when the usage amount B matches the reference value (C-A), the remaining amount of roll paper becomes the user-set value. Therefore, in the next step S202, after the near-end detection pre-processing (step S201) has been performed, a near-end notification is issued.
図9は、ニアエンド通知後処理(ステップS203)の流れを示すフローチャートである。印刷装置100は、使用量Bを0で初期化する(ステップS501)。印刷装置100は、使用量Bのカウントを開始する(ステップS502)。印刷装置100は、紙送り動作を行う(ステップS503)。 Figure 9 is a flowchart showing the flow of near-end notification post-processing (step S203). The printer 100 initializes usage amount B to 0 (step S501). The printer 100 starts counting usage amount B (step S502). The printer 100 performs paper feeding (step S503).
印刷装置100は、紙送り動作によって、ロール紙の残量が第2閾値となったか否かを判定する(ステップS504)。ロール紙の残量が第2閾値となっていない場合には(ステップS504:NO)、印刷装置100は、ステップS503に戻る。すなわち、紙送り動作を継続する。ロール紙の残量が第2閾値となった場合には(ステップS504:YES)、印刷装置100は、使用量Bがユーザ設定値Aが略同じか否かを判定する(ステップS505)。使用量Bがユーザ設定値Aが略同じか否かと判定する理由は、温湿度などの環境により、使用量Bが変化するためである。したがって、使用量Bの変化を許容する値α、βを定めておき、範囲(B-α、B+β)内にユーザ設定値Aが存在する場合に、使用量Bがユーザ設定値Aが略同じ判定する。使用量Bがユーザ設定値Aが略同じ場合には(ステップS505:YES)、印刷装置100は、処理を終了する。 The printing device 100 determines whether the remaining amount of roll paper has reached the second threshold through paper feeding (step S504). If the remaining amount of roll paper has not reached the second threshold (step S504: NO), the printing device 100 returns to step S503, that is, it continues the paper feeding operation. If the remaining amount of roll paper has reached the second threshold (step S504: YES), the printing device 100 determines whether the amount used B is approximately the same as the user-set value A (step S505). The reason for determining whether the amount used B is approximately the same as the user-set value A is that the amount used B changes depending on environmental factors such as temperature and humidity. Therefore, values α and β that allow for changes in the amount used B are defined, and if the user-set value A exists within the range (B - α, B + β), it is determined that the amount used B is approximately the same as the user-set value A. If the amount used B is approximately the same as the user-set value A (step S505: YES), the printing device 100 terminates the process.
一方、使用量Bがユーザ設定値Aが略同じではない場合には(ステップS505:NO)、印刷装置100は、検知後長Cを補正して(ステップS505)、処理を終了する。補正方法は、新たな検知後長Cとして、補正前のCから(A-B)を減算した値とする補正である(C←C-(A-B))。これは、A-B>0の場合には、Cが本来の長さよりA-Bだけ長かったことを意味するので、A-Bを減算することで、本来のCの長さに補正できる。一方、A-B<0の場合には、Cが本来の長さよりB-Aだけ短かったことを意味するので、B-Aを加算することで、本来のCの長さに補正できる。このように、補正を行うことにより、ユーザにより設定されたロール紙の残量を精度よく検知することができる。 On the other hand, if the usage amount B is not approximately the same as the user-set value A (step S505: NO), the printing device 100 corrects the detected length C (step S505) and terminates the process. The correction method is to set the new detected length C to a value obtained by subtracting (A-B) from the original C (C ← C - (A-B)). This means that if A-B > 0, C was longer than its original length by A-B, so subtracting A-B corrects it to the original length. Conversely, if A-B < 0, C was shorter than its original length by B-A, so adding B-A corrects it to the original length. By performing this correction, the remaining amount of roll paper set by the user can be detected with high accuracy.
以上説明した実施形態において、温湿度によりギア等の紙送りに関する部品が膨張したり収縮したりするため使用量Bを補正してもよい。例えば、補正係数kを用いて使用量B=k×L×回転数とする。例えば標準的な温度基準を定めておき、基準よりも温度が高い場合には、紙送り量が長くなることからkを1未満の値とし、基準よりも温度が低い場合には、紙送り量が短くなることからkを1より大きい値とする。このように環境に応じて使用量を調整することで、より精度よく検知可能となる。 In the embodiments described above, the paper feed amount B may be corrected because components related to paper feeding, such as gears, expand or contract due to temperature and humidity. For example, a correction coefficient k can be used, where B = k × L × rotation speed. For instance, a standard temperature reference can be established. If the temperature is higher than the reference, the paper feed amount increases, so k can be set to a value less than 1. If the temperature is lower than the reference, the paper feed amount decreases, so k can be set to a value greater than 1. By adjusting the paper feed amount according to the environment in this way, more accurate detection becomes possible.
(変形例)
上述した実施形態を情報処理装置200で行うようにしてもよい。図10は、情報処理装置200で上述した実施形態を行う場合の印刷システム10の処理の一例を示すシーケンス図である。この変形例を行う場合、印刷装置100は、ロール紙の使用量が変化するたびに使用量を情報処理装置200に通知する。図10では、この使用量の通知は、煩雑さを避けるため省略している。
(Variant)
The above-described embodiment may also be performed using the information processing device 200. Figure 10 is a sequence diagram showing an example of the processing of the printing system 10 when the above-described embodiment is performed using the information processing device 200. When this modification is performed, the printing device 100 notifies the information processing device 200 of the amount of roll paper used each time the amount changes. In Figure 10, this notification of the amount of roll paper used is omitted to avoid complexity.
情報処理装置200は、ユーザにより設定されたユーザ設定値Aを取得する(ステップS601)。情報処理装置200は、使用量Bを初期化する(ステップS602)。印刷装置100は、距離dが第1閾値となったことを示す第1閾値検知通知を情報処理装置200に送信する(ステップS603)。情報処理装置200は、第1閾値検知通知を受信すると、使用量Bのカウントを開始する(ステップS604)。これ以降、後述する第2閾値検知通知が受信されるまで、情報処理装置200は、印刷装置100から使用量が通知されるたびに、使用量Bを随時更新する。 The information processing device 200 acquires the user setting value A set by the user (step S601). The information processing device 200 initializes the usage amount B (step S602). The printing device 100 sends a first threshold detection notification to the information processing device 200 indicating that the distance d has reached the first threshold (step S603). Upon receiving the first threshold detection notification, the information processing device 200 starts counting the usage amount B (step S604). From this point onward, until the second threshold detection notification (described later) is received, the information processing device 200 updates the usage amount B as needed each time the printing device 100 notifies it of the usage amount.
印刷装置100は、ロール紙の残量が第2閾値となったことを示す第2閾値通知を情報処理装置200に送信する(ステップS605)。情報処理装置200は、第1閾値検知通知を受信すると、検知後長Cを取得する(ステップS606)。印刷装置100は、新たなロール紙がセットされると、新たなロール紙がセットされたことを示すロール紙交換通知を情報処理装置200に送信する(ステップS607)。情報処理装置200は、ロール紙交換通知を受信すると、使用量Bを初期化する(ステップS602)。これ以降、検知後長Cからユーザ設定値Aを減算した基準値(C-A)を使用量Bが超えるまで、情報処理装置200は、印刷装置100から使用量が通知されるたびに、使用量Bを随時更新する。 The printing device 100 transmits a second threshold notification to the information processing device 200 indicating that the remaining amount of roll paper has reached the second threshold (step S605). Upon receiving the first threshold detection notification, the information processing device 200 obtains the length C after detection (step S606). When a new roll of paper is set, the printing device 100 transmits a roll paper replacement notification to the information processing device 200 indicating that a new roll of paper has been set (step S607). Upon receiving the roll paper replacement notification, the information processing device 200 initializes the usage amount B (step S602). From this point onward, until the usage amount B exceeds a reference value (C-A) obtained by subtracting the user-set value A from the length C after detection, the information processing device 200 updates the usage amount B whenever the printing device 100 notifies it of the usage amount.
情報処理装置200は、検知後長Cからユーザ設定値Aを減算した基準値(C-A)を使用量Bが超えると(ステップS610)、ニアエンド通知を行う(ステップS611)。以上のように、印刷装置100と通信可能な情報処理装置200が処理を行うことによっても、ニアエンド通知を行うことができる。 The information processing device 200 issues a near-end notification (step S611) when the usage amount B exceeds a reference value (C-A) obtained by subtracting the user-set value A from the detected length C (step S610). As described above, near-end notifications can also be issued by the information processing device 200, which is capable of communicating with the printing device 100, performing the necessary processing.
なお、情報処理装置200は、使用量B以外に使用量をカウントするパラメータを設け、このパラメータによって、ロール紙1つ分の使用量Eを予め取得しておき、印刷装置100から使用量が通知されるたびにEから減算することで、ロール紙の残量を求めることができる。この残量を情報処理装置200において表示することで、ユーザは印刷が可能か否かを判断することができる。 Furthermore, the information processing device 200 is equipped with a parameter for counting usage in addition to usage amount B. This parameter allows the device to pre-acquire the usage amount E for one roll of paper. By subtracting E each time usage is notified from the printing device 100, the remaining amount of paper in the roll can be determined. By displaying this remaining amount on the information processing device 200, the user can determine whether printing is possible or not.
上述した実施形態により、ユーザによりニアエンド通知を行うためのユーザ設定値を設定することができる。また、使用量を精度よくカウント可能なため、ユーザがユーザ設定値を比較的短い値に設定しても精度よくニアエンド通知が可能となる。さらに、ニアエンドセンサ部131により検知された後の使用量を用いるため、ロール紙の紙管の径、厚みに左右されることなく精度よくニアエンド通知が可能となる。また、従来技術のように、ユーザがニアエンド検知後の残り長さを調査する必要がないので、ユーザが煩わしさを感じることなく精度よくニアエンド通知が可能となる。 The above-described embodiment allows the user to set a user-defined value for near-end notification. Furthermore, because usage can be counted accurately, near-end notification can be accurately performed even if the user sets a relatively short value. Moreover, since the usage amount detected by the near-end sensor unit 131 is used, near-end notification can be accurately performed regardless of the diameter and thickness of the paper core of the roll paper. Additionally, unlike conventional technology, the user does not need to investigate the remaining length after near-end detection, thus enabling accurate near-end notification without causing inconvenience to the user.
上述した印刷装置100および情報処理装置200の処理を実行させるためのプログラムは、コンピュータ読み取り可能な記録媒体に記録されてもよい。コンピュータ読み取り可能な記録媒体とは、例えばフレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク、SSD(Solid State Drive)等の記憶装置である。画像処理プログラムは、電気通信回線を介して送信されてもよい。 The program for executing the processing of the printing apparatus 100 and the information processing apparatus 200 described above may be recorded on a computer-readable recording medium. Computer-readable recording media include, for example, portable media such as flexible disks, magneto-optical disks, ROMs, and CD-ROMs, as well as storage devices such as hard disks and SSDs (Solid State Drives) built into computer systems. The image processing program may also be transmitted via a telecommunications line.
上述した実施形態における印刷装置100および情報処理装置200の機能をコンピュータで実現するようにしても良い。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現しても良い。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでも良い。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。 The functions of the printing apparatus 100 and information processing apparatus 200 in the above-described embodiment may be implemented using a computer. In that case, the functions may be implemented by recording a program for implementing these functions on a computer-readable recording medium, loading the program recorded on this recording medium into a computer system, and executing it. Here, "computer system" includes hardware such as the OS and peripheral devices. Furthermore, "computer-readable recording medium" refers to portable media such as flexible disks, magneto-optical disks, ROMs, CD-ROMs, and storage devices such as hard disks built into a computer system. Additionally, "computer-readable recording medium" may include those that dynamically hold programs for a short period, such as communication lines used when transmitting programs via networks such as the Internet or communication lines such as telephone lines, and those that hold programs for a certain period, such as volatile memory within a computer system acting as a server or client. Moreover, the above-mentioned program may only implement a part of the functions described above, or it may be a program that can implement the aforementioned functions in combination with programs already recorded in the computer system.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。 While several embodiments of the present invention have been described, these embodiments are presented as examples only and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their variations are included within the scope and spirit of the invention, as well as within the scope of the claims and its equivalents.
10 印刷システム
100 印刷装置
110、210 通信部
120、220 制御部
121 ユーザ設定値取得部
122 第1検知部
123 第2検知部
124 検知後長取得部
125 通知部
126 補正部
130 メカニズム部
131 ニアエンドセンサ部
132 紙送り部
133 紙なしセンサ部
134 サーマルヘッド部
200 情報処理装置
10 Printing system 100 Printing devices 110, 210 Communication units 120, 220 Control unit 121 User setting value acquisition unit 122 First detection unit 123 Second detection unit 124 Post-detection length acquisition unit 125 Notification unit 126 Correction unit 130 Mechanism unit 131 Near-end sensor unit 132 Paper feeding unit 133 Paperless sensor unit 134 Thermal head unit 200 Information processing device
Claims (6)
ロール紙の残量と相関する物理量が、第1閾値となったことを検知する第1検知部と、
ロール紙の残量が第2閾値となったことを検知する第2検知部と、
前記物理量が前記第1閾値となったことが検知されてから、ロール紙の残量が第2閾値となるまでに使用されたロール紙の長さである検知後長を取得する検知後長取得部と、
検知後長が取得されたロール紙の次にセットされた未使用の新たなロール紙が使用された場合に、前記物理量が前記第1閾値となったことが検知されてから使用されたロール紙の長さが、前記検知後長から前記ユーザ設定値を減算した基準値を超えた場合に、前記新たなロール紙の残量が前記ユーザ設定値になったことを通知する通知部と、
を備えた印刷装置。 A user setting value acquisition unit that acquires a user setting value indicating the remaining amount of roll paper set by the user,
A first detection unit detects when a physical quantity correlated with the remaining amount of roll paper reaches a first threshold,
A second detection unit detects when the remaining amount of roll paper reaches a second threshold,
A detection length acquisition unit acquires the post-detection length, which is the length of roll paper used from the time it is detected that the physical quantity has reached the first threshold until the remaining amount of roll paper reaches the second threshold.
When a new, unused roll of paper is used after the roll of paper whose length after detection has been obtained , and the length of the roll of paper used since the detection of the physical quantity reaching the first threshold exceeds a reference value obtained by subtracting the user-set value from the length after detection, a notification unit notifies that the remaining amount of the new roll of paper has reached the user-set value.
A printing device equipped with a printer.
ユーザにより設定されたロール紙の残量を示すユーザ設定値を取得するユーザ設定値取得ステップと、
ロール紙の残量と相関する物理量が、第1閾値となったことを検知する第1検知ステップと、
ロール紙の残量が第2閾値となったことを検知する第2検知ステップと、
前記物理量が前記第1閾値となったことが検知されてから、ロール紙の残量が第2閾値となるまでに使用されたロール紙の長さである検知後長を取得する検知後長取得ステップと、
検知後長が取得されたロール紙の次にセットされた未使用の新たなロール紙が使用された場合に、前記物理量が前記第1閾値となったことが検知されてから使用されたロール紙の長さが、前記検知後長から前記ユーザ設定値を減算した基準値を超えた場合に、前記新たなロール紙の残量が前記ユーザ設定値になったことを通知する通知ステップと、
を備えた制御方法。 A method for controlling a printing device,
A user setting value acquisition step that acquires a user setting value indicating the remaining amount of roll paper set by the user,
A first detection step involves detecting when a physical quantity correlated with the remaining amount of roll paper reaches a first threshold,
A second detection step that detects when the remaining amount of roll paper reaches a second threshold,
A post-detection length acquisition step, which acquires the length of roll paper used from the time it is detected that the physical quantity has reached the first threshold until the remaining amount of roll paper reaches the second threshold,
When a new, unused roll of paper is used after the roll of paper whose length after detection has been obtained , and the length of the roll of paper used since the detection of the physical quantity reaching the first threshold exceeds a reference value obtained by subtracting the user-set value from the length after detection, a notification step is made to notify that the remaining amount of the new roll of paper has reached the user-set value.
A control method that includes [a specific feature/method].
前記コンピュータを、
ユーザにより設定されたロール紙の残量を示すユーザ設定値を取得するユーザ設定値取得部と、
ロール紙の残量と相関する物理量が、第1閾値となったことを検知する第1検知部と、
ロール紙の残量が第2閾値となったことを検知する第2検知部と、
前記物理量が前記第1閾値となったことが検知されてから、ロール紙の残量が第2閾値となるまでに使用されたロール紙の長さである検知後長を取得する検知後長取得部と、
検知後長が取得されたロール紙の次にセットされた未使用の新たなロール紙が使用された場合に、前記物理量が前記第1閾値となったことが検知されてから使用されたロール紙の長さが、前記検知後長から前記ユーザ設定値を減算した基準値を超えた場合に、前記新たなロール紙の残量が前記ユーザ設定値になったことを通知する通知部と、
して機能させるためのプログラム。 A program that makes a computer function as a printing device,
The aforementioned computer,
A user setting value acquisition unit that acquires a user setting value indicating the remaining amount of roll paper set by the user,
A first detection unit detects when a physical quantity correlated with the remaining amount of roll paper reaches a first threshold,
A second detection unit detects when the remaining amount of roll paper reaches a second threshold,
A detection length acquisition unit acquires the post-detection length, which is the length of roll paper used from the time it is detected that the physical quantity has reached the first threshold until the remaining amount of roll paper reaches the second threshold.
When a new, unused roll of paper is used after the roll of paper whose length after detection has been obtained , and the length of the roll of paper used since the detection of the physical quantity reaching the first threshold exceeds a reference value obtained by subtracting the user-set value from the length after detection, a notification unit notifies that the remaining amount of the new roll of paper has reached the user-set value.
A program to make it work.
ユーザにより設定されたロール紙の残量を示すユーザ設定値を取得するユーザ設定値取得部と、
前記印刷装置において、ロール紙が使用された長さを取得する使用量取得部と、
前記印刷装置において、ロール紙の残量と相関する物理量が、第1閾値となったことが通知されてから、ロール紙の残量が第2閾値となったことが通知されるまでに使用されたロール紙の長さである検知後長を取得する検知後長取得部と、
検知後長が取得されたロール紙の次にセットされた未使用の新たなロール紙が使用された場合に、前記物理量が前記第1閾値となったことが通知されてから使用されたロール紙の長さが、前記検知後長から前記ユーザ設定値を減算した基準値を超えた場合に、前記新たなロール紙の残量が前記ユーザ設定値になったことを通知する通知部と、
を備えた情報処理装置。 An information processing device capable of communicating with a printing device,
A user setting value acquisition unit that acquires a user setting value indicating the remaining amount of roll paper set by the user,
The printing apparatus includes a usage amount acquisition unit that acquires the length of roll paper used,
The printing apparatus includes a post-detection length acquisition unit that acquires the post-detection length, which is the length of roll paper used from the time a physical quantity correlated with the remaining amount of roll paper is notified to reach a first threshold until a second threshold is notified.
When a new, unused roll of paper, which was set after the roll of paper whose detected length has been acquired , is used, and the length of the roll of paper used after notification that the physical quantity has reached the first threshold exceeds a reference value obtained by subtracting the user-set value from the detected length, a notification unit notifies that the remaining amount of the new roll of paper has reached the user-set value.
Equipped with an information processing device.
前記印刷装置は、
ロール紙の残量と相関する物理量が、第1閾値となったことを検知する第1検知部と、
ロール紙の残量が第2閾値となったことを検知する第2検知部と、
前記物理量が前記第1閾値となったことが検知されると、前記情報処理装置に前記物理量が前記第1閾値となったことを通知する第1通知部と、
ロール紙の残量が前記第2閾値となったことが検知されると、前記情報処理装置に前記物理量が前記第2閾値となったことを通知する第2通知部と、
ロール紙が使用された長さを前記情報処理装置に通知する使用量通知部と、
を備え、
前記情報処理装置は、
ユーザにより設定されたロール紙の残量を示すユーザ設定値を取得するユーザ設定値取得部と、
前記使用量通知部により通知されたロール紙が使用された長さを取得する使用量取得部と、
前記第1通知部により前記物理量が前記第1閾値となったことが通知されてから、前記第2通知部によりロール紙の残量が前記第2閾値となったことが通知されるまでに使用されたロール紙の長さである検知後長を取得する検知後長取得部と、
検知後長が取得されたロール紙の次にセットされた未使用の新たなロール紙が使用された場合に、前記第1通知部により前記物理量が前記第1閾値となったことが通知されてから使用されたロール紙の長さが、前記検知後長から前記ユーザ設定値を減算した基準値を超えた場合に、前記新たなロール紙の残量が前記ユーザ設定値になったことを通知する通知部と、
を備えた印刷システム。 A printing system including a printing device and an information processing device capable of communicating with the printing device,
The aforementioned printing apparatus,
A first detection unit detects when a physical quantity correlated with the remaining amount of roll paper reaches a first threshold,
A second detection unit detects when the remaining amount of roll paper reaches a second threshold,
When it is detected that the physical quantity has reached the first threshold, a first notification unit notifies the information processing device that the physical quantity has reached the first threshold,
When it is detected that the remaining amount of roll paper has reached the second threshold, a second notification unit notifies the information processing device that the physical quantity has reached the second threshold,
A usage notification unit that notifies the information processing device of the length of roll paper used,
Equipped with,
The aforementioned information processing device is
A user setting value acquisition unit that acquires a user setting value indicating the remaining amount of roll paper set by the user,
A usage amount acquisition unit that acquires the length of roll paper used as notified by the usage amount notification unit,
A detection length acquisition unit acquires the length of roll paper used from the time the first notification unit notifies that the physical quantity has reached the first threshold until the second notification unit notifies that the remaining amount of roll paper has reached the second threshold,
When a new, unused roll of paper is used after the roll of paper whose detected length has been acquired , and the length of the roll of paper used since the first notification unit notified that the physical quantity has reached the first threshold exceeds a reference value obtained by subtracting the user-set value from the detected length, the notification unit notifies that the remaining amount of the new roll of paper has reached the user-set value.
A printing system equipped with this system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022046581A JP7839669B2 (en) | 2022-03-23 | 2022-03-23 | Printing apparatus, control method, program, information processing device, and printing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022046581A JP7839669B2 (en) | 2022-03-23 | 2022-03-23 | Printing apparatus, control method, program, information processing device, and printing system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023140637A JP2023140637A (en) | 2023-10-05 |
| JP7839669B2 true JP7839669B2 (en) | 2026-04-02 |
Family
ID=88206496
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022046581A Active JP7839669B2 (en) | 2022-03-23 | 2022-03-23 | Printing apparatus, control method, program, information processing device, and printing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7839669B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010131925A (en) | 2008-12-08 | 2010-06-17 | Seiko Epson Corp | Near-end detection method of long consumables and printing apparatus |
| JP2012187794A (en) | 2011-03-10 | 2012-10-04 | Seiko Epson Corp | Device and method for detecting near-end of recording medium |
| JP2013035648A (en) | 2011-08-08 | 2013-02-21 | Toshiba Tec Corp | Printer |
-
2022
- 2022-03-23 JP JP2022046581A patent/JP7839669B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010131925A (en) | 2008-12-08 | 2010-06-17 | Seiko Epson Corp | Near-end detection method of long consumables and printing apparatus |
| JP2012187794A (en) | 2011-03-10 | 2012-10-04 | Seiko Epson Corp | Device and method for detecting near-end of recording medium |
| JP2013035648A (en) | 2011-08-08 | 2013-02-21 | Toshiba Tec Corp | Printer |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023140637A (en) | 2023-10-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5507434B2 (en) | Image forming apparatus and paper supply method | |
| US20100133745A1 (en) | Remaining sheet volume detecting apparatus and image forming apparatus | |
| US9539829B2 (en) | Printing on a media web | |
| US20170061268A1 (en) | Control Device Managing State of Use of Cartridge | |
| US20170075278A1 (en) | Sheet conveying apparatus which can detect thickness of sheets | |
| CN104079739B (en) | Printer | |
| JP7839669B2 (en) | Printing apparatus, control method, program, information processing device, and printing system | |
| EP3527516B1 (en) | Medium transport apparatus, image reading apparatus, and control method | |
| US11599054B2 (en) | Image forming apparatus, storage medium, and life determination method | |
| JP6558004B2 (en) | Conveying apparatus, image reading apparatus, and image forming apparatus | |
| US20230322001A1 (en) | Printing apparatus, control method, program, information processing apparatus, and printing system | |
| US20140293337A1 (en) | Image forming apparatus | |
| JP2017007758A (en) | Sheet transportation device, image formation device, sheet transportation method | |
| US6553190B1 (en) | Correction of pulse width accumulator based on the temperature and relative humidity | |
| US11066266B2 (en) | Cutting device, printer and method for detecting operation error | |
| JP5699784B2 (en) | Printing device | |
| CN100436148C (en) | Printing system and method for controlling printing | |
| JP7123603B2 (en) | Printing device and method of controlling the printing device | |
| US8532559B2 (en) | Print system, print control apparatus and computer readable medium storing program | |
| US9365068B2 (en) | Image processing apparatus and image processing method | |
| JP2017134238A (en) | Image forming apparatus | |
| JP7552135B2 (en) | Servers and printing systems | |
| US20200356041A1 (en) | Adjusting a pickup time of a printing medium when a transfer delay occurs or is anticipated to occur | |
| EP2416240A2 (en) | Terminal device | |
| US10528300B2 (en) | Image processing system, image processing method, and information processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20231005 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20241125 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20250115 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20251114 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20251118 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20260113 |
|
| 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: 20260303 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20260323 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7839669 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |