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 PDFInfo
- 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
- 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
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.
しかし従来、プリンターを購入して上述した登録操作を行えば、任意の通信端末から電子メールを送信してプリンターに印刷を実行させられるか否かをユーザーは容易に判断できないという問題があった。例えば、プリンターがプロキシサーバーを介してインターネットに接続される環境では、プロキシサーバーが印刷制御サーバーとプリンターとの通信を遮断することがある。印刷制御サーバーとプリンターとの通信がプロキシサーバー等によって遮断される環境にプリンターを設置したとしても、印刷制御サーバーを利用することはできない。しかし、印刷制御サーバーとプリンターとの通信が遮断されるかどうかは専門知識がなければ判断することが困難である。 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.構成
図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
印刷制御サーバー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
印刷制御サーバー1に登録されているプリンター3は、インターネットを介して印刷制御サーバー1と通信することにより、印刷ジョブの発生に応じて印刷データを印刷制御サーバー1から取得して印刷を実行する機能を有する。
ここで、プリンター3を印刷制御サーバー1に登録し、電子メールを用いてプリンター3に印刷させる処理について説明する。はじめに、第1の通信端末としてのコンピューター6がプリンター3とHTTPを用いて通信することによってプリンター3へセットアップ開始要求を送信する。
The
Here, a process of registering the
セットアップ開始要求を取得したプリンター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
このようにしてプリンター3が印刷制御サーバー1に登録されると、プリンター3に割り当てた電子メールアドレスを宛先とした電子メールを用いて任意のユーザーがプリンター3に印刷を実行させることが可能になる。具体的には次の通りである。
When the
プリンター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
When an e-mail as a print request is transmitted, the
印刷ジョブの発生を通知されたプリンター3は、ジョブIDを含む印刷ジョブ情報を印刷制御サーバー1にHTTPを用いて送信することによって印刷データを印刷データ管理部14に要求する。印刷データを要求された印刷データ管理部14は、印刷データをHTTPを用いてプリンター3に送信する。印刷データを取得したプリンター3は、印刷データに基づいて印刷を実行する。
The
このように、印刷制御サーバー1に登録されたプリンター3が印刷依頼に応じて印刷を実行する過程においては、SMTP、HTTPおよびXMPPに基づいた通信が実行される。本実施例の印刷試行システムは、新たにプリンターを購入して印刷制御サーバー1に登録し、印刷依頼に応じてそのプリンターに印刷を実行させようとする者が、プリンターの購入前に、それが実現可能かどうかを容易に確認できるようにする。
Thus, in the process in which the
2.印刷試行方法
本実施例の印刷試行システムは、特定の条件下にプリンターを設置した場合に、そのプリンターがHTTPおよびXMPPに基づいて印刷制御サーバー1と通信できるか否かを仮想プリンター53との通信によって試行する。このため本実施例の印刷試行システムは、印刷制御サーバー1と仮想プリンター53として仮想化される無線端末5とを含む。
2. Printing Trial Method The printing trial system of the present embodiment communicates with the
印刷制御サーバー1の登録部11は、無線端末5の識別子を仮識別子として登録するともに、無線端末5を仮想プリンターとして仮想化するための仮想化プログラムを無線端末5に送信する機能を備えている。
The
無線端末5は、新たにプリンターを購入して印刷制御サーバー1に登録しようとする者によって管理されるタブレットPC(Personal Computer)である。なお、本実施例ではタブレットPCを印刷試行装置として用いるが、インターネットに接続することが可能なコンピュータを備える装置であれば、デスクトップコンピューター、携帯電話端末などどのような装置を印刷試行装置として用いても良い。本実施例では、印刷試行装置として無線端末5を利用するために印刷制御サーバー1にアクセスする前に、無線端末5にはMUA(Mail User Agent)51とブラウザ52とがインストールされているものとして説明する。すなわち、無線端末5には、電子メールの送信機能と、ウェブページの閲覧機能とが必要である。
The
そして、プリンター3を印刷制御サーバー1に登録する際に用いられる第一の通信端末としての機能と、プリンター3に対応する印刷依頼を送信する際に用いられる第二の通信端末としての機能とを無線端末5が担うとともに、無線端末5が仮想化されることで無線端末5自体がプリンターとしての機能も担う。以下、図2に基づいて詳細に説明する。
A function as a first communication terminal used when registering the
はじめに、新たにプリンターを購入して印刷制御サーバー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
試行要求を受信した印刷制御サーバー1は、無線端末5を仮想プリンターとして動作させるための仮想化プログラムを無線端末5に送信する(S201)。具体的には、登録部11は、試行要求の受信に応じてHTTPに基づいて仮想化プログラムの送信を開始しても良いし、試行要求の受信に応じて仮想化プログラムをダウンロードするためのウェブページを無線端末5に送信し、HTTPに基づいてダウンロード要求を無線端末5から取得してから仮想化プログラムを無線端末5に送信しても良い。ここで送信される仮想化プログラムを、ユーザーが購入を予定しているプリンターとして試行要求情報に含まれる機種に対応したプログラムとすることで、ユーザーが購入を予定しているプリンターの仕様に忠実に動作する仮想プリンターとして無線端末5を動作させることが可能になる。
The
仮想化プログラムを受信した無線端末5は、仮想化プログラムをインストールする(S103)。仮想化プログラムが無線端末5にインストールされる過程では、仮想化プログラムを構成するプログラムデータが無線端末5の不揮発性メモリに記憶され、無線端末5が仮想プリンターとして印刷制御サーバー1と通信するための識別子(以下、仮想プリンターの識別子)などが設定される。すなわち、仮想プリンターの識別子が無線端末5のRAMまたは不揮発性メモリに記憶される。無線端末5が仮想プリンターとして印刷制御サーバー1と通信するための識別子としては、MACアドレスのように無線端末5に固有の識別子を用いても良いし、ダウンロード前に登録部11によって仮想化プログラムに書き込まれた識別子であっても良いし、ユーザーが任意に定める文字列を用いてもよい。ただし、試行端末として機能する複数のコンピューターのそれぞれと個別に印刷制御サーバー1が通信できるように、仮想プリンターの識別子は試行端末毎にユニークでなければならない。
The
仮想化プログラムが無線端末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
仮想化プログラムが無線端末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
仮登録要求を取得した印刷制御サーバー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
仮想プリンター53を登録すると、印刷制御サーバー1は登録結果を仮想プリンター53に送信する(S205)。具体的には、登録部11は、実在するプリンター3に登録結果を送信する際と同様に、仮登録要求の送信元である仮想プリンター53に登録結果情報をHTTPに基づいて送信する。登録結果情報には、仮想プリンター53に割り当てられた識別子としての内部ID、XMPPログインパスワードおよび電子メールアドレスと、ジョブ通知部13のドメイン名とが含まれている。登録結果情報を取得した仮想プリンター53のHTTP通信部531は、仮想プリンター53に割り当てられた内部ID、XMPPログインパスワードおよび電子メールアドレスと、ジョブ通知部13のドメイン名を記憶する。
When the
続いて仮想プリンター53のXMPP通信部532は、識別子としての内部IDおよびXMPPドメイン名からXMPP JIDを生成し、XMPP JIDおよびXMPPログインパスワードをXMPP接続情報としてジョブ通知部13に送信してXMPP接続を確立する(S105)。XMPP JIDおよびXMPPログインパスワードをプリンター3から取得したジョブ通知部13は、XMPP接続結果(成功/失敗)をXMPP通信部532に送信する。
Subsequently, the
図1に示すようにプロキシサーバー4を介してインターネットに接続されたLANに無線端末5が接続されている場合、仮想プリンター53と印刷制御サーバー1とのXMPPに基づいた双方向通信がプロキシサーバー4によって遮断される場合がある。このような場合、仮想プリンター53から印刷制御サーバー1に送信したメッセージに対するレスポンスが印刷制御サーバー1から仮想プリンター53に戻ってこないことになる。XMPP接続に成功した場合、仮想プリンター53とジョブ通知部13とのXMPP接続は仮想プリンター53の実行が終了するまで継続する。
As shown in FIG. 1, when the
ここまでの過程で、実在するプリンター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
ここまでの過程でエラーが発生しなかった場合、無線端末5が接続されたLANに、仮想プリンター53に対応するプリンターを接続することによって、電子メールを用いてそのプリンターに印刷を実行させることが可能である。そしてプロキシサーバー4の設定に起因するエラーは、その設定を熟知している者であれば予見できるものの、そうでない者は予見できない。したがって、プリンターの仕様説明を読んだとしても、電子メールを用いて実際にそのプリンターを利用できるかどうかを判断できないことがあるという問題がある。ここまで述べた印刷試行方法は、そのような問題を解消するものである。以下に述べる処理は、電子メールを用いて利用できる通信環境に特定のプリンターを設置した場合に、そのプリンターがどのように動作するかや印刷を行いたいデータのフォーマットで正しく印刷できるかをユーザーに事前確認させるために実施される。
If no error has occurred in the process so far, by connecting a printer corresponding to the
電子メールを用いて利用できる通信環境に特定のプリンターを設置した場合に、そのプリンターがどのように動作するかを確認するためには、まず、仮想プリンター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
印刷依頼としての電子メールが送信されると、印刷依頼受信部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
When generation of a print job is requested, the print
ここで、仮想プリンター53に対応する機種が対応していないフォーマットのファイルが印刷対象になっている場合には、印刷データ管理部14は印刷ジョブを生成せずに、印刷依頼受信部12を介して仮想プリンター53にエラーを通知する。そして仮想プリンター53は、通知されたエラーに基づいて無線端末5の画面にエラーを表示する。これにより、ユーザーは、どのようなフォーマットのデータが印刷対象として処理されないのかを確認することができる。
Here, when a file in a format that is not supported by the model corresponding to the
印刷ジョブを記憶した印刷データ管理部14は、印刷ジョブの発生をプリンター3の内部IDおよびジョブIDとともにジョブ通知部13に通知する(S403)。
The print
印刷ジョブの発生を通知されたジョブ通知部13は、印刷ジョブ情報をXMPPを用いて送信することで印刷ジョブの発生を仮想プリンター53に通知する(S503)。
The
印刷ジョブの発生を通知された仮想プリンター53は、ジョブIDを含む印刷ジョブ情報を印刷制御サーバー1にHTTPを用いて送信することによって印刷データを印刷データ管理部14に要求する(S111)。
The
印刷データを要求された印刷データ管理部14は、印刷データをHTTPを用いて仮想プリンター53に送信する(S405)。
The print
印刷データを取得した仮想プリンター53は、印刷データに基づいてプレビュー画像を生成し、プレビュー画像を無線端末5の画面に表示する(S113)。これにより、ユーザーは印刷依頼としての電子メールに含めた印刷対象がどのように印刷されるのかを確認することができる。例えば、仮想プリンター53に対応する機種が対応している用紙サイズよりも印刷範囲が大きな画像を印刷対象とした場合には、画像の一部が切りかかれた状態のプレビュー画像が生成される。
The
以上説明した実施例によると、無線端末5が仮想プリンター53として仮想化され、仮想プリンター53に対応する仮の識別子を用いて実在するプリンターと同様に印刷制御サーバーと通信するため、実際に想定される特定の条件下において、プリンターと印刷制御サーバー1とが正常に通信できるか試行することができる。
According to the embodiment described above, since the
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
また上記実施形態では、印刷制御サーバー1の機能を単一のサーバーコンピューターで実現する例を説明したが、印刷制御サーバー1を物理的に独立した複数のサーバーコンピューターによって構成することも可能である。
In the above-described embodiment, the example in which the function of the
また、プリンター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
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
Further, in response to the user instructing the
1…印刷制御サーバー、2…インターネット、3…プリンター、4…プロキシサーバー、5…無線端末、11…登録部、12…印刷依頼受信部、13…ジョブ通知部、14…印刷データ管理部、51…MUA、52…ブラウザ、53…仮想プリンター、531…HTTP通信部、532…XMPP通信部、533…試行結果報知部
DESCRIPTION OF
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.
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)
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 |
-
2012
- 2012-01-18 JP JP2012007820A patent/JP5817545B2/en active Active
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 |