JP5817545B2 - Print trial device, print trial program, print trial method, print control server - Google Patents

Print trial device, print trial program, print trial method, print control server Download PDF

Info

Publication number
JP5817545B2
JP5817545B2 JP2012007820A JP2012007820A JP5817545B2 JP 5817545 B2 JP5817545 B2 JP 5817545B2 JP 2012007820 A JP2012007820 A JP 2012007820A JP 2012007820 A JP2012007820 A JP 2012007820A JP 5817545 B2 JP5817545 B2 JP 5817545B2
Authority
JP
Japan
Prior art keywords
print
control server
printer
print control
trial
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
Application number
JP2012007820A
Other languages
Japanese (ja)
Other versions
JP2013149004A (en
Inventor
英嗣 小尾
英嗣 小尾
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 JP2012007820A priority Critical patent/JP5817545B2/en
Publication of JP2013149004A publication Critical patent/JP2013149004A/en
Application granted granted Critical
Publication of JP5817545B2 publication Critical patent/JP5817545B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Description

本発明は、プリンターに対応付けられた電子メールを送信することによって電子メールの本文または添付ファイルを印刷できるクラウドコンピューティングシステムを特定の条件下で利用可能であるかを試行する技術に関する。   The present invention relates to a technique for trying to use a cloud computing system capable of printing a body or attached file of an e-mail by sending an e-mail associated with a printer under specific conditions.

従来、電子メールを受信し当該電子メールの本文や添付ファイルを特定のプリンターに印刷させる機能を備えた印刷制御システムが知られている(例えば特許文献1)。この印刷制御システムは、特定の電子メールを受信すると電子メールの本文や添付ファイルに基づいて特定のプリンターに対応した印刷データを生成してプリンターに送信する。したがって印刷制御システムの利用者は、PC(Personal Computer)、スマートフォン等のクライアント毎にプリンタードライバーがインストールされていない場合であっても電子メールによってプリンターを利用することが可能になる。   2. Description of the Related Art Conventionally, a print control system having a function of receiving an e-mail and printing a text or attached file of the e-mail on a specific printer is known (for example, Patent Document 1). When the print control system receives a specific electronic mail, the print control system generates print data corresponding to the specific printer based on the body of the electronic mail or an attached file, and transmits the print data to the printer. Therefore, the user of the print control system can use the printer by e-mail even when the printer driver is not installed for each client such as a PC (Personal Computer) or a smartphone.

この印刷制御システムにおいては、印刷対象を受信するための電子メールアドレスをプリンターに割り当てることを含むプリンターの登録処理がサーバーにおいてなされると、当該電子メールアドレスを知っている任意のユーザーが当該プリンターを利用可能になる。プリンターを印刷システムに登録するための登録操作は、プリンターに接続されたPCやプリンターに設けられた操作パネルに対して行われる。   In this print control system, when a printer registration process including assigning an e-mail address for receiving a print target to a printer is performed at a server, an arbitrary user who knows the e-mail address can select the printer. Become available. A registration operation for registering the printer in the printing system is performed on a PC connected to the printer or an operation panel provided in the printer.

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

しかし従来、プリンターを購入して上述した登録操作を行えば、任意の通信端末から電子メールを送信してプリンターに印刷を実行させられるか否かをユーザーは容易に判断できないという問題があった。例えば、プリンターがプロキシサーバーを介してインターネットに接続される環境では、プロキシサーバーが印刷制御サーバーとプリンターとの通信を遮断することがある。印刷制御サーバーとプリンターとの通信がプロキシサーバー等によって遮断される環境にプリンターを設置したとしても、印刷制御サーバーを利用することはできない。しかし、印刷制御サーバーとプリンターとの通信が遮断されるかどうかは専門知識がなければ判断することが困難である。   However, conventionally, if a printer is purchased and the registration operation described above is performed, there is a problem that the user cannot easily determine whether or not the printer can execute printing by sending an e-mail from an arbitrary communication terminal. For example, in an environment where the printer is connected to the Internet via a proxy server, the proxy server may block communication between the print control server and the printer. Even if the printer is installed in an environment where communication between the print control server and the printer is blocked by a proxy server or the like, the print control server cannot be used. However, it is difficult to determine whether or not the communication between the print control server and the printer is interrupted without expertise.

本発明は、この問題を解決するために創作されたもので、プリンターに対応付けられた電子メールアドレスに電子メールを送信することによってそのプリンターに印刷を実行させるクラウドコンピューティングシステムを特定の条件下で利用可能であるか否かをユーザーが容易に判断できるようにすることを目的とする。   The present invention was created in order to solve this problem. A cloud computing system that allows a printer to execute printing by sending an email to an email address associated with the printer under specific conditions. It is an object to enable a user to easily determine whether or not it can be used in a network.

(1)上記目的を達成するための印刷試行装置は、登録されたプリンターに対応する識別子を用いて印刷依頼としての電子メールを受信するとともに前記印刷依頼に基づいて前記プリンターに印刷を実行させる印刷制御サーバーを特定の条件下で利用可能であるか試行するための印刷試行装置である。この印刷試行装置は、前記印刷制御サーバーに登録された仮の識別子を取得する識別子取得部と、前記仮の識別子に対応する電子メールアドレスに前記印刷依頼としての電子メールを送信する電子メール送信部と、双方向通信プロトコルに基づいて前記仮の識別子を用いて前記印刷制御サーバーと双方向に通信する仮想プリンターとして仮想化された双方向通信部と、前記印刷制御サーバーと双方向に通信した結果を報知する試行結果報知部と、を備える。   (1) A print trial apparatus for achieving the above object receives an e-mail as a print request using an identifier corresponding to a registered printer, and causes the printer to execute printing based on the print request A print trial device for trying to see if a control server is available under certain conditions. The print trial apparatus includes an identifier acquisition unit that acquires a temporary identifier registered in the print control server, and an email transmission unit that transmits an email as the print request to an email address corresponding to the temporary identifier. And a bidirectional communication unit virtualized as a virtual printer that communicates bidirectionally with the print control server using the temporary identifier based on a bidirectional communication protocol, and a result of bidirectional communication with the print control server And a trial result notifying unit for notifying.

本発明によると、実際に想定される特定の条件下において、プリンターと印刷制御サーバーとが正常に双方向に通信できるかを仮の識別子を用いて試行することができる。ここで、仮の識別子は、印刷制御サーバが仮想プリンターを識別するための識別子であって、SMTP、XMPPなどに基づいた通信における識別子としてそのまま用いられる識別子であってもよいし、SMTP、XMPPなどに基づいた通信における識別子に対応付けられた識別子であっても良い。   According to the present invention, it is possible to try using the temporary identifier to determine whether the printer and the print control server can normally communicate bidirectionally under specific conditions actually assumed. Here, the temporary identifier is an identifier for the print control server to identify the virtual printer, and may be an identifier used as it is as an identifier in communication based on SMTP, XMPP, or the like, or SMTP, XMPP, or the like. May be an identifier associated with an identifier in communication based on.

(2)上記目的を達成するための印刷試行装置において、前記双方向通信部が前記印刷制御サーバーから所定の通知を受信すると、前記印刷依頼に対応する印刷データを前記通知に応じて前記印刷制御サーバーから取得する印刷データ取得部をさらに備え、前記試行結果報知部は、前記印刷データに応じた情報を報知してもよい。
この構成を採用する場合、印刷依頼に応じた印刷データを印刷試行装置が取得できるため、印刷依頼に応じてどのような印刷結果が得られるのかを印刷試行装置のユーザーが確認できる。
(5)上記目的を達成するための印刷制御サーバーは、登録されたプリンターに対応する識別子を用いて印刷依頼としての電子メールを受信するとともに前記印刷依頼に基づいて前記プリンターに印刷を実行させる印刷制御サーバーである。この印刷制御サーバーは、印刷試行装置からの要求に応じて仮の識別子を登録する登録部と、前記仮の識別子を用いて前記印刷依頼としての電子メールを受信する印刷依頼受信部と、前記印刷依頼としての電子メールに応じて、前記印刷試行装置と双方向通信プロトコルに基づいて前記仮の識別子を用いて双方向に通信する双方向通信部と、を備える。
本発明によると、実際にプリンターが設置される条件下において、プリンターと印刷制御サーバーとが正常に双方向に通信できるか試行することができる。
(2) In the print trial apparatus for achieving the above object, when the bidirectional communication unit receives a predetermined notification from the print control server, the print control corresponding to the print request is performed according to the notification. A print data acquisition unit acquired from a server may be further provided, and the trial result notification unit may notify information corresponding to the print data.
When this configuration is adopted, the print trial device can acquire print data corresponding to the print request, so that the user of the print trial device can confirm what kind of print result is obtained in response to the print request.
(5) A print control server for achieving the above object receives an e-mail as a print request using an identifier corresponding to a registered printer, and causes the printer to execute printing based on the print request It is a control server. The print control server includes a registration unit that registers a temporary identifier in response to a request from a print trial device, a print request reception unit that receives an email as the print request using the temporary identifier, and the print A bi-directional communication unit that communicates bi-directionally using the temporary identifier based on a bi-directional communication protocol with the print trial device in response to an e-mail as a request.
According to the present invention, it is possible to try whether the printer and the print control server can normally communicate bidirectionally under the condition where the printer is actually installed.

なお、請求項に記載された各手段の機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら各手段の機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。例えば、請求項に記載されたサーバーとは、1台のコンピューターで実現されているものに限られず、各手段をそれぞれ分担する複数のコンピューターの組み合わせによる群としてサーバーを実現しても良い。さらに、本発明は方法としても、上記した機能を実現するコンピュータープログラムとしても、そのプログラムの記録媒体としても成立する。むろん、そのコンピュータプログラムの記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体であってもよい。   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. For example, the server recited in the claims is not limited to that realized by a single computer, and the server may be realized as a group of a plurality of computers each sharing each means. Furthermore, the present invention can be realized as a method, a computer program for realizing the above-described functions, 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 that will be developed in the future.

印刷制御サーバーと印刷試行装置を含む印刷試行システムの全体構成を示すブロック図である。1 is a block diagram illustrating an overall configuration of a print trial system including a print control server and a print trial device. 印刷試行方法を示すシーケンスチャートである。It is a sequence chart which shows a printing trial method.

以下、本発明の実施の形態を添付図面を参照しながら説明する。尚、各図において対応する構成要素には同一の符号が付され、重複する説明は省略される。
1.構成
図1は本発明の一実施形態としての印刷制御サーバー1を含む印刷試行システムの全体構成を示すブロック図である。
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. Configuration FIG. 1 is a block diagram showing an overall configuration of a print trial system including a print control server 1 as an embodiment of the present invention.

印刷制御サーバー1は、印刷制御サーバー1に登録されたプリンター3に対応付けられた電子メールアドレスに送信された電子メールを受信することによって、プリンター3に電子メールの本文又は添付ファイルを印刷させる機能を提供するコンピューターである。具体的には、印刷制御サーバー1は、CPU、RAM、ROM、HDD(ハードディスク装置)、インターフェース回路等を備えるコンピューターであって、HDDに記憶されている印刷制御プログラムをRAMにロードしてCPUで実行することによって、登録部11、印刷依頼受信部12、ジョブ通知部13、印刷データ管理部14として機能する。登録部11は、任意のプリンターからの要求に応じて、通信用の識別子を各プリンターに割り当てて登録する機能を有する。印刷依頼受信部12は、各プリンターに割り当てられた識別子を用いて印刷依頼としての電子メールを受信するSMTPサーバーとしての機能を有する。ジョブ通知部13は、印刷依頼としての電子メールに応じて、対応するプリンターの識別子を用いて双方向通信プロトコルとしてのXMPPに基づいて、対応するプリンターと双方向に通信することによって、印刷依頼に対応するプリンターに印刷ジョブを通知するXMPPサーバーとしての機能を有する。印刷データ管理部14は、印刷依頼としての電子メールに応じて電子メールの本文または添付ファイルを印刷データに変換するデータ変換サーバーとしての機能とともに、印刷データの要求に応じて、生成した印刷データを対応するプリンターに送信するHTTPサーバーとしての機能を有する。   The print control server 1 receives the e-mail transmitted to the e-mail address associated with the printer 3 registered in the print control server 1 to cause the printer 3 to print the e-mail text or attached file. It is a computer that provides Specifically, the print control server 1 is a computer including a CPU, a RAM, a ROM, an HDD (hard disk device), an interface circuit, and the like, and a CPU loads a print control program stored in the HDD into the RAM. By executing this, it functions as a registration unit 11, a print request receiving unit 12, a job notification unit 13, and a print data management unit 14. The registration unit 11 has a function of assigning and registering a communication identifier to each printer in response to a request from an arbitrary printer. The print request receiving unit 12 has a function as an SMTP server that receives an e-mail as a print request using an identifier assigned to each printer. In response to the email as the print request, the job notification unit 13 communicates with the corresponding printer bidirectionally based on XMPP as the bidirectional communication protocol using the identifier of the corresponding printer. It has a function as an XMPP server that notifies a corresponding printer of a print job. The print data management unit 14 functions as a data conversion server that converts the body or attached file of an e-mail into print data in response to an e-mail as a print request, and outputs the generated print data in response to a print data request. It has a function as an HTTP server that transmits to a corresponding printer.

印刷制御サーバー1に登録されているプリンター3は、インターネットを介して印刷制御サーバー1と通信することにより、印刷ジョブの発生に応じて印刷データを印刷制御サーバー1から取得して印刷を実行する機能を有する。
ここで、プリンター3を印刷制御サーバー1に登録し、電子メールを用いてプリンター3に印刷させる処理について説明する。はじめに、第1の通信端末としてのコンピューター6がプリンター3とHTTPを用いて通信することによってプリンター3へセットアップ開始要求を送信する。
The printer 3 registered in the print control server 1 communicates with the print control server 1 via the Internet, thereby acquiring print data from the print control server 1 in response to the occurrence of a print job and executing printing. Have
Here, a process of registering the printer 3 in the print control server 1 and causing the printer 3 to print using e-mail will be described. First, the computer 6 as the first communication terminal transmits a setup start request to the printer 3 by communicating with the printer 3 using HTTP.

セットアップ開始要求を取得したプリンター3は、プリンター3に対応する登録要求として、プリンター3の機種ID、プリンター3のシリアル番号等を、登録要求に対応する印刷制御サーバー1のURLにHTTPを用いて送信する。登録要求を取得した印刷制御サーバー1は、登録要求に基づいてプリンター3を印刷制御サーバー1に登録する。具体的には、登録部11が、プリンター3の機種IDおよびシリアル番号に対応する内部ID、XMPPログインパスワード、電子メールアドレス等の識別子を、登録済みの他のプリンターと重複しないようにプリンター3に割り当てて記憶する。内部IDをプリンター3の機種IDおよびシリアル番号に基づいて割り当てることによって機種毎に異なる体系でシリアル番号がプリンターに割り振られている場合であっても、確実にプリンターの機体毎に異なる内部IDをプリンター3に割り当てることができる。そして登録部11は、プリンター3に割り当てた電子メールアドレスを印刷依頼受信部12に登録する。プリンター3に割り当てた電子メールアドレスを印刷依頼受信部12に登録することによって、プリンター3を出力機器とする印刷依頼としての電子メールを印刷制御サーバー1が受信することが可能になる。また登録部11は、プリンター3に割り当てた内部IDとXMPPログインパスワードとを対応付けてジョブ通知部13に登録する。ジョブ通知部13がプリンター3とXMPPを用いて通信するためのXMPP JIDは、"内部ID"@"ジョブ通知部13のXMPPドメイン名"とする。プリンター3の内部IDとXMPPログインパスワードをXMPP接続情報としてジョブ通知部13に登録することによって、プリンター3と印刷制御サーバー1とがXMPPを用いて通信することが可能になる。プリンター3を印刷制御サーバー1に登録した登録部11は、プリンター3の登録結果情報を、登録要求の送信元であるプリンター3に送信する。登録結果情報には、プリンター3に割り当てられた内部ID、XMPPログインパスワード、および電子メールアドレスと、ジョブ通知部13のドメイン名とが含まれている。登録結果情報を取得したプリンター3は、プリンター3に割り当てられた内部ID、XMPPログインパスワードおよび電子メールアドレスと、ジョブ通知部13のドメイン名を不揮発性メモリに記憶する。続いてプリンター3は、内部IDおよびXMPPドメイン名からXMPP JIDを生成し、XMPP JIDおよびXMPPログインパスワードをXMPP接続情報として印刷制御サーバー1のジョブ通知部13に送信する。XMPP JIDおよびXMPPログインパスワードをプリンター3から取得したジョブ通知部13は、プリンター3とXMPP接続を確立し、XMPP接続結果(成功/失敗)をプリンター3に送信する。このときXMPP接続に成功すると、プリンター3とジョブ通知部13とのXMPP接続はプリンター3の電源が遮断されるか通信トラブル等が起きるまで継続する。   The printer 3 that has acquired the setup start request transmits, as a registration request corresponding to the printer 3, the model ID of the printer 3, the serial number of the printer 3, and the like to the URL of the print control server 1 corresponding to the registration request using HTTP. To do. The print control server 1 that has acquired the registration request registers the printer 3 in the print control server 1 based on the registration request. Specifically, the registration unit 11 sets the identifier such as the internal ID corresponding to the model ID and serial number of the printer 3, the XMPP login password, and the e-mail address to the printer 3 so as not to overlap with other registered printers. Assign and remember. By assigning an internal ID based on the model ID and serial number of the printer 3, even if the serial number is assigned to the printer in a different system for each model, the internal ID that is different for each printer body is surely printed 3 can be assigned. The registration unit 11 registers the e-mail address assigned to the printer 3 in the print request reception unit 12. By registering the e-mail address assigned to the printer 3 in the print request receiving unit 12, the print control server 1 can receive an e-mail as a print request using the printer 3 as an output device. The registration unit 11 registers the internal ID assigned to the printer 3 and the XMPP login password in the job notification unit 13 in association with each other. The XMPP JID for the job notification unit 13 to communicate with the printer 3 using XMPP is “internal ID” @ ”XMPP domain name of the job notification unit 13”. By registering the internal ID of the printer 3 and the XMPP login password in the job notification unit 13 as XMPP connection information, the printer 3 and the print control server 1 can communicate using XMPP. The registration unit 11 that has registered the printer 3 in the print control server 1 transmits the registration result information of the printer 3 to the printer 3 that is the transmission source of the registration request. The registration result information includes an internal ID assigned to the printer 3, an XMPP login password, an e-mail address, and a domain name of the job notification unit 13. The printer 3 that has acquired the registration result information stores the internal ID assigned to the printer 3, the XMPP login password, the e-mail address, and the domain name of the job notification unit 13 in the nonvolatile memory. Subsequently, the printer 3 generates an XMPP JID from the internal ID and the XMPP domain name, and transmits the XMPP JID and the XMPP login password to the job notification unit 13 of the print control server 1 as XMPP connection information. The job notification unit 13 that has acquired the XMPP JID and the XMPP login password from the printer 3 establishes an XMPP connection with the printer 3 and transmits an XMPP connection result (success / failure) to the printer 3. If the XMPP connection is successful at this time, the XMPP connection between the printer 3 and the job notification unit 13 is continued until the printer 3 is powered off or a communication trouble occurs.

このようにしてプリンター3が印刷制御サーバー1に登録されると、プリンター3に割り当てた電子メールアドレスを宛先とした電子メールを用いて任意のユーザーがプリンター3に印刷を実行させることが可能になる。具体的には次の通りである。   When the printer 3 is registered in the print control server 1 in this way, any user can cause the printer 3 to execute printing using an e-mail addressed to the e-mail address assigned to the printer 3. . Specifically, it is as follows.

プリンター3に印刷を実行させようとするユーザーは、印刷対象としての本文または添付ファイルを含む電子メールを第2の通信端末を用いて生成し、生成した電子メールをプリンター3に割り当てられた電子メールアドレスに印刷依頼として送信する。
印刷依頼としての電子メールが送信されると、印刷制御サーバー1はこれを受信し、印刷依頼に対応する印刷ジョブを生成する。具体的には、登録されている電子メールアドレス宛の電子メールを印刷依頼受信部12が受信すると、印刷データ管理部14がその電子メールを取得して解析し、本文と、所定のフォーマットの添付ファイルとを印刷対象として抽出するとともに、抽出した印刷対象についてファイル毎にジョブIDを付与する。そして印刷データ管理部14は電子メールの宛先となっている電子メールアドレスに対応するプリンター3の内部IDと機種IDを特定し、印刷対象のそれぞれを機種IDに基づいてプリンター3の機種に対応する印刷データに変換し、プリンター3の内部IDおよびジョブIDと関連づけることによって印刷データをプリンター3の印刷ジョブとして記憶する。続いて印刷データ管理部14は、印刷ジョブの発生をプリンター3の内部IDとともにジョブ通知部13に通知する。印刷ジョブの発生を通知されたジョブ通知部13は、印刷ジョブ情報をXMPPを用いて送信することで印刷ジョブの発生をプリンター3に通知する。このように印刷依頼を受信してから印刷ジョブの発生をプリンター3に通知するまでの処理にXMPPが用いられるため、印刷制御サーバー1が自律的に実行することができ、プリンター3からのポーリングを必要としない。このため、印刷ジョブの発生を即座にプリンター3に通知することができ、また、最小限の通信量で印刷ジョブの発生をプリンター3に通知することができる。
A user who wants to cause the printer 3 to execute printing generates an e-mail including a text or an attached file as a print target using the second communication terminal, and the generated e-mail is an e-mail assigned to the printer 3 Send to address as print request.
When an e-mail as a print request is transmitted, the print control server 1 receives this and generates a print job corresponding to the print request. Specifically, when the print request receiving unit 12 receives an e-mail addressed to a registered e-mail address, the print data management unit 14 acquires and analyzes the e-mail, and attaches a text and a predetermined format. A file is extracted as a print target, and a job ID is assigned to each file for the extracted print target. Then, the print data management unit 14 specifies the internal ID and model ID of the printer 3 corresponding to the e-mail address that is the destination of the e-mail, and corresponds each print target to the model of the printer 3 based on the model ID. The print data is stored as a print job of the printer 3 by converting into print data and associating it with the internal ID and job ID of the printer 3. Subsequently, the print data management unit 14 notifies the job notification unit 13 of the occurrence of the print job together with the internal ID of the printer 3. The job notification unit 13 notified of the generation of the print job notifies the printer 3 of the generation of the print job by transmitting the print job information using XMPP. As described above, since XMPP is used for processing from receiving a print request to notifying the printer 3 of the occurrence of a print job, the print control server 1 can autonomously execute the polling from the printer 3. do not need. Therefore, the occurrence of a print job can be immediately notified to the printer 3, and the occurrence of a print job can be notified to the printer 3 with a minimum communication amount.

印刷ジョブの発生を通知されたプリンター3は、ジョブIDを含む印刷ジョブ情報を印刷制御サーバー1にHTTPを用いて送信することによって印刷データを印刷データ管理部14に要求する。印刷データを要求された印刷データ管理部14は、印刷データをHTTPを用いてプリンター3に送信する。印刷データを取得したプリンター3は、印刷データに基づいて印刷を実行する。   The printer 3 notified of the occurrence of the print job requests print data from the print data management unit 14 by transmitting print job information including the job ID to the print control server 1 using HTTP. The print data management unit 14 that has requested the print data transmits the print data to the printer 3 using HTTP. The printer 3 that has acquired the print data executes printing based on the print data.

このように、印刷制御サーバー1に登録されたプリンター3が印刷依頼に応じて印刷を実行する過程においては、SMTP、HTTPおよびXMPPに基づいた通信が実行される。本実施例の印刷試行システムは、新たにプリンターを購入して印刷制御サーバー1に登録し、印刷依頼に応じてそのプリンターに印刷を実行させようとする者が、プリンターの購入前に、それが実現可能かどうかを容易に確認できるようにする。   Thus, in the process in which the printer 3 registered in the print control server 1 executes printing in response to a print request, communication based on SMTP, HTTP, and XMPP is executed. The printing trial system of the present embodiment purchases a new printer and registers it in the print control server 1, and a person who wants to execute printing in response to a print request before purchasing the printer Make it easy to see if it is feasible.

2.印刷試行方法
本実施例の印刷試行システムは、特定の条件下にプリンターを設置した場合に、そのプリンターがHTTPおよびXMPPに基づいて印刷制御サーバー1と通信できるか否かを仮想プリンター53との通信によって試行する。このため本実施例の印刷試行システムは、印刷制御サーバー1と仮想プリンター53として仮想化される無線端末5とを含む。
2. Printing Trial Method The printing trial system of the present embodiment communicates with the virtual printer 53 as to whether or not the printer can communicate with the print control server 1 based on HTTP and XMPP when the printer is installed under specific conditions. Try by. For this reason, the print trial system of this embodiment includes the print control server 1 and the wireless terminal 5 that is virtualized as the virtual printer 53.

印刷制御サーバー1の登録部11は、無線端末5の識別子を仮識別子として登録するともに、無線端末5を仮想プリンターとして仮想化するための仮想化プログラムを無線端末5に送信する機能を備えている。   The registration unit 11 of the print control server 1 has a function of registering the identifier of the wireless terminal 5 as a temporary identifier and transmitting a virtualization program for virtualizing the wireless terminal 5 as a virtual printer to the wireless terminal 5. .

無線端末5は、新たにプリンターを購入して印刷制御サーバー1に登録しようとする者によって管理されるタブレットPC(Personal Computer)である。なお、本実施例ではタブレットPCを印刷試行装置として用いるが、インターネットに接続することが可能なコンピュータを備える装置であれば、デスクトップコンピューター、携帯電話端末などどのような装置を印刷試行装置として用いても良い。本実施例では、印刷試行装置として無線端末5を利用するために印刷制御サーバー1にアクセスする前に、無線端末5にはMUA(Mail User Agent)51とブラウザ52とがインストールされているものとして説明する。すなわち、無線端末5には、電子メールの送信機能と、ウェブページの閲覧機能とが必要である。   The wireless terminal 5 is a tablet PC (Personal Computer) managed by a person who newly purchases a printer and tries to register it in the print control server 1. In this embodiment, a tablet PC is used as the print trial device. However, any device such as a desktop computer or a mobile phone terminal can be used as the print trial device as long as the device includes a computer that can be connected to the Internet. Also good. In this embodiment, it is assumed that a MUA (Mail User Agent) 51 and a browser 52 are installed in the wireless terminal 5 before accessing the print control server 1 to use the wireless terminal 5 as a print trial device. explain. That is, the wireless terminal 5 needs an e-mail transmission function and a web page browsing function.

そして、プリンター3を印刷制御サーバー1に登録する際に用いられる第一の通信端末としての機能と、プリンター3に対応する印刷依頼を送信する際に用いられる第二の通信端末としての機能とを無線端末5が担うとともに、無線端末5が仮想化されることで無線端末5自体がプリンターとしての機能も担う。以下、図2に基づいて詳細に説明する。   A function as a first communication terminal used when registering the printer 3 in the print control server 1 and a function as a second communication terminal used when transmitting a print request corresponding to the printer 3 are provided. The wireless terminal 5 is responsible, and the wireless terminal 5 is virtualized so that the wireless terminal 5 itself also functions as a printer. Hereinafter, it demonstrates in detail based on FIG.

はじめに、新たにプリンターを購入して印刷制御サーバー1に登録しようとする者(以下、ユーザーという。)は、プリンターを接続しようとするLANに無線端末5を接続し、無線端末5のブラウザ52を用いて試行要求を送信する(S101)。具体的には、ブラウザ52が試行要求に対応する登録部11のURLにHTTPリクエストを送信することによって、試行要求情報を入力するためのウェブページを取得する。続いてユーザーは、購入を予定しているプリンターの機種などを無線端末5が取得したウェブページを介して試行要求情報として入力する。入力された試行要求情報は、ブラウザ52によってHTTPに基づいて登録部11に送信される。   First, a person who purchases a new printer and wants to register it in the print control server 1 (hereinafter referred to as a user) connects the wireless terminal 5 to the LAN to which the printer is to be connected, and uses the browser 52 of the wireless terminal 5. To send a trial request (S101). Specifically, the browser 52 transmits an HTTP request to the URL of the registration unit 11 corresponding to the trial request, thereby acquiring a web page for inputting trial request information. Subsequently, the user inputs, as trial request information, the model of the printer scheduled to be purchased via the web page acquired by the wireless terminal 5. The input trial request information is transmitted to the registration unit 11 by the browser 52 based on HTTP.

試行要求を受信した印刷制御サーバー1は、無線端末5を仮想プリンターとして動作させるための仮想化プログラムを無線端末5に送信する(S201)。具体的には、登録部11は、試行要求の受信に応じてHTTPに基づいて仮想化プログラムの送信を開始しても良いし、試行要求の受信に応じて仮想化プログラムをダウンロードするためのウェブページを無線端末5に送信し、HTTPに基づいてダウンロード要求を無線端末5から取得してから仮想化プログラムを無線端末5に送信しても良い。ここで送信される仮想化プログラムを、ユーザーが購入を予定しているプリンターとして試行要求情報に含まれる機種に対応したプログラムとすることで、ユーザーが購入を予定しているプリンターの仕様に忠実に動作する仮想プリンターとして無線端末5を動作させることが可能になる。   The print control server 1 that has received the trial request transmits to the wireless terminal 5 a virtualization program for operating the wireless terminal 5 as a virtual printer (S201). Specifically, the registration unit 11 may start transmission of the virtualization program based on HTTP in response to reception of the trial request, or a web for downloading the virtualization program in response to reception of the trial request. The virtualization program may be transmitted to the wireless terminal 5 after the page is transmitted to the wireless terminal 5 and a download request is acquired from the wireless terminal 5 based on HTTP. The virtualization program sent here is a program that corresponds to the model that is included in the trial request information as a printer that the user plans to purchase, so that the specifications of the printer that the user plans to purchase are faithful. The wireless terminal 5 can be operated as an operating virtual printer.

仮想化プログラムを受信した無線端末5は、仮想化プログラムをインストールする(S103)。仮想化プログラムが無線端末5にインストールされる過程では、仮想化プログラムを構成するプログラムデータが無線端末5の不揮発性メモリに記憶され、無線端末5が仮想プリンターとして印刷制御サーバー1と通信するための識別子(以下、仮想プリンターの識別子)などが設定される。すなわち、仮想プリンターの識別子が無線端末5のRAMまたは不揮発性メモリに記憶される。無線端末5が仮想プリンターとして印刷制御サーバー1と通信するための識別子としては、MACアドレスのように無線端末5に固有の識別子を用いても良いし、ダウンロード前に登録部11によって仮想化プログラムに書き込まれた識別子であっても良いし、ユーザーが任意に定める文字列を用いてもよい。ただし、試行端末として機能する複数のコンピューターのそれぞれと個別に印刷制御サーバー1が通信できるように、仮想プリンターの識別子は試行端末毎にユニークでなければならない。   The wireless terminal 5 that has received the virtualization program installs the virtualization program (S103). In the process in which the virtualization program is installed in the wireless terminal 5, program data constituting the virtualization program is stored in the nonvolatile memory of the wireless terminal 5, and the wireless terminal 5 communicates with the print control server 1 as a virtual printer. An identifier (hereinafter referred to as a virtual printer identifier) or the like is set. That is, the identifier of the virtual printer is stored in the RAM or non-volatile memory of the wireless terminal 5. As an identifier for the wireless terminal 5 to communicate with the print control server 1 as a virtual printer, an identifier unique to the wireless terminal 5 such as a MAC address may be used. The written identifier may be used, or a character string arbitrarily determined by the user may be used. However, the identifier of the virtual printer must be unique for each trial terminal so that the print control server 1 can individually communicate with each of a plurality of computers functioning as trial terminals.

仮想化プログラムが無線端末5において実行されると、印刷制御サーバー1に対してプリンターと同等に振る舞う仮想プリンター53として無線端末5が仮想化される。仮想プリンター53は、印刷制御サーバー1の印刷データ管理部14とHTTPに基づいて通信する機能を有するHTTP通信部531と、印刷制御サーバー1のジョブ通知部13とXMPPに基づいて双方向に通信する機能を有するXMPP通信部532と、仮想プリンターとして印刷制御サーバー1と通信した結果をユーザーに報知する機能を有する試行結果報知部533とを備えている。   When the virtualization program is executed in the wireless terminal 5, the wireless terminal 5 is virtualized as a virtual printer 53 that behaves in the same way as a printer with respect to the print control server 1. The virtual printer 53 communicates bidirectionally based on the HTTP communication unit 531 having a function of communicating with the print data management unit 14 of the print control server 1 based on HTTP, and the job notification unit 13 of the print control server 1 based on XMPP. An XMPP communication unit 532 having a function and a trial result notification unit 533 having a function of notifying a user of a result of communication with the print control server 1 as a virtual printer are provided.

仮想化プログラムが無線端末5にインストールされる過程で仮想プリンターの識別子が無線端末5に設定されると、無線端末5は、HTTPに基づいた仮登録要求を登録部11に送信する。仮登録要求は、実在するプリンター3を印刷制御サーバー1に登録する際にプリンター3から印刷制御サーバー1に送信される登録要求に対応している。具体的には、仮想プリンター53のHTTP通信部531は、仮想プリンター53に対応する機種ID、仮想プリンター53の識別子等を、登録要求に対応する印刷制御サーバー1のURLにHTTPを用いて送信する。なお、仮想プリンター53に対応する機種IDはユーザーが購入を予定しているプリンターの機種IDとしている。   When the virtual printer identifier is set in the wireless terminal 5 in the process of installing the virtualization program in the wireless terminal 5, the wireless terminal 5 transmits a temporary registration request based on HTTP to the registration unit 11. The temporary registration request corresponds to a registration request transmitted from the printer 3 to the print control server 1 when registering the actual printer 3 in the print control server 1. Specifically, the HTTP communication unit 531 of the virtual printer 53 transmits the model ID corresponding to the virtual printer 53, the identifier of the virtual printer 53, and the like to the URL of the print control server 1 corresponding to the registration request using HTTP. . The model ID corresponding to the virtual printer 53 is the model ID of the printer that the user plans to purchase.

仮登録要求を取得した印刷制御サーバー1は、仮登録要求に基づいて仮想プリンター53を印刷依頼受信部12に登録する(S203)。具体的には、登録部11は、実在するプリンター3を登録する際と同様に、仮想プリンター53に対応する機種IDおよび識別子に対応する内部ID、XMPPログインパスワード、電子メールアドレス等の識別子を、登録済みの他のプリンターや他の仮想プリンターと重複しないように仮想プリンター53に割り当てて記憶する。そして印刷依頼受信部12は、仮想プリンター53に割り当てた電子メールアドレスを登録する(S301)。仮想プリンター53に割り当てた電子メールアドレスを印刷依頼受信部12に登録することによって、仮想プリンター53に対応する印刷依頼としての電子メールを印刷制御サーバー1が受信することが可能になる。またジョブ通知部13は、仮想プリンター53に割り当てた内部IDとXMPPログインパスワードとを対応付けて登録する(S501)。仮想プリンター53に割り当てた内部IDとログインパスワードをジョブ通知部13に登録することによって、仮想プリンター53と印刷制御サーバー1がXMPPに基づいて双方向に通信することが可能になる。   The print control server 1 that has acquired the temporary registration request registers the virtual printer 53 in the print request receiving unit 12 based on the temporary registration request (S203). Specifically, as in the case of registering the actual printer 3, the registration unit 11 stores an identifier such as an internal ID corresponding to the model ID corresponding to the virtual printer 53 and an identifier, an XMPP login password, and an e-mail address. The virtual printer 53 is allocated and stored so as not to overlap with other registered printers and other virtual printers. Then, the print request receiving unit 12 registers the email address assigned to the virtual printer 53 (S301). By registering the e-mail address assigned to the virtual printer 53 in the print request receiving unit 12, the print control server 1 can receive an e-mail as a print request corresponding to the virtual printer 53. Also, the job notification unit 13 registers the internal ID assigned to the virtual printer 53 and the XMPP login password in association with each other (S501). By registering the internal ID and login password assigned to the virtual printer 53 in the job notification unit 13, the virtual printer 53 and the print control server 1 can communicate bidirectionally based on XMPP.

仮想プリンター53を登録すると、印刷制御サーバー1は登録結果を仮想プリンター53に送信する(S205)。具体的には、登録部11は、実在するプリンター3に登録結果を送信する際と同様に、仮登録要求の送信元である仮想プリンター53に登録結果情報をHTTPに基づいて送信する。登録結果情報には、仮想プリンター53に割り当てられた識別子としての内部ID、XMPPログインパスワードおよび電子メールアドレスと、ジョブ通知部13のドメイン名とが含まれている。登録結果情報を取得した仮想プリンター53のHTTP通信部531は、仮想プリンター53に割り当てられた内部ID、XMPPログインパスワードおよび電子メールアドレスと、ジョブ通知部13のドメイン名を記憶する。   When the virtual printer 53 is registered, the print control server 1 transmits the registration result to the virtual printer 53 (S205). Specifically, the registration unit 11 transmits registration result information to the virtual printer 53 that is the transmission source of the temporary registration request based on HTTP, similarly to the case of transmitting the registration result to the actual printer 3. The registration result information includes an internal ID as an identifier assigned to the virtual printer 53, an XMPP login password and an e-mail address, and a domain name of the job notification unit 13. The HTTP communication unit 531 of the virtual printer 53 that has acquired the registration result information stores the internal ID assigned to the virtual printer 53, the XMPP login password, the e-mail address, and the domain name of the job notification unit 13.

続いて仮想プリンター53のXMPP通信部532は、識別子としての内部IDおよびXMPPドメイン名からXMPP JIDを生成し、XMPP JIDおよびXMPPログインパスワードをXMPP接続情報としてジョブ通知部13に送信してXMPP接続を確立する(S105)。XMPP JIDおよびXMPPログインパスワードをプリンター3から取得したジョブ通知部13は、XMPP接続結果(成功/失敗)をXMPP通信部532に送信する。   Subsequently, the XMPP communication unit 532 of the virtual printer 53 generates an XMPP JID from the internal ID and the XMPP domain name as identifiers, transmits the XMPP JID and the XMPP login password to the job notification unit 13 as XMPP connection information, and establishes the XMPP connection. Establish (S105). The job notification unit 13 that has acquired the XMPP JID and the XMPP login password from the printer 3 transmits the XMPP connection result (success / failure) to the XMPP communication unit 532.

図1に示すようにプロキシサーバー4を介してインターネットに接続されたLANに無線端末5が接続されている場合、仮想プリンター53と印刷制御サーバー1とのXMPPに基づいた双方向通信がプロキシサーバー4によって遮断される場合がある。このような場合、仮想プリンター53から印刷制御サーバー1に送信したメッセージに対するレスポンスが印刷制御サーバー1から仮想プリンター53に戻ってこないことになる。XMPP接続に成功した場合、仮想プリンター53とジョブ通知部13とのXMPP接続は仮想プリンター53の実行が終了するまで継続する。   As shown in FIG. 1, when the wireless terminal 5 is connected to a LAN connected to the Internet via the proxy server 4, bidirectional communication based on XMPP between the virtual printer 53 and the print control server 1 is performed. May be blocked. In such a case, a response to the message transmitted from the virtual printer 53 to the print control server 1 does not return from the print control server 1 to the virtual printer 53. When the XMPP connection is successful, the XMPP connection between the virtual printer 53 and the job notification unit 13 is continued until the execution of the virtual printer 53 is completed.

ここまでの過程で、実在するプリンター3を印刷制御サーバー1に登録する際に行われるのと同様の通信が無線端末5と印刷制御サーバー1との間で行われたことになる。ここまでの過程で、印刷制御サーバー1で検出可能なエラーが発生すると、印刷制御サーバー1から無線端末5にHTTPに基づいてエラー情報が送信される。エラー情報には、エラーの内容や原因が含まれる。また、ここまでの過程で、仮想プリンター53で検出可能なエラーが発生することもある。例えば、前述したように仮想プリンター53から印刷制御サーバー1にXMPPに基づいて送信したメッセージに対するレスポンスが所定時間内に仮想プリンター53に戻ってこない場合、XMPP通信部532によってエラーが検出される。仮想プリンター53の試行結果報知部533は、印刷制御サーバー1から取得したエラー情報とHTTP通信部531およびXMPP通信部532が検出したエラーとに基づいて、無線端末5の画面にエラーの内容や原因を表示する(S107)。   In the process so far, communication similar to that performed when registering the actual printer 3 in the print control server 1 is performed between the wireless terminal 5 and the print control server 1. If an error that can be detected by the print control server 1 occurs in the process so far, error information is transmitted from the print control server 1 to the wireless terminal 5 based on HTTP. The error information includes the content and cause of the error. In addition, an error that can be detected by the virtual printer 53 may occur in the process so far. For example, as described above, when a response to a message transmitted from the virtual printer 53 to the print control server 1 based on XMPP does not return to the virtual printer 53 within a predetermined time, the XMPP communication unit 532 detects an error. Based on the error information acquired from the print control server 1 and the errors detected by the HTTP communication unit 531 and the XMPP communication unit 532, the trial result notification unit 533 of the virtual printer 53 displays the content and cause of the error on the screen of the wireless terminal 5. Is displayed (S107).

ここまでの過程でエラーが発生しなかった場合、無線端末5が接続されたLANに、仮想プリンター53に対応するプリンターを接続することによって、電子メールを用いてそのプリンターに印刷を実行させることが可能である。そしてプロキシサーバー4の設定に起因するエラーは、その設定を熟知している者であれば予見できるものの、そうでない者は予見できない。したがって、プリンターの仕様説明を読んだとしても、電子メールを用いて実際にそのプリンターを利用できるかどうかを判断できないことがあるという問題がある。ここまで述べた印刷試行方法は、そのような問題を解消するものである。以下に述べる処理は、電子メールを用いて利用できる通信環境に特定のプリンターを設置した場合に、そのプリンターがどのように動作するかや印刷を行いたいデータのフォーマットで正しく印刷できるかをユーザーに事前確認させるために実施される。   If no error has occurred in the process so far, by connecting a printer corresponding to the virtual printer 53 to the LAN to which the wireless terminal 5 is connected, the printer can execute printing using e-mail. Is possible. An error caused by the setting of the proxy server 4 can be foreseen by those who are familiar with the setting, but cannot be foreseen by those who are not. Accordingly, there is a problem that even if the printer specification is read, it may not be possible to determine whether or not the printer can actually be used using e-mail. The printing trial method described so far solves such a problem. The process described below allows users to determine how their printers will operate and whether they can print correctly in the format of the data they want to print when a particular printer is installed in a communication environment that can be used using e-mail. It is carried out to make prior confirmation.

電子メールを用いて利用できる通信環境に特定のプリンターを設置した場合に、そのプリンターがどのように動作するかを確認するためには、まず、仮想プリンター53に対応する印刷依頼としての電子メールを送信する(S109)。具体的には、印刷対象としての本文または添付ファイルを含む電子メールを無線端末5を用いて生成し、生成した電子メールを仮想プリンター53に割り当てられた電子メールアドレスに印刷依頼として送信する。   In order to confirm how a printer operates when a specific printer is installed in a communication environment that can be used using e-mail, first, an e-mail as a print request corresponding to the virtual printer 53 is sent. Transmit (S109). Specifically, an e-mail including a text or an attached file to be printed is generated using the wireless terminal 5, and the generated e-mail is transmitted as a print request to an e-mail address assigned to the virtual printer 53.

印刷依頼としての電子メールが送信されると、印刷依頼受信部12がこれを受信し、印刷ジョブの生成を印刷データ管理部14に要求する(S303)。
印刷ジョブの生成を要求されると、印刷データ管理部14は、その電子メールから本文と、所定のフォーマットの添付ファイルとを印刷対象として抽出するとともに、抽出した印刷対象についてファイル毎にジョブIDを付与する。続いて印刷データ管理部14は電子メールの宛先となっている電子メールアドレスに対応する仮想プリンター53の内部IDと機種IDを特定し、印刷対象のそれぞれを機種IDに基づいて仮想プリンター53に対応する機種に対応する印刷データに変換し、仮想プリンター53の内部IDおよびジョブIDと関連づけることによって印刷データを仮想プリンター53の印刷ジョブとして記憶する(S401)。
When an e-mail as a print request is transmitted, the print request receiving unit 12 receives this and requests the print data management unit 14 to generate a print job (S303).
When generation of a print job is requested, the print data management unit 14 extracts the text and an attached file in a predetermined format from the email as print targets, and sets a job ID for each file for the extracted print targets. Give. Subsequently, the print data management unit 14 specifies the internal ID and model ID of the virtual printer 53 corresponding to the e-mail address that is the destination of the e-mail, and supports each of the print targets on the virtual printer 53 based on the model ID. The print data is converted into print data corresponding to the model to be used, and the print data is stored as a print job of the virtual printer 53 by associating it with the internal ID and job ID of the virtual printer 53 (S401).

ここで、仮想プリンター53に対応する機種が対応していないフォーマットのファイルが印刷対象になっている場合には、印刷データ管理部14は印刷ジョブを生成せずに、印刷依頼受信部12を介して仮想プリンター53にエラーを通知する。そして仮想プリンター53は、通知されたエラーに基づいて無線端末5の画面にエラーを表示する。これにより、ユーザーは、どのようなフォーマットのデータが印刷対象として処理されないのかを確認することができる。   Here, when a file in a format that is not supported by the model corresponding to the virtual printer 53 is to be printed, the print data management unit 14 does not generate a print job, but passes the print request reception unit 12. To notify the virtual printer 53 of the error. The virtual printer 53 displays an error on the screen of the wireless terminal 5 based on the notified error. Thus, the user can confirm what format data is not processed as a print target.

印刷ジョブを記憶した印刷データ管理部14は、印刷ジョブの発生をプリンター3の内部IDおよびジョブIDとともにジョブ通知部13に通知する(S403)。   The print data management unit 14 that stores the print job notifies the job notification unit 13 of the occurrence of the print job together with the internal ID and job ID of the printer 3 (S403).

印刷ジョブの発生を通知されたジョブ通知部13は、印刷ジョブ情報をXMPPを用いて送信することで印刷ジョブの発生を仮想プリンター53に通知する(S503)。   The job notification unit 13 notified of the occurrence of the print job notifies the virtual printer 53 of the occurrence of the print job by transmitting the print job information using XMPP (S503).

印刷ジョブの発生を通知された仮想プリンター53は、ジョブIDを含む印刷ジョブ情報を印刷制御サーバー1にHTTPを用いて送信することによって印刷データを印刷データ管理部14に要求する(S111)。   The virtual printer 53 notified of the generation of the print job sends the print data including the job ID to the print control server 1 by using HTTP, and requests the print data management unit 14 for the print data (S111).

印刷データを要求された印刷データ管理部14は、印刷データをHTTPを用いて仮想プリンター53に送信する(S405)。   The print data management unit 14 that has requested the print data transmits the print data to the virtual printer 53 using HTTP (S405).

印刷データを取得した仮想プリンター53は、印刷データに基づいてプレビュー画像を生成し、プレビュー画像を無線端末5の画面に表示する(S113)。これにより、ユーザーは印刷依頼としての電子メールに含めた印刷対象がどのように印刷されるのかを確認することができる。例えば、仮想プリンター53に対応する機種が対応している用紙サイズよりも印刷範囲が大きな画像を印刷対象とした場合には、画像の一部が切りかかれた状態のプレビュー画像が生成される。   The virtual printer 53 that has acquired the print data generates a preview image based on the print data, and displays the preview image on the screen of the wireless terminal 5 (S113). As a result, the user can confirm how the print target included in the e-mail as the print request is printed. For example, when an image having a printing range larger than the paper size supported by the model corresponding to the virtual printer 53 is to be printed, a preview image in a state where a part of the image is cut is generated.

以上説明した実施例によると、無線端末5が仮想プリンター53として仮想化され、仮想プリンター53に対応する仮の識別子を用いて実在するプリンターと同様に印刷制御サーバーと通信するため、実際に想定される特定の条件下において、プリンターと印刷制御サーバー1とが正常に通信できるか試行することができる。   According to the embodiment described above, since the wireless terminal 5 is virtualized as the virtual printer 53 and communicates with the print control server in the same manner as an existing printer using a temporary identifier corresponding to the virtual printer 53, it is actually assumed. It is possible to test whether the printer and the print control server 1 can communicate normally under certain conditions.

3.他の実施形態
尚、本発明の技術的範囲は、上述した実施の形態に限定されるものではなく、以下の変形例を適宜組み合わせるなど、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。
例えば、上記実施形態では、仮想プリンター53の識別子として、内部ID、XMPPログインパスワードおよび電子メールアドレスを印刷制御サーバー1から無線端末5に送信したが、これに限られず、互いに識別できるのであれば、どのように作成したどのような識別子を用いてもよい。例えば、内部IDだけを仮想プリンター53の識別子として送信しても良い。複数のプロトコルに基づいて仮想プリンター53と印刷制御サーバー1が通信する場合であっても、各プロトコルに適合する識別子を、1つの識別子から個別に自動生成することが可能である。
3. Other Embodiments The technical scope of the present invention is not limited to the above-described embodiments, and various modifications are made within the scope not departing from the gist of the present invention, such as appropriately combining the following modifications. Of course you get.
For example, in the above-described embodiment, the internal ID, the XMPP login password, and the e-mail address are transmitted from the print control server 1 to the wireless terminal 5 as the identifier of the virtual printer 53. However, the present invention is not limited to this. Any identifier created in any way may be used. For example, only the internal ID may be transmitted as the identifier of the virtual printer 53. Even when the virtual printer 53 and the print control server 1 communicate with each other based on a plurality of protocols, it is possible to automatically generate identifiers suitable for each protocol individually from one identifier.

また上記実施形態では、印刷制御サーバー1の機能を単一のサーバーコンピューターで実現する例を説明したが、印刷制御サーバー1を物理的に独立した複数のサーバーコンピューターによって構成することも可能である。   In the above-described embodiment, the example in which the function of the print control server 1 is realized by a single server computer has been described. However, the print control server 1 may be configured by a plurality of physically independent server computers.

また、プリンター3および無線端末5と印刷制御サーバー1との通信プロトコルについては、XMPPに代えてTelnetやWebSocket等の双方向通信プロトコルを用いても良いし、HTTP、SMTPに代わる他の通信プロトコルを用いても良い。
また、通信結果は、エラーが生じたか正常に通信できたかをユーザーが識別できる形態であれば、文字、画像、音声、振動など、どのような形態でユーザーに報知しても良い。
また、プレビュー画像を仮想プリンター53で生成するのではなく、印刷データ管理部14がプレビュー画像を生成してもよい。この場合、仮想プリンター53は自らが仮想プリンターであることを示す情報を含む仮登録要求を行い、登録部11は、仮想プリンター53が仮想プリンターであることを示す情報を含めて登録を行う。そして印刷データ管理部14はデータの送信先が実際のプリンターか仮想プリンターかを仮想プリンターであることを示す情報が登録されているかどうかに基づいて判断し、仮想プリンターであると判断した場合には、印刷データではなくプレビュー画像を生成する。プレビュー画像は印刷データよりもデータ量を少なくすることが可能であるため、このようにすることで通信量を減らすことができる。
また、試行終了をユーザーが無線端末5に指示されたことに応じて、無線端末5は登録部11に仮想プリンター53に関する登録情報の削除依頼を行い、仮想化プログラムの無線端末5からの削除を行ってもよい。この場合、登録部11は登録情報の削除依頼を受信すると、仮想プリンター53に関する情報を削除する。
In addition, as a communication protocol between the printer 3 and the wireless terminal 5 and the print control server 1, a bidirectional communication protocol such as Telnet or WebSocket may be used instead of XMPP, or another communication protocol replacing HTTP or SMTP may be used. It may be used.
In addition, the communication result may be notified to the user in any form such as text, image, sound, vibration, etc., as long as the user can identify whether an error has occurred or the communication has been successfully performed.
Further, instead of generating a preview image by the virtual printer 53, the print data management unit 14 may generate a preview image. In this case, the virtual printer 53 makes a temporary registration request including information indicating that the virtual printer 53 is a virtual printer, and the registration unit 11 performs registration including information indicating that the virtual printer 53 is a virtual printer. The print data management unit 14 determines whether the data transmission destination is an actual printer or a virtual printer based on whether information indicating that the data is a virtual printer is registered. A preview image is generated instead of print data. Since the preview image can have a smaller data amount than the print data, the communication amount can be reduced by doing so.
Further, in response to the user instructing the wireless terminal 5 to end the trial, the wireless terminal 5 requests the registration unit 11 to delete the registration information regarding the virtual printer 53 and deletes the virtualization program from the wireless terminal 5. You may go. In this case, when receiving a registration information deletion request, the registration unit 11 deletes information regarding the virtual printer 53.

1…印刷制御サーバー、2…インターネット、3…プリンター、4…プロキシサーバー、5…無線端末、11…登録部、12…印刷依頼受信部、13…ジョブ通知部、14…印刷データ管理部、51…MUA、52…ブラウザ、53…仮想プリンター、531…HTTP通信部、532…XMPP通信部、533…試行結果報知部 DESCRIPTION OF SYMBOLS 1 ... Print control server, 2 ... Internet, 3 ... Printer, 4 ... Proxy server, 5 ... Wireless terminal, 11 ... Registration part, 12 ... Print request receiving part, 13 ... Job notification part, 14 ... Print data management part, 51 ... MUA, 52 ... browser, 53 ... virtual printer, 531 ... HTTP communication unit, 532 ... XMPP communication unit, 533 ... trial result notification unit

Claims (5)

登録されたプリンターに対応する識別子を用いて印刷依頼としての電子メールを受信するとともに前記印刷依頼に基づいて前記プリンターに印刷を実行させる印刷制御サーバーを特定の条件下で利用可能であるか試行するための印刷試行装置であって、
前記印刷制御サーバーに登録された仮の識別子を取得する識別子取得部と、
前記仮の識別子に対応する電子メールアドレスに前記印刷依頼としての電子メールを送信する電子メール送信部と、
双方向通信プロトコルに基づいて前記仮の識別子に基づいて前記印刷制御サーバーと双方向に通信する双方向通信部と、
前記印刷制御サーバーと双方向に通信した結果を報知する試行結果報知部と、
を備える印刷試行装置。
Receives an e-mail as a print request using an identifier corresponding to a registered printer, and tries to use a print control server that allows the printer to execute printing based on the print request under specific conditions A printing trial device for
An identifier acquisition unit that acquires a temporary identifier registered in the print control server;
An e-mail transmitting unit that transmits an e-mail as the print request to an e-mail address corresponding to the temporary identifier;
A bidirectional communication unit that communicates bidirectionally with the print control server based on the temporary identifier based on a bidirectional communication protocol;
A trial result notifying unit for notifying a result of bidirectional communication with the print control server;
A printing trial apparatus comprising:
前記双方向通信部が前記印刷制御サーバーから所定の通知を受信すると、前記印刷依頼に対応するデータを前記通知に応じて前記印刷制御サーバーから取得するデータ取得部をさらに備え、
前記試行結果報知部は、前記データに応じた情報を報知する、
請求項1に記載の印刷試行装置。
A data acquisition unit that acquires data corresponding to the print request from the print control server in response to the notification when the bidirectional communication unit receives a predetermined notification from the print control server;
The trial result notifying unit notifies information according to the data.
The printing trial apparatus according to claim 1.
登録されたプリンターに対応する識別子を用いて印刷依頼としての電子メールを受信するとともに前記印刷依頼に基づいて前記プリンターに印刷を実行させる印刷制御サーバーを特定の条件下で利用可能であるか試行するための印刷試行プログラムであって、
前記印刷制御サーバーに登録された仮の識別子を取得する識別子取得部と、
前記仮の識別子に対応する電子メールアドレスに前記印刷依頼としての電子メールを送信する電子メール送信部と、
双方向通信プロトコルに基づいて前記仮の識別子に基づいて前記印刷制御サーバーと双方向に通信する双方向通信部と、
前記印刷制御サーバーと双方向に通信した結果を報知する試行結果報知部と、
してコンピューターを機能させる印刷試行プログラム。
Receives an e-mail as a print request using an identifier corresponding to a registered printer, and tries to use a print control server that allows the printer to execute printing based on the print request under specific conditions A printing trial program for
An identifier acquisition unit that acquires a temporary identifier registered in the print control server;
An e-mail transmitting unit that transmits an e-mail as the print request to an e-mail address corresponding to the temporary identifier;
A bidirectional communication unit that communicates bidirectionally with the print control server based on the temporary identifier based on a bidirectional communication protocol;
A trial result notifying unit for notifying a result of bidirectional communication with the print control server;
A print trial program that causes the computer to function.
登録されたプリンターに対応する識別子を用いて印刷依頼としての電子メールを受信するとともに前記印刷依頼に基づいて前記プリンターに印刷を実行させる印刷制御サーバーを特定の条件下で利用可能であるか試行するための印刷試行方法であって、
印刷試行装置からの要求に応じて、仮の識別子を前記印刷制御サーバーに登録し、
前記仮の識別子を前記印刷制御サーバーから前記印刷試行装置に送信し、
前記印刷依頼としての電子メールを前記仮の識別子に対応する電子メールアドレスを用いて前記印刷試行装置から前記印刷制御サーバーが受信し、
前記印刷試行装置と前記印刷制御サーバーとが双方向通信プロトコルに基づいて前記仮の識別子を用いて双方向に通信し、
前記印刷試行装置と前記印刷制御サーバーとが双方向に通信した結果を前記印刷試行装置において報知する、
印刷試行方法。
Receives an e-mail as a print request using an identifier corresponding to a registered printer, and tries to use a print control server that allows the printer to execute printing based on the print request under specific conditions A printing trial method for
In response to a request from the print trial device, a temporary identifier is registered with the print control server,
Sending the temporary identifier from the print control server to the print trial device;
The print control server receives an e-mail as the print request from the print trial device using an e-mail address corresponding to the temporary identifier,
The print trial device and the print control server communicate bidirectionally using the temporary identifier based on a bidirectional communication protocol,
Informing the result of two-way communication between the print trial device and the print control server in the print trial device,
How to try printing.
登録されたプリンターに対応する識別子を用いて印刷依頼としての電子メールを受信するとともに前記印刷依頼に基づいて前記プリンターに印刷を実行させる印刷制御サーバーであって、
印刷制御サーバーを特定の条件下で利用可能であるか試行するための印刷試行装置からの要求に応じて仮の識別子を登録する登録部と、
前記仮の識別子を用いて前記印刷依頼としての電子メールを前記印刷試行装置から受信する印刷依頼受信部と、
前記印刷依頼としての電子メールに応じて、前記印刷試行装置と双方向通信プロトコルに基づいて前記仮の識別子を用いて双方向に通信する双方向通信部と、
を備え、前記印刷試行装置は、前記印刷制御サーバーと双方向に通信した結果を報知する印刷制御サーバー。
A print control server that receives an email as a print request using an identifier corresponding to a registered printer and causes the printer to execute printing based on the print request,
A registration unit that registers a temporary identifier in response to a request from a print trial device to try to use the print control server under specific conditions ;
A print request receiving unit that receives an e-mail as the print request from the print trial device using the temporary identifier;
In response to an e-mail as the print request, a bidirectional communication unit that communicates bidirectionally using the temporary identifier based on a bidirectional communication protocol with the print trial device;
A print control server for notifying a result of bidirectional communication with the print control server.
JP2012007820A 2012-01-18 2012-01-18 Print trial device, print trial program, print trial method, print control server Active JP5817545B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012007820A JP5817545B2 (en) 2012-01-18 2012-01-18 Print trial device, print trial program, print trial method, print control server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012007820A JP5817545B2 (en) 2012-01-18 2012-01-18 Print trial device, print trial program, print trial method, print control server

Publications (2)

Publication Number Publication Date
JP2013149004A JP2013149004A (en) 2013-08-01
JP5817545B2 true JP5817545B2 (en) 2015-11-18

Family

ID=49046464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012007820A Active JP5817545B2 (en) 2012-01-18 2012-01-18 Print trial device, print trial program, print trial method, print control server

Country Status (1)

Country Link
JP (1) JP5817545B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615388B (en) 2013-11-01 2017-12-22 精工爱普生株式会社 Print control system
JP6331337B2 (en) * 2013-11-01 2018-05-30 セイコーエプソン株式会社 Print control system and printing apparatus
IN2014DE02931A (en) 2013-11-01 2015-06-26 Seiko Epson Corp

Also Published As

Publication number Publication date
JP2013149004A (en) 2013-08-01

Similar Documents

Publication Publication Date Title
US8964218B2 (en) Printing system and printer
US8773698B2 (en) Printing control server and printing system
US8711411B2 (en) Print control server, print controlling method, and print control program
JP6364738B2 (en) Information processing system, information processing apparatus, program, and process execution method
US8947693B2 (en) Server system, method for printing system, and storage medium
US10379797B2 (en) Image forming apparatus that notifies a server, based on data size information, whether a portable document format is supported, and related method of controlling printing and printing system
JP6070212B2 (en) Printing system, printer, and printing method
JP2020140439A (en) Print management program, print management method, and print management device
JP2013246492A (en) System, image forming apparatus, server, and control method thereof
JP2013054421A (en) Processing control server, processing control method, and processing terminal
US20120236359A1 (en) Information processing apparatus, control method for information processing apparatus, and storage medium
US20170109110A1 (en) Printer list generator, mobile terminal, and printer list generation method
JP5817545B2 (en) Print trial device, print trial program, print trial method, print control server
JP5839102B2 (en) Printing system and printer
JP2022073284A (en) Information processing device
US11086579B2 (en) Server system having print notification and control method thereof
US9009244B2 (en) Image forming apparatus, and control method thereof
JP5928156B2 (en) E-mail processing system and e-mail processing method
US20230092279A1 (en) Printing system, print server, and printing control method
JP5900574B2 (en) Print control server, print control method, and print control program
JP2020064361A (en) Control device, control method, and program
JP6036966B2 (en) Printing system and printer
JP6849117B2 (en) Programs, information processing equipment, and information processing systems
JP6079845B2 (en) System and processing terminal
JP2020187728A (en) Information processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141119

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20150107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150714

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150807

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150914

R150 Certificate of patent or registration of utility model

Ref document number: 5817545

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350