(印刷システム1の構成)
図1は、本明細書の実施例に係る印刷システム1の構成図である。印刷システム1は、ユーザに提供される印刷サービスに用いられるものである。印刷サービスは、プリンタ20によって印刷可能な用紙の枚数である印刷可能枚数に対してユーザが課金することにより、ユーザが印刷可能となるサービスである。ユーザがこの印刷サービスを申し込むときに初期費用を支払うことにより、ユーザに対して所定の印刷可能枚数(例えば2000枚)が付与される。以下の説明では、印刷可能枚数を設定することや、追加で課金して印刷可能枚数を増加させることを、「チャージする」という場合がある。
(Configuration of Printing System 1)
FIG. 1 is a configuration diagram of a printing system 1 according to an embodiment of the present specification. The printing system 1 is used for a printing service provided to a user. The printing service is a service that allows a user to print by being charged for the number of printable sheets, which is the number of sheets of paper that can be printed by a printer 20. When a user applies for this printing service, the user pays an initial fee and is granted a predetermined number of printable sheets (e.g., 2000 sheets). In the following description, the term "charging" may refer to setting the number of printable sheets or increasing the number of printable sheets by charging an additional fee.
また、本実施例においてプリンタ20は、例えば、インクジェットプリンタである。ベンダからユーザに送付されるプリンタ20には、ユーザに対して付与された所定の印刷可能枚数以上(例えば2000枚+α枚)の印刷をするために必要な量のインクが充填されている。このため、本印刷サービスでは、ユーザは、プリンタ20を入手した後、初期費用を支払うことにより付与された印刷可能枚数の印刷を行うまでの間に、プリンタ20にインクを充填したり、インクカートリッジを交換したりする手間が不要となる。したがって、本印刷サービスは、プリンタ20へのインクの補充作業が不要となり、ユーザにとっての利便性が高いサービスである。
In this embodiment, the printer 20 is, for example, an inkjet printer. The printer 20 sent from the vendor to the user is filled with the amount of ink necessary to print more than the predetermined number of printable sheets granted to the user (for example, 2000 sheets + α sheets). Therefore, with this printing service, after obtaining the printer 20, the user does not need to go through the trouble of filling the printer 20 with ink or replacing ink cartridges until printing the number of printable sheets granted to the user by paying the initial fee. Therefore, this printing service is a service that is highly convenient for users, as it does not require the work of refilling the printer 20 with ink.
また、ユーザが初期費用の支払いにより付与された所定の印刷可能枚数を超えて印刷を行いたい場合は、追加の費用を支払う。そして、追加の印刷可能枚数を購入することにより、ユーザはプリンタ20を継続して利用可能である。ユーザが追加の印刷枚数の購入を繰り返したために、初期費用の支払いにより入手したプリンタ20のインク残量が少なくなった場合には、プリンタ20の交換をユーザが申請することによりプリンタ20が交換されることによって、印刷サービスが継続される。尚、上記α枚は印刷サービスを提供するベンダによって適宜設定される枚数である。
If the user wishes to print more than the specified number of printable pages granted by paying the initial fee, the user pays an additional fee. By purchasing the additional number of printable pages, the user can continue to use the printer 20. If the amount of ink remaining in the printer 20 acquired by paying the initial fee becomes low as the user repeatedly purchases additional numbers of printable pages, the user can request a replacement of the printer 20, and the printer 20 will be replaced, thereby continuing the printing service. Note that the above-mentioned α pages is a number appropriately set by the vendor providing the printing service.
印刷システム1は、携帯端末装置10、プリンタ20及びサーバ30を備えている。携帯端末装置10とプリンタ20とは、ルータ2を介して相互に通信可能に、有線又は無線によって(例えば、LANによって)接続されている。また、携帯端末装置10とサーバ30とは、ルータ2及びインターネット3を介して相互に通信可能に接続されている。さらに、プリンタ20とサーバ30とは、ルータ2及びインターネット3を介して相互に通信可能に接続されている。尚、上記したネットワークの構成は、一例である。例えば、サーバ30をLAN内に配置しても良い。また、サーバ30に接続される携帯端末装置10やプリンタ20は、複数台でも良く、1つのプリンタ20に対して複数の携帯端末装置10を接続しても良い。即ち、後述する印刷処理やチャージ処理を実行する携帯端末装置10は、複数台存在しても良く、印刷を実行するプリンタ20を、複数のプリンタ20から選択しても良い。
The printing system 1 includes a mobile terminal device 10, a printer 20, and a server 30. The mobile terminal device 10 and the printer 20 are connected to each other by wire or wirelessly (for example, by a LAN) via a router 2 so that they can communicate with each other. The mobile terminal device 10 and the server 30 are also connected to each other by the router 2 and the Internet 3 so that they can communicate with each other. The printer 20 and the server 30 are also connected to each other by the router 2 and the Internet 3 so that they can communicate with each other. The above-mentioned network configuration is an example. For example, the server 30 may be placed in the LAN. Also, the mobile terminal device 10 and the printer 20 connected to the server 30 may be multiple, and multiple mobile terminal devices 10 may be connected to one printer 20. That is, there may be multiple mobile terminal devices 10 that perform the printing process and charging process described later, and the printer 20 that performs printing may be selected from multiple printers 20.
(携帯端末装置10の構成)
携帯端末装置10は、用紙(本願の記録媒体の一例)に対して画像の印刷をプリンタ20に実行させるものである。携帯端末装置10は、例えば、スマートフォンである。携帯端末装置10は、端末CPU11、端末記憶部12、近距離通信部13、ディスプレイ14、入力I/F(インタフェースの略)15、画像取得部16、及び、外部通信部17を備えている。これらの構成要素は、バス18を介して互いに通信可能とされている。
(Configuration of the mobile terminal device 10)
The mobile terminal device 10 causes a printer 20 to print an image on paper (an example of a recording medium in the present application). The mobile terminal device 10 is, for example, a smartphone. The mobile terminal device 10 includes a terminal CPU 11, a terminal storage unit 12, a short-range communication unit 13, a display 14, an input I/F (abbreviation of interface) 15, an image acquisition unit 16, and an external communication unit 17. These components are capable of communicating with each other via a bus 18.
端末記憶部12は、例えば、RAM、ROM、フラッシュメモリ、HDD、端末CPU11が備えるバッファなどが組み合わされて構成されている。端末記憶部12には、端末プログラム12A、アプリケーションプログラム(以下、アプリケーションという場合がある)12B、印刷データ12Cが記憶されている。端末プログラム12Aは、携帯端末装置10を統括的に制御するプログラムであり、アプリケーション12Bに基本的な機能やサービスを提供する。端末プログラム12Aは、例えば、Android(登録商標)OSやiOS(登録商標)である。また、携帯端末装置10が例えばPCである場合、端末プログラム12Aは、Windows(登録商標)OSなどである。アプリケーション12Bは、例えば、プリンタ20のベンダから提供されるプログラムであり、端末プログラム12Aの機能等を利用して、プリンタ20に対する設定処理や印刷命令、サーバ30に対するチャージ命令等、後述する各種処理を実行するプログラムである。端末CPU11は、端末プログラム12Aやアプリケーション12Bを実行し、携帯端末装置10の制御やサーバ30への命令等を実行する。印刷データ12Cは、印刷処理の対象となる画像をプリンタ20が解釈可能なデータ形式に変換されたものである。また、端末記憶部12は、プリンタ20の印刷可能枚数の記憶にも用いられる。携帯端末装置10は、後述するように、例えば、サーバ30から取得した印刷可能枚数を端末記憶部12に記憶し、記憶した印刷可能枚数の情報を図10のチャージ画面71(印刷可能枚数表示部72)の表示等に使用する。
The terminal storage unit 12 is configured by combining, for example, RAM, ROM, flash memory, HDD, and a buffer provided in the terminal CPU 11. The terminal storage unit 12 stores a terminal program 12A, an application program (hereinafter, sometimes referred to as an application) 12B, and print data 12C. The terminal program 12A is a program that controls the mobile terminal device 10 in an overall manner, and provides basic functions and services to the application 12B. The terminal program 12A is, for example, Android (registered trademark) OS or iOS (registered trademark). In addition, if the mobile terminal device 10 is, for example, a PC, the terminal program 12A is, for example, Windows (registered trademark) OS. The application 12B is, for example, a program provided by the vendor of the printer 20, and is a program that uses the functions of the terminal program 12A to execute various processes described below, such as setting processing and print commands for the printer 20, and charge commands for the server 30. The terminal CPU 11 executes the terminal program 12A and the application 12B to control the mobile terminal device 10 and execute commands to the server 30. The print data 12C is an image to be printed that has been converted into a data format that can be interpreted by the printer 20. The terminal storage unit 12 is also used to store the number of printable sheets of the printer 20. As described below, the mobile terminal device 10 stores the number of printable sheets obtained from the server 30 in the terminal storage unit 12, for example, and uses the stored information on the number of printable sheets to display the charge screen 71 (printable sheet number display unit 72) in FIG. 10, etc.
尚、以下の説明では、端末プログラム12Aやアプリケーション12Bを端末CPU11で実行する携帯端末装置10のことを、単に装置名で記載する場合がある。例えば、「携帯端末装置10は」という記載は、「端末プログラム12Aやアプリケーション12Bを端末CPU11で実行する携帯端末装置10は」ということを意味する場合がある。また、後述するプリンタプログラム26B1をプリンタCPU26Aで実行するプリンタ20や、サーバプログラム32B1をサーバCPU32Aで実行するサーバ30についても同様である。
In the following description, the mobile terminal device 10 that executes the terminal program 12A and the application 12B on the terminal CPU 11 may be referred to simply by the device name. For example, the description "the mobile terminal device 10" may mean "the mobile terminal device 10 that executes the terminal program 12A and the application 12B on the terminal CPU 11." The same applies to the printer 20 that executes the printer program 26B1 on the printer CPU 26A and the server 30 that executes the server program 32B1 on the server CPU 32A, which will be described later.
近距離通信部13は、プリンタ20と近距離にて無線通信するものである。近距離通信部13は、例えば、Bluetooth(登録商標)やNFC(Near Field Communicationの略)によって、後述するプリンタ20の近距離通信部21と無線通信を行う。ディスプレイ14は、各種情報を表示するものであり、LCDや有機ELディスプレイ等を採用できるが、特にこれらに限定されない。入力I/F15としては、ディスプレイ14と一体的に構成されているタッチパネルを採用でき、ディスプレイ14に表示されたアイコン等へのユーザの操作を受け付ける。また、入力I/F15は、キーボード、マウス等でも良い。
The short-range communication unit 13 wirelessly communicates with the printer 20 over a short distance. The short-range communication unit 13 wirelessly communicates with a short-range communication unit 21 of the printer 20 (described later) by, for example, Bluetooth (registered trademark) or NFC (short for Near Field Communication). The display 14 displays various information and may be, but is not limited to, an LCD or an organic EL display. The input I/F 15 may be a touch panel that is integrally configured with the display 14 and accepts user operations on icons and the like displayed on the display 14. The input I/F 15 may also be a keyboard, a mouse, etc.
画像取得部16は、例えば携帯端末装置10が備えるカメラ(図示省略)によって撮影された画像を取得する。また、画像取得部16は、外部装置に相当するHDD等と接続されて画像を取得しても良い。画像取得部16によって取得された画像は、印刷データ12Cに変換されて端末記憶部12に記憶される。
The image acquisition unit 16 acquires an image captured by, for example, a camera (not shown) provided in the mobile terminal device 10. The image acquisition unit 16 may also acquire images by connecting to an external device such as an HDD. The image acquired by the image acquisition unit 16 is converted into print data 12C and stored in the terminal storage unit 12.
外部通信部17は、例えば、Wi-Fi(登録商標)の通信規格に準じた無線通信により、ルータ2との間でデータを送受信する。外部通信部17は、ルータ2を介してプリンタ20に接続されている。また、外部通信部17は、ルータ2及びインターネット3を介してサーバ30に接続されている。尚、外部通信部17は、LANケーブル等の有線通信によりルータ2と接続される構成でも良い。
The external communication unit 17 transmits and receives data to and from the router 2, for example, by wireless communication conforming to the Wi-Fi (registered trademark) communication standard. The external communication unit 17 is connected to the printer 20 via the router 2. The external communication unit 17 is also connected to the server 30 via the router 2 and the Internet 3. The external communication unit 17 may also be configured to be connected to the router 2 by wired communication such as a LAN cable.
(プリンタ20の構成)
プリンタ20は、例えば、インクジェット方式のカラー印刷機である。プリンタ20は、近距離通信部21、外部通信部22、タンク部23、インク残量検出部24、印刷部25、ユーザI/F27及び、プリンタ制御部26を備えている。外部通信部22は、ネットワークを介して接続された外部装置(本実施例では携帯端末装置10及びサーバ30)と相互に信号の送受信を行うものである。タンク部23は、インクを貯留するものである。本実施例においてインクは4種類あり(マゼンタM、シアンC、イエローY及びブラックBK)、タンク部23は、インクの種類毎に複数設けられている。即ち、プリンタ20は、複数のタンク部23を用いて4種類のインクそれぞれを独立させて貯留する。尚、本実施例において、ベンダからユーザにプリンタ20が供給される際には、複数のタンク部23それぞれには、例えば、単色カバレッジを5%とした場合において、所定枚数の用紙を印刷可能なインクの量が充填されている。所定枚数とは、印刷サービスを申し込んだユーザに付与される印刷可能枚数よりも多い枚数であり、印刷サービスを提供するベンダが適宜設定可能である。
(Configuration of Printer 20)
The printer 20 is, for example, an inkjet type color printer. The printer 20 includes a short-distance communication unit 21, an external communication unit 22, a tank unit 23, an ink remaining amount detection unit 24, a printing unit 25, a user I/F 27, and a printer control unit 26. The external communication unit 22 transmits and receives signals to and from external devices (the mobile terminal device 10 and the server 30 in this embodiment) connected via a network. The tank unit 23 stores ink. In this embodiment, there are four types of ink (magenta M, cyan C, yellow Y, and black BK), and a plurality of tank units 23 are provided for each type of ink. That is, the printer 20 uses the plurality of tank units 23 to store the four types of ink independently. In this embodiment, when the printer 20 is supplied to a user from a vendor, each of the plurality of tank units 23 is filled with an amount of ink that can print a predetermined number of sheets of paper when the single-color coverage is set to 5%, for example. The predetermined number is a number that is greater than the printable number of sheets that is given to a user who applies for a print service, and can be set appropriately by a vendor that provides the print service.
また、タンク部23は、ユーザがインクを充填不能に設けられている。具体的には、タンク部23は、ユーザによっては触れることができない位置に配置されている。また、タンク部23は、プリンタ20に着脱不能に固定されている。インク残量検出部24は、タンク部23に貯留されたインクの残量であるインク残量を検出するものである。インク残量検出部24は、タンク部23に配置され、インクの液面の高さを検出することにより、インク残量を検出する光学センサである。インク残量検出部24は複数のタンク部23それぞれに配置され、複数のタンク部23それぞれのインク残量を検出する。尚、プリンタ20は、タンク部23をユーザが交換可能な構成でも良い。
The tank unit 23 is provided so that the user cannot refill it with ink. Specifically, the tank unit 23 is located in a position that the user cannot touch. The tank unit 23 is fixed to the printer 20 so that it cannot be removed. The ink level detection unit 24 detects the remaining amount of ink stored in the tank unit 23. The ink level detection unit 24 is an optical sensor that is located in the tank unit 23 and detects the level of the ink by detecting the height of the ink surface. The ink level detection unit 24 is located in each of the multiple tank units 23 and detects the remaining amount of ink in each of the multiple tank units 23. The printer 20 may be configured so that the tank unit 23 is replaceable by the user.
印刷部25は、タンク部23に貯留されたインクを用いて印刷を実行する。印刷部25は、印刷データ12C等の画像を、既知のインクジェット方式で用紙に印刷するための処理を実行する。ユーザI/F27は、例えば、タッチパネル、押しボタンスイッチ等であり、ユーザからの操作入力の受け付けや各種の情報の表示を行う。プリンタ制御部26は、プリンタ20を統括制御するものである。プリンタ制御部26は、プリンタCPU26A、プリンタ記憶部26Bを備えている。尚、上記したプリンタ20の構成は、一例である。例えば、プリンタ20は、タッチパネル等のユーザI/F27を備えない構成でも良い。
The printing unit 25 performs printing using ink stored in the tank unit 23. The printing unit 25 executes processing to print images such as print data 12C on paper using a known inkjet method. The user I/F 27 is, for example, a touch panel or a push button switch, and receives operation input from the user and displays various information. The printer control unit 26 provides overall control of the printer 20. The printer control unit 26 includes a printer CPU 26A and a printer memory unit 26B. Note that the configuration of the printer 20 described above is one example. For example, the printer 20 may be configured without including a user I/F 27 such as a touch panel.
プリンタCPU26Aは、プリンタ記憶部26B内のプリンタプログラム26B1を実行することで、プリンタ20の動作を制御する。プリンタプログラム26B1は、プリンタ20を統括的に管理するプログラムであり、プリンタ20に各種処理を実行させるプログラムである。プリンタ記憶部26Bは、例えば、RAM、ROM、フラッシュメモリ、HDD、及び、プリンタCPU26Aが備えるバッファなどが組み合わされて構成されている。
The printer CPU 26A controls the operation of the printer 20 by executing the printer program 26B1 in the printer memory unit 26B. The printer program 26B1 is a program that comprehensively manages the printer 20 and causes the printer 20 to execute various processes. The printer memory unit 26B is configured by combining, for example, RAM, ROM, flash memory, HDD, and a buffer provided in the printer CPU 26A.
また、プリンタ記憶部26Bには、プリンタ管理テーブルPTが記憶されている。プリンタ管理テーブルPTは、印刷サービスの利用に関して、プリンタ20に関する情報が記憶されたテーブルである。プリンタ管理テーブルPTに記憶された情報は、後述する各種処理が実行される場合に適宜使用される。プリンタ管理テーブルPTには、図2に示すように、デバイスID、印刷可能枚数、インク残量、アクティベーション情報、デバイス設定、及び同期日時が対応付けられて記憶されている。
The printer storage unit 26B also stores a printer management table PT. The printer management table PT is a table that stores information about the printer 20 regarding the use of the printing service. The information stored in the printer management table PT is used as appropriate when various processes described below are executed. As shown in FIG. 2, the printer management table PT stores the device ID, number of printable pages, remaining ink amount, activation information, device settings, and synchronization date and time in association with each other.
デバイスIDは、例えば、プリンタ20のベンダによって設定されたシリアル番号であり、任意のプリンタ20を他のプリンタ20と識別できる固有の情報である。尚、デバイスIDは、シリアル番号に限らず、例えば、近距離通信部21や外部通信部22の有線のMACアドレス、無線のMACアドレスでも良い。印刷可能枚数は、プリンタ20によって印刷を実行可能な用紙の枚数を示すものである。プリンタ20を利用するユーザは、プリンタ管理テーブルPTに記憶された印刷可能枚数だけ印刷することができる。印刷可能枚数は、ユーザによって課金されることにより、課金された額に応じた枚数が加算(チャージ)される。一方、印刷可能枚数は、プリンタ20の印刷によって使用された用紙の枚数が減算される。印刷可能枚数の加算及び減算についての詳細は後述する。
The device ID is, for example, a serial number set by the vendor of the printer 20, and is unique information that can distinguish any printer 20 from other printers 20. The device ID is not limited to a serial number, and can be, for example, a wired MAC address or a wireless MAC address of the short-range communication unit 21 or the external communication unit 22. The printable number indicates the number of sheets of paper that can be printed by the printer 20. A user who uses the printer 20 can print only the printable number stored in the printer management table PT. The printable number is increased (charged) by the number of sheets according to the amount charged by the user. On the other hand, the number of sheets of paper used by the printer 20 for printing is subtracted from the printable number. The addition and subtraction of the printable number will be described in detail later.
インク残量は、インク残量検出部24によって検出されたインク残量を示すものである。プリンタ20は、例えば、インクの補充、ノズルチェック、印刷等のインクを使用する動作を実行した後、インク残量検出部24によって検出したインク残量をプリンタ管理テーブルPTに記憶する。アクティベーション情報は、オン状態に設定された場合に印刷部25による印刷の実行が許容され、オフ状態に設定された場合に印刷部25による印刷の実行が制限されることを示すものである。印刷の実行の制限とは、例えば、印刷部25によって印刷できない状態にプリンタ20をすることをいう。尚、図2、図3に示す「〇」はオン状態に設定されていることを示し、「×」は、オフ状態に設定されていることを示している。デバイス設定は、プリンタ20の機能(印刷等)及び各機能の設定(用紙サイズ、カラー、倍率等)、ユーザI/F27に表示する言語等の設定情報である。同期日時は、サーバ30との間で、前回(直近)の同期処理を実行した日時である。ここでいう同期処理とは、例えば、サーバ30とプリンタ20の印刷可能枚数を一致させる処理である。尚、本実施形態における同期処理は、本願の更新処理の一例である。本願の更新処理とは、印刷可能枚数や印刷済の枚数(後述する図17参照)など、記録許可量(印刷量など)に関する情報に関し、サーバ30とプリンタ20との間で通信して一方の記録許可量の情報に基づいて他方を最新の情報に更新する処理を含む。従って、更新処理とは、同期処理のような同じ印刷可能枚数の情報をサーバ30とプリンタ20の両方で持つ処理(一致させる処理)に限らず、一方の情報に基づいて他方の情報を更新した結果、印刷可能枚数を一致させる処理を含む概念である。別の実施形態については、図17で詳述する。
The remaining ink amount indicates the remaining ink amount detected by the ink remaining amount detection unit 24. After performing an operation that uses ink, such as refilling ink, checking the nozzle, or printing, the printer 20 stores the remaining ink amount detected by the ink remaining amount detection unit 24 in the printer management table PT. The activation information indicates that when the activation information is set to the on state, printing by the printing unit 25 is permitted, and when the activation information is set to the off state, printing by the printing unit 25 is restricted. Restricting printing means, for example, putting the printer 20 in a state in which printing by the printing unit 25 is not possible. In addition, "◯" in FIG. 2 and FIG. 3 indicates that the printer 20 is set to the on state, and "×" indicates that the printer 20 is set to the off state. The device settings are setting information such as the functions of the printer 20 (printing, etc.) and the settings of each function (paper size, color, magnification, etc.), the language to be displayed on the user I/F 27, etc. The synchronization date and time is the date and time when the previous (most recent) synchronization process was performed with the server 30. The synchronization process here is, for example, a process of matching the number of printable sheets of the server 30 and the printer 20. The synchronization process in this embodiment is an example of the update process of the present application. The update process of the present application includes a process of communicating between the server 30 and the printer 20 and updating one side to the latest information based on the information on the recording allowance amount, such as the number of printable sheets and the number of printed sheets (see FIG. 17 described later), with the server 30 and the printer 20. Therefore, the update process is not limited to a process in which both the server 30 and the printer 20 have the same information on the number of printable sheets (matching process) as in the synchronization process, but also includes a process of matching the number of printable sheets as a result of updating the information on the other side based on the information on one side. Another embodiment will be described in detail with reference to FIG. 17.
(サーバ30の構成)
サーバ30は、図1に示すように、外部通信部31及びサーバ制御部32を備えている。外部通信部31は、ネットワークを介して接続された携帯端末装置10やプリンタ20と通信を実行する。サーバ制御部32は、サーバ30を統括制御するものである。サーバ制御部32は、サーバCPU32A及びサーバ記憶部32Bを備えている。サーバCPU32Aは、サーバ記憶部32B内のサーバプログラム32B1を実行することで、サーバ30の動作を制御する。サーバプログラム32B1は、サーバ30を統括的に管理するプログラムであり、サーバ30に各種処理を実行させるプログラムである。
(Configuration of Server 30)
1, the server 30 includes an external communication unit 31 and a server control unit 32. The external communication unit 31 communicates with the mobile terminal device 10 and the printer 20 connected via a network. The server control unit 32 provides overall control of the server 30. The server control unit 32 includes a server CPU 32A and a server storage unit 32B. The server CPU 32A controls the operation of the server 30 by executing a server program 32B1 in the server storage unit 32B. The server program 32B1 is a program that provides overall management of the server 30 and causes the server 30 to execute various processes.
サーバ記憶部32Bは、例えば、RAM、ROM、フラッシュメモリ、HDD、及び、サーバCPU32Aが備えるバッファなどが組み合わされて構成されている。また、サーバ記憶部32Bには、サーバ管理テーブルSTが記憶されている(図3)。サーバ管理テーブルSTは、印刷サービスを利用するにあたって必要な情報が記憶されたテーブルである。サーバ管理テーブルSTは、印刷サービスを利用する各プリンタ20の情報が、プリンタ20のデバイスIDに関連付けて記憶され、ベンダによって管理されている。サーバ管理テーブルSTに記憶された情報は、後述する各種処理が実行される場合に適宜使用される。
The server storage unit 32B is configured, for example, by combining RAM, ROM, flash memory, HDD, and a buffer provided in the server CPU 32A. The server storage unit 32B also stores a server management table ST (Figure 3). The server management table ST is a table that stores information required to use the print service. The server management table ST stores information about each printer 20 that uses the print service in association with the device ID of the printer 20, and is managed by the vendor. The information stored in the server management table ST is used as appropriate when various processes described below are executed.
サーバ管理テーブルSTには、図3に示すように、デバイスID、印刷可能枚数、アクティベーション情報、交換申請情報、及び、チャージ予定枚数が対応付けられて記憶されている。デバイスID、印刷可能枚数、アクティベーション情報は、上述したプリンタ管理テーブルPTと同じデータであり、同じデバイスIDに対応するプリンタ管理テーブルPTのデータが記憶される。
As shown in FIG. 3, the server management table ST stores the device ID, printable number, activation information, exchange application information, and planned recharge number in association with each other. The device ID, printable number, and activation information are the same data as those in the printer management table PT described above, and data from the printer management table PT corresponding to the same device ID is stored.
本実施例では、サーバ30は、印刷サービスを利用する複数のプリンタ20について、デバイスIDと印刷可能枚数を関連付けたサーバ管理テーブルSTによって、各プリンタ20の印刷可能枚数を管理する。サーバ30は、各ユーザの操作に応じて増減するプリンタ20の印刷可能枚数を、プリンタ20との間で同期する同期処理を実行することで、最新の印刷可能枚数をサーバ管理テーブルSTで管理する。
In this embodiment, the server 30 manages the printable number of each printer 20 using the printing service by using a server management table ST that associates the device ID with the printable number. The server 30 manages the latest printable number in the server management table ST by executing a synchronization process that synchronizes the printable number of the printer 20, which increases or decreases according to the operation of each user, with the printer 20.
交換申請情報は、オン状態に設定された場合にプリンタ20の交換が既に申請された状態であることを示し、オフ状態である場合にプリンタ20の交換が未だ申請されていない状態であることを示すものである。チャージ予定枚数は、ユーザによってチャージされた印刷可能枚数で、まだプリンタ20に反映していない印刷可能枚数である。尚、交換申請情報を、プリンタ20のプリンタ管理テーブルPTに記憶して管理しても良い。
When the replacement application information is set to the on state, it indicates that a request to replace the printer 20 has already been made, and when it is set to the off state, it indicates that a request to replace the printer 20 has not yet been made. The planned charge quantity is the printable quantity that has been charged by the user and has not yet been reflected in the printer 20. The replacement application information may be stored and managed in the printer management table PT of the printer 20.
(初期デバイス設定処理)
次に、プリンタ20の初期デバイス設定処理におけるユーザの作業、各装置の処理の内容について説明する。ユーザは、プリンタ20を初めて購入し、ベンダからプリンタ20が到着すると、図4に示す作業を行う。携帯端末装置10、プリンタ20、サーバ30の各装置は、ユーザの作業に応じて各処理を実行する。尚、図4以降のシーケンス図では、ユーザ(人)による作業は、斜め左下向きの矢印で示している。また、図4以降に示す処理、作業の内容や順番は、一例である。また、プリンタ20として、デバイスIDが「dv1」(図2参照)のプリンタ20を設定する場合について説明する。
(Initial device configuration process)
Next, the user's work in the initial device setting process of the printer 20 and the contents of the processing of each device will be described. When the user purchases the printer 20 for the first time and the printer 20 arrives from the vendor, the user performs the work shown in FIG. 4. Each device, the mobile terminal device 10, the printer 20, and the server 30, executes each process according to the user's work. In the sequence diagrams from FIG. 4 onwards, the work performed by the user (person) is indicated by an arrow pointing diagonally downward to the left. Also, the processes, contents and order of the work shown in FIG. 4 onwards are merely examples. Also, a case will be described where the printer 20 with the device ID "dv1" (see FIG. 2) is set as the printer 20.
まず、図4のステップ(以下、単にSと記載する)11において、ユーザは、ユーザI/F27を操作して、プリンタ20の電源を投入する(S11)。プリンタ20は、電源が投入されると、プリンタプログラム26B1をプリンタCPU26Aで実行し、プリンタ20のシステムを起動する(S13)。プリンタ20は、システムを起動すると初期導入等を実行する。ここでいう、初期導入とは、例えば、印刷部25による印刷を実行するための準備処理であり、印刷部25のインクの充填処理、ノズルの詰まりのチェック処理などである。また、プリンタ20は、初期導入が完了すると、印刷部25のインク残量を印刷部25で検出する。この時点では、インク残量ink1は、ほぼ満タンの残量となる。また、印刷可能枚数pr1は、何も設定されていないブランクの状態又はゼロ枚である。尚、プリンタ20は、印刷可能枚数pr1を設定された後に、初期導入やインク残量の検出等を実行しても良い。
First, in step (hereinafter simply referred to as S) 11 of FIG. 4, the user operates the user I/F 27 to turn on the printer 20 (S11). When the printer 20 is turned on, the printer CPU 26A executes the printer program 26B1 and starts the system of the printer 20 (S13). When the system of the printer 20 is started, the printer 20 executes initial setup and the like. The initial setup here is, for example, a preparation process for printing by the printing unit 25, such as a process of filling the printing unit 25 with ink and a process of checking for clogged nozzles. After the initial setup is completed, the printer 20 detects the remaining ink amount of the printing unit 25 by the printing unit 25. At this point, the remaining ink amount ink1 is almost full. The number of printable sheets pr1 is either blank, with nothing set, or zero sheets. The printer 20 may execute initial setup and detection of the remaining ink amount after the number of printable sheets pr1 is set.
プリンタ20は、システムの起動等を実行すると、通信設定を受け付け可能な状態へ移行する(S15)。プリンタ20は、近距離通信部21や外部通信部22へ電力を供給し、外部装置と通信可能な状態へ移行する。一方、携帯端末装置10は、例えば、電源を投入されると、端末プログラム12Aを実行してシステムを起動した後、入力I/F15に対する操作入力等に応じてアプリケーション12Bを実行し、アプリケーションプログラムを起動する(S17)。
When the printer 20 executes system startup, etc., it transitions to a state in which it can accept communication settings (S15). The printer 20 supplies power to the short-range communication unit 21 and the external communication unit 22, and transitions to a state in which it can communicate with external devices. On the other hand, when the mobile terminal device 10 is powered on, for example, it executes the terminal program 12A to start up the system, and then executes the application 12B in response to operational inputs to the input I/F 15, etc., to start up the application program (S17).
また、ユーザは、プリンタ20と携帯端末装置10に対し、通信設定を適宜実行する。例えば、Wi-Fi(登録商標)の通信規格に応じた無線通信でプリンタ20と携帯端末装置10を接続する場合、プリンタ20は、ユーザI/F27のタッチパネルでルータ2のSSIDや暗号化キーの入力を受け付ける(S15)。プリンタ20は、受け付けたSSIDや暗号化キーに基づいて、ルータ2との間で、無線通信で接続を行う。同様に、携帯端末装置10は、入力I/F15に対する操作入力に基づいて、ルータ2と無線通信で接続する。携帯端末装置10は、アプリケーション12Bの起動や、起動後の所定の操作入力に基づいて(S17)、同一ネットワーク上のプリンタ20(外部通信部22のMACアドレスなど)を検出し、Wi-Fi(登録商標)の通信規格に応じた無線通信でプリンタ20と通信可能な状態となる(S19)。また、プリンタ20は、ルータ2を通じてサーバ30と通信可能な状態となる。
The user also appropriately performs communication settings for the printer 20 and the mobile terminal device 10. For example, when connecting the printer 20 and the mobile terminal device 10 by wireless communication according to the Wi-Fi (registered trademark) communication standard, the printer 20 accepts input of the SSID and encryption key of the router 2 on the touch panel of the user I/F 27 (S15). The printer 20 connects to the router 2 by wireless communication based on the accepted SSID and encryption key. Similarly, the mobile terminal device 10 connects to the router 2 by wireless communication based on an operation input to the input I/F 15. The mobile terminal device 10 detects the printer 20 (such as the MAC address of the external communication unit 22) on the same network based on the start of the application 12B or a predetermined operation input after the start (S17), and becomes capable of communicating with the printer 20 by wireless communication according to the Wi-Fi (registered trademark) communication standard (S19). The printer 20 also becomes capable of communicating with the server 30 through the router 2.
尚、プリンタ20と携帯端末装置10とをルータ2に接続する方法は、上記した方法に限らない。例えば、Bluetooth(登録商標)の通信規格に準じた近距離無線通信で接続する場合、プリンタ20は、ユーザI/F27の特定のボタン操作(任意のボタンの長押し操作など)に基づいて、近距離通信部21によりペアリングを実行するペアリングモードへ移行する(S15)。また、携帯端末装置10は、例えば、入力I/F15に対する所定の操作入力に基づいて、端末プログラム12AのOSの機能に利用し、近距離通信部13により近距離無線通信でプリンタ20と接続を実行する(S19)。ここでいう所定の操作入力とは、例えば、Bluetooth(登録商標)の通信により検索したプリンタ20を選択される操作である。そして、携帯端末装置10は、近距離無線通信の接続に応じて、Wi-Fi(登録商標)の無線通信の接続に必要なルータ2のSSIDや暗号化キーをプリンタ20との間で近距離無線通信により交換し、プリンタ20の通信設定を実行しても良い。
The method of connecting the printer 20 and the mobile terminal device 10 to the router 2 is not limited to the above method. For example, when connecting by short-distance wireless communication conforming to the Bluetooth (registered trademark) communication standard, the printer 20 transitions to a pairing mode in which pairing is performed by the short-distance communication unit 21 based on a specific button operation (such as a long press of an arbitrary button) of the user I/F 27 (S15). In addition, the mobile terminal device 10 uses the function of the OS of the terminal program 12A based on a specific operation input to the input I/F 15, for example, and executes a connection with the printer 20 by short-distance wireless communication using the short-distance communication unit 13 (S19). The specific operation input here is, for example, an operation to select the printer 20 searched for by Bluetooth (registered trademark) communication. Then, in response to the short-distance wireless communication connection, the mobile terminal device 10 may exchange the SSID and encryption key of the router 2, which are necessary for the Wi-Fi (registered trademark) wireless communication connection, with the printer 20 via short-distance wireless communication, and execute the communication settings of the printer 20.
携帯端末装置10は、例えば、S19で検出したプリンタ20の一覧をディスプレイ14に表示し、プリンタ20の選択を受け付ける。携帯端末装置10は、例えば、選択されたプリンタ20が初めて接続するプリンタ20である場合、そのプリンタ20の情報を要求する(S19)。尚、ここでいう初めて接続するプリンタ20とは、例えば、過去に印刷データ12C等のデータのやり取りを実行したことがないプリンタ20である。携帯端末装置10は、例えば、過去に通信を実行したプリンタ名やデバイスIDを端末記憶部12に記憶しておく。端末記憶部12は、端末記憶部12にプリンタ名等のデータがないプリンタ20と接続する場合、初めて接続するプリンタ20であると判断し、情報を要求しても良い。
The mobile terminal device 10 displays, for example, a list of the printers 20 detected in S19 on the display 14 and accepts the selection of the printer 20. For example, if the selected printer 20 is the printer 20 to be connected for the first time, the mobile terminal device 10 requests information about the printer 20 (S19). Note that the printer 20 to be connected for the first time here is, for example, a printer 20 with which data such as print data 12C has not been exchanged in the past. The mobile terminal device 10 stores, for example, the printer name and device ID with which communication has been performed in the past in the terminal storage unit 12. When connecting to a printer 20 with which data such as a printer name is not available in the terminal storage unit 12, the terminal storage unit 12 may determine that the printer 20 is the printer to be connected for the first time and request information.
プリンタ20は、携帯端末装置10から情報の要求を受け付けると、デバイスID「dv1」、インク残量「ink1」、デバイス設定「dc1」を携帯端末装置10に送信する(S21)。プリンタ20は、ベンダから発送された段階では、プリンタ管理テーブルPTにデータを記憶していない状態となっている。プリンタ20は、デバイスIDやデバイス設定をプリンタ管理テーブルPT以外のプリンタ記憶部26Bの記憶領域に記憶して発送される。プリンタ20は、S21において、このプリンタ記憶部26Bに記憶されたデバイスIDやデバイス設定を送信する。また、プリンタ20は、インク残量検出部24で検出したインク残量を送信する。携帯端末装置10は、デバイスID等をS21で受信すると、図5に示すメニュー画面51を、ディスプレイ14に表示する。携帯端末装置10は、例えば、印刷機能の実行をプリンタ20に命令する印刷アイコン52、プリンタ20の設定を行う設定アイコン55、プリンタ20の状態を確認するステータスアイコン57を、メニュー画面51に表示する。
When the printer 20 receives an information request from the mobile terminal device 10, it transmits the device ID "dv1", the remaining ink level "ink1", and the device settings "dc1" to the mobile terminal device 10 (S21). When the printer 20 is shipped from the vendor, no data is stored in the printer management table PT. The printer 20 is shipped with the device ID and device settings stored in a storage area of the printer storage unit 26B other than the printer management table PT. In S21, the printer 20 transmits the device ID and device settings stored in this printer storage unit 26B. The printer 20 also transmits the remaining ink level detected by the ink level detection unit 24. When the mobile terminal device 10 receives the device ID etc. in S21, it displays the menu screen 51 shown in FIG. 5 on the display 14. For example, the mobile terminal device 10 displays on the menu screen 51 a print icon 52 that commands the printer 20 to execute a print function, a setting icon 55 that sets the printer 20, and a status icon 57 that checks the status of the printer 20.
また、携帯端末装置10は、メニュー画面51の下部に設けられたプリンタ表示部61に、S19で選択されたプリンタ20の情報を表示する。携帯端末装置10は、例えば、「オンライン」の文字を表示し、プリンタ20と通信可能になったことをプリンタ表示部61に表示する。携帯端末装置10は、プリンタ表示部61の選択ボタン63をタッチ操作されると、同一ネットワーク上で検出したプリンタ20のプリンタ名(型番など)の一覧を表示し、印刷等を実行するプリンタ20の選択を受け付ける。また、携帯端末装置10は、選択ボタン63をタッチ操作されると、過去に印刷命令を送信して印刷を実行したことのあるプリンタ20や、チャージ処理を実行したことがあるプリンタ20も、一覧に表示する。携帯端末装置10は、例えば、これらのプリンタ20がオフラインであった場合や同一ネットワーク上にない場合、オンラインのプリンタ20と区別するために「オフライン」などの文字を付加してプリンタ名を表示する。携帯端末装置10は、この一覧表示したプリンタ20の中から、後述するチャージ処理を実行するプリンタ20の選択を受け付ける(図9のS111)。
The mobile terminal device 10 also displays information about the printer 20 selected in S19 on the printer display unit 61 provided at the bottom of the menu screen 51. The mobile terminal device 10 displays, for example, the word "online" on the printer display unit 61 to indicate that communication with the printer 20 is now possible. When the selection button 63 on the printer display unit 61 is touched, the mobile terminal device 10 displays a list of printer names (such as model numbers) of the printers 20 detected on the same network and accepts the selection of the printer 20 to perform printing, etc. When the selection button 63 is touched, the mobile terminal device 10 also displays in the list the printers 20 that have previously sent a print command and performed printing, and the printers 20 that have performed a charge process. For example, when these printers 20 are offline or not on the same network, the mobile terminal device 10 displays the printer names with the word "offline" or the like added to distinguish them from the online printers 20. The mobile terminal device 10 accepts the selection of the printer 20 that will perform the charging process described below from the displayed list of printers 20 (S111 in FIG. 9).
また、携帯端末装置10は、任意のプリンタ20をプリンタ表示部61で選択された状態で、印刷アイコン52をタッチ操作されると、プリンタ20に対する印刷命令を実行する。また、携帯端末装置10は、設定アイコン55をタッチ操作されると、プリンタ20から取得したデバイス設定等を表示する。また、携帯端末装置10は、ステータスアイコン57をタッチ操作されると、プリンタ20から取得したインク残量などの状態情報を表示する。
When the print icon 52 is touched with any printer 20 selected on the printer display section 61, the mobile terminal device 10 executes a print command for the printer 20. When the settings icon 55 is touched, the mobile terminal device 10 displays device settings and the like obtained from the printer 20. When the status icon 57 is touched, the mobile terminal device 10 displays status information obtained from the printer 20, such as the amount of ink remaining.
携帯端末装置10は、デバイスID等を受信したことに応じて、プリンタ管理テーブルPTへ各項目を記憶するプリンタ管理テーブル登録命令をプリンタ20に送信する(S23)。プリンタ20は、S23の命令を受信したことに応じて、プリンタ管理テーブルPTに、デバイスID「dv1」と、S13で検出したインク残量「ink1」と、デバイス設定「dc1」とを対応付けて登録(記憶)する(S27)。また、プリンタ20は、プリンタ管理テーブルPTの印刷可能枚数pr1を、初期導入後のブランク状態のまま維持する。また、プリンタ20は、プリンタ管理テーブルPTのアクティベーション情報をオフ状態に設定する。プリンタ20は、同期日時「cd1」を、ブランク状態に設定する。これにより、プリンタ管理テーブルPTの登録が完了する。尚、プリンタ20は、ベンダから発送される段階でデバイスIDやデバイス設定をプリンタ管理テーブルPTに設定された状態でも良い。
In response to receiving the device ID and the like, the mobile terminal device 10 sends a printer management table registration command to the printer 20 to store each item in the printer management table PT (S23). In response to receiving the command of S23, the printer 20 registers (stores) the device ID "dv1", the remaining ink amount "ink1" detected in S13, and the device setting "dc1" in the printer management table PT in association with each other (S27). The printer 20 also maintains the number of printable sheets pr1 in the printer management table PT in the blank state after initial installation. The printer 20 also sets the activation information in the printer management table PT to an off state. The printer 20 sets the synchronization date and time "cd1" to a blank state. This completes the registration in the printer management table PT. Note that the device ID and device settings of the printer 20 may be set in the printer management table PT at the stage of shipment from the vendor.
また、携帯端末装置10は、S29において、入力I/F15を介してユーザ情報を受け付ける。携帯端末装置10は、例えば、アプリケーション12Bのユーザ登録が未登録であった場合や、プリンタ20のユーザ登録が未登録であった場合、S29のユーザ情報の受付を実行する。このユーザ情報は、例えば、アプリケーション12Bにログインするためのログインユーザの情報や、プリンタ20を使用するユーザに関する情報であり、ユーザID、パスワード、ユーザの氏名、住所、年齢、性別、職業、連絡先のメールアドレス、料金の支払い方法等である。尚、ユーザ情報を受け付ける処理は、初期デバイス設定処理時に限らない。例えば、ユーザ情報の登録を、初期デバイス設定処理前(初めてアプリケーション12Bを起動する際など)に実行しも良く、後述するチャージ処理や交換処理を実行する際に実行しても良い。
In addition, in S29, the mobile terminal device 10 accepts user information via the input I/F 15. For example, when the user registration of the application 12B is not registered, or when the user registration of the printer 20 is not registered, the mobile terminal device 10 executes the acceptance of user information in S29. This user information is, for example, information on the login user for logging in to the application 12B, or information on the user who uses the printer 20, such as the user ID, password, user name, address, age, sex, occupation, contact email address, and payment method. Note that the process of accepting user information is not limited to the initial device setting process. For example, the registration of user information may be executed before the initial device setting process (such as when the application 12B is started for the first time), or may be executed when executing the charge process or exchange process described below.
携帯端末装置10は、S29でユーザ情報を受け付けると、受け付けたユーザ情報をサーバ30へ送信する(S31)。サーバ30は、携帯端末装置10からユーザ情報を取得すると、取得したユーザ情報をサーバ記憶部32Bに記憶する(S33)。これにより、プリンタ20を使用するユーザの情報がサーバ30に登録される。サーバ30は、サーバ管理テーブルSTとは別にユーザ情報を管理しても良く、サーバ管理テーブルSTのデバイスIDに関連付けて管理しても良い。
When the mobile terminal device 10 accepts the user information in S29, it transmits the accepted user information to the server 30 (S31). When the server 30 acquires the user information from the mobile terminal device 10, it stores the acquired user information in the server storage unit 32B (S33). In this way, information on the user who uses the printer 20 is registered in the server 30. The server 30 may manage the user information separately from the server management table ST, or may manage the user information in association with the device ID in the server management table ST.
また、プリンタ20は、S27を実行しプリンタ管理テーブルPTの登録を完了させると、サーバ30へアクセスし、登録処理を実行する(S35)。プリンタ20は、例えば、予めプリンタ記憶部26Bに記憶されたサーバ30のURLへアクセスする。プリンタ20は、サーバ30へのアクセスに成功すると、サーバ30との間で通信可能な状態となる(S35)。また、プリンタ20は、例えば、デバイスID、印刷可能枚数、アクティベーション情報の登録を依頼する命令を、サーバ30へ送信する。サーバ30は、受信したデバイスIDについて、予め登録されたベンダのシリアル番号との照合を実行し、一致するデバイスIDを検出すると、受信したデバイスID等の情報を関連付けてサーバ管理テーブルSTに登録する(S35)。尚、プリンタ20は、サーバ30のアクセス先の情報を、携帯端末装置10から取得しても良い。また、プリンタ登録処理(S35)を、携帯端末装置10が実行しても良い。
After completing the registration in the printer management table PT by executing S27, the printer 20 accesses the server 30 and executes the registration process (S35). The printer 20 accesses, for example, the URL of the server 30 stored in the printer storage unit 26B in advance. When the printer 20 successfully accesses the server 30, it becomes capable of communicating with the server 30 (S35). The printer 20 also transmits, for example, a command to the server 30 requesting the registration of the device ID, the number of printable sheets, and activation information. The server 30 checks the received device ID against the serial number of the vendor registered in advance, and when it detects a matching device ID, it associates the received device ID and other information and registers it in the server management table ST (S35). The printer 20 may obtain information on the access destination of the server 30 from the mobile terminal device 10. The printer registration process (S35) may also be executed by the mobile terminal device 10.
また、ユーザは、S29のユーザ情報の登録を完了させると、サービスの申し込みを実行する(S37)。例えば、ユーザは、入力I/F15を操作して、登録したユーザ情報、S19で選択したプリンタ20の情報、選択したプリンタ20について料金を支払う方法などの登録を、サーバ30に対して実行する。料金を支払う方法は、S31で登録した支払い方法から選択しても良く、改めてクレジットカードの情報等を新規に登録しても良い。これにより、ユーザ情報、課金方法が、課金対象のプリンタ20の情報(デバイスIDなど)と関連付けられサーバ30に登録される。
After completing the registration of the user information in S29, the user applies for the service (S37). For example, the user operates the input I/F 15 to register the registered user information, information about the printer 20 selected in S19, and the method of paying for the selected printer 20, etc., to the server 30. The method of payment may be selected from the payment methods registered in S31, or new information such as credit card information may be registered. As a result, the user information and billing method are associated with information about the printer 20 to be billed (such as the device ID), and are registered in the server 30.
また、サーバ30は、サーバ管理テーブルSTへの登録が初登録であるプリンタ20に対して、所定の印刷可能枚数(例えば、2000枚)を初回チャージとしてチャージする(S39)。例えば、サーバ30は、S37によってサービスの申し込みが完了したユーザで、且つ、サーバ管理テーブルSTへの登録が初登録であるプリンタ20のデバイスIDに関連付けられた印刷可能枚数について、所定の枚数を自動で初回チャージしても良い。あるいは、サーバ30は、初回チャージの実行の有無を、携帯端末装置10を介してユーザに確認しても良い(S39)。サーバ30は、初回のチャージ処理が完了すると、チャージの完了通知を携帯端末装置10へ送信する(S41)。尚、初回チャージの印刷可能枚数を、ベンダからユーザにプリンタ20を送付する時点で、プリンタ管理テーブルPTに設定しても良い。
The server 30 also charges the printer 20, which is registered for the first time in the server management table ST, with a predetermined number of printable sheets (e.g., 2,000 sheets) as an initial charge (S39). For example, the server 30 may automatically charge a predetermined number of printable sheets for the first time for a user who has completed the service application in S37 and is associated with the device ID of the printer 20, which is registered for the first time in the server management table ST. Alternatively, the server 30 may check with the user via the mobile terminal device 10 whether or not the initial charge has been performed (S39). When the initial charge process is completed, the server 30 sends a charge completion notification to the mobile terminal device 10 (S41). The printable sheet number for the initial charge may be set in the printer management table PT at the time the printer 20 is sent from the vendor to the user.
携帯端末装置10は、S41の完了通知を受信すると、初回チャージの印刷可能枚数を、サーバ30との間で同期させる同期開始命令を、プリンタ20に送信する(S43)。尚、携帯端末装置10は、完了通知を受信したことをディスプレイ14に表示して、プリンタ20に同期を実行させるか、ユーザの命令を受け付けても良い。
When the mobile terminal device 10 receives the completion notification of S41, it sends a synchronization start command to the printer 20 to synchronize the number of printable sheets for the initial charge with the server 30 (S43). The mobile terminal device 10 may display on the display 14 that it has received the completion notification and cause the printer 20 to execute synchronization, or may accept a command from the user.
プリンタ20は、S43の同期開始命令を受信すると、サーバ30との間で、印刷可能枚数を同期する処理を実行する(S45)。プリンタ20は、例えば、S39の初回チャージでチャージされた印刷可能枚数をサーバ30へ問い合わせる。サーバ30は、デバイスIDに基づいて、初回チャージされた印刷可能枚数を、プリンタ20へ応答する。プリンタ20は、サーバ30から取得した印刷可能枚数で、プリンタ管理テーブルPTの印刷可能枚数を上書きすることで、印刷可能枚数の同期処理を実行する。プリンタ20は、同期処理を完了させると、プリンタ管理テーブルPTの同期日時「cd1」を、現在の日時に更新する。尚、S45の同期処理を開始する条件は、上記した携帯端末装置10からプリンタ20への同期開始命令の送信に限らない。例えば、プリンタ20は、入力I/F15に対する所定の操作入力に基づいて同期処理を開始しても良い。
When the printer 20 receives the synchronization start command in S43, it executes a process to synchronize the number of printable sheets with the server 30 (S45). For example, the printer 20 inquires of the server 30 about the number of printable sheets charged in the initial charge in S39. The server 30 responds to the printer 20 with the number of printable sheets charged initially based on the device ID. The printer 20 executes the synchronization process of the number of printable sheets by overwriting the number of printable sheets in the printer management table PT with the number of printable sheets acquired from the server 30. When the printer 20 completes the synchronization process, it updates the synchronization date and time "cd1" in the printer management table PT to the current date and time. Note that the condition for starting the synchronization process in S45 is not limited to the transmission of the synchronization start command from the mobile terminal device 10 to the printer 20 described above. For example, the printer 20 may start the synchronization process based on a specified operation input to the input I/F 15.
サーバ30は、S45の同期処理を完了させると、プリンタ20を印刷が可能な状態へ移行させる設定を行う(S47)。サーバ30は、サーバ管理テーブルSTにおいて、S39で初回チャージを完了させたプリンタ20のデバイスIDに関連付けられたアクティベーション情報をオン状態(図3の「○」)にする。サーバ30は、サーバ管理テーブルSTのアクティベーション情報を更新すると、アクティベーション情報をオン状態にするアクティベーション命令を、プリンタ20へ送信する(S49)。プリンタ20は、S49のアクティベーション命令を、サーバ30から受信すると、自装置のプリンタ管理テーブルPTのアクティベーション情報をオン状態にする。これにより、プリンタ20は、携帯端末装置10から受信した印刷データ12C等を印刷可能な状態となる。尚、サーバ30は、サーバ管理テーブルSTの交換識別情報の初期値として、オフ状態に設定する。
When the server 30 completes the synchronization process of S45, it sets the printer 20 to a state where it can print (S47). In the server management table ST, the server 30 sets the activation information associated with the device ID of the printer 20 that completed the initial charge in S39 to the ON state ("O" in FIG. 3). When the server 30 updates the activation information in the server management table ST, it sends an activation command to the printer 20 to set the activation information to the ON state (S49). When the printer 20 receives the activation command of S49 from the server 30, it sets the activation information in its own printer management table PT to the ON state. This makes the printer 20 ready to print the print data 12C etc. received from the mobile terminal device 10. The server 30 sets the initial value of the exchange identification information in the server management table ST to the OFF state.
プリンタ20は、アクティベーション情報をオン状態にすると、完了通知を携帯端末装置10へ送信する(S50)。携帯端末装置10は、S50の完了通知を受信すると、例えば、メニュー画面51に、印刷可能な状態になったことを表示する。尚、上記した図4に示す初期デバイス設定処理の内容は、一例である。例えば、プリンタ20へ追加で印刷可能枚数をチャージする予定がない場合、ユーザは、ユーザ情報の登録、クレジットカードの登録等を実行しなくとも良い。この場合、初回チャージの印刷可能枚数だけプリンタ20にチャージしても良い。また、後述する交換後のプリンタ20に対する初期デバイス設定処理を実行する場合、ユーザ情報の登録や、初回チャージを実行しなくとも良い。また、プリンタ20は、ベンダや製造工場から出荷される時点で、初回チャージ分等の印刷可能枚数がチャージされていても良い。また、サーバ30は、所定のタイミング、例えば、プリンタ20から初めて接続されサーバ管理テーブルSTに登録するタイミングなどに、チャージ行為とは関係なく、印刷可能枚数をプリンタ20に設定しても良い。
When the printer 20 sets the activation information to the ON state, it sends a completion notification to the mobile terminal device 10 (S50). When the mobile terminal device 10 receives the completion notification of S50, for example, the menu screen 51 displays that the printer is ready to print. The contents of the initial device setting process shown in FIG. 4 are only an example. For example, if there is no plan to charge the printer 20 with an additional printable number, the user does not need to register user information or register a credit card. In this case, the printer 20 may be charged with the printable number of the initial charge. In addition, when performing the initial device setting process for the replaced printer 20 described later, it is not necessary to register user information or perform the initial charge. In addition, the printer 20 may be charged with the printable number of the initial charge or the like at the time of shipping from the vendor or manufacturing factory. In addition, the server 30 may set the printable number in the printer 20 regardless of the charge action at a predetermined timing, for example, at the timing when the printer 20 is connected for the first time and registered in the server management table ST.
また、携帯端末装置10は、S43で送信した同期開始命令をプリンタ20に送信できたか否かを判断しても良い(S44)。携帯端末装置10は、S43の命令を送信した後、所定時間だけ経過してもS50の完了通知を受信できない場合、同期開始命令を送信できていないと判断しても良い。例えば、ユーザが、LANのネットワークの範囲外にいる場合、携帯端末装置10からプリンタ20への同期開始命令の送信が困難となる。また、プリンタ20の電源が切られていた場合などにも、同期開始命令の送信が困難となる。携帯端末装置10は、例えば、S50の完了通知を受信できない場合、プリンタ20に対する操作を実行して同期処理を開始する必要があることをユーザに報知する報知処理を実行しても良い(S46)。例えば、携帯端末装置10は、「プリンタ20の押しボタンスイッチを3秒間押して同期処理を実行して下さい」などの文字をユーザI/F27のタッチパネルに表示しても良い。そして、プリンタ20は、押しボタンスイッチに対する3秒間の押下に基づいて、同期処理を再度実行しても良い。
The mobile terminal device 10 may also determine whether the synchronization start command sent in S43 has been sent to the printer 20 (S44). If the mobile terminal device 10 cannot receive the completion notification of S50 even after a predetermined time has elapsed after sending the command of S43, it may determine that the synchronization start command has not been sent. For example, if the user is outside the range of the LAN network, it is difficult to send the synchronization start command from the mobile terminal device 10 to the printer 20. Also, if the printer 20 is turned off, it is difficult to send the synchronization start command. For example, if the mobile terminal device 10 cannot receive the completion notification of S50, it may execute a notification process to notify the user that it is necessary to perform an operation on the printer 20 to start the synchronization process (S46). For example, the mobile terminal device 10 may display text such as "Press the push button switch of the printer 20 for 3 seconds to execute the synchronization process" on the touch panel of the user I/F 27. The printer 20 may then execute the synchronization process again based on the push button switch being pressed for three seconds.
(印刷処理)
次に、携帯端末装置10が実行する印刷処理について、図6に示すフローチャートを用いて説明する。印刷処理は、プリンタ20に印刷を実行させる処理である。
まず、S51において、携帯端末装置10は、印刷実行操作がされたか否かを判断する。印刷実行操作は、ユーザによるメニュー画面51の印刷アイコン52への操作である。印刷実行操作がされたことに応じて(S51:YES)ディスプレイ14に表示される印刷実行画面(図示省略)において、印刷に使用される用紙の枚数などが指定される。以下、印刷実行画面において指定された用紙の枚数を印刷指定枚数と記載する。
(Printing process)
Next, the print process executed by the mobile terminal device 10 will be described with reference to the flowchart shown in Fig. 6. The print process is a process for causing the printer 20 to execute printing.
First, in S51, the mobile terminal device 10 determines whether or not a print execution operation has been performed. The print execution operation is an operation by the user on the print icon 52 on the menu screen 51. In response to the print execution operation being performed (S51: YES), the number of sheets of paper to be used for printing and the like are specified on a print execution screen (not shown) displayed on the display 14. Hereinafter, the number of sheets of paper specified on the print execution screen will be referred to as the designated number of sheets to print.
携帯端末装置10は、印刷アイコン52が操作されない場合、S51で否定判断し(S51:NO)、S51を繰り返し実行する。一方、携帯端末装置10は、印刷アイコン52が操作されたことに応じて(S51:YES)、プリンタ20から印刷可能枚数及びアクティベーション情報を取得する(S53)。次に、S55において、携帯端末装置10は、S53で取得した印刷可能枚数が印刷指定枚数以上であるか否かを判断する。携帯端末装置10は、印刷可能枚数が印刷指定枚数より少ない場合(S55:NO)、印刷処理を中止する(S57)。この場合、後述する印刷可能枚数のチャージ処理を促す旨がディスプレイ14に表示される。一方、携帯端末装置10は、印刷可能枚数が印刷指定枚数以上である場合、(S55:YES)、S53で取得したアクティベーション情報がオン状態であるか否かを判断する(S59)。尚、印刷可能枚数と印刷指定枚数の判断は、携帯端末装置10以外の装置、例えば、プリンタ20が実行しても良い。例えば、携帯端末装置10は、S73で印刷可能枚数を要求せず、印刷指定枚数との比較も実施せずに、印刷命令を送信しても良い。そして、プリンタ20は、携帯端末装置10から受信した印刷命令の印刷指定枚数より印刷可能枚数が少ない場合、印刷を中止しても良い。
If the print icon 52 is not operated, the mobile terminal device 10 makes a negative judgment in S51 (S51: NO) and repeats S51. On the other hand, in response to the operation of the print icon 52 (S51: YES), the mobile terminal device 10 acquires the number of printable sheets and activation information from the printer 20 (S53). Next, in S55, the mobile terminal device 10 judges whether the number of printable sheets acquired in S53 is equal to or greater than the number of sheets designated for printing. If the number of printable sheets is less than the number of sheets designated for printing (S55: NO), the mobile terminal device 10 cancels the printing process (S57). In this case, a message is displayed on the display 14 prompting the user to perform a charge process for the number of printable sheets, which will be described later. On the other hand, if the number of printable sheets is equal to or greater than the number of sheets designated for printing (S55: YES), the mobile terminal device 10 judges whether the activation information acquired in S53 is in the ON state (S59). The determination of the number of printable sheets and the number of sheets specified to be printed may be performed by a device other than the mobile terminal device 10, such as the printer 20. For example, the mobile terminal device 10 may send a print command without requesting the number of printable sheets in S73 and without comparing it with the number of sheets specified to be printed. The printer 20 may then stop printing if the number of printable sheets is less than the number of sheets specified to be printed in the print command received from the mobile terminal device 10.
携帯端末装置10は、アクティベーション情報がオフ状態であることに応じて(S59:NO)、S57にて印刷処理を中止する。この場合、アクティベーション情報がオフ状態であるため、初期デバイス設定処理を促す旨がディスプレイ14に表示される。一方、携帯端末装置10は、アクティベーション情報がオン状態であることに応じて(S59:YES)、S65を実行する。S65にて、携帯端末装置10は、印刷命令をプリンタ20に送信して、プリンタ20に印刷を実行させる。印刷命令の情報は、ユーザによる印刷実行操作によって指定された印刷の設定に関する情報であり、具体的には、印刷データ12C、印刷指定枚数や色調などの情報である。
When the activation information is OFF (S59: NO), the mobile terminal device 10 stops the print process in S57. In this case, since the activation information is OFF, a message prompting the user to perform the initial device setting process is displayed on the display 14. On the other hand, when the activation information is ON (S59: YES), the mobile terminal device 10 executes S65. In S65, the mobile terminal device 10 sends a print command to the printer 20 and causes the printer 20 to execute printing. The information in the print command is information about the print settings specified by the user's print execution operation, and specifically, information such as the print data 12C, the specified number of copies to be printed, and color tone.
次に、S67にて、携帯端末装置10は、印刷が完了したか否かを判断する。携帯端末装置10は、印刷完了通知をプリンタ20から受信するまでの間、S67で否定判断し(S67:NO)、印刷完了通知を受信すると(S67:YES)、印刷可能枚数をプリンタ20から取得する(S69)。プリンタ20は、印刷を実行すると、印刷枚数に応じて印刷可能枚数を減算する。携帯端末装置10は、印刷完了通知を受信すると、減算後の印刷可能枚数をプリンタ20から取得し、端末記憶部12の情報を更新し、図6に示す処理を終了する。例えば、携帯端末装置10は、メニュー画面51のステータスアイコン57の操作に応じて表示する印刷可能枚数や、印刷アイコン52の操作に応じて表示する印刷画面の印刷可能枚数の情報として、取得した更新後の情報を用いる。尚、携帯端末装置10は、印刷完了通知に応じて、インク残量の情報などの他の情報をプリンタ20から取得して更新しても良い。また、携帯端末装置10は、印刷可能枚数等の情報をプリンタ20から取得しなくとも良い。例えば、携帯端末装置10は、印刷可能枚数の情報をサーバ30から取得し表示等しても良い。
Next, in S67, the mobile terminal device 10 judges whether printing is completed. The mobile terminal device 10 judges negative in S67 (S67: NO) until it receives a print completion notification from the printer 20, and when it receives a print completion notification (S67: YES), it acquires the number of printable sheets from the printer 20 (S69). When the printer 20 executes printing, it subtracts the number of printable sheets according to the number of printed sheets. When the mobile terminal device 10 receives a print completion notification, it acquires the number of printable sheets after subtraction from the printer 20, updates the information in the terminal storage unit 12, and ends the process shown in FIG. 6. For example, the mobile terminal device 10 uses the acquired updated information as the number of printable sheets displayed in response to the operation of the status icon 57 on the menu screen 51, and the number of printable sheets on the print screen displayed in response to the operation of the print icon 52. In addition, the mobile terminal device 10 may acquire other information such as the remaining ink amount information from the printer 20 in response to the print completion notification and update it. Furthermore, the mobile terminal device 10 does not need to obtain information such as the number of printable sheets from the printer 20. For example, the mobile terminal device 10 may obtain information on the number of printable sheets from the server 30 and display the information.
(印刷処理における印刷システム1の動作)
次に、上述した印刷処理における印刷システム1の動作について図7を用いて説明する。一例として、印刷指定枚数に対して印刷可能枚数が十分にある状態であり、アクティベーション情報がオン状態である場合について説明する。
(Operation of Printing System 1 in Printing Process)
Next, the operation of the printing system 1 in the above-mentioned printing process will be described with reference to Fig. 7. As an example, a case will be described in which the number of printable sheets is sufficient for the number of sheets designated to be printed and the activation information is in an ON state.
S71では、携帯端末装置10は、ユーザによる印刷実行操作を受け付ける(図6のS51でYES)。S73では、携帯端末装置10は、印刷実行操作を受け付けたことに応じて、印刷可能枚数を取得するための印刷可能枚数要求、及び、アクティベーション情報を取得するためのアクティベーション情報要求をプリンタ20に送信する。
In S71, the mobile terminal device 10 accepts a print execution operation by the user (YES in S51 in FIG. 6). In S73, in response to accepting the print execution operation, the mobile terminal device 10 sends to the printer 20 a printable number request to acquire the printable number of sheets and an activation information request to acquire activation information.
S75では、プリンタ20は、携帯端末装置10の要求に応じて、プリンタ管理テーブルPTに記憶されている印刷可能枚数及びアクティベーション情報を送信する。S77では、携帯端末装置10は、プリンタ20から印刷可能枚数及びアクティベーション情報を取得したことに応じて(図6のS53)、印刷可能枚数及びアクティベーション情報を確認する(図6のS55、S59)。S79では、携帯端末装置10は、印刷可能枚数が印刷指定枚数以上であること(S55:YES)、及びアクティベーション情報がオン状態であること(S59:YES)に応じて、印刷命令をプリンタ20へ送信する(S65)。例えば、携帯端末装置10は、印刷データ12Cを送信して、印刷データ12Cの印刷をプリンタ20に命令する。尚、携帯端末装置10側で、印刷可能枚数が印刷指定枚数以上であるか否かの判断や、アクティベーション情報がオン状態であるか否かの判断を実行しなくとも良い。例えば、プリンタ20が、印刷可能枚数等を判断して、エラーを携帯端末装置10へ通知しても良い。
In S75, the printer 20 transmits the number of printable sheets and activation information stored in the printer management table PT in response to a request from the mobile terminal device 10. In S77, the mobile terminal device 10 confirms the number of printable sheets and the activation information (S55, S59 in FIG. 6) in response to acquiring the number of printable sheets and the activation information from the printer 20 (S53 in FIG. 6). In S79, the mobile terminal device 10 transmits a print command to the printer 20 in response to the number of printable sheets being equal to or greater than the designated number of prints (S55: YES) and the activation information being in an ON state (S59: YES). For example, the mobile terminal device 10 transmits print data 12C to instruct the printer 20 to print the print data 12C. It is not necessary for the mobile terminal device 10 to determine whether the number of printable sheets is equal to or greater than the designated number of prints or whether the activation information is in an ON state. For example, the printer 20 may determine the number of pages that can be printed and notify the mobile terminal device 10 of the error.
S81では、プリンタ20は、サーバ30との間で通信可能であるか否かを判断する。ここで、例えば、ルータ2の故障、ネットワークの設定の変更、サーバ30の不具合などによって、サーバ30と通信できない場合、プリンタ20は、印刷可能枚数をサーバ30と同期することができない。印刷システム1では、印刷可能枚数をデバイスIDと関連付けてサーバ30で管理しているため、通信不能の状態でプリンタ20の印刷を許可することは不正使用などが発生する可能性があり、好ましくない。一方で、上記したネットワーク障害などが発生した場合に、一律にプリンタ20の印刷を禁止すると、ユーザビリティの低下を招く虞がある。
In S81, the printer 20 determines whether or not it is able to communicate with the server 30. If the printer 20 is unable to communicate with the server 30 due to, for example, a failure of the router 2, a change in the network settings, or a malfunction of the server 30, the printer 20 cannot synchronize the printable number with the server 30. In the printing system 1, the printable number is managed by the server 30 in association with the device ID, so allowing the printer 20 to print when communication is unavailable is undesirable as it may lead to unauthorized use. On the other hand, if the printer 20 is uniformly prohibited from printing when the above-mentioned network failure occurs, it may lead to a decrease in usability.
そこで、本実施例のプリンタ20は、S81において、サーバ30と通信可能であると判断すると(S81:YES)、S85において、印刷部25を制御して印刷を実行する。プリンタ20は、印刷の実行を完了させると、プリンタ管理テーブルPTの印刷可能枚数を更新する(S87)。具体的には、プリンタ20は、印刷の実行に使用した用紙の枚数だけ印刷可能枚数から減算する。プリンタ20は、印刷を完了したことに応じて、その旨を示す印刷完了通知を携帯端末装置10に送信する(S89)。
In this embodiment, when the printer 20 determines in S81 that it is able to communicate with the server 30 (S81: YES), it controls the printing unit 25 to execute printing in S85. When the printer 20 completes the printing, it updates the number of printable sheets in the printer management table PT (S87). Specifically, the printer 20 subtracts the number of sheets used in the printing from the number of printable sheets. When the printer 20 has completed the printing, it sends a print completion notification to the mobile terminal device 10 indicating this (S89).
一方、プリンタ20は、サーバ30と通信できないと判断した場合(S81:NO)、オフライン時印刷可能条件を満たすか否かを判断する(S83)。このオフライン時印刷可能条件は、上記したユーザビリティを確保するために、サーバ30と通信できないオフライン状態でも、印刷を許可する条件である。プリンタ20は、オフライン時印刷可能条件を満たすと判断すると(S83:YES)、S81で肯定した場合と同様に、S85で印刷を実行して、S87以降の処理を実行する。尚、プリンタ20は、S83のオフライン時印刷可能条件を判断しなくとも良い。例えば、プリンタ20は、サーバ30と通信可能であるか否かに係わらず、印刷可能枚数の範囲で印刷を実行しても良い。
On the other hand, if the printer 20 determines that it cannot communicate with the server 30 (S81: NO), it determines whether the offline printable conditions are met (S83). These offline printable conditions are conditions that allow printing even in an offline state where communication with the server 30 is not possible, in order to ensure the usability described above. If the printer 20 determines that the offline printable conditions are met (S83: YES), it executes printing in S85, as in the case where S81 is positive, and executes the processes from S87 onwards. Note that the printer 20 does not have to determine the offline printable conditions in S83. For example, the printer 20 may execute printing within the range of the printable number of sheets, regardless of whether it can communicate with the server 30.
オフライン時印刷可能条件は、例えば、オフライン状態のままで印刷しても良い印刷の上限枚数である。この場合、プリンタ20は、S81で否定判断しても、オフライン状態で印刷した累積の印刷枚数が上限枚数に到達するまでの間、S83で肯定判断する。あるいは、オフライン時印刷可能条件は、オフラインの継続時間の閾値である。この場合、プリンタ20は、S81で否定判断しても、オフライン状態の継続時間が閾値に到達するまでの間、S83で肯定判断しても良い。
The offline printing condition is, for example, the upper limit of the number of pages that can be printed while in the offline state. In this case, even if the printer 20 makes a negative determination in S81, it will make a positive determination in S83 until the cumulative number of pages printed in the offline state reaches the upper limit. Alternatively, the offline printing condition is a threshold for the duration of the offline state. In this case, even if the printer 20 makes a negative determination in S81, it may make a positive determination in S83 until the duration of the offline state reaches the threshold.
また、プリンタ20は、S89で印刷完了通知を送信すると、S87で更新した後の印刷可能枚数を携帯端末装置10へ送信する(S91)。また、プリンタ20は、印刷可能枚数を同期させる同期命令を、サーバ30へ送信する(S93)。プリンタ20は、S87で更新した後の印刷可能枚数、即ち、印刷処理により減算した後の印刷可能枚数を、サーバ30へ送信する。尚、プリンタ20は、サーバ30との間で通信できない状態である場合、所定の時間だけ待機した後に、再度、同期命令をサーバ30へ送信しても良い。
After sending the print completion notification in S89, the printer 20 sends the number of printable sheets updated in S87 to the mobile terminal device 10 (S91). The printer 20 also sends a synchronization command to the server 30 to synchronize the number of printable sheets (S93). The printer 20 sends the number of printable sheets updated in S87, i.e., the number of printable sheets after subtraction by the printing process, to the server 30. Note that if the printer 20 is unable to communicate with the server 30, it may wait a predetermined time and then send the synchronization command to the server 30 again.
サーバ30は、同期命令をプリンタ20から受信すると、サーバ管理テーブルSTにおいて、送信元のプリンタ20のデバイスIDに対応する印刷可能枚数を、受信した印刷可能枚数で更新(上書き)する(S95)。これにより、サーバ管理テーブルSTの印刷可能枚数が、印刷実行後のプリンタ20の印刷可能枚数に一致する。サーバ30は、S95の更新処理を完了させると、完了した旨の通知をプリンタ20へ送信する(S97)。プリンタ20は、S97の完了通知を受信すると、プリンタ管理テーブルPTの同期日時を、現在の日時に更新する(S99)。プリンタ20は、同期日時を更新すると、同期が完了した旨の通知を、携帯端末装置10へ送信する(S101)。
When the server 30 receives a synchronization command from the printer 20, it updates (overwrites) the printable number in the server management table ST that corresponds to the device ID of the printer 20 that sent the command with the received printable number (S95). As a result, the printable number in the server management table ST matches the printable number of the printer 20 after printing has been executed. When the server 30 completes the update process of S95, it sends a completion notification to the printer 20 (S97). When the printer 20 receives the completion notification of S97, it updates the synchronization date and time in the printer management table PT to the current date and time (S99). When the printer 20 has updated the synchronization date and time, it sends a notification to the mobile terminal device 10 that synchronization has been completed (S101).
尚、上記した印刷処理の内容は、一例である。例えば、プリンタ20は、用紙を一枚ずつ印刷するごとに印刷可能枚数の同期処理を実行しても良く、複数の印刷ジョブをまとめて受け付けた場合、複数の印刷ジョブを全て完了させた後に、同期処理を実行しても良い。また、プリンタ20は、印刷可能枚数の同期処理を、携帯端末装置10を介して実行しても良い。例えば、プリンタ20は、サーバ30と通信できない場合、印刷可能枚数と、同期を要求する命令を携帯端末装置10へ送信する。携帯端末装置10は、プリンタ20から命令を受信しことに基づいて、サーバ30との間で印刷可能枚数の同期処理を実行しても良い。また、プリンタ20は、サーバ30と通信できない場合、オフライン時印刷可能条件が満たされる間、携帯端末装置10からの印刷命令に基づいて印刷を実行しても良い。
The above-mentioned printing process is an example. For example, the printer 20 may execute the synchronization process of the printable number of sheets each time a sheet of paper is printed, or, when multiple print jobs are accepted at once, may execute the synchronization process after all the multiple print jobs are completed. The printer 20 may also execute the synchronization process of the printable number of sheets via the mobile terminal device 10. For example, when the printer 20 cannot communicate with the server 30, it transmits the printable number of sheets and a command requesting synchronization to the mobile terminal device 10. The mobile terminal device 10 may execute the synchronization process of the printable number of sheets with the server 30 based on receiving the command from the printer 20. When the printer 20 cannot communicate with the server 30, it may execute printing based on a print command from the mobile terminal device 10 while the offline printable condition is satisfied.
(非印刷時同期処理)
次に、プリンタ20が実行する非印刷時同期処理について図8に示すフローチャートを用いて説明する。非印刷時同期処理は、印刷を実行していない状態において、プリンタ20がサーバ30との間で印刷可能枚数の同期を実行する処理である。プリンタ20は、例えば、プリンタ管理テーブルPTのアクティベーション情報をオン状態にすると、電源をONされた状態において、図8に示す非印刷時同期処理を実行する。
(Non-printing synchronous processing)
Next, the non-printing synchronization process executed by the printer 20 will be described with reference to the flowchart shown in Fig. 8. The non-printing synchronization process is a process in which the printer 20 synchronizes the number of printable sheets with the server 30 when no printing is being performed. For example, when the activation information in the printer management table PT is set to ON, the printer 20 executes the non-printing synchronization process shown in Fig. 8 when the power is ON.
まず、プリンタ20は、非印刷時同期処理を開始すると、S105において、プリンタ管理テーブルPTの同期日時から一定期間だけ経過したか否かを判断する。この一定期間は、同期処理を繰り返し実行する期間であり、例えば、数十分や数時間である。プリンタ20は、プリンタ管理テーブルPTの同期日時から一定期間だけ経過していない場合、即ち、前回の同期処理から一定期間だけ経過していない場合(S105:NO)、S105の判断処理を繰り返し実行する。
First, when the printer 20 starts the non-printing synchronization process, in S105, it determines whether a certain period of time has passed since the synchronization date and time in the printer management table PT. This certain period is the period during which the synchronization process is repeatedly executed, and may be, for example, several tens of minutes or several hours. If the certain period of time has not passed since the synchronization date and time in the printer management table PT, i.e., if the certain period of time has not passed since the previous synchronization process (S105: NO), the printer 20 repeatedly executes the determination process of S105.
また、プリンタ20は、同期日時から一定期間だけ経過していた場合(S105:YES)、サーバ30との間で通信可能か否かを判断する(S107)。プリンタ20は、例えば、サーバ30の所定のURLにアクセスし、正常にアクセスできた場合に、通信可能であると判断する(S107:YES)。あるいは、プリンタ20は、通信可能か否かを確認するデータをサーバ30へ送信し、サーバ30からの応答に基づいて、通信可能か否かを判断しても良い。プリンタ20は、サーバ30と通信可能である場合(S107:YES)、サーバ30との間で印刷可能枚数の同期処理を実行する(S109)。プリンタ20は、図7のS93と同様に、プリンタ管理テーブルPTの印刷可能枚数をサーバ30へ通知してサーバ管理テーブルSTの印刷可能枚数を更新する。また、プリンタ20は、同期処理を実行したため、プリンタ管理テーブルPTの同期日時を、現在の日時に更新する。プリンタ20は、図8に示す処理を終了し、S105からの処理を再度開始する。また、プリンタ20は、サーバ30と通信できない場合(S107:NO)、図8に示す処理を終了し、S105からの処理を再度開始する。その後、プリンタ20は、一定期間だけ同期が実行されなかった場合、S105で肯定判断し、同期処理を実行する。
If a certain period of time has passed since the synchronization date and time (S105: YES), the printer 20 judges whether communication with the server 30 is possible (S107). For example, the printer 20 accesses a specific URL of the server 30, and judges that communication is possible if the access is successful (S107: YES). Alternatively, the printer 20 may send data to the server 30 to confirm whether communication is possible, and judge whether communication is possible based on the response from the server 30. If the printer 20 can communicate with the server 30 (S107: YES), the printer 20 executes a synchronization process of the printable number with the server 30 (S109). The printer 20 notifies the server 30 of the printable number in the printer management table PT and updates the printable number in the server management table ST, as in S93 of FIG. 7. In addition, since the printer 20 has executed the synchronization process, the printer 20 updates the synchronization date and time in the printer management table PT to the current date and time. The printer 20 ends the process shown in FIG. 8 and restarts the process from S105. If the printer 20 cannot communicate with the server 30 (S107: NO), the printer 20 ends the process shown in FIG. 8 and restarts the process from S105. After that, if synchronization has not been performed for a certain period of time, the printer 20 makes a positive determination in S105 and executes synchronization processing.
尚、上記した非印刷時同期処理の内容は、一例である。例えば、サーバ30が主体となって同期処理を実行しても良い。サーバ30は、特定の通信ポート(TCPのハイポートなど)をプリンタ20と常時接続した状態を維持し、プリンタ20に対して定期的な通信を実行して、印刷可能枚数の同期処理を実行しても良い。例えば、サーバ30は、所定期間ごとに、同期処理を実行可能であるか否かをプリンタ20に問い合わせ、実行可能である旨の応答を受信したことに基づいてプリンタ20との間で同期処理を実行しても良い。サーバ30は、プリンタ20の同期日時と同様に、前回の同期処理から一定期間だけ経過すると、プリンタ20から印刷可能枚数を取得してサーバ管理テーブルSTの印刷可能枚数を更新しても良い。この場合、プリンタ20は、サーバ30から問い合わせを受信した際に、印刷部25による印刷を実行中又は印刷の実行予定である場合、印刷が終了するまでの間、同期処理を実行しなくとも良い。例えば、プリンタ20は、印刷中にサーバ30から問い合わせがあった場合に、同期処理を実行できない旨をサーバ30に応答しても良く、印刷が終了した後に同期処理を実行できる旨をサーバ30へ応答しても良い。
The above-mentioned content of the non-printing synchronization process is an example. For example, the server 30 may be the main body to execute the synchronization process. The server 30 may maintain a specific communication port (such as a TCP high port) constantly connected to the printer 20 and execute periodic communication with the printer 20 to execute the synchronization process of the printable number of sheets. For example, the server 30 may inquire of the printer 20 whether the synchronization process can be executed at predetermined intervals, and execute the synchronization process with the printer 20 based on receiving a response indicating that the synchronization process can be executed. The server 30 may obtain the printable number of sheets from the printer 20 and update the printable number of sheets in the server management table ST after a certain period has elapsed since the previous synchronization process, similar to the synchronization date and time of the printer 20. In this case, if the printer 20 is executing or planning to execute printing by the printing unit 25 when receiving an inquiry from the server 30, it may not execute the synchronization process until the printing is completed. For example, when the printer 20 receives an inquiry from the server 30 during printing, the printer 20 may respond to the server 30 that it cannot perform synchronization processing, or may respond to the server 30 that it can perform synchronization processing after printing is completed.
また、プリンタ20は、ユーザからの操作入力に基づいて、同期処理を実行しても良い。例えば、プリンタ20は、ユーザI/F27に対する所定の操作入力(電源ボタンの長押しなど)に基づいて、図8のS107以降の処理を実行しても良い。また、携帯端末装置10は、アプリケーション12Bに対する所定の操作入力に基づいて、プリンタ20へ同期処理を実行する命令を送信しても良い。プリンタ20は、携帯端末装置10からの同期処理の開始命令を受信したことに基づいて、例えば、図8の非印刷時同期処理を開始しても良い。この場合、携帯端末装置10は、同期処理の命令を送信した後、図4のS44、S46と同様に、命令を送信できたか否かを判断し、送信できていない場合、ユーザI/F27に対する所定の操作等を促すメッセージをディスプレイ14に表示しても良い。また、プリンタ20は、図8に示す非印刷時同期処理を実行しなくとも良い。例えば、プリンタ20は、上記した所定の操作入力や、印刷の開始前、印刷の完了後、電源投入時、省電力モードからの復帰時のうち、少なくとも1つのタイミングでサーバ30との同期処理を実行しても良い。プリンタ20は、例えば、一定時間だけ操作入力や印刷命令を受け付けなかった場合に、プリンタ20の機能の一部を制限し(ユーザI/F27のタッチパネルの非表示など)、省電力を図る省電力モードへ移行しても良い。そして、プリンタ20は、省電力モードにおいて、操作入力や印刷命令を受け付けた場合に、省電力モードから通常の状態に復帰し、復帰する際に同期処理を実行しても良い。
The printer 20 may also execute the synchronization process based on an operation input from the user. For example, the printer 20 may execute the process from S107 onward in FIG. 8 based on a predetermined operation input (such as a long press of the power button) to the user I/F 27. The mobile terminal device 10 may also send a command to execute the synchronization process to the printer 20 based on a predetermined operation input to the application 12B. The printer 20 may start the non-printing synchronization process of FIG. 8, for example, based on receiving a command to start the synchronization process from the mobile terminal device 10. In this case, after sending the command for the synchronization process, the mobile terminal device 10 may determine whether the command has been sent, similarly to S44 and S46 in FIG. 4, and if the command has not been sent, may display a message on the display 14 prompting a predetermined operation on the user I/F 27. The printer 20 may not execute the non-printing synchronization process shown in FIG. 8. For example, the printer 20 may execute synchronization processing with the server 30 at least one of the following timings: when the printer 20 receives the above-mentioned specified operation input, before printing starts, after printing is completed, when the printer is turned on, and when the printer returns from the power saving mode. For example, if the printer 20 does not receive an operation input or a print command for a certain period of time, the printer 20 may enter a power saving mode that restricts some of the functions of the printer 20 (such as hiding the touch panel of the user I/F 27) to conserve power. Then, if the printer 20 receives an operation input or a print command in the power saving mode, the printer 20 may return to the normal state from the power saving mode and execute synchronization processing when returning.
(チャージ処理)
次に、携帯端末装置10が実行するチャージ処理について図9に示すフローチャートを用いて説明する。チャージ処理は、ユーザによって印刷可能枚数に対して課金されたことに応じて、印刷可能枚数を加算する処理である。チャージ処理は、図10に示すチャージ画面71にて実行可能である。チャージ画面71は、印刷可能枚数表示部72及びチャージ枚数表示部73を備えている。印刷可能枚数表示部72は、チャージ画面71の上側に配置され、印刷可能枚数を表示する。この印刷可能枚数は、例えば、サーバ30のサーバ管理テーブルSTから取得し端末記憶部12に記憶したものを用いることができる。尚、携帯端末装置10は、プリンタ20から印刷可能枚数を取得して端末記憶部12に記憶し、印刷可能枚数表示部72の表示等に用いても良い。チャージ枚数表示部73は、チャージ画面71の下側に配置され、複数のチャージアイコン74がリスト形式にて表示される。複数のチャージアイコン74のそれぞれは、互いに異なる用紙の枚数、及び、用紙の枚数に応じた課金の額が表示さている。
(Charge process)
Next, the charging process executed by the mobile terminal device 10 will be described with reference to the flowchart shown in FIG. 9. The charging process is a process of adding the number of printable sheets in response to the user being charged for the number of printable sheets. The charging process can be executed on a charging screen 71 shown in FIG. 10. The charging screen 71 includes a printable sheet number display section 72 and a charge number display section 73. The printable sheet number display section 72 is arranged on the upper side of the charging screen 71 and displays the number of printable sheets. For example, the printable sheet number obtained from the server management table ST of the server 30 and stored in the terminal storage section 12 can be used as this printable sheet number. The mobile terminal device 10 may obtain the printable sheet number from the printer 20, store it in the terminal storage section 12, and use it for displaying the printable sheet number display section 72. The charge number display section 73 is arranged on the lower side of the charging screen 71, and displays a plurality of charge icons 74 in a list format. Each of the multiple charge icons 74 displays a different number of sheets of paper and a charge amount according to the number of sheets of paper.
図9に戻ってチャージ処理について説明する。S111において、携帯端末装置10は、チャージ画面表示処理を実行する。例えば、携帯端末装置10は、図5のメニュー画面51にて選択ボタン63を操作された後、同一ネットワーク上のプリンタ20や過去に印刷・チャージ処理を実行した(通信したことがある)プリンタ20のプリンタ名を一覧表示し、チャージ処理を実行するプリンタ20の選択を受け付ける。例えば、携帯端末装置10は、過去に印刷等したプリンタ20について、端末記憶部12に履歴情報を記憶しても良い。また、携帯端末装置10は、一覧から任意のプリンタ20が選択された状態で、図5のメニュー画面51にてステータスアイコン57が操作された後の画面でチャージ用のアイコン(図示略)を選択されると、チャージ画面71をディスプレイ14に表示する。尚、チャージ画面71の表示や図9のチャージ処理を実行するプログラムは、メニュー画面51の表示や上記した印刷処理等を実行するアプリケーションプログラムとは別のプログラムでも良い。
Returning to FIG. 9, the charge process will be described. In S111, the mobile terminal device 10 executes a charge screen display process. For example, after the selection button 63 is operated on the menu screen 51 of FIG. 5, the mobile terminal device 10 displays a list of the printer names of the printers 20 on the same network and the printers 20 that have previously executed (communicated with) printing and charge processes, and accepts the selection of the printer 20 to execute the charge process. For example, the mobile terminal device 10 may store history information in the terminal storage unit 12 for the printers 20 that have previously printed or otherwise processed. In addition, when an icon for charge (not shown) is selected on the screen after the status icon 57 is operated on the menu screen 51 of FIG. 5 with any printer 20 selected from the list, the mobile terminal device 10 displays the charge screen 71 on the display 14. Note that the program that displays the charge screen 71 and executes the charge process of FIG. 9 may be a program separate from the application program that displays the menu screen 51 and executes the above-mentioned printing process.
S113にて、携帯端末装置10は、プリンタ管理テーブルPTに記憶された印刷可能枚数を取得して、取得した印刷可能枚数を印刷可能枚数表示部72に表示させる印刷可能枚数表示処理を実行する。次に、携帯端末装置10は、チャージ操作されたか否かを判断する(S115)。チャージ操作は、ユーザによるチャージアイコン74への操作である。任意のチャージアイコン74をユーザが操作したことに応じて、携帯端末装置10は、S115にてYESと判断し、S117にて印刷可能枚数設定処理を実行する。尚、携帯端末装置10は、チャージ画面71に印刷可能枚数を表示しなくとも良い。この場合、携帯端末装置10は、プリンタ20から印刷可能枚数を取得しなくとも良い。
In S113, the mobile terminal device 10 obtains the number of printable sheets stored in the printer management table PT, and executes a printable sheet number display process to display the obtained number of printable sheets on the printable sheet number display unit 72. Next, the mobile terminal device 10 determines whether a charge operation has been performed (S115). A charge operation is an operation on the charge icon 74 by the user. In response to the user operating any charge icon 74, the mobile terminal device 10 determines YES in S115, and executes a printable sheet number setting process in S117. Note that the mobile terminal device 10 does not need to display the printable sheet number on the charge screen 71. In this case, the mobile terminal device 10 does not need to obtain the printable sheet number from the printer 20.
印刷可能枚数設定処理は、サーバ30に対して、ユーザによって操作されたチャージアイコン74に表示された用紙の枚数(以下、チャージ枚数と記載する)を、サーバ管理テーブルSTに記憶された印刷可能枚数に加算させる処理である。さらに、加算された印刷可能枚数は、同期処理によってプリンタ20のサーバ管理テーブルSTに反映される。
The printable number setting process is a process that causes the server 30 to add the number of sheets of paper displayed on the charge icon 74 operated by the user (hereinafter referred to as the charge number) to the printable number stored in the server management table ST. Furthermore, the added printable number is reflected in the server management table ST of the printer 20 by a synchronization process.
携帯端末装置10は、チャージ画面71で受け付けたプリンタ20、即ち、メニュー画面51を表示した段階で、プリンタ表示部61(図5参照)で選択されてプリンタ20のデバイスIDに対応するサーバ管理テーブルSTの印刷可能枚数に、チャージ枚数を加算させる許可量設定情報を、サーバ30に送信する(S117)。携帯端末装置10は、加算後の印刷可能枚数の同期を完了した旨のチャージ完了通知を、サーバ30から受信すると(S119)、図9に示すチャージ処理を終了する。携帯端末装置10は、例えば、ディスプレイ14のチャージ画面71を消して、メニュー画面51を表示する。
When the mobile terminal device 10 displays the printer 20 accepted on the charge screen 71, i.e., the menu screen 51, it transmits to the server 30 permission amount setting information for adding the charge number to the printable number in the server management table ST corresponding to the device ID of the printer 20 selected on the printer display unit 61 (see FIG. 5) (S117). When the mobile terminal device 10 receives a charge completion notification from the server 30 indicating that the synchronization of the printable number after the addition has been completed (S119), it ends the charge process shown in FIG. 9. For example, the mobile terminal device 10 erases the charge screen 71 on the display 14 and displays the menu screen 51.
(チャージ処理における印刷システム1の動作)
次に、上述したチャージ処理が実行された場合における印刷システム1の動作について、図11に示すシーケンス図を用いて、メニュー画面51が表示されている状態から説明する。まず、携帯端末装置10は、メニュー画面51にてチャージ画面71を表示する操作を受け付ける(S121)。携帯端末装置10は、チャージ画面71を表示し(S123、図9のS111)、印刷可能枚数要求をプリンタ20に送信する(S125)。プリンタ20は、印刷可能枚数要求を受信したことに応じて、プリンタ管理テーブルPTに記憶されている印刷可能枚数を携帯端末装置10に送信する(S127)。携帯端末装置10は、印刷可能枚数を受信したことに応じて、印刷可能枚数表示部72に印刷可能枚数を表示する(S129、図9のS113)。
(Operation of the printing system 1 in the charging process)
Next, the operation of the printing system 1 when the above-mentioned charge process is executed will be described with reference to the sequence diagram shown in FIG. 11, starting from the state where the menu screen 51 is displayed. First, the portable terminal device 10 accepts an operation to display the charge screen 71 on the menu screen 51 (S121). The portable terminal device 10 displays the charge screen 71 (S123, S111 in FIG. 9) and transmits a printable number request to the printer 20 (S125). In response to receiving the printable number request, the printer 20 transmits the printable number stored in the printer management table PT to the portable terminal device 10 (S127). In response to receiving the printable number, the portable terminal device 10 displays the printable number on the printable number display section 72 (S129, S113 in FIG. 9).
S131では、携帯端末装置10は、チャージ画面71にてチャージ操作を受け付ける(図9のS115)。S133では、携帯端末装置10は、ユーザによるチャージ操作を受け付けたことに応じて、チャージ操作されたチャージアイコン74に示されたチャージ枚数をチャージさせる許可量設定情報を、サーバ30に送信する(S133、図9のS117)。携帯端末装置10は、現在選択中のプリンタ20(例えば、プリンタ表示部61で選択されてプリンタ20)のデバイスID、選択されたチャージ枚数、加算を指示する命令を、許可量設定情報として、サーバ30へ送信する。尚、チャージ処理を実行する方法は、上記したサーバ30へ加算する命令を送信する方法に限らない。例えば、チャージの決済を実行するサーバをサーバ30とは別に設け、携帯端末装置10と決済用のサーバとの間で決済処理が実行されたことに応じて、サーバ30に対するチャージ処理が開始されてもよい。また、課金を行なう方法について、オンライン以外の方法(コンビニエンスストア支払い、窓口支払い、銀行引き落とし)など、種々の方法を用いることができる。
In S131, the mobile terminal device 10 accepts a charge operation on the charge screen 71 (S115 in FIG. 9). In S133, the mobile terminal device 10 transmits to the server 30 the permission amount setting information for charging the charge amount indicated in the charge icon 74 operated by the charge operation in response to receiving the charge operation by the user (S133, S117 in FIG. 9). The mobile terminal device 10 transmits to the server 30 the device ID of the currently selected printer 20 (for example, the printer 20 selected on the printer display unit 61), the selected charge amount, and an instruction to instruct addition as the permission amount setting information. Note that the method of executing the charge process is not limited to the above-mentioned method of transmitting an instruction to add to the server 30. For example, a server that executes the settlement of the charge may be provided separately from the server 30, and the charge process for the server 30 may be started in response to the settlement process being executed between the mobile terminal device 10 and the settlement server. In addition, various methods can be used for billing, including non-online methods (convenience store payment, payment over the counter, bank withdrawal, etc.).
また、S133において、携帯端末装置10は、許可量設定情報に、「加算を指示する命令(本願の設定命令の一例)」を含めてサーバ30へ送信したが、加算を命令する方法はこれに限らない。例えば、加算の命令コマンド(本願の設定命令の一例)と、チャージ枚数などの許可量設定情報を、別の情報としてサーバ30へ送信しても良い。あるいは、サーバ30は、チャージ枚数・デバイスIDなどの許可量設定情報だけを受信することを、チャージの命令コマンドとして解釈してチャージ処理を実行しても良い。この場合、携帯端末装置10は、許可量設定情報だけをサーバ30に送信することで、チャージを命令できる。また、携帯端末装置10は、S133の命令として、加算する命令ではなく、加算した印刷可能枚数で、現状の印刷可能枚数を上書きさせる設定命令をサーバ30へ送信しても良い。
In addition, in S133, the mobile terminal device 10 transmits the permission amount setting information including a "command to instruct addition (one example of a setting command in the present application)" to the server 30, but the method of commanding the addition is not limited to this. For example, the command command for addition (one example of a setting command in the present application) and the permission amount setting information such as the charge number may be transmitted to the server 30 as separate information. Alternatively, the server 30 may interpret the reception of only the permission amount setting information such as the charge number and device ID as a command command for charging and execute the charge process. In this case, the mobile terminal device 10 can command the charge by transmitting only the permission amount setting information to the server 30. In addition, the mobile terminal device 10 may transmit a setting command to overwrite the current printable number with the added printable number to the server 30 as the command in S133, rather than a command to add.
S135では、サーバ30は、許可量設定情報を携帯端末装置10から受信すると、サーバ管理テーブルSTにおいて、受信した許可量設定情報のデバイスIDに関連付けられたチャージ予定枚数を、チャージ枚数に更新する。例えば、サーバ30は、デバイスIDが「dv1」で、チャージ枚数が「2000枚」の許可量設定情報を受信すると、サーバ管理テーブルSTの「dv1」に関連付けられたチャージ予定枚数「cg1」を、「2000」に更新する(図3参照)。
In S135, when the server 30 receives the permission amount setting information from the mobile terminal device 10, it updates the planned charge number associated with the device ID of the received permission amount setting information in the server management table ST to the charge number. For example, when the server 30 receives the permission amount setting information with the device ID "dv1" and the charge number of "2000", it updates the planned charge number "cg1" associated with "dv1" in the server management table ST to "2000" (see FIG. 3).
S137では、サーバ30は、プリンタ20からプリンタ管理テーブルPTの印刷可能枚数を取得する処理を実行する。これは、印刷等が実行された場合、プリンタ20の印刷可能枚数が最新の情報に更新(減算)されている可能性があるためである。あるいは、別のユーザが同時期にチャージ処理を実行していた場合、プリンタ管理テーブルPTの印刷可能枚数が更新(加算)されている可能性があるためである。
In S137, the server 30 executes a process to obtain the printable number from the printer management table PT from the printer 20. This is because when printing, etc. is performed, the printable number of the printer 20 may have been updated (decremented) to the latest information. Alternatively, when another user performs a charge process at the same time, the printable number in the printer management table PT may have been updated (incremented).
サーバ30は、S137で取得した印刷可能枚数で、サーバ管理テーブルSTにおけるチャージ対象のプリンタ20の印刷可能枚数を更新する(S139)。即ち、サーバ30は、印刷可能枚数の加算を実行する前に、チャージ予定のプリンタ20の印刷可能枚数を取得し、サーバ管理テーブルSTの印刷可能枚数を最新の状態に更新する。
The server 30 updates the printable number of the printer 20 to be charged in the server management table ST with the printable number obtained in S137 (S139). That is, before adding the printable number, the server 30 obtains the printable number of the printer 20 to be charged and updates the printable number in the server management table ST to the latest state.
サーバ30は、サーバ管理テーブルSTの印刷可能枚数を更新すると、チャージ枚数をプリンタ20へ送信し、チャージ枚数の加算をプリンタ20へ要求する(S141)。プリンタ20は、サーバ30からチャージ枚数を受信すると、チャージの実行が可能な状態か否かを判断する(S143)。例えば、印刷を実行中である場合、チャージ処理中に印刷可能枚数が変動する可能性がある。このため、プリンタ20は、印刷処理中である場合、チャージを実行できないと判断し、印刷の実行が完了するまで待機する。あるいは、プリンタ20は、チャージが実行できない状態であることをサーバ30へ通知する。尚、プリンタ20は、印刷中であってもチャージを実行しても良い。
When the server 30 updates the number of printable sheets in the server management table ST, it sends the charge number to the printer 20 and requests the printer 20 to add to the charge number (S141). When the printer 20 receives the charge number from the server 30, it determines whether or not it is in a state where it can perform a charge (S143). For example, if printing is being performed, the number of printable sheets may change during the charge process. For this reason, if the printer 20 is in the middle of a print process, it determines that it cannot perform a charge and waits until the printing process is completed. Alternatively, the printer 20 notifies the server 30 that it is in a state where it cannot perform a charge. Note that the printer 20 may perform a charge even when printing is being performed.
プリンタ20は、S143でチャージを実行可能であると判断すると、チャージの準備が完了した旨を、サーバ30へ送信する(S145)。プリンタ20は、S145において、プリンタ管理テーブルPTの印刷可能枚数にS141で受信したチャージ枚数を加算した後の印刷可能枚数の値を、サーバ30へ送信する。これにより、サーバ30は、加算後の印刷可能枚数を確認することで、チャージ枚数が正常にプリンタ20に送信されていることを確認できる。サーバ30は、S145のチャージ準備完了通知を受信すると、受信した旨の応答通知をプリンタ20へ送信する(S147)。プリンタ20は、S147の応答通知を受信すると、プリンタ管理テーブルPTの印刷可能枚数にチャージ枚数を加算し、印刷可能枚数を更新する(S149)。
When the printer 20 determines in S143 that charging is possible, it notifies the server 30 that charging preparation is complete (S145). In S145, the printer 20 sends to the server 30 the value of the number of printable sheets after adding the charge number received in S141 to the number of printable sheets in the printer management table PT. This allows the server 30 to confirm that the charge number has been sent to the printer 20 correctly by checking the number of printable sheets after the addition. When the server 30 receives the charge preparation completion notification in S145, it sends a response notification to the printer 20 to that effect (S147). When the printer 20 receives the response notification in S147, it adds the charge number to the number of printable sheets in the printer management table PT and updates the number of printable sheets (S149).
また、サーバ30は、S145のチャージ準備完了通知を受信すると、サーバ管理テーブルSTにおいて、チャージ対象のプリンタ20のデバイスIDに関連付けられたチャージ予定枚数を、ゼロ枚に更新する(S151)。サーバ30は、チャージ予定枚数を更新すると、チャージ対象のプリンタ20の印刷可能枚数を、チャージ後の印刷可能枚数に更新する(S153)。
When the server 30 receives the charge preparation completion notification of S145, it updates the planned charge quantity associated with the device ID of the printer 20 to be charged in the server management table ST to zero (S151). After updating the planned charge quantity, the server 30 updates the printable quantity of the printer 20 to be charged to the printable quantity after charging (S153).
これにより、サーバ30は、プリンタ20の印刷可能枚数を確実に更新した後に、自装置のサーバ管理テーブルSTの印刷可能枚数を更新できる。例えば、サーバ30が、S141のチャージ命令をプリンタ20に送信した後、プリンタ20から応答がない段階でサーバ管理テーブルSTの印刷可能枚数を加算すると、プリンタ20の印刷可能枚数が加算されずに、チャージ予定枚数がゼロ枚となる可能性がある。その結果、図8の非印刷時同期処理によって、チャージされていないプリンタ20のプリンタ管理テーブルPTの印刷可能枚数によって、サーバ30のサーバ管理テーブルSTの印刷可能枚数が更新される可能性がある。
This allows the server 30 to reliably update the printable number of the printer 20, and then update the printable number in its own server management table ST. For example, if the server 30 sends the charge command of S141 to the printer 20 and then adds the printable number in the server management table ST before there is a response from the printer 20, the printable number of the printer 20 may not be added, and the planned charge number may become zero. As a result, the non-printing synchronization process of FIG. 8 may update the printable number in the server management table ST of the server 30 with the printable number in the printer management table PT of the uncharged printer 20.
また、サーバ30は、仮に、チャージ処理の途中でサーバ30とプリンタ20との通信が切断されたとしても、チャージ予定枚数が残っているプリンタ20に対して、再度、チャージ処理を再開することができる。一方で、仮に、プリンタ20が、S147の応答通知を受信しない前段階、例えば、S141を受信して直ぐに、プリンタ管理テーブルPTの印刷可能枚数の加算処理を実行すると、S141の通知を実行した段階でプリンタ20とサーバ30との間の通信が切断されると、チャージ予定枚数がゼロにならずに、プリンタ管理テーブルPTの印刷可能枚数だけが増加する不正行為が行われる可能性がある。そこで、サーバ30及びプリンタ20は、S145、S147の通知を行い、お互いが確実にチャージ処理を実行できる状態であることを確認した上で、互いの印刷可能枚数を加算する。これにより、印刷可能枚数の不正なチャージの発生を抑制することができる。
In addition, even if communication between the server 30 and the printer 20 is cut off during the charge process, the server 30 can resume the charge process for the printer 20 with the remaining planned charge amount. On the other hand, if the printer 20 executes the process of adding the printable number in the printer management table PT immediately after receiving S141, for example, before receiving the response notification of S147, and communication between the printer 20 and the server 30 is cut off at the stage of executing the notification of S141, there is a possibility that fraudulent activity will occur in which the planned charge amount does not become zero and only the printable number in the printer management table PT increases. Therefore, the server 30 and the printer 20 perform the notifications of S145 and S147, and after confirming that they are in a state where they can reliably execute the charge process, they add each other's printable number. This makes it possible to prevent the occurrence of fraudulent charging of the printable number.
また、S139やS153において、サーバ30は、プリンタ20から取得した印刷可能枚数で、サーバ管理テーブルSTの印刷可能枚数を更新、即ち、データの上書きを実行する。一方、S149において、プリンタ20は、サーバ30から取得したチャージ枚数を、プリンタ管理テーブルPTの印刷可能枚数に加算する。これは、本実施例では、プリンタ20が、印刷を実行して印刷可能枚数を随時更新する可能性があり、即ち、プリンタ20が最新の印刷可能枚数の情報を保持しており、初回チャージを除けば、基本的には、プリンタ20の印刷可能枚数にサーバ30の印刷可能枚数を一致させることが好ましいためである。
In addition, in S139 and S153, the server 30 updates the printable number in the server management table ST with the printable number obtained from the printer 20, i.e., overwrites the data. Meanwhile, in S149, the printer 20 adds the charge number obtained from the server 30 to the printable number in the printer management table PT. This is because, in this embodiment, the printer 20 may execute printing and update the printable number at any time, i.e., the printer 20 holds the latest information on the printable number, and it is basically preferable to make the printable number of the printer 20 match the printable number of the server 30, except for the initial charge.
プリンタ20は、S149でプリンタ管理テーブルPTの印刷可能枚数を更新すると、チャージが完了した旨の完了通知をサーバ30へ送信する(S155)。プリンタ20は、例えば、完了したことを示す情報だけを送信しても良く、チャージ枚数を加算した後の印刷可能枚数を送信しても良い。サーバ30は、S153でサーバ管理テーブルSTの印刷可能枚数を更新し、S155の完了通知を受信すると、チャージが完了した旨の通知を、携帯端末装置10へ送信する(S157)。携帯端末装置10は、チャージ完了通知を受信すると(図9のS119)、図9に示すチャージ処理を終了する。
When the printer 20 updates the number of printable sheets in the printer management table PT in S149, it sends a completion notification to the server 30 that charging is complete (S155). The printer 20 may, for example, only send information indicating completion, or may send the number of printable sheets after adding the charged number. The server 30 updates the number of printable sheets in the server management table ST in S153, and when it receives the completion notification of S155, it sends a notification to the mobile terminal device 10 that charging is complete (S157). When the mobile terminal device 10 receives the charge completion notification (S119 in FIG. 9), it ends the charge process shown in FIG. 9.
尚、上記したチャージ処理の内容は、一例である。例えば、携帯端末装置10は、S117、S133において、チャージ枚数をサーバ30へ通知せずに、チャージ枚数を加算した後の印刷可能枚数をサーバ30へ通知しても良い。サーバ30は、携帯端末装置10から受信した加算後の印刷可能枚数で、サーバ管理テーブルSTやプリンタ管理テーブルPTの印刷可能枚数を更新しても良い。また、携帯端末装置10は、チャージ枚数などの枚数をサーバ30へ送信しなくとも良い。例えば、図10に示すチャージアイコン74のそれぞれに識別番号を付与し、携帯端末装置10は、選択されたチャージアイコン74の識別番号をサーバ30へ通知しても良い。また、サーバ30は、チャージアイコン74の識別番号と、チャージ枚数とを対応付けたデータベースを備え、携帯端末装置10から受信した識別番号に基づいてチャージ枚数を特定しても良い。また、携帯端末装置10は、チャージ枚数を、2500枚などの数値で受け付けても良い。
The above-mentioned contents of the charge process are only an example. For example, the mobile terminal device 10 may notify the server 30 of the printable number after adding the charge number in S117 and S133, without notifying the server 30 of the charge number. The server 30 may update the printable number in the server management table ST or the printer management table PT with the printable number after the addition received from the mobile terminal device 10. The mobile terminal device 10 may not send the number such as the charge number to the server 30. For example, an identification number may be assigned to each of the charge icons 74 shown in FIG. 10, and the mobile terminal device 10 may notify the server 30 of the identification number of the selected charge icon 74. The server 30 may have a database in which the identification number of the charge icon 74 and the charge number are associated, and may specify the charge number based on the identification number received from the mobile terminal device 10. The mobile terminal device 10 may accept the charge number as a numerical value such as 2500.
また、印刷システム1は、印刷可能枚数を自動でチャージするオートチャージを実行しても良い。例えば、携帯端末装置10は、選択したプリンタ20について、所定の印刷可能枚数まで減った場合にチャージするチャージ枚数を、予めサーバ30へ設定しても良い。そして、サーバ30は、同期処理を実行して、プリンタ20の印刷可能枚数が所定の印刷可能枚数まで減ったことに基づいて、予め設定されたチャージ枚数だけ加算する処理をプリンタ20に実行させ、同期しても良い。この場合、オートチャージのチャージ枚数を、携帯端末装置10からサーバ30へ設定する処理は、本願の許可量設定処理の一例である。従って、本願の許可量設定処理と、記録許可量の加算処理とは、同時期に実行しなくとも良い。記録許可量をサーバ30に設定した後、オートチャージ等の一定の条件が成立した後に、記録許可量の加算処理を実行しても良い。
The printing system 1 may also perform an auto-charge function that automatically charges the number of printable sheets. For example, the mobile terminal device 10 may set in advance in the server 30 the number of sheets to be charged when the number of printable sheets of the selected printer 20 has decreased to a predetermined number of printable sheets. The server 30 may then execute a synchronization process to cause the printer 20 to execute a process of adding the preset number of sheets to the number of printable sheets of the printer 20 based on the fact that the number of printable sheets of the printer 20 has decreased to the predetermined number of printable sheets, thereby synchronizing the printer 20. In this case, the process of setting the number of sheets to be charged for auto-charge from the mobile terminal device 10 to the server 30 is an example of the permission amount setting process of the present application. Therefore, the permission amount setting process of the present application and the recording permission amount addition process do not need to be executed at the same time. After the recording permission amount is set in the server 30, the recording permission amount addition process may be executed after certain conditions such as auto-charge are met.
(申請処理)
次に、携帯端末装置10が実行する申請処理について図12に示すフローチャートを用いて説明する。申請処理は、サーバ30からの通知に基づいてプリンタ20の交換を促す旨の報知をユーザに対して行い、サーバ30に対してプリンタ20の交換を申請する処理である。例えば、携帯端末装置10は、プリンタ20による印刷等を実行するアプリケーション12Bを起動すると、図12に示す処理を開始する。尚、交換を申請するサーバは、印刷可能枚数等を管理するサーバ30とは別のサーバでも良い。
(Application Processing)
Next, the application process executed by the mobile terminal device 10 will be described with reference to the flowchart shown in Fig. 12. The application process is a process in which, based on a notification from the server 30, a notification is issued to the user urging replacement of the printer 20, and a request for replacement of the printer 20 is made to the server 30. For example, when the mobile terminal device 10 starts an application 12B that executes printing, etc. by the printer 20, the process shown in Fig. 12 is started. Note that the server that requests replacement may be a server separate from the server 30 that manages the number of printable sheets, etc.
まず、図12のS161にて、携帯端末装置10は、サーバ30から交換要求通知を受信したか否かを判断する。交換要求通知は、サーバ30から携帯端末装置10へプリンタ20の交換を促す通知である。携帯端末装置10は、交換要求通知を受信するまでの間(S161:NO)、S161の判断処理を実行し、交換要求通知を受信すると(S161:YES)、交換通知をディスプレイ14に表示する(S163)。携帯端末装置10は、交換通知を表示した後、交換受付処理を実行する(S165)。
First, in S161 of FIG. 12, the mobile terminal device 10 determines whether or not it has received a replacement request notification from the server 30. The replacement request notification is a notification from the server 30 to the mobile terminal device 10 urging the mobile terminal device 10 to replace the printer 20. The mobile terminal device 10 executes the determination process of S161 until it receives the replacement request notification (S161: NO), and when it receives the replacement request notification (S161: YES), it displays the replacement notification on the display 14 (S163). After displaying the replacement notification, the mobile terminal device 10 executes the replacement acceptance process (S165).
携帯端末装置10は、ユーザの入力I/F15に対する操作入力に基づいて交換受付処理を実行すると、交換申請通知をサーバ30へ送信し(S167)、引き継ぎコードをサーバ30から受信したか否かを判断する(S169)。携帯端末装置10は、引き継ぎコードを受信できなかった場合(S169:NO)、図12に示す処理を終了する。一方、携帯端末装置10は、引き継ぎコードを受信すると(S169:YES)、受信した引き継ぎコードをディスプレイ14に表示し(S173)、図12に示す処理を終了する。
When the mobile terminal device 10 executes the exchange acceptance process based on the user's operation input to the input I/F 15, it transmits an exchange application notification to the server 30 (S167) and determines whether or not it has received a takeover code from the server 30 (S169). If the mobile terminal device 10 has not received the takeover code (S169: NO), it ends the process shown in FIG. 12. On the other hand, when the mobile terminal device 10 receives the takeover code (S169: YES), it displays the received takeover code on the display 14 (S173) and ends the process shown in FIG. 12.
(申請処理における印刷システム1の動作)
次に、申請処理におけるユーザの作業、各装置の処理の内容について説明する。以下の説明では、説明の便宜上、交換前のプリンタ20をプリンタ20A、交換後のプリンタ20をプリンタ20B(図15参照)と称して説明する。また、プリンタ20A,20Bを総称する場合は、プリンタ20と称して説明する。
(Operation of the printing system 1 in the application process)
Next, the user's work in the application process and the contents of the processing of each device will be described. In the following description, for convenience of explanation, the printer 20 before replacement will be referred to as printer 20A, and the printer 20 after replacement will be referred to as printer 20B (see FIG. 15). Furthermore, when printers 20A and 20B are collectively referred to, they will be referred to as printer 20.
まず、S181にて、サーバ30は、プリンタ情報を更新する。プリンタ20は、例えば、図8に示す非印刷時同期処理において、プリンタ管理テーブルPTのインク残量の情報をインク残量検出部24により最新の残量の情報に更新し、印刷可能枚数と合わせて定期的にインク残量をサーバ30へ送信する。サーバ30は、プリンタ20から受信した情報に基づいて、送信元のプリンタ20のデバイスIDに関連付けられたインク残量を更新する。これにより、プリンタ管理テーブルPTとサーバ管理テーブルSTのインク残量の情報が同期される。
First, in S181, the server 30 updates the printer information. For example, in the non-printing synchronization process shown in FIG. 8, the printer 20 updates the remaining ink amount information in the printer management table PT to the latest remaining amount information using the remaining ink amount detection unit 24, and periodically transmits the remaining ink amount together with the number of pages that can be printed to the server 30. Based on the information received from the printer 20, the server 30 updates the remaining ink amount associated with the device ID of the sending printer 20. This synchronizes the remaining ink amount information in the printer management table PT and the server management table ST.
尚、プリンタ20は、非印刷時同期処理のタイミングに限らず、例えば、電源の投入時などの所定のタイミングでインク残量をサーバ30へ送信しても良い。また、インク残量を取得する主体は、サーバ30でも良い。例えば、サーバ30は、サーバ管理テーブルSTに登録されているプリンタ20のうち、アクティベーション情報がオン状態であるプリンタ20について、特定の通信ポート常時接続した状態を維持し、インク残量の情報を所定時間ごとに問い合わせても良い。サーバ30は、問い合わせ結果に基づいて、サーバ管理テーブルSTのインク残量を更新しても良い。
The printer 20 may transmit the remaining ink amount to the server 30 at a specified timing, such as when the power is turned on, rather than at the timing of non-printing synchronization processing. The server 30 may also acquire the remaining ink amount. For example, the server 30 may keep a specific communication port constantly connected for printers 20 registered in the server management table ST whose activation information is in the ON state, and inquire about the remaining ink amount at specified time intervals. The server 30 may update the remaining ink amount in the server management table ST based on the inquiry result.
サーバ30は、各プリンタ20からインク残量の情報を受信すると(S181)、各プリンタ20について交換の要否を判断する(S183)。サーバ30は、プリンタ20のインク残量が所定量以下になった場合に、そのプリンタ20について交換が必要であると判断する(S183:YES)。尚、交換の要否を判断する方法は、インク残量と所定量を比べる方法に限らない。例えば、サーバ30は、インク残量の更新情報からインクの減り量を算出し、インクが完全になくなると予想される日時を推定する。サーバ30は、推定した日時から所定日数前となった時点で交換が必要であると判断しても良い。あるいは、サーバ30は、インク残量と印刷可能枚数の更新情報から、インク残量で印刷ができる枚数を推定し、印刷ができる枚数が所定枚数以下となった時点で交換が必要であると判断しても良い。また、サーバ30は、上記したインク残量を判断する所定量、インクがなくなる前の所定日数、印刷ができる所定枚数などの判断条件の値を、ユーザから受け付けても良い。
When the server 30 receives information on the remaining ink level from each printer 20 (S181), it judges whether or not each printer 20 needs to be replaced (S183). When the remaining ink level of a printer 20 falls below a predetermined level, the server 30 judges that the printer 20 needs to be replaced (S183: YES). The method of judging whether or not replacement is necessary is not limited to the method of comparing the remaining ink level with a predetermined level. For example, the server 30 calculates the amount of ink remaining from the update information on the remaining ink level and estimates the date and time when the ink is expected to run out completely. The server 30 may judge that replacement is necessary when a predetermined number of days have passed since the estimated date and time. Alternatively, the server 30 may estimate the number of pages that can be printed with the remaining ink level from the update information on the remaining ink level and the number of pages that can be printed, and judge that replacement is necessary when the number of pages that can be printed falls below the predetermined number. The server 30 may also receive values of judgment conditions such as the predetermined amount for judging the remaining ink level, the predetermined number of days before the ink runs out, and the predetermined number of pages that can be printed from the user.
また、サーバ30は、インク残量以外の情報で交換の要否を判断しても良い。例えば、サーバ30は、プリンタ20の製造日時、購入日時、サーバ管理テーブルSTの最初の登録日時などの基準となる日時から経過した日数に基づいて、交換の要否を判断しても良い。これにより、サーバ30は、プリンタ20をユーザが利用した期間に基づいて、交換の要否を判断できる。あるいは、サーバ30は、プリンタ20の後継の機種、新しいモデルのプリンタ20などの販売時期に基づいて、交換を通知しても良い。後継機種の販売時期の判断は、2年、4年などの固定年数を用いても良く、ベンダからのリリース情報を用いても良い。また、サーバ30は、例えば、プリンタ20の利用を開始してからの総印刷枚数が所定の印刷枚数に到達したことに基づいて、交換を通知しても良い。また、交換の要否の判断を、サーバ30以外の装置、例えば、携帯端末装置10やプリンタ20が実行しても良い。携帯端末装置10は、プリンタ20から取得したインク残量に基づいて、交換通知の表示を実行しても良い。
The server 30 may also determine whether or not replacement is necessary based on information other than the remaining ink amount. For example, the server 30 may determine whether or not replacement is necessary based on the number of days that have passed since a reference date and time such as the date and time of manufacture or purchase of the printer 20, or the date and time of the first registration in the server management table ST. This allows the server 30 to determine whether or not replacement is necessary based on the period during which the user has used the printer 20. Alternatively, the server 30 may notify the user of replacement based on the timing of sales of a successor model of the printer 20, a new model of the printer 20, etc. The timing of sales of the successor model may be determined using a fixed number of years such as two or four years, or release information from the vendor. The server 30 may also notify the user of replacement based on, for example, the total number of printed pages since the user began using the printer 20 reaching a predetermined number of printed pages. The determination of whether or not replacement is necessary may also be performed by a device other than the server 30, such as the mobile terminal device 10 or the printer 20. The mobile terminal device 10 may display a replacement notification based on the remaining ink amount obtained from the printer 20.
サーバ30は、S183で交換が必要であると判断したプリンタ20について、サーバ管理テーブルSTの交換申請情報がオン状態であるか、即ち、既に交換が申請されているか否かを判断する(S185)。サーバ30は、対象のプリンタ20について交換が申請されていないと判断すると(S185:YES)、交換要求通知を携帯端末装置10へ通知する(S187)。サーバ30は、S187において、例えば、交換対象のプリンタ20Aについて、ユーザ登録を行ったユーザのうち、図9~図11に示すチャージ処理を実行可能な、より具体的にはクレジットカードの登録等の料金の支払い方法を登録したユーザの携帯端末装置10や、ユーザがログイン状態のアプリケーション12Bのみに交換要求通知を送信しても良い。あるいは、サーバ30は、ユーザ登録を行った全てのユーザの携帯端末装置10やログイン状態のアプリケーション12Bに、交換要求通知を送信しても良い。また、サーバ30は、プリンタ20Aを利用したことがある全てのユーザ、例えば、プリンタ20Aへ印刷命令を送信した全ての携帯端末装置10へ交換要求通知を送信しても良い。また、サーバ30は、携帯端末装置10以外に、メールアドレス等に交換要求通知を送信しても良い。
The server 30 judges whether the exchange application information in the server management table ST is in an ON state for the printer 20 judged to require exchange in S183, that is, whether an exchange has already been applied for (S185). When the server 30 judges that an exchange has not been applied for the target printer 20 (S185: YES), it notifies the mobile terminal device 10 of an exchange request notification (S187). In S187, for example, the server 30 may send the exchange request notification only to the mobile terminal device 10 of the user who has registered the user for the printer 20A to be exchanged and who is capable of executing the charge process shown in FIG. 9 to FIG. 11, more specifically, to the application 12B in which the user is logged in, among the users who have registered the user for the printer 20A to be exchanged, and the application 12B in which the user is logged in. Alternatively, the server 30 may send the exchange request notification to the mobile terminal device 10 and the application 12B in which the user is logged in, of all users who have registered the user. The server 30 may also send the exchange request notification to all users who have used the printer 20A, for example, to all mobile terminal devices 10 that have sent a print command to the printer 20A. Additionally, the server 30 may send the exchange request notification to an email address or the like other than the mobile terminal device 10.
携帯端末装置10は、S187の交換要求通知を受信すると(図12のS161:YES)、交換通知をディスプレイ14に表示する(S163)。携帯端末装置10は、例えば、アプリケーション12Bを起動すると、同一のネットワーク上のプリンタ20を検索し、検出したプリンタ名を一覧でディスプレイ14に表示する。この一覧に表示されるプリンタ20は、例えば、通信設定が完了し、初期導入が完了しているプリンタである。携帯端末装置10は、一覧の中から交換要求通知で通知されたプリンタ20Aに警告マーク等を表示し、交換が必要であることを報知しも良い。
When the portable terminal device 10 receives the replacement request notification of S187 (S161: YES in FIG. 12), it displays the replacement notification on the display 14 (S163). For example, when the portable terminal device 10 starts the application 12B, it searches for printers 20 on the same network and displays a list of the detected printer names on the display 14. The printers 20 displayed in this list are, for example, printers for which communication settings have been completed and initial installation has been completed. The portable terminal device 10 may display a warning mark or the like on the printer 20A notified in the replacement request notification from among the printers in the list, to notify the user that replacement is necessary.
携帯端末装置10は、S163の交換通知の表示を実行した後、交換受付処理を実行する(S165)。例えば、携帯端末装置10は、プリンタ20Aを選択する操作を入力I/F15で受け付けると、新しいプリンタの発送先の情報を受け付け、発送先の住所の情報を含む交換申請通知をサーバ30へ送信する(S167)。交換申請通知は、S187の交換要求通知に対する応答であり、ユーザによって交換が申請されたことを示す情報で、例えば、S187の交換要求通知を受信した受信者(送信先)を示す情報を含んでいる。ここでいう受信者を示す情報とは、例えば、ユーザIDやアプリケーション12BのID等である。
After displaying the exchange notification in S163, the mobile terminal device 10 executes an exchange acceptance process (S165). For example, when the mobile terminal device 10 accepts an operation to select printer 20A at the input I/F 15, it accepts information on the shipping destination of the new printer and transmits an exchange application notification including the shipping address information to the server 30 (S167). The exchange application notification is a response to the exchange request notification in S187, and is information indicating that an exchange has been requested by the user, and includes, for example, information indicating the recipient (destination) that received the exchange request notification in S187. The information indicating the recipient here is, for example, a user ID or the ID of application 12B.
サーバ30は、S167の交換申請通知を受信すると、受信した交換申請を判断する(S195)。サーバ30は、例えば、S187で送信した送信先のユーザIDと、S167で受信した交換申請通知のユーザIDとが一致しない場合、交換申請を拒否し(S195:NO)、交換拒否通知を携帯端末装置10へ送信する(S197)。携帯端末装置10は、図12のS169で否定判断し(S169:NO)、処理を終了する。例えば、サーバ30から交換要求通知を送信していないにも係わらず、不正に交換申請通知を偽装等して送信されると、古いプリンタ20Aの交換期限が迫っていないにも係わらず、サーバ30が、新しいプリンタ20の発送を手配してしまう可能性がある。そこで、本実施例のサーバ30では、交換要求通知の送信先と、交換申請通知の送信元とが一致した場合のみ、交換申請を承認する。
When the server 30 receives the exchange application notification of S167, it judges the received exchange application (S195). For example, if the user ID of the destination sent in S187 does not match the user ID of the exchange application notification received in S167, the server 30 rejects the exchange application (S195: NO) and sends an exchange rejection notification to the mobile terminal device 10 (S197). The mobile terminal device 10 makes a negative judgment in S169 of FIG. 12 (S169: NO) and ends the process. For example, if an exchange request notification is not sent from the server 30 but is fraudulently sent by forging an exchange request notification, the server 30 may arrange for the delivery of a new printer 20 even if the replacement deadline for the old printer 20A is not approaching. Therefore, in the server 30 of this embodiment, the exchange application is approved only if the destination of the exchange request notification and the sender of the exchange application notification match.
サーバ30は、S187の送信先のユーザIDと、S167の送信元のユーザIDとが一致した場合、交換の申請を承認する(S195:YES)。図16は、交換前のプリンタ20Aから交換後のプリンタ20へ印刷可能枚数を引き継ぐ際のサーバ管理テーブルSTの状態を示している。サーバ30は、S195で肯定判断し、交換の申請を承認すると、プリンタ20Aに対応する交換申請情報(図16の左側の図におけるデバイスID「dv1」に対応する交換申請情報)を、オン状態に変更する。これにより、サーバ30は、再度、S183の判断処理で、交換が必要であると判断しても(S183:YES)、S185で否定判断することで、S187の交換要求通知を送信しない。インク残量が減るごとに、不必要に交換要求通知が送信されることを抑制できる。
If the user ID of the destination of S187 matches the user ID of the sender of S167, the server 30 approves the replacement request (S195: YES). FIG. 16 shows the state of the server management table ST when the printable number is transferred from the old printer 20A to the new printer 20. If the server 30 judges in S195 that the printer is replaced and accepts the replacement request, it changes the replacement request information corresponding to the printer 20A (the replacement request information corresponding to the device ID "dv1" in the diagram on the left side of FIG. 16) to ON. As a result, even if the server 30 judges again in S183 that replacement is necessary (S183: YES), it does not send the replacement request notification of S187 by making a negative judgment in S185. This makes it possible to prevent unnecessary replacement request notifications from being sent each time the remaining ink level decreases.
サーバ30は、S167で受信した交換申請通知に、発送先の住所の情報が含まれていた場合、新しいプリンタ20の発送を命令する(S199)。例えば、サーバ30は、発送先の住所の情報や交換後のプリンタ20Bの機種情報を、配送センターへ通知する。尚、発送を希望しないユーザは、例えば、発送先を入力せずに交換を申請することで、自宅にあるプリンタ20A以外のプリンタ20Bを使用できる。あるいは、ユーザは、小売店、家電量販店等の実店舗でプリンタ20Bを入手しても良い。
If the exchange request notification received in S167 includes information about the shipping address, the server 30 issues an order to ship a new printer 20 (S199). For example, the server 30 notifies the distribution center of the shipping address information and the model information of the replaced printer 20B. Note that a user who does not wish to have the printer shipped can use a printer 20B other than the printer 20A at home by, for example, requesting an exchange without inputting a shipping address. Alternatively, the user may purchase the printer 20B at a brick-and-mortar store such as a retail store or electronics retailer.
また、サーバ30は、S195で交換申請を承認すると、引き継ぎコードを発行し(S201)、発行した引き継ぎコードを携帯端末装置10へ送信する(S203)。携帯端末装置10は、S203の引き継ぎコードを受信すると、図12のS169で肯定判断し(S169:YES)、引き継ぎコードを表示する(S173)。携帯端末装置10は、S167の交換申請通知を送信した後、引き継ぎコードを受信すると、引き継ぎコードをディスプレイ14に表示する。
When the server 30 approves the exchange request in S195, it issues a takeover code (S201) and transmits the issued takeover code to the mobile terminal device 10 (S203). When the mobile terminal device 10 receives the takeover code in S203, it makes a positive determination in S169 of FIG. 12 (S169: YES) and displays the takeover code (S173). When the mobile terminal device 10 receives the takeover code after transmitting the exchange request notification in S167, it displays the takeover code on the display 14.
この引き継ぎコードは、交換前のプリンタ20Aから、交換後のプリンタ20Bへ印刷可能枚数を引き継ぐ引き継ぎ処理において、引き継ぎ処理を実行しているユーザが申請処理を実行したユーザであるか判断するための情報である。図16に示すように、引き継ぎコード97は、例えば、英数文字等を組み合わせた文字列であり、サーバ管理テーブルSTにおいて、交換申請を受け付けたプリンタ20AのデバイスIDに一時的に関連付けられる。ユーザは、ディスプレイ14に表示された引き継ぎコード97をメモ等して記録しておく。
This takeover code is information used to determine whether the user performing the takeover process, which transfers the number of printable pages from the old printer 20A to the new printer 20B, is the user who performed the application process. As shown in FIG. 16, the takeover code 97 is, for example, a character string that combines alphanumeric characters, and is temporarily associated in the server management table ST with the device ID of the printer 20A that accepted the replacement application. The user makes a note of the takeover code 97 displayed on the display 14 and records it.
(引き継ぎ処理)
次に、携帯端末装置10が実行する引き継ぎ処理について図14に示すフローチャートを用いて説明する。引き継ぎ処理は、交換前のプリンタ20Aから交換後のプリンタ20Bに、印刷可能枚数を移行させる処理である。
(Handover process)
Next, the takeover process executed by the mobile terminal device 10 will be described with reference to the flowchart shown in Fig. 14. The takeover process is a process for transferring the printable number from the printer 20A before replacement to the printer 20B after replacement.
まず、図14のS211にて、携帯端末装置10は、入力I/F15に対する所定の操作に基づいて、交換後のプリンタ20Bの指定を受け付けた後、引き継ぎコード97の入力を受け付けたか否かを判断する(S213)。携帯端末装置10は、引き継ぎコード97を受け付けなかった場合(S213:NO)、プリンタ20Bの指定等を受け付ける(S211)。
First, in S211 of FIG. 14, the mobile terminal device 10 receives the designation of the replaced printer 20B based on a predetermined operation on the input I/F 15, and then determines whether input of the takeover code 97 has been received (S213). If the takeover code 97 has not been received (S213: NO), the mobile terminal device 10 receives the designation of the printer 20B, etc. (S211).
一方、携帯端末装置10は、引き継ぎコード97の入力を受け付けると(S213:YES)、引き継ぎ命令をサーバ30へ送信する(S215)。次に、携帯端末装置10は、交換前のプリンタ20Aの接続を依頼する接続依頼を、サーバ30から受信したか否かを判断する(S217)。携帯端末装置10は、接続依頼を受信すると(S217:YES)、プリンタ20Aの接続を依頼する画面をディスプレイ14に表示し(S218)、図14に示す処理を終了する。
On the other hand, when the portable terminal device 10 accepts input of the takeover code 97 (S213: YES), it sends a takeover command to the server 30 (S215). Next, the portable terminal device 10 determines whether or not a connection request for connecting the previous printer 20A has been received from the server 30 (S217). When the portable terminal device 10 receives the connection request (S217: YES), it displays a screen requesting the connection of the printer 20A on the display 14 (S218), and ends the process shown in FIG. 14.
また、携帯端末装置10は、接続依頼を受信しなかった場合(S217:NO)、プリンタ20Aからプリンタ20Bへ引き継ぐ印刷可能枚数を、サーバ30から受信したか否かを判断する(S219)。携帯端末装置10は、印刷可能枚数を受信するまでの間(S219:NO)、S217の判断処理を繰り返し実行する。携帯端末装置10は、印刷可能枚数を受信すると(S219:YES)、受信した印刷可能枚数、即ち、引き継ぐ印刷可能枚数と、引き継ぎ先などをディスプレイ14に表示し(S221)、表示した引き継ぎの内容についてユーザの承認を受け付ける(S223)。
If the mobile terminal device 10 does not receive a connection request (S217: NO), it determines whether it has received from the server 30 the number of printable sheets to be handed over from printer 20A to printer 20B (S219). The mobile terminal device 10 repeats the determination process of S217 until it receives the number of printable sheets (S219: NO). When the mobile terminal device 10 receives the number of printable sheets (S219: YES), it displays the received number of printable sheets, i.e., the number of printable sheets to be handed over and the handover destination, etc., on the display 14 (S221), and accepts the user's approval for the displayed handover details (S223).
携帯端末装置10は、ユーザによって承認されなかった場合(S223:NO)、図14に示す処理を終了する。一方、携帯端末装置10は、承認された場合(S223:YES)、引き継ぎ内容がユーザによって承認されたことを示す承認通知をサーバ30へ送信する(S225)。携帯端末装置10は、承認通知を送信した後、引き継ぎ処理が完了したことを示す引継完了通知を、サーバ30から受信したか否かを判断する(S227)。携帯端末装置10は、引継完了通知を受信するまでの間(S227:NO)、S227の判断処理を繰り返し実行する。携帯端末装置10は、引継完了通知を受信すると(S227:YES)、引き継ぎの後処理を実行し(S229)、図14に示す処理を終了する。
If the user does not approve the transfer (S223: NO), the mobile terminal device 10 ends the process shown in FIG. 14. On the other hand, if the transfer is approved (S223: YES), the mobile terminal device 10 sends an approval notification to the server 30 indicating that the transfer content has been approved by the user (S225). After sending the approval notification, the mobile terminal device 10 determines whether or not a transfer completion notification indicating that the transfer process has been completed has been received from the server 30 (S227). The mobile terminal device 10 repeatedly executes the determination process of S227 until it receives a transfer completion notification (S227: NO). When the mobile terminal device 10 receives a transfer completion notification (S227: YES), it executes post-transfer processing (S229) and ends the process shown in FIG. 14.
(引き継ぎ処理における印刷システム1の動作)
次に、引き継ぎ処理におけるユーザの作業、各装置の処理の内容について説明する。
まず、図15のS211にて、携帯端末装置10は、交換後のプリンタ20Bの受け付け処理を実行する。ユーザは、上記した申請処理で引き継ぎコード97を入手した後、引き継ぎを実行したい(交換後の)プリンタ20Bを選択する操作を入力I/F15で行なう。
(Operation of Printing System 1 in Takeover Process)
Next, the user's operations during the takeover process and the content of the processes performed by each device will be described.
15, the mobile terminal device 10 executes an acceptance process for the replaced printer 20B. After obtaining the takeover code 97 in the above-mentioned application process, the user performs an operation on the input I/F 15 to select the (replaced) printer 20B to which the user wishes to take over.
また、以下の説明では、一例として、ベンダから発送された新規のプリンタ20Bへ印刷可能枚数を引き継ぐ場合について説明する。例えば、ユーザは、プリンタ20Bの発送を要求した後、家に送られてきたプリンタ20Bの通信設定等を行ない、プリンタ20Bをルータ2に接続してプリンタ20Bとサーバ30を通信可能な状態にする。この状態では、プリンタ20Bは、初期導入や通信設定が完了し、アクティベーション情報がオフ状態となっており、印刷ができない状態となっている。
The following description will be given, as an example, of the case where the printable number is transferred to a new printer 20B shipped from a vendor. For example, after requesting the shipment of printer 20B, the user performs communication settings on printer 20B that has been sent to the user's home, connects printer 20B to router 2, and enables communication between printer 20B and server 30. In this state, printer 20B has completed the initial installation and communication settings, its activation information is turned off, and it is not capable of printing.
携帯端末装置10は、入力I/F15に対する所定の操作に基づいて、選択されたプリンタ20Bに引き継ぐ引き継ぎコード97の入力を受け付ける(S213)。携帯端末装置10は、引き継ぎコード97を入力されると、引き継ぎ命令をサーバ30へ送信する(S215)。携帯端末装置10は、プリンタ20BのデバイスIDと、入力された引き継ぎコード97の情報を、引き継ぎ命令に含めてサーバ30へ送信する。
The mobile terminal device 10 accepts input of a takeover code 97 for handing over to the selected printer 20B based on a predetermined operation on the input I/F 15 (S213). When the takeover code 97 is input, the mobile terminal device 10 transmits a takeover command to the server 30 (S215). The mobile terminal device 10 transmits the device ID of the printer 20B and the information of the input takeover code 97 to the server 30, including the takeover command.
サーバ30は、S215の引き継ぎ命令を受信すると、受信した引き継ぎコード97に基づいて、交換前のプリンタ20Aを、ネットワーク上で検索する処理を実行する(S241)。サーバ30は、例えば、通信の接続状態を確認するメッセージをプリンタ20Aへ送信し(S243)、それに対するプリンタ20Aの応答に基づいて、通信の接続状態を確認する。サーバ30は、プリンタ20Aから正常な応答を受信できない場合、接続依頼を携帯端末装置10へ送信する(S245)。この場合、携帯端末装置10は、図14のS217で肯定判断し(S217:YES)、接続依頼をディスプレイ14に表示する(S218)。携帯端末装置10は、例えば、「交換前のプリンタ20Aがネットワークに接続されていないようです、接続を確認して下さい」といったメッセージをディスプレイ14に表示する。これにより、プリンタ20Aをネットワークに接続する作業をユーザに促すことができる。
When the server 30 receives the takeover command of S215, it executes a process of searching for the old printer 20A on the network based on the received takeover code 97 (S241). For example, the server 30 sends a message to the printer 20A to confirm the communication connection status (S243), and confirms the communication connection status based on the response of the printer 20A to the message (S243). If the server 30 does not receive a normal response from the printer 20A, it sends a connection request to the mobile terminal device 10 (S245). In this case, the mobile terminal device 10 makes an affirmative judgment at S217 in FIG. 14 (S217: YES) and displays the connection request on the display 14 (S218). For example, the mobile terminal device 10 displays a message such as "The old printer 20A does not seem to be connected to the network. Please check the connection" on the display 14. This can prompt the user to connect the printer 20A to the network.
一方、サーバ30は、S243の通信の接続状態を確認するメッセージに対して、プリンタ20Aから正常な応答を受信すると(S247)、印刷を制限する印刷制限命令を、プリンタ20Aに送信する(S249)。プリンタ20Aは、印刷制限命令をサーバ30から受信すると、印刷を制限する状態へ移行する(S251)。プリンタ20Aは、例えば、携帯端末装置10からの印刷命令や、ユーザI/F27の操作入力に基づく印刷命令を受け付けない、あるいは受け付けても印刷を実行しない状態へと移行する。プリンタ20Aは、印刷を制限する状態への移行が完了すると、移行が完了したことをサーバ30へ応答する(S253)。尚、プリンタ20Aは、印刷の実行中や実行予定の印刷ジョブがある場合、印刷が完了した後に、印刷を制限する状態へ移行することが好ましい。
On the other hand, when the server 30 receives a normal response from the printer 20A to the message confirming the communication connection status in S243 (S247), it sends a print restriction command to the printer 20A to restrict printing (S249). When the printer 20A receives the print restriction command from the server 30, it transitions to a state in which printing is restricted (S251). The printer 20A transitions to a state in which it does not accept, for example, print commands from the mobile terminal device 10 or print commands based on operation input from the user I/F 27, or does not execute printing even if it accepts them. When the transition to the print restriction state is complete, the printer 20A responds to the server 30 that the transition has been completed (S253). Note that when the printer 20A is currently printing or has a print job scheduled to be executed, it is preferable for the printer 20A to transition to the print restriction state after the printing is completed.
また、サーバ30がプリンタ20Aとの通信を確認する方法は、上記した確認メッセージを送信する方法に限らない。例えば、プリンタ20からサーバ30へ定期的な通信を実行する構成では、サーバ30は、例えば、一定時間内にプリンタ20Aからアクセスがあった場合に、プリンタ20Aと通信可能であると判断しても良い。あるいは、サーバ30は、例えば、一定時間内にプリンタ20Aからアクセスがあり、印刷制限命令をプリンタ20Aに送信できた場合に、通信が可能であると判断しても良い。
Furthermore, the method by which the server 30 confirms communication with the printer 20A is not limited to the method of sending a confirmation message described above. For example, in a configuration in which periodic communication is performed from the printer 20 to the server 30, the server 30 may determine that communication with the printer 20A is possible, for example, if there is access from the printer 20A within a certain period of time. Alternatively, the server 30 may determine that communication is possible, for example, if there is access from the printer 20A within a certain period of time and the server 30 is able to send a print restriction command to the printer 20A.
サーバ30は、S253で移行完了通知をプリンタ20Aから受信すると、プリンタ20へ印刷可能枚数を要求する命令を送信する。(S255)。プリンタ20Aは、S255の要求命令を受信すると、プリンタ管理テーブルPTの印刷可能枚数、即ち、現状の印刷可能枚数をサーバ30へ送信する(S257)。サーバ30は、プリンタ20Aから印刷可能枚数を受信すると、サーバ管理テーブルSTにおけるプリンタ20AのデバイスIDに関連付けられた印刷可能枚数を、受信した印刷可能枚数に更新する(S259)。これにより、サーバ管理テーブルSTの印刷可能枚数を、プリンタ20Aの最新の状態の印刷可能枚数と一致させることができる。また、プリンタ20Aの印刷を制限しておくことで、以降の印刷可能枚数の変動を抑制できる。
When the server 30 receives a transition completion notification from printer 20A in S253, it sends a command to printer 20 requesting the number of printable sheets (S255). When printer 20A receives the request command in S255, it sends the number of printable sheets in the printer management table PT, i.e., the current number of printable sheets, to the server 30 (S257). When the server 30 receives the number of printable sheets from printer 20A, it updates the number of printable sheets associated with the device ID of printer 20A in the server management table ST to the received number of printable sheets (S259). This makes it possible to match the number of printable sheets in the server management table ST with the latest number of printable sheets for printer 20A. Furthermore, by limiting the printing of printer 20A, it is possible to suppress future fluctuations in the number of printable sheets.
サーバ30は、サーバ管理テーブルSTの印刷可能枚数を更新すると、更新後の印刷可能枚数、即ち、プリンタ20Aの印刷可能枚数を、引き継ぐ印刷可能枚数の情報として携帯端末装置10へ送信する(S261)。携帯端末装置10は、S215の引き継ぎ命令をサーバ30へ送信した後、S261で印刷可能枚数を受信すると、引き継ぎ元のプリンタ20A、引き継ぎ先のプリンタ20B、引き継ぐ印刷可能枚数等の情報をディスプレイ14に表示し、引き継ぎ内容についてユーザの承認を確認する(S223)。
When the server 30 updates the printable number in the server management table ST, it sends the updated printable number, i.e., the printable number of printer 20A, to the mobile terminal device 10 as information on the printable number to be taken over (S261). After sending the takeover command to the server 30 in S215, the mobile terminal device 10 receives the printable number in S261 and displays information on the source printer 20A, the destination printer 20B, the printable number to be taken over, etc. on the display 14 and confirms the user's approval of the takeover contents (S223).
ユーザは、表示内容を見て、意図したプリンタ20A,20Bで印刷可能枚数が移行されるか、移行する印刷可能枚数は合っているかなどを確認する。携帯端末装置10は、承認する操作を受け付けると(S223:YES)、引き継ぎ処理を実行中であることを示す画面をディスプレイ14に表示する。また、携帯端末装置10は、承認通知をサーバ30へ送信する(S225)。サーバ30は、承認通知を受信すると、ユーザ認証を実行する(S263)。サーバ30は、S263において、引き継ぎを実行しているユーザ、即ち、S225の承認通知の送信元のユーザが、交換前のプリンタ20Aを利用するユーザであるか否かを確認する。尚、引き継ぎ内容が承認されなかった場合、サーバ30は、引き継ぎ処理を中断したため、プリンタ20Aの印刷制限を解除する。
The user checks the displayed contents to see if the printable number will be transferred to the intended printer 20A, 20B, and if the printable number to be transferred is correct. When the mobile terminal device 10 accepts the operation to approve (S223: YES), it displays a screen indicating that the handover process is in progress on the display 14. The mobile terminal device 10 also sends an approval notice to the server 30 (S225). When the server 30 receives the approval notice, it performs user authentication (S263). In S263, the server 30 checks whether the user performing the handover, i.e., the user who sent the approval notice in S225, is the user who uses the printer 20A before replacement. If the handover contents are not approved, the server 30 cancels the print restriction on the printer 20A because it has interrupted the handover process.
ユーザ認証の方法は、特に限定されない。例えば、サーバ30は、図4に示すユーザ登録等において、予め、プリンタ20Aを使用するユーザのメールアドレスを、デバイスIDに関連付けてサーバ管理テーブルSTに登録しても良い。そして、サーバ30は、S263において、認証用のURLを記載したメールを、登録済みのユーザのメールアドレスへ送信し、所定時間内にURLに対するアクセスを検出できた場合に、ユーザ認証に成功したと判断しても良い。尚、サーバ30は、ユーザ認証に失敗した場合、S225の送信元の携帯端末装置10へ認証に失敗した旨を送信しても良い。また、サーバ30は、引き継ぎ処理を中断したため、プリンタ20Aの印刷制限を解除しても良い。
The method of user authentication is not particularly limited. For example, in user registration as shown in FIG. 4, the server 30 may register the email address of the user who uses the printer 20A in advance in the server management table ST in association with the device ID. Then, in S263, the server 30 may send an email containing an authentication URL to the registered user's email address, and determine that the user authentication is successful if access to the URL is detected within a specified time. If the user authentication fails, the server 30 may send a message to the mobile terminal device 10 that sent the message in S225 indicating that the authentication has failed. Furthermore, the server 30 may lift the printing restrictions on the printer 20A since the handover process has been interrupted.
サーバ30は、S263のユーザ認証に成功すると、印刷可能枚数をゼロにするゼロ命令をプリンタ20Aに送信する(S265)。プリンタ20Aは、ゼロ命令を受信すると、プリンタ管理テーブルPTの印刷可能枚数をゼロに更新し(S267)、ゼロに更新できたことをサーバ30へ通知する(S269)。これにより、印刷可能枚数を移行する前のプリンタ20Aの印刷可能枚数をゼロにしてから、新しいプリンタ20Bへ印刷可能枚数を移行することができる。尚、サーバ30は、プリンタ20Aの印刷可能枚数をゼロにせずに、1枚等の所定枚数だけ残しても良い。
If the server 30 is successful in user authentication in S263, it sends a zero command to printer 20A to set the number of printable pages to zero (S265). When printer 20A receives the zero command, it updates the number of printable pages in the printer management table PT to zero (S267) and notifies the server 30 that it has been updated to zero (S269). This makes it possible to set the number of printable pages on the previous printer 20A to zero before transferring the number of printable pages to the new printer 20B. Note that the server 30 may leave a specified number of printable pages, such as one, on printer 20A rather than setting the number of printable pages to zero.
サーバ30は、S269の通知を受信すると、交換前のプリンタ20Aへのチャージを制限するチャージ不可設定を実行する(S271)。例えば、サーバ30は、チャージできないことを示すチャージ不可フラグを、プリンタ20Aのチャージ予定枚数に記憶しておき(図16参照)、プリンタ20Aへのチャージを携帯端末装置10から受け付けた場合に、チャージ不可フラグに基づいてチャージができないことを携帯端末装置10へ通知しても良い。
When the server 30 receives the notification of S269, it executes a charge-disabled setting that restricts charging to the replaced printer 20A (S271). For example, the server 30 may store a charge-disabled flag indicating that charging is not possible in the planned charge quantity for the printer 20A (see FIG. 16), and when a charge to the printer 20A is accepted from the mobile terminal device 10, the server 30 may notify the mobile terminal device 10 that charging is not possible based on the charge-disabled flag.
サーバ30は、S271を実行すると、引き継ぐ印刷可能枚数、即ち、プリンタ20Aの印刷可能枚数を、自装置の印刷可能枚数に加算する命令をプリンタ20Bに送信する(S273)。プリンタ20Bは、自装置のプリンタ管理テーブルPTの印刷可能枚数に、受信した印刷可能枚数を加算すると、加算に成功した旨の通知をサーバ30へ送信する(S275)。サーバ30は、S275の通知を受信すると、サーバ管理テーブルSTにおいてプリンタ20Bの印刷可能枚数に、引き継いだ印刷可能枚数を加算する(S277)。
When the server 30 executes S271, it sends a command to printer 20B to add the number of printable pages to be taken over, i.e., the number of printable pages of printer 20A, to the number of printable pages of its own device (S273). Printer 20B adds the received number of printable pages to the number of printable pages in its own device's printer management table PT, and sends a notification to the server 30 that the addition was successful (S275). When the server 30 receives the notification of S275, it adds the inherited number of printable pages to the number of printable pages of printer 20B in the server management table ST (S277).
例えば、図16に示すように、上記した引き継ぎ処理を実行することで、プリンタ20Aの印刷可能枚数がゼロ(ブランク状態)となり、プリンタ20Bの印刷可能枚数に、プリンタ20Aから引き継がれた印刷可能枚数「pr1」がチャージされる。また、引き継ぎの時点でプリンタ20Bのアクティベーション情報がオフ状態であった場合(新規購入等)、交換前のプリンタ20Aのアクティベーション情報をオフ状態にするのに合せて、交換後のプリンタ20Bのアクティベーション情報をオン状態にする。プリンタ20A,20Bのアクティベーション情報を変更するタイミングは特に限定されないが、例えば、サーバ30は、S249の命令において、プリンタ20Aのアクティベーション情報をオフ状態にする命令をプリンタ20Aに送信しても良い。また、サーバ30は、S273の命令に合せてアクティベーション情報のオン状態にする命令をプリンタ20Bへ送信しても良い。あるいは、S273の印刷可能枚数の加算命令を受け付けると、プリンタ20Bが自動でアクティベーション情報をオン状態とし、その結果をS275でサーバ30へ通知しても良い。また、サーバ30は、引き継ぎが完了したため、プリンタ20Aの交換申請情報をオフ状態とする。また、サーバ30は、引き継ぎが完了したため、プリンタ20Aに関連付けられていた引き継ぎコード97を削除する。
For example, as shown in FIG. 16, by executing the above-mentioned handover process, the number of printable pages of printer 20A becomes zero (blank state), and the number of printable pages of printer 20B is charged with the number of printable pages "pr1" inherited from printer 20A. Also, if the activation information of printer 20B is OFF at the time of handover (new purchase, etc.), the activation information of the replaced printer 20B is turned ON in conjunction with turning OFF the activation information of the replaced printer 20A. The timing of changing the activation information of printers 20A and 20B is not particularly limited, but for example, the server 30 may send a command to printer 20A in the command of S249 to turn OFF the activation information of printer 20A. Also, the server 30 may send a command to printer 20B in conjunction with the command of S273 to turn ON the activation information. Alternatively, when the command to add the number of printable sheets in S273 is received, printer 20B may automatically set the activation information to ON and notify the result to server 30 in S275. Furthermore, since the takeover is complete, server 30 sets the exchange application information for printer 20A to OFF. Furthermore, since the takeover is complete, server 30 deletes the takeover code 97 that was associated with printer 20A.
サーバ30は、引き継ぎが完了した旨の完了通知を携帯端末装置10へ送信する(S277)。携帯端末装置10は、完了通知を受信すると(図14のS227:YES)、引き継ぎ後の後処理を実行する(S229)。例えば、携帯端末装置10は、後処理として、交換前のプリンタ20Aを、グレーアウトで表示するなど、引き継ぎ前の状態とは違う状態で表示し、プリンタ20Aに対する操作を受け付けなくとも良い。あるいは、携帯端末装置10は、プリンタ20Aのアイコンを削除する後処理を実行しても良い。
The server 30 sends a completion notification to the mobile terminal device 10 that the handover has been completed (S277). When the mobile terminal device 10 receives the completion notification (S227: YES in FIG. 14), it executes post-handover post-processing (S229). For example, as post-processing, the mobile terminal device 10 may display the replaced printer 20A in a state different from the state before the handover, such as by displaying the printer 20A in a grayed-out state, and may not accept any operations on the printer 20A. Alternatively, the mobile terminal device 10 may execute post-processing to delete the icon of the printer 20A.
因みに、携帯端末装置10は、情報処理装置の一例である。アプリケーション12Bは、プログラムの一例である。印刷データ12Cは、記録データの一例である。ディスプレイ14は、表示部の一例である。プリンタ20は、記憶装置の一例である。プリンタ20Aは、被交換記録装置の一例である。プリンタ20Bは、交換記録装置の一例である。印刷部25は、記録部の一例である。プリンタ記憶部26Bは、記録装置記憶部の一例である。サーバ30は、受付サーバの一例である。デバイスIDは、記録装置識別情報の一例である。チャージ画面71は、選択画面の一例である。サーバ管理テーブルSTの印刷可能枚数は、サーバ側記録許可情報、サーバ側記録許可量の一例である。プリンタ管理テーブルPTの印刷可能枚数は、記録装置側記録許可情報、記録装置側記録許可量の一例である。図10のチャージ画面71で受け付けるチャージ枚数は、受付記録許可量の一例である。S111~S115、S121、S123は、受付処理、受付ステップの一例である。S133は、許可量設定処理、許可量設定ステップの一例である。S79は、記録処理の一例である。S93及び図8の処理は、更新処理、更新ステップの一例である。S167は、交換申請処理の一例である。S163は、報知処理の一例である。S273、S277は、関連付け処理の一例である。
Incidentally, the mobile terminal device 10 is an example of an information processing device. The application 12B is an example of a program. The print data 12C is an example of recording data. The display 14 is an example of a display unit. The printer 20 is an example of a storage device. The printer 20A is an example of a replaced recording device. The printer 20B is an example of a replacement recording device. The printing unit 25 is an example of a recording unit. The printer memory unit 26B is an example of a recording device memory unit. The server 30 is an example of a reception server. The device ID is an example of recording device identification information. The charge screen 71 is an example of a selection screen. The number of printable sheets in the server management table ST is an example of server-side recording permission information and server-side recording permission amount. The number of printable sheets in the printer management table PT is an example of recording device-side recording permission information and recording device-side recording permission amount. The charge number accepted on the charge screen 71 in FIG. 10 is an example of the accepted recording permission amount. S111 to S115, S121, and S123 are examples of a reception process and a reception step. S133 is an example of an allowed amount setting process and an allowed amount setting step. S79 is an example of a recording process. S93 and the process of FIG. 8 are examples of an update process and an update step. S167 is an example of an exchange request process. S163 is an example of a notification process. S273 and S277 are examples of an association process.
(効果)上記した実施例によれば、以下の効果を奏する。
(1)サーバ30は、サーバ管理テーブルSTにおいて、プリンタ20を識別するデバイスIDと、印刷可能枚数を関連付けて記憶している。携帯端末装置10は、チャージ枚数を受け付けると(S111~S115)、受け付けたデバイスIDに対応する印刷可能枚数にチャージ枚数を加算する設定をサーバ30に実行させる許可量設定情報(設定命令の一例)を、サーバ30に送信する(S133)。これによれば、サーバ30側において、個々のプリンタ20に印刷を許可する印刷可能枚数を、プリンタ20のデバイスIDに関連付けて管理できる。また、プリンタ20を利用する任意のユーザから、デバイスIDとチャージ枚数の指定を行なって、許可量設定情報をサーバ30へ送信することで、印刷可能枚数をチャージできる。即ち、プリンタ20を利用する不特定のユーザからチャージを行なうことができる。ユーザは、プリンタ20へ印刷命令を出すことで、印刷可能枚数で許可された範囲で印刷を実行することができる。ユーザ同士でチャージ枚数をシェアして使用することもできる。これにより、ユーザにとって利便性の高い新規な印刷サービスを実現することができる。
(Effects) According to the above-described embodiment, the following effects are obtained.
(1) The server 30 stores the device ID for identifying the printer 20 in the server management table ST in association with the printable number. When the mobile terminal device 10 receives the charge number (S111 to S115), it transmits to the server 30 the permission amount setting information (an example of a setting command) that causes the server 30 to execute a setting to add the charge number to the printable number corresponding to the received device ID (S133). According to this, the server 30 can manage the printable number of each printer 20 in association with the device ID of the printer 20. Also, any user who uses the printer 20 can charge the printable number by specifying the device ID and the charge number and transmitting the permission amount setting information to the server 30. That is, charging can be performed by unspecified users who use the printer 20. A user can execute printing within the range permitted by the printable number by issuing a print command to the printer 20. Users can also share the charge number. This allows a new printing service that is highly convenient for users to be realized.
(2)また、携帯端末装置10は、S133において、現在選択中のプリンタ20(例えば、プリンタ表示部61で選択されてプリンタ20)のデバイスID、選択されたチャージ枚数、加算を指示する命令を、即ち、チャージ枚数の設定に係わる情報を、許可量設定情報として、サーバ30へ送信する。これによれば、サーバ30やプリンタ20に対し、チャージ枚数に基づいて、印刷可能枚数にチャージ枚数を加算する処理を実行させることができる。
(2) In addition, in S133, the mobile terminal device 10 transmits the device ID of the currently selected printer 20 (e.g., the printer 20 selected on the printer display unit 61), the selected charge number, and a command to add, i.e., information related to setting the charge number, to the server 30 as permitted amount setting information. This makes it possible to cause the server 30 and the printer 20 to execute a process of adding the charge number to the number of printable sheets based on the charge number.
(3)また、携帯端末装置10は、S133において、チャージ枚数をサーバ30へ送信し、チャージ枚数をサーバ管理テーブルSTの印刷可能枚数に加算させる処理をサーバ30に実行させても良い。これによれば、サーバ30によりチャージ枚数の加算処理を行なわせることで、サーバ30が、加算処理を実行した後、サーバ30側のタイミングで、プリンタ20との間で同期処理を実行することができる。
(3) In addition, in S133, the mobile terminal device 10 may transmit the charge number to the server 30 and cause the server 30 to execute a process of adding the charge number to the number of printable sheets in the server management table ST. In this way, by having the server 30 perform the process of adding the charge number, after the server 30 has performed the addition process, it is possible to perform a synchronization process with the printer 20 at the server 30's timing.
(4)また、携帯端末装置10は、S133において、印刷可能枚数を自動でチャージするオートチャージを実行しても良い。例えば、携帯端末装置10は、ユーザが選択したプリンタ20について、所定の印刷可能枚数まで減った場合にチャージするチャージ枚数やチャージする命令を、S133でサーバ30に通知しても良い。これにより、印刷可能枚数が所定の印刷可能枚数まで減るごとに、自動で印刷可能枚数をチャージできる。ユーザが適宜チャージを実行する必要がなくなるため、ユーザにとって利便性の高い印刷サービスを提供できる。
(4) In addition, the mobile terminal device 10 may execute an auto-charge in S133 to automatically charge the number of printable sheets. For example, the mobile terminal device 10 may notify the server 30 in S133 of the number of sheets to be charged or a charge command to be issued when the number of printable sheets falls to a specified number for the printer 20 selected by the user. This makes it possible to automatically charge the number of printable sheets every time the number of printable sheets falls to the specified number. Since the user does not need to perform charging as needed, a printing service that is highly convenient for the user can be provided.
(5)また、携帯端末装置10は、S133において、チャージ枚数を加算した後の印刷可能枚数をサーバ30へ通知しても良い。例えば、携帯端末装置10は、プリンタ20やサーバ30から最新の印刷可能枚数を取得し、チャージ枚数を加算した結果を、S133で送信しても良い。これにより、加算処理に係わるサーバ30やプリンタ20の処理負荷を軽減できる。
(5) In addition, in S133, the mobile terminal device 10 may notify the server 30 of the number of printable sheets after adding the charge number. For example, the mobile terminal device 10 may obtain the latest number of printable sheets from the printer 20 or the server 30, and send the result of adding the charge number in S133. This reduces the processing load on the server 30 and the printer 20 involved in the addition process.
(6)また、携帯端末装置10は、S111において、チャージ枚数の選択を受け付けるチャージ画面71をディスプレイ14に表示させ、チャージアイコン74の選択を入力I/F15で受け付ける。携帯端末装置10は、選択されたチャージアイコン74に応じたチャージ枚数のチャージをサーバ30に実行させる。これによれば、予め設定されたチャージ枚数の中から、チャージを実行するチャージ枚数の選択を受け付けることで、チャージ処理の処理内容を簡素化することができる。例えば、アプリケーション12Bとサーバ30とで予めチャージ枚数とそのチャージ枚数を識別する識別情報を設定しておくことで、携帯端末装置10は、チャージ枚数の値を送信せずに、選択されたチャージ枚数の識別情報をサーバ30に送信することで、チャージする枚数をサーバ30に識別させることができる。
(6) In addition, in S111, the mobile terminal device 10 displays on the display 14 a charge screen 71 that accepts the selection of the charge number, and accepts the selection of a charge icon 74 via the input I/F 15. The mobile terminal device 10 causes the server 30 to charge the charge number corresponding to the selected charge icon 74. In this way, by accepting the selection of the charge number to be charged from among pre-set charge numbers, the processing content of the charge process can be simplified. For example, by setting the charge number and identification information identifying that charge number in advance between the application 12B and the server 30, the mobile terminal device 10 can cause the server 30 to identify the number to be charged by transmitting identification information of the selected charge number to the server 30 without transmitting the value of the charge number.
(7)また、携帯端末装置10は、S111のチャージ枚数の選択を受け付ける際に、メニュー画面51の選択ボタン63の選択に応じて、同一ネットワーク上のプリンタ20、過去に印刷・チャージ処理等を実行したことがあるプリンタ20、即ち、携帯端末装置10と通信したことがあるプリンタ20のプリンタ名を一覧表示する。携帯端末装置10は、一覧から任意のプリンタ20を選択された状態で、メニュー画面51のステータスアイコン57を選択されると、その選択されたプリンタ20についてチャージ画面71を表示する。これによれば、携帯端末装置10と同一ネットワーク上にあるプリンタ20や過去に通信したプリンタ20の履歴の中から、チャージ対象のプリンタ20の選択を受け付けることができる。
(7) In addition, when accepting the selection of the charge quantity in S111, the portable terminal device 10 displays a list of printer names of printers 20 on the same network and printers 20 that have previously performed printing and charging processes, i.e., printers 20 that have communicated with the portable terminal device 10, in response to the selection of the selection button 63 on the menu screen 51. When a printer 20 is selected from the list and the status icon 57 on the menu screen 51 is selected, the portable terminal device 10 displays a charge screen 71 for the selected printer 20. This makes it possible to accept the selection of the printer 20 to be charged from among the printers 20 on the same network as the portable terminal device 10 and the history of printers 20 that have communicated in the past.
(8)また、携帯端末装置10は、S79において、印刷命令をプリンタ20へ送信し、印刷データ12Cの印刷をプリンタ20に実行させる。これによれば、複数のユーザが、同一のプリンタ20に対して印刷命令を出すことができ、プリンタ20を共用できる。
(8) In addition, in S79, the mobile terminal device 10 sends a print command to the printer 20 and causes the printer 20 to print the print data 12C. This allows multiple users to issue print commands to the same printer 20, allowing the printer 20 to be shared.
(9)また、サーバ30及びプリンタ20は、サーバ管理テーブルSTの印刷可能枚数と、プリンタ管理テーブルPTの印刷可能枚数を同期させる(図7のS93、図8)。携帯端末装置10は、S77において、S75でプリンタ20から取得した印刷可能枚数が印刷実行操作にて指定された印刷指定枚数以上であることに応じて、印刷命令をプリンタ20へ送信する(図6のS55:YES)。これによれば、プリンタ20の印刷可能枚数が、印刷する枚数以上の場合のみ、プリンタ20に対して印刷命令を出すことができる。印刷途中に印刷可能枚数がなくなって印刷ができなくなるような事態の発生を抑制できる。
(9) The server 30 and printer 20 also synchronize the printable number in the server management table ST with the printable number in the printer management table PT (S93 in FIG. 7, FIG. 8). In S77, the mobile terminal device 10 sends a print command to the printer 20 if the printable number obtained from the printer 20 in S75 is equal to or greater than the number of pages specified in the print execution operation (S55: YES in FIG. 6). This allows the print command to be issued to the printer 20 only if the printable number of pages of the printer 20 is equal to or greater than the number of pages to be printed. This prevents the occurrence of a situation in which the printable number runs out midway and printing becomes impossible.
(10)また、サーバ30は、プリンタ20の交換の申請を受け付ける。携帯端末装置10は、入力I/F15に対する操作入力に応じて、交換申請をサーバ30へ送信する(S167)。これによれば、ユーザは、プリンタ20のインク残量が減ってきたことに応じて、交換の申請を携帯端末装置10で実行することができる。
(10) The server 30 also accepts a request to replace the printer 20. The mobile terminal device 10 transmits a request for replacement to the server 30 in response to an operational input to the input I/F 15 (S167). This allows the user to make a request for replacement on the mobile terminal device 10 in response to the remaining ink level of the printer 20 decreasing.
(11)また、サーバ30は、プリンタ20Aから取得したインク残量(着色剤の残量の一例)が所定の残量以下となると、交換要求通知を携帯端末装置10へ送信する(S187)。携帯端末装置10は、交換要求通知を受信すると、交換通知表示を実行する(S163)。これによれば、インク残量の低減に応じて、適切なタイミングでプリンタ20の交換をユーザに促すことができる。尚、インク残量の判断は、携帯端末装置10が実行しても良い。
(11) Furthermore, when the remaining ink level (one example of the remaining colorant level) obtained from the printer 20A falls below a predetermined level, the server 30 sends a replacement request notification to the mobile terminal device 10 (S187). When the mobile terminal device 10 receives the replacement request notification, it executes a replacement notification display (S163). This makes it possible to prompt the user to replace the printer 20 at an appropriate time depending on the reduction in the remaining ink level. Note that the determination of the remaining ink level may be executed by the mobile terminal device 10.
(12)また、携帯端末装置10は、S215の引き継ぎ命令をサーバ30に送信することで、交換前のプリンタ20Aの印刷可能枚数を、交換後のプリンタ20Bの印刷可能枚数に移行させる(S273、S277)。これによれば、交換が必要となったプリンタ20Aの残りの印刷可能枚数を、新しいプリンタ20Bに移行させて使用することができる。
(12) In addition, the mobile terminal device 10 transmits the takeover command of S215 to the server 30, thereby transferring the number of printable pages of the printer 20A before replacement to the number of printable pages of the printer 20B after replacement (S273, S277). This allows the remaining number of printable pages of the printer 20A that needs to be replaced to be transferred to the new printer 20B for use.
(13)また、携帯端末装置10は、サーバ30及びプリンタ20の少なくとも一方に対し、印刷可能枚数の同期処理を開始させる開始命令を送信しても良い。例えば、携帯端末装置10は、図4の初回チャージにおいて、プリンタ20に対して同期処理を命令する(S43)。また、携帯端末装置10は、図7のS79の印刷命令をプリンタ20に送信することで、印刷後の同期処理をプリンタ20に実行させることができる。また、携帯端末装置10は、図8の非印刷時同期処理を開始させる開始命令を、プリンタ20に対して送信しても良い。また、携帯端末装置10は、プリンタ20との間で印刷可能枚数を同期させる命令を、サーバ30に送信しても良い。これによれば、チャージ処理前、印刷処理後、電源投入後などの任意のタイミングで、サーバ30とプリンタ20との間で、印刷可能枚数の同期を行なわせることができる。
(13) The mobile terminal device 10 may also send a start command to at least one of the server 30 and the printer 20 to start the synchronization process of the printable number. For example, the mobile terminal device 10 commands the printer 20 to perform the synchronization process during the initial charge in FIG. 4 (S43). The mobile terminal device 10 may also send the print command in S79 in FIG. 7 to the printer 20 to cause the printer 20 to execute the synchronization process after printing. The mobile terminal device 10 may also send a start command to the printer 20 to start the non-printing synchronization process in FIG. 8. The mobile terminal device 10 may also send a command to the server 30 to synchronize the printable number with the printer 20. This allows the server 30 and the printer 20 to synchronize the printable number at any time, such as before the charge process, after the print process, or after the power is turned on.
(14)また、プリンタ20は、ユーザによってインクの補充が難しい構成となっている。これによれば、インクを補充したプリンタ20を、印刷システム1以外の印刷に使用するようなプリンタ20の不正利用の発生を抑制できる。
(14) The printer 20 is also configured to make it difficult for a user to refill the ink. This can prevent unauthorized use of the printer 20, such as using the printer 20 for printing other than that performed by the printing system 1 after refilling the printer 20 with ink.
(15)また、印刷システム1は、印刷可能枚数が所定の条件を満たすことに応じてプリンタ20の印刷に関する動作を制限する。ここでいう「所定の条件を満たす」とは、例えば、上記実施例における「プリンタ管理テーブルPTの印刷可能枚数がゼロになる条件」や、「印刷可能枚数が印刷指定枚数未満になる条件(S55:NO)」である。従って、S55、S57は、制御ステップの一例である。これによれば、ユーザの課金やベンダからのサービスによってチャージされる印刷可能枚数に応じて、プリンタ20による印刷サービスを制限できる。
(15) The printing system 1 also restricts the printing operations of the printer 20 depending on whether the printable number of sheets satisfies a specific condition. Here, "satisfying a specific condition" refers to, for example, "the condition where the printable number in the printer management table PT becomes zero" or "the condition where the printable number becomes less than the specified number of sheets to be printed (S55: NO)" in the above embodiment. Therefore, S55 and S57 are examples of control steps. This makes it possible to restrict the printing service provided by the printer 20 depending on the printable number charged by the user or the service provided by the vendor.
(その他の実施形態)
上記実施例では、プリンタ20とサーバ30との間で、印刷により減算した後の残りの印刷可能枚数を同期(一致)させる形態を説明したが、本願の更新処理は、印刷可能枚数を一致させる処理に限らない。図17は、その他の実施形態の印刷システム1Aを示している。尚、以下の説明では、上記実施例と同様の構成については、同一符号を付し、その説明を適宜省略する。
Other Embodiments
In the above embodiment, the remaining printable number after subtraction by printing is synchronized (matched) between the printer 20 and the server 30, but the update process of the present application is not limited to matching the printable number. Fig. 17 shows a printing system 1A of another embodiment. In the following description, the same reference numerals are used for configurations similar to those of the above embodiment, and descriptions thereof will be omitted as appropriate.
図17に示すように、例えば、印刷システム1Aのサーバ30は、印刷済枚数151、チャージ済枚数152をサーバ記憶部32Bに記憶している。また、プリンタ20は、印刷済枚数153、チャージ済枚数154をプリンタ記憶部26Bに記憶している。印刷済枚数151,153は、プリンタ20によって印刷された印刷枚数の総計である。即ち、印刷済枚数151,153は、上記実施例の印刷可能枚数とは異なり、印刷回数が増えるごとに増加する枚数である。チャージ済枚数152,154は、携帯端末装置10によってチャージされたチャージ枚数の総計である。即ち、チャージ済枚数152,154は、携帯端末装置10からチャージされるごとに増加する枚数である。この場合、印刷可能枚数は、チャージ済枚数152,154から印刷済枚数151,153を減算した値となる。プリンタ20とサーバ30は、この印刷済枚数151,153とチャージ済枚数152,154について、一方の情報に基づいて他方の情報を更新する更新処理を実行する。印刷済枚数151、チャージ済枚数152は、サーバ側記録許可情報の一例である。印刷済枚数153、チャージ済枚数154は、記録装置側記録許可情報の一例である。
As shown in FIG. 17, for example, the server 30 of the printing system 1A stores the number of printed sheets 151 and the number of charged sheets 152 in the server memory unit 32B. The printer 20 stores the number of printed sheets 153 and the number of charged sheets 154 in the printer memory unit 26B. The numbers of printed sheets 151 and 153 are the total number of printed sheets printed by the printer 20. In other words, unlike the number of printable sheets in the above embodiment, the numbers of printed sheets 151 and 153 are numbers that increase with each increase in the number of prints. The numbers of charged sheets 152 and 154 are the total number of charged sheets charged by the mobile terminal device 10. In other words, the numbers of charged sheets 152 and 154 are numbers that increase with each charge from the mobile terminal device 10. In this case, the number of printable sheets is the value obtained by subtracting the numbers of printed sheets 151 and 153 from the numbers of charged sheets 152 and 154. The printer 20 and server 30 execute an update process for the printed numbers 151, 153 and the charged numbers 152, 154, updating one piece of information based on the other piece of information. The printed number 151 and the charged number 152 are examples of server-side recording permission information. The printed number 153 and the charged number 154 are examples of recording device-side recording permission information.
詳述すると、例えば、プリンタ20には、チャージ済枚数154の初期値として、購入時に5000枚がチャージされる。プリンタ20は、印刷処理を実行すると印刷した枚数だけ印刷済枚数153を増加させる(S307)。プリンタ20は、例えば、印刷後に、チャージ済枚数154から印刷済枚数153を減算した値、即ち、印刷可能枚数がゼロとなった場合、それ以降の印刷動作を制限する。あるいは、プリンタ20は、印刷前に印刷可能枚数を演算して印刷可能枚数が足りない場合、印刷を実行しなくとも良い。例えば、プリンタ20は、「印刷可能枚数が印刷命令の印刷指定枚数を超える条件」や、「(印刷済枚数153+印刷指定枚数)がチャージ済枚数154を越える条件」が印刷前に成立した場合(本願の「記録許可情報が所定の条件を満たす場合」の一例)、その印刷命令の印刷を中止しても良い(本願の制御ステップの一例で)。また、サーバ30が、チャージ済枚数152から印刷済枚数151を減算して印刷可能枚数を判断し、プリンタ20のアクティベーション情報等を制御して印刷を制限しても良い。従って、本実施例では、印刷可能枚数(本願の印刷許可量の一例)自体を装置が記憶せずとも、演算によって管理することができる。
In more detail, for example, 5000 sheets are charged to the printer 20 at the time of purchase as the initial value of the charged number 154. When the printer 20 executes a print process, it increases the printed number 153 by the number of sheets printed (S307). For example, after printing, if the value obtained by subtracting the printed number 153 from the charged number 154, i.e., the number of printable sheets, becomes zero, the printer 20 restricts subsequent print operations. Alternatively, the printer 20 may not execute printing if the number of printable sheets is insufficient after calculating the number of printable sheets before printing. For example, the printer 20 may cancel printing of the print command if the "condition that the number of printable sheets exceeds the number of prints specified in the print command" or the "condition that (the number of printed sheets 153 + the number of prints specified) exceeds the charged number 154" is met before printing (an example of the "case where the recording permission information satisfies a predetermined condition" in the present application) (an example of a control step in the present application). Also, the server 30 may determine the number of printable sheets by subtracting the number of printed sheets 151 from the number of charged sheets 152, and may limit printing by controlling the activation information of the printer 20. Therefore, in this embodiment, the number of printable sheets (an example of the printable amount in this application) itself can be managed by calculation without being stored in the device.
また、例えば、サーバ30は、携帯端末装置10からチャージ命令を受信すると(S310)、チャージ命令で命令されたチャージ枚数(例えば、1000枚)をチャージ済枚数152に加算する(S303)。サーバ30は、加算後のチャージ済枚数152で、プリンタ20のチャージ済枚数154を更新(上書き)する(S305)。これにより、プリンタ20のチャージ済枚数154に、チャージ枚数が加算される(例えば、5000+1000=6000枚)。尚、サーバ30は、チャージ済枚数154を上書きせずに、上記実施例のように、加算するチャージ枚数をプリンタ20へ通知し、加算処理をプリンタ20に実行させても良い。あるいは、サーバ30は、加算後のチャージ済枚数152と印刷済枚数151の差分の値をプリンタ20へ通知しても良い。そして、プリンタ20が、受信した差分の値を、印刷済枚数153に加算してチャージ済枚数154を演算して更新しても良い。
Also, for example, when the server 30 receives a charge command from the mobile terminal device 10 (S310), it adds the charge number (e.g., 1000 sheets) instructed by the charge command to the charged number 152 (S303). The server 30 updates (overwrites) the charged number 154 of the printer 20 with the charged number 152 after the addition (S305). As a result, the charged number is added to the charged number 154 of the printer 20 (e.g., 5000 + 1000 = 6000 sheets). The server 30 may notify the printer 20 of the charge number to be added as in the above embodiment without overwriting the charged number 154, and have the printer 20 execute the addition process. Alternatively, the server 30 may notify the printer 20 of the difference between the charged number 152 after the addition and the printed number 151. The printer 20 may then add the received difference value to the number of printed pages 153 to calculate and update the number of charged pages 154.
プリンタ20は、更新後のチャージ済枚数154(例えば、6000枚)を上限値として設定し、携帯端末装置10等から印刷命令を受信すると(S310)、印刷済枚数153がチャージ済枚数154以上となるまで印刷を実行する。上記したように、プリンタ20は、例えば、印刷が終了するごとに、印刷枚数だけ印刷済枚数153を増加させる(S307)。そして、プリンタ20は、増加させた後の印刷済枚数153で、サーバ30の印刷済枚数151を更新(上書き)する(S309)。
The printer 20 sets the updated charged number 154 (e.g., 6,000 sheets) as an upper limit, and when it receives a print command from the mobile terminal device 10 or the like (S310), it prints until the printed number 153 is equal to or greater than the charged number 154. As described above, the printer 20 increases the printed number 153 by the number of printed sheets, for example, each time printing is completed (S307). The printer 20 then updates (overwrites) the printed number 151 of the server 30 with the increased printed number 153 (S309).
因みに、上記したその他の実施形態において、印刷済枚数151、チャージ済枚数152は、サーバ側記録許可情報の一例である。印刷済枚数153、チャージ済枚数154は、記録装置側記録許可情報の一例である。チャージ済枚数152,154から印刷済枚数151,153を減算した量は、サーバ側記録許可量、記録装置側記録許可量の一例である。
Incidentally, in the other embodiments described above, the number of printed pages 151 and the number of charged pages 152 are examples of server-side recording permission information. The number of printed pages 153 and the number of charged pages 154 are examples of recording device-side recording permission information. The amount obtained by subtracting the number of printed pages 151, 153 from the number of charged pages 152, 154 is an example of the server-side recording permission amount and the recording device-side recording permission amount.
(効果)上記した実施例によれば、以下の効果を奏する。
サーバ30は、携帯端末装置10から受信したチャージ枚数で加算したチャージ済枚数152をプリンタ20へ送信し、プリンタ20のチャージ済枚数154を更新する(S305)。また、プリンタ20は、S310の印刷命令に基づいて実行した印刷動作による印刷枚数で印刷済枚数153を更新する(S307)。プリンタ20は、更新した印刷済枚数153に基づいて、サーバ30の印刷済枚数151を更新する(S309)。これによれば、サーバ30からはチャージ済枚数152を通知することで、プリンタ20からは印刷済枚数153を通知することで、印刷可能枚数を互いに管理することができる。更新処理における通信の頻度を減らすことができる。
(Effects) According to the above-described embodiment, the following effects are obtained.
The server 30 sends the charged number 152, which is the sum of the charged number received from the mobile terminal device 10, to the printer 20, and updates the charged number 154 of the printer 20 (S305). The printer 20 also updates the printed number 153 with the number of sheets printed by the printing operation executed based on the print command of S310 (S307). The printer 20 updates the printed number 151 of the server 30 based on the updated printed number 153 (S309). In this way, the server 30 notifies the charged number 152, and the printer 20 notifies the printed number 153, allowing the number of printable sheets to be managed by each other. The frequency of communication during the update process can be reduced.
(変形例)
以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。
(Modification)
Although specific examples of the present invention have been described above in detail, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and variations of the specific examples exemplified above. Modifications of the above embodiments are listed below.
上記の実施例において、本願の情報処理端末として、スマートフォンである携帯端末装置10を採用したが、これに限らない。情報処理装置としては、デスクトップPC、ノートPC、タブレットPC等の端末を採用できる。
また、1つのプリンタ20に対して、複数の携帯端末装置10から印刷の命令や追加の印刷可能枚数の購入を実施しても良い。
また、本実施形態では一つの携帯端末装置10に対してサーバ30が通信する例を示したが、複数の携帯端末装置10と通信するようにしても良い。例えば、サーバ30は、複数の携帯端末装置10からチャージの命令を受け付け、各携帯端末装置10からのチャージ命令に基づいて各プリンタ20に対応付けた印刷可能枚数にチャージ枚数を加算し、サーバ記憶部32Bに記憶するようにしても良い。これにより、各ユーザが、個人のプリンタ20や共用のプリンタ20へ任意の場所からチャージを実行することができる。この場合、サーバ30は各携帯端末装置10に対し、更新された印刷可能枚数を通知するようにしても良い。
プリンタ20は、ユーザがインクを補充可能(タンク部23の各インクタンクを交換可能)な構成でも良い。また、インクなどの消耗品を補充するための手段としては、他にはタンク部23に対してインクなどが入ったボトルから注入可能にする構成などが挙げられる。
また、本願の記録装置として、インクジェット方式のプリンタ20を採用したが、レーザープ方式やサーマル方式のプリンタでも良い。また、記録装置は、個人ユーザ向けのプリンタに限らず、商業用・産業用の印刷機でも良い。従って、記録装置は、印刷機能の他に、スキャン機能、コピー機能、FAX機能等を備える複合機でも良い。また、記録装置は、金属部材等に対して、レーザによりマーカを行うレーザマーカでも良い。従って、本願の記録媒体は、用紙に限らず、金属部材等でも良い。
In the above embodiment, the mobile terminal device 10, which is a smartphone, is used as the information processing terminal of the present application, but this is not limited to this. As the information processing device, a desktop PC, a notebook PC, a tablet PC, or other terminal can be used.
Furthermore, a plurality of mobile terminal devices 10 may issue printing commands or purchase additional printable sheets to one printer 20 .
In addition, in the present embodiment, the server 30 communicates with one portable terminal device 10, but the server 30 may communicate with multiple portable terminal devices 10. For example, the server 30 may receive recharge commands from multiple portable terminal devices 10, add the recharge number to the printable number associated with each printer 20 based on the recharge command from each portable terminal device 10, and store the recharge number in the server storage unit 32B. This allows each user to recharge their personal printer 20 or a shared printer 20 from any location. In this case, the server 30 may notify each portable terminal device 10 of the updated printable number.
The printer 20 may be configured so that the user can refill ink (so that each ink tank in the tank unit 23 can be replaced). Another example of a means for refilling consumables such as ink is a configuration in which ink can be poured into the tank unit 23 from a bottle containing ink.
In addition, although an inkjet printer 20 is employed as the recording device of the present application, a laser printer or a thermal printer may also be used. The recording device is not limited to a printer for personal users, but may be a commercial or industrial printing machine. Therefore, the recording device may be a multifunction machine that has a scanning function, a copying function, a fax function, etc. in addition to a printing function. The recording device may also be a laser marker that uses a laser to mark metal members, etc. Therefore, the recording medium of the present application is not limited to paper, but may be metal members, etc.
また、プリンタ20は、プリンタ管理テーブルPTを、プリンタ記憶部26Bに記憶する構成であったが、これに限らない。例えば、プリンタ20は、ICカードやメモリカード等を読み取り可能な読み取りI/Fを備えても良い。そして、プリンタ20は、読み取りI/Fに装着されたICカード等から、デバイスIDや印刷可能枚数などのプリンタ管理テーブルPTの情報を読み取って用いても良い。即ち、プリンタ20は、プリンタ管理テーブルPTを、ICカード等で管理される構成でも良い。
あるいは、プリンタ20は、印刷可能枚数等のプリンタ管理テーブルPTの情報を、印刷部25のインクタンクに設けられたメモリ、レーザプリンタの場合であれば、トナーカートリッジのメモリ、感光体ドラムのメモリなど、プリンタプログラム26B1が記憶された記憶部以外のメモリ等に記憶して管理しても良い。
また、初期デバイス設定処理、印刷処理、チャージ処理、申請処理、引き継ぎ処理の各処理を実行するアプリケーション12Bは、別のアプリケーションプログラムでも良い。
また、本願における記録許可情報が示す記録許可量は、印刷枚数に限らない。例えば、記録許可量は、インクやトナーの消費量でも良い。記録許可量は、何ドット(ピクセル)だけインクの吐出を許可する量、インクの使用を許可する量(何mlなど)でも良い。あるいは、記録許可量は、感光体ドラム等の印刷動作にともなって回転する部材の回転数で規定しても良い。
Furthermore, printer 20 is configured to store printer management table PT in printer storage unit 26B, but this is not limited to the above. For example, printer 20 may be equipped with a reading I/F capable of reading IC cards, memory cards, etc. Printer 20 may then read and use information in printer management table PT, such as the device ID and printable number of sheets, from an IC card or the like attached to the reading I/F. In other words, printer 20 may be configured to manage printer management table PT using an IC card or the like.
Alternatively, printer 20 may store and manage information in the printer management table PT, such as the number of printable pages, in a memory provided in an ink tank of printing unit 25, or in the case of a laser printer, in a memory of a toner cartridge or a memory of a photosensitive drum, or in other memory other than the memory unit in which printer program 26B1 is stored.
Furthermore, the application 12B that executes the initial device setting process, the printing process, the charging process, the application process, and the handover process may be a separate application program.
Furthermore, the recording permission amount indicated by the recording permission information in this application is not limited to the number of printed sheets. For example, the recording permission amount may be the amount of ink or toner consumed. The recording permission amount may be the amount of ink permitted to be ejected (dots (pixels)) or the amount of ink permitted to be used (e.g., ml). Alternatively, the recording permission amount may be defined by the number of rotations of a member that rotates in conjunction with the printing operation, such as a photosensitive drum.
S249、S251における交換前のプリンタ20Aの印刷を制限する処理を、携帯端末装置10からプリンタ20Aへ命令して実行しても良い。
また、上記実施例では、1台のプリンタ20Aの印刷可能枚数を、1台のプリンタ20Bに移行させたが、これに限らない。プリンタ20Aの印刷可能枚数を、複数のプリンタ20Bに分割して移行しても良く。複数のプリンタ20Aの印刷可能枚数を、統合して1台のプリンタ20Bに移行しても良い。
申請処理により、ユーザから交換の申請を受け付けたが、サーバ30が、交換が必要と判断したプリンタ20Aのユーザへ、申請の有無に係わらず引き継ぎコード97の発行とプリンタ20Bの発送を自動で実行しても良い。
S243の接続の確認、S249の印刷の制限、S255の印刷可能枚数の取得等のサーバ30の処理の一部又は全部を、サーバ30以外の装置(携帯端末装置10やプリンタ20)が実行しても良い。同様に、携帯端末装置10やプリンタ20の処理を、サーバ30が実行しても良い。
The processes of S249 and S251 for restricting printing by the replaced printer 20A may be executed by issuing a command from the mobile terminal device 10 to the printer 20A.
In the above embodiment, the printable number of one printer 20A is transferred to one printer 20B, but this is not limited to the above. The printable number of the printer 20A may be divided and transferred to multiple printers 20B. The printable numbers of multiple printers 20A may be integrated and transferred to one printer 20B.
The application process accepts an application for replacement from a user, but the server 30 may automatically issue a takeover code 97 and ship the printer 20B to the user of the printer 20A that it determines needs replacement, regardless of whether an application has been made or not.
A part or all of the processes of the server 30, such as checking the connection in S243, restricting printing in S249, and obtaining the number of printable sheets in S255, may be executed by a device (such as the mobile terminal device 10 or the printer 20) other than the server 30. Similarly, the processes of the mobile terminal device 10 and the printer 20 may be executed by the server 30.
また、携帯端末装置10は、プリンタ20やサーバ30から取得した印刷可能枚数を端末記憶部12に記憶し、ユーザに通知等しても良い。これにより、例えば、ユーザは、携帯端末装置10を操作することで、最新の印刷可能枚数を確認できる。また、携帯端末装置10は、サーバ30、プリンタ20と連携して、印刷可能枚数の同期処理を実行しても良い。ユーザは、プリンタ20と通信できない場所(LAN外など)にいても、最新の印刷可能枚数を確認してサーバ30へ引き継ぎ等の命令を出すことができる。
また、プリンタ20を交換する際の交換識別情報は、引き継ぎコード97に限らない。例えば、交換識別情報としては、製品ごとに付与されるプリンタ20のシリアル番号を採用することができる。この場合、携帯端末装置10は、交換識別情報を、引き継ぎコード97のようにサーバ30から取得しなくとも良い。例えば、ベンダから発送する交換用のプリンタ20Bの箱にシリアル番号を印刷しておき、そのシリアル番号を引き継ぎの際に受け付けることで、引き継ぐ印刷可能枚数等をサーバ30が判断しても良い。また、この場合、引き継ぎコード97の発行等を要求する申請処理が不要となる。
The mobile terminal device 10 may also store the number of printable sheets obtained from the printer 20 or the server 30 in the terminal storage unit 12 and notify the user of the number. This allows the user to check the latest number of printable sheets by operating the mobile terminal device 10, for example. The mobile terminal device 10 may also execute a synchronization process for the number of printable sheets in cooperation with the server 30 and the printer 20. Even if the user is in a place where communication with the printer 20 is not possible (e.g., outside the LAN), the user can check the latest number of printable sheets and issue a command to the server 30 to take over, etc.
Furthermore, the replacement identification information when replacing the printer 20 is not limited to the takeover code 97. For example, the serial number of the printer 20 that is assigned to each product can be used as the replacement identification information. In this case, the mobile terminal device 10 does not need to obtain the replacement identification information from the server 30, unlike the takeover code 97. For example, a serial number may be printed on the box of the replacement printer 20B shipped from the vendor, and the server 30 may determine the number of printable pages to be taken over by accepting the serial number at the time of takeover. In this case, there is no need for an application process to request the issuance of the takeover code 97.
上記の実施例において、プリンタ20の交換を、インク残量に基づいて実行した。しかしながら、プリンタ20の交換を、プリンタ20の故障が発生した場合や、現在使用しているプリンタ20と異なるプリンタ20をユーザが所望した場合に実行してもよい。
また、図9のチャージ処理において、ディスプレイ14に表示されたチャージ画面71ら所望のチャージアイコン74を選択することで、選択したチャージアイコン74に対応するチャージ枚数が印刷可能枚数にチャージ(加算)された。しかしながら、ユーザが所望のチャージ枚数を入力できるように構成して、ユーザによって入力されたチャージ枚数を印刷可能枚数にチャージし、入力されたチャージ枚数に応じた課金額をベンダがユーザに請求するようにしても良い。また、用紙をチャージする構成に限らず、ポイントをチャージしたり、インク量をチャージしたりするような印刷システム1としてもよい。この場合、例えば片面印刷か両面印刷か、あるいは印刷データで使用するインク量などに応じて、印刷1回あたりのポイントやインク量を算出し、チャージされたポイントやインク量からカウントするようにすればよい。
In the above embodiment, the printer 20 is replaced based on the remaining amount of ink. However, the printer 20 may be replaced when a malfunction occurs in the printer 20 or when the user desires a printer 20 different from the printer 20 currently being used.
9, by selecting a desired charge icon 74 from the charge screen 71 displayed on the display 14, the charge number corresponding to the selected charge icon 74 is charged (added) to the printable number. However, the system may be configured so that the user can input a desired charge number, the charge number input by the user is charged to the printable number, and the vendor bills the user for the amount of charge according to the input charge number. The printing system 1 may be configured not only to charge paper, but also to charge points or charge an amount of ink. In this case, the points or amount of ink per print may be calculated according to, for example, single-sided or double-sided printing, or the amount of ink used in the print data, and the points or amount of ink may be counted from the charged points or amount of ink.