JP2013049204A - Printing apparatus, printing method - Google Patents

Printing apparatus, printing method Download PDF

Info

Publication number
JP2013049204A
JP2013049204A JP2011188626A JP2011188626A JP2013049204A JP 2013049204 A JP2013049204 A JP 2013049204A JP 2011188626 A JP2011188626 A JP 2011188626A JP 2011188626 A JP2011188626 A JP 2011188626A JP 2013049204 A JP2013049204 A JP 2013049204A
Authority
JP
Japan
Prior art keywords
print data
print
processing
printing
data
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.)
Granted
Application number
JP2011188626A
Other languages
Japanese (ja)
Other versions
JP5899713B2 (en
Inventor
Yasuhiro Oshima
康裕 大島
Hirotaka Akamatsu
裕隆 赤松
Yasuhiro Furuta
泰大 古田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2011188626A priority Critical patent/JP5899713B2/en
Priority to CN201210299152.7A priority patent/CN102970320B/en
Priority to US13/597,842 priority patent/US8705074B2/en
Priority to EP12182138.3A priority patent/EP2565777B1/en
Publication of JP2013049204A publication Critical patent/JP2013049204A/en
Application granted granted Critical
Publication of JP5899713B2 publication Critical patent/JP5899713B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printing apparatus that can efficiently restart printing when the session is cut between the printing apparatus and servers while obtaining the print data, and reconnected afterwards.SOLUTION: The printing apparatus includes: a requesting part that issues a request to transmit print data to a server; a receiving part that receives the print data transmitted from the server; a print processing part that makes the received print data a sequential processing object, and performs printing based on the print data; and a measuring part that measures the data volume of the print data that becomes the processing object. When a server session is cut before all the print data becomes the processing object, and it is reconnected afterwards, according to that the requesting part has issued the request to transmit print data again, the print processing part extracts the part that has not been the print object from the print data received by the receiving part based on the data volume measured by the measuring part, and makes it the pint object.

Description

本発明は、クラウドコンピューティングシステムにおいてユーザーからサーバー経由で取得した印刷要求に応じて印刷を実行する印刷装置および印刷方法に関する。   The present invention relates to a printing apparatus and a printing method for executing printing in response to a print request acquired from a user via a server in a cloud computing system.

従来、電子メールの送信によって特定のプリンターに印刷を実行させることができるサービスを提供するクラウドコンピューティングシステムが知られている(例えば特許文献1)。このクラウドコンピューティングシステム(以下、単に印刷システムという。)は、特定の電子メールを受信すると電子メールに基づいて特定のプリンターに対応した印刷データを生成するサーバーを備え、サーバーに登録されている特定のプリンターはサーバーから印刷データを取得して印刷を実行する。したがって印刷システムの利用者は、PC(Personal Computer)、スマートフォン等の通信端末にプリンタードライバーがインストールされていない場合であっても、印刷システムに登録されているプリンターを利用することが可能になる。   2. Description of the Related Art Conventionally, a cloud computing system that provides a service that allows a specific printer to execute printing by sending an e-mail is known (for example, Patent Document 1). This cloud computing system (hereinafter simply referred to as a printing system) includes a server that generates print data corresponding to a specific printer based on an e-mail when a specific e-mail is received, and is registered in the server The printer obtains print data from the server and executes printing. Therefore, the user of the printing system can use the printer registered in the printing system even when the printer driver is not installed in a communication terminal such as a PC (Personal Computer) or a smartphone.

特開2008−71257号公報JP 2008-71257 A

このような印刷システムにおいては、ユーザーが送信した電子メールに基づいてサーバーが印刷データを生成し、プリンターに対して印刷ジョブの存在を通知し、通知を受けたプリンターはサーバーに対して印刷データの送信要求を行って印刷データを取得しながら印刷を実行している。プリンターが搭載しているメモリサイズにはコストの観点から制限があるので、印刷が終了した部分の印刷データについてはメモリから破棄し次に処理すべき部分の印刷データのためにメモリ領域を確保する。このようにプリンターは、印刷データを取得しながら印刷を行うため、印刷データの取得途中でプリンターにおいてエラーが発生した場合、印刷を続行することができないため印刷データをメモリから破棄することができず、やがて後続して送信された印刷データを受信できない状態となる。   In such a printing system, the server generates print data based on the email sent by the user, notifies the printer of the existence of the print job, and the printer that received the notification sends the print data to the server. Printing is performed while acquiring print data by making a transmission request. Since the memory size installed in the printer is limited from the viewpoint of cost, the print data of the part that has been printed is discarded from the memory and a memory area is secured for the part of the print data to be processed next. . Since the printer performs printing while acquiring print data in this way, if an error occurs in the printer during print data acquisition, printing cannot be continued and printing data cannot be discarded from memory. Eventually, the print data transmitted subsequently cannot be received.

このような場合、従来はエラーが発生したため印刷を終了するという動作になっておりエラー復帰後の動作について特に考慮されていなかった。プリンターはこれ以上印刷データを受信できないためやがてプリンターとサーバー間のセッションも切断される。エラーが解消された後は、できれば最初から印刷をやり直すよりもエラーによる中断時の続きから印刷を再開できる方が望ましいことを考えると、セッションはエラー発生後も維持されている方が好都合であるが、プリンターにおけるエラーが発生後即座に解消される保証はなく場合によっては長時間エラーによる印刷中断の状態のまま放置されることも考えられる。エラーが解消され印刷可能となるまでの期間もセッションを維持し続けることはサーバーに負荷がかかるので、セッションを維持し続けることは難しい。前述のように従来はエラー復帰後の動作について考慮されていないので、エラー解消後に再度印刷する場合は、もう一度印刷ジョブの最初から印刷が実行される。その場合、インクや印刷媒体等の消耗品や、印刷に要する時間を無用に消費してしまうことになる。
本発明は、印刷データの取得途中で印刷装置とサーバーとの間でセッションが切断され、その後再接続された場合に、効率的に印刷を再開することができる印刷装置の提供を目的とする。
In such a case, conventionally, since an error has occurred, the operation is to end printing, and the operation after returning from the error is not particularly considered. Since the printer cannot receive any more print data, the session between the printer and the server is eventually disconnected. Once the error has been resolved, it is better to be able to resume printing from the continuation of the interruption due to the error, if possible, rather than restarting the print from the beginning. However, there is no guarantee that the error will be resolved immediately after an error occurs in the printer, and it may be left in a state where printing is interrupted due to an error for a long time. It is difficult to continue to maintain the session since it takes a load on the server to continue the session until the error is resolved and printing is possible. As described above, conventionally, the operation after error recovery is not taken into consideration. Therefore, when printing is performed again after the error is resolved, printing is executed again from the beginning of the print job. In that case, consumables such as ink and print media, and time required for printing are consumed unnecessarily.
An object of the present invention is to provide a printing apparatus that can efficiently resume printing when a session is disconnected between a printing apparatus and a server in the middle of acquiring print data and then reconnected.

上記目的を達成するための印刷装置は、要求部と、受信部と、印刷処理部と、計測部と、を備える。要求部は、サーバーに対して印刷データの送信要求を行う。受信部は、送信要求に応じてサーバーから送信された印刷データを受信する。印刷処理部は、受信部が受信した印刷データを順次処理対象とし、処理対象にした印刷データに基づいて印刷を行う。計測部は、受信した印刷データのうち印刷処理部による処理対象となった印刷データのデータ量を計測する。すなわち、送信要求した印刷データであって、所定サイズずつ順に受信する印刷データが順次印刷処理部の処理対象となるたびにその累積のデータ量(サイズ)を計測する。   A printing apparatus for achieving the above object includes a request unit, a receiving unit, a print processing unit, and a measuring unit. The request unit makes a transmission request for print data to the server. The receiving unit receives the print data transmitted from the server in response to the transmission request. The print processing unit sequentially processes the print data received by the reception unit, and performs printing based on the print data set as the processing target. A measurement part measures the data amount of the print data used as the process target by the print processing part among the received print data. That is, each time print data that has been requested to be transmitted and is received in order of a predetermined size is sequentially processed by the print processing unit, the accumulated data amount (size) is measured.

本発明の印刷装置において、サーバーに要求した印刷データの全てが印刷処理部の処理対象となる前にサーバーとのセッションが切断されその後再接続された場合、要求部が印刷データの送信要求を再度行ったことに応じて受信部が受信した印刷データの中から、印刷処理部は、計測部が計測したデータ量に基づいて印刷データのうちまだ印刷処理部の処理対象になっていない部分を抽出して処理対象とする。すなわち印刷処理部は、受信した印刷データの中から既に印刷処理部の処理対象となった部分を再度印刷処理部の処理対象とすることなく、まだ処理対象になっていない部分を抽出して処理対象にする。そのため、既に印刷済みの部分や印刷を実行するために印刷装置に適した形式に印刷データを変換する印刷前処理中の部分の印刷データに対して再度印刷を実行することを防止できる。すなわち、セッションの切断・再接続を経ても印刷中断時の続きから印刷を再開することができるため、インクや印刷媒体などの消耗品が無用に消費されることを防止できる。また、続きから印刷再開するため、再度最初から印刷する場合と比較して、印刷完了までに要する時間も短縮することができる。   In the printing apparatus of the present invention, when the session with the server is disconnected before all the print data requested of the server is processed by the print processing unit and then reconnected, the request unit reissues the print data transmission request. From the print data received by the receiving unit according to what has been done, the print processing unit extracts a portion of the print data that has not yet been processed by the print processing unit based on the amount of data measured by the measurement unit To be processed. That is, the print processing unit extracts and processes a portion that has not yet been processed from the received print data without re-processing the portion that has already been processed by the print processing unit. Target. For this reason, it is possible to prevent the printing from being performed again on the print data of the part that has already been printed or the part of the print data that is undergoing pre-printing processing that converts the print data into a format suitable for the printing apparatus in order to execute printing. In other words, since the printing can be resumed from the continuation of the printing interruption even after the session is disconnected or reconnected, it is possible to prevent unnecessary consumption such as ink and printing media from being consumed. In addition, since printing is resumed from the continuation, the time required to complete printing can be shortened as compared with the case of printing again from the beginning.

さらに、上記目的を達成するための印刷装置において、要求部は、セッションの再接続後に、計測部が計測したデータ量に基づいて印刷データのうちまだ処理対象になっていない部分の送信要求を行ってもよい。その場合、印刷処理部は、セッションの再接続後に受信した印刷データがまだ処理対象になっていない部分である場合には、当該印刷データを処理対象とし、セッションの再接続後に受信した印刷データが既に処理対象となった部分とまだ処理対象になっていない部分とを含む場合には、受信した印刷データから計測部が計測したデータ量に基づいてまだ処理対象になっていない部分を抽出して処理対象としてもよい。   Further, in the printing apparatus for achieving the above object, the request unit makes a transmission request for a portion of the print data that has not yet been processed based on the amount of data measured by the measurement unit after reconnection of the session. May be. In that case, if the print data received after reconnection of the session is a part that has not yet been processed, the print processing unit sets the print data to be processed, and print data received after reconnection of the session When including the part that has already been processed and the part that has not yet been processed, extract the part that has not yet been processed from the received print data based on the amount of data measured by the measurement unit It may be a processing target.

すなわちサーバー側が、印刷装置からの印刷データの部分的な送信要求機能に対応している場合は、印刷装置が要求した通りまだ処理対象になっていない部分の印刷データがサーバーから送信されるので当該印刷データを処理対象とする。一方、サーバーが部分的な送信要求機能に対応していない場合は、サーバーからは既に処理対象となった部分もまだなっていない部分も含めて一つの印刷ジョブに含まれる印刷データ全体が送信されることになる。その場合も本発明の印刷装置によると、まだ処理対象となっていない部分の印刷データを抽出して印刷処理部の処理対象とすることができる。そのため、部分的な送信要求にサーバーが対応しているか否かに関わらず、印刷装置側では、印刷中断時の続きから印刷を再開することができるため、インクや印刷媒体などの消耗品が無用に消費されることを防止できる。また、続きから印刷再開するため、再度最初から印刷する場合と比較して、印刷に要する時間も短縮することができる。   In other words, if the server supports the function for requesting partial transmission of print data from the printing device, the print data for the portion not yet processed is sent from the server as requested by the printing device. Process print data. On the other hand, if the server does not support the partial transmission request function, the entire print data included in one print job is sent from the server, including the parts that have already been processed and the parts that have not yet been processed. Will be. Even in such a case, according to the printing apparatus of the present invention, it is possible to extract print data of a portion that has not yet been processed and set it as a processing target of the print processing unit. Therefore, regardless of whether or not the server supports partial transmission requests, the printing device can resume printing from the continuation of printing interruption, so there is no need for consumables such as ink and printing media. Can be prevented from being consumed. In addition, since printing is resumed from the continuation, the time required for printing can be shortened as compared with the case of printing again from the beginning.

さらに、上記目的を達成するための印刷装置において、要求部は、まだ印刷処理部の処理対象になっていない部分の印刷データの送信要求を、HTTPのrangeヘッダーを用いて範囲指定することで行ってもよい。
HTTPのrangeヘッダーを用いることで、印刷データの部分的な送信要求を実現することができる。
Further, in the printing apparatus for achieving the above object, the request unit performs a transmission request for a portion of the print data not yet processed by the print processing unit by specifying a range using the HTTP range header. May be.
By using an HTTP range header, a partial transmission request for print data can be realized.

さらに、上記目的を達成するための印刷装置において、受信部は、受信した印刷データを第一記憶部に記憶させてもよい。その場合に印刷処理部は、第二記憶部に記憶されている印刷データを処理対象として印刷前処理を行い、印刷前処理後のデータに基づいて印刷を行ってもよい。またその場合に計測部は、第一記憶部から第二記憶部に転送された印刷データのデータ量を計測してもよい。
印刷装置が、サーバーから受信した印刷データを一旦記憶する第一記憶部と、印刷前処理のための印刷データの記憶領域である第二記憶部と、を備える構成である場合、印刷前処理を行うために印刷データを第一記憶部から第二記憶部に移すという処理が必要である。その処理と同期して第一記憶部から第二記憶部に移された印刷データのデータ量を計測することで、「印刷処理部による処理対象となった印刷データのデータ量」の計測を実現することができる。
Furthermore, in the printing apparatus for achieving the above object, the receiving unit may store the received print data in the first storage unit. In this case, the print processing unit may perform pre-printing processing on the print data stored in the second storage unit and perform printing based on the data after the pre-printing processing. In this case, the measurement unit may measure the data amount of the print data transferred from the first storage unit to the second storage unit.
When the printing apparatus is configured to include a first storage unit that temporarily stores print data received from the server and a second storage unit that is a storage area for print data for pre-print processing, the pre-print processing is performed. In order to do this, it is necessary to move the print data from the first storage unit to the second storage unit. By measuring the amount of print data transferred from the first storage unit to the second storage unit in synchronization with the processing, measurement of the “data amount of print data processed by the print processing unit” is realized. can do.

なお、請求項に記載された各手段の機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら各手段の機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。さらに、本発明は方法としても、コンピュータープログラムとしても、そのプログラムの記録媒体としても成立する。むろん、そのコンピュータープログラムの記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体であってもよい。   Note that the function of each means described in the claims is realized by hardware resources whose function is specified by the configuration itself, hardware resources whose function is specified by a program, or a combination thereof. The functions of these means are not limited to those realized by hardware resources that are physically independent of each other. Furthermore, the present invention can be realized as a method, a computer program, and a recording medium for the program. Of course, the recording medium for the computer program may be a magnetic recording medium, a magneto-optical recording medium, or any recording medium developed in the future.

第一実施形態にかかる印刷装置のブロック図。1 is a block diagram of a printing apparatus according to a first embodiment. 第一実施形態にかかるバッファーの構成例を示す模式図。The schematic diagram which shows the structural example of the buffer concerning 1st embodiment. 第一実施形態にかかる印刷シーケンスのシーケンスチャート。The sequence chart of the printing sequence concerning a first embodiment. 第一実施形態にかかる印刷データの各部の状態を説明する模式図。FIG. 3 is a schematic diagram illustrating the state of each part of print data according to the first embodiment. 他の実施形態にかかる印刷データの各部の状態を説明する模式図。FIG. 10 is a schematic diagram illustrating the state of each part of print data according to another embodiment.

以下、本発明の実施の形態を添付図面を参照しながら説明する。尚、各図において対応する構成要素には同一の符号が付され、重複する説明は省略される。
1.第一実施形態
1−1.構成
図1は、本発明にかかるプリンター(印刷装置)3を含む印刷システム全体の構成を示すブロック図である。図1に示す印刷システムは、サーバー2に登録されたプリンター3に対応付けられた電子メールアドレスを宛先とする電子メールを任意の通信端末1から送信すると、宛先の電子メールアドレスに対応付けられたプリンター3において電子メールの添付ファイルや本文が印刷される機能を実現する。サーバー2は1以上のコンピューターによって構成される。サーバー2、プリンター3、通信端末1はインターネット4に接続される。
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In addition, the same code | symbol is attached | subjected to the corresponding component in each figure, and the overlapping description is abbreviate | omitted.
1. 1. First embodiment 1-1. Configuration FIG. 1 is a block diagram showing the overall configuration of a printing system including a printer (printing apparatus) 3 according to the present invention. In the printing system illustrated in FIG. 1, when an e-mail addressed to an e-mail address associated with the printer 3 registered in the server 2 is transmitted from any communication terminal 1, the e-mail address is associated with the e-mail address of the destination. The printer 3 realizes a function of printing an e-mail attachment file or body text. The server 2 is composed of one or more computers. The server 2, printer 3, and communication terminal 1 are connected to the Internet 4.

プリンター3は、サーバー2とのXMPP(Extensible Messaging and Presence Protocol)を用いた常時接続によってサーバー2から印刷ジョブ有り通知を通知されると、HTTP(Hyper Text Transfer Protocol)を用いて印刷データをサーバー2から取得し、印刷を実行する機能を有する。したがってプリンター3は、CPU、ROM、RAM等を備えたコントローラー31、印刷部35等の通常のプリンターの構成要素に加えて、インターネット4を介して各種のデータを送受信するための通信部34を備えている。通信部34はインターネット4からLANを経由して受信する信号をプロトコルに従って変換して内部バスに送出し、内部バスから取り込んだ信号をプロトコルに従って変換してLANを経由してインターネットに送出する。コントローラー31のROMにはRAMに読み込まれCPUによって実行される通信プログラムや印刷プログラムなどの種々のコンピュータープログラムが記憶されている。これらのコンピュータープログラムをCPUが実行することによって、プリンター3の各種の機能が実現される。   When the printer 3 is notified of the presence of a print job from the server 2 through a constant connection using XMPP (Extensible Messaging and Presence Protocol) with the server 2, the printer 3 sends print data to the server 2 using HTTP (Hyper Text Transfer Protocol). And having a function of executing printing. Accordingly, the printer 3 includes a communication unit 34 for transmitting and receiving various data via the Internet 4 in addition to the components of a normal printer such as a controller 31 having a CPU, ROM, RAM, and the like, and a printing unit 35. ing. The communication unit 34 converts the signal received from the Internet 4 via the LAN according to the protocol and sends it to the internal bus, and converts the signal received from the internal bus according to the protocol and sends it to the Internet via the LAN. The ROM of the controller 31 stores various computer programs such as a communication program and a printing program that are read into the RAM and executed by the CPU. Various functions of the printer 3 are realized by the CPU executing these computer programs.

通信プログラムは、サーバー2とTCP/IP、HTTP、XMPP等の通信プロトコルに従った通信を行うためのプログラムである。なお、HTTPやXMPPを用いてサーバー2と接続するために必要な情報は予めコントローラー31は取得済みである。受信バッファー32(第一記憶部に相当)は、通信プログラムを実行するコントローラー31が通信部34を介して外部から受信したデータを記憶するメモリであり、印刷データなど様々なデータが一旦格納されるメモリである。通信プログラムを実行するコントローラー31および通信部34は、印刷データの送信要求をサーバー2に対して行う「要求部」に相当する。また、通信プログラムを実行するコントローラー31と通信部34と受信バッファー32とは、サーバー2から送信された印刷データを受信する「受信部」に相当する。   The communication program is a program for performing communication with the server 2 according to a communication protocol such as TCP / IP, HTTP, XMPP or the like. Note that the controller 31 has acquired in advance information necessary for connecting to the server 2 using HTTP or XMPP. The reception buffer 32 (corresponding to the first storage unit) is a memory that stores data received from the outside by the controller 31 that executes the communication program via the communication unit 34, and temporarily stores various data such as print data. It is memory. The controller 31 and the communication unit 34 that execute the communication program correspond to a “request unit” that makes a print data transmission request to the server 2. The controller 31, the communication unit 34, and the reception buffer 32 that execute the communication program correspond to a “reception unit” that receives print data transmitted from the server 2.

印刷プログラムは、受信バッファー32に記憶されている印刷データを読み出して処理バッファー33(第二記憶部に相当)に転送し、印刷前処理を施してプリンター3における印刷に適した形式のデータに印刷データを変換し、変換後のデータに基づいて印刷部35を制御して印刷を行う機能を有するプログラムである。印刷プログラムを実行するコントローラー31と、印刷部35と処理バッファー33とは「印刷処理部」に相当する。本実施形態においては、サーバー2が生成しプリンター3に送信する印刷データは、画素値がRGB形式で表現されたデータである。その場合、印刷前処理は、そのような形式の印刷データに対して施す、解像度変換処理や、色変換処理(プリンター3に搭載されたインクごとの階調値に変換する処理)や、ハーフトーン処理や、並べ替え処理等を指す。処理バッファー33は、受信バッファー32に記憶された様々なデータの中から抽出され読み出された印刷データに対して前述の印刷前処理を施す際に処理前や処理過程や処理後のデータを記憶するためのメモリである。印刷前処理に含まれる前述の各処理のデータ受け渡しのためにそれぞれ設けられたバッファーメモリをまとめて処理バッファー33と呼ぶ。   The print program reads the print data stored in the reception buffer 32, transfers it to the processing buffer 33 (corresponding to the second storage unit), performs pre-printing processing, and prints the data in a format suitable for printing in the printer 3. The program has a function of converting data and controlling the printing unit 35 based on the converted data to perform printing. The controller 31 that executes the printing program, the printing unit 35, and the processing buffer 33 correspond to a “printing processing unit”. In the present embodiment, the print data generated by the server 2 and transmitted to the printer 3 is data in which pixel values are expressed in RGB format. In this case, the pre-printing process is a resolution conversion process, a color conversion process (a process for converting the gradation value for each ink installed in the printer 3), halftone, and the like for print data in such a format. Refers to processing, rearrangement processing, and the like. The processing buffer 33 stores pre-processing, processing steps, and post-processing data when the above-described pre-print processing is performed on the print data extracted and read out from various data stored in the reception buffer 32. It is a memory to do. The buffer memories respectively provided for data transfer of the above-described processes included in the pre-printing process are collectively referred to as a processing buffer 33.

図2は各バッファーについて説明するための模式図である。図2に示すように例えば本実施形態では処理バッファー33は、受信バッファー32から読み出した解像度変換処理前の印刷データを記憶する第一の処理バッファー331と、解像度変換後のデータであり色変換処理前のデータを記憶する第二の処理バッファー332と、色変換処理後のデータであってハーフトーン処理前のデータを記憶する第三の処理バッファー333と、ハーフトーン処理後のデータであって並べ替え処理前のデータを記憶する第四の処理バッファー334と、並べ替え処理後のデータを記憶する第五の処理バッファー335とを含んでいる。第五の処理バッファー335に記憶されたデータは印刷部35による印刷に用いられる。印刷処理プログラムを実行するコントローラー31が、受信バッファー32に記憶されている印刷データを受信バッファー32から読み出し、処理バッファー33(第一の処理バッファー331)に転送することで、「印刷処理部」による「処理対象」となる。受信バッファー32から読み出され、処理バッファー33(第一の処理バッファー331)に転送された印刷データは、受信バッファー32からは破棄され、受信する新たなデータのための格納場所に当てられる。印刷プログラムは受信バッファー32から処理バッファー33に印刷データを転送するごとに、転送された印刷データの累積のデータ量をサイズnとして計測する計測機能を有している。したがって印刷プログラムを実行するコントローラー31は「計測部」に相当する。   FIG. 2 is a schematic diagram for explaining each buffer. As shown in FIG. 2, for example, in this embodiment, the processing buffer 33 includes a first processing buffer 331 that stores print data read from the reception buffer 32 before resolution conversion processing, and data after resolution conversion that is color conversion processing. The second processing buffer 332 that stores the previous data, the third processing buffer 333 that stores the data after the color conversion processing and before the halftone processing, and the data after the halftone processing are arranged. A fourth processing buffer 334 that stores data before the rearrangement process and a fifth processing buffer 335 that stores data after the rearrangement process are included. The data stored in the fifth processing buffer 335 is used for printing by the printing unit 35. The controller 31 that executes the print processing program reads the print data stored in the reception buffer 32 from the reception buffer 32 and transfers it to the processing buffer 33 (first processing buffer 331). “Processing target”. The print data read from the reception buffer 32 and transferred to the processing buffer 33 (first processing buffer 331) is discarded from the reception buffer 32 and applied to a storage location for new data to be received. Each time print data is transferred from the reception buffer 32 to the processing buffer 33, the print program has a measurement function that measures the accumulated data amount of the transferred print data as a size n. Therefore, the controller 31 that executes the printing program corresponds to a “measurement unit”.

コントローラー31は、第一の処理バッファー331に記憶されている印刷データに対する解像度変換処理を終了すると処理後のデータを第二の処理バッファー332に書き込み、当該印刷データを第一の処理バッファー331から破棄する。そして、後続の印刷データを受信バッファー32から読み出し第一の処理バッファー331に転送する。第二の処理バッファー332〜第五の処理バッファー335についても同様にコントローラー31は、前段のバッファーからデータを読み出して処理し後段のバッファーに書込みが終了すると前段のバッファーからはデータを破棄し後続のデータを前段のバッファーに転送可能な状態とする。印刷部35は、インクジェット方式、レーザー方式など周知の印刷方式で写真用紙、普通紙、OHPシートなどの印刷媒体に印刷を実行するためのアクチュエーターやセンサーや駆動回路や機械部品を備えている。印刷部35によって印刷が完了した部分に相当する印刷データは処理バッファー33(第五の処理バッファー335)から破棄される。   When the resolution conversion processing for the print data stored in the first processing buffer 331 is completed, the controller 31 writes the processed data to the second processing buffer 332 and discards the print data from the first processing buffer 331. To do. The subsequent print data is read from the reception buffer 32 and transferred to the first processing buffer 331. Similarly, for the second processing buffer 332 to the fifth processing buffer 335, the controller 31 reads and processes data from the preceding buffer, and when writing to the succeeding buffer ends, discards the data from the preceding buffer and continues to the subsequent buffer. The data can be transferred to the previous buffer. The printing unit 35 includes an actuator, a sensor, a driving circuit, and a mechanical part for executing printing on a printing medium such as a photographic paper, plain paper, or an OHP sheet by a known printing method such as an inkjet method or a laser method. The print data corresponding to the portion that has been printed by the printing unit 35 is discarded from the processing buffer 33 (fifth processing buffer 335).

1−2.印刷シーケンス
図1に示す印刷システムにおいては、通信端末1からプリンター3に対応付けられた電子メールアドレス宛の電子メールが添付ファイルとともに送信されたとき、プリンター3において添付ファイルの印刷が即座に実行されることが望まれる。また、プリンター3が印刷要求を即時に取得するためにサーバー2をHTTPに基づいたメッセージを使ってポーリングすることはサーバー2の負荷とネットワークトラフィックの観点から望ましくない。そこで、プリンター3はXMPPに基づいた印刷ジョブ有り通知をサーバー2から受信する。XMPPは、双方向にメッセージを送信できる所謂プッシュ型のプロトコルであるため、プリンター3によるサーバー2のポーリングは不要となる。プリンター3の電源がオン状態のとき、通信エラーやその他のエラーが特に発生していなければ、サーバー2とプリンター3とは、XMPP接続が常時確立された状態である。
1-2. Printing Sequence In the printing system shown in FIG. 1, when an e-mail addressed to an e-mail address associated with the printer 3 is transmitted from the communication terminal 1 together with the attached file, the attached file is immediately printed in the printer 3. It is hoped that In addition, it is not desirable from the viewpoint of the load on the server 2 and the network traffic that the printer 3 polls the server 2 using a message based on HTTP in order to immediately obtain a print request. Therefore, the printer 3 receives from the server 2 a print job presence notification based on XMPP. XMPP is a so-called push-type protocol that can send a message in both directions, so that polling of the server 2 by the printer 3 is not necessary. If no communication error or other error has occurred when the printer 3 is turned on, the server 2 and the printer 3 are in a state where the XMPP connection is always established.

図3は、本実施形態における印刷シーケンスのシーケンスチャートであって、さらに詳細には、一つの印刷ジョブに含まれる印刷データをプリンター3が全て取得して処理バッファー33に転送する前にプリンター3にエラーが発生する場合のシーケンスチャートである。なお、図3のシーケンスチャートでは、発明の要部を明確にするため、セッションの確立や切断のシーケンスの詳細や、各通信に応答するACKパケットやFINパケット等の記載を発明に関連する部分を除いて省略している。   FIG. 3 is a sequence chart of the print sequence in the present embodiment. More specifically, the print data included in one print job is acquired by the printer 3 and transferred to the processing buffer 33 before being transferred to the processing buffer 33. It is a sequence chart when an error occurs. In the sequence chart of FIG. 3, in order to clarify the main part of the invention, the details of the session establishment and disconnection sequence, the description of the ACK packet and FIN packet responding to each communication, etc. are related to the invention. It is omitted except.

はじめに、プリンター3に対応付けられた電子メールアドレス宛に通信端末1から送信された電子メールをサーバー2が受信する(S100)と、電子メールに基づいて添付ファイルなどの印刷対象をレンダリングして印刷データを生成し、XMPPを用いてサーバー2は印刷ジョブ有り通知をプリンター3に送信する(S105)。通信部34はサーバー2からXMPPで送信された印刷ジョブ有り通知を受信すると、サーバー2とHTTPセッションを確立し(S110)、HTTPのgetリクエストでコンテンツ情報の送信要求をサーバー2に送信する(S115)。プリンター3から送信されたコンテンツ情報送信要求を受信したサーバー2は、印刷ジョブのコンテンツ情報をプリンター3に送信する(S120)。ここでコンテンツ情報には、印刷データのダウンロード先URIや、印刷データのドキュメントフォーマット等の印刷ジョブに含まれる印刷データに関する情報が含まれている。コンテンツ情報は通信部34を経て受信バッファー32に記憶される。コントローラー31は受信バッファー32に記憶されているデータを解析しコンテンツ情報を取得する。コンテンツ情報取得後はコントローラー31はコンテンツ情報を受信バッファー32から破棄する。   First, when the server 2 receives an e-mail transmitted from the communication terminal 1 to an e-mail address associated with the printer 3 (S100), a print target such as an attached file is rendered and printed based on the e-mail. Data is generated, and the server 2 transmits a print job notification to the printer 3 using XMPP (S105). Upon receiving the print job presence notification transmitted from the server 2 by XMPP, the communication unit 34 establishes an HTTP session with the server 2 (S110), and transmits a content information transmission request to the server 2 with an HTTP get request (S115). ). Upon receiving the content information transmission request transmitted from the printer 3, the server 2 transmits the content information of the print job to the printer 3 (S120). Here, the content information includes information relating to print data included in the print job, such as a print data download destination URI and a print data document format. The content information is stored in the reception buffer 32 via the communication unit 34. The controller 31 analyzes the data stored in the reception buffer 32 and acquires content information. After acquiring the content information, the controller 31 discards the content information from the reception buffer 32.

続いてコントローラー31は、HTTPのgetリクエストで印刷データの送信要求をサーバー2に送信する(S125)。印刷データのダウンロード先URIはS120でプリンター3が取得したコンテンツ情報に含まれている。なおS125においては、S105で通知された印刷ジョブに含まれる印刷データ全体を対象とした送信要求を行う。サーバー2はプリンター3からの印刷データ送信要求を受けて、HTTPを用いて印刷データを先頭から所定サイズずつプリンター3に送信する(S130)。S130で送信される印刷データは、S125のgetリクエストに対応する応答メッセージの中に含まれた形でプリンター3に送信される。応答メッセージに含まれるHTTPヘッダーには、プリンター3に送信する印刷データ全体のサイズ(サイズM)を示す情報が含まれている(Content-Lengthヘッダー)。   Subsequently, the controller 31 transmits a print data transmission request to the server 2 using an HTTP get request (S125). The print data download destination URI is included in the content information acquired by the printer 3 in S120. In S125, a transmission request is made for the entire print data included in the print job notified in S105. The server 2 receives the print data transmission request from the printer 3, and transmits the print data to the printer 3 by a predetermined size from the top using HTTP (S130). The print data transmitted in S130 is transmitted to the printer 3 in a form included in the response message corresponding to the get request in S125. The HTTP header included in the response message includes information indicating the size (size M) of the entire print data transmitted to the printer 3 (Content-Length header).

サーバー2から送信された印刷データは通信部34や通信プログラムを実行するコントローラー31により、受信バッファー32に格納される。前述の印刷データ全体のサイズMも受信バッファー32に格納される。コントローラー31は、受信バッファー32内のデータを解析してサイズMを取得して記憶する。このサイズMの記憶は、コントローラー31により印刷データの印刷完了に応じて消去される。続いてコントローラー31は、受信バッファー32に格納されている印刷データを処理バッファー33(第一の処理バッファー331)に空きがあれば処理バッファー33(第一の処理バッファー331)に転送するとともに、転送した累積の印刷データのデータ量(サイズn)を計測する。また処理バッファー33に転送済みの印刷データは受信バッファー32から破棄される。データ量(サイズn)は1印刷ジョブごとに計測される(一つの印刷ジョブの印刷が終了するとサイズnの値はリセットされる)。コントローラー31は、処理バッファー33に転送した印刷データを対象に印刷前処理を施す。そして、印刷前処理を施されたデータに基づいてコントローラー31は印刷部35を制御して印刷を実行する。印刷が完了した部分に相当する処理バッファー33内のデータは破棄される。   The print data transmitted from the server 2 is stored in the reception buffer 32 by the communication unit 34 and the controller 31 that executes the communication program. The size M of the entire print data is also stored in the reception buffer 32. The controller 31 analyzes the data in the reception buffer 32, acquires the size M, and stores it. The storage of the size M is erased by the controller 31 when the print data is printed. Subsequently, the controller 31 transfers the print data stored in the reception buffer 32 to the processing buffer 33 (first processing buffer 331) if there is a vacancy in the processing buffer 33 (first processing buffer 331). The amount of accumulated print data (size n) is measured. The print data that has been transferred to the processing buffer 33 is discarded from the reception buffer 32. The data amount (size n) is measured for each print job (the value of size n is reset when printing of one print job is completed). The controller 31 performs pre-printing processing on the print data transferred to the processing buffer 33. Then, the controller 31 controls the printing unit 35 based on the data subjected to the pre-printing process to execute printing. Data in the processing buffer 33 corresponding to the portion where printing has been completed is discarded.

コントローラー31が、印刷データの受信、印刷データの受信バッファー32から処理バッファー33への転送、転送されたデータ量の計測、印刷前処理、印刷実行の工程を繰り返している途中で、プリンター3においてエラーが発生した場合のシーケンスについて以降で説明する。この場合のエラーは例えば、印刷用紙切れやインク切れなど比較的経度でユーザーがエラーを解消後に印刷を続きから再開しても問題が生じない種類のエラーが想定される。プリンター3におけるエラーが発生すると、プリンター3では印刷を続行できないため、コントローラー31は印刷動作を中断する。また、コントローラー31は処理バッファー33内のデータを印刷再開に備えて破棄せずに残す。処理バッファー33内に空きが生じないため、コントローラー31は受信バッファー32内の印刷データを処理バッファー33に転送しない。そのため受信バッファー32は、サーバー2から続々と受信した印刷データであってまだ印刷前処理の処理対象でない印刷データを含むデータで満たされ、後続の印刷データを受信できない状態となる。   While the controller 31 is receiving print data, transferring print data from the reception buffer 32 to the processing buffer 33, measuring the amount of transferred data, pre-printing processing, and printing execution, an error occurs in the printer 3. The sequence in the case of occurrence of this will be described below. The error in this case is, for example, an error of a type that does not cause a problem even if printing is resumed after the user has solved the error at a relatively long longitude, such as out of printing paper or ink. When an error occurs in the printer 3, the controller 3 interrupts the printing operation because the printer 3 cannot continue printing. Further, the controller 31 leaves the data in the processing buffer 33 without discarding it in preparation for resuming printing. Since no space is generated in the processing buffer 33, the controller 31 does not transfer the print data in the reception buffer 32 to the processing buffer 33. Therefore, the reception buffer 32 is filled with data including print data that has been received one after another from the server 2 and that has not yet been subjected to pre-print processing, and the subsequent print data cannot be received.

この状態をサーバー2に通知するため、コントローラー31は、S130のサーバー2からの印刷データの送信に対応するACKパケットにおいてウィンドウサイズを「0」と設定してサーバー2に送信する(S135)。この状態をゼロウィンドウ状態と呼ぶ。サーバー2は、所定の期間(例えば5分間)、ゼロウィンドウ状態が継続していると判断すると、HTTPセッションを切断するためのデータを送信する(S140)。具体的には例えば、サーバー2はRST(Reset)パケットをプリンター3に送信する。この結果、プリンター3とサーバー2との間のセッションは切断される。セッションが切断されると、コントローラー31は受信バッファー32に格納されていた印刷データを破棄する。   In order to notify the server 2 of this state, the controller 31 sets the window size to “0” in the ACK packet corresponding to the transmission of the print data from the server 2 in S130 and transmits it to the server 2 (S135). This state is called a zero window state. When the server 2 determines that the zero window state continues for a predetermined period (for example, 5 minutes), the server 2 transmits data for disconnecting the HTTP session (S140). Specifically, for example, the server 2 transmits an RST (Reset) packet to the printer 3. As a result, the session between the printer 3 and the server 2 is disconnected. When the session is disconnected, the controller 31 discards the print data stored in the reception buffer 32.

エラーが解消され印刷の再開が可能となる時期は未定であり、当該時期までHTTPセッションを維持し続けることは、サーバー2に負荷を与える。具体的には、セッションごとに確保しておくメモリ領域を長期間解放できない状態となり、その結果、他の通信端末から送信された電子メールを受信してから印刷を実行するまでの時間が遅延する。この遅延を防止するために、サーバー2とプリンター3との間のセッションが一旦切断されるのである。   The time when the error is resolved and the printing can be resumed is undecided, and maintaining the HTTP session until this time places a load on the server 2. Specifically, the memory area reserved for each session cannot be released for a long time, and as a result, the time from receipt of an e-mail sent from another communication terminal to execution of printing is delayed. . In order to prevent this delay, the session between the server 2 and the printer 3 is once disconnected.

コントローラー31がプリンター3におけるエラーが解消されたことを検出すると、コントローラー31は、処理バッファー33に蓄えられている印刷データを用いて印刷前処理や印刷を再開する。また、コントローラー31はエラーの解消の検出に応じて、再びサーバー2とのHTTPセッションを確立し(S145)、S125と同様にサーバー2に印刷ジョブに含まれる印刷データ全体の送信要求を送信する(S150)。プリンター3からの印刷データの送信要求に応じてサーバー2は印刷データを再び先頭から順にプリンター3に送信する(S155)。プリンター3のコントローラー31は、サーバー2から送信された印刷データをS130と同様に受信バッファー32に格納する。   When the controller 31 detects that the error in the printer 3 has been eliminated, the controller 31 resumes pre-printing processing and printing using the print data stored in the processing buffer 33. Further, the controller 31 establishes an HTTP session with the server 2 again in response to the detection of error cancellation (S145), and transmits a transmission request for the entire print data included in the print job to the server 2 as in S125 ( S150). In response to the print data transmission request from the printer 3, the server 2 again transmits the print data to the printer 3 in order from the top (S155). The controller 31 of the printer 3 stores the print data transmitted from the server 2 in the reception buffer 32 as in S130.

受信バッファー32に格納されるのは、S105で通知された印刷ジョブが示す印刷データの先頭部分からであるので、コントローラー31は、受信バッファー32内の印刷データであって、印刷ジョブで示される印刷データの先頭から、計測しておいたデータ量(サイズn)分、すなわち既に処理バッファー33に転送された分の印刷データを処理バッファー33には転送せずに破棄する。そしてコントローラー31は、まだ印刷前処理の処理対象として処理バッファー33に転送されていない部分の印刷データを受信すると受信バッファー32からは破棄せずに、処理バッファー33に空きが出来た後に処理バッファー33に転送して、印刷前処理の対象とする。   Since the data stored in the reception buffer 32 is from the beginning of the print data indicated by the print job notified in S105, the controller 31 prints the print data in the reception buffer 32 and is indicated by the print job. The print data corresponding to the measured data amount (size n) from the beginning of the data, that is, the print data already transferred to the processing buffer 33 is discarded without being transferred to the processing buffer 33. When the controller 31 receives a portion of the print data that has not yet been transferred to the processing buffer 33 as a processing target for pre-printing processing, the controller 31 does not discard it from the reception buffer 32, but after the processing buffer 33 is empty, the processing buffer 33. To be subject to pre-printing processing.

図4は、一つの印刷ジョブに含まれる印刷データを示す模式図であり、プリンター3におけるエラーが発生した時点の印刷データの状態の一例を説明するための模式図である。この例では、印刷データをその先頭から4つの部分に分け、先頭に近い順からd1、d2、d3、d4と呼ぶ。印刷データはその先頭から順にサーバー2から送信され、順に受信バッファー32に記憶され、処理バッファー33に転送されて印刷前処理を施され、印刷され、破棄される。エラーが発生したとき、印刷データのうち先頭から所定サイズ分の印刷データd1は既に印刷済みで処理バッファー33から破棄されているデータであり、印刷データd1に後続する印刷データd2は処理バッファー33に転送され印刷前処理中のデータおよび印刷中のデータであり、印刷データd2に後続する印刷データd3は受信バッファー32に格納されている状態でまだ処理バッファー33には転送されていない状態のデータであるとする。印刷データd3に後続する印刷データd4についてはプリンター3にまだ受信されていないデータであるとする。   FIG. 4 is a schematic diagram illustrating print data included in one print job, and is a schematic diagram for explaining an example of a state of print data when an error occurs in the printer 3. In this example, the print data is divided into four parts from the head, and are called d1, d2, d3, and d4 in order from the head. The print data is transmitted from the server 2 in order from the top, stored in the reception buffer 32 in order, transferred to the processing buffer 33, subjected to pre-printing processing, printed, and discarded. When an error occurs, the print data d1 of a predetermined size from the top of the print data is already printed and discarded from the processing buffer 33, and the print data d2 subsequent to the print data d1 is stored in the processing buffer 33. Data that has been transferred and is undergoing pre-printing processing and data that is being printed. The print data d3 subsequent to the print data d2 is stored in the reception buffer 32 but not yet transferred to the processing buffer 33. Suppose there is. It is assumed that the print data d4 subsequent to the print data d3 is data that has not been received by the printer 3 yet.

S155でサーバー2から印刷データが先頭から送信されると、コントローラー31は、先頭からサイズn分の印刷データを受信バッファー32から破棄して処理バッファー33には転送しない。印刷データd3以降の印刷データを受信バッファー32に受信してからは、印刷データd3以降印刷データの末尾までの印刷データを順に処理バッファー33に転送する。処理バッファー33に転送された印刷データに対して、コントローラー31は上述と同様に印刷前処理を施して印刷を実行する。すなわち、エラーが解消した後、印刷データd2はそのまま印刷前処理や印刷が再開され、印刷が終了した後に処理バッファー33から破棄される。また、印刷データd3および印刷データd4は、サーバー2からプリンター3に送信され、印刷前処理と印刷とが行われる。
一つの印刷ジョブに対応する印刷が完了すると、印刷ジョブステータスとして印刷終了をサーバー2に通知し(S160)、他にプリンター3に対する印刷ジョブが存在しなければサーバー2はプリンター3とのセッションを切断する(S165)。なお、印刷を再開した後に再びエラーが生じた場合には、S135と同様にサーバー2からの印刷データの送信に対応するACKパケットにおいてウィンドウサイズを「0」と設定してサーバー2に送信し、S140以降の動作が繰り返される。
When the print data is transmitted from the head from the server 2 in S155, the controller 31 discards the print data of size n from the head from the reception buffer 32 and does not transfer it to the processing buffer 33. After receiving the print data after the print data d3 to the reception buffer 32, the print data from the print data d3 to the end of the print data is sequentially transferred to the processing buffer 33. The controller 31 performs pre-printing processing on the print data transferred to the processing buffer 33 in the same manner as described above, and executes printing. That is, after the error is resolved, the print data d2 is directly resumed in the pre-printing process or printing, and is discarded from the processing buffer 33 after the printing is completed. Further, the print data d3 and the print data d4 are transmitted from the server 2 to the printer 3, and pre-printing processing and printing are performed.
When printing corresponding to one print job is completed, the server 2 is notified of the end of printing as a print job status (S160). If there is no other print job for the printer 3, the server 2 disconnects the session with the printer 3. (S165). If an error occurs again after resuming printing, the window size is set to “0” in the ACK packet corresponding to the transmission of print data from the server 2 and transmitted to the server 2 as in S135. The operations after S140 are repeated.

以上説明したように、本実施形態によると、印刷データの処理バッファー33への転送が終了していない状態でサーバー2とのセッションが切断された場合、セッション再接続後に、受信した印刷データの中から既に処理バッファー33に転送され印刷前処理の処理対象となった部分(あるいは既に印刷済みで破棄された部分)の印刷データを再度処理バッファー33に転送することなく、処理バッファー33にまだ転送しておらず印刷前処理の処理対象にまだなっていない印刷データを抽出して処理バッファー33に転送し印刷前処理の対象とする。そのため、既に印刷済みの部分や印刷前処理中の部分の印刷データに対して再度印刷前処理を行って印刷を実行することを防止できる。すなわち、印刷中断時の続きから印刷を再開することができるため、インクや印刷媒体などの消耗品が無用に消費されることを防止できる。また、続きから印刷再開するため、再度最初から印刷する場合と比較して、印刷完了までに要する時間も短縮することができる。   As described above, according to the present embodiment, when the session with the server 2 is disconnected in a state where the transfer of the print data to the processing buffer 33 has not been completed, The print data of the part that has already been transferred to the processing buffer 33 and has become the processing target of the pre-printing process (or the part that has already been printed and discarded) is still transferred to the processing buffer 33 without being transferred to the processing buffer 33 again. The print data that has not been processed yet and is not yet processed is extracted and transferred to the processing buffer 33 to be processed. Therefore, it is possible to prevent printing from being executed again by performing pre-print processing on the print data of the already printed portion or the portion of the print pre-processing portion. That is, since printing can be resumed from the continuation when printing is interrupted, consumables such as ink and printing media can be prevented from being consumed unnecessarily. In addition, since printing is resumed from the continuation, the time required to complete printing can be shortened as compared with the case of printing again from the beginning.

2.他の実施形態
尚、本発明の技術的範囲は、上述した実施例に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。例えば、上記実施形態では、エラー解消後に再度印刷データの送信要求を行う場合に印刷ジョブの印刷データ全体を送信要求の対象とし、印刷ジョブの印刷データ全体をサーバー2から受信したうえで、印刷前処理の対象にまだなっていない部分の印刷データを抽出して処理バッファー33に転送し印刷前処理の処理対象となるようにしていた。しかしエラー解消後に印刷データの送信要求を行う際に、印刷前処理の対象にまだなっていない部分の印刷データを対象に送信要求してもよい。すなわち、図3のS150における印刷データの送信要求(エラー解消後に行う印刷データの送信要求)では、コントローラー31は、エラーが発生した時点の印刷データのダウンロード先URIと、処理バッファー33に転送済みのデータ量(サイズn)の値に基づいて既に印刷前処理の処理対象となった印刷データを除く残りの印刷データの部分を示す範囲と、を指定して送信要求を行う。
2. Other Embodiments The technical scope of the present invention is not limited to the above-described embodiments, and it goes without saying that various modifications can be made without departing from the scope of the present invention. For example, in the above embodiment, when a print data transmission request is made again after the error is resolved, the entire print data of the print job is the target of the transmission request, and the entire print job print data is received from the server 2 before being printed. The portion of the print data that has not yet been processed is extracted and transferred to the processing buffer 33 so that it becomes the processing target of the pre-printing process. However, when a print data transmission request is made after the error has been resolved, a transmission request may be made for a portion of print data that has not yet been subjected to pre-print processing. That is, in the print data transmission request in S150 of FIG. 3 (print data transmission request performed after error elimination), the controller 31 has been transferred to the print data download destination URI at the time when the error occurred and the processing buffer 33. Based on the value of the data amount (size n), a transmission request is made by designating a range indicating a portion of the remaining print data excluding print data that has already been subjected to pre-print processing.

図4を用いて説明すると、処理バッファー33に転送済みのデータ量(サイズn)の値に基づいて既に印刷前処理の対象となった印刷データを除く残りの印刷データの部分を範囲指定して、送信要求を行う。サーバー2から受信して受信バッファー32に記憶されている印刷データd3はセッションの切断にともなって破棄されるので、受信バッファー32に格納されている印刷データd3も再取得の対象とする。具体的にはエラー解消後の印刷データの送信要求時に、コントローラー31は、印刷データ全体のサイズMとサイズnとを比較しサイズM>サイズn>0であれば、印刷データの先頭からサイズn分のデータに後続する位置から、印刷データの末尾(サイズMの位置)までの(サイズM−サイズn)分の印刷データを範囲指定する。範囲指定には、HTTPのrangeヘッダーを用いる。   Referring to FIG. 4, the range of the remaining print data portion excluding print data that has already been subjected to pre-print processing is specified based on the value of the data amount (size n) that has been transferred to the processing buffer 33. Make a transmission request. Since the print data d3 received from the server 2 and stored in the reception buffer 32 is discarded when the session is disconnected, the print data d3 stored in the reception buffer 32 is also subject to reacquisition. Specifically, at the time of requesting transmission of print data after the error is resolved, the controller 31 compares the size M and size n of the entire print data, and if size M> size n> 0, the size n from the beginning of the print data. A range of print data for (size M−size n) from the position following the minute data to the end of the print data (size M position) is specified. An HTTP range header is used for range specification.

ところで、サーバー2がrangeヘッダーによる範囲指定に対応していない場合もありえる。その場合、プリンター3による範囲指定をした印刷データ送信要求に対して、サーバー2は範囲指定に対応していないことを示す情報をプリンター3にHTTPステータスコードとして通知した上で印刷データ全体を送信する。ステータスコードとしては、範囲指定に応じた部分の印刷データを送信する場合は"206"、範囲指定に対応せずに印刷データ全体を送信する場合は"200"がサーバー2から通知される。コントローラー31は、サーバー2から送信された印刷データを上述と同様に受信バッファー32に格納する。コントローラー31範囲指定した送信要求に対してサーバー2から通知されたステータスコードについて判別を行い、ステータスコードが範囲指定に対応せずに印刷データ全体を送信することを示している場合、すなわちステータスコードが"200"である場合、サーバー2から送信されるのは印刷ジョブに含まれる印刷データ全体であるので、コントローラー31は、第一実施形態と同様に受信バッファー32に記憶されている印刷データの先頭から、計測しておいたデータ量分(既に処理バッファー33に転送された分)の印刷データを処理バッファー33には転送せずに破棄する。そしてコントローラー31は、まだ印刷前処理の処理対象として処理バッファー33に転送されていない印刷データを、処理バッファー33に空きが出来た後に転送し、印刷前処理の処理対象とする。一方、範囲指定した送信要求に対してサーバー2から通知されたステータスコードが、指定通りの範囲の印刷データを送信することを示している場合、すなわちステータスコードが"206"である場合、サーバー2から送信されるのは範囲指定通りの部分の印刷データであるので、コントローラー31は受信バッファー32に格納されている当該印刷データを処理バッファー33に空きが出来た後に転送し印刷前処理の処理対象とする。このようにすることで、サーバー2がrangeヘッダーによる範囲指定に対応しているか否かに関わらず、エラー復帰後にエラー発生時の続きから印刷を再開することができる。   By the way, the server 2 may not support range specification by the range header. In this case, in response to a print data transmission request for which the range is specified by the printer 3, the server 2 notifies the printer 3 of information indicating that the range is not supported as an HTTP status code, and then transmits the entire print data. . As the status code, “206” is notified from the server 2 when the print data corresponding to the range designation is transmitted, and “200” is notified when the entire print data is transmitted without corresponding to the range designation. The controller 31 stores the print data transmitted from the server 2 in the reception buffer 32 as described above. When the controller 31 determines the status code notified from the server 2 in response to the transmission request with the range specified, and the status code indicates that the entire print data is transmitted without corresponding to the range specification, that is, the status code is In the case of “200”, since the entire print data included in the print job is transmitted from the server 2, the controller 31 starts the print data stored in the reception buffer 32 as in the first embodiment. Therefore, the print data corresponding to the measured data amount (the amount already transferred to the processing buffer 33) is discarded without being transferred to the processing buffer 33. Then, the controller 31 transfers the print data that has not yet been transferred to the processing buffer 33 as the processing target of the pre-printing process after the processing buffer 33 is empty, and sets it as the processing target of the pre-printing process. On the other hand, if the status code notified from the server 2 in response to the range-specified transmission request indicates that print data in the specified range is to be transmitted, that is, if the status code is “206”, the server 2 Since the print data of the portion specified by the range is transmitted from the controller 31, the controller 31 transfers the print data stored in the reception buffer 32 after the vacant space is created in the processing buffer 33 to be processed in the pre-print processing. And In this way, printing can be resumed from the continuation at the time of error occurrence after error recovery, regardless of whether or not the server 2 supports range specification by the range header.

また、上記実施形態においては、受信バッファー32から処理バッファー33に印刷データを転送する際に転送済み印刷データの累積データ量をカウントする例を説明したが(図2参照)、受信バッファー32に印刷データが格納された時点で「印刷処理部」の処理対象となったとして、受信バッファー32に印刷データを格納した時点で格納済み印刷データの累積データ量をカウントしてもよい。この場合、通信プログラムを実行するコントローラー31と通信部34とが「受信部」に相当し、印刷プログラムを実行するコントローラー31と受信バッファー32と処理バッファー33とが「印刷処理部」に相当する。図5はこの場合の印刷データの状態を説明するための模式図である。図5を参照して説明すると、この場合サイズnはd1とd2とd3を合わせたサイズに相当する。そして、図5に示す状態のときにエラーが発生した場合、再接続後に、範囲指定して印刷データを要求する場合は印刷データd4の部分を指定する。サーバー2から印刷データ全体が送信された場合は、d1〜d3の部分を一旦受信バッファー32に格納した後受信バッファー32から破棄して受信バッファー32にd4の部分を順次格納する。なお、この変形例の場合、S140でセッションが切断されてもコントローラー31は受信バッファー32内の印刷データd3を破棄しない。   In the above-described embodiment, the example in which the accumulated data amount of the transferred print data is counted when the print data is transferred from the reception buffer 32 to the processing buffer 33 has been described (see FIG. 2). Assuming that the print processing unit becomes a processing target when the data is stored, the accumulated data amount of the stored print data may be counted when the print data is stored in the reception buffer 32. In this case, the controller 31 that executes the communication program and the communication unit 34 correspond to the “reception unit”, and the controller 31, the reception buffer 32, and the processing buffer 33 that execute the print program correspond to the “print processing unit”. FIG. 5 is a schematic diagram for explaining the state of the print data in this case. Referring to FIG. 5, in this case, the size n corresponds to the total size of d1, d2, and d3. If an error occurs in the state shown in FIG. 5, the print data d4 portion is designated when print data is requested by specifying a range after reconnection. When the entire print data is transmitted from the server 2, the portions d 1 to d 3 are temporarily stored in the reception buffer 32, then discarded from the reception buffer 32, and the portion d 4 is sequentially stored in the reception buffer 32. In this modification, the controller 31 does not discard the print data d3 in the reception buffer 32 even if the session is disconnected in S140.

また、エラー発生時に処理バッファー33に存在していたデータ(図4や図5の印刷データd2)については、エラー解消前に印刷前処理を完了させて最終段の処理バッファー33である第五の処理バッファー335に記憶させておいてもよい。この場合、エラー解消後にこの印刷データd2に対する印刷前処理を行わずに印刷を行うことができるため、印刷時間の短縮に貢献することができる。なお、エラー発生時に処理バッファー33に存在していたデータ(図4や図5の印刷データd2)に対する印刷前処理や印刷の再開は、サーバー2から後続の印刷データ(図4や図5の印刷データd3)が送られてきてからであってもよい。   For the data (print data d2 in FIGS. 4 and 5) that existed in the processing buffer 33 when the error occurred, the pre-printing process is completed before the error is resolved, and the fifth processing buffer 33 is the final stage processing buffer 33. It may be stored in the processing buffer 335. In this case, since the printing can be performed without performing the pre-printing process for the print data d2 after the error is eliminated, the printing time can be shortened. Note that pre-print processing and resumption of printing for the data (print data d2 in FIGS. 4 and 5) existing in the processing buffer 33 at the time of the error occurs from the server 2 to the subsequent print data (print in FIGS. 4 and 5). It may be after data d3) has been sent.

また、上記実施形態で説明したバッファーの構成(図2)はあくまでも一例であってこれに限定されるものではない。また、上記実施形態で示した印刷前処理の一部または全てをサーバー2が行っても良い。また、サーバー2は未レンダリングの印刷対象をプリンター3に通知し、プリンター3が印刷対象をレンダリングして印刷データを生成し、当該印刷データに対して印刷前処理を行ってもよい。したがってサーバー2から送信される印刷データの形式も上記実施形態で示した例に限定されない。   Further, the configuration of the buffer described in the above embodiment (FIG. 2) is merely an example, and the present invention is not limited to this. Further, the server 2 may perform part or all of the pre-printing process shown in the above embodiment. Alternatively, the server 2 may notify the printer 3 of an unrendered print target, the printer 3 may render the print target to generate print data, and perform pre-printing processing on the print data. Therefore, the format of the print data transmitted from the server 2 is not limited to the example shown in the above embodiment.

なお、第一実施形態においては、コンテンツ情報の送信要求〜受信、および、印刷データの送信要求〜受信は、一続きのHTTPセッションで行われているが、コンテンツ情報の送信要求〜受信(図3のS115〜S120)の後にHTTPセッションを切断し、印刷データの送信要求(S125)の前に新たにHTTPセッションを確立するようにして印刷データの送信要求〜受信を行ってもよい。また、第一実施形態においては、エラー解消後にHTTPセッションを再び確立(S145)した後、印刷データ全体に対する送信要求(S150)を行っているが、HTTPセッションを再確立した後、印刷データ全体に対する送信要求を行う前に、S115〜S120と同様に、再びコンテンツ情報の送信要求〜受信を行っても良い。   In the first embodiment, the content information transmission request to reception and the print data transmission request to reception are performed in a series of HTTP sessions. However, the content information transmission request to reception (FIG. 3). (S115 to S120), the HTTP session may be disconnected, and the print data transmission request to reception may be performed so that the HTTP session is newly established before the print data transmission request (S125). In the first embodiment, after the error is resolved, the HTTP session is re-established (S145) and then the transmission request for the entire print data (S150) is made. However, after the HTTP session is re-established, the entire print data is Before making the transmission request, the content information transmission request to reception may be performed again in the same manner as S115 to S120.

1:通信端末、2:サーバー、3:プリンター、4:インターネット、31:コントローラー、32:受信バッファー、33:処理バッファー、34:通信部、35:印刷部   1: Communication terminal 2: Server 3: Printer 4: Internet 31: Controller 32: Reception buffer 33: Processing buffer 34: Communication unit 35: Printing unit

Claims (5)

サーバーに対して印刷データの送信要求を行う要求部と、
前記送信要求に応じて前記サーバーから送信された前記印刷データを受信する受信部と、
受信した前記印刷データを順次処理対象とし、前記処理対象となった前記印刷データに基づいて印刷を行う印刷処理部と、
受信した前記印刷データのうち前記印刷処理部による前記処理対象となった前記印刷データのデータ量を計測する計測部と、
を備え、
前記印刷データの全てが前記処理対象となる前に前記サーバーとのセッションが切断されその後再接続された場合に、前記要求部が前記印刷データの送信要求を再度行ったことに応じて前記受信部が受信した前記印刷データの中から、前記印刷処理部は、前記計測部が計測した前記データ量に基づいてまだ前記印刷対象になっていない部分を抽出して前記印刷対象とする、
印刷装置。
A request unit for requesting transmission of print data to the server;
A receiving unit that receives the print data transmitted from the server in response to the transmission request;
A print processing unit that sequentially processes the received print data, and performs printing based on the print data that is the processing target;
A measurement unit that measures a data amount of the print data that is the processing target by the print processing unit among the received print data;
With
The receiving unit responds to a request for the transmission of the print data again when the session with the server is disconnected and then reconnected before the print data is all processed. From the received print data, the print processing unit extracts the portion that is not yet the print target based on the data amount measured by the measurement unit, and sets it as the print target.
Printing device.
前記要求部は、前記セッションの再接続後に、前記計測部が計測した前記データ量に基づいて前記印刷データのうちまだ前記処理対象になっていない部分の送信要求を行い、
前記印刷処理部は、前記セッションの再接続後に受信した前記印刷データがまだ前記処理対象になっていない部分である場合には、当該印刷データを前記処理対象とし、前記セッションの再接続後に受信した前記印刷データが既に前記処理対象となった部分とまだ前記処理対象になっていない部分とを含む場合には、受信した前記印刷データから前記計測部が計測した前記データ量に基づいてまだ前記処理対象になっていない部分を抽出して前記処理対象とする、
請求項1に記載の印刷装置。
The request unit, after reconnection of the session, performs a transmission request for a portion of the print data that has not yet been processed based on the data amount measured by the measurement unit,
When the print data received after reconnection of the session is a part that has not yet been processed, the print processing unit sets the print data as the processing target and received after reconnection of the session When the print data includes a part that has already been processed and a part that has not yet been processed, the process is still performed based on the amount of data measured by the measurement unit from the received print data. Extract the part that is not the target to be the processing target,
The printing apparatus according to claim 1.
前記要求部は、まだ前記処理対象になっていない部分の送信要求を、HTTPのrangeヘッダーを用いて範囲指定することで行う、
請求項2に記載の印刷装置。
The request unit performs a transmission request of a part not yet processed by specifying a range using an HTTP range header.
The printing apparatus according to claim 2.
前記受信部は、受信した前記印刷データを第一記憶部に記憶させ、
前記印刷処理部は、第二記憶部に記憶されている前記印刷データを前記処理対象として印刷前処理を行い、前記印刷前処理後のデータに基づいて印刷を行い、
前記計測部は、前記第一記憶部から前記第二記憶部に転送された前記印刷データの前記データ量を計測する、
請求項1〜請求項3のいずれかに記載の印刷装置。
The receiving unit stores the received print data in a first storage unit,
The print processing unit performs pre-printing processing on the print data stored in the second storage unit as the processing target, performs printing based on the data after the pre-printing processing,
The measurement unit measures the data amount of the print data transferred from the first storage unit to the second storage unit;
The printing apparatus in any one of Claims 1-3.
サーバーに対して印刷データの送信要求を行う要求工程と、
前記送信要求に応じて前記サーバーから送信された前記印刷データを受信する受信工程と、
受信した前記印刷データを順次処理対象とし、前記処理対象となった前記印刷データに基づいて印刷を行う印刷処理工程と、
受信した前記印刷データのうち前記処理対象となった前記印刷データのデータ量を計測する計測工程と、
を含み、
前記印刷データの全てが前記処理対象となる前に前記サーバーとのセッションが切断されその後再接続された場合に、前記要求工程にて前記印刷データの送信要求を再度行ったことに応じて前記受信工程にて受信した前記印刷データの中から、前記印刷処理工程においては、前記計測工程にて計測した前記データ量に基づいてまだ前記印刷対象になっていない部分を抽出して前記印刷対象とする、
印刷方法。
A request process for requesting the server to send print data;
A reception step of receiving the print data transmitted from the server in response to the transmission request;
A print processing step for sequentially processing the received print data, and performing printing based on the print data that is the processing target;
A measuring step of measuring a data amount of the print data to be processed among the received print data;
Including
If the session with the server is disconnected before all the print data becomes the processing target and then reconnected, the reception is performed in response to the request to send the print data again in the request step. From the print data received in the step, in the print processing step, a portion that is not yet the print target is extracted based on the data amount measured in the measurement step and is set as the print target. ,
Printing method.
JP2011188626A 2011-08-31 2011-08-31 Printing apparatus and printing method Active JP5899713B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2011188626A JP5899713B2 (en) 2011-08-31 2011-08-31 Printing apparatus and printing method
CN201210299152.7A CN102970320B (en) 2011-08-31 2012-08-21 Processing means, processing method
US13/597,842 US8705074B2 (en) 2011-08-31 2012-08-29 Processing device and processing method
EP12182138.3A EP2565777B1 (en) 2011-08-31 2012-08-29 Processing device and processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011188626A JP5899713B2 (en) 2011-08-31 2011-08-31 Printing apparatus and printing method

Publications (2)

Publication Number Publication Date
JP2013049204A true JP2013049204A (en) 2013-03-14
JP5899713B2 JP5899713B2 (en) 2016-04-06

Family

ID=48011693

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011188626A Active JP5899713B2 (en) 2011-08-31 2011-08-31 Printing apparatus and printing method

Country Status (1)

Country Link
JP (1) JP5899713B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016043480A (en) * 2014-08-19 2016-04-04 株式会社沖データ Image forming device and image forming system
JP2016076127A (en) * 2014-10-07 2016-05-12 キヤノン株式会社 Information processing device, control method of information processing device, and program
US9906581B2 (en) 2013-12-26 2018-02-27 Canon Kabushiki Kaisha Information processing apparatus, control method, and storage medium
JP2018160737A (en) * 2017-03-22 2018-10-11 富士ゼロックス株式会社 Terminal device, information processing system, and program

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03224778A (en) * 1990-01-31 1991-10-03 Hitachi Ltd Printing apparatus
JPH05233177A (en) * 1992-02-24 1993-09-10 Fujitsu Ltd Printing abnormality recovery processing system
JPH08171465A (en) * 1994-12-16 1996-07-02 Canon Inc Information processor, printer, printer system and time limited printing processing method for the printer system
JPH096550A (en) * 1995-06-22 1997-01-10 Canon Inc Printer controller and printer control method
JPH09231034A (en) * 1996-02-28 1997-09-05 Canon Inc Printer driver and its data transfer method
JPH10177464A (en) * 1996-10-18 1998-06-30 Fuji Xerox Co Ltd Printing controller
JPH10214163A (en) * 1997-01-30 1998-08-11 Seiko Epson Corp Network-accessible printing device, and method therefor
JPH11235858A (en) * 1998-02-23 1999-08-31 Pfu Ltd Printer system
JP2001001580A (en) * 1999-06-23 2001-01-09 Matsushita Graphic Communication Systems Inc Imaging apparatus
JP2003288195A (en) * 2002-03-27 2003-10-10 Brother Ind Ltd Printer, network server, and communication method
JP2005204170A (en) * 2004-01-16 2005-07-28 Ntt Docomo Inc Data receiving apparatus and method
JP2006031677A (en) * 2004-06-17 2006-02-02 Ricoh Co Ltd Print control device, printer, print network system, print control method, print control program and recording medium which records print control program
JP2006243884A (en) * 2005-03-01 2006-09-14 Kyocera Mita Corp Print job management device, print job management program, image forming device and image forming program
JPWO2007074520A1 (en) * 2005-12-27 2009-06-04 三菱電機株式会社 Distribution device and playback device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03224778A (en) * 1990-01-31 1991-10-03 Hitachi Ltd Printing apparatus
JPH05233177A (en) * 1992-02-24 1993-09-10 Fujitsu Ltd Printing abnormality recovery processing system
JPH08171465A (en) * 1994-12-16 1996-07-02 Canon Inc Information processor, printer, printer system and time limited printing processing method for the printer system
JPH096550A (en) * 1995-06-22 1997-01-10 Canon Inc Printer controller and printer control method
JPH09231034A (en) * 1996-02-28 1997-09-05 Canon Inc Printer driver and its data transfer method
JPH10177464A (en) * 1996-10-18 1998-06-30 Fuji Xerox Co Ltd Printing controller
JPH10214163A (en) * 1997-01-30 1998-08-11 Seiko Epson Corp Network-accessible printing device, and method therefor
JPH11235858A (en) * 1998-02-23 1999-08-31 Pfu Ltd Printer system
JP2001001580A (en) * 1999-06-23 2001-01-09 Matsushita Graphic Communication Systems Inc Imaging apparatus
JP2003288195A (en) * 2002-03-27 2003-10-10 Brother Ind Ltd Printer, network server, and communication method
JP2005204170A (en) * 2004-01-16 2005-07-28 Ntt Docomo Inc Data receiving apparatus and method
JP2006031677A (en) * 2004-06-17 2006-02-02 Ricoh Co Ltd Print control device, printer, print network system, print control method, print control program and recording medium which records print control program
JP2006243884A (en) * 2005-03-01 2006-09-14 Kyocera Mita Corp Print job management device, print job management program, image forming device and image forming program
JPWO2007074520A1 (en) * 2005-12-27 2009-06-04 三菱電機株式会社 Distribution device and playback device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9906581B2 (en) 2013-12-26 2018-02-27 Canon Kabushiki Kaisha Information processing apparatus, control method, and storage medium
JP2016043480A (en) * 2014-08-19 2016-04-04 株式会社沖データ Image forming device and image forming system
JP2016076127A (en) * 2014-10-07 2016-05-12 キヤノン株式会社 Information processing device, control method of information processing device, and program
JP2018160737A (en) * 2017-03-22 2018-10-11 富士ゼロックス株式会社 Terminal device, information processing system, and program

Also Published As

Publication number Publication date
JP5899713B2 (en) 2016-04-06

Similar Documents

Publication Publication Date Title
EP2565777B1 (en) Processing device and processing method
US8248645B2 (en) Printing system, printing device, host apparatus, and computer program product
JP5810761B2 (en) Process control server and process control method
US9563389B2 (en) Image processing system, gateway apparatus, server apparatus, method of controlling gateway apparatus, method of controlling server apparatus, program for controlling gateway apparatus, and program for controlling server apparatus wherein the job includes an operation related to the job
US20110194146A1 (en) Print job management apparatus, print job management method, and image forming apparatus
JP6044597B2 (en) Image processing system, relay server, and program
US9542131B2 (en) Image forming apparatus for retrieving print data using an address of the stored print data
JP5899713B2 (en) Printing apparatus and printing method
JP2013061836A (en) Server, data processor, data processing method
JP5899712B2 (en) Printing apparatus and printing method
US9729656B2 (en) Information processing apparatus, information processing method, and storage medium storing program
JP6570303B2 (en) Processing apparatus, processing method, and program
JP2013059931A (en) Data processing device, server, and data processing method
JP4622419B2 (en) Printing apparatus and control method thereof
US9606756B2 (en) Printing apparatus and control method
US20140082148A1 (en) Server, system, and method for transferring request
US9798963B2 (en) Image forming system that reduces load for processing regarding correction of print position displacement, and method for correcting print position displacement
JP2005074928A (en) Data processing system, data processor, and data receiving program
JP2009053841A (en) Image forming system and image forming apparatus
JP2008085778A (en) Information communication system, receiving device, transmitting device, reception control program and transmission control program
US10469705B2 (en) Management device, communication system, and recording medium
JP6079845B2 (en) System and processing terminal
JP4655868B2 (en) First data receiving / transmitting device, receiving device, second data receiving / transmitting device, data receiving / transmitting system, and data receiving / transmitting method
JP2007128338A (en) Monitor of device connected to network
JP4665705B2 (en) Acquiring credit for data communication in network printers

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140711

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20150107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150512

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150519

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150715

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151215

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160222

R150 Certificate of patent or registration of utility model

Ref document number: 5899713

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150