[go: up one dir, main page]

JP4965726B2 - Data processing system, data processing apparatus, information processing apparatus, program, and recording medium - Google Patents

Data processing system, data processing apparatus, information processing apparatus, program, and recording medium Download PDF

Info

Publication number
JP4965726B2
JP4965726B2 JP2011192547A JP2011192547A JP4965726B2 JP 4965726 B2 JP4965726 B2 JP 4965726B2 JP 2011192547 A JP2011192547 A JP 2011192547A JP 2011192547 A JP2011192547 A JP 2011192547A JP 4965726 B2 JP4965726 B2 JP 4965726B2
Authority
JP
Japan
Prior art keywords
data
data processing
port
printer
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011192547A
Other languages
Japanese (ja)
Other versions
JP2012030596A (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 JP2011192547A priority Critical patent/JP4965726B2/en
Publication of JP2012030596A publication Critical patent/JP2012030596A/en
Application granted granted Critical
Publication of JP4965726B2 publication Critical patent/JP4965726B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • Y02T10/6221
    • Y02T10/6286
    • Y02T10/7077

Landscapes

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

Description

この発明は、受信したデータを処理するデータ処理装置とそのデータ処理装置にデータを送信する情報処理装置とを備えたデータ処理システム、このようなデータ処理システムを構成するに好適なデータ処理装置及び情報処理装置、コンピュータをこのようなデータ処理装置あるいは情報処理装置として機能させるためのプログラム、およびこのようなプログラムを記録したコンピュータ読み取り可能な記録媒体に関する。 The present invention relates to a data processing system including a data processing device that processes received data and an information processing device that transmits data to the data processing device, a data processing device suitable for configuring such a data processing system, and The present invention relates to an information processing apparatus, a program for causing a computer to function as such a data processing apparatus or an information processing apparatus, and a computer-readable recording medium on which such a program is recorded.

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

図21に、このようなPCとプリンタの機能構成を示す。
この図に示すように、PC80には、一般的に、ワードプロセッサや表計算、ドローイングを始めとする種々の機能を実現するためのアプリケーション(アプリ)81を備えており、ユーザは、このアプリケーション81で取り扱う文書や図等をプリントするために、アプリケーション81に対して印刷の指示を行う。
FIG. 21 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が、そのデータを、ユーザが指定したプリンタが処理できる形式のプリントデータに変換して図示しないスプールディレクトリにスプールする。   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 data is converted into print data that can be processed by the printer and spooled in a spool directory (not shown).

ポートモニタ83は、PC80とプリンタ90との間のデータの転送を行うプログラムであり、スプールディレクトリにスプールされたデータを、使用するプリンタのアドレスの、9100番ポートに送信する。このポートは、プリンタ90がプリントデータの受信に使用するポートであり、プリンタ90が通信に使用するプロトコルにより定められるものである。   The port monitor 83 is a program for transferring data between the PC 80 and the printer 90, and transmits the data spooled in the spool directory to the 9100 port of the address of the printer to be used. This port is a port used by the printer 90 for receiving print data, and is determined by a protocol used by the printer 90 for communication.

一方、プリンタ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に記載されている。
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.

しかしながら、上述のプリンタ90の場合のように、受け手の装置が特定の形式のデータしか処理できない場合、データを送信する側も、その形式でデータを送信しなければならない。従って、送信するデータを圧縮して容量を低減し、転送速度を向上させたり、暗号化してセキュリティの向上を図ったりすることができないという問題があった。
また、このような問題を解決するために、受け手側の装置が、受信したデータの形式を判断してそれに応じた変換処理を行うことができるようにすることも考えられる。しかし、このようにすると、処理負荷が大きくなるし、既存のアプリケーションを大幅に修正しなければならないため、開発の負担も大きいという問題があった。
However, if the recipient device can only process data in a specific format, as in the case of the printer 90 described above, the data transmitting side must also transmit data in that format. Therefore, there is a problem that it is impossible to compress the data to be transmitted to reduce the capacity and to improve the transfer speed or to improve the security by encrypting.
In order to solve such a problem, it is conceivable that the receiver apparatus can determine the format of the received data and perform a conversion process corresponding thereto. However, in this case, there is a problem that the processing load becomes large and the existing application has to be significantly modified, so that the development burden is large.

このような問題は、上述したプリンタ90に限らず、受信したデータに対してそのデータの形式によらず特定のデータ処理を行うようなデータ処理装置について、同様に存在する問題である。
この発明は、このような背景に基づいてなされたものであり、受信したデータに対してデータ処理を行うデータ処理装置が、低い処理負荷で複数の形式のデータを処理し、初めのデータ形式によらず同じ処理結果を実現できるようにすることを目的とする。さらに、データ処理装置に一部の機能を停止させるモードを設ける場合でも、簡単な制御でその同じ処理結果を実現する機能を活用できるようにすることを目的とする。
Such a problem is not limited to the printer 90 described above, and is a problem that similarly exists in a data processing apparatus that performs specific data processing on received data regardless of the format of the data.
The present invention has been made based on such a background. A data processing device that performs data processing on received data processes a plurality of types of data with a low processing load, and converts the data into the initial data format. It aims to be able to realize the same processing result regardless. It is another object of the present invention to make it possible to utilize a function for realizing the same processing result with simple control even when a mode for stopping some functions is provided in the data processing apparatus.

この発明のデータ処理システムは、上記の目的を達成するため、データを受信するための第1のポートならびに上記第1のポートから受信したデータに対して特定のデータ処理である第1のデータ処理を実行する第1のデータ処理手段を備えるデータ処理装置と情報処理装置とをネットワークを介して接続したデータ処理システムにおいて、上記情報処理装置に、上記データ処理装置に送信するデータのデータ形式に応じて、そのデータを上記データ処理装置の第1のポートに送信するか、上記データ処理装置の上記第1のポートとは異なる第2のポートに送信するかを規定する設定情報を保持する設定保持手段と、データを上記データ処理装置に送信する要求を受け付ける送信要求受付手段と、上記送信要求受付手段が受け付けた要求に従い上記設定情報に基づいて上記データ処理装置の上記第1のポートにデータを送信する場合に、上記受け付けた要求に係る送信データを上記第1のポートに送信する第1の送信手段と、上記送信要求受付手段が受け付けた要求に従い上記設定情報に基づいて上記データ処理装置の上記第2のポートに上記データを送信する場合に、上記受け付けた要求に係る送信データとは異なるデータを上記第1のポートに送信した後に、上記受け付けた要求に係る送信データを上記第2のポートに送信する第2の送信手段とを設け、上記データ処理装置に、データを受信するための上記第2のポートと、上記第2のポートでデータを受信したことに応じて特定のデータ処理である第2のデータ処理を実行する第2のデータ処理手段と、上記第2のデータ処理手段によって上記第2のデータ処理が実行されたデータを上記第1のポートに送信する送信手段と、上記第2のデータ処理手段による上記第2のデータ処理を実行する第1の状態から、上記第2のデータ処理手段による上記第2のデータ処理を実行しない第2の状態へと、そのデータ処理装置を移行させる第1の制御手段と、そのデータ処理装置が上記第2の状態となっているときに上記第1のポートでデータを受信すると、そのデータ処理装置を上記第2の状態から第1の状態へと移行させる第2の制御手段とを設けたものである。In order to achieve the above object, a data processing system according to the present invention includes a first port for receiving data and a first data processing that is specific data processing for data received from the first port. In a data processing system in which a data processing apparatus including a first data processing means for executing and an information processing apparatus are connected via a network, the information processing apparatus is in accordance with a data format of data to be transmitted Setting holding for holding setting information that defines whether the data is transmitted to the first port of the data processing device or a second port different from the first port of the data processing device. Means, a transmission request receiving means for receiving a request for transmitting data to the data processing device, and a request received by the transmission request receiving means. A first transmission means for transmitting transmission data related to the accepted request to the first port when transmitting data to the first port of the data processing device based on the setting information; When transmitting the data to the second port of the data processing device based on the setting information in accordance with the request received by the request receiving means, data different from the transmission data related to the received request is sent to the first data Second transmission means for transmitting transmission data related to the accepted request to the second port after transmission to the port, and the second port for receiving data in the data processing device; Second data processing means for executing second data processing, which is specific data processing in response to reception of data at the second port, and the second data processing. From the first state in which the second data processing by the second data processing means and the transmission means for transmitting the data on which the second data processing has been executed by the means to the first port, First control means for shifting the data processing device to a second state in which the second data processing by the second data processing means is not executed, and the data processing device is in the second state. When data is received at the first port while the data is being received, there is provided second control means for shifting the data processing device from the second state to the first state.

また、この発明のデータ処理装置は、データを受信するための第1のポートと、上記第1のポートから受信したデータに対して特定のデータ処理である第1のデータ処理を実行する第1のデータ処理手段とを備えるデータ処理装置において、データを受信するための、上記第1のポートと異なる第2のポートと、上記第2のポートでデータを受信したことに応じて特定のデータ処理である第2のデータ処理を実行する第2のデータ処理手段と、上記第2のデータ処理手段によって上記第2のデータ処理が実行されたデータを上記第1のポートに送信する送信手段と、上記第2のデータ処理手段による上記第2のデータ処理を実行する第1の状態から、上記第2のデータ処理手段による上記第2のデータ処理を実行しない第2の状態へと、そのデータ処理装置を移行させる第1の制御手段と、そのデータ処理装置が上記第2の状態となっているときに上記第1のポートでデータを受信すると、そのデータ処理装置を上記第2の状態から第1の状態へと移行させる第2の制御手段とを設けたものである。The data processing apparatus of the present invention also includes a first port for receiving data, and a first data process for performing a first data process that is a specific data process on the data received from the first port. In the data processing apparatus comprising the data processing means, a specific data processing is performed in response to the reception of data at a second port different from the first port for receiving data, and the second port. Second data processing means for executing the second data processing, and transmission means for transmitting the data on which the second data processing has been executed by the second data processing means to the first port; From the first state in which the second data processing by the second data processing means is executed to the second state in which the second data processing by the second data processing means is not executed, A first control means for transferring the data processing device and when the data processing device receives the data at the first port when the data processing device is in the second state, the data processing device is And a second control means for shifting from the state to the first state.

このようなデータ処理装置において、上記第2のデータ処理手段が、上記第2のポートにおけるデータの受信を監視し、上記第2のポートで受信したデータを取得するようにするとよい。In such a data processing device, the second data processing means may monitor the reception of data at the second port and acquire the data received at the second port.
さらに、上記第2のデータ処理手段が、上記第2のポートで受信したデータのデータ形式に関する情報を参照することなく、受信したデータに対して上記第2のデータ処理を実行するようにするとよい。Further, the second data processing means may execute the second data processing on the received data without referring to the information on the data format of the data received at the second port. .

また、この発明の情報処理装置は、送信するデータのデータ形式に応じて、そのデータをデータ処理装置の第1のポートに送信するか、上記データ処理装置の上記第1のポートとは異なる第2のポートに送信するかを規定する設定情報を保持する設定保持手段と、データを上記データ処理装置に送信する要求を受け付ける送信要求受付手段と、上記送信要求受付手段が受け付けた要求に従い上記設定情報に基づいて上記データ処理装置の上記第1のポートにデータを送信する場合に、上記受け付けた要求に係る送信データを上記第1のポートに送信する第1の送信手段と、上記送信要求受付手段が受け付けた要求に従い上記設定情報に基づいて上記データ処理装置の上記第2のポートに上記データを送信する場合に、上記受け付けた要求に係る送信データとは異なるデータを上記第1のポートに送信した後に、上記受け付けた要求に係る送信データを上記第2のポートに送信する第2の送信手段とを備えたものである。The information processing apparatus according to the present invention transmits the data to the first port of the data processing apparatus or is different from the first port of the data processing apparatus according to the data format of the data to be transmitted. Setting holding means for holding setting information for specifying whether to transmit to two ports, a transmission request receiving means for receiving a request for transmitting data to the data processing device, and the setting according to the request received by the transmission request receiving means First transmission means for transmitting transmission data related to the accepted request to the first port when transmitting data to the first port of the data processing device based on the information; and the transmission request acceptance When the data is transmitted to the second port of the data processing device based on the setting information according to the request received by the means, the request is received. Data different from the transmission data after transmitting to the first port, the transmission data according to a request received the one in which and a second transmission means for transmitting to said second port.

このような情報処理装置において、上記設定情報において上記第2のポートに送信すると規定されるデータ形式を、上記第1のポートに送信すると規定されるデータ形式のデータに所定のデータ処理を実行して得られるデータのデータ形式とするとよい。In such an information processing apparatus, predetermined data processing is performed on data in a data format specified to be transmitted to the second port in the setting information and data in a data format specified to be transmitted to the first port. The data format of the data obtained in this way is good.

また、この発明のプログラムは、データを受信するための、互いに異なる第1及び第2のポートと、上記第1のポートから受信したデータに対して特定のデータ処理である第1のデータ処理を実行する第1のデータ処理手段とを備えるコンピュータを、上記第2のポートでデータを受信したことに応じて特定のデータ処理である第2のデータ処理を実行する第2のデータ処理手段と、上記第2のデータ処理手段によって上記第2のデータ処理が実行されたデータを上記第1のポートに送信する送信手段と、上記第2のデータ処理手段による上記第2のデータ処理を実行する第1の状態から、上記第2のデータ処理手段による上記第2のデータ処理を実行しない第2の状態へと、そのコンピュータを移行させる第1の制御手段と、そのコンピュータが上記第2の状態となっているときに上記第1のポートでデータを受信すると、そのデータ処理装置を上記第2の状態から第1の状態へと移行させる第2の制御手段として機能させるためのプログラムである。In addition, the program of the present invention performs different first and second ports for receiving data, and first data processing which is specific data processing for data received from the first port. A second data processing means for executing a second data processing as a specific data processing in response to reception of data at the second port; and a computer comprising a first data processing means for executing, Transmitting means for transmitting the data, on which the second data processing has been executed by the second data processing means, to the first port; and a second for executing the second data processing by the second data processing means. The first control means for transferring the computer from the state 1 to the second state in which the second data processing by the second data processing means is not executed, and the computer When data is received at the first port when the data is in the second state, the data processing device functions as a second control means for shifting the data processing device from the second state to the first state. It is a program to make it.

また、この発明の別のプログラムは、コンピュータを、送信するデータのデータ形式に応じて、そのデータをデータ処理装置の第1のポートに送信するか、上記データ処理装置の上記第1のポートとは異なる第2のポートに送信するかを規定する設定情報を保持する設定保持手段と、データを上記データ処理装置に送信する要求を受け付ける送信要求受付手段と、上記送信要求受付手段が受け付けた要求に従い上記設定情報に基づいて上記データ処理装置の上記第1のポートにデータを送信する場合に、上記受け付けた要求に係る送信データを上記第1のポートに送信する第1の送信手段と、上記送信要求受付手段が受け付けた要求に従い上記設定情報に基づいて上記データ処理装置の上記第2のポートに上記データを送信する場合に、上記受け付けた要求に係る送信データとは異なるデータを上記第1のポートに送信した後に、上記受け付けた要求に係る送信データを上記第2のポートに送信する第2の送信手段として機能させるためのプログラムである。According to another program of the present invention, the computer transmits the data to the first port of the data processing device or the first port of the data processing device according to the data format of the data to be transmitted. A setting holding means for holding setting information for specifying whether to transmit to a different second port, a transmission request receiving means for receiving a request for transmitting data to the data processing device, and a request received by the transmission request receiving means First transmission means for transmitting transmission data related to the accepted request to the first port when transmitting data to the first port of the data processing device based on the setting information according to When transmitting the data to the second port of the data processing device based on the setting information according to the request received by the transmission request receiving means, After transmitting data different from the transmission data related to the requested request to the first port, the second transmission means for functioning as second transmission means for transmitting the transmission data related to the accepted request to the second port It is a program.

また、この発明の記録媒体は、これらのプログラムを記録したコンピュータ読み取り可能な記録媒体である。The recording medium of the present invention is a computer-readable recording medium that records these programs.

以上のようなこの発明のデータ処理システム、データ処理装置、または情報処理装置によれば、受信したデータに対してデータ処理を行うデータ処理装置が、低い処理負荷で複数の形式のデータを処理し、初めのデータ形式によらず同じ処理結果を実現できるようにすることができる。さらに、データ処理装置に一部の機能を停止させるモードを設ける場合でも、簡単な制御でその同じ処理結果を実現する機能を活用できるようにすることができる
また、この発明のプログラムによれば、コンピュータをデータ処理装置あるいは情報処理装置として機能させて上記のような機能を実現させ、同様な効果を得ることができる。
この発明の記録媒体によれば、上記のプログラムを記憶していないコンピュータにそのプログラムを読み出させて実行させ、上記の効果を得ることができる。
According to the data processing system, data processing apparatus, or information processing apparatus of the present invention as described above , a data processing apparatus that performs data processing on received data processes a plurality of types of data with a low processing load. The same processing result can be realized regardless of the initial data format. Furthermore, even when a mode for stopping some functions is provided in the data processing apparatus, it is possible to utilize a function that realizes the same processing result by simple control .
Further, according to the program of the present invention, the same function can be obtained by causing the computer to function as a data processing apparatus or an information processing apparatus to realize the above functions.
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の実施形態の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of 1st Embodiment of the data processing system of this invention. 図1に示したデータ処理装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the data processor 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 processing system of this invention. 図5に示したシステムにおいて扱うデータの形式を示す図である。It is a figure which shows the format of the data handled in the system shown in FIG. 図5に示したPCに表示させる登録プリンタ一覧画面の例を示す図である。FIG. 6 is a diagram illustrating an example of a registered printer list screen displayed on the PC illustrated in FIG. 5. 同じくポート選択画面の例を示す図である。It is a figure which similarly shows the example of a port selection screen. 同じく拡張スプーラの使用及びプリントデータ圧縮の有無を設定するための画面例を示す図である。It is a figure which similarly shows the example of a screen for setting the use of an expansion spooler, and the presence or absence of print data compression. 同じく図7に示した状態から図9のカーソルの位置に表示されているプリンタを追加した状態の登録プリンタ一覧画面の例を示す図である。FIG. 10 is a diagram illustrating an example of a registered printer list screen in a state where a printer displayed at the cursor position in FIG. 9 is added from the state illustrated in FIG. 7. 同じくプリントに使用するポートの設定の状態を参照する画面の例を示す図である。It is a figure which shows the example of the screen which similarly refers the setting state of the port used for printing. 図5に示したシステムにおいてPC側で実行する処理のフローチャートである。It is a flowchart of the process performed by the PC side in the system shown in FIG. 同じくプリンタ側でデータ解凍アプリにより実行する処理のフローチャートである。6 is a flowchart of processing executed by the data decompression application on the printer side. 同じくプリンタ側でプリンタアプリにより実行する処理のフローチャートである。6 is a flowchart of processing executed by the printer application on the printer side. 図5に示したシステムの効果を確認するために行った実験の結果を示す図である。It is a figure which shows the result of the experiment conducted in order to confirm the effect of the system shown in FIG. その結果の別の部分を示す図である。It is a figure which shows another part of the result. 第2の実施形態の変形例において扱うデータの形式を示す、図6と対応する図である。It is a figure corresponding to FIG. 6 which shows the format of the data handled in the modification of 2nd Embodiment. そのさらに別の例を示す図である。It is a figure which shows another example. 第2の実施形態の別の変形例の構成を示す、図5と対応する図である。It is a figure corresponding to Drawing 5 showing the composition of another modification of a 2nd embodiment. その変形例において扱うデータの形式を示す、図6と対応する図である。It is a figure corresponding to FIG. 6 which shows the format of the data handled in the modification. 従来のデータ処理装置の一例であるプリンタの機能構成を、そのプリンタにプリントを指示するPCの機能構成例と併せて示す図である。It is a figure which shows the functional structure of the printer which is an example of the conventional data processing apparatus with the functional structural example of PC which instruct | indicates printing to the printer.

以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
〔第1の実施形態:図1乃至図4〕
まず、図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 4]
First, FIG. 1 shows a functional block diagram showing the configuration of the first embodiment of the data processing system of the present invention.
As shown in this figure, this data processing system is configured by connecting an information processing apparatus 10 and a data processing 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 processing apparatus 20, and need not be able to transmit data in the reverse direction.

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

なお、データ処理機能部21による処理後のデータは、外部に出力しても、データ処理装置20の内部で別の用途に使用してもよい。そして、データ処理の具体例としては、データ形式の変換、データの記憶、データの解釈等が考えられる。データ処理機能部21がデータ形式の変換を行う場合、データ処理機能部21が第1のデータ変換手段であり、データ変換機能部22が第2のデータ変換手段であると考えることもできる。
また、ここでいう「データの形式によらず」とは、アプリケーションが処理対象として認識するレベルでの形式を指すものである。装置間でデータを送受信する際には、通信プロトコルに従ってデータパケットに所定の形式のヘッダを付すことが行われるので、ポートに入力するデータ自体には、一部所定の形式であることが必要な部分もあるが、この部分のデータについては考慮しないものとする。
The data processed by the data processing function unit 21 may be output to the outside or used for another purpose inside the data processing device 20. As specific examples of data processing, data format conversion, data storage, data interpretation, and the like can be considered. When the data processing function unit 21 performs data format conversion, it can be considered that the data processing function unit 21 is a first data conversion unit and the data conversion function unit 22 is a second data conversion unit.
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 of a predetermined format is attached to a data packet in accordance with a communication protocol. Therefore, the data itself input to the port needs to have a predetermined format. There is a part, but 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 processing device 20 for processing, and the communication control unit 12 uses the data generated by the transmission data generation unit 11 as data of the data processing 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 processing device 20 is set in advance so that the communication control unit 12 can refer to it.

また、通信制御部12は、送信するデータの形式に応じて、データ処理装置20の第1のポートと第2のポートのどちらにデータを送信するかを選択する機能を有する。すなわち、データ処理装置20においては、データ処理機能部21も、データ変換機能部22も、受信したデータの形式によらず特定のデータ処理(変換も含む)を行うようにしている。従って、処理対象として想定している形式以外の形式のデータを受信してしまうと、データ処理が意味を成さないものとなり、処理結果が全く無意味な内容になってしまう。従って、情報処理装置10の側で、適切な形式のデータをデータ処理装置20に送信する必要があるため、このようにしたものである。   In addition, the communication control unit 12 has a function of selecting whether to transmit data to the first port or the second port of the data processing device 20 according to the format of data to be transmitted. That is, in the data processing device 20, both the data processing function unit 21 and the data conversion function unit 22 perform specific data processing (including 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 data processing becomes meaningless, and the processing result becomes completely meaningless. Therefore, the information processing apparatus 10 needs to transmit data in an appropriate format to the data processing apparatus 20, so this is done.

そこで、通信制御部12は、送信データ生成部11がデータ処理機能部21で処理対象として想定している形式のデータを生成した場合にはこれを第1のポートに送信し、それ以外の形式のデータを生成した場合には、これを第2のポートに送信するようにしている。
このようにしたことにより、どちらの形式のデータについても、データ処理装置20により、最終的にはデータ処理機能部21による変換後のデータを得ることができる。
Therefore, when the transmission data generation unit 11 generates data in a format assumed to be processed by the data processing function unit 21, the communication control unit 12 transmits this data to the first port, and other formats. Is generated, it is transmitted to the second port.
By doing in this way, the data processor 20 can finally obtain the data after the conversion by the data processing function unit 21 for both types of data.

すなわち、情報処理装置10がデータ処理装置20の第1のポートに送信するデータは、そのままデータ処理機能部21によって処理される。また、情報処理装置10がデータ処理装置20の第2のポートに送信するデータは、まずデータ変換機能部22による変換処理に供されてデータ処理機能部21で処理可能な形式に変換され、その後データ処理機能部21による処理に供され、上記の場合と同じ処理結果が得られる。
なお、生成したデータが第1,データ処理機能部21,データ変換機能部22の双方共に処理対象として想定していない形式のデータであった場合には、情報処理装置10側で送信を取り止めるようにしてもよい。
That is, data transmitted from the information processing apparatus 10 to the first port of the data processing apparatus 20 is processed by the data processing function unit 21 as it is. Further, data transmitted from the information processing apparatus 10 to the second port of the data processing apparatus 20 is first subjected to conversion processing by the data conversion function unit 22 and converted into a format that can be processed by the data processing function unit 21, and thereafter The same processing result as the above case is obtained by being subjected to processing by the data processing function unit 21.
If the generated data is in a format that is not supposed to be processed by both the first data processing function unit 21 and the data conversion function unit 22, the information processing apparatus 10 side cancels the transmission. It may be.

次に、図2に、上述したデータ処理装置20のハードウェア構成を示す。
この図に示すように、データ処理装置20は、CPU121,ROM122,RAM123,不揮発性メモリ124,通信インタフェース(I/F)125を備え、これらがシステムバス126により接続されている。
Next, FIG. 2 shows a hardware configuration of the data processing apparatus 20 described above.
As shown in this figure, the data processing device 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に記録された種々のプログラムを実行することにより、データ処理手段,データ変換手段等の各手段として機能し、この実施形態の特徴に係る種々の機能を実現する。
ROM122は、不揮発性の記憶手段であり、CPU121が実行するプログラムや、固定的なパラメータ等を記憶する。ROM122を書き換え可能な記憶手段として構成し、これらのデータをアップデートできるようにしてもよい。
The CPU 121 is a control unit that performs overall control of the entire data processing device 20, and executes various programs recorded in the ROM 122 and the non-volatile memory 124, thereby as each unit such as a data processing unit and a data conversion unit. Functions to implement 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 processing device 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.

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

そして、これらのハードウェアに、図1を用いて説明したような機能を実現させることにより、データ処理装置20において、データ処理機能部21やデータ変換機能部22が固定的なデータ処理を行う場合でも、複数のデータ形式のデータを認識し、最終的にデータ処理機能部21による処理結果を得ることができる。   Then, when the functions described with reference to FIG. 1 are realized in these hardware, the data processing function unit 21 and the data conversion function unit 22 perform fixed data processing in the data processing device 20. However, it is possible to recognize data in a plurality of data formats and finally obtain a processing result by the data processing function unit 21.

また、この場合において、データ処理機能部21がデータを受け取る受け口を、情報処理装置10から受け取る場合と、データ変換機能部22から受け取る場合とで共通化しているため、データ処理機能部21(を実現するためのソフトウェアやハードウェア)が開発済みである場合、それ自体を改変する必要は全くない。そして、データ変換機能部22を実現するためのソフトウェアやハードウェアを追加するだけで、データ処理装置20に上述した機能を実現させることができる。
従って、データ処理装置20が、低い処理負荷で複数の形式のデータを処理できるようにしつつ、このような機能を有する装置を、既存の資源を利用して容易に開発できるようにすることができる。
In this case, since the data processing function unit 21 receives the data from the information processing apparatus 10 and the data conversion function unit 22 from the data receiving function receiving unit, the data processing function unit 21 ( If the software or hardware to be realized has been developed, there is no need to modify itself. And the function mentioned above can be implement | achieved by the data processor 20 only by adding the software and hardware for implement | achieving the data conversion function part 22. FIG.
Therefore, the data processing apparatus 20 can process a plurality of types of data with a low processing load, and can easily develop an apparatus having such a function by using existing resources. .

なお、図3に示すように、データ変換機能部として、変換機能部を多段に設け、順次、次段の変換機能部で処理可能なデータ形式への変換を行って、その変換機能部がデータを受け付けるポートに、変換後のデータをループバックさせるようにしても、すなわち、変換後のデータを、自身を示すアドレスの、次段の変換機能部がデータを受け付けるポートに送信するようにしても、同様な効果を得ることができる。この場合、各変換機能部23,24が、データ変換手段に該当する。また、図では3段だが、それ以上の変換機能部を設けてよいことは、もちろんである。
そして、このようにした場合でも、情報処理装置10側の通信制御部12が最初にデータをデータ処理装置20に送信する際のポートをデータ形式に応じて選択するようにすれば、データ処理装置20の側では、各変換機能部が固定的なデータ変換を実行しつつ、複数のデータ形式のデータを認識し、最終的にデータ処理機能部21による処理結果を得ることができる。
As shown in FIG. 3, as the data conversion function unit, conversion function units are provided in multiple stages and sequentially converted into a data format that can be processed by the next conversion function unit. The converted data may be looped back to the port that accepts the data, that is, the converted data may be sent to the port that accepts the data at the next conversion function unit at the address indicating itself. A similar effect can be obtained. In this case, the conversion function units 23 and 24 correspond to data conversion means. In addition, although it is three stages in the figure, it goes without saying that more conversion function units may be provided.
Even in such a case, if the communication control unit 12 on the information processing apparatus 10 side selects the port for first transmitting data to the data processing apparatus 20 according to the data format, the data processing apparatus On the side of 20, it is possible for each conversion function unit to recognize data in a plurality of data formats while performing fixed data conversion, and finally obtain a processing result by the data processing function unit 21.

この場合において、多段の変換処理のうち、途中の変換機能部と対応するポート(例えば図3における第2のポート)にデータを送信すれば、その変換機能部以降の変換処理を実行させることも可能である。すなわち、多段の変換処理のうち、途中の工程から処理を開始させる制御も、情報処理装置10側でデータ処理装置20にデータを送信する際のポートの選択により、可能である。   In this case, if data is transmitted to a port (for example, the second port in FIG. 3) corresponding to the conversion function unit in the middle of the multi-stage conversion process, the conversion process after the conversion function unit may be executed. Is possible. That is, control that starts processing in the middle of multi-stage conversion processing is also possible by selecting a port when transmitting data to the data processing device 20 on the information processing device 10 side.

また、図4に示すように、データ処理装置20側で、複数の変換機能部が、データ処理機能部21が取り扱うことのできる形式へのデータ変換を行って、処理後のデータを第1のポートにループバックさせるような構成も可能である。このようにしても、複数のデータ形式のデータを認識し、最終的にデータ処理機能部21による処理結果を得ることができる。
図3のような構成は、データ変換を入れ子式に行う必要がある場合、図4のような構成は、データ処理機能部21が処理できる形式にするまでのデータ変換は1度に1種類でよいが、複数の変換方式に対応させたい場合に採用するとよい。もちろん、これらを組み合わせてもよい。
Also, as shown in FIG. 4, on the data processing device 20 side, a plurality of conversion function units perform data conversion into a format that can be handled by the data processing function unit 21, and the processed data is converted into the first data. A configuration that loops back to the port is also possible. Even in this way, it is possible to recognize data in a plurality of data formats and finally obtain a processing result by the data processing function unit 21.
In the configuration as shown in FIG. 3, when it is necessary to perform data conversion in a nested manner, in the configuration as shown in FIG. 4, one type of data conversion is performed at a time until the data processing function unit 21 can process the data. Although it is good, it may be adopted when it is desired to support a plurality of conversion methods. Of course, these may be combined.

〔第2の実施形態:図5乃至図16〕
次に、この発明のデータ処理システムの、より具体的な第2の実施形態について説明する。図5は、その第2の実施形態であるプリントシステムの構成を示す機能ブロック図である。なお、この図においては、ソフトウェアにより実現される機能を示すブロックに、そのソフトウェアの名称を付している。また、以後、説明の便宜のため、CPUがソフトウェアを実行することによって行う処理や動作を、そのソフトウェアが処理や動作を行うものとして説明することもある。
[Second Embodiment: FIGS. 5 to 16]
Next, a more specific second embodiment of the data processing system of the present invention will be described. FIG. 5 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.

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

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

また、データ解凍アプリ42は、第2のポートである9200番ポートをリスンして、ここで何らかのデータを受信した場合、そのデータを特定の方式で圧縮されたデータとして取り扱い、そのデータを解凍し、解凍後のデータをループバックにより9100番ポートに送信する機能を有する。
従って、プリンタ40は、9100番ポートで特定のプリンタ言語で記載されたプリントデータを受信した場合にそのプリントデータに基づいてプリントを行うことができると共に、それとは異なる9200番ポートで、圧縮されたプリントデータを受信した場合には、これを解凍した上で、そのプリントデータに基づいてプリントを行うことができる。
In addition, the data decompression application 42 listens to port 9200, which is the second port, and if any data is received here, the data decompression application 42 treats the data as data compressed by a specific method and decompresses the data. , And has a function of transmitting the decompressed data to port 9100 by loopback.
Therefore, when the printer 40 receives print data written in a specific printer language at the 9100 port, the printer 40 can print based on the print data, and is compressed at the 9200 port different from the print data. When print data is received, it can be decompressed and printed based on the print data.

なお、プリンタアプリ41とデータ解凍アプリ42は、それぞれ受信するデータが特定の形式であることを前提にデータ変換処理を行うので、実際に受信したデータの形式がそれと異なる形式であった場合には、出力は無意味なデータになってしまう。しかし、このような構成としても、データの送信側を制御して正しい形式のデータを送信させるようにすれば問題なく動作するので、処理負荷の低減を考慮し、このような構成を採用している。
また、データ解凍アプリ42は、デバイス組み込み用のJava(登録商標)であるJ2ME(Java 2 Micro Edition)を利用し、DSDK(Device Software Development Kit)の環境で動作するDSDKサーバアプリケーションとして作成することが考えられる。
Since the printer application 41 and the data decompression application 42 perform data conversion processing on the assumption that the received data is in a specific format, if the format of the actually received data is different from that, The output will be meaningless 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.
The data decompression application 42 can be created as a DSDK server application that operates in a device software development kit (DSDK) environment using J2ME (Java 2 Micro Edition), which is Java (registered trademark) for device incorporation. Conceivable.

また、プリンタ40は、上記以外にも、省エネルギ制御部44を備えており、一定時間何のデータも受信せず、かつプリント動作も行っていない場合に、自身を省エネルギモードに移行させるようにしている。そして、この状態では、消費エネルギを低減するため、プリンタ40の各部の電源を遮断する等し、RAMに常駐させておくプログラムも、必要最低限のものとしている。   In addition to the above, the printer 40 includes an energy saving control unit 44. When the printer 40 receives no data for a certain period of time and does not perform a printing operation, the printer 40 shifts itself to the energy saving mode. 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.

そしてここでは、プリンタアプリ41は、必ず使用するアプリであるので省エネルギモードでも常駐させておく一方、データ解凍アプリ42は、PC30側の設定によっては使用しないアプリであるので、省エネルギモードではRAMから消去してしまうようにしている。従って、省エネルギモードでは、プリンタ40は、9200番ポートで受信したデータについては処理を行わない状態となる。   Here, since the printer application 41 is an application that is always used, the printer application 41 is resident even in the energy saving mode. On the other hand, the data decompression application 42 is an application that is not used depending on the setting on the PC 30 side. I'm trying to erase from. Therefore, in the energy saving mode, the printer 40 is in a state where it does not process data received at the 9200th port.

そして、省エネルギ制御部44は、プリントデータが送られてくるはずの9100番ポートで何らかのデータを受信したり、図示しない操作部により何らかの操作を受け付ける等すると、プリンタ40を通常動作モードに復帰させ、RAMから削除していたプログラムも、不揮発メモリから読み出して、再度実行可能な状態に戻すようにしている。この通常動作モードの状態では、プリンタ40は、9200番ポートで受信したデータについてデータ解凍アプリ42による解凍処理を行うことができる。   The energy saving control unit 44 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 this normal operation mode, the printer 40 can perform decompression processing by the data decompression application 42 on the data received at the 9200th port.

一方、PC30には、アプリケーション31とプリンタドライバ32とポートモニタ33を備えるが、このうち、アプリケーション31とプリンタドライバ32は、背景技術の項で図21を用いて説明した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 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番ポートに送信する機能を有する。   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.

しかし、後述のようにプリント指示時に拡張スプーラ35を使用する旨が設定されているプリンタに対してプリントデータを送信する場合には、標準スプーラ34のデータ送信機能を使用せず、標準スプーラ34のスプールディレクトリにスプールされたデータは、拡張スプーラ35のスプールディレクトリにスプールし直し、拡張スプーラ35が、そのデータをプリンタ40の所定のポートに送信するようにしている。
またこの時、ユーザの指定に応じて必要な場合にはプリントデータに対して圧縮処理を行うようにしている。そして、ここで圧縮を行わなかったデータについては、標準スプーラ34の場合と同様に9100番ポートに送信し、圧縮を行ったデータについては、9200番ポートに送信するようにしている。なお、ここで使用する圧縮処理の方式は、プリンタ40のデータ解凍アプリ42が解凍できる形式であり、例えばGZip形式が考えられる。
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, if necessary according to the user's specification, the print data is compressed. The data that has not been compressed is transmitted to the 9100 port as in the case of the standard spooler 34, and the compressed data is transmitted to the 9200 port. Note that the compression processing method used here is a format that can be decompressed by the data decompression application 42 of the printer 40, for example, the GZip format is conceivable.

以上のようなPC30とプリンタ40のハードウェア構成は、第1の実施形態で図2を用いて説明したものと同様でよい。ただし、プリンタ40は、エンジン部としてプリントエンジン43を備えている。また、プリンタ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. 2 in the first embodiment. However, the printer 40 includes a print engine 43 as an engine unit. The printer 40 may be a digital multi-function peripheral (MFP) having functions such as copying and facsimile communication.

ここで、図6に、PC30がプリンタ40に送信するデータの形式を示す。
プリンタ言語としてPCL(Printer Control Language)6,PCL5e,RPCS等を用いる場合、バイナリのプリントデータに、PJL(Printer
Job Language)言語で記載したヘッダとフッタを付し、ここに、両面印刷の有無等、プリントジョブの実行に関する情報を記載する。そして、拡張スプーラ35は、そのヘッダからフッタまでの全体を圧縮して、プリンタ40の9200番ポートに送信する。この圧縮は、ここではGZip形としているが、データ解凍アプリ42に解凍機能を持たせることができる形式であれば、どのような形式でも利用可能である。
Here, FIG. 6 shows a format of data transmitted from the PC 30 to the printer 40.
When PCL (Printer Control Language) 6, PCL5e, RPCS, etc. are used as the printer language, PJL (Printer
A header and footer described in the (Job Language) language are attached, and information relating to the execution of the print job such as the presence / absence of double-sided printing is described here. Then, the extension spooler 35 compresses the entire part from the header to the footer and transmits it to the 9200 port of the printer 40. This compression is GZip type here, but any format can be used as long as the data decompression application 42 can have a decompression function.

そして、プリンタ40側では、データ解凍アプリ42がそのデータを解凍し、もとのプリントデータに戻して9100番ポートにループバック送信する。すなわち、自身を示すアドレスの9100番ポートに送信する。このデータは、従来のプリンタが処理できるデータであり、プリンタアプリ41は、このデータに基づいてプリント処理を行うことができる。
また、拡張スプーラ35が圧縮処理を行わない場合には、始めから、図6の右側に示す形式のプリントデータをプリンタ40の9100番ポートに送信するようにする。
On the printer 40 side, the data decompression application 42 decompresses the data, restores the original print data, and loops back to the 9100 port. That is, it transmits to port 9100 of the address indicating itself. This data is data that can be processed by a conventional printer, and the printer application 41 can perform print processing based on this data.
When the expansion spooler 35 does not perform compression processing, print data in the format shown on the right side of FIG. 6 is transmitted to the 9100 port of the printer 40 from the beginning.

次に、図7乃至図11に、PC30において拡張スプーラ35の設定に使用する画面の例を示す。これらの画面は、PC30のディスプレイに表示させるGUI(グラフィカル・ユーザ・インタフェース)である。
図7は、PC30に利用可能なプリンタとして登録されているプリンタの一覧を示す、登録プリンタ一覧画面の例を示す図である。
この登録プリンタ一覧画面200は、PC30のOS(オペレーティングシステム)の機能により表示される画面であり、OS上で適当な操作をすることにより表示させることができる。そして、プリンタ名表示部201に、利用可能なプリンタの名称を表示すると共に、状態表示部202に、そのプリンタの状態を表示する画面である。
Next, FIGS. 7 to 11 show examples of screens used for setting the expansion spooler 35 in the PC 30. FIG. These screens are GUIs (graphical user interfaces) displayed on the display of the PC 30.
FIG. 7 is a diagram illustrating an example of a registered printer list screen that shows a list of printers registered as printers that can be used in the PC 30.
The registered printer list screen 200 is a screen displayed by an OS (operating system) function of the PC 30, and can be displayed by performing an appropriate operation on the OS. The printer name display unit 201 displays the names of available printers, and the status display unit 202 displays the printer status.

ここで、登録されているプリンタとは、OSがそのプリンタの機種、制御に必要なドライバ、データの送信先等の情報を認識し、アプリケーション31からプリントが要求された場合に、適当なプリンタドライバ32に必要な情報を渡してプリントデータを送信させることができる状態にあるプリンタを言うことにする。また、プリンタ名表示部201に表示されるプリンタの名称は、プリンタの機種名と同じでもよいが、これと別に定めたり、ユーザが任意に定めたりすることができる。
そして、登録プリンタ一覧画面200では、プリンタ名表示部201の最上段に表示されている「プリンタの追加」を選択することにより、新たにプリンタを登録することができる。
Here, the registered printer is an appropriate printer driver when the OS recognizes information such as the model of the printer, a driver necessary for control, a data transmission destination, and the like, and printing is requested from the application 31. The printer is in a state where necessary information can be passed to the printer 32 and print data can be transmitted. The name of the printer displayed on the printer name display unit 201 may be the same as the model name of the printer, but may be determined separately or arbitrarily by the user.
In the registered printer list screen 200, a new printer can be registered by selecting “Add Printer” displayed at the top of the printer name display unit 201.

図8は、この新たなプリンタの登録を行う場合に表示されるポート選択画面の例を示す図である。
このポート選択画面210は、新たに登録するプリンタとの通信に利用するポートの選択を受け付けるための画面であり、ユーザが登録プリンタ一覧画面200で「プリンタの追加」を選択した場合に表示される。そして、ポート一覧部211には、利用できるポートの一覧が表示され、ここでポートを指定してOKボタン212を押下することにより、指定したポートを選択することができる。キャンセルボタン213を押下した場合には、プリンタの追加を中止する。
FIG. 8 is a diagram showing an example of a port selection screen displayed when registering this new printer.
The port selection screen 210 is a screen for accepting selection of a port used for communication with a newly registered printer, and is displayed when the user selects “Add Printer” on the registered printer list screen 200. . Then, a list of available ports is displayed in the port list unit 211, and the designated port can be selected by designating the port and pressing the OK button 212. When the cancel button 213 is pressed, the addition of the printer is stopped.

なお、図8に示した例のうち、「ローカルポート」は、PC30にローカルに接続されたプリンタとの通信に利用するポートを示し、「標準スプーラ」と「拡張スプーラ」は、それぞれ標準スプーラ34及び拡張スプーラ35を用いて通信を行う場合に利用するポートを示す。また、「拡張スプーラ」の選択肢は、OS(オペレーティングシステム)にデバイスドライバとして拡張スプーラ35が登録されている場合のみ表示される。   In the example illustrated in FIG. 8, “local port” indicates a port used for communication with a printer locally connected to the PC 30, and “standard spooler” and “extended spooler” indicate the standard spooler 34. And a port used when communication is performed using the extension spooler 35. The option of “expanded spooler” is displayed only when the expanded spooler 35 is registered as a device driver in the OS (operating system).

次に、図9に、拡張スプーラ35の使用及びプリントデータ圧縮の有無を設定するための画面例を示す。
この設定画面220は、ユーザがポート選択画面210において拡張スプーラ35の利用を選択した場合に、拡張スプーラ35の機能により表示されるものである。
そして、この画面においては、ユーザがプロトコル選択部221でプリント時のプリントデータ転送に使用するプロトコルを選択し、検索ボタン222を押下すると、PC30がOSの機能によりブロードキャストを行って、使用可能なプリンタを検索し、プリンタ一覧部223にその情報を表示する。図の例ではここにプリンタの機種と、プリンタ個別のIDと、プリンタのIP(Internet Protocol)アドレスを表示するようにしているが、これに限られるものではない。
Next, FIG. 9 shows an example of a screen for setting the use of the expansion spooler 35 and the presence / absence of print data compression.
This setting screen 220 is displayed by the function of the expansion spooler 35 when the user selects the use of the expansion spooler 35 on the port selection screen 210.
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 221 and presses the search button 222, the PC 30 performs broadcasting by the function of the OS, and the printer that can be used. And the information is displayed in the printer list section 223. In the example of the figure, the printer model, the individual ID of the printer, and the IP (Internet Protocol) address of the printer are displayed here, but the present invention is not limited to this.

そして、ユーザがカーソル224を合わせてプリンタ一覧部223からいずれかのプリンタを選択し、OKボタン226を押下すると、そのプリンタにプリントを指示するためのポートが作成され、OSに、そのプリンタにプリントを指示する際に、拡張スプーラ35を使用する旨が設定される。また、そのプリンタにデータを送信する際のIPアドレスも設定される。またこのとき、チェックボックス225にチェックが入っていた場合、プリントデータの転送を、圧縮した状態で9200番ポートに対して行う旨も設定される。また、キャンセルボタン227が押下された場合には、設定は行わずにこの画面を閉じる。   When the user moves the cursor 224 to select one of the printers from the printer list section 223 and presses the OK button 226, 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 225 is checked, it is set that the print data is transferred to the 9200th port in a compressed state. If the cancel button 227 is pressed, this screen is closed without setting.

図10に、図7に示した状態から図9のカーソル224の位置に表示されているプリンタを追加した状態の登録プリンタ一覧画面の例を示す。
この画面においては、符号203に示す位置に、追加したプリンタの名称及び状態が表示されている。この例では、既に「Printer_A」が登録されていたため、これと区別できるよう、新たに登録されたプリンタの名称には、機種名に加え、「No.2」の識別子を付し、また、プリントデータを圧縮して送信することを示す「(圧縮)」の識別子も付している。このような名称は、自動で生成することができる。もちろん、名称がこれに限られることはない。
FIG. 10 shows an example of a registered printer list screen in a state where the printer displayed at the position of the cursor 224 in FIG. 9 is added from the state shown in FIG.
In this screen, the name and status of the added printer are displayed at the position indicated by reference numeral 203. In this example, because “Printer_A” has already been registered, the identifier of “No. 2” is added to the name of the newly registered printer in addition to the model name so that it can be distinguished from this. An identifier “(compressed)” indicating that data is compressed and transmitted is also attached. Such a name can be generated automatically. Of course, the name is not limited to this.

また、図11は、上記の設定画面220により拡張スプーラ35の使用を設定したプリンタにつき、登録プリンタ一覧画面200において、プリントに使用するポートの設定の状態の参照を指示した場合に表示される画面例である。
そして、この参照画面230では、画面のタイトル231により、拡張スプーラ35を使用することがわかり、ポート番号表示部232により、プリンタにデータを送信する際にどのポートに送信するかを確認することができる。また、チェックボックス233により、プリントデータの圧縮を行うか否かも確認することができる。
FIG. 11 shows a screen that is displayed when the printer for which the use of the extended spooler 35 is set on the setting screen 220 is instructed to refer to the setting state of the port used for printing on the registered printer list screen 200. It is an example.
In the reference screen 230, it can be seen from the screen title 231 that the expansion spooler 35 is used, and the port number display unit 232 can confirm to which port the data is transmitted when data is transmitted to the printer. it can. The check box 233 can also confirm whether or not to compress the print data.

ここでは、プリントデータの圧縮を行うため、送信先のポートは9200番としている。しかし、プリンタ側の設定に応じて、この内容は変更可能である。また、プリントデータの圧縮をしない旨が設定された場合、送信先のポートを自動的に9100番に変更するようにしてもよい。   Here, since the print data is compressed, the destination port is number 9200. However, this content can be changed according to the setting on the printer side. If it is set not to compress print data, the destination port may be automatically changed to 9100.

次に、図12に、図5に示したプリントシステムにおいてPC30側で実行する処理のフローチャートを示す。
この処理は、PC30において、拡張スプーラ35を利用する旨が設定されているプリンタでのプリントが指示された場合に、CPUがプリンタドライバ及び拡張スプーラ35を実行することにより行うものである。
Next, FIG. 12 shows a flowchart of processing executed on the PC 30 side in the print system shown in FIG.
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で、印刷に使用するプリンタについてプリントデータを圧縮する旨が設定されているか否か判断する。
そして、ここで圧縮しない旨が設定されていれば、ステップS13に進み、標準スプーラ34のスプールディレクトリにスプールしたプリントデータを、拡張スプーラ35のスプールディレクトリに非圧縮のままスプールする。そして、ステップS14でそのスプールしたプリントデータを、プリンタ40のアドレスの9100番ポートに送信し、処理を終了する。なお、この送信は、4096バイトずつ等、所定サイズ毎に行えばよい。
In this process, first, in step S <b> 11, the printer driver spools uncompressed print data indicating print contents in the spool directory of the standard spooler 34.
Thereafter, in step S12, it is determined whether or not compression of print data is set for the printer used for printing.
If not compressed is set here, the process proceeds to step S13, and the print data spooled in the spool directory of the standard spooler 34 is spooled uncompressed in the spool directory of the expansion spooler 35. In step S14, the spooled print data is transmitted to the port 9100 of the address of the printer 40, and the process ends. This transmission may be performed for each predetermined size such as 4096 bytes.

一方、ステップS12で圧縮する旨が設定されていれば、ステップS15に進み、標準スプーラ34のスプールディレクトリにスプールしたプリントデータを、圧縮して拡張スプーラ35のスプールディレクトリにスプールする。その後、ステップS16で空ジョブデータをプリンタ40のアドレスの9100番ポートに送信して、プリンタ40が省エネルギモードであれば通常動作モードに復帰させる。プリンタ40が省エネルギモードのままだと、9200番ポートに送信したデータを処理できないためである。また、ここで送信するデータは、例えば図6の右側に示したプリントデータのうち、ヘッダとフッタのみのデータのようなダミーのデータとすればよい。また、圧縮の必要はない。   On the other hand, if compression is set in step S12, the process proceeds to step S15, and the print data spooled in the spool directory of the standard spooler 34 is compressed and spooled in the spool directory of the expansion spooler 35. Thereafter, in step S16, the empty job data is transmitted to the 9100 port of the printer 40, and if the printer 40 is in the energy saving mode, the normal operation mode is restored. This is because the data transmitted to the 9200th port cannot be processed if the printer 40 remains in the energy saving mode. The data to be transmitted here may be dummy data such as data of only the header and footer in the print data shown on the right side of FIG. There is no need for compression.

そして、次のステップS17では、ステップS15でスプールしたプリントデータを、プリンタ40のアドレスの9200番ポートに送信し、処理を終了する。この送信も、4096バイトずつ等、所定サイズ毎に行えばよい。また、図11に示した画面により他のポートが指定されていた場合には、9200番ポートに代えてそのポートへの送信を行う。   In the next step S17, the print data spooled in step S15 is transmitted to the port 9200 of the address of the printer 40, and the process ends. This transmission may be performed for each predetermined size such as 4096 bytes. If another port is designated on the screen shown in FIG. 11, transmission to that port is performed instead of the 9200th port.

以上の処理により、プリントデータを、プリンタ40のプリンタアプリが処理できる形式で送信する場合にはプリンタアプリがリスンしているポートに、処理できない形式で送信する場合には、他の、送信する形式のデータを処理してプリンタアプリが処理できる形式に変換できるアプリがリスンしているポートに送信することができる。
従って、プリンタ40側で各データを適切に処理させることができる。
Through the above processing, when the print data is transmitted in a format that can be processed by the printer application of the printer 40, when it is transmitted to a port that the printer application is listening in a format that cannot be processed, another transmission format is transmitted. Can be sent to a port on which an app that can process and convert the data into a format that can be processed by the printer app is listening.
Therefore, each data can be appropriately processed on the printer 40 side.

次に、図13に、図5に示したプリントシステムにおいてプリンタ40側でCPUがデータ解凍アプリ42により実行する処理のフローチャートを示す。
CPUは、プリンタ40が起動されるか、省エネルギモードから通常動作モードに復帰すると、データ解凍アプリ42を実行することにより、図13のフローチャートに示す処理を開始する。
Next, FIG. 13 shows a flowchart of processing executed by the data decompression application 42 on the printer 40 side by the CPU in the print system shown in FIG.
When the printer 40 is activated or returns to the normal operation mode from the energy saving mode, the CPU starts the processing shown in the flowchart of FIG. 13 by executing the data decompression application 42.

そして、ステップS21でデータ解凍アプリ42を9200番ポートにバインドし、このポートをリスンする状態にする。すなわち、9200番ポートへのデータの受信を監視する状態にする。そして、ステップS22及びS23でその9200番ポートへの接続を待つ。
その後、PC30等の外部クライアントあるいはローカルのループバック等により接続要求があると、ステップS23からステップS24に進んでその接続を許可すると共に、ステップS25でローカルホストの9100番ポートに接続要求を行って、接続許可を受ける。
In step S21, the data decompression application 42 is bound to the port 9200, and the port is set to listen. That is, it is set to monitor the reception of data to the 9200th port. In steps S22 and S23, the connection to the port 9200 is awaited.
Thereafter, when there is a connection request from an external client such as PC 30 or a local loopback, the process proceeds from step S23 to step S24 to permit the connection, and in step S25, a connection request is made to the 9100 port of the local host. Get a connection permission.

その後、ステップS26で、9200番ポートでデータを受信し、それをバッファに蓄積しつつ、その蓄積したデータを解凍する。この解凍処理は、受信したデータの形式を参照せず、そのデータがGZip形式等の特定の形式であることを前提として行ってよく、J2MEの解凍用ライブラリを利用して行うことができる。例えば、GZip形式のデータを処理するのであれば、ソケットの入力ストリームを単にJ2MEのライブラリにあるGZIPInputStreamでラッピングするといった処理を行えばよい。   Thereafter, in step S26, data is received at the 9200th port, and the accumulated data is decompressed while accumulating it in the buffer. This decompression process may be performed on the assumption that the data is in a specific format such as the GZip format without referring to the format of the received data, and can be performed using the J2ME decompression library. For example, when processing GZip format data, the socket input stream may be simply wrapped with GZIPInputStream in the J2ME library.

そして、ステップS27で、クライアントからの通信切断、ステップS26での解凍処理エラー、解凍完了のいずれかが起こったか否か判断する。ここで、解凍処理エラーは、解凍に使用したライブラリから処理結果としてエラーが返された場合である。不適当な形式のデータを処理に供した場合でも、何らかの処理結果が得られてしまう場合もあり、このような場合にはエラーとはならない。   In step S27, it is determined whether any one of the disconnection from the client, the decompression processing error in step S26, or the decompression completion has occurred. Here, the decompression processing error is a case where an error is returned as a processing result from the library used for decompression. Even when data in an inappropriate format is used for processing, some processing result may be obtained. In such a case, no error occurs.

そして、ステップS27で上記のいずれも起こっていなければ、ステップS28に進んで解凍後のデータをローカルホストの9100番ポートに送信する。その送信は、データの切れ目を意識せずに4096バイトずつ等の所定サイズずつ行えばよい。例えば、上記のGZIPInputStreamを利用する場合には、ライブラリから処理結果を所定サイズ取得してそのまま9100番ポートに送信すればよい。また、一度に送信するサイズは、PC30から直接9100番ポートにプリントデータを送信する場合と同じサイズとするとよい。   If none of the above has occurred in step S27, the process proceeds to step S28, and the decompressed data is transmitted to the port 9100 of the local host. The transmission may be performed by a predetermined size such as 4096 bytes without being aware of data breaks. For example, when using the above GZIPInputStream, the processing result may be acquired from the library with a predetermined size and transmitted to the 9100 port as it is. 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.

その後、ステップS26に戻り、ステップS27でYESになるまで処理を繰り返す。
そして、ステップS27でYESであれば、ステップS29に進んで通信を切断し、ステップS22に戻る。
以上の処理により、プリンタ40は、9200番ポートに受信したデータに対し、プリンタアプリ41が処理できる形式のデータとするための特定の解凍処理を行い、その処理後のデータを9100番ポートに送信することができる。この解凍処理は、受信したデータの形式によらず同じ処理を行うが、適切な形式のデータを受信していれば、出力は、プリンタアプリ41が処理できる形式のプリントデータとなる。
Then, it returns to step S26 and repeats a process until it becomes YES by step S27.
And if it is YES at Step S27, it will progress to Step S29, will cut off communication, and will return to Step S22.
Through the above processing, the printer 40 performs specific decompression processing on the data received at the 9200th port so that the data can be processed by the printer application 41, and transmits the processed data to the 9100th port. can do. This decompression process is the same 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.

次に、図14に、図5に示したプリントシステムにおいてプリンタ40側でCPUがプリンタアプリ41により実行する処理のフローチャートを示す。
CPUは、プリンタ40が起動されると、プリンタアプリ41を実行することにより、図14のフローチャートに示す処理を開始する。
そして、ステップS31でプリンタアプリ41を9100番ポートにバインドし、このポートをリスンする状態にする。すなわち、9100番ポートへのデータの受信を監視する状態にする。そして、ステップS32及びS33でその9100番ポートへの接続を待つ。
Next, FIG. 14 shows a flowchart of processing executed by the printer application 41 on the printer 40 side by the CPU in the print system shown in FIG.
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 S31, the printer application 41 is bound to the 9100 port, and the port is set to listen. That is, it is in a state of monitoring reception of data to the 9100th port. In steps S32 and S33, the connection to the port 9100 is awaited.

その後、PC30等の外部クライアントあるいはローカルのループバック等により接続要求があると、ステップS33からステップS34に進んでその接続を許可する。データ解凍アプリ42が図13のステップS25の処理で行う接続要求も、ここで検出され、許可される。   Thereafter, when there is a connection request from an external client such as the PC 30 or a local loopback, the process proceeds from step S33 to step S34, and the connection is permitted. A connection request made by the data decompression application 42 in the process of step S25 in FIG. 13 is also detected and permitted here.

そして、ステップS35で、9100番ポートでデータを受信し、それをバッファに蓄積しつつ、その蓄積したデータをもとに、画像メモリに画像データを描画して、プリントエンジン43にその画像データに基づくプリントを指示する。ステップS34でデータ解凍アプリ42からの接続要求を許可した場合には、ここで受信するデータは、データ解凍アプリ42が図13のステップS28の処理で送信してくるデータである。
そして、ステップS36で、クライアントからの通信切断、ステップS35での描画処理エラー、描画完了のいずれかが起こるまでステップS35に戻って処理を繰り返す。そして、いずれかが起こるとステップS37で通信を切断し、ステップS32に戻って処理を繰り返す。
In step S35, data is received at port 9100, and the image data is drawn in the image memory based on the accumulated data while the data is accumulated in the buffer, and the print engine 43 stores the image data. Direct print based. When the connection request from the data decompression application 42 is permitted in step S34, the data received here is data that the data decompression application 42 transmits in the process of step S28 in FIG.
In step S36, the process returns to step S35 and repeats until one of the disconnection from the client, the drawing process error in step S35, and the drawing completion occur. If any of these occur, the communication is disconnected in step S37, and the process returns to step S32 to repeat the process.

以上の処理により、プリンタ40は、9100番ポートに受信したデータを、プリントエンジン43を駆動するための画像データに変換するための特定の描画処理を行い、その処理後のデータに基づいてプリントエンジン43にプリントを実行させることができる。この処理は、データの送信元がPC30であっても、データ解凍アプリ42であっても、共通に行うようにしている。また、描画処理は、受信したデータの形式によらず同じ処理を行うが、適切な形式のデータを受信していれば、描画により、形成すべき画像の内容を示す画像データを得ることができる。
なお、このフローチャートに示した処理は、従来のプリンタに備えるプリントエンジンの場合と同様なものでよい。
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. 43 can execute printing. This processing is commonly performed regardless of whether the data transmission source is the PC 30 or the data decompression application 42. 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 described above, even when the printer application can interpret only print data in a specific printer language format in the printer 40 by realizing the functions described above in the PC and the printer. The compressed print data can be transmitted from the PC 30 to the printer 40, and printing based on the data can be performed.

また、この場合において、プリンタアプリ41がデータを受け取る受け口を、PC30から受け取る場合と、データ解凍アプリ42から受け取る場合とで共通化しているため、従来からあるプリンタアプリ41を改変する必要は全くない。そして、データ解凍アプリ42を追加し、必要な設定を行うだけで、プリンタ40に上述した機能を実現させることができる。また、PC30側においても、従来の構成を変更することなく、新たに拡張スプーラ35をインストールし、プリンタ40にプリントを指示する場合にその拡張スプーラ35を使用してデータを圧縮する旨を設定するのみでよい。   Further, in this case, since the reception port for receiving data by the printer application 41 is shared between the case of receiving from the PC 30 and the case of receiving from the data decompression application 42, there is no need to modify the conventional printer application 41 at all. . Then, the function described above can be realized in the printer 40 only by adding the data decompression application 42 and performing necessary settings. Also, on the PC 30 side, without changing the conventional configuration, when the expansion spooler 35 is newly installed and printing is instructed to the printer 40, the data is compressed using the expansion spooler 35. Only need.

従って、既存の資源を有効に利用し、小さい開発工数で、プリントデータを転送時に圧縮してプリントの高速化を図るようなプリントシステムを開発することができる。また、プリンタ40側では、特定のポートで受信したデータに対しては、特定の処理を行うようにしているので、一般にハードウェア資源の制約が厳しいプリンタ40の側での処理負荷を低減すると共に、この点でもアプリの開発工数を低減することができる。
さらに、受信したデータの形式に応じてデータ変換処理の内容を変える場合、ヘッダ等によりデータの形式を示す必要があり、その部分は圧縮を行うことができない。一方、常に同じデータ変換処理を行うのであれば、データの形式を示す必要はなく、データ全体を圧縮できるため、高い圧縮効率を得ることができる。
Therefore, it is possible to develop a printing system that effectively uses existing resources, compresses print data at the time of transfer, and accelerates printing with a small development man-hour. In addition, since the printer 40 side performs specific processing on data received at a specific port, 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.
Furthermore, when changing the content of the data conversion process according to the format of the received data, it is necessary to indicate the format of the data by a header or the like, and that portion cannot be compressed. On the other hand, if the same data conversion processing is always performed, it is not necessary to indicate the data format, and the entire data can be compressed, so that high compression efficiency can be obtained.

ここで、図15及び図16に、実際に上述したようなプリントシステムを構築し、プリントデータを圧縮してプリントを行った場合と圧縮せずにプリントを行った場合とでプリントに要する時間を比較した結果を示す。
このデータを取得した際のシステム環境及びプリントに使用したデータは以下の通りである。
Here, FIGS. 15 and 16 show the time required for printing depending on whether the printing system as described above is actually constructed and printing is performed by compressing the print data and printing is performed without compression. The comparison result is shown.
The system environment at the time of acquiring this data and the data used for printing are as follows.

PC30としては、動作クロック1200メガヘルツのPentium(登録商標)MをCPUとして使用し、512メガバイトのRAM、容量約33ギガバイトのHDDを搭載したPCを用いた。また、OSとしては、Windows(登録商標)XP Professional SP1を用い、プリントを指示するアプリケーションには、マイクロソフト社のOffice2000を用いた。
プリンタ40としては、リコー社製のデジタル複合機、Aficio2022を使用した。
As the PC 30, a Pentium (registered trademark) M having an operation clock of 1200 megahertz was used as a CPU, and a 512 megabyte RAM and an HDD having a capacity of about 33 gigabytes were used. In addition, Windows (registered trademark) XP Professional SP1 was used as the OS, and Microsoft Office 2000 was used as an application for instructing printing.
As the printer 40, Ricoh's digital multifunction peripheral, Aficio 2022 was used.

PC30とプリンタ40との間の接続は、エミュレータを利用して、64k(キロビット毎秒)、128k、448k、1344kの各通信速度の通信が可能な構成とした。
回線エミュレータとの接続のためのルータとしては、PC側はBayNetworks社製のAE1001006、PART#11375RevBを使用し、プリンタ側は同社製のAE1001005、PART#11375RevJを使用した。
The connection between the PC 30 and the printer 40 is configured to enable communication at each communication speed of 64 k (kilobits per second), 128 k, 448 k, and 1344 k using an emulator.
As a router for connection to the line emulator, AE1001006 and PART # 11375RevB manufactured by BayNetworks were used on the PC side, and AE1001005 and PART # 11375RevJ made by the company were used on the printer side.

また、プリンタ40側のアプリケーションは、DSDKのバージョン1.10Serverと、SDK GZIP Application バージョン1.02とを利用して作成した。
プリンタ言語としては、PCL6のバージョン1.2.0.0,PCL5eのバージョン1.2.0.0,RPCSのバージョン4.19を使用し、PC側のプリンタドライバも対応するドライバを使用した。
The application on the printer 40 side was created using DSDK version 1.10 Server and SDK GZIP Application version 1.02.
As printer languages, PCL6 version 1.2.0.0, PCL5e version 1.2.0.0, and RPCS version 4.19 were used, and the corresponding printer driver on the PC side was also used.

プリントに使用したプリントデータは、マイクロソフト社のWord,Excel,PowerPoint(登録商標)用の標準パターンとしてJEITA(社団法人電子情報技術産業協会)が定めたJ9.doc(J9),J10.xls(J10),J11.ppt(J11)を用いた。
J9は、全5頁をプリントした。J10は、ファイル→印刷→ブック全体→OKにより全5頁をプリントし、A3サイズのものはA3サイズで出力した。J11は、全12頁をプリントした。
The print data used for printing is J9.doc (J9), J10.xls (J10) defined by JEITA (Electronic Information Technology Industries Association) as a standard pattern for Microsoft Word, Excel, and PowerPoint (registered trademark). ), J11.ppt (J11) was used.
J9 printed all 5 pages. J10 printed all 5 pages by file->print-> entire book-> OK, and output A3 size for A3 size. J11 printed all 12 pages.

またプリント時間としては、アプリケーションの印刷開始ボタンを押してから、データイン、ファーストプリント(1枚目排紙完了)、全印刷完了までの所要時間を計測し、印刷時の設定は全てデフォルトとした。
そして、図15には、各条件で得られたデータイン、1枚目排紙完了、全印刷完了の時間を、「:」の左側に分を、右側に秒を小数第二位まで示す形式で記載すると共に、圧縮の有無以外同一の条件下で、圧縮を行った場合の各所要時間を圧縮を行わなかった場合の対応する所要時間で割った比率を、百分率により示している。
The print time was measured from the time the application print start button was pressed until data-in, first print (first sheet discharge completed), and all prints completed, and all the print settings were set to default.
FIG. 15 shows the format of data-in, first-sheet discharge completion, and all-print completion times obtained under each condition, with minutes on the left side of “:” and seconds on the right side to the second decimal place. The ratio obtained by dividing each required time when compression is performed by the corresponding required time when compression is not performed under the same conditions except for the presence or absence of compression is expressed as a percentage.

また、図16には、プリントした各データの圧縮率を求めた結果を示している。
各データのサイズとしては、スプールデータは、プリンタドライバの画面に表示されるサイズを用いた。非圧縮データのサイズとしては、キューのみオフラインとし、C:\Windows\system32\spool\PRINTERSに蓄積されるスプールデータのサイズを用いた。圧縮データのサイズとしては、プリンタ側のみオフラインとし、C:\WINDOWS\NAVITEMPに蓄積される圧縮済みスプールデータのサイズを用いた。
スプールデータのサイズの単位はメガバイト、圧縮データと非圧縮データのサイズの単位は、キロバイトである。また、文書種別の欄に記載した数字は、プリントに使用したファイルのサイズであり、単位はキロバイトである。J10の項目の「3P」及び「2P」は、J10のブックに含まれる2つのワークシートの各々の印刷ページ数を示すものである。
FIG. 16 shows the result of calculating the compression rate of each printed data.
As the size of each data, the size displayed on the screen of the printer driver was used as the spool data. As the size of the non-compressed data, only the queue is offline, and the size of the spool data stored in C: \ Windows \ system32 \ spool \ PRINTERS is used. As the size of the compressed data, only the size of the compressed spool data stored in C: \ WINDOWS \ NAVITEMP is used with the printer side being offline.
The unit of the size of the spool data is megabyte, and the unit of the size of the compressed data and the uncompressed data is kilobyte. The number described in the document type column is the size of the file used for printing, and the unit is kilobytes. “3P” and “2P” in the item of J10 indicate the number of printed pages of each of the two worksheets included in the book of J10.

以上の各データを参照すると、プリントデータは、圧縮処理を行うことにより、容量を70%以下、プリンタ言語によっては50%以下に低減することができることがわかる。
また、少なくとも448kまでの通信速度では、全ての条件において、プリントデータを圧縮することにより、印刷完了までの時間を大幅に低減できることがわかる。これは、圧縮により、転送すべきデータ量を低減し、転送時間を短縮できたためと考えられる。
従って、上述した実施形態の構成を採用することが、印刷時間の短縮に効果的であるといえる。
Referring to each of the above data, it can be seen that the print data can be reduced to a capacity of 70% or less and 50% or less depending on the printer language by performing a compression process.
In addition, it can be seen that, at a communication speed of at least 448k, by compressing the print data under all conditions, the time until the completion of printing can be greatly reduced. This is thought to be because the amount of data to be transferred was reduced and the transfer time was shortened by compression.
Therefore, it can be said that adopting the configuration of the above-described embodiment is effective in shortening the printing time.

なお、1344kと通信速度が速い場合には、圧縮により印刷完了までの時間をあまり短縮できていないが、これは、高速の通信が可能な場合には、大きなサイズのデータでも高速に転送できるため、データサイズよりも圧縮処理時間が問題となるためと考えられる。
しかし、通信速度があまり速くない場合に、印刷時間の短縮が可能であることは、448kまでのデータから明らかであるため、このような環境では、通信速度が速い場合のデータは考慮する必要はないと考えられる。
Note that when the communication speed is as high as 1344k, the time to completion of printing cannot be shortened very much by compression. However, if high-speed communication is possible, large data can be transferred at high speed. This is because the compression processing time is more problematic than the data size.
However, since it is clear from the data up to 448k that the printing time can be shortened when the communication speed is not so fast, it is necessary to consider the data when the communication speed is high in such an environment. It is not considered.

〔第2の実施形態の変形例:図17乃至図20〕
次に、以上説明してきた第2の実施形態のプリントシステムの変形例について説明する。
第2の実施形態においては、9200番ポートで受信したデータに対して行う処理を、圧縮データの解凍処理としたが、これに限られることはない。その他の処理として、暗号化されたデータの復号化処理や、他のプリンタ言語で記載されたプリントデータをプリンタアプリ41が対応しているプリンタ言語のプリントデータに変換するプリンタ言語変換、PC30側でアプリケーション31が出力するような印刷内容を示すデータをプリンタ言語の形式に変換する、プリンタドライバ32が行うような処理等が考えられる。
[Modifications of Second Embodiment: FIGS. 17 to 20]
Next, a modified example of the print system of the second embodiment described above will be described.
In the second embodiment, the processing performed on the data received at the 9200th port is the decompression processing of the compressed data. However, the present invention is not limited to this. Other processes include decryption processing of encrypted data, printer language conversion for converting print data described in another printer language into print data of a printer language supported by the printer application 41, and the PC 30 side. For example, processing such as processing performed by the printer driver 32 for converting data indicating print contents output by the application 31 into a printer language format can be considered.

図17及び図18にこれらの例の一部を示す。
例えば、PC30からプリンタ言語形式のデータを暗号化してプリンタ40の9200番ポートに送信し、プリンタに復号化処理を行わせると共に、9100番ポートに送信してプリントを行わせることができるようにすれば、プリントデータ転送時のセキュリティを向上させることができる。
17 and 18 show some of these examples.
For example, it is possible to encrypt printer language format data from the PC 30 and send it to the 9200 port of the printer 40 to cause the printer to perform decryption processing and send it to the 9100 port to perform printing. Thus, security at the time of print data transfer can be improved.

また、XML形式で定義された帳票データ等をそのままプリンタ40の9200番ポートに送信し、プリンタ40側でプリンタ言語形式への変換処理を行わせると共に、9100番ポートに送信してプリントを行わせることができるようにすれば、PC30側にプリンタドライバを設けなくても、プリンタ40にプリントを行わせることが可能になる。従って、多数のクライアントがプリンタ40を共用する場合等には、各クライアントに個別にプリンタドライバをインストールすることが不要になり、管理の負担を軽減することができる。
また、PDA(携帯情報端末)や携帯電話のように、持ち歩く端末では、常に適切なドライバを設定しておくことが難しいし、CPUの処理能力も比較的小さいと考えられるので、このような場合にはプリンタ40の側にプリンタドライバの機能を持たせることが特に有効と考えられる。
Further, the form data defined in the XML format is transmitted to the 9200 port of the printer 40 as it is, and the printer 40 side performs conversion processing to the printer language format, and also transmits it to the 9100 port for printing. If it is possible, it is possible to cause the printer 40 to perform printing 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.
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.

また、第1の実施形態で図3を用いて説明した例と対応するものとして、複数段のデータ変換処理により、プリンタアプリ41が対応しているプリンタ言語形式のプリントデータを生成して9100番ポートに転送するようにすることも考えられる。
図19にこのようにする場合のプリントシステムの機能ブロック図の例を示す。
この例においては、プリンタ40′には、図5のプリンタ40の構成に加え、復号化アプリ45を設け、9300番ポートで受信したデータに対し、特定の復号化処理を行って、その結果を9100番ポートに送信するようにしている。また、データ解凍アプリ42は、解凍処理の結果を9300番ポートに送信するようにしている。
Further, as corresponding to the example described with reference to FIG. 3 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 printer 40 'is provided with a decryption application 45 in addition to the configuration of the printer 40 of FIG. 5, and performs specific decryption processing on the data received at the 9300th port, and the result is obtained. Transmission is made to port 9100. Further, the data decompression application 42 transmits the result of the decompression process to the 9300th port.

そして、PC30側では、プリントデータに暗号化処理と圧縮処理を順次施し、このデータをプリンタ40′の9200番ポートに送信すると、プリンタ40′側で解凍及び復号化処理を行わせ、プリントデータに基づくプリントを行わせることができる。
この場合でも、各アプリは受信したデータに対して、その形式によらず特定の処理を行うのみであるし、プリンタアプリ41の機能は従来と同じものでよく、ここにデータ解凍アプリ42と復号化アプリ45を追加するのみで、プリンタ40′の機能を実現することができる。
Then, the PC 30 side sequentially performs encryption processing and compression processing on the print data, and when this data is transmitted to the 9200 port of the printer 40 ', the printer 40' side performs decompression and decryption processing, and print data is processed. Based printing can be performed.
Even in this case, each application only performs a specific process on the received data regardless of its format, and the function of the printer application 41 may be the same as the conventional one. The function of the printer 40 ′ can be realized only by adding the digitizing application 45.

図20に、プリンタ40′をこのような構成とした場合のデータの流れを示す。
この場合、PC30からプリンタ40′に対しては、プリントデータを暗号化し、更に圧縮した状態で9200番ポートに送信する。そして、プリンタ40′側ではデータ解凍アプリ42によりこのデータに解凍処理を行い、暗号化のみされた状態のプリントデータに変換して自身の9300番ポートに送信する。
そしてここでは、復号化アプリ45により復号化処理を行い、プリンタアプリ41が処理できるプリンタ言語形式のプリントデータに変換して自身の9100番ポートに送信する。そして、プリンタアプリ41がこれを受け取ると、そのデータに基づいてプリントエンジン43にプリントを行わせるための画像データを生成することができる。
FIG. 20 shows a data flow when the printer 40 ′ has such a configuration.
In this case, the print data is encrypted from the PC 30 to the printer 40 ', and further sent to the 9200 port in a compressed state. On the printer 40 'side, the data decompression application 42 decompresses this data, converts it into encrypted print data, and transmits it to its own port 9300.
Here, decryption processing is performed by the decryption application 45, converted into printer language format print data that can be processed by the printer application 41, and transmitted to its own port 9100. When the printer application 41 receives this, image data for causing the print engine 43 to perform printing can be generated based on the data.

以上で実施形態の説明を終了するが、以上説明してきた実施形態及び変形例において、装置やシステムの構成、具体的な処理内容、通信に使用する通信プロトコル等が上述の実施形態で説明したものに限られないことはもちろんである。
例えば、通信経路として、ネットワーク以外にも、パラレルケーブルを介した通信経路を用いることも考えられる。
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 processing 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.

また、この発明によるプログラムは、コンピュータに受信したデータの形式を変換するデータ処理装置を制御させ、上述したデータ処理装置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 processing device that converts the format of received data and causing the computer to function as a device such as the data processing 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 processing system, data processing apparatus, or information processing apparatus of the present invention , a data processing apparatus that performs data processing on received data has a plurality of types of data with a low processing load. The same processing result can be realized regardless of the initial data format. Furthermore, even when a mode for stopping some functions is provided in the data processing apparatus, it is possible to utilize a function that realizes the same processing result by simple control .
Therefore, the convenience of the data processing apparatus can be improved by applying the present invention .

10:情報処理装置、11:送信データ生成部、12:通信制御部、
20:データ処理装置、21:データ処理機能部、
22:データ変換機能部、30,80:PC、31,81:アプリケーション、
32,82:プリンタドライバ、33,83:ポートモニタ、34:標準スプーラ、
35:拡張スプーラ、40,40′,90:プリンタ、41,91:プリンタアプリ、
42:データ解凍アプリ、43,93:プリントエンジン、44:省エネルギ制御部、
45:復号化アプリ
10: Information processing device, 11: Transmission data generation unit, 12: Communication control unit,
20: Data processing device, 21: Data processing function unit,
22: Data conversion function unit, 30, 80: PC, 31, 81: Application,
32, 82: Printer driver, 33, 83: Port monitor, 34: Standard spooler,
35: Expansion spooler, 40, 40 ', 90: Printer, 41, 91: Printer application,
42: Data decompression application, 43, 93: Print engine, 44: Energy saving control unit,
45: Decryption application

特開2004−252984号公報、段落0061JP 2004-252984 A, paragraph 0061

Claims (9)

データを受信するための第1のポートならびに前記第1のポートから受信したデータに対して特定のデータ処理である第1のデータ処理を実行する第1のデータ処理手段を備えるデータ処理装置と情報処理装置とをネットワークを介して接続したデータ処理システムであって、A data processing apparatus and information comprising a first port for receiving data and first data processing means for executing first data processing, which is specific data processing, for data received from the first port A data processing system in which a processing device is connected via a network,
前記情報処理装置は、The information processing apparatus includes:
前記データ処理装置に送信するデータのデータ形式に応じて、該データを前記データ処理装置の第1のポートに送信するか、前記データ処理装置の前記第1のポートとは異なる第2のポートに送信するかを規定する設定情報を保持する設定保持手段と、Depending on the data format of the data to be transmitted to the data processing device, the data is transmitted to the first port of the data processing device or to a second port different from the first port of the data processing device. Setting holding means for holding setting information for specifying whether to transmit;
データを前記データ処理装置に送信する要求を受け付ける送信要求受付手段と、Transmission request receiving means for receiving a request for transmitting data to the data processing device;
前記送信要求受付手段が受け付けた要求に従い前記設定情報に基づいて前記データ処理装置の前記第1のポートにデータを送信する場合に、前記受け付けた要求に係る送信データを前記第1のポートに送信する第1の送信手段と、When data is transmitted to the first port of the data processing device based on the setting information in accordance with the request received by the transmission request receiving unit, transmission data related to the received request is transmitted to the first port. First transmitting means to:
前記送信要求受付手段が受け付けた要求に従い前記設定情報に基づいて前記データ処理装置の前記第2のポートに前記データを送信する場合に、前記受け付けた要求に係る送信データとは異なるデータを前記第1のポートに送信した後に、前記受け付けた要求に係る送信データを前記第2のポートに送信する第2の送信手段とを備え、When transmitting the data to the second port of the data processing device based on the setting information according to the request received by the transmission request receiving means, the data different from the transmission data related to the received request is Second transmission means for transmitting transmission data related to the accepted request to the second port after transmitting to the first port;
前記データ処理装置は、The data processing device includes:
データを受信するための前記第2のポートと、The second port for receiving data;
前記第2のポートでデータを受信したことに応じて特定のデータ処理である第2のデータ処理を実行する第2のデータ処理手段と、Second data processing means for executing second data processing, which is specific data processing, in response to receiving data at the second port;
前記第2のデータ処理手段によって前記第2のデータ処理が実行されたデータを前記第1のポートに送信する送信手段と、Transmitting means for transmitting the data on which the second data processing has been executed by the second data processing means to the first port;
前記第2のデータ処理手段による前記第2のデータ処理を実行する第1の状態から、前記第2のデータ処理手段による前記第2のデータ処理を実行しない第2の状態へと、当該データ処理装置を移行させる第1の制御手段と、The data processing from the first state in which the second data processing by the second data processing means is executed to the second state in which the second data processing by the second data processing means is not executed First control means for transferring the device;
当該データ処理装置が前記第2の状態となっているときに前記第1のポートでデータを受信すると、当該データ処理装置を前記第2の状態から第1の状態へと移行させる第2の制御手段とを備えることを特徴とするデータ処理システム。When the data processing device is in the second state and receives data at the first port, the second control causes the data processing device to transition from the second state to the first state. And a data processing system.
データを受信するための第1のポートと、前記第1のポートから受信したデータに対して特定のデータ処理である第1のデータ処理を実行する第1のデータ処理手段とを備えるデータ処理装置であって、A data processing apparatus comprising: a first port for receiving data; and first data processing means for executing first data processing, which is specific data processing, for data received from the first port Because
データを受信するための、前記第1のポートと異なる第2のポートと、A second port different from the first port for receiving data;
前記第2のポートでデータを受信したことに応じて特定のデータ処理である第2のデータ処理を実行する第2のデータ処理手段と、Second data processing means for executing second data processing, which is specific data processing, in response to receiving data at the second port;
前記第2のデータ処理手段によって前記第2のデータ処理が実行されたデータを前記第1のポートに送信する送信手段と、Transmitting means for transmitting the data on which the second data processing has been executed by the second data processing means to the first port;
前記第2のデータ処理手段による前記第2のデータ処理を実行する第1の状態から、前記第2のデータ処理手段による前記第2のデータ処理を実行しない第2の状態へと、当該データ処理装置を移行させる第1の制御手段と、The data processing from the first state in which the second data processing by the second data processing means is executed to the second state in which the second data processing by the second data processing means is not executed First control means for transferring the device;
当該データ処理装置が前記第2の状態となっているときに前記第1のポートでデータを受信すると、当該データ処理装置を前記第2の状態から第1の状態へと移行させる第2の制御手段とを備えることを特徴とするデータ処理装置。When the data processing device is in the second state and receives data at the first port, the second control causes the data processing device to transition from the second state to the first state. And a data processing device.
請求項2に記載のデータ処理装置であって、The data processing apparatus according to claim 2, wherein
前記第2のデータ処理手段は、前記第2のポートにおけるデータの受信を監視し、前記第2のポートで受信したデータを取得することを特徴とするデータ処理装置。The data processing apparatus, wherein the second data processing means monitors reception of data at the second port and acquires data received at the second port.
請求項2又は3に記載のデータ処理装置であって、The data processing apparatus according to claim 2 or 3,
前記第2のデータ処理手段は、前記第2のポートで受信したデータのデータ形式に関する情報を参照することなく、受信したデータに対して前記第2のデータ処理を実行することを特徴とするデータ処理装置。The second data processing means performs the second data processing on the received data without referring to information on the data format of the data received at the second port. Processing equipment.
送信するデータのデータ形式に応じて、該データをデータ処理装置の第1のポートに送信するか、前記データ処理装置の前記第1のポートとは異なる第2のポートに送信するかを規定する設定情報を保持する設定保持手段と、According to the data format of the data to be transmitted, whether to transmit the data to the first port of the data processing device or to a second port different from the first port of the data processing device is defined. Setting holding means for holding setting information;
データを前記データ処理装置に送信する要求を受け付ける送信要求受付手段と、Transmission request receiving means for receiving a request for transmitting data to the data processing device;
前記送信要求受付手段が受け付けた要求に従い前記設定情報に基づいて前記データ処理装置の前記第1のポートにデータを送信する場合に、前記受け付けた要求に係る送信データを前記第1のポートに送信する第1の送信手段と、When data is transmitted to the first port of the data processing device based on the setting information in accordance with the request received by the transmission request receiving unit, transmission data related to the received request is transmitted to the first port. First transmitting means to:
前記送信要求受付手段が受け付けた要求に従い前記設定情報に基づいて前記データ処理装置の前記第2のポートに前記データを送信する場合に、前記受け付けた要求に係る送信データとは異なるデータを前記第1のポートに送信した後に、前記受け付けた要求に係る送信データを前記第2のポートに送信する第2の送信手段とを備えることを特徴とする情報処理装置。When transmitting the data to the second port of the data processing device based on the setting information according to the request received by the transmission request receiving means, the data different from the transmission data related to the received request is An information processing apparatus comprising: a second transmission unit configured to transmit transmission data related to the accepted request to the second port after transmitting to the first port.
請求項5に記載の情報処理装置であって、The information processing apparatus according to claim 5,
前記設定情報において前記第2のポートに送信すると規定されるデータ形式は、前記第1のポートに送信すると規定されるデータ形式のデータに所定のデータ処理を実行して得られるデータのデータ形式であることを特徴とする情報処理装置。The data format specified to be transmitted to the second port in the setting information is a data format of data obtained by executing predetermined data processing on data having a data format specified to be transmitted to the first port. An information processing apparatus characterized by being.
データを受信するための、互いに異なる第1及び第2のポートと、前記第1のポートから受信したデータに対して特定のデータ処理である第1のデータ処理を実行する第1のデータ処理手段とを備えるコンピュータを、Different first and second ports for receiving data, and first data processing means for executing first data processing which is specific data processing for data received from the first port A computer comprising
前記第2のポートでデータを受信したことに応じて特定のデータ処理である第2のデータ処理を実行する第2のデータ処理手段と、Second data processing means for executing second data processing, which is specific data processing, in response to receiving data at the second port;
前記第2のデータ処理手段によって前記第2のデータ処理が実行されたデータを前記第1のポートに送信する送信手段と、Transmitting means for transmitting the data on which the second data processing has been executed by the second data processing means to the first port;
前記第2のデータ処理手段による前記第2のデータ処理を実行する第1の状態から、前記第2のデータ処理手段による前記第2のデータ処理を実行しない第2の状態へと、当該コンピュータを移行させる第1の制御手段と、The computer is changed from a first state in which the second data processing unit performs the second data processing to a second state in which the second data processing unit does not execute the second data processing. First control means for transition;
当該コンピュータが前記第2の状態となっているときに前記第1のポートでデータを受信すると、当該データ処理装置を前記第2の状態から第1の状態へと移行させる第2の制御手段として機能させるためのプログラム。When the computer receives the data at the first port when the computer is in the second state, the data processing device is moved to the first state from the second state as second control means. A program to make it work.
コンピュータを、Computer
送信するデータのデータ形式に応じて、該データをデータ処理装置の第1のポートに送信するか、前記データ処理装置の前記第1のポートとは異なる第2のポートに送信するかを規定する設定情報を保持する設定保持手段と、According to the data format of the data to be transmitted, whether to transmit the data to the first port of the data processing device or to a second port different from the first port of the data processing device is defined. Setting holding means for holding setting information;
データを前記データ処理装置に送信する要求を受け付ける送信要求受付手段と、Transmission request receiving means for receiving a request for transmitting data to the data processing device;
前記送信要求受付手段が受け付けた要求に従い前記設定情報に基づいて前記データ処理装置の前記第1のポートにデータを送信する場合に、前記受け付けた要求に係る送信データを前記第1のポートに送信する第1の送信手段と、When data is transmitted to the first port of the data processing device based on the setting information in accordance with the request received by the transmission request receiving unit, transmission data related to the received request is transmitted to the first port. First transmitting means to:
前記送信要求受付手段が受け付けた要求に従い前記設定情報に基づいて前記データ処理装置の前記第2のポートに前記データを送信する場合に、前記受け付けた要求に係る送信データとは異なるデータを前記第1のポートに送信した後に、前記受け付けた要求に係る送信データを前記第2のポートに送信する第2の送信手段として機能させるためのプログラム。When transmitting the data to the second port of the data processing device based on the setting information according to the request received by the transmission request receiving means, the data different from the transmission data related to the received request is A program for causing transmission data related to the accepted request to function as second transmission means for transmitting to the second port after transmission to one port.
請求項7又は8に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。A computer-readable recording medium on which the program according to claim 7 or 8 is recorded.
JP2011192547A 2005-03-31 2011-09-05 Data processing system, data processing apparatus, information processing apparatus, program, and recording medium Active JP4965726B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011192547A JP4965726B2 (en) 2005-03-31 2011-09-05 Data processing system, data processing apparatus, information processing apparatus, program, and recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2005105315 2005-03-31
JP2005105315 2005-03-31
JP2011192547A JP4965726B2 (en) 2005-03-31 2011-09-05 Data processing system, data processing apparatus, information processing apparatus, program, and recording medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005324396A Division JP4870414B2 (en) 2005-03-31 2005-11-09 Data processing system, data processing apparatus, data processing method and program

Publications (2)

Publication Number Publication Date
JP2012030596A JP2012030596A (en) 2012-02-16
JP4965726B2 true JP4965726B2 (en) 2012-07-04

Family

ID=45844586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011192547A Active JP4965726B2 (en) 2005-03-31 2011-09-05 Data processing system, data processing apparatus, information processing apparatus, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4965726B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020181457A (en) * 2019-04-26 2020-11-05 セイコーエプソン株式会社 Job transmission method for job transmission device, job processing device, program and job transmission device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5353388A (en) * 1991-10-17 1994-10-04 Ricoh Company, Ltd. System and method for document processing
JPH09116666A (en) * 1995-10-20 1997-05-02 Canon Inc Method for controlling power consumption of data processor
JP2000309142A (en) * 1999-04-26 2000-11-07 Seiko Epson Corp Image output device controller, image output device, and control method for image output device controller
JP2001134401A (en) * 1999-11-05 2001-05-18 Fuji Xerox Co Ltd Printing controller
JP3798216B2 (en) * 2000-03-30 2006-07-19 京セラ株式会社 Image input device and image information transmission system
JP2001318772A (en) * 2000-05-11 2001-11-16 Naltec Inc Interface device and peripheral device
JP4459385B2 (en) * 2000-05-29 2010-04-28 セイコーインスツル株式会社 Printing device
JP2003125147A (en) * 2001-10-10 2003-04-25 Canon Inc Lan facsimile adaptor with distribution function
JP4348914B2 (en) * 2002-09-06 2009-10-21 コニカミノルタビジネステクノロジーズ株式会社 Printing apparatus, printing apparatus control program, and printing apparatus control method

Also Published As

Publication number Publication date
JP2012030596A (en) 2012-02-16

Similar Documents

Publication Publication Date Title
JP4870414B2 (en) Data processing system, data processing apparatus, data processing method and program
JP5439941B2 (en) Information processing system, information processing apparatus, and signal transmission apparatus
JP4553364B2 (en) Printing system
JP5704800B2 (en) 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
JP2008092556A (en) System and method for remotely constructing remote interface for image processing device
JP2008191883A (en) Print system, print program and storage medium
JP5287172B2 (en) Information processing apparatus, image processing apparatus, print control method, and print control program
JP6292009B2 (en) System and method
JP2013206250A (en) Information processing apparatus, information processing system, control method, and computer program
JP2005346723A (en) System and method for managing a plurality of resources over a plurality of printers
JP4965726B2 (en) Data processing system, data processing apparatus, information processing apparatus, program, and recording medium
JP2015108857A (en) System, control method thereof, information processor, control method thereof, and program
JP3850834B2 (en) Printing apparatus, content output apparatus, and printing system
JP5168398B2 (en) Apparatus, data processing method, 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
JP5247516B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP5021921B2 (en) Data conversion apparatus, data conversion system, data conversion method, program, and recording medium
JP2012080519A (en) Image processing device
JP5950613B2 (en) Program, information processing apparatus, and control method
JP2011192225A (en) Printing system, information processor, image forming device, print control method, print control program, and recording medium
EP1710678A2 (en) Data processing apparatus, data processing system, method for controlling data processing apparatus, method for adding data converting function, program and medium
JP2004046304A (en) Print system
JP5031593B2 (en) Information processing apparatus, information processing method, and program

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120321

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150406

Year of fee payment: 3