JP5021921B2 - Data conversion apparatus, data conversion system, data conversion method, program, and recording medium - Google Patents

Data conversion apparatus, data conversion system, data conversion method, program, and recording medium Download PDF

Info

Publication number
JP5021921B2
JP5021921B2 JP2005271105A JP2005271105A JP5021921B2 JP 5021921 B2 JP5021921 B2 JP 5021921B2 JP 2005271105 A JP2005271105 A JP 2005271105A JP 2005271105 A JP2005271105 A JP 2005271105A JP 5021921 B2 JP5021921 B2 JP 5021921B2
Authority
JP
Japan
Prior art keywords
data
format
port
data conversion
conversion
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.)
Expired - Fee Related
Application number
JP2005271105A
Other languages
Japanese (ja)
Other versions
JP2007080227A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2005271105A priority Critical patent/JP5021921B2/en
Publication of JP2007080227A publication Critical patent/JP2007080227A/en
Application granted granted Critical
Publication of JP5021921B2 publication Critical patent/JP5021921B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、受信したデータの形式を変換するデータ変換装置、このようなデータ変換装置と情報処理装置とを備えたデータ変換システム、このようなデータ変換装置によるデータ変換方法、コンピュータをこのようなデータ変換装置として機能させるためのプログラム、およびこのようなプログラムを記録したコンピュータ読み取り可能な記録媒体に関する。 The present invention relates to a data conversion apparatus that converts the format of received data, a data conversion system including such a data conversion apparatus and an information processing apparatus, a data conversion method using such a data conversion apparatus , and a computer. The present invention relates to a program for functioning as a data converter and a computer-readable recording medium on which such a program is recorded.

従来から、特定のポートをリスンして、そのポートで受信したデータに対してそのデータの形式によらず特定のデータ変換を行うデータ変換装置が知られている。
そして、このようなデータ変換装置の具体例としては、例えば、PC(パーソナルコンピュータ)から受信したプリントデータに基づいて印刷を行うプリンタが挙げられる。
2. Description of the Related Art Conventionally, there is known a data conversion apparatus that listens to a specific port and performs specific data conversion on data received at the port regardless of the data format.
A specific example of such a data conversion apparatus is a printer that performs printing based on print data received from a PC (personal computer).

図22に、このようなPCとプリンタの機能構成を示す。
この図に示すように、PC80には、一般的に、ワードプロセッサや表計算、ドローイングを始めとする種々の機能を実現するためのアプリケーション(アプリ)81を備えており、ユーザは、このアプリケーション81で取り扱う文書や図等をプリントするために、アプリケーション81に対して印刷の指示を行う。
FIG. 22 shows the functional configuration of such a PC and printer.
As shown in this figure, the PC 80 generally includes an application (application) 81 for realizing various functions such as a word processor, spreadsheet, and drawing. In order to print a document or a figure to be handled, an instruction for printing is issued to the application 81.

また、PC80には、アプリケーション81が出力する、プリントすべき画像の内容を、プリンタ90が処理できる形式のプリンタ言語で記載されたプリントデータ(プリント言語形式のプリントデータ)に変換するプリンタドライバ82を備えている。そして、アプリケーション81は、ユーザが印刷を指示した場合に、指定されたプリンタと対応するプリンタドライバ82に、出力する画像の内容を示すデータを渡し、プリンタドライバ82が、そのデータを、ユーザが指定したプリンタが処理できる形式のプリントデータに変換してポートモニタ83のスプールディレクトリにスプールする。   In addition, the PC 80 includes a printer driver 82 that converts the content of an image to be printed output from the application 81 into print data (print language format print data) described in a printer language in a format that can be processed by the printer 90. I have. When the user instructs printing, the application 81 passes data indicating the contents of the output image to the printer driver 82 corresponding to the designated printer, and the printer driver 82 designates the data. The print data is converted into a format that can be processed by the printer and spooled in the spool directory of the port monitor 83.

ポートモニタ83は、PC80とプリンタ90との間のデータの転送を行うドライバであり、スプールディレクトリにスプールされたデータを、使用するプリンタのアドレスの、9100番ポートに送信する。このポートは、プリンタが一般にプリントデータの受信に使用するポートである。   The port monitor 83 is a driver that transfers data between the PC 80 and the printer 90, and transmits the data spooled in the spool directory to the 9100th port of the printer address to be used. This port is a port that a printer generally uses to receive print data.

一方、プリンタ90には、実際にプリント動作を行うエンジン部であるプリントエンジン93と、プリンタアプリ91とを備えている。
そして、プリンタアプリ91は、起動している間は常に9100番ポートをリスンし、ここにデータが送られてくると、そのデータが特定のプリンタ言語で記載されたプリントデータであることを前提に、そのプリントデータを、プリントエンジン93にプリントを行わせるための画像データに変換する。この処理は、例えばプリントデータに基づいて画像メモリに描画を行い、ビットマップ形式の画像データを生成する処理である。そして、その画像データに基づいてプリントエンジン93を駆動することにより、用紙上に、受信したプリントデータに基づく画像を形成させることができる。
On the other hand, the printer 90 includes a print engine 93 that is an engine unit that actually performs a print operation, and a printer application 91.
The printer application 91 always listens to the 9100 port while it is running, and when data is sent here, it is assumed that the data is print data described in a specific printer language. The print data is converted into image data for causing the print engine 93 to perform printing. This process is, for example, a process of drawing in an image memory based on print data to generate image data in a bitmap format. Then, by driving the print engine 93 based on the image data, an image based on the received print data can be formed on the paper.

この場合において、プリンタアプリ91は、開発効率向上や処理負荷低減の観点から、受信したデータの形式はチェックせず、どのようなデータを受信した場合でも、同じように処理を行うようにすることが行われている。そして、このようにした場合でも、データの送信元のPCの側でプリンタアプリ91が処理できるような形式のデータを送信するような制御を確実に行えば、プリンタ90を問題なく動作させることができる。
このようなプリンタについては、例えば特許文献1に記載されている。
特開2004−252984号公報、段落0061 また、プリンタ等の画像形成装置にファイアウォールの外側からコマンドを送る手法としては、例えば特許文献2及び特許文献3に記載されているものが挙げられる。 特開2003−323360号公報 特開2004−5418号公報
In this case, from the viewpoint of improving development efficiency and reducing the processing load, the printer application 91 does not check the format of the received data, and performs the same processing when receiving any data. Has been done. Even in such a case, the printer 90 can be operated without any problems if the control of transmitting data in a format that can be processed by the printer application 91 is securely performed on the data transmission source PC side. it can.
Such a printer is described in Patent Document 1, for example.
JP, 2004-252984, A paragraph 0061 Moreover, as a method of sending a command from the outside of a firewall to an image forming apparatus such as a printer, for example, those described in Patent Document 2 and Patent Document 3 can be cited. JP 2003-323360 A JP 2004-5418 A

ところで、近年、個人情報を含む様々なデータへのセキュリティ重視の傾向が高まっている。そして、このため、HDD(ハードディスクドライブ)内のデータの保護や通信経路の保護のための様々な対策が取られるようになっている。
このうち、通信経路の保護については、インターネットチャンネルを用いた顧客とプロバイダとの間のデータ授受を暗号化することが行われているが、社内の通信インフラ(PCとプリンタ間、プリンタ同士の間等)についても同様な傾向が波及している。
こうした傾向を受け、例えば金融機関のような企業では、DMZ(DeMilitarized Zone)との境界線、サーバ室、各拠点間といった社内環境にも、ファイアウォールを設置することが行われるようになっている。
By the way, in recent years, a tendency of emphasizing security on various data including personal information is increasing. For this reason, various measures are taken to protect data in the HDD (hard disk drive) and to protect the communication path.
Of these, for communication path protection, data exchange between customers and providers using the Internet channel is encrypted, but in-house communication infrastructure (between PC and printer, between printers) Etc.) is also spreading.
In response to this trend, companies such as financial institutions, for example, are installing firewalls in the in-house environment such as boundaries with DMZ (DeMilitarized Zone), server rooms, and between bases.

これに対し、社内ネットワークに接続される装置には、独自のプロトコルを利用し、そのプロトコルに応じた独自のポートを使用して通信を行う装置が数多くある。上述したプリンタ90や、そのプリンタ90が使用する9100番ポートも、その一例である。そして、ファイアウォールは、通常はこのような独自のポートの使用を許可しないような設定がなされ、このようなポートに対する通信は遮断するようになっている。
従って、独自のプロトコルを利用した通信を行う装置をファイアウォール越しに使用できるようにするには、ファイアウォールの設定を変更してその独自のポートを使用できるようにする必要があり、その操作に手間を要するという問題があった。
On the other hand, many devices connected to the in-house network use a unique protocol and communicate using a unique port corresponding to the protocol. The printer 90 described above and the 9100 port used by the printer 90 are examples. The firewall is normally set not to permit the use of such a unique port, and communication with respect to such a port is blocked.
Therefore, to be able to use a device that communicates using a unique protocol over a firewall, it is necessary to change the firewall settings so that the unique port can be used. There was a problem that it took.

この問題に対しては、上記の特許文献2又は3に記載の技術等を利用し、独自のプロトコル及びポートを使用して通信を行う装置の側を、HTTP(HyperText Transfer Protocol)のように通常ファイアウォールで使用が許可されているポートを使用する通信を行うように改変してしまうことも考えられる。
しかし、このような改変は、従来知られている方法では、工数やコストがかかり、負担が大きいという問題があった。特に、ファイアウォール内部のみでの利用を考えると、改変後にも独自のプロトコルを利用した通信が行える状態であることが好ましいが、このような改変は、複数のプロトコルを意識した設計が必要になる分、余計に工数やコストがかかるという問題があった。
To deal with this problem, the technology described in Patent Document 2 or 3 above is used, and the side of the device that performs communication using a unique protocol and port is usually used as HTTP (HyperText Transfer Protocol). It may be modified to perform communication using a port that is allowed to be used by the firewall.
However, such a modification has a problem that a conventionally known method requires a lot of man-hours and costs, and a burden is large. In particular, considering the use only within the firewall, it is preferable that communication using a unique protocol can be performed even after modification, but such modification requires design that takes into account multiple protocols. There was a problem that it took extra man-hours and costs.

この発明は、このような問題を解決し、受信したデータに対してデータ変換を行う、ファイアウォール越しの通信に対応していないデータ変換装置を、容易にファイアウォール越しの通信に対応させられるようにすることを目的とする。 The present invention solves such a problem, and enables a data conversion apparatus that performs data conversion on received data and does not support communication through a firewall, and can easily support communication through a firewall. For the purpose.

上記の目的を達成するため、この発明のデータ変換装置は、ネットワークを介してファイアウォール越しに情報処理装置からデータを受信可能なデータ変換装置において、上記ファイアウォールで使用が許可されていないそのデータ変換装置が備える第1のポートで受信した第1のデータ形式のデータである第1のデータを、上記第1のデータ形式と異なる第3のデータ形式のデータである第3のデータに変換する第1のデータ変換手段と、上記ファイアウォールで使用が許可されているそのデータ変換装置が備える第2のポートで受信した、上記第1のデータ形式と異なる第2のデータ形式のデータである第2のデータを、上記第1のデータ形式のデータに変換した上で、その第1のデータ形式に変換したデータを上記第1のポートに送信することにより上記第1のデータ変換手段に供給して、上記第1のデータ変換手段によりその供給したデータを上記第3のデータ形式のデータに変換させることにより、上記第2のデータ形式と異なる上記第3のデータ形式のデータである第3のデータに変換する第2のデータ変換手段とを設けたものである。
このようなデータ変換装置において、上記第2のデータを、上記第1のデータ形式のデータを上記第2のデータ形式に変換することにより、ファイアウォール越しにそのデータ変換装置が備える第2のポートに送信するために生成されたデータとするとよい。
さらにまた、上記第2のデータ形式を、HTTP,HTTPS,LDAP,POP3,SMTP,FTPのいずれかのプロトコルにおいてデータ送信に用いられるデータ形式とするとよい。
In order to achieve the above object, a data conversion apparatus according to the present invention is a data conversion apparatus capable of receiving data from an information processing apparatus through a firewall via a network, the data conversion apparatus not permitted to be used by the firewall. The first data that is the first data format received by the first port included in the first data is converted into the third data that is the third data format different from the first data format. Second data that is data having a second data format different from the first data format received by the second port of the data conversion means and the second port of the data conversion device that is permitted to be used by the firewall the, after converted into data of the first data format, transmits the data converted into the first data format to the first port Is supplied to the first data conversion means by Rukoto, the supply data by converting the data of the third data format by the first data conversion means, different from the second data format And a second data conversion means for converting to third data which is data in the third data format.
Oite Such data conversion apparatus, the second data, the first data of the data format by converting into the second data format, the second included in the data conversion apparatus in firewalls It may be data generated for transmission to the port .
Furthermore, the second data format may be a data format used for data transmission in any one protocol of HTTP, HTTPS, LDAP, POP3, SMTP, and FTP.

さらに、上記第1のデータを、情報処理装置において作成されたデータであり、印刷装置において印刷させる内容を示す印刷内容データと、上記印刷装置にその印刷内容データに基づく印刷を行わせる際に使用する印刷設定の情報である印刷属性データとを含むものとし、上記第3のデータを、上記印刷装置が印刷を実行する時に取り扱う画像データとするとよい。
さらに、自身を省エネルギモードに移行させる手段と、上記第1のポートで何らかのデータを受信した場合に自身を省エネルギモードから通常動作モードに復帰させる手段と、上記第2のポートで何らかのデータを受信した場合に上記第1のポートに自身を通常動作モードに復帰させるためのダミーのデータを送信する手段とを設けるとよい。
Further, the first data is data created in the information processing device, and is used when printing content data indicating the content to be printed by the printing device and causing the printing device to perform printing based on the printing content data. Print attribute data that is information of print settings to be performed, and the third data may be image data handled when the printing apparatus executes printing.
Furthermore, means for shifting itself to the energy saving mode, means for returning itself from the energy saving mode to the normal operation mode when any data is received at the first port, and any data at the second port. It is preferable to provide means for transmitting dummy data for returning itself to the normal operation mode to the first port when it is received.

さらにまた、上記第2のデータ形式をHTTPメッセージの形式とし、上記第2のデータ変換手段に、上記第2のデータであるHTTPメッセージ中にパラメータとして記載されている印刷属性データ設けるとよい。
また、上記の各データ変換装置を、画像データに基づき印刷を行う印刷手段を備えた印刷装置として構成するとよい。
Furthermore, the second data format may be an HTTP message format, and the second data conversion means may be provided with print attribute data described as a parameter in the HTTP message that is the second data.
Each of the data conversion devices may be configured as a printing device including a printing unit that performs printing based on image data.

また、この発明のデータ変換システムは、情報処理装置と、その情報処理装置からネットワークを介してファイアウォール越しにデータを受信可能なデータ変換装置とを備えたデータ変換システムにおいて、上記データ変換装置に、上記ファイアウォールで使用が許可されていない上記データ変換装置が備える第1のポートで受信した第1のデータ形式のデータである第1のデータを、上記第1のデータ形式と異なる第3のデータ形式のデータである第3のデータに変換する第1のデータ変換手段と、上記ファイアウォールで使用が許可されている上記データ変換装置が備える第2のポートで受信した、上記第1のデータ形式と異なる第2のデータ形式のデータである第2のデータを、上記第1のデータ形式のデータに変換した上で、その第1のデータ形式に変換したデータを上記第1のポートに送信することにより上記第1のデータ変換手段に供給して、上記第1のデータ変換手段によりその供給したデータを上記第3のデータ形式のデータに変換させることにより、上記第2のデータ形式と異なる上記第3のデータ形式のデータである第3のデータに変換する第2のデータ変換手段とを設け、上記情報処理装置に、上記データ変換装置にデータを送信する場合に、上記第2のデータ形式のデータを上記第2のポートに送信する手段を設けたものである。
このようなデータ変換システムにおいて、上記第2のデータが、上記第1のデータ形式のデータを上記第2のデータ形式に変換することにより、ファイアウォール越しに上記データ変換装置が備える第2のポートに送信するために上記情報処理装置において生成されたデータであるとよい。
さらにまた、上記第2のデータ形式を、HTTP,HTTPS,LDAP,POP3,SMTP,FTPのいずれかのプロトコルにおいてデータ送信に用いられるデータ形式とするとよい。
Further, the data conversion system of the present invention is a data conversion system comprising an information processing device and a data conversion device capable of receiving data from the information processing device through a network through a firewall. The third data format different from the first data format is the first data that is the data of the first data format received by the first port of the data conversion device that is not permitted to be used by the firewall. Different from the first data format received by the first data conversion means for converting the data into the third data, and the second port of the data conversion device permitted to be used by the firewall. the second data is data of a second data format, after converted into data of the first data format, the first The data converted into the data format is transmitted to the first port to be supplied to the first data conversion means, and the data supplied by the first data conversion means is converted into the third data format. A second data conversion means for converting the data into third data which is data in the third data format different from the second data format by converting the data into the data; Means is provided for transmitting data of the second data format to the second port when data is transmitted to the conversion device.
In such a data conversion system , the second data converts the data in the first data format into the second data format , so that the second data port is provided in the data conversion device over the firewall. The data may be data generated in the information processing apparatus for transmission.
Furthermore, the second data format may be a data format used for data transmission in any one protocol of HTTP, HTTPS, LDAP, POP3, SMTP, and FTP.

さらに、上記第1のデータに、印刷装置において印刷させる内容を示す印刷内容データと、上記印刷装置にその印刷内容データに基づく印刷を行わせる際に使用する印刷設定の情報である印刷属性データとを含め、上記第3のデータを、上記印刷装置が印刷を実行する時に取り扱う画像データとするとよい。
さらに、上記データ変換装置に、自身を省エネルギモードに移行させる手段と、上記第1のポートで何らかのデータを受信した場合に自身を省エネルギモードから通常動作モードに復帰させる手段と、上記第2のポートで何らかのデータを受信した場合に上記第1のポートに自身を通常動作モードに復帰させるためのダミーのデータを送信する手段とを設けるとよい。
さらに、上記第2のデータ形式をHTTPメッセージの形式とし、上記データ変換装置の上記第2のデータ変換手段に、上記第2のデータであるHTTPメッセージ中にパラメータとして記載されている印刷属性データをPJL言語の印刷属性データに変換する手段を設けるとよい。
また、上記データ変換装置を、画像データに基づき印刷を行う印刷手段を備えた印刷装置として構成するとよい。
Further, the first data includes print content data indicating the content to be printed by the printing apparatus, and print attribute data that is information of print settings used when the printing apparatus performs printing based on the print content data. The third data including the image data may be image data handled when the printing apparatus executes printing.
Further, means for causing the data converter to shift itself to an energy saving mode, means for returning itself from the energy saving mode to the normal operation mode when receiving some data at the first port, and the second It is preferable to provide means for transmitting dummy data for returning itself to the normal operation mode to the first port when any data is received at the first port.
Further, the second data format is changed to an HTTP message format, and the print attribute data described as a parameter in the HTTP message as the second data is sent to the second data conversion means of the data converter. Means for converting into print attribute data in PJL language may be provided.
The data conversion apparatus may be configured as a printing apparatus including a printing unit that performs printing based on image data.

また、この発明のデータ変換装置の制御方法は、ネットワークを介してファイアウォール越しに情報処理装置からデータを受信可能なデータ変換装置に、上記ファイアウォールで使用が許可されていない上記データ変換装置が備える第1のポートで受信した第1のデータ形式のデータである第1のデータを、上記第1のデータ形式と異なる第3のデータ形式のデータである第3のデータに変換する第1のデータ変換手順と上記ファイアウォールで使用が許可されている上記データ変換装置が備える第2のポートで受信した、上記第1のデータ形式と異なる第2のデータ形式のデータである第2のデータを、上記第1のデータ形式のデータに変換した上で、その第1のデータ形式に変換したデータを上記第1のポートに送信することにより上記第1のデータ変換手順によるデータ変換に供して、上記第1のデータ変換手順によりその供したデータを上記第3のデータ形式のデータに変換することにより、上記第2のデータ形式と異なる上記第3のデータ形式のデータである第3のデータに変換する第2のデータ変換手順とを実行させるものである。 Further, according to the data conversion device control method of the present invention, the data conversion device that can receive data from the information processing device through the firewall via the network is provided in the data conversion device that is not permitted to be used by the firewall . 1st data conversion which converts the 1st data which is the data of the 1st data format received in 1 port into the 3rd data which is the data of the 3rd data format different from the 1st above-mentioned data format and instructions received by the second port provided in the data conversion apparatus used in the firewall is permitted, the second data is data of a second data format different from the first data format, the By converting the data into the first data format and then transmitting the data converted into the first data format to the first port Was subjected to the data conversion by the first data conversion procedure, by converting the test data to the data of the third data format by the first data conversion procedure, the first differs from the second data format And a second data conversion procedure for converting the data into the third data which is data of the third data format.

さらに、上記データ変換装置に、自身を省エネルギモードに移行させる手順と、上記第1のポートで何らかのデータを受信した場合に自身を省エネルギモードから通常動作モードに復帰させる手順と、上記第2のポートで何らかのデータを受信した場合に上記第1のポートに自身を通常動作モードに復帰させるためのダミーのデータを送信する手順とを実行させるようにするとよい。   And a procedure for causing the data converter to shift itself to the energy saving mode, a procedure for returning itself from the energy saving mode to the normal operation mode when receiving some data at the first port, and the second When any data is received at this port, it is preferable to execute a procedure for transmitting dummy data for returning itself to the normal operation mode to the first port.

さらにまた、上記第2のデータ形式をHTTPメッセージの形式とし、上記第2のデータ変換手順に、上記第2のデータであるHTTPメッセージ中にパラメータとして記載されている印刷属性データをPJL言語の印刷属性データに変換する手順を設けるとよい。 Furthermore, the second data format is an HTTP message format, and the print attribute data described as a parameter in the HTTP message, which is the second data, is printed in the PJL language in the second data conversion procedure. A procedure for converting to attribute data may be provided.

また、この発明のプログラムは、コンピュータを上記のいずれかのデータ変換装置として機能させるためのプログラムである。 The program of the present invention is a program for causing a computer to function as any one of the above data conversion devices.

また、この発明の記録媒体は、上記のいずれかのプログラムを記録したコンピュータ読み取り可能な記録媒体である。   The recording medium of the present invention is a computer-readable recording medium on which any one of the above programs is recorded.

以上のようなこの発明のデータ変換装置、データ変換システム、またはデータ変換方法によれば、受信したデータに対してデータ変換を行う、ファイアウォール越しの通信に対応していないデータ変換装置を、容易にファイアウォール越しの通信に対応させられるようにすることができる。
また、この発明のプログラムによれば、コンピュータにデータ変換装置の機能を実現させ、同様な効果を得ることができる。
この発明の記録媒体によれば、上記のプログラムを記憶していないコンピュータにそのプログラムを読み出させて実行させ、上記の効果を得ることができる。
According to the data conversion device, the data conversion system, or the data conversion method of the present invention as described above, a data conversion device that performs data conversion on received data and does not support communication through a firewall can be easily performed. It can be made to correspond to communication through a firewall .
Further, according to the program of the present invention, the function of the data conversion device can be realized by the computer, and the same effect can be obtained.
According to the recording medium of the present invention, the above effect can be obtained by causing a computer not storing the above program to read and execute the program.

以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
〔第1の実施形態:図1乃至図5〕
まず、図1に、この発明のデータ変換システムの第1の実施形態の構成を示す機能ブロック図を示す。
この図に示すように、このデータ変換システムは、情報処理装置10と、データ変換装置20を、LAN(ローカルエリアネットワーク)のようなネットワーク等の何らかの通信経路によって通信可能に接続して構成することができる。ただし、この通信経路は、少なくとも情報処理装置10からデータ変換装置20にデータを送信できるものであればよく、逆方向のデータ送信が可能である必要はない。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
[First Embodiment: FIGS. 1 to 5]
FIG. 1 is a functional block diagram showing the configuration of the first embodiment of the data conversion system of the present invention.
As shown in this figure, the data conversion system is configured by connecting the information processing apparatus 10 and the data conversion apparatus 20 so that they can communicate with each other through some communication path such as a network such as a LAN (local area network). Can do. However, this communication path only needs to be at least capable of transmitting data from the information processing apparatus 10 to the data conversion apparatus 20, and need not be able to transmit data in the reverse direction.

また、データ変換装置20は、第1のデータ変換機能部21と第2のデータ変換機能部22を有する。そして、第1のデータ変換機能部21は、第1のデータ変換手段であり、第1のポートをリスンして、そのポートで受信したデータに対してそのデータの形式によらず特定のデータ変換を行う機能を有する。また、第2のデータ変換機能部22は、第2のデータ変換手段であり、第1のポートとは異なる第2のポートをリスンして、そのポートで受信したデータに対して、第1のデータ変換機能部21が取り扱うことのできる形式へのデータ変換を行って、その変換後のデータをループバックにより第1のポートに送信する機能を有する。   Further, the data conversion device 20 includes a first data conversion function unit 21 and a second data conversion function unit 22. The first data conversion function unit 21 is a first data conversion unit that listens to the first port and converts the data received at the port to a specific data conversion regardless of the data format. It has a function to perform. The second data conversion function unit 22 is a second data conversion unit, which listens to a second port different from the first port and performs a first operation on data received at the port. The data conversion function unit 21 has a function of performing data conversion into a format that can be handled, and transmitting the converted data to the first port by loopback.

なお、第1のデータ変換機能部21による処理後のデータは、外部に出力しても、データ変換装置20の内部で別の用途に使用してもよい。
また、ここでいう「データの形式によらず」とは、アプリケーションが処理対象として認識するレベルでの形式を指すものである。装置間でデータを送受信する際には、通信プロトコルに従ってデータパケットに所定の形式のヘッダやフッタを付すことが行われるので、ポートに入力するデータ自体には、一部所定の形式であることが必要な部分もあるが、この部分のデータについては考慮しないものとする。
The data processed by the first data conversion function unit 21 may be output to the outside or used for another purpose inside the data conversion device 20.
Further, the term “regardless of the data format” here refers to a format at a level recognized by the application as a processing target. When data is transmitted and received between devices, a header or footer of a predetermined format is attached to a data packet in accordance with a communication protocol. Therefore, data input to a port itself may have a predetermined format. Although there is a necessary part, the data of this part is not considered.

一方、情報処理装置10は、送信データ生成部11と通信制御部12を備えている。そして、送信データ生成部11は、データ変換装置20に送信して処理させるデータを生成する機能を有し、通信制御部12は、送信データ生成部11が生成したデータを、データ変換装置20の第1のポート又は第2のポートに送信する機能を有する。なお、データ変換装置20のアドレス等の宛先情報は、通信制御部12が参照できるように予め設定しておくようにする。   On the other hand, the information processing apparatus 10 includes a transmission data generation unit 11 and a communication control unit 12. The transmission data generation unit 11 has a function of generating data to be transmitted to the data conversion device 20 and processed, and the communication control unit 12 converts the data generated by the transmission data generation unit 11 to the data conversion device 20. It has a function of transmitting to the first port or the second port. The destination information such as the address of the data conversion device 20 is set in advance so that the communication control unit 12 can refer to it.

また、情報処理装置10とデータ変換装置20との間には、ファイアウォール50を設け、予め定めた特定のポート以外のポートを使用した通信を遮断し、不正な通信を防止できるようにしている。すなわち、データ変換装置20は、情報処理装置10からファイアウォール50越しにデータを受信することになる。そして、データ変換装置20における第2のポートは、ファイアウォール50において使用が許可されているポート、第1のポートは、ファイアウォール50において使用が許可されていないポートである。
このため、情報処理装置10からデータ変換装置20にデータを送信しようとする場合、第1のポートに送信しようとすると、その送信はファイアウォール50によって遮断されてしまう。一方、第2のポートに送信すれば、ファイアウォール50を通過してデータ変換装置20までデータを届けることができる。
Further, a firewall 50 is provided between the information processing apparatus 10 and the data conversion apparatus 20, and communication using a port other than a predetermined specific port is blocked so that unauthorized communication can be prevented. That is, the data conversion apparatus 20 receives data from the information processing apparatus 10 through the firewall 50. The second port in the data conversion device 20 is a port that is permitted to be used in the firewall 50, and the first port is a port that is not permitted to be used in the firewall 50.
For this reason, when data is to be transmitted from the information processing apparatus 10 to the data conversion apparatus 20, the transmission is blocked by the firewall 50 when attempting to transmit to the first port. On the other hand, if the data is transmitted to the second port, the data can be delivered to the data converter 20 through the firewall 50.

ここで、HTTPやHTTPS(HyperText Transfer Protocol Security)、あるいはLDAP(Lightweight Directory Access Protocol),POP3(Post Office Protocol 3),SMTP(Simple Mail Transport Protocol),FTP(File Transfer Protocol)のような通常よく使用されるプロトコルを用いた通信に使用されるポート、すなわちこれらのプロトコルを用いた通信に使用する旨が予約されているポートは、ファイアウォール50において使用が許可されることが多いため、第2のポートとするに適する。
そして、データ変換装置20の第2のポートにデータを送信する際には、そのポート番号と対応するプロトコルを使用し、データの形式も、そのプロトコルを用いた転送に適した形式とするとよい。第2のデータ変換機能部22は、このデータを、第1のデータ変換機能部が取り扱うことのできる形式へ変換する機能を有し、変換後のデータを第1のポートにループバックする。
Here, HTTP, HTTPS (HyperText Transfer Protocol Security), or LDAP (Lightweight Directory Access Protocol), POP3 (Post Office Protocol 3), SMTP (Simple Mail Transport Protocol), FTP (File Transfer Protocol) are usually used frequently. The port used for communication using the protocol to be used, that is, the port reserved to be used for communication using these protocols is often permitted in the firewall 50, so the second port Suitable for
When data is transmitted to the second port of the data converter 20, a protocol corresponding to the port number is used, and the data format may be a format suitable for transfer using the protocol. The second data conversion function unit 22 has a function of converting this data into a format that can be handled by the first data conversion function unit, and loops back the converted data to the first port.

すると、第1のデータ変換機能部21は、情報処理装置10からのデータが初めから第1のポートに送信されてきたかの如く、第2のデータ変換機能部22から送信されてきたデータを変換し、変換後のデータを出力することができる。
従って、データ変換装置20によれば、情報処理装置10から第1のポートにデータを送信できない環境下であっても、データ変換装置20側で、ファイアウォールのない環境での使用を想定して設計した第1のデータ変換機能部21に一切変更を加えることなく、また、ファイアウォール50の設定を変更することもなく、情報処理装置10から第2のポートに、そのポートへの送信に適した形式でデータを送信することにより、第1のポートにデータを送信した場合と同等な出力を得ることができる。
Then, the first data conversion function unit 21 converts the data transmitted from the second data conversion function unit 22 as if the data from the information processing apparatus 10 was transmitted to the first port from the beginning. The converted data can be output.
Therefore, according to the data conversion apparatus 20, even in an environment where data cannot be transmitted from the information processing apparatus 10 to the first port, the data conversion apparatus 20 is designed on the assumption that it is used in an environment without a firewall. A format suitable for transmission from the information processing apparatus 10 to the second port without any change to the first data conversion function unit 21 and without changing the setting of the firewall 50. By transmitting the data, it is possible to obtain an output equivalent to the case where the data is transmitted to the first port.

なお、図2に示すように、情報処理装置10がデータ変換装置20と同じファイアウォールの内側にあり、これらの間にファイアウォールがない場合も考えられる。
そして、このような場合には、情報処理装置10からデータ変換装置20の第1のポートに、第1のデータ変換機能部21が取り扱うことのできる形式のデータを送信して処理させることも可能である。データ変換装置20に第2のデータ変換機能部22を設けたとしても、このような第1のデータ変換機能部21の機能はいささかも妨げられることはない。従って、このような場合には、通信制御部12に、第2のデータ変換機能部22が取り扱うことのできる形式でのデータ送信を行う機能を設けなくても、データ変換装置20に、変換後データの出力を行わせることができる。
In addition, as shown in FIG. 2, the information processing apparatus 10 is inside the same firewall as the data conversion apparatus 20, and there may be no firewall between them.
In such a case, data in a format that can be handled by the first data conversion function unit 21 can be transmitted from the information processing apparatus 10 to the first port of the data conversion apparatus 20 for processing. It is. Even if the second data conversion function unit 22 is provided in the data conversion device 20, the function of the first data conversion function unit 21 is not hindered at all. Therefore, in such a case, even if the communication control unit 12 is not provided with a function for transmitting data in a format that can be handled by the second data conversion function unit 22, the data conversion device 20 can perform post-conversion. Data can be output.

ただし、第1のデータ変換機能部21は、受信したデータの形式によらず特定のデータ変換を行うようにしている。従って、処理対象として想定している形式以外の形式のデータを受信してしまうと、変換処理が意味を成さないものとなり、出力が全く無意味なデータになってしまう。従って、情報処理装置10の側で、送信先のポートに応じた適切な形式のデータをデータ変換装置20に送信する必要がある。   However, the first data conversion function unit 21 performs specific data conversion regardless of the format of the received data. Therefore, if data in a format other than the format assumed as the processing target is received, the conversion processing does not make sense, and the output becomes completely meaningless data. Therefore, it is necessary for the information processing apparatus 10 side to transmit data in an appropriate format according to the transmission destination port to the data conversion apparatus 20.

第2のデータ変換機能部22も、同様に受信したデータの形式によらず特定のデータ変換を行うようにしてもよい。しかし、第2のデータ変換機能部22が処理するデータは、上述したようなHTTPやHTTPSを始めとする、よく使用されるプロトコルを用いた転送に適した形式のデータとすることが好ましい。そして、このような形式のデータには、種々のパラメータを含め、データの内容を示すことがよく行われるため、このようなパラメータの値を参照し、その値に応じて処理の内容を変えるようにしてもよい。
例えば、基本処理として、HTTPメッセージの所定のタグの中身を取り出す処理を行い、HTTPメッセージ中に、その所定のタグの中身が圧縮されている旨の情報が含まれていた場合には、取り出したデータにさらに解凍処理を行う等である。
Similarly, the second data conversion function unit 22 may perform specific data conversion regardless of the format of the received data. However, the data processed by the second data conversion function unit 22 is preferably data in a format suitable for transfer using a commonly used protocol such as HTTP or HTTPS described above. Since data in such a format is often used to indicate the contents of the data including various parameters, the values of such parameters are referred to, and the contents of processing are changed according to the values. It may be.
For example, as a basic process, a process for extracting the contents of a predetermined tag of an HTTP message is performed. If the HTTP message includes information indicating that the contents of the predetermined tag are compressed, the contents are extracted. For example, the data is further decompressed.

次に、図3に、上述したデータ変換装置20のハードウェア構成を示す。
この図に示すように、データ変換装置20は、CPU121,ROM122,RAM123,不揮発性メモリ124,通信インタフェース(I/F)125を備え、これらがシステムバス126により接続されている。
Next, FIG. 3 shows a hardware configuration of the data conversion apparatus 20 described above.
As shown in this figure, the data conversion apparatus 20 includes a CPU 121, ROM 122, RAM 123, nonvolatile memory 124, and communication interface (I / F) 125, which are connected by a system bus 126.

そして、CPU121は、データ変換装置20全体を統括制御する制御手段であり、ROM122や不揮発性メモリ124に記録された種々のプログラムを実行することにより、第1,第2のデータ変換手段等の各手段として機能し、この実施形態の特徴に係る種々の機能を実現する。
ROM122は、不揮発性の記憶手段であり、CPU121が実行するプログラムや、固定的なパラメータ等を記憶する。ROM122を書き換え可能な記憶手段として構成し、これらのデータをアップデートできるようにしてもよい。
The CPU 121 is a control unit that performs overall control of the entire data conversion device 20, and executes various programs recorded in the ROM 122 and the non-volatile memory 124, whereby each of the first and second data conversion units and the like is executed. It functions as a means to realize various functions according to the features of this embodiment.
The ROM 122 is a nonvolatile storage unit, and stores programs executed by the CPU 121, fixed parameters, and the like. The ROM 122 may be configured as a rewritable storage means so that these data can be updated.

RAM123は、一時的に使用するデータを記憶したり、CPU121のワークメモリとして使用したりする記憶手段である。
不揮発性メモリ124は、フラッシュメモリやHDD(ハードディスクドライブ)等による書き換え可能な不揮発性記憶手段であり、CPU121が実行するプログラムや、装置の電源がOFFされた後でも保持しておく必要があるパラメータの値等を記憶する。
The RAM 123 is storage means for storing temporarily used data or used as a work memory for the CPU 121.
The non-volatile memory 124 is a rewritable non-volatile storage means such as a flash memory or an HDD (hard disk drive). The program executed by the CPU 121 and parameters that need to be retained even after the apparatus is turned off. The value of etc. is memorized.

通信I/F125は、データ変換装置20をネットワークに接続するためのインタフェースであり、例えばイーサネット(登録商標)方式の通信を行うためのネットワークインタフェースとすることができる。そして、ネットワークを介して他の装置と通信を行う場合、この通信I/F125とCPU121とが通信手段として機能する。なお、通信I/F125は、ネットワークの規格や使用する通信プロトコル等に応じて適切なものを用意する。また、複数の規格に対応させて複数の通信I/F125を設けることも当然可能である。   The communication I / F 125 is an interface for connecting the data conversion apparatus 20 to a network, and can be a network interface for performing Ethernet (registered trademark) communication, for example. And when communicating with another apparatus via a network, this communication I / F125 and CPU121 function as a communication means. Note that an appropriate communication I / F 125 is prepared in accordance with a network standard, a communication protocol to be used, and the like. It is also possible to provide a plurality of communication I / Fs 125 corresponding to a plurality of standards.

なお、図3には示していないが、データ変換装置20に、外部に対して通信以外の物理的な出力を行うためのエンジン部を設けてもよい。このエンジン部は、例えばデータ変換装置20がレーザプリンタであれば、電子写真方式によるプリントエンジンであり、CPU121がこれらの動作を適切に制御することにより、データ変換装置20にプリント動作を実行させることができる。
また、情報処理装置10のハードウェア構成も、図3に示したものと同様、CPU,ROM,RAM,HDD,通信I/Fを設けたものとすればよく、例えば公知のコンピュータを用いることができる。
Although not shown in FIG. 3, the data conversion device 20 may be provided with an engine unit for performing physical output other than communication to the outside. For example, if the data conversion device 20 is a laser printer, the engine unit is an electrophotographic print engine, and the CPU 121 causes the data conversion device 20 to execute a print operation by appropriately controlling these operations. Can do.
Also, the hardware configuration of the information processing apparatus 10 may be a CPU, a ROM, a RAM, an HDD, and a communication I / F as in the case shown in FIG. 3. For example, a known computer is used. it can.

そして、これらのハードウェアに、図1を用いて説明したような機能を実現させることにより、データ変換装置20において、第1のデータ変換機能部21が、処理するデータの取得をファイアウォール50によって使用が許可されていない第1のポートから行う機能しか有しない場合でも、ファイアウォール50の外側からデータ変換装置20に対してデータを送信し、望みのデータを第1のデータ変換機能部21に処理させ、最終的に第1のデータ変換機能部21による変換後の形式のデータを出力させることができる。   Then, by realizing the functions described with reference to FIG. 1 in these hardware, the first data conversion function unit 21 uses the firewall 50 to acquire data to be processed in the data conversion device 20. Even if it has only a function to be performed from the first port that is not permitted, data is transmitted from the outside of the firewall 50 to the data conversion device 20 to cause the first data conversion function unit 21 to process the desired data. Finally, the data in the format after the conversion by the first data conversion function unit 21 can be output.

また、この場合において、第1のデータ変換機能部21がデータを受け取る受け口を、情報処理装置10から受け取る場合と、第2のデータ変換機能部22から受け取る場合とで共通化しているため、第1のデータ変換機能部21(を実現するためのソフトウェアやハードウェア)が開発済みである場合、それ自体を改変する必要は全くない。そして、第2のデータ変換機能部22を実現するためのソフトウェアやハードウェアを追加するだけで、データ変換装置20に上述した機能を実現させることができる。
従って、データ変換装置20が、ファイアウォールで使用が許可されているポートでデータを受信して第1のデータ変換機能部21による処理に供することができるようにしつつ、このような機能を有する装置を、既存の資源を利用して容易に開発できるようにすることができる。
Further, in this case, since the first data conversion function unit 21 receives the data receiving port from the information processing apparatus 10 and the second data conversion function unit 22 in common, the first data conversion function unit 21 receives the data. When one data conversion function unit 21 (software or hardware for realizing the data conversion function unit 21) has been developed, there is no need to modify itself. Then, the function described above can be realized in the data conversion apparatus 20 only by adding software or hardware for realizing the second data conversion function unit 22.
Therefore, the data conversion device 20 can receive data at a port permitted to be used by the firewall and can be used for processing by the first data conversion function unit 21, while a device having such a function is provided. Can be developed easily using existing resources.

なお、図4に示すように、データ変換機能部を多段に設け、順次、次段のデータ変換機能部で処理可能なデータ形式への変換を行って、そのデータ変換機能部がデータを受け付けるポートに、変換後のデータをループバックさせるようにしても、同様な効果を得ることができる。この場合、第1のデータ変換機能部21以外の各データ変換機能部が、第2のデータ変換手段に該当する。また、最初にデータを受け付けるポート(図4では第3のポート)のみについて、ファイアウォール50で使用が許可されていれば、その後の処理を問題なく行うことができる。また、図では3段だが、それ以上のデータ変換機能部を設けてよいことは、もちろんである。   In addition, as shown in FIG. 4, the data conversion function part is provided in multiple stages, sequentially converts to a data format that can be processed by the data conversion function part in the next stage, and the data conversion function part receives data. In addition, the same effect can be obtained by looping back the converted data. In this case, each data conversion function unit other than the first data conversion function unit 21 corresponds to the second data conversion unit. If only the port that receives data first (the third port in FIG. 4) is permitted by the firewall 50, the subsequent processing can be performed without any problem. Moreover, although it is three steps in the figure, it is needless to say that a data conversion function unit beyond that may be provided.

そして、このようにした場合でも、情報処理装置10側の通信制御部12がプリントデータをデータ変換装置20′に送信する際のポートを第3のポートとし、第3のデータ変換機能部23が取り扱うことのできるデータ形式で送信を行うようにすれば、データ変換装置20′の側では、各データ変換機能部がデータ変換を実行しつつ、最終的に第1のデータ変換機能部21による変換後のデータを出力させることができる。   Even in this case, the port when the communication control unit 12 on the information processing device 10 side transmits the print data to the data conversion device 20 ′ is the third port, and the third data conversion function unit 23 is If transmission is performed in a data format that can be handled, each data conversion function unit performs data conversion on the data conversion device 20 'side, and finally conversion by the first data conversion function unit 21 is performed. Later data can be output.

この場合において、多段の変換処理のうち、途中のデータ変換機能部と対応するポート(例えば図3における第2のポート)もファイアウォールで使用が許可されていれば、ここにデータを送信しても、対応する変換機能部以降の変換処理を実行させることも可能である。すなわち、多段の変換処理のうち、途中の工程から処理を開始させる制御も、情報処理装置10側でデータ変換装置20′にデータを送信する際のポートの選択により、可能である。   In this case, if the use of the port corresponding to the data conversion function part in the middle (for example, the second port in FIG. 3) is permitted by the firewall in the multi-stage conversion process, the data can be transmitted here. It is also possible to execute conversion processing after the corresponding conversion function unit. That is, of the multi-stage conversion processing, control for starting processing from an intermediate process is also possible by selecting a port when transmitting data to the data conversion device 20 ′ on the information processing device 10 side.

また、図5に示すように、データ変換装置20″側で、複数のデータ変換機能部が、第1のデータ変換機能部21が取り扱うことのできる形式へのデータ変換を行って、処理後のデータを第1のポートにループバックさせるような構成も可能である。このようにしても、最初にデータを受け付けるポート(図5では第2及び第3のポート)について、ファイアウォール50で使用が許可されていれば、最終的に第1のデータ変換機能部21による変換後のデータを出力させることができる。
図4のような構成は、データ変換を入れ子式に行う必要がある場合、図5のような構成は、第1のデータ変換機能部21が処理できる形式にするまでのデータ変換は1度に1種類でよいが、複数の変換方式又はプロトコルに対応させたい場合に採用するとよい。もちろん、これらを組み合わせてもよい。
Further, as shown in FIG. 5, on the data conversion device 20 ″ side, a plurality of data conversion function units perform data conversion into a format that can be handled by the first data conversion function unit 21. A configuration is also possible in which the data is looped back to the first port, and even in this case, the firewall 50 is permitted to use the ports that receive data first (the second and third ports in FIG. 5). If so, the data converted by the first data conversion function unit 21 can be finally output.
In the configuration as shown in FIG. 4, when it is necessary to perform data conversion in a nested manner, the configuration as shown in FIG. 5 performs data conversion until the first data conversion function unit 21 can process the data at a time. One type may be used, but it may be adopted when it is desired to support a plurality of conversion methods or protocols. Of course, these may be combined.

〔第2の実施形態:図6乃至図14〕
次に、この発明のデータ変換システムの、より具体的な第2の実施形態について説明する。図6は、その第2の実施形態であるプリントシステムの構成を示す機能ブロック図である。なお、この図においては、ソフトウェアにより実現される機能を示すブロックに、そのソフトウェアの名称を付している。また、以後、説明の便宜のため、CPUがソフトウェアを実行することによって行う処理や動作を、そのソフトウェアが処理や動作を行うものとして説明することもある。
[Second Embodiment: FIGS. 6 to 14]
Next, a more specific second embodiment of the data conversion system of the present invention will be described. FIG. 6 is a functional block diagram showing the configuration of the print system according to the second embodiment. In this figure, the name of the software is attached to the block indicating the function realized by the software. Further, hereinafter, for convenience of explanation, processing and operations performed by the CPU executing the software may be described as processing performed by the software.

図6に示すように、このプリントシステムは、PC30とプリンタ40によって構成している。そして、これらはそれぞれ第1の実施形態の情報処理装置10及びデータ変換装置20に該当する。
そして、プリンタ40は、第1のデータ変換手段としてプリンタアプリ41を、第2のデータ変換手段としてHTTP通信用アプリ42及びHTTPS通信用アプリ43を有する。
As shown in FIG. 6, this print system includes a PC 30 and a printer 40. These correspond to the information processing apparatus 10 and the data conversion apparatus 20 of the first embodiment, respectively.
The printer 40 includes a printer application 41 as the first data conversion unit, and an HTTP communication application 42 and an HTTPS communication application 43 as the second data conversion unit.

そして、プリンタアプリ41は、第1のポートである9100番ポートをリスンして、ここで何らかのデータを受信した場合、そのデータを特定のプリンタ言語で記載されたプリントデータとして取り扱い、そのプリントデータを、プリントエンジン44にプリントを行わせるための画像データに変換する処理を行う。すなわち、背景技術の項で図22を用いて説明したプリンタ90のプリンタアプリ91と同様な機能を有する。   Then, when the printer application 41 listens to the 9100 port as the first port and receives some data here, the printer application 41 treats the data as print data written in a specific printer language, and handles the print data. Then, the image data is converted into image data for causing the print engine 44 to perform printing. That is, it has the same function as that of the printer application 91 of the printer 90 described with reference to FIG.

また、HTTP通信用アプリ42は、PC30等の外部装置との間でHTTPを用いた通信を行う機能を有する。そして、第2のポートであるHTTPポート、より具体的には、80番ポートや8080番ポート等、HTTPを用いた通信に通常使用するポート、をリスンして、ここで何らかのデータを受信した場合、そのデータをHTTPメッセージとして取り扱い、その構造を解析すると共に、プリンタアプリ41が取り扱うことができる形式のプリントデータが記載されているはずの特定のタグ内の要素を取り出す機能を有する。また、取り出したプリントデータをループバックにより9100番ポートに送信する機能も有する。その他の機能を併せ持たせてもよいが、この点については後述する。   The HTTP communication application 42 has a function of performing communication using an HTTP with an external device such as the PC 30. When listening to an HTTP port as a second port, more specifically, a port normally used for communication using HTTP, such as port 80 or port 8080, and receiving some data here The data is handled as an HTTP message, the structure thereof is analyzed, and the element in a specific tag in which print data in a format that can be handled by the printer application 41 should be extracted is included. In addition, it has a function of transmitting the extracted print data to the 9100 port by loopback. Other functions may be provided, but this point will be described later.

また、HTTPS通信用アプリ43は、使用するポートがHTTPSポート、より具体的には443番ポートのようにHTTPSを用いた通信に通常使用するポート、であり、通信に使用するプロトコルがHTTPSであって、取り扱うHTTPメッセージが暗号化された状態で送信されてくるものであることを除けば、HTTP通信用アプリ42と同様な機能を有する。   In addition, the HTTPS communication application 43 is a port that is normally used for communication using HTTPS such as an HTTPS port, more specifically, a port 443, and the protocol used for communication is HTTPS. The HTTP communication application 42 has the same function as the HTTP communication application 42 except that the HTTP message to be handled is transmitted in an encrypted state.

従って、プリンタ40は、9100番ポートで特定のプリンタ言語で記載されたプリントデータを受信した場合にそのプリントデータに基づいてプリントを行うことができると共に、それとは異なるHTTPポートやHTTPSポートで、HTTPメッセージ内に記載されたプリントデータを受信した場合には、ここからプリントデータを取り出した上で、そのプリントデータに基づいてプリントを行うことができる。   Accordingly, when the printer 40 receives print data written in a specific printer language at the 9100 port, the printer 40 can perform printing based on the print data, and at a different HTTP port or HTTPS port, When the print data described in the message is received, the print data is taken out from the print data, and printing can be performed based on the print data.

なお、プリンタアプリ41は、受信するデータが特定の形式であることを前提にデータ変換処理を行うので、実際に受信したデータの形式がそれと異なる形式であった場合には、出力は無意味なデータになってしまう。しかし、このような構成としても、データの送信側を制御して正しい形式のデータを送信させるようにすれば問題なく動作するので、処理負荷の低減を考慮し、このような構成を採用している。   Since the printer application 41 performs data conversion processing on the assumption that the received data is in a specific format, the output is meaningless if the format of the actually received data is a different format. It becomes data. However, even in such a configuration, if the data transmission side is controlled to transmit data in the correct format, it operates without any problem. Therefore, this configuration is adopted in consideration of a reduction in processing load. Yes.

HTTP通信用アプリ42及びHTTPS通信用アプリ43についても、同様に、受信するデータが特定の形式であることを前提にデータ変換処理を行うようにしてもよい。
また、HTTP通信用アプリ42及びHTTPS通信用アプリ43は、デバイス組み込み用のJava(登録商標)であるJ2ME(Java 2 Micro Edition)を利用し、DSDK(Device Software Development Kit)の環境で動作するDSDKサーバアプリケーションとして作成することが考えられる。
Similarly, the HTTP communication application 42 and the HTTPS communication application 43 may perform data conversion processing on the assumption that the received data is in a specific format.
Further, the HTTP communication application 42 and the HTTPS communication application 43 use a device embedded Java (registered trademark) J2ME (Java 2 Micro Edition) and operate in a DSDK (Device Software Development Kit) environment. It is possible to create it as a server application.

また、プリンタ40は、上記以外にも、省エネルギ制御部45を備えており、一定時間何のデータも受信せず、かつプリント動作も行っていない場合に、自身を省エネルギモードに移行させるようにしている。そして、この状態では、消費エネルギを低減するため、プリンタ40の各部の電源を遮断する等し、RAMに常駐させておくプログラムも、必要最低限のものとしている。   In addition to the above, the printer 40 is provided with an energy saving control unit 45 so that the printer 40 shifts itself to the energy saving mode when no data is received for a certain period of time and no printing operation is performed. I have to. In this state, in order to reduce energy consumption, a program that is resident in the RAM, such as by shutting off the power supply of each part of the printer 40, is kept to a minimum.

ただし、図6に示した範囲では、プリンタアプリ41,HTTP通信用アプリ42,HTTPS通信用アプリ43は共に重要なアプリであるので、省エネルギモードでも常駐させておくようにしており、省エネルギモードで機能が停止されるのは、プリントエンジン44のみである。   However, in the range shown in FIG. 6, since the printer application 41, the HTTP communication application 42, and the HTTPS communication application 43 are all important applications, they are made to stay resident even in the energy saving mode. The function is stopped only by the print engine 44.

そして、省エネルギ制御部45は、プリントデータが送られてくるはずの9100番ポートで何らかのデータを受信したり、図示しない操作部により何らかの操作を受け付ける等すると、プリンタ40を通常動作モードに復帰させ、RAMから削除していたプログラムも、不揮発メモリから読み出して、再度実行可能な状態に戻すようにしている。
また、HTTPポートやHTTPSポートで何らかのデータを受信した場合については、HTTP通信用アプリ42やHTTPS通信用アプリ43が、9100番ポートに自身を通常動作モードに復帰させるためのダミーのデータとして、例えばヘッダとフッタのみのプリントデータをループバック送信することにより、プリンタ40を通常動作モードに復帰させることができるようにしている。
The energy saving control unit 45 returns the printer 40 to the normal operation mode when receiving some data at the 9100 port to which print data should be sent or accepting some operation by an operation unit (not shown). The program deleted from the RAM is also read from the nonvolatile memory and returned to an executable state.
In addition, when any data is received at the HTTP port or the HTTPS port, the HTTP communication application 42 or the HTTPS communication application 43 is, for example, dummy data for returning itself to the normal operation mode at the 9100 port. The printer 40 can be returned to the normal operation mode by transmitting the print data of only the header and the footer in a loopback manner.

一方、PC30には、アプリケーション31とプリンタドライバ32とポートモニタ33を備えるが、このうち、アプリケーション31とプリンタドライバ32は、背景技術の項で図22を用いて説明したPC80のアプリケーション81及びプリンタドライバ82と同様な機能を有する。   On the other hand, the PC 30 includes an application 31, a printer driver 32, and a port monitor 33. Of these, the application 31 and the printer driver 32 are the application 81 and the printer driver of the PC 80 described with reference to FIG. 82 has the same function.

また、ポートモニタ33は、標準スプーラ34と拡張スプーラ35を備えているが、このうち標準スプーラ34の機能は、上記のPC80のポートモニタ83の機能と同様なものである。すなわち、プリンタドライバ32は、プリンタ言語形式に変換したプリントデータを、標準スプーラ34のスプールディレクトリにスプールするようにし、標準スプーラ34は、そのスプールディレクトリにスプールされたデータを、使用するプリンタのアドレスの、9100番ポートに送信する機能を有する。
PC30とプリンタ40との間にファイアウォールがないか、あっても9100番ポートの使用が許可されている場合には、この標準スプーラ34を用いてプリンタ40にプリントデータを送信し、プリントを行わせることも可能である。
The port monitor 33 includes a standard spooler 34 and an expansion spooler 35. Among these, the function of the standard spooler 34 is the same as the function of the port monitor 83 of the PC 80 described above. In other words, the printer driver 32 spools the print data converted into the printer language format into the spool directory of the standard spooler 34. The standard spooler 34 uses the data spooled in the spool directory for the address of the printer to be used. , 9100 port transmission function.
If there is no firewall between the PC 30 and the printer 40, or even if the use of the 9100 port is permitted, the standard spooler 34 is used to transmit print data to the printer 40 for printing. It is also possible.

しかし、後述のようにプリント指示時に拡張スプーラ35を使用する旨が設定されているプリンタに対してプリントデータを送信する場合には、標準スプーラ34のデータ送信機能を使用せず、標準スプーラ34のスプールディレクトリにスプールされたデータは、拡張スプーラ35のスプールディレクトリにスプールし直し、拡張スプーラ35が、そのデータをプリンタ40の所定のポートに送信するようにしている。
またこの時、ユーザの指定に応じて必要な場合には通信の暗号化を行うようにしている。そして、ここで暗号化を行わない場合は、HTTPを用いてHTTPポートに送信し、暗号化を行う場合は、HTTPSを用いてHTTPSポートに送信するようにしている。
However, when print data is transmitted to a printer that is set to use the extended spooler 35 at the time of printing as described later, the data transmission function of the standard spooler 34 is not used, and the standard spooler 34 The data spooled in the spool directory is re-spooled in the spool directory of the expansion spooler 35, and the expansion spooler 35 transmits the data to a predetermined port of the printer 40.
At this time, communication encryption is performed if necessary according to the user's designation. If encryption is not performed here, the message is transmitted to the HTTP port using HTTP. If encryption is performed, the message is transmitted to the HTTPS port using HTTPS.

以上のようなPC30とプリンタ40のハードウェア構成は、第1の実施形態で図3を用いて説明したものと同様でよい。ただし、プリンタ40は、エンジン部としてプリントエンジン44を備えている。また、プリンタ40は、コピーやファクシミリ通信等の機能を併せ持つデジタル複合機(MFP)であってもよい。   The hardware configurations of the PC 30 and the printer 40 as described above may be the same as those described with reference to FIG. 3 in the first embodiment. However, the printer 40 includes a print engine 44 as an engine unit. The printer 40 may be a digital multi-function peripheral (MFP) having functions such as copying and facsimile communication.

ここで、図7に、プリンタ40が取り扱うデータの形式を示す。
図7に示すように、プリンタ40は、HTTPポート又はHTTPSポートで受信するデータがHTTPメッセージであることを想定して構成している。なお、HTTPSポートで受信するデータは、暗号化されており、復号化に必要な情報を記載したヘッダやフッタが記載されているが、復号化してしまえば、HTTPメッセージとなる。
そして、このHTTPメッセージの中には、予め定めたタグでマークアップした種々の情報が記載され得る。
例えば、(a)に示す例では、HTTPメッセージに、印刷属性データと、プリントデータファイルとを記載している。
Here, FIG. 7 shows a data format handled by the printer 40.
As shown in FIG. 7, the printer 40 is configured assuming that the data received at the HTTP port or the HTTPS port is an HTTP message. The data received at the HTTPS port is encrypted and includes a header and a footer that describe information necessary for decryption. However, if decrypted, the data is an HTTP message.
In the HTTP message, various information marked up with a predetermined tag can be described.
For example, in the example shown in (a), print attribute data and a print data file are described in the HTTP message.

このうち、プリントデータファイルは、プリンタアプリ41が取り扱うことのできるプリンタ言語によるプリントデータをバイナリで記載したデータを含むファイルである。プリンタ言語としてPCL(Printer Control Language)6,PCL5e,RPCS等を用いる場合、バイナリのプリントデータに、PJL(Printer Job Language)言語で記載したヘッダとフッタを付し、ここに、用紙サイズ、解像度等、プリントジョブの実行に関する情報のうち、画像データの内容に関わる情報を記載する。   Among these, the print data file is a file including data in which print data in a printer language that can be handled by the printer application 41 is described in binary. When using PCL (Printer Control Language) 6, PCL 5e, RPCS, etc. as the printer language, a header and footer described in PJL (Printer Job Language) language are added to the binary print data, and the paper size, resolution, etc. Of the information relating to the execution of the print job, information relating to the contents of the image data is described.

そして、この例では、プリントデータファイルをHTTPメッセージ中からそのまま取り出すだけで、例えば、受信したHTTPメッセージのうち特定のタグでマークアップされている部分を取り出すだけで、受信したHTTPメッセージをプリンタアプリ41が取り扱うことのできるデータに変換することができる。   In this example, the print data file is simply taken out of the HTTP message as it is, and for example, the received HTTP message is simply taken out of the received HTTP message and marked with a specific tag. Can be converted to data that can be handled.

また、印刷属性データは、なくてもよいデータであるが、両面印刷有無,集約印刷を行うならばその集約形式,ステープル処理有無,パンチ穴あけ有無等、プリントジョブの実行に関する情報のうち、画像データの内容には関わらない、プリンタ40側での処理を指定する情報を示すデータである。そして、HTTP通信用アプリ42及びHTTPS通信用アプリ43は、このデータに基づき、PJL言語の拡張ヘッダを生成し、HTTPメッセージ中から取り出したプリントデータにマージして9100番ポートにループバック送信することができる。   The print attribute data may be omitted, but image data includes information regarding execution of a print job, such as whether or not double-sided printing is performed, if aggregated printing is performed, the aggregation format, whether or not stapling is performed, and whether punching is performed. This is data indicating information for specifying processing on the printer 40 side, irrespective of the contents of. Based on this data, the HTTP communication application 42 and the HTTPS communication application 43 generate an extension header in the PJL language, merge it with the print data extracted from the HTTP message, and send it back to the 9100 port. Can do.

なお、印刷属性データは、PJL言語の拡張ヘッダとしてHTTPメッセージ中に記載し、そのまま取り出してプリントデータにマージできるようにしても、パラメータの羅列としてHTTPメッセージ中に記載し、プリンタ40側でこれをPJL言語に変換してもよいが、ここでは後者の方式を採用している。この方が、プリンタ40側で実行できない機能に係る設定、例えば両面ユニットがない場合の両面印刷設定等、をプリンタ40側の判断で排除できるため、好ましい。
また、印刷属性データや、その中の細分化された項目をそれぞれタグによりマークアップしておけば、印刷属性データに関する処理を行う必要がない場合には、単にタグの内容を読み飛ばすようにすることにより、処理を簡略化することができる。
The print attribute data is described in the HTTP message as an extension header of the PJL language, and even if it can be extracted and merged with the print data as it is, it is described in the HTTP message as a list of parameters, and is printed on the printer 40 side. Although it may be converted into the PJL language, the latter method is adopted here. This is preferable because settings relating to functions that cannot be executed on the printer 40 side, such as duplex printing settings when there is no duplex unit, can be eliminated by judgment on the printer 40 side.
In addition, if the print attribute data and the subdivided items in it are marked up with tags, the contents of the tags are simply skipped when there is no need to perform processing related to the print attribute data. As a result, the processing can be simplified.

一方、(b)に示す例では、HTTPメッセージに、印刷属性データと、印刷内容ファイルとを記載している。
このうち、印刷内容ファイルは、プリンタ40にプリントさせる画像の内容を、PDF(Portable Document Format)やPS(PostScript)といったページ記述言語で記載したり、プリントさせる情報の内容をXML(eXtensible Markup Language)といった構造化言語により記載したりしたデータを含むファイルである。
On the other hand, in the example shown in (b), print attribute data and a print content file are described in the HTTP message.
Among these, the print content file describes the content of an image to be printed by the printer 40 in a page description language such as PDF (Portable Document Format) or PS (PostScript), or the content of information to be printed in XML (eXtensible Markup Language). It is a file containing data described in a structured language such as

そして、HTTP通信用アプリ42及びHTTPS通信用アプリ43には、このような印刷内容ファイルを含むHTTPメッセージを受信した場合に、印刷内容ファイルの内容を解釈し、その内容に基づき、プリントすべき画像の内容を、プリンタアプリ41が取り扱うことのできるプリンタ言語によるプリントデータに変換する機能を持たせることができる。これは、PDFやPSといった特定の形式のデータのみ処理可能な機能でもよいし、複数の形式を識別して、各々に対し適切な処理が可能な機能としてもよい。   When the HTTP communication application 42 and the HTTPS communication application 43 receive an HTTP message including such a print content file, the HTTP communication application 42 interprets the content of the print content file and prints an image to be printed based on the content. Can be provided with a function of converting the contents of the print data into print data in a printer language that can be handled by the printer application 41. This may be a function that can process only data in a specific format such as PDF or PS, or a function that can identify a plurality of formats and perform appropriate processing on each.

ただし、このような機能によりプリントデータを生成したとしても、もとの印刷内容ファイルにPJL言語によるヘッダやフッタが含まれていなければ、変換後のデータにもヘッダやフッタは含まれない。そこで、デフォルトのヘッダ及びフッタを自動生成して変換後のプリントデータに付すようにするとよい。
また、HTTPメッセージに印刷属性データが含まれていれば、(a)の場合と同様にPJL言語の拡張ヘッダを生成し、これを変換後のプリントデータに付すことができる。この場合には、自動生成するのはフッタのみでよい。
However, even if print data is generated by such a function, if the original print content file does not include a header or footer in the PJL language, the converted data does not include the header or footer. Therefore, a default header and footer may be automatically generated and attached to the converted print data.
If print attribute data is included in the HTTP message, an extension header in PJL language can be generated as in the case of (a), and this can be attached to the converted print data. In this case, only the footer may be automatically generated.

次に、図8に、図6に示したPC30及びプリンタ40を設置する環境の例を示す。
会社等においてネットワーク環境を構築する場合、外部からのアクセスを許可するサーバ60a〜60cは、社内環境と社外環境の双方からファイアウォール50eにより隔離したDMZと呼ばれる領域に設けることは広く行われている。
そして、近年においては、社内環境においても、拠点毎、部署毎、フロア毎といった環境毎にファイアウォール50a〜50dを設け、セキュリティの強化を図ることが行われるようになっている。図6に示したPC30及びプリンタ40は、PC30a〜30d,プリンタ40a〜40dのようにファイアウォール50a〜50dの内側に配置される。このような配置は必須ではないが、少なくともプリンタ40については、このような位置に配置される場合に効果を発揮する。
Next, FIG. 8 shows an example of an environment in which the PC 30 and the printer 40 shown in FIG. 6 are installed.
When a network environment is constructed in a company or the like, the servers 60a to 60c that permit external access are widely provided in an area called DMZ that is isolated from both the internal environment and the external environment by a firewall 50e.
In recent years, even in the in-house environment, firewalls 50a to 50d are provided for each environment such as each base, each department, and each floor to enhance security. The PC 30 and the printer 40 shown in FIG. 6 are arranged inside the firewalls 50a to 50d like the PCs 30a to 30d and the printers 40a to 40d. Such an arrangement is not essential, but at least the printer 40 is effective when arranged at such a position.

すなわち、ファイアウォール50a〜50dは、HTTPやHTTPSといった通常良く使用されるプロトコルでの通信に使用するポートの使用は許可するが、9100番ポートのように、機種依存のプロトコルでの通信に使用するポートの使用は許可しない設定となっていることが多い。従って、各環境においてプリンタ40(包括的に指す場合には符号のアルファベットは省略する)がファイアウォール50の内側に配置されている場合、同一環境内のPC30からのプリントデータは、9100番ポートで直接受信できるが、他の環境内のPC30の場合には、9100番ポートへの送信は、ファイアウォール50により遮断されてしまう。   In other words, the firewalls 50a to 50d permit the use of ports used for communication with commonly used protocols such as HTTP and HTTPS, but ports used for communication with model-dependent protocols such as the 9100th port. The use of is often not allowed. Accordingly, when the printer 40 (the alphabet of reference numerals is omitted when referring generically) is arranged inside the firewall 50 in each environment, print data from the PC 30 in the same environment is directly at port 9100. In the case of the PC 30 in another environment, transmission to the 9100 port is blocked by the firewall 50.

しかし、図6を用いて説明したようなHTTP通信用アプリ42及びHTTPS通信用アプリ43を設け、HTTPやHTTPSといった、ファイアウォール50で使用を許可されているポートを使用するプロトコルでのプリントデータの送受信を可能にすれば、ファイアウォール50が存在しても、それを越えてプリントデータを送信し、プリンタ40にプリントを実行させることができるのである。また、この際に、プリンタアプリ41やプリントエンジン44については、9100番ポートでプリントデータを受信するような従来の機種のものに、一切変更を加える必要がない。   However, an HTTP communication application 42 and an HTTPS communication application 43 as described with reference to FIG. 6 are provided, and print data is transmitted and received using a protocol that uses a port permitted to be used by the firewall 50, such as HTTP or HTTPS. If it is possible, even if the firewall 50 exists, print data can be transmitted beyond the firewall 50 and the printer 40 can execute printing. At this time, the printer application 41 and the print engine 44 do not need to be changed at all in the conventional model that receives the print data at the 9100 port.

次に、図9及び図10に、PC30において拡張スプーラ35の設定に使用する画面の例を示す。これらの画面は、PC30のディスプレイに表示させるGUI(グラフィカル・ユーザ・インタフェース)である。
図9は、プリンタにプリントを実行させる場合の、拡張スプーラ35の使用並びに、通信の暗号化の有無を設定するための画面例である。
この設定画面150は、PC30のOS(オペレーティングシステム)にデバイスドライバとして拡張スプーラ35が登録されている場合、ユーザが拡張スプーラ35を使用したプリントの設定を行おうとすると、その拡張スプーラ35の機能により表示されるものである。
Next, FIG. 9 and FIG. 10 show examples of screens used for setting the expansion spooler 35 in the PC 30. These screens are GUIs (graphical user interfaces) displayed on the display of the PC 30.
FIG. 9 is an example of a screen for setting the use of the extension spooler 35 and the presence / absence of communication encryption when the printer executes printing.
When the expansion spooler 35 is registered as a device driver in the OS (operating system) of the PC 30, the setting screen 150 is displayed by the function of the expansion spooler 35 when the user attempts to perform print settings using the expansion spooler 35. It is what is displayed.

そして、この画面においては、ユーザがプロトコル選択部151でプリント時のプリントデータ転送に使用するプロトコルを選択し、検索ボタン152を押下すると、PC30がOSの機能によりブロードキャストを行って、使用可能なプリンタを検索し、プリンタ一覧部153にその情報を表示する。また、ファイアウォール50を越える別環境にあるプリンタの情報については、サーバ60等に機器リストを登録しておき、これを参照して情報を表示するようにしてもよい。図の例では、プリンタ一覧部153にプリンタの機種と、プリンタ個別のIDと、プリンタのIP(Internet Protocol)アドレスを表示するようにしているが、これに限られるものではない。   In this screen, when the user selects a protocol to be used for print data transfer at the time of printing with the protocol selection unit 151 and presses the search button 152, the PC 30 performs broadcasting by the function of the OS, and the usable printer And the information is displayed on the printer list unit 153. For information on printers in other environments beyond the firewall 50, a device list may be registered in the server 60 or the like, and the information may be displayed with reference to the device list. In the example shown in the drawing, the printer model, the individual ID of the printer, and the IP (Internet Protocol) address of the printer are displayed on the printer list unit 153, but the present invention is not limited to this.

そして、ユーザがカーソル154を合わせてプリンタ一覧部153からいずれかのプリンタを選択し、OKボタン156を押下すると、そのプリンタにプリントを指示するためのポートが作成され、OSに、そのプリンタにプリントを指示する際に、拡張スプーラ35を使用する旨が設定される。また、そのプリンタにデータを送信する際のIPアドレスも設定される。またこのとき、チェックボックス155にチェックが入っていた場合、プリントデータの転送を、HTTPSプロトコルにより暗号化してHTTPSポートに対して行う旨も設定される。また、キャンセルボタン157が押下された場合には、設定は行わずにこの画面を閉じる。   When the user moves the cursor 154 to select one of the printers from the printer list unit 153 and presses the OK button 156, a port for instructing the printer to print is created, and the OS prints to the printer. Is set to use the expansion spooler 35. In addition, an IP address for transmitting data to the printer is also set. At this time, if the check box 155 is checked, it is also set that the print data is transferred to the HTTPS port after being encrypted by the HTTPS protocol. If the cancel button 157 is pressed, this screen is closed without setting.

また、図10は、上記の設定画面150により拡張スプーラ35の使用を設定したプリンタにつき、プリントに使用するポートの設定の状態の参照を指示した場合に表示される画面例である。
そして、この参照画面160では、画面のタイトル161により、拡張スプーラ35を使用することがわかり、ポート番号表示部162により、プリンタにデータを送信する際にどのポートに送信するかを確認することができる。また、チェックボックス163により、通信の暗号化を行うか否かも確認することができる。
FIG. 10 is an example of a screen that is displayed when the printer for which use of the expansion spooler 35 is set on the setting screen 150 is instructed to refer to the setting state of the port used for printing.
In the reference screen 160, it can be seen from the screen title 161 that the expansion spooler 35 is used, and the port number display unit 162 can confirm to which port the data is transmitted when data is transmitted to the printer. it can. The check box 163 can also confirm whether or not to encrypt communication.

ここでは、通信の暗号化を行うため、送信先のポートは443番としている。しかし、プリンタ側の設定に応じて、この内容は変更可能である。また、通信の暗号化をしない旨が設定された場合、送信先のポートを自動的に80番又は8080番に変更するようにしてもよい。   Here, the destination port is 443 in order to encrypt communication. However, this content can be changed according to the setting on the printer side. Further, when it is set that communication is not encrypted, the destination port may be automatically changed to 80 or 8080.

次に、図11乃至図14を用いて、図6に示したプリントシステムにおいてPC30及びプリンタ40が実行する、この実施形態の特徴に係る処理について説明する。この処理については、種々のバリエーションが考えられるが、ここでは、PC30からプリンタ40に、図7(a)に示したようなHTTPメッセージを送信することを前提とした場合の処理例を示す。   Next, processing according to the feature of this embodiment executed by the PC 30 and the printer 40 in the print system shown in FIG. 6 will be described with reference to FIGS. 11 to 14. Various variations are conceivable for this processing, but here, a processing example is shown assuming that an HTTP message as shown in FIG. 7A is transmitted from the PC 30 to the printer 40.

まず、図11に、PC30側で実行する処理のフローチャートを示す。
この処理は、PC30において、拡張スプーラ35を利用する旨が設定されているプリンタでのプリントが指示された場合に、CPUがプリンタドライバ及び拡張スプーラ35を実行することにより行うものである。
First, FIG. 11 shows a flowchart of processing executed on the PC 30 side.
This processing is performed by the CPU executing the printer driver and the expansion spooler 35 when the PC 30 is instructed to print with a printer that is set to use the expansion spooler 35.

この処理においてはまず、ステップS11で、プリンタドライバが、標準スプーラ34のスプールディレクトリに、印刷内容を示すプリントデータをスプールする。
その後、ステップS12で、スプールしたプリントデータと、プリント指示時に指定された拡張印刷属性(図7に示した印刷属性データとして記載すべき項目の属性)に基づく印刷属性データとを含むHTTPメッセージを生成し、ステップS13で、作成したHTTPメッセージを拡張スプーラ35のスプールディレクトリにスプールする。
In this process, first, in step S <b> 11, the printer driver spools print data indicating print contents in the spool directory of the standard spooler 34.
After that, in step S12, an HTTP message including spooled print data and print attribute data based on the extended print attribute (the attribute of the item to be described as print attribute data shown in FIG. 7) designated at the time of printing is generated. In step S13, the created HTTP message is spooled in the spool directory of the extension spooler 35.

そして、ステップS14で、通信を暗号化する旨の設定がなされているか否か判断する。
ここで暗号化しない旨が設定されていれば、ステップS15に進み、拡張スプーラ35のスプールディレクトリにスプールしたHTTPメッセージを、HTTPプロトコルによりプリンタ40のアドレスのHTTPポート(送信先として設定されているポート)に送信し、処理を終了する。
In step S14, it is determined whether or not a setting for encrypting communication is made.
If no encryption is set here, the process proceeds to step S15, and the HTTP message spooled in the spool directory of the expansion spooler 35 is transferred to the HTTP port (port set as the transmission destination) of the printer 40 by the HTTP protocol. ) To finish the process.

また、ステップS14で暗号化する旨が設定されていれば、ステップS16に進み、拡張スプーラ35のスプールディレクトリにスプールしたHTTPメッセージを、HTTPSプロトコルによりプリンタ40のアドレスのHTTPSポート(送信先として設定されているポート)に送信し、処理を終了する。
なお、これらの送信は、4096バイトずつ等、所定サイズ毎に行ってもよい。
If encryption is set in step S14, the process proceeds to step S16, in which the HTTP message spooled in the spool directory of the extension spooler 35 is set to the HTTPS port (set as the transmission destination) of the printer 40 by the HTTPS protocol. Port) to finish the process.
These transmissions may be performed for each predetermined size, such as 4096 bytes.

以上の処理により、プリントデータを、プリンタ40のHTTP通信用アプリ42が処理できる形式で送信する場合には、HTTP通信用アプリ42がリスンしているポートに、HTTPS通信用アプリ43が処理できる形式で送信する場合には、HTTPS通信用アプリ43がリスンしているポートに送信することができる。
従って、プリンタ40側で各データを適切に処理させることができる。
With the above processing, when print data is transmitted in a format that can be processed by the HTTP communication application 42 of the printer 40, a format that can be processed by the HTTPS communication application 43 at a port on which the HTTP communication application 42 is listening. Can be transmitted to the port on which the HTTPS communication application 43 is listening.
Therefore, each data can be appropriately processed on the printer 40 side.

次に、図12に、プリンタ40側でCPUがHTTP通信用アプリ42により実行する処理のフローチャートを示す。
CPUは、プリンタ40が起動されると、HTTP通信用アプリ42を実行することにより、図12のフローチャートに示す処理を開始する。
Next, FIG. 12 shows a flowchart of processing executed by the CPU 42 using the HTTP communication application 42 on the printer 40 side.
When the printer 40 is activated, the CPU starts the process shown in the flowchart of FIG. 12 by executing the HTTP communication application 42.

そして、ステップS21でHTTP通信用アプリ42をHTTPポートにバインドし、このポートをリスンする状態にする。そして、ステップS22及びS23でそのHTTPポートへの接続を待つ。
その後、PC30等の外部クライアントからあるいはローカルのループバック等により接続要求に係るデータを受信すると、ステップS23からステップS24に進んでその接続を許可すると共に、ステップS25でローカルホストの9100番ポートに接続要求を行って、接続許可を受ける。
In step S21, the HTTP communication application 42 is bound to the HTTP port, and the port is set to listen. In steps S22 and S23, the connection to the HTTP port is awaited.
After that, when data related to the connection request is received from an external client such as the PC 30 or by local loopback or the like, the process proceeds from step S23 to step S24 to permit the connection and to connect to the 9100 port of the local host in step S25. Make a request and get permission to connect.

そして、ステップS26で、ローカルホストの9100番ポートにダミーデータを送信し、プリンタ40が省エネルギモードであれば、通常動作モードに復帰させる。
その後、ステップS27で、HTTPポートでHTTPメッセージを受信し、それをバッファに蓄積しつつ、その蓄積したHTTPメッセージからプリントデータを抽出する。
そして、ステップS28で、受信したデータ中に印刷属性データがあったか否か判断し、あれば、ステップS29でその印刷属性データからPJL言語の拡張ヘッダを生成して、ステップS27で抽出したプリントデータにマージし、ステップS30以下に進む。なければそのままステップS30以下に進む。
In step S26, dummy data is transmitted to the 9100 port of the local host, and if the printer 40 is in the energy saving mode, the normal operation mode is restored.
Thereafter, in step S27, an HTTP message is received at the HTTP port, and the print data is extracted from the accumulated HTTP message while accumulating it in the buffer.
In step S28, it is determined whether or not print attribute data is included in the received data. If there is, the PJL language extension header is generated from the print attribute data in step S29, and the print data extracted in step S27 is added. Merge and proceed to step S30 and subsequent steps. If not, the process proceeds to step S30 and subsequent steps.

ステップS30では、クライアントからの通信切断、ステップS27での抽出処理エラーのいずれかが起こったか否か判断する。ここで、抽出処理エラーは、抽出に使用したライブラリから処理結果としてエラーが返された場合である。プリントデータとして抽出されたデータが不適当な形式のデータであっても、エラーとはならない。
そして、ステップS30で上記のいずれも起こっていなければ、ステップS31で、抽出したプリントデータを、マージした拡張ヘッダも含めてローカルホストの9100番ポートに送信する。その送信は、データの切れ目を意識せずに4096バイトずつ等の所定サイズずつ行えばよい。また、一度に送信するサイズは、PC30から直接9100番ポートにプリントデータを送信する場合と同じサイズとするとよい。
In step S30, it is determined whether any one of the disconnection from the client and the extraction processing error in step S27 has occurred. Here, the extraction processing error is a case where an error is returned as a processing result from the library used for extraction. Even if the data extracted as print data is in an inappropriate format, no error will occur.
If none of the above has occurred in step S30, the extracted print data including the merged extension header is transmitted to port 9100 of the local host in step S31. The transmission may be performed by a predetermined size such as 4096 bytes without being aware of data breaks. Further, the size to be transmitted at a time may be the same size as when print data is directly transmitted from the PC 30 to the 9100th port.

その後、ステップS32で、プリントデータの抽出及び9100番ポートへの送信が完了したか否か判断し、完了していなければステップS27に戻って処理を繰り返し、完了していれば、ステップS33に進んで通信を切断し、ステップS22に戻る。
また、ステップS30でYESの場合も、ステップS33に進んで通信を切断し、ステップS22に戻る。
Thereafter, in step S32, it is determined whether or not print data extraction and transmission to the 9100th port are completed. If not completed, the process returns to step S27 to repeat the process. If completed, the process proceeds to step S33. Then, the communication is disconnected and the process returns to step S22.
Also in the case of YES at step S30, the process proceeds to step S33 to disconnect the communication and returns to step S22.

以上の処理により、プリンタ40は、HTTPポートに受信したデータであるHTTPメッセージに対し、プリンタアプリ41が処理できる形式のデータとするための特定の変換処理を行い、その処理後のデータを9100番ポートに送信することができる。この変換処理は、ここでは受信したデータの形式によらず同じ処理としているが、適切な形式のデータを受信していれば、出力は、プリンタアプリ41が処理できる形式のプリントデータとなる。なお、ステップS28及びS29の処理は、行わなくてもよい。   Through the above processing, the printer 40 performs specific conversion processing for converting the HTTP message, which is data received at the HTTP port, into data in a format that can be processed by the printer application 41, and sets the processed data to number 9100. Can be sent to the port. This conversion processing is the same processing here regardless of the format of the received data. However, if data in an appropriate format is received, the output is print data in a format that can be processed by the printer application 41. Note that the processing in steps S28 and S29 may not be performed.

次に、図13に、プリンタ40側でCPUがHTTPS通信用アプリ43により実行する処理のフローチャートを示す。
CPUは、プリンタ40が起動されると、HTTPS通信用アプリ43を実行することにより、図13のフローチャートに示す処理を開始する。
ただし、この処理は、図12に示した処理と概ね同様なものであり、リスンするポートがHTTPSポートである点(S41,S42)、受信したHTTPメッセージを復号化する点(S47)が異なるのみであるので、詳細な説明は省略する。
そして、この処理により、プリンタ40は、HTTPSポートに受信したデータである暗号化されたHTTPメッセージに対し、プリンタアプリ41が処理できる形式のデータとするための特定の変換処理を行い、その処理後のデータを9100番ポートに送信することができる。
Next, FIG. 13 shows a flowchart of processing executed by the CPU 43 using the HTTPS communication application 43 on the printer 40 side.
When the printer 40 is activated, the CPU starts the process shown in the flowchart of FIG. 13 by executing the HTTPS communication application 43.
However, this process is substantially the same as the process shown in FIG. 12, except that the listening port is an HTTPS port (S41, S42) and the received HTTP message is decrypted (S47). Therefore, detailed description is omitted.
Through this process, the printer 40 performs a specific conversion process for converting the encrypted HTTP message, which is the data received at the HTTPS port, into data in a format that can be processed by the printer application 41. Can be transmitted to the 9100 port.

次に、図14に、プリンタ40側でCPUがプリンタアプリ41により実行する処理のフローチャートを示す。
CPUは、プリンタ40が起動されると、プリンタアプリ41を実行することにより、図14のフローチャートに示す処理を開始する。
そして、ステップS61でプリンタアプリ41を9100番ポートにバインドし、このポートをリスンする状態にする。そして、ステップS62及びS63でその9100番ポートへの接続を待つ。
Next, FIG. 14 shows a flowchart of processing executed by the printer application 41 by the CPU on the printer 40 side.
When the printer 40 is activated, the CPU starts the processing shown in the flowchart of FIG. 14 by executing the printer application 41.
In step S61, the printer application 41 is bound to the 9100th port, and the port is set to listen. In steps S62 and S63, the connection to the port 9100 is awaited.

その後、PC30等の外部クライアントあるいはローカルのループバック等により接続要求があると、ステップS63からステップS64に進んでその接続を許可する。
そして、ステップS65で、9100番ポートでデータを受信し、それをバッファに蓄積しつつ、その蓄積したデータをもとに、画像メモリに画像データを描画して、プリントエンジン44にその画像データに基づくプリントを指示する。
そして、ステップS66で、クライアントからの通信切断、ステップS65での描画処理エラー、描画完了のいずれかが起こるまでステップS65に戻って処理を繰り返す。そして、いずれかが起こるとステップS67で通信を切断し、ステップS62に戻って処理を繰り返す。
Thereafter, when there is a connection request by an external client such as the PC 30 or a local loopback, the process proceeds from step S63 to step S64 and the connection is permitted.
In step S65, data is received at port 9100, and the data is stored in the buffer, and based on the stored data, image data is drawn in the image memory, and the print engine 44 stores the image data. Direct print based.
In step S66, the process returns to step S65 and repeats until one of disconnection of communication from the client, drawing process error in step S65, and drawing completion occurs. If any of them occurs, the communication is disconnected in step S67, and the process returns to step S62 to repeat the process.

以上の処理により、プリンタ40は、9100番ポートに受信したデータを、プリントエンジン43を駆動するための画像データに変換するための特定の描画処理を行い、その処理後のデータに基づいてプリントエンジン44にプリントを実行させることができる。この処理は、データの送信元がPC30であっても、HTTP通信用アプリ42やHTTPS通信用アプリ43であっても、共通に行うようにしている。また、描画処理は、受信したデータの形式によらず同じ処理を行うが、適切な形式のデータを受信していれば、描画により、形成すべき画像の内容を示す画像データを得ることができる。
なお、このフローチャートに示した処理は、従来のプリンタに備えるプリントエンジンの場合と同様なものでよい。
Through the above processing, the printer 40 performs a specific drawing process for converting the data received at the 9100th port into image data for driving the print engine 43, and the print engine is based on the processed data. 44 can execute printing. This processing is commonly performed regardless of whether the data transmission source is the PC 30, the HTTP communication application 42, or the HTTPS communication application 43. The drawing process is the same regardless of the format of the received data, but if data in an appropriate format is received, image data indicating the contents of the image to be formed can be obtained by drawing. .
Note that the processing shown in this flowchart may be the same as that of a print engine provided in a conventional printer.

以上説明してきたようなプリントシステムによれば、PC及びプリンタに、以上説明してきたような機能を実現させることにより、プリンタ40において、プリンタアプリがファイアウォールによって使用が許可されていないポートでしかプリントデータを受信できない場合でも、PC30からプリンタ40に対してファイアウォールで使用が許可されているポートにプリントデータを送信し、そのデータに基づくプリントを行わせることができる。   According to the print system as described above, by realizing the functions as described above in the PC and the printer, the print data in the printer 40 can be printed only at a port that the printer application is not permitted to use by the firewall. Even if it is not possible to receive the print data, the print data can be transmitted from the PC 30 to the printer 40 to the port permitted to be used by the firewall, and printing based on the data can be performed.

また、この場合において、プリンタアプリ41がデータを受け取る受け口を、PC30から受け取る場合と、HTTP通信用アプリ42やHTTPS通信用アプリ43から受け取る場合とで共通化しているため、従来からあるプリンタアプリ41を改変する必要は全くない。そして、HTTP通信用アプリ42やHTTPS通信用アプリ43を追加し、必要な設定を行うだけで、プリンタ40に上述した機能を実現させることができる。また、PC30側においても、従来の構成を変更することなく、新たに拡張スプーラ35をインストールし、プリンタ40にプリントを指示する場合にその拡張スプーラ35を使用してプリントデータを送信する旨を設定するのみでよい。   In this case, the printer application 41 receives the data reception port from the PC 30 and the case where the reception is received from the HTTP communication application 42 or the HTTPS communication application 43. There is no need to modify. Then, the function described above can be realized in the printer 40 only by adding the HTTP communication application 42 and the HTTPS communication application 43 and performing necessary settings. Also, on the PC 30 side, without changing the conventional configuration, when the expansion spooler 35 is newly installed and the printer 40 is instructed to print, the setting is made to transmit print data using the expansion spooler 35. Just do it.

従って、既存の資源を有効に利用し、少ない開発工数で、ファイアウォールを越えてプリントデータを転送可能なプリントシステムを開発することができる。また、プリンタ40側では、プリンタアプリ41が受信したデータに対しては、特定の処理を行うようにしているので、一般にハードウェア資源の制約が厳しいプリンタ40の側での処理負荷を低減すると共に、この点でもアプリの開発工数を低減することができる。HTTP通信用アプリ42やHTTPS通信用アプリ43が受信したデータについても同様な取扱いをするようにすれば、さらに大きな効果を得ることができる。   Therefore, it is possible to develop a print system that can effectively use existing resources and transfer print data across a firewall with a small number of development steps. In addition, since the printer 40 side performs specific processing on the data received by the printer application 41, the processing load on the printer 40 side, which generally has severe hardware resource restrictions, is reduced. Even in this respect, the development man-hours for the application can be reduced. If data handled by the HTTP communication application 42 or the HTTPS communication application 43 is handled in the same manner, a greater effect can be obtained.

〔第2の実施形態の変形例:図15乃至図21〕
次に、以上説明してきた第2の実施形態のプリントシステムの変形例について説明する。
第2の実施形態においては、主としてHTTPメッセージにプリンタ言語で記述されたプリントデータがそのまま記載されている例について説明したが、これに限られることはない。すなわち、プリントデータを、圧縮したり暗号化したりした状態でHTTPメッセージに記載するようにしてもよい。また、XML形式で定義された帳票データとして記載することも考えられる。
[Modifications of Second Embodiment: FIGS. 15 to 21]
Next, a modified example of the print system of the second embodiment described above will be described.
In the second embodiment, the example in which the print data described in the printer language is described as it is in the HTTP message is described, but the present invention is not limited to this. That is, the print data may be described in the HTTP message in a compressed or encrypted state. In addition, it may be described as form data defined in the XML format.

図15乃至図17にこれらの場合のHTTP通信用アプリ42におけるデータの取扱い例を示す。
例えば、図15に示すように圧縮したプリントデータをHTTPメッセージに記載した場合、HTTP通信用アプリ42は、受信したHTTPメッセージから取り出した圧縮状態のプリントデータを解凍して9100番ポートにループバック送信する。
このようにすることにより、PC30からプリンタ40に送信するデータのサイズを低減し、データ転送速度が遅い場合には、全体としてプリントまでの時間を短縮できる。
15 to 17 show examples of data handling in the HTTP communication application 42 in these cases.
For example, when the compressed print data is described in the HTTP message as shown in FIG. 15, the HTTP communication application 42 decompresses the compressed print data extracted from the received HTTP message and sends it to the 9100 port as a loopback. To do.
By doing so, the size of data transmitted from the PC 30 to the printer 40 can be reduced, and when the data transfer speed is low, the time until printing as a whole can be shortened.

また、図16に示すように暗号化したプリントデータをHTTPメッセージに記載した場合、HTTP通信用アプリ42は、受信したHTTPメッセージから取り出した暗号化状態のプリントデータを復号化して9100番ポートにループバック送信する。
このようにすることにより、HTTPSプロトコルを使用しなくても、転送するデータを暗号化してセキュリティを向上させることができる。
In addition, when the encrypted print data is described in the HTTP message as shown in FIG. 16, the HTTP communication application 42 decrypts the encrypted print data extracted from the received HTTP message and loops to the 9100 port. Send back.
This makes it possible to improve the security by encrypting the data to be transferred without using the HTTPS protocol.

また、図17に示すようにXML形式で定義された帳票データ等をそのままHTTPメッセージに記載した場合、HTTP通信用アプリ42は、受信したHTTPメッセージから取り出した帳票データをプリンタ言語形式のプリントデータに変換して9100番ポートにループバック送信する。
このようにすれば、PC30側にプリンタドライバを設けなくても、プリンタ40にプリントを行わせることが可能になる。従って、多数のクライアントがプリンタ40を共用する場合等には、各クライアントに個別にプリンタドライバをインストールすることが不要になり、管理の負担を軽減することができる。
Also, as shown in FIG. 17, when form data defined in the XML format is directly described in the HTTP message, the HTTP communication application 42 converts the form data extracted from the received HTTP message into print data in the printer language format. The data is converted and looped back to the 9100 port.
In this way, it is possible to cause the printer 40 to print without providing a printer driver on the PC 30 side. Therefore, when a large number of clients share the printer 40, it is not necessary to install a printer driver individually for each client, and the management burden can be reduced.

また、PDA(携帯情報端末)や携帯電話のように、持ち歩く端末では、常に適切なドライバを設定しておくことが難しいし、CPUの処理能力も比較的小さいと考えられるので、このような場合にはプリンタ40の側にプリンタドライバの機能を持たせることが特に有効と考えられる。
なお、HTTPメッセージに、プリントデータの記載形式(圧縮、暗号化、XML形式等)を記載しておき、HTTP通信用アプリ42が受信したHTTPメッセージからまずその記載形式のデータを読み取り、その内容に応じた処理を選択して実行するようにしてもよい。
In addition, in the case of a portable terminal such as a PDA (personal digital assistant) or a mobile phone, it is difficult to always set an appropriate driver, and the processing capacity of the CPU is considered to be relatively small. In particular, it is considered to be particularly effective to provide the printer driver function on the printer 40 side.
In addition, the print data description format (compression, encryption, XML format, etc.) is described in the HTTP message, and the data in the description format is first read from the HTTP message received by the HTTP communication application 42, and the contents thereof A corresponding process may be selected and executed.

また、HTTPSを利用する場合も、同様にプリントデータを圧縮した状態やXML形式の状態等でHTTPメッセージに記載してもよい。暗号化についても、HTTPSプロトコルによる暗号化と重複するため、意味は薄いが、可能である。
図18に、図15と対応する例を示す。
Similarly, when using HTTPS, the print data may be described in the HTTP message in a compressed state, an XML format state, or the like. Encryption is also possible although it has little meaning because it overlaps with encryption by the HTTPS protocol.
FIG. 18 shows an example corresponding to FIG.

また、第1の実施形態で図4を用いて説明した例と対応するものとして、複数段のデータ変換処理により、プリンタアプリ41が対応しているプリンタ言語形式のプリントデータを生成して9100番ポートに転送するようにすることも考えられる。
図19にこのようにする場合のプリントシステムの機能ブロック図の例を示す。
この例においては、プリンタ40′には、HTTPS通信用アプリ43は省略したが、図5のプリンタ40の構成に加え、解凍アプリ46を設け、9200番ポートで受信したデータに対し、特定の復号化処理を行って、その結果を9100番ポートに送信するようにしている。そして、HTTP通信用アプリ42′は、受信したHTTPメッセージから圧縮状態のプリントデータを取り出して、これを9200番ポートに送信するようにしている。
Also, as corresponding to the example described with reference to FIG. 4 in the first embodiment, print data in the printer language format supported by the printer application 41 is generated by a plurality of stages of data conversion processing, and the number 9100 is generated. It is possible to forward to a port.
FIG. 19 shows an example of a functional block diagram of the print system in such a case.
In this example, the HTTPS communication application 43 is omitted from the printer 40 ′, but a decompression application 46 is provided in addition to the configuration of the printer 40 in FIG. 5, and specific decryption is performed on the data received at the 9200th port. The result is transmitted to the 9100 port. Then, the HTTP communication application 42 ′ extracts compressed print data from the received HTTP message and transmits it to the 9200th port.

そして、PC30側では、プリントデータに圧縮処理を施し、このデータをHTTPメッセージに記載してプリンタ40′のHTTPポートに送信すると、プリンタ40′側で解凍処理を行わせ、プリントデータに基づくプリントを行わせることができる。すなわち、図15を用いて説明した場合と同様な処理が可能である。
そして、この場合、HTTP通信用アプリ42′にはプリントデータを解凍する機能を設けなくてよく、また、解凍アプリ46には単に受信したデータに対して特定の解凍処理を行って9100番ポートにループバック送信する機能を設ければよい。従って、各アプリの構成を単純化し、開発工数の低減やコストダウンを図ることができる。
On the PC 30 side, the print data is subjected to compression processing. When this data is described in an HTTP message and transmitted to the HTTP port of the printer 40 ', the printer 40' side performs decompression processing, and print based on the print data is performed. Can be done. That is, the same processing as that described with reference to FIG. 15 is possible.
In this case, the HTTP communication application 42 ′ does not have to have a function for decompressing the print data, and the decompression application 46 simply performs a specific decompression process on the received data and sets the port 9100 to the port. A function for performing loopback transmission may be provided. Therefore, the configuration of each application can be simplified, and the development man-hours can be reduced and the cost can be reduced.

また、図20に別の例を示すが、この図に示すプリンタ40″に備えるHTTP通信用アプリ42″のように、受信したHTTPリクエストに記載されていたプリントデータが圧縮されているかいないかに応じて、ループバック送信先を変えることができるようにしてもよい。このようにすれば、PC30から送信されてくるプリントデータの形式が場合によって異なっても、プリンタ40″側でこれを振り分けて適切に処理し、プリントデータに基づくプリントを行うことができる。   FIG. 20 shows another example. Depending on whether or not the print data described in the received HTTP request is compressed as in the HTTP communication application 42 ″ included in the printer 40 ″ shown in FIG. Thus, the loopback transmission destination may be changed. In this way, even if the format of the print data transmitted from the PC 30 varies depending on the case, the printer 40 ″ can distribute and properly process the print data based on the print data.

もちろん、復号化機能を有するアプリや、XML形式の帳票データをプリントデータに変換する機能を有するアプリ等を設け、HTTPメッセージに含まれるデータの形式に応じ、これらのアプリがリスンするポートにループバック送信できるようにすることも考えられる。
また、プリンタ40にプリントデータを送信する装置の具体例としては、以上説明してきたようなPC30以外にも、例えばスキャナやMFP等の画像機器(画像処理装置)が考えられる。
Of course, an application with a decryption function, an application with a function to convert form data in XML format into print data, etc. are provided, and loopback to the port where these applications listen according to the data format included in the HTTP message. It may be possible to transmit.
Further, as a specific example of an apparatus for transmitting print data to the printer 40, an image device (image processing apparatus) such as a scanner or an MFP can be considered in addition to the PC 30 as described above.

図21に、この場合のプリントシステムの構成例を示す。
この図に示す画像機器70は、操作パネル71及びスキャナエンジン73を備え、スキャナアプリ72によって操作パネル71からの指示を検出してそれに従ってスキャナエンジン73を駆動し、ADF(自動原稿給装装置)やコンタクトガラス上に載置された原稿の画像を読み取って画像データを得る。
FIG. 21 shows a configuration example of the print system in this case.
An image device 70 shown in this figure includes an operation panel 71 and a scanner engine 73. The scanner application 72 detects an instruction from the operation panel 71, and drives the scanner engine 73 according to the detected instruction, thereby ADF (automatic document feeder). Image data is obtained by reading an image of a document placed on the contact glass.

そして、スキャナエンジン73は、その画像データをプリンタドライバ74に渡し、以後、その画像データに係る画像をプリントさせるためのプリントデータを、PC30の場合と同様に、標準スプーラ76と拡張スプーラ77を備えるポートモニタ75により、プリントを実行させるプリンタ40の適当なポートに、適当なプロトコルで送信し、プリントを行わせる。どのアドレスのプリンタにどのプロトコルで送信するかは、操作パネル71からの操作により指定することができる。
このようにプリントシステムを構成することにより、スキャナエンジン73で読み取った画像をプリンタ40にプリントさせることができ、全体として、画像機器70とプリンタ40が近くにあればコピー機、遠くにあればファクシミリ装置のような動作を行わせることができる。
Then, the scanner engine 73 passes the image data to the printer driver 74, and thereafter includes print data for printing an image related to the image data, as in the case of the PC 30, with a standard spooler 76 and an expansion spooler 77. The port monitor 75 transmits the data to an appropriate port of the printer 40 that executes printing by using an appropriate protocol to perform printing. It is possible to specify which protocol to send to which printer by which protocol using the operation panel 71.
By configuring the printing system in this manner, an image read by the scanner engine 73 can be printed on the printer 40. As a whole, if the image device 70 and the printer 40 are close to each other, a copier, and if far away, a facsimile machine is used. Operation like an apparatus can be performed.

また、PC30や画像機器70がプリンタ40に送信するプリントデータは、送信側で自ら作成したものでなくてもよく、他の装置から受信した印刷要求に含まれるプリントデータを転送するものでもよい。また、この場合に、図7に示したような印刷属性データを付加して転送するようにしてもよい。   Further, the print data transmitted from the PC 30 or the image device 70 to the printer 40 does not have to be created on the transmission side itself, but may be print data included in a print request received from another apparatus. In this case, print attribute data as shown in FIG. 7 may be added and transferred.

以上で実施形態の説明を終了するが、以上説明してきた実施形態及び変形例において、装置やシステムの構成、具体的な処理内容、通信に使用する通信プロトコル等が上述の実施形態で説明したものに限られないことはもちろんである。
例えば、通信経路として、ネットワーク以外にも、パラレルケーブルを介した通信経路を用いることも考えられる。
Although the description of the embodiment has been completed above, in the embodiment and modifications described above, the configuration of the apparatus and system, specific processing contents, the communication protocol used for communication, and the like described in the above embodiment Of course, it is not limited to.
For example, it is possible to use a communication path via a parallel cable as a communication path in addition to a network.

また、プリンタアプリ41に、処理中にデータが不正な内容であることを認識した場合(正しい形式のデータであればありえない形式でデータが並んでいた場合等)に、エラーと認識し、プリントを中止する機能を設けてもよい。このようにすれば、誤ったデータに基づいて無駄なプリントを行ってしまうことを防止できる。
また、この発明はプリンタのような画像形成装置以外のデータ変換装置にも適用できることはもちろんである。その具体例としては、帳票システムや発券システム等の業務システム、テレビ・ビデオ・ラジオ等の記録装置や出力装置等が挙げられる。
さらに、以上説明してきた実施形態や変形例の構成は、矛盾しない範囲で適宜組み合わせることもできる。
In addition, when the printer application 41 recognizes that the data has an illegal content during the processing (when the data is arranged in a format that is not possible if the data is in the correct format), the printer application 41 recognizes the error and prints the data. A function to cancel may be provided. In this way, it is possible to prevent unnecessary printing from being performed based on erroneous data.
Of course, the present invention can be applied to a data conversion apparatus other than an image forming apparatus such as a printer. Specific examples thereof include business systems such as form systems and ticket issuing systems, recording devices such as televisions, videos, and radios, output devices, and the like.
Furthermore, the configurations of the embodiments and the modifications described above can be combined as appropriate within a consistent range.

また、この発明によるプログラムは、コンピュータに受信したデータの形式を変換するデータ変換装置を制御させ、上述したデータ変換装置20のような装置として機能させるためのプログラムであり、このようなプログラムをコンピュータに実行させることにより、上述したような効果を得ることができる。
このようなプログラムは、はじめからコンピュータに備えるROMあるいはHDD等の記憶手段に格納しておいてもよいが、記録媒体であるCD−ROMあるいはフレキシブルディスク,SRAM,EEPROM,メモリカード等の不揮発性記録媒体(メモリ)に記録して提供することもできる。そのメモリに記録されたプログラムをコンピュータにインストールしてCPUに実行させるか、CPUにそのメモリからこのプログラムを読み出して実行させることにより、上述した各手順を実行させることができる。
さらに、ネットワークに接続され、プログラムを記録した記録媒体を備える外部機器あるいはプログラムを記憶手段に記憶した外部機器からダウンロードして実行させることも可能である。
Further, the program according to the present invention is a program for causing a computer to control a data conversion device that converts the format of received data and causing the computer to function as a device such as the data conversion device 20 described above. By executing the above, the effects as described above can be obtained.
Such a program may be stored in a storage means such as a ROM or HDD provided in the computer from the beginning, but a non-volatile recording such as a CD-ROM or flexible disk, SRAM, EEPROM, memory card or the like as a recording medium. It can also be recorded on a medium (memory) and provided. Each procedure described above can be executed by installing a program recorded in the memory in a computer and causing the CPU to execute the program, or causing the CPU to read and execute the program from the memory.
Furthermore, it is also possible to download and execute an external device that is connected to a network and includes a recording medium that records the program, or an external device that stores the program in the storage unit.

以上説明してきたように、この発明のデータ変換装置、データ変換システム、データ変換方法、プログラム又は記録媒体によれば、受信したデータに対してデータ変換を行う、ファイアウォール越しの通信に対応していないデータ変換装置を、容易にファイアウォール越しの通信に対応させられるようにすることができる。
従って、この発明を適用することにより、処理の柔軟性が高いデータ変換装置を安価に提供することができる。
As described above, according to the data conversion device, data conversion system, data conversion method, program, or recording medium of the present invention, it does not support communication through a firewall that performs data conversion on received data. The data conversion device can be easily adapted for communication through a firewall .
Therefore, by applying the present invention, a data conversion apparatus with high processing flexibility can be provided at low cost.

この発明のデータ変換システムの第1の実施形態の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of 1st Embodiment of the data conversion system of this invention. そのデータ変換システムにおいて、情報処理装置とデータ変換装置の間にファイアウォールがない状態での動作について説明するための図である。In the data conversion system, it is a figure for demonstrating operation | movement in the state without a firewall between information processing apparatus and a data converter. 図1に示したデータ変換装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the data converter shown in FIG. 図1に示したシステムの変形例を示す機能ブロック図である。It is a functional block diagram which shows the modification of the system shown in FIG. その別の変形例を示す機能ブロック図である。It is a functional block diagram which shows the other modification.

この発明のデータ変換システムの第2の実施形態であるプリントシステムの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the printing system which is 2nd Embodiment of the data conversion system of this invention. 図5に示したシステムにおいてプリンタが取り扱うデータの形式を示す図である。It is a figure which shows the format of the data which a printer handles in the system shown in FIG. 図6に示したPC及びプリンタを設置する環境の例を示す図である。FIG. 7 is a diagram illustrating an example of an environment in which the PC and the printer illustrated in FIG. 6 are installed. 図6に示したPCにおいて拡張スプーラの使用並びに、通信の暗号化の有無を設定するための画面例を示す図である。FIG. 7 is a diagram illustrating an example of a screen for setting use of an extension spooler and presence / absence of communication encryption in the PC illustrated in FIG. 6. 同じくプリントに使用するポートの設定の状態を参照する画面の例を示す図である。It is a figure which shows the example of the screen which similarly refers the setting state of the port used for printing.

図6に示したシステムにおいてPC側で実行する処理のフローチャートである。7 is a flowchart of processing executed on the PC side in the system shown in FIG. 6. 同じくプリンタ側でHTTP通信用アプリにより実行する処理のフローチャートである。6 is a flowchart of processing executed by the HTTP communication application on the printer side. 同じくプリンタ側でHTTPS通信用アプリにより実行する処理のフローチャートである。6 is a flowchart of processing executed by the HTTPS communication application on the printer side. 同じくプリンタ側でプリンタアプリにより実行する処理のフローチャートである。6 is a flowchart of processing executed by the printer application on the printer side. 第2の実施形態の変形例でのHTTP通信用アプリにおけるデータの取扱い例を示す図である。It is a figure which shows the example of handling of the data in the application for HTTP communication in the modification of 2nd Embodiment.

その別の例を示す図である。It is a figure which shows the other example. そのさらに別の例を示す図である。It is a figure which shows another example. 第2の実施形態の変形例でのHTTPS通信用アプリにおけるデータの取扱い例を示す図である。It is a figure which shows the example of handling of the data in the application for HTTPS communication in the modification of 2nd Embodiment. 第2の実施形態の一変形例の構成を示す、図6と対応する図である。It is a figure corresponding to FIG. 6 which shows the structure of the modification of 2nd Embodiment. 第2の実施形態の別の変形例の構成を示す、図6と対応する図である。It is a figure corresponding to Drawing 6 showing the composition of another modification of a 2nd embodiment. 第2の実施形態のさらに別の変形例の構成を示す、図6と対応する図である。It is a figure corresponding to FIG. 6 which shows the structure of another modification of 2nd Embodiment. 従来のデータ変換装置の一例であるプリンタの機能構成を、そのプリンタにプリントを指示するPCの機能構成例と併せて示す図である。It is a figure which shows the functional structure of the printer which is an example of the conventional data converter together with the functional structural example of PC which instruct | indicates printing to the printer.

符号の説明Explanation of symbols

10:情報処理装置、11:送信データ生成部、12:通信制御部、
20:データ変換装置、21:第1のデータ変換機能部、
22:第2のデータ変換機能部、23:第3のデータ変換機能部、
30,80:PC、31,81:アプリケーション、
32,74,82:プリンタドライバ、33,75,83:ポートモニタ、
34,76:標準スプーラ、35,77:拡張スプーラ、
40,40′,40″,90:プリンタ、41,91:プリンタアプリ、
42,42′,42″:HTTP通信用アプリ、43:HTTPS通信用アプリ、
44,93:プリントエンジン、45:省エネルギ制御部、46:解凍アプリ、
50:ファイアウォール
10: Information processing device, 11: Transmission data generation unit, 12: Communication control unit,
20: data conversion device, 21: first data conversion function unit,
22: second data conversion function unit, 23: third data conversion function unit,
30, 80: PC, 31, 81: Application,
32, 74, 82: Printer driver, 33, 75, 83: Port monitor,
34,76: Standard spooler, 35,77: Expansion spooler,
40, 40 ′, 40 ″, 90: printer, 41, 91: printer application,
42, 42 ', 42 ": HTTP communication application, 43: HTTPS communication application,
44, 93: Print engine, 45: Energy saving control unit, 46: Defrosting application,
50: Firewall

Claims (19)

ネットワークを介してファイアウォール越しに情報処理装置からデータを受信可能なデータ変換装置であって、
前記ファイアウォールで使用が許可されていない当該データ変換装置が備える第1のポートで受信した第1のデータ形式のデータである第1のデータを、前記第1のデータ形式と異なる第3のデータ形式のデータである第3のデータに変換する第1のデータ変換手段と、
前記ファイアウォールで使用が許可されている当該データ変換装置が備える第2のポートで受信した、前記第1のデータ形式と異なる第2のデータ形式のデータである第2のデータを、前記第1のデータ形式のデータに変換した上で、該第1のデータ形式に変換したデータを前記第1のポートに送信することにより前記第1のデータ変換手段に供給して、前記第1のデータ変換手段により該供給したデータを前記第3のデータ形式のデータに変換させることにより、前記第2のデータ形式と異なる前記第3のデータ形式のデータである第3のデータに変換する第2のデータ変換手段とを設けたことを特徴とするデータ変換装置。
A data conversion device capable of receiving data from an information processing device through a firewall via a network,
The third data format different from the first data format is the first data that is the data of the first data format received at the first port of the data conversion device that is not permitted to be used by the firewall. First data conversion means for converting the data into third data,
Received by the second port provided in the data conversion apparatus used by the firewall is permitted, the second data is data of a second data format different from the first data format, said first The data converted into the data format is supplied to the first data conversion means by transmitting the data converted into the first data format to the first port, and the first data conversion means Converting the supplied data into data in the third data format, thereby converting the data into third data that is data in the third data format different from the second data format. And a data conversion device.
請求項に記載のデータ変換装置であって、
前記第2のデータは、前記第1のデータ形式のデータを前記第2のデータ形式に変換することにより、ファイアウォール越しに当該データ変換装置が備える第2のポートに送信するために生成されたデータであることを特徴とするデータ変換装置。
The data conversion device according to claim 1 ,
The second data is data generated in order to transmit the data in the first data format to the second data format through the firewall to the second port of the data conversion device. A data converter characterized by the above.
請求項1又は2記載のデータ変換装置であって、
前記第2のデータ形式は、HTTP,HTTPS,LDAP,POP3,SMTP,FTPのいずれかのプロトコルにおいてデータ送信に用いられるデータ形式であることを特徴とするデータ変換装置。
The data conversion device according to claim 1 or 2 ,
The second data format is a data format used for data transmission in any one protocol of HTTP, HTTPS, LDAP, POP3, SMTP, and FTP.
請求項1乃至のいずれか一項に記載のデータ変換装置であって、
前記第1のデータは、情報処理装置において作成されたデータであり、印刷装置において印刷させる内容を示す印刷内容データと、前記印刷装置に該印刷内容データに基づく印刷を行わせる際に使用する印刷設定の情報である印刷属性データとを含み、
前記第3のデータは、前記印刷装置が印刷を実行する時に取り扱う画像データであることを特徴とするデータ変換装置。
The data conversion device according to any one of claims 1 to 3 ,
The first data is data created in the information processing apparatus, print content data indicating the content to be printed in the printing device, and printing used when the printing device performs printing based on the print content data Print attribute data that is setting information,
The data conversion apparatus, wherein the third data is image data handled when the printing apparatus executes printing.
請求項1乃至のいずれか一項に記載のデータ変換装置であって、
自身を省エネルギモードに移行させる手段と、
前記第1のポートで何らかのデータを受信した場合に自身を省エネルギモードから通常動作モードに復帰させる手段と、
前記第2のポートで何らかのデータを受信した場合に前記第1のポートに自身を通常動作モードに復帰させるためのダミーのデータを送信する手段とを設けたことを特徴とするデータ変換装置。
A data conversion device according to any one of claims 1 to 4 , wherein
Means to shift itself to energy saving mode;
Means for returning itself from the energy saving mode to the normal operation mode when any data is received at the first port;
A data conversion apparatus, comprising: means for transmitting dummy data for returning itself to a normal operation mode to the first port when any data is received at the second port.
請求項1乃至のいずれか一項に記載のデータ変換装置であって、
前記第2のデータ形式はHTTPメッセージの形式であり、
前記第2のデータ変換手段が、前記第2のデータであるHTTPメッセージ中にパラメータとして記載されている印刷属性データをPJL言語の印刷属性データに変換する手段を備えることを特徴とするデータ変換装置。
A data conversion device according to any one of claims 1 to 5 ,
The second data format is an HTTP message format,
The data conversion apparatus, wherein the second data conversion means includes means for converting print attribute data described as a parameter in an HTTP message as the second data into print attribute data of PJL language. .
画像データに基づき印刷を行う印刷手段を備えた印刷装置であることを特徴とする請求項1乃至のいずれか一項に記載のデータ変換装置。 Data conversion apparatus according to any one of claims 1 to 6, characterized in that a printing apparatus having a printing means for performing printing based on image data. 情報処理装置と、その情報処理装置からネットワークを介してファイアウォール越しにデータを受信可能なデータ変換装置とを備えたデータ変換システムであって、
前記データ変換装置に、
前記ファイアウォールで使用が許可されていない前記データ変換装置が備える第1のポートで受信した第1のデータ形式のデータである第1のデータを、前記第1のデータ形式と異なる第3のデータ形式のデータである第3のデータに変換する第1のデータ変換手段と、
前記ファイアウォールで使用が許可されている前記データ変換装置が備える第2のポートで受信した、前記第1のデータ形式と異なる第2のデータ形式のデータである第2のデータを、前記第1のデータ形式のデータに変換した上で、該第1のデータ形式に変換したデータを前記第1のポートに送信することにより前記第1のデータ変換手段に供給して、前記第1のデータ変換手段により該供給したデータを前記第3のデータ形式のデータに変換させることにより、前記第2のデータ形式と異なる前記第3のデータ形式のデータである第3のデータに変換する第2のデータ変換手段とを設け、
前記情報処理装置に、
前記データ変換装置にデータを送信する場合に、前記第2のデータ形式のデータを前記第2のポートに送信する手段を設けたことを特徴とするデータ変換システム。
A data conversion system comprising an information processing device and a data conversion device capable of receiving data from the information processing device via a network through a firewall,
In the data converter,
The third data format different from the first data format is the first data that is the data of the first data format received at the first port of the data conversion device that is not permitted to be used by the firewall. First data conversion means for converting the data into third data,
Received by the second port, wherein said use a firewall is allowed data converting device comprises a second data which is data of a second data format different from the first data format, said first The data converted into the data format is supplied to the first data conversion means by transmitting the data converted into the first data format to the first port, and the first data conversion means Converting the supplied data into data in the third data format, thereby converting the data into third data that is data in the third data format different from the second data format. Means,
In the information processing apparatus,
A data conversion system comprising means for transmitting data in the second data format to the second port when data is transmitted to the data converter.
請求項に記載のデータ変換システムであって、
前記第2のデータは、前記第1のデータ形式のデータを前記第2のデータ形式に変換することにより、ファイアウォール越しに前記データ変換装置が備える第2のポートに送信するために前記情報処理装置において生成されたデータであることを特徴とするデータ変換システム。
The data conversion system according to claim 8 , wherein
The information processing apparatus is configured to transmit the second data to the second port included in the data conversion apparatus through a firewall by converting the data in the first data format into the second data format. A data conversion system characterized in that the data is generated in the above.
請求項8又は9に記載のデータ変換システムであって、
前記第2のデータ形式は、HTTP,HTTPS,LDAP,POP3,SMTP,FTPのいずれかのプロトコルにおいてデータ送信に用いられるデータ形式であることを特徴とするデータ変換システム。
The data conversion system according to claim 8 or 9 , wherein
2. The data conversion system according to claim 1, wherein the second data format is a data format used for data transmission in any one protocol of HTTP, HTTPS, LDAP, POP3, SMTP, and FTP.
請求項8乃至10のいずれか一項に記載のデータ変換システムであって、
前記第1のデータは、印刷装置において印刷させる内容を示す印刷内容データと、前記印刷装置に該印刷内容データに基づく印刷を行わせる際に使用する印刷設定の情報である印刷属性データとを含み、
前記第3のデータは、前記印刷装置が印刷を実行する時に取り扱う画像データであることを特徴とするデータ変換システム。
A data conversion system according to any one of claims 8 to 10 ,
The first data includes print content data indicating content to be printed by a printing apparatus, and print attribute data which is information of print settings used when causing the printing apparatus to perform printing based on the print content data. ,
The data conversion system, wherein the third data is image data handled when the printing apparatus executes printing.
請求項8乃至11のいずれか一項に記載のデータ変換システムであって、
前記データ変換装置に、
自身を省エネルギモードに移行させる手段と、
前記第1のポートで何らかのデータを受信した場合に自身を省エネルギモードから通常動作モードに復帰させる手段と、
前記第2のポートで何らかのデータを受信した場合に前記第1のポートに自身を通常動作モードに復帰させるためのダミーのデータを送信する手段とを設けたことを特徴とするデータ変換システム。
The data conversion system according to any one of claims 8 to 11 ,
In the data converter,
Means to shift itself to energy saving mode;
Means for returning itself from the energy saving mode to the normal operation mode when any data is received at the first port;
A data conversion system comprising means for transmitting dummy data for returning itself to a normal operation mode to the first port when any data is received at the second port.
請求項8乃至12のいずれか一項に記載のデータ変換システムであって、
前記第2のデータ形式はHTTPメッセージの形式であり、
前記データ変換装置の前記第2のデータ変換手段が、前記第2のデータであるHTTPメッセージ中にパラメータとして記載されている印刷属性データをPJL言語の印刷属性データに変換する手段を備えることを特徴とするデータ変換システム。
A data conversion system according to any one of claims 8 to 12 ,
The second data format is an HTTP message format,
The second data conversion means of the data conversion device comprises means for converting print attribute data described as a parameter in an HTTP message as the second data into print attribute data of PJL language. Data conversion system.
前記データ変換装置が、画像データに基づき印刷を行う印刷手段を備えた印刷装置であることを特徴とする請求項8乃至13のいずれか一項に記載のデータ変換システム。 The data conversion system according to any one of claims 8 to 13 , wherein the data conversion device is a printing device including a printing unit that performs printing based on image data. ネットワークを介してファイアウォール越しに情報処理装置からデータを受信可能なデータ変換装置に、
前記ファイアウォールで使用が許可されていない前記データ変換装置が備える第1のポートで受信した第1のデータ形式のデータである第1のデータを、前記第1のデータ形式と異なる第3のデータ形式のデータである第3のデータに変換する第1のデータ変換手順と、
前記ファイアウォールで使用が許可されている前記データ変換装置が備える第2のポートで受信した、前記第1のデータ形式と異なる第2のデータ形式のデータである第2のデータを、前記第1のデータ形式のデータに変換した上で、該第1のデータ形式に変換したデータを前記第1のポートに送信することにより前記第1のデータ変換手順によるデータ変換に供して、前記第1のデータ変換手順により該供したデータを前記第3のデータ形式のデータに変換することにより、前記第2のデータ形式と異なる前記第3のデータ形式のデータである第3のデータに変換する第2のデータ変換手順とを実行させることを特徴とするデータ変換方法。
To a data converter that can receive data from an information processing device through a firewall via a network,
The third data format different from the first data format is the first data that is the data of the first data format received at the first port of the data conversion device that is not permitted to be used by the firewall. A first data conversion procedure for converting the data into third data,
Received by the second port, wherein said use a firewall is allowed data converting device comprises a second data which is data of a second data format different from the first data format, said first The first data is converted into data in the data format, and the data converted into the first data format is transmitted to the first port to be used for data conversion by the first data conversion procedure. A second data that is converted into third data that is data in the third data format different from the second data format by converting the provided data into data in the third data format by a conversion procedure. A data conversion method characterized by causing a data conversion procedure to be executed.
請求項15に記載のデータ変換方法であって、
前記データ変換装置に、
自身を省エネルギモードに移行させる手順と、
前記第1のポートで何らかのデータを受信した場合に自身を省エネルギモードから通常動作モードに復帰させる手順と、
前記第2のポートで何らかのデータを受信した場合に前記第1のポートに自身を通常動作モードに復帰させるためのダミーのデータを送信する手順とを実行させることを特徴とするデータ変換方法。
The data conversion method according to claim 15 , comprising:
In the data converter,
The procedure to shift itself to energy saving mode,
A procedure for returning itself from the energy saving mode to the normal operation mode when any data is received at the first port;
And a procedure for transmitting dummy data for returning itself to a normal operation mode to the first port when any data is received at the second port.
請求項15又は16に記載のデータ変換方法であって、
前記第2のデータ形式はHTTPメッセージの形式であり、
前記第2のデータ変換手順が、前記第2のデータであるHTTPメッセージ中にパラメータとして記載されている印刷属性データをPJL言語の印刷属性データに変換する手順を備えることを特徴とするデータ変換方法。
The data conversion method according to claim 15 or 16 , comprising:
The second data format is an HTTP message format,
The second data conversion procedure includes a procedure for converting print attribute data described as a parameter in an HTTP message as the second data into PJL language print attribute data. .
コンピュータを請求項1乃至のいずれか一項に記載のデータ変換装置として機能させるためのプログラム。 The program for functioning a computer as a data converter as described in any one of Claims 1 thru | or 6 . 請求項18に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。 The computer-readable recording medium which recorded the program of Claim 18 .
JP2005271105A 2005-09-16 2005-09-16 Data conversion apparatus, data conversion system, data conversion method, program, and recording medium Expired - Fee Related JP5021921B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005271105A JP5021921B2 (en) 2005-09-16 2005-09-16 Data conversion apparatus, data conversion system, data conversion method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005271105A JP5021921B2 (en) 2005-09-16 2005-09-16 Data conversion apparatus, data conversion system, data conversion method, program, and recording medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011224770A Division JP5168398B2 (en) 2011-10-12 2011-10-12 Apparatus, data processing method, and program

Publications (2)

Publication Number Publication Date
JP2007080227A JP2007080227A (en) 2007-03-29
JP5021921B2 true JP5021921B2 (en) 2012-09-12

Family

ID=37940439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005271105A Expired - Fee Related JP5021921B2 (en) 2005-09-16 2005-09-16 Data conversion apparatus, data conversion system, data conversion method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP5021921B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4835493B2 (en) * 2007-03-30 2011-12-14 ブラザー工業株式会社 Image forming apparatus
WO2014164602A1 (en) * 2013-03-11 2014-10-09 Xerox International Partners Virtual printer interface node
JP7161351B2 (en) * 2018-09-11 2022-10-26 サトーホールディングス株式会社 Printer, information processing system, information processing method, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001053744A (en) * 1999-08-06 2001-02-23 Toshiba Corp Parallel distribution system
JP2002199004A (en) * 2000-12-26 2002-07-12 Matsushita Electric Ind Co Ltd Mobile communication method through ip network
JP4315696B2 (en) * 2002-03-29 2009-08-19 富士通株式会社 Host terminal emulation program, relay program, and host terminal emulation method
US20040167974A1 (en) * 2003-02-20 2004-08-26 Jeremy Bunn Exposing mobile-enterprise printers using a universal plug and play proxy

Also Published As

Publication number Publication date
JP2007080227A (en) 2007-03-29

Similar Documents

Publication Publication Date Title
JP4870414B2 (en) Data processing system, data processing apparatus, data processing method and program
JP2007328558A (en) Data processor, data processing system, control method of data processor, method for adding data conversion function, program and recording medium
JP5022875B2 (en) Information processing apparatus and control method thereof, information processing system and program
JP5995525B2 (en) System, image forming apparatus, server, and control method thereof
US20080068646A1 (en) Printing system, information processing apparatus, mail processing method, and storage medium
JP5704800B2 (en) Data processing apparatus, data processing method, and program
EP2169936B1 (en) Printer having web server function
JP5743671B2 (en) Information processing apparatus and control method thereof
JP2014026562A (en) Print setting device, program, and image forming system
JP5804749B2 (en) Data processing apparatus, data processing method and program
JP5021921B2 (en) Data conversion apparatus, data conversion system, data conversion method, program, and recording medium
JP5168398B2 (en) Apparatus, data processing method, and program
JP2008211747A (en) Image processing apparatus, server apparatus, task processing method, storage medium, and program
JP6768544B2 (en) Information processing equipment, control methods and programs
JP5707893B2 (en) Information processing apparatus, information processing system, information processing method, and information processing program
JP2012080519A (en) Image processing device
JP2013037547A (en) Print server, print data providing method, and printing system
JP4965726B2 (en) Data processing system, data processing apparatus, information processing apparatus, program, and recording medium
JP2012243109A (en) Image processing system
JP5950613B2 (en) Program, information processing apparatus, and control method
US11057529B1 (en) Image forming system, image forming apparatus, and image forming method capable of pull printing without key input with no server
JP6292064B2 (en) Print processing program, print processing method, and information processing apparatus
JP6248594B2 (en) Image processing system, image processing apparatus, processing method, and control program
JP5353833B2 (en) Server, print setting file storage control method, and storage control program
JP5111325B2 (en) Management device, management system, management method, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101102

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101228

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20101228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110412

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110608

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110712

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111012

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20111019

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20111209

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120615

R150 Certificate of patent or registration of utility model

Ref document number: 5021921

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150622

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees