JP5978991B2 - Printing device - Google Patents
Printing device Download PDFInfo
- Publication number
- JP5978991B2 JP5978991B2 JP2012287135A JP2012287135A JP5978991B2 JP 5978991 B2 JP5978991 B2 JP 5978991B2 JP 2012287135 A JP2012287135 A JP 2012287135A JP 2012287135 A JP2012287135 A JP 2012287135A JP 5978991 B2 JP5978991 B2 JP 5978991B2
- Authority
- JP
- Japan
- Prior art keywords
- partial data
- data
- printing apparatus
- printing
- communication session
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
本明細書によって開示される技術は、印刷データを格納する格納装置とインターネットを用いて通信する印刷装置に関する。 The technology disclosed in this specification relates to a printing apparatus that communicates with a storage apparatus that stores print data using the Internet.
特許文献1には、印刷装置が開示されている。印刷装置は、サーバ装置から印刷用データを取得する。サーバ装置は、印刷用データを分割して印刷装置に送信する。
従来技術では、分割された印刷データの一部が受信されている間に、印刷装置が、印刷データを受信することができなくなる事態が想定されていない。本明細書では、印刷装置が、データを受信している間に、データを受信できなくなる場合に、データを適切に取得し得る技術を提供する。 In the prior art, it is not assumed that the printing apparatus cannot receive the print data while a part of the divided print data is received. The present specification provides a technology that can appropriately acquire data when the printing apparatus cannot receive data while receiving data.
本明細書によって開示される技術は、データを提供する提供装置と、インターネットを用いて通信する印刷装置に関する。印刷装置は、印刷データを用いて印刷を実行する印刷機構を備える。印刷装置は、取得部と供給部とを備える。取得部は、印刷データの一部である部分データを、印刷装置が受信するための部分データ要求を、提供装置に送信する要求処理と、部分データ要求に応じて提供装置から部分データを受信する受信処理と、を繰り返し実行することによって、提供装置から印刷データを取得する。供給部は、受信された1個以上の部分データを、印刷機構に供給する。取得部は、印刷データの一部である第1の部分データを、印刷装置が受信するための第1の部分データ要求に応じて、提供装置から第1の部分データを受信する第1の受信処理を実行している間に、印刷装置が、第1の部分データを受信することができる通常状態から、第1の部分データを受信することができないエラー状態に移行する場合に、印刷装置がエラー状態から通常状態に移行した後に、第1の部分データのうち、未だ受信していない未受信データを含む第2の部分データを、印刷装置が受信するための第2の部分データ要求を、提供装置に送信する第1の部分データ要求処理を実行する。 The technology disclosed in this specification relates to a providing apparatus that provides data and a printing apparatus that communicates using the Internet. The printing apparatus includes a printing mechanism that performs printing using print data. The printing apparatus includes an acquisition unit and a supply unit. The acquisition unit receives a partial data request for the printing apparatus to receive a partial data request that is a part of the print data, and receives the partial data from the providing apparatus in response to the partial data request. By repeatedly executing the reception process, print data is acquired from the providing apparatus. The supply unit supplies the received one or more pieces of partial data to the printing mechanism. The acquisition unit receives the first partial data from the providing apparatus in response to the first partial data request for the printing apparatus to receive the first partial data that is a part of the print data. When the printing apparatus shifts from the normal state in which the first partial data can be received to the error state in which the first partial data cannot be received while the processing is being executed, After the transition from the error state to the normal state, the second partial data request for the printing apparatus to receive the second partial data including the unreceived data that has not been received among the first partial data, A first partial data request process to be transmitted to the providing apparatus is executed.
この構成によれば、印刷装置は、印刷装置がエラー状態に移行したために、受信することができなくなった第1の部分データを、エラー状態から通常状態に移行した後に、提供装置から受信することができる。これにより、印刷装置が印刷データを受信している間に、データを受信できなくなる場合に、印刷データを適切に取得し得る。 According to this configuration, the printing apparatus receives, from the providing apparatus, the first partial data that cannot be received because the printing apparatus has shifted to the error state, after the shift from the error state to the normal state. Can do. Thereby, when the printing apparatus cannot receive data while receiving print data, the print data can be appropriately acquired.
取得部は、第1の受信処理を実行している間に、印刷装置が、通常状態からエラー状態に移行する場合に、印刷装置が、エラー状態から通常状態に移行するまでの間、第1の部分データ要求処理を実行しなくてもよい。この構成によれば、印刷装置は、エラー状態であるにも関わらず、提供装置からデータを取得すべき状況を回避し得る。 When the printing apparatus shifts from the normal state to the error state while executing the first reception process, the acquisition unit performs the first process until the printing apparatus shifts from the error state to the normal state. The partial data request process may not be executed. According to this configuration, the printing apparatus can avoid a situation in which data should be acquired from the providing apparatus despite being in an error state.
印刷装置は、さらに、印刷装置と提供装置との間に、通信セッションを確立する確立部を備えていてもよい。取得部は、確立された第1の通信セッションを利用して、第1の受信処理を実行している間に、印刷装置が、通常状態からエラー状態に移行し、さらに、エラー状態から通常状態に移行した後であって、第1の通信セッションが維持されている第1の場合に、第1の通信セッションを利用して、第1の受信処理を続行してもよい。確立部は、第1の通信セッションを利用して、第1の受信処理を実行している間に、印刷装置が、通常状態からエラー状態に移行し、さらに、エラー状態から通常状態に移行した後であって、第1の通信セッションが終了している第2の場合に、第2の通信セッションを、新たに確立してもよい。取得部は、第2の通信セッションを利用して、第1の部分データ要求処理を実行してもよい。この構成によれば、印刷装置は、エラー状態から通常状態に移行した後、印刷装置が通常状態からエラー状態に移行する前に利用されていた第1の通信セッションが維持されている場合、当該第1の通信セッションを利用して、部分データを受信することができる。この結果、通信セッションを確立するための処理を実行せずに済む。一方、印刷装置は、エラー状態から通常状態に移行した後、印刷装置が通常状態からエラー状態に移行する前に利用されていた第1の通信セッションが終了している場合、新たな第2の通信セッションを利用して、第1の部分データを受信することができる。このため、印刷装置は、第1の部分データを、提供装置から適切に取得することができる。 The printing apparatus may further include an establishing unit that establishes a communication session between the printing apparatus and the providing apparatus. The acquisition unit uses the established first communication session to execute the first reception process, so that the printing apparatus shifts from the normal state to the error state, and further from the error state to the normal state. In the first case where the first communication session is maintained after the transition to, the first reception process may be continued using the first communication session. The establishing unit uses the first communication session to execute the first reception process, so that the printing apparatus shifts from the normal state to the error state, and further shifts from the error state to the normal state. Later, in the second case where the first communication session has ended, a second communication session may be newly established. The acquisition unit may execute the first partial data request process using the second communication session. According to this configuration, after the printing apparatus shifts from the error state to the normal state, the first communication session used before the printing apparatus shifts from the normal state to the error state is maintained. Partial data can be received using the first communication session. As a result, it is not necessary to execute processing for establishing a communication session. On the other hand, if the first communication session used before the printing apparatus transitions from the normal state to the error state after the transition from the error state to the normal state has ended, a new second The first partial data can be received using the communication session. For this reason, the printing apparatus can appropriately acquire the first partial data from the providing apparatus.
取得部は、第1の場合に、第1の部分データ要求処理を実行しなくてもよい。 The acquisition unit may not execute the first partial data request process in the first case.
印刷装置は、さらに、印刷装置と提供装置との間に、通信セッションを確立する確立部と、確立された通信セッションを終了するための終了処理を実行する終了部と、を備えていてもよい。終了部は、確立された第1の通信セッションを利用して、第1の受信処理を実行している間に、印刷装置が、通常状態からエラー状態に移行する場合に、第1の通信セッションを終了するための終了処理を実行してもよい。確立部は、印刷装置と提供装置との間に、第2の通信セッションを確立してもよい。取得部は、第2の通信セッションを利用して、第1の部分データ要求処理を実行してもよい。この構成によれば、印刷装置は、第2の通信セッションを利用して、第1の部分データを受信することができる。このため、印刷装置は、第1の部分データを、提供装置から適切に取得することができる。 The printing apparatus may further include an establishing unit that establishes a communication session and an ending unit that executes an ending process for ending the established communication session between the printing apparatus and the providing apparatus. . The ending unit uses the first communication session when the printing apparatus shifts from the normal state to the error state while executing the first reception process using the established first communication session. An end process for ending the process may be executed. The establishing unit may establish a second communication session between the printing apparatus and the providing apparatus. The acquisition unit may execute the first partial data request process using the second communication session. According to this configuration, the printing apparatus can receive the first partial data using the second communication session. For this reason, the printing apparatus can appropriately acquire the first partial data from the providing apparatus.
第2の部分データ要求は、印刷装置が、未受信データを含み、未受信データによって表される画像以外の画像を表すデータを含まないデータを受信するための要求であってもよい。 The second partial data request may be a request for the printing apparatus to receive data including unreceived data and not including data representing an image other than the image represented by the unreceived data.
取得部は、確立部が、第2の通信セッションを確立するための処理を、1回試行した結果、第2の通信セッションが確立されない場合、第1の部分データ要求処理を実行しなくてもよい。例えば、提供装置が通信不可能な状態である場合、印刷装置は、提供装置と通信セッションを確立するための処理を繰り返し実行しても、通信セッションを確立することはできない。上記の構成では、印刷装置は、1回の第2の通信セッションを確立するための処理を試行して、確立することができない場合、第1の部分データ要求処理を実行しない。この構成によれば、印刷装置と提供装置との間に、通信セッションが確立されていないにも関わらず、印刷装置が、第1の部分データ要求処理を実行することを回避することができる。 The acquiring unit may execute the process for establishing the second communication session once, and if the second communication session is not established as a result of performing the process for establishing the second communication session, the acquiring unit may not execute the first partial data request process. Good. For example, when the providing apparatus is in a state where communication is impossible, the printing apparatus cannot establish a communication session even if the printing apparatus repeatedly executes a process for establishing a communication session with the providing apparatus. In the above configuration, the printing apparatus tries the process for establishing one second communication session, and does not execute the first partial data request process when it cannot be established. According to this configuration, it is possible to prevent the printing apparatus from executing the first partial data request process even though the communication session is not established between the printing apparatus and the providing apparatus.
取得部は、第1の受信処理を実行している間に、印刷装置が、通常状態からエラー状態に移行し、さらに、エラー状態から通常状態に移行した後であって、第1の部分データの受信が完了した後に、印刷データのうちの一部である第3の部分データを、印刷装置が受信するための第3の部分データ要求を、提供装置に送信してもよい。この構成によれば、印刷データを受信している間に、印刷装置が通常状態からエラー状態に移行した場合であっても、印刷装置は、エラー状態から通常状態に移行した後に、印刷データを適切に取得し得る。 The acquisition unit performs the first partial data after the printing apparatus shifts from the normal state to the error state and further from the error state to the normal state while executing the first reception process. After the reception is completed, a third partial data request for the printing apparatus to receive the third partial data that is a part of the print data may be transmitted to the providing apparatus. According to this configuration, even when the printing apparatus shifts from the normal state to the error state while receiving the print data, the printing apparatus transfers the print data after shifting from the error state to the normal state. You can get it properly.
取得部は、第1のデータサイズの第1の部分データを、印刷装置が受信するための第1の部分データ要求に応じて、第1のデータサイズと異なる第2のデータサイズを示す第2のサイズ情報が、提供装置から受信される場合に、第2のデータサイズの第1の部分データを、印刷装置が受信するための新たな第1の部分データ要求を、提供装置に送信してもよい。この構成によれば、印刷装置は、提供装置が送信すべきデータサイズの部分データを、提供装置に要求することができる。 The acquisition unit has a second data size indicating a second data size different from the first data size in response to a first partial data request for the printing apparatus to receive the first partial data having the first data size. When the size information is received from the providing device, a new first partial data request for the printing device to receive the first partial data of the second data size is transmitted to the providing device. Also good. According to this configuration, the printing apparatus can request the providing apparatus for partial data having a data size to be transmitted by the providing apparatus.
印刷装置は、さらに、印刷装置と提供装置との間に、通信セッションを確立する確立部と、確立された通信セッションを終了するための終了処理を実行する終了部と、を備えていてもよい。確立部は、第1の部分データ要求を送信する第3の通信セッションを確立し、取得部は、第3の通信セッションを利用して、第1の部分データ要求を、提供装置に送信してもよい。終了部は、第3の通信セッションを利用して、第2のサイズ情報が、提供装置から受信される場合に、第3の通信セッションを終了してもよい。この構成によれば、印刷装置は、第3の通信セッションを適切に終了させることができる。 The printing apparatus may further include an establishing unit that establishes a communication session and an ending unit that executes an ending process for ending the established communication session between the printing apparatus and the providing apparatus. . The establishing unit establishes a third communication session for transmitting the first partial data request, and the acquiring unit transmits the first partial data request to the providing device using the third communication session. Also good. The termination unit may terminate the third communication session using the third communication session when the second size information is received from the providing apparatus. According to this configuration, the printing apparatus can appropriately end the third communication session.
終了部は、終了処理を実行することによって、第3の通信セッションを切断してもよい。 The termination unit may disconnect the third communication session by executing termination processing.
確立部は、第3の通信セッションが終了した後に、第4の通信セッションを、新たに確立してもよい。取得部は、第4の通信セッションを利用して、第2のデータサイズの第1の部分データを、印刷装置が受信するための新たな第1の部分データ要求を、提供装置に送信してもよい。この構成によれば、印刷装置は、部分データ要求を送信する際に、通信セッションを適切に確立することができる。 The establishing unit may newly establish a fourth communication session after the third communication session is ended. The acquisition unit uses the fourth communication session to transmit a new first partial data request for the printing apparatus to receive the first partial data having the second data size to the providing apparatus. Also good. According to this configuration, the printing apparatus can appropriately establish a communication session when transmitting the partial data request.
印刷装置は、さらに、第1の受信処理を実行している間に、印刷装置が、通常状態からエラー状態に移行する場合に、提供装置に、予め決められている格納期間を越えて、印刷データを格納させるための格納要求を、提供装置に送信する送信部を備えていてもよい。この構成によれば、印刷装置が印刷データ全体を受信する前に、提供装置から印刷データが消去される事態を回避することができる。 The printing apparatus further performs printing for a providing apparatus beyond a predetermined storage period when the printing apparatus shifts from a normal state to an error state while executing the first reception process. You may provide the transmission part which transmits the storage request for storing data to a provision apparatus. According to this configuration, it is possible to avoid a situation in which the print data is deleted from the providing apparatus before the printing apparatus receives the entire print data.
印刷装置は、さらに、印刷装置と提供装置との間に、通信セッションを確立する確立部を備えていてもよい。確立部は、確立された第1の通信セッションを利用して、第1の受信処理を実行している間に、印刷装置が、通常状態からエラー状態に移行する場合に、第1の通信セッションと異なる第5の通信セッションを確立してもよい。送信部は、第5の通信セッションを利用して、格納要求を送信してもよい。この構成によれば、格納要求を送信するための通信セッションを、部分データのための通信セッションとは別に確立することができる。 The printing apparatus may further include an establishing unit that establishes a communication session between the printing apparatus and the providing apparatus. The establishment unit uses the established first communication session to execute the first communication session when the printing apparatus shifts from the normal state to the error state while executing the first reception process. A fifth communication session different from the above may be established. The transmission unit may transmit the storage request using the fifth communication session. According to this configuration, a communication session for transmitting a storage request can be established separately from a communication session for partial data.
第1の部分データ要求は、提供装置のインターネット上の位置情報と、印刷データの識別情報と、第1の部分データを特定するための情報とを含んでいてもよい。この構成によれば、提供装置は、第1の部分データを、適切に特定することができる。 The first partial data request may include location information on the Internet of the providing device, print data identification information, and information for specifying the first partial data. According to this configuration, the providing device can appropriately specify the first partial data.
印刷データを提供する提供装置と、提供装置とインターネットを用いて通信する印刷装置と、を備える通信システムも新規で有用である。印刷装置は、印刷データを用いて印刷を実行する印刷機構を備える。印刷装置は、取得部と供給部とを備える。取得部は、印刷データの一部である部分データを、印刷装置が受信するための部分データ要求を、提供装置に送信する要求処理と、部分データ要求に応じて提供装置から部分データを受信する受信処理と、を繰り返し実行することによって、提供装置から印刷データを取得する。供給部は、受信された1個以上の部分データを、印刷機構に供給する。取得部は、印刷データの一部である第1の部分データを、印刷装置が受信するための第1の部分データ要求に応じて、提供装置から第1の部分データを受信する第1の受信処理を実行している間に、印刷装置が、第1の部分データを受信することができる通常状態から、第1の部分データを受信することができないエラー状態に移行し、さらに、エラー状態から通常状態に移行した後に、第1の部分データのうち、未だ受信していない未受信データを含む第2の部分データを、提供装置に要求する第2の部分データ要求を、提供装置に送信する第1の部分データ要求処理を実行する。 A communication system including a providing device that provides print data and a printing device that communicates with the providing device using the Internet is also new and useful. The printing apparatus includes a printing mechanism that performs printing using print data. The printing apparatus includes an acquisition unit and a supply unit. The acquisition unit receives a partial data request for the printing apparatus to receive a partial data request that is a part of the print data, and receives the partial data from the providing apparatus in response to the partial data request. By repeatedly executing the reception process, print data is acquired from the providing apparatus. The supply unit supplies the received one or more pieces of partial data to the printing mechanism. The acquisition unit receives the first partial data from the providing apparatus in response to the first partial data request for the printing apparatus to receive the first partial data that is a part of the print data. While executing the processing, the printing apparatus shifts from a normal state in which the first partial data can be received to an error state in which the first partial data cannot be received, and from the error state. After shifting to the normal state, a second partial data request for requesting the providing device for second partial data including unreceived data that has not been received among the first partial data is transmitted to the providing device. The first partial data request process is executed.
この構成によれば、印刷装置は、印刷装置がエラー状態に移行したために、受信することができなくなった第1の部分データを、エラー状態から通常状態に移行した後に、提供装置から受信することができる。これにより、印刷装置が印刷データを受信している間に、データを受信できなくなる場合に、印刷データを適切に取得し得る。 According to this configuration, the printing apparatus receives, from the providing apparatus, the first partial data that cannot be received because the printing apparatus has shifted to the error state, after the shift from the error state to the normal state. Can do. Thereby, when the printing apparatus cannot receive data while receiving print data, the print data can be appropriately acquired.
提供装置は、提供装置に格納されている期間が、予め決められている格納期間を越える印刷データを、提供装置から消去する消去部を、さらに備えていてもよい。この構成によれば、提供装置に印刷データが蓄積されることを抑制することができる。 The providing apparatus may further include an erasing unit that erases, from the providing apparatus, print data whose period stored in the providing apparatus exceeds a predetermined storage period. According to this configuration, it is possible to prevent print data from being stored in the providing apparatus.
なお、上記の印刷装置のための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。また、上記の提供装置のための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。 Note that a control method, a computer program, and a computer-readable recording medium storing the computer program for the printing apparatus are also novel and useful. Also, a control method, a computer program, and a computer-readable recording medium for storing the computer program for the providing apparatus are novel and useful.
(第1実施例)
(通信システムの構成)
図1に示されるように、通信システム2は、多機能機(以下では、MFP(Multi-Function Peripheralの略)と呼ぶ)10と、中継サーバ100と、変換サーバ200と、格納サーバ300と、を備える。MFP10と、中継サーバ100と、変換サーバ200と、格納サーバ300とは、インターネット4を用いて、相互に通信可能である。
(First embodiment)
(Configuration of communication system)
As illustrated in FIG. 1, the communication system 2 includes a multi-function device (hereinafter referred to as MFP (abbreviation of Multi-Function Peripheral)) 10, a
(MFP10の構成)
MFP10は、操作部12と、表示部14と、印刷機構16と、ネットワークインターフェイス20と、制御部30と、を備える。MFP10は、印刷機能、スキャン機能、FAX機能等を備える。上記の各部12〜30は、バス線(符号省略)に接続されている。操作部12は、複数のキーによって構成される。ユーザは、操作部12を操作することによって、様々な指示をMFP10に与えることができる。表示部14は、様々な情報を表示するためのディスプレイである。印刷機構16は、インクジェット方式、レーザ方式等の印刷機構を備え、制御部30からの指示に従って印刷を実行する。ネットワークインターフェイス20は、インターネット4に接続されている。
(Configuration of MFP 10)
The
制御部30は、CPU32と、RAM34と、ROM40と、を備える。CPU32は、ROM40に格納されているプログラム42に従って、様々な処理を実行することによって、各部50〜62の機能が実現される。
The
ROM40は、プログラム42を格納する。RAM34は、データ格納領域36を備える。データ格納領域36は、外部装置(例えば変換サーバ200)から受信されるデータを一時的に格納するための領域である。
The
(中継サーバ100の構成)
中継サーバ100は、MFP10が、外部装置(例えば格納サーバ300)から、印刷対象のデータを取得する際に、MFP10と外部装置との通信を仲介する。中継サーバ100は、ネットワークインターフェイス120と、制御部130と、を備える。上記の各部120,130は、バス線(符号省略)に接続されている。ネットワークインターフェイス120は、インターネット4に接続されている。通信システム2内の各デバイス間の通信は、インターネット4を用いて実行される。
(Configuration of relay server 100)
The
制御部130は、CPU132と、ROM140と、を備える。CPU132は、ROM140に格納されているプログラム142に従って、様々な処理を実行することによって、各部150〜152の機能が実現される。ROM140は、プログラム142を格納する。なお、特定部152及び期間送信部154は、第4実施例の中継サーバ100が備える構成であり、第1実施例の中継サーバ100は、各部152,154を備えていなくてもよい。
The
(変換サーバ200の構成)
変換サーバ200は、MFP10が、外部装置(例えば格納サーバ300)から、印刷対象のデータを取得する際に、印刷対象のデータを、MFP10が解釈可能な形式(例えばjpeg(Joint Photographic Experts Groupの略))の印刷データに変換するためのサーバである。変換サーバ200は、ネットワークインターフェイス220と、制御部230と、格納装置260とを備える。上記の各部220,230,260は、バス線(符号省略)に接続されている。ネットワークインターフェイス220は、インターネット4に接続されている。
(Configuration of conversion server 200)
When the
制御部230は、CPU232と、ROM240と、を備える。CPU232は、ROM240に格納されているプログラム242に従って、様々な処理を実行することによって、各部250〜254の機能が実現される。ROM240は、プログラム242を格納する。中継サーバ100及び変換サーバ200は、MFP10のベンダによって設置されるサーバである。
The
格納装置260は、印刷データを格納する。格納装置260は、HDD(Hard Disk Driveの略)を備える。格納装置260は、さらに、印刷データが格納装置260に格納されてからの期間を計測するタイマを備える。タイマの計測時間が、予め決められた格納期間(例えば1時間)を越えると、計測対象の印刷データは、格納装置260から消去される。これにより、格納装置260に、多数のデータが蓄積されることを防止することができる。 The storage device 260 stores print data. The storage device 260 includes an HDD (abbreviation for Hard Disk Drive). The storage device 260 further includes a timer that measures a period after the print data is stored in the storage device 260. When the measurement time of the timer exceeds a predetermined storage period (for example, 1 hour), the print data to be measured is deleted from the storage device 260. Thereby, it is possible to prevent a large amount of data from being stored in the storage device 260.
(格納サーバ300の構成)
格納サーバ300は、外部装置(例えばMFP10)からアップロードされるデータを格納する機能と、格納サーバ300に格納されているデータを、外部装置に提供する機能とを、備える。格納サーバ300は、例えば、「Evernote(登録商標)」、「Google(登録商標) Docs」、「PICASA(登録商標)」、「FACEBOOK(登録商標)」等の公知のクラウドサーバである。
(Configuration of storage server 300)
The
(MFP10が実行する処理)
図2を参照して、MFP10が実行する処理について説明する。MFP10のユーザが、操作部12に、予め決められた画面取得操作を実行すると、受付部50は、中継サーバ100に、印刷設定画面を表す画面データを送信させるための画面要求を、インターネット4を介して、中継サーバ100に送信する。画面取得操作は、例えば、画面データのURL(Uniform Resource Locatorの略)の入力する操作である。画面要求は、画面データのURLを含む。図2の処理は、画面要求が送信されると開始される。S10では、受付部50は、中継サーバ100から、画面データを受信する。受付部50は、画面データを受信すると、ROM40に格納されているブラウザプログラム(図示省略)に従って、画面データによって表される印刷設定画面を、表示部14に表示させる。
(Processing executed by MFP 10)
A process executed by the
ユーザは、操作部12を操作することによって、印刷設定画面に、印刷設定を入力することができる。印刷設定は、印刷対象の元データのURL、印刷部数及び印刷用紙サイズを含む。ユーザは、印刷設定の入力が完了すると、操作部12を操作することによって、予め決められた設定完了操作(例えば、印刷設定画面中の「設定完了」ボタンの操作)を実行する。これにより、受付部50は、印刷部数を含む印刷設定を受け付ける。
The user can input print settings on the print setting screen by operating the
S12では、受付部50は、設定完了操作が実行されることを監視している。制御部30は、設定完了操作が実行されると、印刷設定が完了したと判断して(S12でYES)、S14に進む。S14では、制御部30は、S12において入力された印刷設定を、中継サーバ100に送信する。印刷設定は、印刷部数を示す部数情報を含む。中継サーバ100の部数受信部150は、MFP10から、部数情報を含む印刷設定を受信する。
In S12, the
次いで、S16では、取得部52は、中継サーバ100から、印刷データのダウンロード実行命令が受信されることを監視する。ダウンロード実行命令が受信されると(S16でYES)、S18において、制御部30は、印刷処理(図4参照)を実行する。印刷処理が終了すると、S20において、制御部30は、S18の印刷処理において、中継サーバ100に送付した完了通知の応答として、中継サーバ100から完了確認通知を受信することを監視する。完了確認通知が受信されると(S20でYES)、S22において、制御部30は、印刷完了画面を、表示部14に表示させて、処理を終了する。
Next, in S <b> 16, the
(MFP10が実行するエラー検出処理)
MFP10は、図2の処理とは別に、MFP10が電源ONである間、制御部30は、MFP10が通常状態からエラー状態になることを監視するエラー検出処理を実行する。即ち、エラー検出処理は、図2の処理と並行して実行される場合がある。エラー状態とは、MFP10が、外部装置(例えば変換サーバ200)からデータを受信することができない状態である。
(Error detection process executed by the MFP 10)
In addition to the processing of FIG. 2, the
例えば、印刷機構16が、印刷用紙切れ、トナー切れ、印刷機構16のカバーが開いている等、印刷を実行することができない状態において、印刷すべきデータが受信されると、データ格納領域36に、印刷されていないデータが蓄積される。この場合、データ格納領域36の空き容量が十分でなく、データを受信することができなくなる。あるいは、MFP10が、外部装置と通信を実行することができない状態である。制御部30は、MFP10がデータを受信可能な通常状態から、エラー状態に移行する場合、RAM34内のエラーフラグを、OFFからONに切り替える。なお、通常状態は、エラー状態ではない状態である。
For example, when data to be printed is received in a state where printing cannot be executed, such as when the
なお、変形例では、制御部30は、印刷機構16が印刷を実行することができない状態である場合に、データ格納領域36の空き容量に関わらず、MFP10が通常状態からエラー状態に移行したと判断し、エラーフラグをOFFからONに切り替えてもよい。
In the modified example, when the
(印刷処理が実行される前の通信システム内の処理)
次いで、図3を参照して、図2のS12において、MFP10が印刷設定を送信してから、図2のS18の印刷処理が実行されるまでの通信システム2の各デバイス10,100,200,300の処理を説明する。MFP10が印刷設定を送信すると(図2のS12)、中継サーバ100は、印刷設定を受信する。印刷設定には、印刷部数を示す情報と、印刷対象の元データのURLが含まれる。中継サーバ100は、中継サーバ100が元データを取得するための元データ要求を、格納サーバ300に送信する。元データ要求は、元データのURLを含む。格納サーバ300は、元データ要求を受信すると、元データのURLによって特定させる元データを、中継サーバ100に送信する。
(Processing in the communication system before the printing process is executed)
Next, referring to FIG. 3, each
中継サーバ100は、格納サーバ300から元データを受信すると、元データ100を、変換サーバ200に送信する。変換サーバ200は、受信された元データが、MFP10が解釈可能な形式のデータであるのか否かを判断する。元データが、MFP10が解釈可能な形式のデータであると判断される場合、変換サーバ200は、元データを、格納装置260に格納する。一方、元データが、MFP10が解釈可能な形式のデータでないと判断される場合、変換サーバ200は、元データを、MFP10が解釈可能な形式のデータに変換して、格納装置260に格納する。以下では、格納装置260に格納されるデータを、印刷データと呼ぶ。変換サーバ200は、印刷データを識別するために、印刷データIDを決定する。変換サーバ200は、決定された印刷データIDを、中継サーバ100に送信する。
When the
中継サーバ100は、変換サーバ200から印刷データIDを受信すると、印刷データをダウンロードすることができるのか否かを確認するための可否確認信号を、後述する可能通知を受信するまで、定期的に変換サーバ200に送信する。変換サーバ200は、変換処理が完了していない場合、可否確認信号の応答として、ダウンロード不可能であることを示す不可通知を、中継サーバ100に送信する。一方、変換サーバ200は、変換処理が完了している場合、可否確認信号の応答として、ダウンロード可能であることを示す可能通知を、中継サーバ100に送信する。なお、変換サーバ200は、変換処理が実行されない場合、即ち、元データが、MFP10が解釈可能な形式のデータである場合、可否確認信号の応答として、可能通知を、中継サーバ100に送信する。
When the
中継サーバ100は、可能通知を受信すると、ダウンロード実行命令を、MFP10に送信し、MFP10は、当該ダウンロード実行命令を受信する(図2のS16でYES)。これにより、MFP10は、印刷処理(図2のS18)を開始する。
When the
(MFP10が実行する印刷処理)
次いで、図4を参照して、MFP10が実行する印刷処理について説明する。MFP10は、図2のS12で受け付けた印刷部数が、2部以上である場合、1部毎に印刷データを受信し、印刷する。例えば、MFP10は、印刷すべき部数がN部(Nは2以上の整数)である場合、印刷データを受信するための処理を、N回実行する。
(Print processing executed by MFP 10)
Next, a printing process executed by the
S50では、制御部30は、MFP10が印刷データを取得した回数が、図2のS12で受け付けた印刷部数(以下ではN)未満であるのか否かを判断する。具体的には、制御部30は、印刷データを1回取得する毎に(即ち、後述する複数の部分データを取得することによって、印刷データの全体を1回取得する毎に)、RAM34内の取得済みカウンタを、「1」増加する。制御部30は、取得済みカウンタの値が、N未満であるのか否かを判断する。印刷データの取得回数がN以上である場合(S50でNO)、S96において、制御部30は、印刷処理を完了することを示す完了通知を、中継サーバ100に送信して、印刷処理を終了する。この構成によれば、MFP10は、中継サーバ100に、N部分の印刷データの取得が完了したことを知らせることができる。これにより、中継サーバ100は、中継サーバ100に格納されている印刷データID等を消去することができる。
In S50, the
印刷データの取得回数がN未満である場合(S50でYES)、S52において、取得部52は、格納装置260に格納されている印刷データを指定可能なURLを、MFP10が取得するためのURL要求を、中継サーバ100に送信する。次いで、S54において、取得部52は、印刷データのURLを、中継サーバ100から受信する。印刷データのURLは、変換サーバ200のURL(例えば「http://server1/path1」)と、印刷データID(例えば「conv_id=printdata1」)と、を組み合わせて構成される(例えば「http://server1/path1?conv_id=printdata1」)。
When the print data acquisition count is less than N (YES in S50), in S52, the
次いで、S56において、確立部56は、MFP10と変換サーバ200との間に、TCPセッションを確立するための確立処理を実行する。具体的には、確立部56は、まず、SYNパケットを、S54で受信された変換サーバ200のURLを送信先に指定して、送信する。変換サーバ200は、SYNパケットを受信すると、SYN/ACKパケットを、SYNパケットの送信元のMFP10に送信する。確立部56は、変換サーバ200からSYN/ACKパケットを受信すると、ACKパケットを、変換サーバ200に送信する。これにより、MFP10と変換サーバ200との間に、TCPセッションが確立される。
Next, in S <b> 56, the establishing
次いで、S58では、取得部52は、印刷データの一部である部分データを、MFP10が受信するための部分データ要求を、変換サーバ200に送信する。取得部52は、S56で確立されたTCPセッションを利用して、部分データ要求を、変換サーバ200に送信する。部分データ要求は、印刷データのURLと、印刷データ中の部分データの始点を示す始点情報と、部分データのデータサイズを示すサイズ情報と、を含む。具体的には、部分データ要求は、印刷データのURL(例えば「http://server1/path1?conv_id=printdata1」と、始点情報(例えば「first=0k」)と、サイズ情報(例えば「size=100k」)と、を組み合わせて構成される(例えば「http://server1/path1?conv_id=printdata1?first=0&size=100k」)。なお、始点情報「first=0k」は、部分データの始点が、印刷データのうち、0kバイト目のデータであることを示す。また、サイズ情報「size=100k」は、要求する部分データのデータサイズが100kバイトであることを示す。この構成によれば、変換サーバ200は、部分データを、適切に特定することができる。
Next, in S <b> 58, the
なお、本実施例では、部分データのデータサイズは、Xkバイト(Xは、1以上の整数)である場合について説明する。なお、変形例では、部分データ要求は、部分データの終点を示す終点情報(例えば「end=100k」)を含んでいてもよい。本変形例では、始点情報及び終点情報が部分データのデータサイズを示すサイズ情報である。 In the present embodiment, a case where the data size of the partial data is Xk bytes (X is an integer of 1 or more) will be described. In the modification, the partial data request may include end point information (for example, “end = 100k”) indicating the end point of the partial data. In this modification, the start point information and end point information are size information indicating the data size of the partial data.
次いで、S60では、取得部52は、部分データ要求に対する応答を、変換サーバ200から受信することを監視する。変換サーバ200は、S56で確立されたTCPセッションを利用して、部分データ要求に対する応答を、MFP10に送信する。変換サーバ200の制御部230は、部分データ要求に含まれるサイズ情報が、変換サーバ200が送信すべきデータサイズと一致している場合、部分データを送信するための処理を実行する。具体的には、制御部230は、要求された部分データを、予め決められたYkバイト(例えばY=8)毎に分割して、MFP10に送信する。一方、制御部230は、部分データ要求に含まれるサイズ情報が、変換サーバ200が送信すべきデータサイズと一致していない場合、部分データとして要求すべきデータサイズを示すサイズ情報を、MFP10に送信する。
Next, in S <b> 60, the
取得部52は、部分データ要求に対する応答として、サイズ情報が受信される場合(S60でYES)、S62に進む。一方、取得部52は、部分データ要求に対する応答として、部分データの一部が受信される場合(S60でNO)、S64に進む。S62では、終了部58は、S56で確立されたTCPセッションを終了するための終了処理を実行する。
If the size information is received as a response to the partial data request (YES in S60), the
具体的には、終了部58は、まず、FINパケットを、S56で確立されたTCPセッションを利用して、変換サーバ200に送信する。変換サーバ200は、FINパケットを受信すると、FIN/ACKパケットを、S56で確立されたTCPセッションを利用して、MFP10に送信する。終了部58は、変換サーバ200からFIN/ACKパケットを受信すると、ACKパケットを、S56で確立されたTCPセッションを利用して、変換サーバ200に送信する。これにより、MFP10と変換サーバ200との間に、TCPセッションが切断され、TCPセッションが終了する。MFP10と変換サーバ200との間のTCPセッションが終了する状態を、MFP10と変換サーバ200との間のTCPセッションが閉じていると言うこともできる。S62が終了すると、S56に戻る。S62が実行された後のS56では、確立部56は、新たにTCPセッションを確立する。S58では、S60で受信されたサイズ情報を含む新たに部分データ要求を、変換サーバ200に送信する。なお、変形例では、S62の処理をスキップしてもよい。即ち、S56で確立されたTCPセッションを終了せずに、S58において、S60で受信されたサイズ情報を含む新たな部分データ要求を、変換サーバ200に送信してもよい。
Specifically, the
S64では、取得部52は、S56で確立されたセッションを利用して、Ykバイトのデータを、変換サーバ200から受信する。格納部62は、受信されたYkバイトのデータを、データ格納領域36に格納する。次いで、S66では、取得部52は、変換サーバ200から受信されたデータのデータサイズZバイトを算出する。次いで、S68では、供給部54は、1枚の印刷用紙の印刷に利用すべきデータが、データ格納領域36に格納されているのか否かを判断する。1枚の印刷用紙の印刷に利用すべきデータが、データ格納領域36に格納されている場合(S68でYES)、S70において、供給部54は、データ格納領域36に格納されているデータを、印刷機構16に供給して、S72に進む。なお、変形例では、S68において、供給部54は、1バンドを印刷可能なデータが、データ格納領域36に格納されているのか否かを判断してもよい。特に、印刷機構16が、レーザ方式の印刷機構であれば、1枚の印刷用紙の印刷に利用すべきデータが、データ格納領域36に格納されているのか否かを判断してもよいし、印刷機構16が、インクジェット方式の印刷機構であれば、1バンドを印刷可能なデータが、データ格納領域36に格納されているのか否かを判断してもよい。
In S <b> 64, the
S70の処理の後、供給部54は、印刷機構16に供給されたデータを、データ格納領域36から消去する。これにより、格納部62は、次に、S64で受信されるデータを、データ格納領域36内の印刷機構16に供給されたデータが格納されていた領域に、格納することができる。この構成によれば、印刷データ全体を、データ格納領域36に格納しなくて済む。この結果、RAM34の容量を小さく抑えることができる。
After the process of S70, the
一方、1枚の印刷用紙に利用すべきデータが、データ格納領域36に格納されていない場合(S68でNO)、S70の処理をスキップし、S72に進む。S72では、制御部30は、エラーフラグがONであるのか否かを判断する。エラーフラグがOFF、即ち、MFP10が通常状態である場合(S72でNO)、S74に進む。一方、エラーフラグがON、即ち、MFP10がエラー状態である場合(S72でYES)、S82に進む。
On the other hand, if the data to be used for one printing sheet is not stored in the data storage area 36 (NO in S68), the process of S70 is skipped and the process proceeds to S72. In S72, the
MFP10が通常状態である場合(S72でNO)、S74では、取得部52は、S58で要求した部分データの受信が完了したのか否かを判断する。具体的には、取得部52は、S66で算出された値Zが、X未満であるのか否かを判断する。ZがX未満である場合、取得部52は、部分データの受信が完了していない(S74でNO)と判断し、S64に戻る。取得部52は、S56で確立されたTCPセッションを利用して、部分データを、変換サーバ200から取得する処理を実行する。
When the
一方、ZがX未満でない場合、取得部52は、部分データの受信が完了している(S74でYES)と判断し、S76において、終了部58は、S56で確立されたTCPセッションを終了する。S76の処理は、S62と同じ処理である。続くS78では、取得部52は、印刷データの取得を完了したのか否かを判断する。具体的には、取得部52は、印刷データの終了を示す情報を、変換サーバ200から受信する場合、印刷データの受信を完了したと判断し(S78でYES)、S80において、送信部60は、格納期間リセット命令を、変換サーバ200に送信する。格納期間リセット命令は、印刷データが格納装置260に格納されている期間を計測するタイマを、変換サーバ200にリセットさせるための命令である。これにより、印刷データが格納装置260に格納されている期間を延長することができる。この構成によれば、1部の印刷データがMFP10に取得される毎に、印刷データが、格納装置260に格納される期間を延長することができる。一方、取得部52は、印刷データの終了を示す情報を、変換サーバ200から受信していない場合、印刷データの受信を完了していないと判断し(S78でNO)、S56に戻る。
On the other hand, if Z is not less than X, the
S80の処理の後、S50に戻ると、制御部30は、新たに、印刷データを変換サーバ200から取得するために、S52〜S94の処理を実行する。制御部30は、図2のS12で受け付けられた印刷部数と同じ回数だけ、S52〜S94の処理を実行する。即ち、制御部30は、N部(Nは2以上の整数)の印刷を実行すべき場合に、1部毎に印刷データを取得し(S78でYES)、M−1部目(Mは2以上N以下の整数)の印刷データを取得した後に(S78でYES)、M部目の印刷データを取得するための部分データ要求を送信する(S58)。
After returning to S50 after the processing of S80, the
また、供給部54は、M部目の印刷データの取得が完了する前に、M−1部目の印刷データを、印刷機構16に供給する。取得部52は、供給部54がM―1部目の印刷データを、印刷機構16に供給した後に、M部目の印刷データを取得する。
Further, the
また、取得部52は、1部の印刷データを取得し終える(S78でYES)と、新たに、格納装置260に格納されている印刷データを指定可能なURLを、MFP10が取得するためのURL要求を、中継サーバ100に送信する。即ち、取得部52は、1部の印刷データを取得する毎に、当該印刷データを指定可能なURLを、MFP10が取得するためのURL要求を、中継サーバ100に送信する。例えば、印刷データのURLに、タイムスタンプのように、経時的に変化する文字列が含まれている場合、印刷データの取得中に、印刷データのURLが変化する場合がある。この場合、一旦、S54で取得された印刷データのURLを用いて、印刷データを繰り返し取得することができない。本実施例の構成によれば、印刷データを取得する毎に、新たに、印刷データのURLを受信する。このため、MFP10は、印刷データのURLが変化する場合でも、印刷データを取得することができる。
When the
一方、MFP10がエラー状態である場合(S72でYES)、S82では、制御部30は、エラーフラグがOFFであるのか否かを判断する。なお、S82における判断は、MFP10がエラー状態になってから、予め決められた期間(例えば1分)が経過した後に、実行される。エラーフラグがOFF、即ち、MFP10が通常状態である場合(S82でYES)、S88に進む。一方、エラーフラグがON、即ち、MFP10がエラー状態である場合(S82でNO)、S84に進む。S84では、確立部56は、ハートビート信号の送信(S86参照)に利用されるTCPセッションを確立する確立処理を実行する。S84の確立処理は、S56の確立処理と同様である。なお、S84では、確立部56は、S56で確立されたTCPセッションが、維持されているのか否かに関わらず、別のTCPセッションを確立する。次いで、S86において、送信部60は、S84で確立されたTCPセッションを利用して、ハートビート信号を、変換サーバ200に送信して、S82に戻る。
On the other hand, if the
一方、MFP10が通常状態である場合(S82でYES)、S88では、制御部30は、S56で確立されたTCPセッションを利用して、データを受信可能であるのか否かを判断する。具体的には、制御部30は、MFP10がエラー状態から通常状態に移行した後であって、データ格納領域36に、データを格納するための空き領域が確保される場合に、S56で確立されたTCPセッションを利用して、データを受信可能である旨の受信可能信号を、変換サーバ200に送信する。変換サーバ200は、受信可能信号を受信すると、S58で要求された部分データのうち、MFP10に未だ送信されていないデータを送信する。この場合、S64において、取得部52は、データを受信する。
On the other hand, when the
一方、受信可能信号を、変換サーバ200に送信しても、部分データが受信されない場合(S88でNO)、S90において、確立部56は、S56と同様の確立処理を試行する。なお、S88でNOの場合には、S56で確立されたTCPセッションが終了されている場合と、既にMFP10が部分データの受信を完了している場合とが含まれる。
On the other hand, even if the receivable signal is transmitted to the
次いで、S92では、制御部30は、S90において、TCPセッションを確立することができたのか否かを判断する。例えば、MFP10がエラー状態に移行してから通常状態に移行するまでの間、即ち、S82からS86の処理が繰り返し実行されている間に、変換サーバ200が通信を実行することができない状態になった場合、TCPセッションを確立することができない。
Next, in S92, the
具体的には、S92では、S90の確立処理において、MFP10が、SYNパケットに対する応答を受信することができない場合、制御部30は、TCPセッションを確立することができなかったと判断して(S92でNO)、印刷処理を終了する。一方、S90の確立処理が完了された場合、制御部30は、TCPセッションを確立することができたと判断して(S92でYES)、S94に進む。
Specifically, in S92, if the
S94では、取得部52は、S90で確立されたTCPセッションを利用して、Xkバイトの部分データのうち、未だ受信されていないデータ、即ちX−Zkバイトの部分データを、MFP10が受信するための部分データ要求を、変換サーバ200に送信する。なお、X−Z=0である場合、S76に進む。
In S94, the
制御部30は、部分データの一部のデータを受信する受信処理(S64〜S74)と、を繰り返し実行することによって、部分データを受信する。また、取得部52は、部分データを要求する要求処理(S58)と、部分データの受信処理(S56〜S78)と、を繰り返し実行することによって、印刷データを取得する。
The
(変換サーバ200が実行する処理)
次いで、図5を参照して、変換サーバ200が実行する処理について説明する。本処理は、中継サーバ100から、元データが受信されると開始される。S100では、制御部230は、元データに基づく印刷データを、格納装置260に格納する。
(Processing executed by conversion server 200)
Next, processing executed by the
次いで、S102では、要求受信部252は、例えばMFP10等の外部装置から、部分データ要求を受信することを監視する。部分データ要求を受信する場合(S102でYES)、S104において、データ送信部254は、部分データを送信する送信処理を開始して、S106に進む。なお、S102では、データ送信部254は、受信された部分データ要求に含まれるサイズ情報が、変換サーバ200が送信すべきデータサイズと一致していない場合、部分データとして要求すべきデータサイズを示すサイズ情報を、部分データ要求の送信元の外部装置に送信する。そして、S102において、要求受信部252は、外部装置から、新たに部分データ要求を受信することを監視する。即ち、S102では、要求受信部252は、変換サーバ200が送信すべきデータサイズを示すサイズ情報を含む部分データ要求が受信される場合に、YESと判断する。S104では、図4のS64からS78に対応する処理が実行される。一方、部分データ要求を受信しない場合(S102でNO)、S104をスキップして、S106に進む。
Next, in S102, the request reception unit 252 monitors reception of a partial data request from an external device such as the
S106〜S110は、S104で開始された送信処理と並行して実行される。S106では、制御部230は、印刷データが格納装置260に格納されている期間が、格納期間を変更して格納すべきであるのか否かを判断する。具体的には、制御部230は、MFP10から、ハートビート信号(図4のS86参照)、又は、格納期間リセット命令(図4のS80)を受信すると、格納期間を変更すべきである(S106でYES)と判断して、S108に進む。S108では、制御部230は、印刷データが格納されている期間を計測するタイマをリセットすることによって、格納期間を変更して、S110に進む。
S106 to S110 are executed in parallel with the transmission process started in S104. In S <b> 106, the
一方、制御部230は、MFP10から、ハートビート信号(図4のS86参照)、又は、格納期間リセット命令(図4のS80)が受信されない場合、格納期間を変更すべきでない(S106でNO)と判断して、S110に進む。S110では、消去部250は、タイマが、格納期間を越えているのか否かを判断する。タイマが格納期間を越えていない場合(S110でNO)、S102に戻る。一方、タイマが格納期間を越えている場合(S110でYES)、S112において、消去部250は、印刷データを、格納装置260から消去して、処理を終了する。この構成によれば、変換サーバ200に、印刷データが蓄積されることを抑制することができる。
On the other hand, when the heartbeat signal (see S86 in FIG. 4) or the storage period reset command (S80 in FIG. 4) is not received from the
(MFP10がエラー状態に移行するケース)
次いで、図6を参照して、部分データの受信中に、MFP10が通常状態からエラー状態に移行するケースにおける各デバイス10,100,200,300の処理を説明する。MFP10がURL要求を送信する(図4のS52)と、中継サーバ100は、URL要求を受信する。中継サーバ100は、URL要求の応答として、変換サーバ200のURLと、印刷データIDとを含む印刷データのURLを、MFP10に送信する。
(Case where the
Next, with reference to FIG. 6, the processing of each
MFP10は、印刷データのURLを受信する(図4のS54)と、MFP10と変換サーバ200との間に、TCPセッションであるセッションSE1を確立する(図4のS56)。次いで、MFP10は、セッションSE1を利用して、変換サーバ200に、部分データ要求を送信する(図4の58)。部分データ要求は、50kバイトを示すサイズ情報を含む。部分データ要求に含まれるサイズ情報で示されるデータサイズである50kバイトは、変換サーバ200が送信すべき部分データのデータサイズである100kバイトと異なる。変換サーバ200は、100kバイトを示すサイズ情報を、MFP10に送信する。なお、変形例では、MFP10は、部分データ要求を送信する前に、要求すべき部分データのデータサイズを、変換サーバ200から取得してもよい。
Upon receiving the print data URL (S54 in FIG. 4), the
MFP10は、変換サーバ200からサイズ情報を受信すると(図4のS60でYES)、セッションSE1を終了する(図4のS62)。この構成によれば、MFP10は、セッションSE1を適切に終了させることができる。そして、MFP10は、新たに、MFP10と変換サーバ200との間に、TCPセッションであるセッションSE2を確立する(図4のS56)。次いで、MFP10は、セッションSE2を利用して、変換サーバ200に、部分データ要求を送信する(図4のS58)。この構成によれば、MFP10は、部分データ要求を送信する際に、セッションSE2を適切に確立することができる。
When the
部分データ要求は、100kバイトを示すサイズ情報を含む。この構成によれば、MFP10は、変換サーバ200が送信すべきデータサイズの部分データを、変換サーバ200に要求することができる。この結果、部分データのデータサイズが小さすぎるために、印刷データが取得されるまでに、MFP10は、多数の部分データを要求し、受信しなくて済む。また、部分データのデータサイズが大きすぎるために、MFP10が1個の部分データを受信するまでに、多くの時間が掛かることを抑制することができる。
The partial data request includes size information indicating 100 kbytes. According to this configuration, the
変換サーバ200は、部分データ要求に応じて、部分データを送信する。変換サーバ200は、100kバイトの部分データを、8kバイト毎に分割して送信する。MFP10は、8kバイトのデータを受信する毎に、データ格納領域36に格納する(図4のS64)。なお、MFP10は、8kバイトのデータを格納する毎に、データ格納領域36の空き容量を確認し、8kバイトのデータが受信可能であることを示す信号である受信可能信号を、変換サーバ200に送信する。変換サーバ200は、受信可能信号をMFP10から受信する場合に、新たに、8kバイトのデータを、MFP10に送信する。
The
MFP10は、エラーフラグがOFFからONに変更されると(図4のS72でYES)、新たなTCPセッションであるセッションSE3を、MFP10と変換サーバ200との間に確立する(図4のS84)。これにより、MFP10と変換サーバ200との間には、セッションSE2とセッションSE3とが確立される。次いで、MFP10は、セッションSE3を利用して、ハートビート信号を、変換サーバ200に送信する(図4のS86)。この構成によれば、ハートビート信号を送信するためのセッションSE3を確立することができる。変換サーバ200は、ハートビート信号を受信すると(図5のS106)、タイマをリセットする(図5のS108)。これにより、MFP10がエラー状態である間に、印刷データが、変換サーバ200から消去される事態を回避することができる。MFP10は、MFP10がエラー状態から通常状態に移行されるまで、ハートビート信号を繰り返し送信する。
When the error flag is changed from OFF to ON (YES in S72 in FIG. 4), the
MFP10は、エラーフラグがONからOFFに変更されると(図4のS82でYES)、セッションSE3を終了する終了処理を実行する。次いで、MFP10は、セッションSE2を利用して、受信可能信号を、変換サーバ200に送信する。変換サーバ200は、受信可能信号を受信すると、セッションSE2を利用して、部分データのうちの未送信のデータを、8kバイトのデータに分割して、MFP10に送信する。MFP10は、既に確立されているセッションSE2を利用して、データを受信することができるため、新たにTCPセッションを確立せずに済む。セッションSE2が維持されているために、MFP10は、新たに部分データ要求を送信せずに、部分データのうち、未だ受信されていないデータを受信することができる。
When the error flag is changed from ON to OFF (YES in S82 in FIG. 4), the
なお、MFP10は、印刷用紙1枚分のデータがデータ格納領域36に格納されると(図4のS68でYES)、印刷機構16にデータを供給する(図4のS70)。また、MFP10は、8kバイトのデータを受信する毎に、データ格納領域36に格納することを(図4のS64)何度も繰り返すことにより、部分データの受信が完了すると(S74でYES)、セッションSE2を終了する。次いで、MFP10は、印刷データの受信を完了していないと判断すると(図4のS78でNO)、新たに、TCPセッションであるセッションSE4を、MFP10と変換サーバ200との間に確立する(図4のS56)。そして、MFP10は、セッションSE4を利用して、部分データ要求を、変換サーバ200に送信する。MFP10は、変換サーバ200から受信されたサイズ情報を含む部分データ要求を送信する。この構成によれば、印刷データを受信している間に、MFP10が通常状態からエラー状態に移行した場合であっても、MFP10は、エラー状態から通常状態に移行した後に、印刷データを適切に取得することができる。
When the data for one sheet of printing paper is stored in the data storage area 36 (YES in S68 of FIG. 4), the
MFP10は、1部の印刷データを全て取得すると(図4のS78でYES)、格納期間リセット命令を、変換サーバ200に送信する(図4のS80)。変換サーバ200は、格納期間リセット命令を受信すると、印刷データが格納装置260に格納されている期間を計測するタイマをリセットする(図5のS108)。
When the
MFP10は、1部の印刷データの受信が完了した後に、印刷データの取得回数がN未満であると判断すると(図4のS50でYES)、中継サーバ100に、URL要求を送信し(図4のS52)、中継サーバ100から、印刷データのURLを受信する。MFP10、中継サーバ100及び変換サーバ200は、N部の印刷データがMFP10に受信されるまで、処理を繰り返し実行する。この構成によれば、印刷データを受信している間に、印刷装置が通常状態からエラー状態に移行した場合であっても、印刷装置は、エラー状態から通常状態に移行した後に、印刷データを適切に取得することができる。MFP10は、N部の印刷データの受信が完了すると(図4のS50でNO)、完了通知を、中継サーバ100に送信する。中継サーバ100は、完了通知を受信すると、完了確認通知を、MFP10に送信する。
If the
図6では、MFP10は、エラーフラグがONからOFFに切り替わった後(図4のS82でYES)に、セッションSE2を利用して、受信可能信号を変換サーバ200に送信することによって、部分データのうちの未受信のデータを受信する。
In FIG. 6, after the error flag is switched from ON to OFF (YES in S <b> 82 in FIG. 4), the
一方、MFP10が通常状態からエラー状態に移行してから、通常状態に戻るまでの間に、セッションSE2が、強制的に終了されている場合がある。例えば、MFP10と変換サーバ200との間に介在するルータ等の通信機器が、セッションSE2を切断する場合がある。この場合、図7に示すように、MFP10は、エラーフラグがONからOFFに切り替わった後(図4のS82でYES)に、セッションSE2を利用して、受信可能信号を変換サーバ200に送信することができない(図4のS88でNO)。この場合、MFP10は、新たに、MFP10と変換サーバ200との間に、TCPセッションを確立するための確立処理を試行する(図4のS90)。MFP10は、確立処理の結果、セッションSE5が確立される場合(図4のS92でYES)、部分データのうち、未だ受信されていないデータを要求するための部分データ要求を、セッションSE5を利用して、変換サーバ200に送信する(図4のS94)。この結果、MFP10は、部分データを適切に受信することができる。なお、MFP10は、既に要求されている部分データのうちの未だ受信されていないデータを、変換サーバ200に要求する一方、既に要求されている部分データ以外のデータを要求しない。
On the other hand, there is a case where the session SE2 is forcibly terminated after the
また、MFP10は、通常状態からエラー状態に移行した後、通常状態に戻るまで、部分データ要求を、変換サーバ200に送信しない。この構成によれば、MFP10は、エラー状態であるにも関わらず、変換サーバ200から部分データが受信される状況を回避することができる。
Further, the
一方で、変換サーバ200が、通信不可能な状態(例えばネットワーク障害)であるために、セッションSE2が、強制的に終了されている場合がある。この場合、図7に示すように、MFP10は、エラーフラグがONからOFFに切り替わった後(図4のS82でYES)に、セッションSE2を利用して、受信可能信号を変換サーバ200に送信することができない(図4のS88でNO)。さらに、MFP10は、新たに、MFP10と変換サーバ200との間に、TCPセッションを確立するための確立処理を試行しても(図4のS90)、TCPセッションを確立することができない(図4のS92でNO)。この場合、MFP10は、2回目の確立処理を実行せず、かつ、部分データ要求を送信せずに、処理を終了する。変換サーバ200が通信不可能な状態である場合、MFP10は、確立処理を繰り返し実行しても、TCPセッションを確立することはできない。上記の構成では、MFP10は、1回の確立処理を試行して、TCPセッションを確立することができない場合、新たに確立処理を実行せず、部分データ要求を送信しない。この構成によれば、MFP10と変換サーバ200との間に、TCPセッションを確立することができない状況であるにも関わらず、MFP10が、確立処理を繰り返し実行することを回避することができる。また、MFP10が、TCPセッションが確立されていないにも関わらず、部分データ要求を送信するための処理を実行することを回避することができる。
On the other hand, since the
(本実施例の効果)
本実施例の構成によれば、MFP10がエラー状態に移行したために、受信することができなくなった部分データを、MFP10がエラー状態から通常状態に移行した後に、変換サーバ200から受信することできる。これにより、MFP10が印刷データを受信している間に、データを受信できなくなる場合に、印刷データを適切に取得することができる。
(Effect of this embodiment)
According to the configuration of the present embodiment, partial data that cannot be received because the
また、本実施例の構成では、1部毎に印刷データを順次取得し、取得された印刷データを、印刷機構16に供給する。この構成によれば、MFP10は、N部の印刷が実行されている間、印刷データを、データ格納領域36に格納し続けなくても、N部の印刷を適切に実行することができる。
In the configuration of this embodiment, print data is sequentially acquired for each copy, and the acquired print data is supplied to the
(対応関係)
中継サーバ100と変換サーバ200とが、「提供装置」の一例であり、MFP10が「印刷装置」の一例である。図4のS58で送信される部分データ要求が「第1の部分データ要求」の一例であり、図4のS58の処理が「要求処理」の一例である。図4のS94で送信される部分データ要求が「第2の部分データ要求」の一例である。図4のS64からS74までの処理が「受信処理」の一例である。セッションSE1、SE4が「第3の通信セッション」の一例であり、セッションSE2が「第1の通信セッション」と「第4の通信セッション」の一例であり、セッションSE5が「第2の通信セッション」の一例であり、セッションSE3が「第5の通信セッション」の一例である。ハートビート信号と格納期間リセット命令とのそれぞれが、「格納期間」の一例である。
(Correspondence)
The
(第2実施例)
第1実施例と異なる点を説明する。本実施例では、MFP10が、部分データの受信中に、通常状態からエラー状態に移行する場合のMFP10の処理が、第1実施例と異なる。
(Second embodiment)
Differences from the first embodiment will be described. In the present embodiment, the processing of the
(MFP10が実行する印刷処理)
図8を参照して、本実施例のMFP10が実行する印刷処理について説明する。第1実施例と同じ処理には、図4と同じ符号を付している。
(Print processing executed by MFP 10)
With reference to FIG. 8, the printing process executed by the
エラーフラグがOFF、即ち、MFP10が通常状態である場合(S82でYES)、S288において、終了部58は、S56で確立されたTCPセッションを終了するための終了処理を実行する。S288の処理は、S62の処理と同様である。なお、S288の処理が実行される時点で、既に、S56で確立されたTCPセッションが終了されている場合がある。この場合、終了部58は、S56で確立されたTCPセッションを利用して、FINパケットを、変換サーバ200に送信することを試行する。終了処理は、TCPセッションが既に終了されているにも関わらず、実行される上記の処理を含む。次いで、確立部56は、S90の処理、即ち、新たなTCPセッションの確立処理を試行する。
If the error flag is OFF, that is, if the
本実施例では、第1実施例とは異なり、MFP10がエラー状態から通常状態に移行すると(S82でYES)、終了部58は、S56で確立されたTCPセッションを終了するための終了処理を、必ず実行する。即ち、本実施例では、MFP10がエラー状態から通常状態に移行する場合に、必ずTCPセッションが終了され(S288)、新たなTCPセッションが確立される(S92)。
In the present embodiment, unlike the first embodiment, when the
(第3実施例)
第1実施例と異なる点を説明する。本実施例では、MFP10が実行する印刷処理の内容が、第1実施例と異なる。
(Third embodiment)
Differences from the first embodiment will be described. In the present embodiment, the contents of the printing process executed by the
(MFP10が実行する印刷処理)
図9を参照して、本実施例のMFP10が実行する印刷処理について説明する。第1実施例と同じ処理には、図4と同じ符号を付している。S56において、MFP10と変換サーバ200との間に、TCPセッションが確立されると、S300において、送信部60は、S56で確立されたTCPセッションを利用して、格納要求を、変換サーバ200に送信する。詳細には、制御部30は、まず、図2のS12で受け付けた印刷部数を用いて、印刷データが格納装置260に格納されてから消去されるまでの格納期間を算出する。具体的には、制御部30は、予め決められた期間(例えば10分)に、印刷部数を乗算することによって、格納期間を算出する。次いで、送信部60は、算出された格納期間を含む格納要求を、変換サーバ200に送信する。本実施例では、制御部30は、図4のS80の処理を実行しない。
(Print processing executed by MFP 10)
With reference to FIG. 9, the printing process executed by the
変換サーバ200の制御部230は、MFP10から格納要求を受信すると、図5のS106で、格納期間を変更すべきであると判断する(S106でYES)。次いで、制御部230は、格納要求に含まれる格納期間を、格納装置260のタイマに設定する。これにより、格納期間が変更される。消去部250は、タイマの計測時間が、受信された格納期間を経過する場合に、印刷データを消去する(図5のS112)。この構成によれば、印刷部数に応じて、適切な格納期間を設定することができる。これにより、MFP10がN部分の印刷データを取得したにも関わらず、印刷データが格納装置260に長期間格納され続ける事態を抑制することができる。
When receiving the storage request from the
(第4実施例)
第1実施例と異なる点を説明する。本実施例では、MFP10が実行する印刷処理の内容と、中継サーバ100が実行する処理の内容が、第1実施例と異なる。
(Fourth embodiment)
Differences from the first embodiment will be described. In the present embodiment, the contents of the printing process executed by the
MFP10は、印刷処理において、図4のS80の処理を実行しない。その他の内容については、第1実施例の印刷処理と同様である。
The
(中継サーバが実行するデータ変換指示処理)
図10を参照して、本実施例の中継サーバ100が実行するデータ変換指示処理について説明する。S402では、部数受信部150は、MFP10から印刷設定を受信する。印刷設定は、MFP10が受け付けた印刷部数を示す部数情報が含まれる。次いで、S404では、制御部130は、印刷設定に含まれる印刷対象の元データのURLを用いて、格納サーバ300に、元データを送信させるための要求を送信する。次いで、S406では、制御部130は、格納サーバ300から、元データを受信する。S408では、制御部130は、元データを、変換サーバ200に送信する。
(Data conversion instruction processing executed by the relay server)
With reference to FIG. 10, the data conversion instruction | indication process which the
次いで、S410において、特定部152は、S402で受信された印刷設定に含まれる印刷部数を用いて、格納期間を特定する。詳細には、特定部152は、予め決められた期間(例えば10分)に、S402で受信された印刷部数を乗算することによって、格納期間を算出する。次いで、S412では、期間送信部154は、特定された格納期間を含む格納要求を、変換サーバ200に送信する。
Next, in S410, the specifying unit 152 specifies the storage period using the number of print copies included in the print setting received in S402. Specifically, the specifying unit 152 calculates a storage period by multiplying a predetermined period (for example, 10 minutes) by the number of print copies received in S402. Next, in S412, the period transmission unit 154 transmits a storage request including the specified storage period to the
変換サーバ200の制御部230は、中継サーバ100から格納要求を受信すると、図5のS106で、格納期間を変更すべきであると判断し(S106でYES)、格納要求に含まれる格納期間を、格納装置260のタイマに設定する。これにより、格納期間が変更される。なお、消去部250は、タイマの計測時間が、受信された格納期間を経過する場合に、印刷データを消去する(図5のS112)。この構成によれば、N部の印刷データを取得するまでに、印刷データが変換サーバ200から消去されることを抑制することができる。
When receiving the storage request from the
格納要求の送信後、S414では、制御部130は、変換サーバ200から、印刷データを識別する印刷データIDを受信する。次いで、S416では、制御部130は、印刷データをダウンロードすることができるのか否かを確認するための可否確認信号を、変換サーバ200に送信する。S418では、可否確認信号の応答として、ダウンロード可能であることを示す可能通知を、変換サーバ200から受信することを監視している。可能通知を受信する場合(S418でYES)、S420に進む。一方、ダウンロード不可能であることを示す不可通知を受信する場合(S418でNO)、S416に戻る。S420では、ダウンロード実行命令を、MFP10に送信して、変換指示処理を終了する。
After transmitting the storage request, in S414, the
以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。例えば、以下の変形例が含まれる。 Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. For example, the following modifications are included.
(変形例)
(1)上記の各実施例では、変換サーバ200は、部分データ要求を受信すると、MFP10に部分データを送信する。しかしながら、MFP10は、変換サーバ200から、部分データを取得してもよい。即ち、MFP10が、変換サーバ200の格納装置260から、部分データを特定し、特定した部分データを、MFP10のデータ格納領域36に格納してもよい。本変形例の構成も、変換サーバ200が「データを提供する」構成に含まれる。
(Modification)
(1) In each of the embodiments described above, the
(2)上記の各実施理例では、MFP10は、部分データを、変換サーバ200から分割して受信している。即ち、MFP10は、部分データの一部を受信する毎に、受信可能信号を、変換サーバ200に送信している。しかしながら、MFP10は、部分データ要求を送信した後、受信可能信号を、変換サーバ200に送信せずに、部分データを、変換サーバ200から受信してもよい。
(2) In each of the above embodiments, the
(3)上記の各実施例では、供給部54は、印刷用紙1枚分のデータが、データ格納領域36に格納されると、データを、印刷機構16に供給する。しかしながら、印刷機構16にデータを供給するタイミングは、これに限られない。例えば、供給部54は、データ格納領域36の空き容量が予め決められた閾値よりも小さくなる場合に、データを、印刷機構16に供給してもよい。
(3) In each of the embodiments described above, the
本変形例の場合、供給部54は、M(Mは、2以上の整数)部目の印刷データの取得が完了する前に、M−1部目の印刷データの印刷機構16への供給を開始してもよい。また、取得部52は、M―1部目の印刷データの印刷機構16への供給が完了した後に、M部目の印刷データを取得するための部分データ要求を送信してもよい。
In the case of this modification, the
(4)上記の各実施例では、S94において、取得部52は、未だ受信されていないデータ、即ちX−Zkバイトの部分データを、MFP10が受信するための部分データ要求を、変換サーバ200に送信する。しかしながら、取得部52は、未だ受信されていないデータと、当該データ以外のデータを含む部分データを、MFP10が受信するための部分データ要求を、変換サーバ200に送信してもよい。
(4) In each of the above embodiments, in S94, the
(5)上記の各実施例では、制御部30は、印刷機構16にデータが供給されると、当該データをデータ格納領域36から消去する。しかしながら、制御部30は、印刷機構16にデータが供給されても、当該データをデータ格納領域36から消去しなくてもよい。この場合、格納部62は、データが受信される場合に、印刷機構16に既に供給されたデータに上書きすることによって、データをデータ格納領域36に格納してもよい。
(5) In each of the above embodiments, when data is supplied to the
(6)「印刷装置」は、印刷機能とスキャン機能とFAX機能とを実行可能であるMFP10に限られず、印刷機能のみを実行可能であるプリンタであってもよい。
(6) The “printing apparatus” is not limited to the
(7)変換サーバ200は、格納装置260と別体で構成されていてもよい。この場合、変換サーバ200は、格納装置260と通信可能に接続されていてもよい。
(7) The
(8)上記の各実施例では、MFP10のCPU32がプログラム42に従って処理を実行することによって、各部50〜62の機能が実現される。これに代えて、各部50〜62の機能のうちの少なくとも一部は、論理回路等のハードウェアによって実現されてもよい。同様に、中継サーバ100のCPU132がプログラム142に従って処理を実行することによって、各部150〜154の機能が実現される。これに代えて、各部150〜154の機能のうちの少なくとも一部は、論理回路等のハードウェアによって実現されてもよい。また、変換サーバ200のCPU232がプログラム242に従って処理を実行することによって、各部250〜254の機能が実現される。これに代えて、各部250〜254の機能のうちの少なくとも一部は、論理回路等のハードウェアによって実現されてもよい。
(8) In each of the above embodiments, the functions of the
(9)上記の各実施例では、MFP10は、エラー状態である間、ハートビート信号を、変換サーバ200に送信する。しかしながら、MFP10は、エラー状態である間、ハートビート信号を、変換サーバ200に送信しなくてもよい。
(9) In each of the above embodiments, the
また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.
2:通信システム、4:インターネット、10:MFP、16:印刷機構、30:制御部、36:データ格納領域、50:受付部、52:取得部、54:供給部、56:確立部、58:終了部、60:送信部、62:格納部、100:中継サーバ、150:部数受信部、152:特定部、154:期間送信部、200:変換サーバ、250:消去部、252:要求受信部、260:格納装置、300:格納サーバ 2: communication system, 4: internet, 10: MFP, 16: printing mechanism, 30: control unit, 36: data storage area, 50: reception unit, 52: acquisition unit, 54: supply unit, 56: establishment unit, 58 : Ending unit, 60: Transmitting unit, 62: Storage unit, 100: Relay server, 150: Number receiving unit, 152: Specifying unit, 154: Period transmitting unit, 200: Conversion server, 250: Erasing unit, 252: Request receiving Part, 260: storage device, 300: storage server
Claims (17)
印刷データを用いて印刷を実行する印刷機構と、
前記印刷データの一部である部分データを、前記印刷装置が受信するための部分データ要求を、前記提供装置に送信する要求処理と、前記部分データ要求に応じて前記提供装置から前記部分データを受信する受信処理と、を繰り返し実行することによって、前記提供装置から前記印刷データを取得する取得部と、
受信された1個以上の前記部分データを、前記印刷機構に供給する供給部と、
を備え、
前記取得部は、
前記印刷データの一部である第1の部分データを、前記印刷装置が受信するための第1の部分データ要求に応じて、前記提供装置から前記第1の部分データを受信する第1の受信処理を実行している間に、前記印刷装置が、前記第1の部分データを受信することができる通常状態から、前記第1の部分データを受信することができないエラー状態に移行する場合に、前記印刷装置が前記エラー状態から前記通常状態に移行した後に、前記第1の部分データのうち、未だ受信していない未受信データを含む第2の部分データを、前記印刷装置が受信するための第2の部分データ要求を、前記提供装置に送信する第1の部分データ要求処理を実行し、
第1のデータサイズの前記第1の部分データを、前記印刷装置が受信するための前記第1の部分データ要求に応じて、前記第1のデータサイズと異なる第2のデータサイズを示す第2のサイズ情報が、前記提供装置から受信される場合に、前記第2のデータサイズの前記第1の部分データを、前記印刷装置が受信するための新たな第1の部分データ要求を、前記提供装置に送信する、印刷装置。 A printing device that communicates with a providing device that provides data using the Internet,
A printing mechanism that performs printing using the print data; and
Request processing for transmitting a partial data request for the printing apparatus to receive partial data that is a part of the print data to the providing apparatus; and the partial data from the providing apparatus in response to the partial data request. An acquisition unit that acquires the print data from the providing device by repeatedly executing a reception process;
A supply unit for supplying the received one or more pieces of the partial data to the printing mechanism;
With
The acquisition unit
First reception for receiving the first partial data from the providing device in response to a first partial data request for the printing device to receive first partial data that is part of the print data. In a case where the printing apparatus shifts from an ordinary state in which the first partial data can be received to an error state in which the first partial data cannot be received while executing the processing, after the printing apparatus has shifted to the normal state from the error state, the first of the partial data, the second partial data including the unreceived data not received yet, the printing device for receiving Executing a first partial data request process for transmitting a second partial data request to the providing device ;
A second data size different from the first data size in response to the first partial data request for the printing apparatus to receive the first partial data of the first data size; When the size information is received from the providing device, the provision of a new first partial data request for the printing device to receive the first partial data of the second data size. A printing device that sends to a device.
前記印刷装置と前記提供装置との間に、通信セッションを確立する確立部と、An establishing unit for establishing a communication session between the printing device and the providing device;
確立された前記通信セッションを終了するための終了処理を実行する終了部と、An ending unit for executing an ending process for ending the established communication session;
を備え、With
前記確立部は、前記第1の部分データ要求を送信する第3の通信セッションを確立し、The establishing unit establishes a third communication session for transmitting the first partial data request;
前記取得部は、前記第3の通信セッションを利用して、前記第1の部分データ要求を、前記提供装置に送信し、The acquisition unit transmits the first partial data request to the providing device using the third communication session,
前記終了部は、前記第3の通信セッションを利用して、前記第2のサイズ情報が、前記提供装置から受信される場合に、前記第3の通信セッションを終了する、請求項1に記載の印刷装置。The termination unit terminates the third communication session using the third communication session when the second size information is received from the providing device. Printing device.
前記取得部は、前記第4の通信セッションを利用して、前記第2のデータサイズの前記第1の部分データを、印刷装置が受信するための前記新たな第1の部分データ要求を、前記提供装置に送信する、請求項2又は3に記載の印刷装置。The acquisition unit uses the fourth communication session to send the new first partial data request for the printing apparatus to receive the first partial data having the second data size. The printing apparatus according to claim 2, wherein the printing apparatus transmits to the providing apparatus.
前記印刷装置と前記提供装置との間に、通信セッションを確立する確立部を備え、
前記取得部は、確立された第1の通信セッションを利用して、前記第1の受信処理を実行している間に、前記印刷装置が、前記通常状態から前記エラー状態に移行し、さらに、前記エラー状態から前記通常状態に移行した後であって、前記第1の通信セッションが維持されている第1の場合に、前記第1の通信セッションを利用して、前記第1の受信処理を続行し、
前記確立部は、前記第1の通信セッションを利用して、前記第1の受信処理を実行している間に、前記印刷装置が、前記通常状態から前記エラー状態に移行し、さらに、前記エラー状態から前記通常状態に移行した後であって、前記第1の通信セッションが終了している第2の場合に、第2の通信セッションを、新たに確立し、
前記取得部は、前記第2の通信セッションを利用して、前記第1の部分データ要求処理を実行する、請求項1から5のいずれか一項に記載の印刷装置。 The printing apparatus further includes:
An establishing unit for establishing a communication session between the printing apparatus and the providing apparatus;
The acquisition unit uses the established first communication session to execute the first reception process, and the printing apparatus shifts from the normal state to the error state. In the first case after the transition from the error state to the normal state and the first communication session is maintained, the first reception process is performed using the first communication session. Continue,
The establishment unit uses the first communication session to execute the first reception process, and the printing apparatus shifts from the normal state to the error state. A second communication session is newly established in the second case after the transition from the state to the normal state and the first communication session has ended,
6. The printing apparatus according to claim 1, wherein the acquisition unit executes the first partial data request process using the second communication session. 7.
前記印刷装置と前記提供装置との間に、通信セッションを確立する確立部と、
確立された前記通信セッションを終了するための終了処理を実行する終了部と、を備え、
前記終了部は、確立された第1の通信セッションを利用して、前記第1の受信処理を実行している間に、前記印刷装置が、前記通常状態から前記エラー状態に移行する場合に、前記印刷装置が前記エラー状態から前記通常状態に移行した後に、前記第1の通信セッションを終了するための前記終了処理を実行し、
前記確立部は、前記印刷装置と前記提供装置との間に、第2の通信セッションを確立し、
前記取得部は、前記第2の通信セッションを利用して、前記第1の部分データ要求処理を実行する、請求項1から5のいずれか一項に記載の印刷装置。 The printing apparatus further includes:
An establishing unit for establishing a communication session between the printing device and the providing device;
An ending unit for executing an ending process for ending the established communication session,
When the printing apparatus shifts from the normal state to the error state while executing the first reception process using the established first communication session, After the printing apparatus transitions from the error state to the normal state, the termination process for terminating the first communication session is executed,
The establishment unit establishes a second communication session between the printing apparatus and the providing apparatus,
6. The printing apparatus according to claim 1, wherein the acquisition unit executes the first partial data request process using the second communication session. 7.
前記第1の受信処理を実行している間に、前記印刷装置が、前記通常状態から前記エラー状態に移行する場合に、前記提供装置に、予め決められている格納期間を越えて、前記印刷データを格納させるための格納要求を、前記提供装置に送信する送信部を備える、請求項1から11のいずれか一項に記載の印刷装置。 The printing apparatus further includes:
When the printing apparatus shifts from the normal state to the error state during the execution of the first reception process, the printing apparatus is instructed to perform the printing beyond a predetermined storage period. the storage request to store data, a transmitting unit that transmits to the providing apparatus, the printing apparatus according to any one of claims 1 to 11.
前記印刷装置と前記提供装置との間に、通信セッションを確立する確立部を備え、
前記確立部は、確立された第1の通信セッションを利用して、前記第1の受信処理を実行している間に、前記印刷装置が、前記通常状態から前記エラー状態に移行する場合に、前記第1の通信セッションと異なる第5の通信セッションを確立し、
前記送信部は、前記第5の通信セッションを利用して、前記格納要求を送信する、請求項12に記載の印刷装置。 The printing apparatus further includes:
An establishing unit for establishing a communication session between the printing apparatus and the providing apparatus;
When the printing apparatus shifts from the normal state to the error state while the first receiving process is being performed using the established first communication session, Establishing a fifth communication session different from the first communication session;
The printing apparatus according to claim 12 , wherein the transmission unit transmits the storage request using the fifth communication session.
前記提供装置とインターネットを用いて通信する印刷装置と、
を備える通信システムであって、
前記印刷装置は、
印刷データを用いて印刷を実行する印刷機構と、
印刷データの一部である部分データを、前記印刷装置が受信するための部分データ要求を、前記提供装置に送信する要求処理と、前記部分データ要求に応じて前記提供装置から前記部分データを受信する受信処理と、を繰り返し実行することによって、前記提供装置から前記印刷データを取得する取得部と、
受信された1個以上の前記部分データを、印刷機構に供給する供給部と、
を備え、
前記取得部は、
前記印刷データの一部である第1の部分データを、前記印刷装置が受信するための第1の部分データ要求に応じて、前記提供装置から前記第1の部分データを受信する第1の受信処理を実行している間に、前記印刷装置が、前記第1の部分データを受信することができる通常状態から、前記第1の部分データを受信することができないエラー状態に移行し、さらに、前記エラー状態から前記通常状態に移行した後に、前記第1の部分データのうち、未だ受信していない未受信データを含む第2の部分データを、前記提供装置に要求する第2の部分データ要求を、前記提供装置に送信する第1の部分データ要求処理を
実行し、
第1のデータサイズの前記第1の部分データを、前記印刷装置が受信するための前記第1の部分データ要求に応じて、前記第1のデータサイズと異なる第2のデータサイズを示す第2のサイズ情報が、前記提供装置から受信される場合に、前記第2のデータサイズの前記第1の部分データを、前記印刷装置が受信するための新たな第1の部分データ要求を、前記提供装置に送信する、通信システム。 A providing device for providing print data;
A printing apparatus that communicates with the providing apparatus using the Internet;
A communication system comprising:
The printing apparatus includes:
A printing mechanism that performs printing using the print data; and
Request processing for transmitting a partial data request for the printing apparatus to receive partial data that is a part of print data to the providing apparatus, and receiving the partial data from the providing apparatus in response to the partial data request An acquisition unit that acquires the print data from the providing device by repeatedly executing the receiving process;
A supply unit that supplies the received one or more pieces of the partial data to a printing mechanism;
With
The acquisition unit
First reception for receiving the first partial data from the providing device in response to a first partial data request for the printing device to receive first partial data that is part of the print data. While executing the process, the printing apparatus shifts from a normal state in which the first partial data can be received to an error state in which the first partial data cannot be received, and After shifting from the error state to the normal state, a second partial data request for requesting the providing device for second partial data including unreceived data that has not yet been received among the first partial data. A first partial data request process for transmitting to the providing device ,
A second data size different from the first data size in response to the first partial data request for the printing apparatus to receive the first partial data of the first data size; When the size information is received from the providing device, the provision of a new first partial data request for the printing device to receive the first partial data of the second data size. A communication system that transmits to a device .
前記提供装置に格納されている期間が、予め決められている格納期間を越える前記印刷データを、前記提供装置から消去する消去部を、さらに備える、請求項15に記載の通信システム。 The providing device includes:
The communication system according to claim 15 , further comprising an erasing unit that erases from the providing apparatus the print data whose period stored in the providing apparatus exceeds a predetermined storage period.
前記印刷装置は、印刷データを用いて印刷を実行する印刷機構を備え、
前記コンピュータプログラムは、前記印刷装置に搭載されているコンピュータに、以下の処理、即ち、
印刷データの一部である部分データを、前記印刷装置が取得するための部分データ要求を、前記提供装置に送信する要求処理と、前記部分データ要求に応じて前記提供装置から前記部分データを受信する受信処理と、を繰り返し実行することによって、前記提供装置から前記印刷データを取得する取得処理と、
受信された1個以上の前記部分データを、前記印刷機構に供給する供給処理と、を実行させ、
前記印刷データの一部である第1の部分データを、前記印刷装置が取得するための第1の部分データ要求に応じて、前記提供装置から前記第1の部分データを受信する第1の受信処理を実行している間に、前記印刷装置が、前記第1の部分データを受信することができる通常状態から、前記第1の部分データを受信することができないエラー状態に移行する場合に、前記印刷装置が前記エラー状態から前記通常状態に移行した後に、前記第1の部分データのうち、未だ受信していない未受信データを含む第2の部分データを、前記提供装置に要求する第2の部分データ要求を、前記提供装置に送信する第1の部分データ要求処理と、
第1のデータサイズの前記第1の部分データを、前記印刷装置が受信するための前記第1の部分データ要求に応じて、前記第1のデータサイズと異なる第2のデータサイズを示す第2のサイズ情報が、前記提供装置から受信される場合に、前記第2のデータサイズの前記第1の部分データを、前記印刷装置が受信するための新たな第1の部分データ要求を、前記提供装置に送信する処理と、を実行させる、コンピュータプログラム。
A computer program for a providing device that provides data and a printing device that communicates using the Internet,
The printing apparatus includes a printing mechanism that performs printing using print data,
The computer program stores the following processing in a computer installed in the printing apparatus:
Request processing for transmitting to the providing device a partial data request for the printing device to acquire partial data that is part of the print data, and receiving the partial data from the providing device in response to the partial data request An acquisition process for acquiring the print data from the providing device by repeatedly executing the reception process.
Supplying one or more received partial data to the printing mechanism; and
First reception of receiving the first partial data from the providing apparatus in response to a first partial data request for the printing apparatus to acquire first partial data that is a part of the print data In a case where the printing apparatus shifts from an ordinary state in which the first partial data can be received to an error state in which the first partial data cannot be received while executing the processing, After the printing apparatus transitions from the error state to the normal state, a second partial data including unreceived data that has not yet been received among the first partial data is requested to the providing apparatus. First partial data request processing for transmitting the partial data request to the providing device ;
A second data size different from the first data size in response to the first partial data request for the printing apparatus to receive the first partial data of the first data size; When the size information is received from the providing device, the provision of a new first partial data request for the printing device to receive the first partial data of the second data size. A computer program for executing processing to be transmitted to a device .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012287135A JP5978991B2 (en) | 2012-12-28 | 2012-12-28 | Printing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012287135A JP5978991B2 (en) | 2012-12-28 | 2012-12-28 | Printing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014128898A JP2014128898A (en) | 2014-07-10 |
JP5978991B2 true JP5978991B2 (en) | 2016-08-24 |
Family
ID=51407764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012287135A Active JP5978991B2 (en) | 2012-12-28 | 2012-12-28 | Printing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5978991B2 (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1199861A3 (en) * | 2000-08-25 | 2003-10-22 | Hewlett Packard Company, a Delaware Corporation | Downloading data |
JP3788377B2 (en) * | 2002-03-27 | 2006-06-21 | ブラザー工業株式会社 | Printing device |
JP4189595B2 (en) * | 2004-08-25 | 2008-12-03 | コニカミノルタビジネステクノロジーズ株式会社 | File management device |
JP2006123261A (en) * | 2004-10-27 | 2006-05-18 | Canon Finetech Inc | Printing apparatus and printing method |
JP2006231673A (en) * | 2005-02-24 | 2006-09-07 | Oki Data Corp | Image forming apparatus |
JP4836193B2 (en) * | 2006-12-27 | 2011-12-14 | 株式会社リコー | Image forming apparatus and image forming method |
JP2012252452A (en) * | 2011-06-01 | 2012-12-20 | Ricoh Co Ltd | Information processing device, information processing system, and program |
-
2012
- 2012-12-28 JP JP2012287135A patent/JP5978991B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2014128898A (en) | 2014-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6015438B2 (en) | Printing device | |
JP6210130B2 (en) | Relay device, relay system, and relay method | |
JP5949339B2 (en) | Image processing apparatus and program | |
JP5708017B2 (en) | Information processing system, information processing equipment, program | |
JP6547717B2 (en) | Electronic device and application control program | |
JP2008178066A (en) | Data processor | |
US9876932B2 (en) | Image processing apparatus, control method thereof, and storage medium storing program | |
JP6549922B2 (en) | IMAGE COMMUNICATION APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM | |
JP2010081011A (en) | Electronic apparatus, management system and management program | |
US20100110494A1 (en) | Image forming method and apparatus using portable storage medium | |
JP5935515B2 (en) | Control device | |
JP5978991B2 (en) | Printing device | |
JP5847120B2 (en) | Internet facsimile machine | |
JP2017219679A (en) | Correction data distribution system, correction data generation device, image formation device and program | |
US9900462B2 (en) | File transmission apparatus, control method of file transmission apparatus, and storage medium | |
JP2007151007A (en) | Image forming apparatus, history management method, storage medium, and program | |
JP2007235748A (en) | Image-forming device | |
JP6102345B2 (en) | Communication device | |
JP2020005045A (en) | Image forming apparatus, control method of image forming apparatus, program, and image forming system | |
JP6225561B2 (en) | Communication apparatus and program | |
US8743409B2 (en) | Information processing apparatus and method of processing information | |
JP6314486B2 (en) | SYSTEM, DEVICE, INFORMATION PROCESSING DEVICE, METHOD, PROGRAM, AND RECORDING MEDIUM | |
JP6436066B2 (en) | Image forming apparatus and synchronization program | |
JP5656798B2 (en) | Image forming apparatus | |
JP7110628B2 (en) | Image processing device and image processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150318 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20151209 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151215 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160212 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160628 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160711 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Ref document number: 5978991 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |