JP4836193B2 - Image forming apparatus and image forming method - Google Patents

Image forming apparatus and image forming method Download PDF

Info

Publication number
JP4836193B2
JP4836193B2 JP2006352959A JP2006352959A JP4836193B2 JP 4836193 B2 JP4836193 B2 JP 4836193B2 JP 2006352959 A JP2006352959 A JP 2006352959A JP 2006352959 A JP2006352959 A JP 2006352959A JP 4836193 B2 JP4836193 B2 JP 4836193B2
Authority
JP
Japan
Prior art keywords
session
image forming
protocol
host device
forming apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006352959A
Other languages
Japanese (ja)
Other versions
JP2008165413A (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 JP2006352959A priority Critical patent/JP4836193B2/en
Publication of JP2008165413A publication Critical patent/JP2008165413A/en
Application granted granted Critical
Publication of JP4836193B2 publication Critical patent/JP4836193B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

複数のホスト装置とネットワーク接続可能な画像形成装置及び画像形成方法に関し、特に、ホスト装置と通信を行うためのセッションを確立中に、他のホスト装置からの印刷データを検知したとき、そのセッションを切断又は無効にして、前記印刷データを受信し、印刷できるようにした画像形成装置及び画像形成方法に関する。   The present invention relates to an image forming apparatus and an image forming method that can be connected to a plurality of host devices, and in particular, when print data from another host device is detected while establishing a session for communicating with the host device, The present invention relates to an image forming apparatus and an image forming method which can be cut or invalidated to receive and print the print data.

従来、複数台のPC(Personal Computer)などのホスト装置と一台又は複数台のレーザプリンタなどの画像形成装置とをLAN(Local Area Network)などを介して接続し、ホスト装置から印刷データを送信して画像形成装置で印刷できるネットワークシステムが知られている。   Conventionally, a host device such as multiple PCs (Personal Computers) and an image forming device such as one or more laser printers are connected via a LAN (Local Area Network), etc., and print data is sent from the host device. Thus, a network system capable of printing with an image forming apparatus is known.

このようなネットワークシステムにおいて、複数台の画像形成装置を設置しているとき、一台のホスト装置から印刷データを送信して印刷要求を行う際に、ユーザは複数台の画像形成装置からすぐに印刷できる画像形成装置、即ち待ち状態の印刷ジョブが少ない画像形成装置を選択することができる。
しかしながら、すぐに印刷できる画像形成装置を選択して印刷データを送信し、印刷要求を行っても、その印刷要求の前の印刷処理によって用紙切れやトナー切れなどが発生すると、実際にはすぐに印刷を行うことができない。即ち、すぐに印刷できる画像形成装置をユーザが確実に選択することは難しいという問題がある。
In such a network system, when a plurality of image forming apparatuses are installed, when a print request is transmitted by sending print data from one host apparatus, the user can immediately start from the plurality of image forming apparatuses. It is possible to select an image forming apparatus that can print, that is, an image forming apparatus that has few waiting print jobs.
However, even if an image forming apparatus that can be printed immediately is selected, print data is transmitted, and a print request is made, if a print process before the print request causes out of paper or toner, it is actually immediately Cannot print. That is, there is a problem that it is difficult for the user to reliably select an image forming apparatus that can be printed immediately.

そこで、ホスト装置から複数台の画像形成装置に、印刷可能か否かを確認する応答要求を出し、最初に印刷可能である応答が返ってきた画像形成装置のみに印刷データを送信することで複数台の画像形成装置のうち、すぐに印刷できる画像形成装置を自動的に選択することができ、印刷待ち時間を解消することができる情報処理装置及び印刷制御装置及びデータ処理方法及び記憶媒体が提案されている(特許文献1参照)。   Therefore, a response request for confirming whether or not printing is possible is issued from the host device to a plurality of image forming apparatuses, and a plurality of print data is transmitted by transmitting only print data to the image forming apparatus that has returned a response that can be printed first. Information processing apparatus, print control apparatus, data processing method, and storage medium that can automatically select an image forming apparatus that can be printed immediately from among the image forming apparatuses on the stand and eliminate the printing waiting time are proposed (See Patent Document 1).

しかしながら、複数台の画像形成装置を設置していないとき、即ち、一台の画像形成装置を複数台のホスト装置で利用するときは、画像形成装置を選択することはできず、あるホスト装置から複数ページや複数ジョブなどの大量の印刷要求があると、それらの大量の印刷処理が終了してからでなければ他のホスト装置からの印刷要求は実行できない。
従って、他のホスト装置からの印刷要求が急を要する印刷であるときや、少量のページの印刷であるときでも、大量印刷が終了するのを待たなければいけないという問題があった。
However, when a plurality of image forming apparatuses are not installed, that is, when one image forming apparatus is used by a plurality of host apparatuses, the image forming apparatus cannot be selected. If there are a large number of print requests such as a plurality of pages or a plurality of jobs, a print request from another host device can be executed only after the large amount of print processing is completed.
Therefore, there is a problem that even when a print request from another host device is an urgent print or when printing a small amount of pages, it is necessary to wait for the large-scale printing to end.

そこで、ユーザが印刷データ毎に優先度を設定することができ、ある印刷データを印刷中に、画像形成装置がより優先度が高い印刷データを受信したときは、印刷中のジョブを中断し、優先度の高い印刷データを先に印刷することができる印刷システムが提案されている(特許文献2参照)。
この印刷システムによれば、画像形成装置が大量印刷を行っているときでも、大量印刷が終了するのを待たずに優先度の高い印刷データを割り込ませることができ、急を要する印刷などを先に処理することができる。
Therefore, the user can set the priority for each print data. When the image forming apparatus receives print data with a higher priority while printing certain print data, the job being printed is interrupted, There has been proposed a printing system capable of printing high-priority print data first (see Patent Document 2).
According to this printing system, even when the image forming apparatus is performing mass printing, high-priority print data can be interrupted without waiting for mass printing to be completed, and urgent printing or the like can be performed first. Can be processed.

ところで、ホスト装置で作成した文書などをページ単位で印刷する際に、この文書の例えば文字の位置や文字種を画像形成装置に指示するためのプログラミング言語であるPDL(Page Description Language)において、ホスト装置が印刷データをプリンタドライバでPDLデータ(PDLで記述された印刷データ)に変換して画像形成装置に送信する際に、ホスト装置と画像形成装置とでセッション(データを交換するために2つの装置間で作成される論理的な接続)を確立し、張り続けることが必要なPDLがある。   By the way, in printing PDL (Page Description Language), which is a programming language for instructing the image forming apparatus, for example, the character position and character type of a document when the document created by the host device is printed in page units, the host device Converts the print data into PDL data (print data described in PDL) by the printer driver and transmits it to the image forming apparatus, a session (two devices for exchanging data) between the host device and the image forming apparatus. There are PDLs that need to be established and maintained.

図10はセッションを張り続ける必要があるPDLを説明するための図である。
図に示しているPC102とプリンタ101を繋ぐ直線は確立したセッションを表しており、PC102とプリンタ101はセッションを張り続けながら通信を行っている。一方、PC103が他のPDLに変換された印刷データ(以下、他のPDLデータという)の送信を試みていることを示している(図中矢印)。
このPDLを使用したときのセッションは、常に接続状態を維持しているため、印刷を行っていないときでも、他のホスト装置などからの他のPDLデータを受け付けない。そのため、PC103が送信する他のPDLデータは、PC102とプリンタ101間のセッションが切断されない限り、プリンタ101に受信されず、印刷が行われないため非常に効率が悪い。
FIG. 10 is a diagram for explaining a PDL that needs to keep a session.
The straight line connecting the PC 102 and the printer 101 shown in the drawing represents an established session, and the PC 102 and the printer 101 communicate with each other while continuing the session. On the other hand, this indicates that the PC 103 is attempting to transmit print data converted into other PDL (hereinafter referred to as other PDL data) (arrow in the figure).
Since the session when this PDL is used always maintains a connection state, it does not accept other PDL data from other host devices or the like even when printing is not being performed. For this reason, other PDL data transmitted by the PC 103 is not received by the printer 101 and printing is not performed unless the session between the PC 102 and the printer 101 is disconnected, which is very inefficient.

ところで、このPDLを複数のホスト装置が使用するときは、画像形成装置はこのセッションを複数のホスト装置と繋ぐことができる。
図11は複数のホスト装置とセッションを確立した画像形成装置を説明する図である。
図示のように、プリンタ101は計6台のPC106〜111とすべて同一のPDLを使用して、セッションを確立している。しかしながら、通信できるセッションは一つであり、例えばPC106と通信しているときは、プリンタ101は他のPCからPDLデータを受信しない。
By the way, when a plurality of host devices use this PDL, the image forming apparatus can connect this session with a plurality of host devices.
FIG. 11 illustrates an image forming apparatus that has established sessions with a plurality of host devices.
As shown in the figure, the printer 101 establishes a session by using the same PDL for all the six PCs 106 to 111. However, there is one session that can be communicated. For example, when communicating with the PC 106, the printer 101 does not receive PDL data from other PCs.

特許文献2に記載された印刷システムでは、印刷データに優先度を設定することができるが、ホスト装置と画像形成装置間に上記セッションが確立しているときは、画像形成装置は印刷データ自体を受信することができないため、優先度が印刷データに設定されていても、それを利用して割込印刷を行うことができない。
従って、一台の画像形成装置を複数台のホスト装置で利用するときに、このセッションを張り続ける必要があるPDLを使用して通信を行うと、画像形成装置が印刷を行っていないときにその他のホスト装置がPDLデータを送信しても、通信中のセッションが切断されない限り印刷が行えず、印刷効率が悪いという問題がある。
特開2002−202874号公報 特開2005−267176号公報
In the printing system described in Patent Document 2, priority can be set for print data. However, when the session is established between the host device and the image forming apparatus, the image forming apparatus displays the print data itself. Since it cannot be received, even if the priority is set in the print data, interrupt printing cannot be performed using the priority.
Therefore, when one image forming apparatus is used by a plurality of host apparatuses, communication is performed using PDL that needs to continue this session. When the image forming apparatus is not printing, the other Even if the host device transmits the PDL data, printing cannot be performed unless the session in communication is disconnected, and printing efficiency is poor.
JP 2002-202874 A JP 2005-267176 A

本発明は上記の問題を解決するためになされたもので、その目的は、たとえセッションを張り続ける必要があるPDLを使用しているときであっても、印刷処理が行われていないときは、他のホスト装置からPDLデータによる印刷ができるようして、ユーザが印刷処理を待つ時間を減らし、ひいては印刷効率を向上させることである。   The present invention has been made to solve the above problem, and its purpose is to use the PDL even when the session needs to be maintained, when the printing process is not performed. It is possible to perform printing using PDL data from another host device, thereby reducing the time for which the user waits for the printing process and thus improving the printing efficiency.

請求項1の発明は、ホスト装置とセッションを確立して通信する通信手段と、該通信手段の制御を行う制御手段を備えた画像形成装置であって、画像形成装置に送信された印刷データを検知する検知手段と、前記ホスト装置と前記通信手段とのセッション確立中に前記検知手段で検知した印刷データ送信用プロトコルと前記セッションを確立するときに使用されるプロトコルとの一致、不一致を判定するプロトコル判定手段とを有し、前記ホスト装置と前記通信手段とのセッション確立中に前記検知手段が印刷データを検知したとき、前記制御手段は、ホスト装置とのセッションを切断又は無効にして前記通信手段が前記印刷データを受信するように制御し、前記プロトコル判定手段が不一致と判定したとき、前記制御手段はホスト装置とのセッションを切断又は無効にするように制御することを特徴とする
求項の発明は、請求項に記載された画像形成装置において、ホスト判定手段を有し、該ホスト判定手段は、前記プロトコル判定手段が一致と判定したとき、前記検知手段で検知した印刷データが前記ホスト装置からのものか他のホスト装置からのものかを判定し、前記他のホスト装置からの印刷データであると判定したとき、前記制御手段は前記ホスト装置とのセッションを切断又は無効にするように制御することを特徴とする。
請求項の発明は、請求項に記載された画像形成装置において、前記ホスト判定手段は、前記検知手段で検知した印刷データが前記ホスト装置からのものか他のホスト装置からのものかをIPアドレス又はMACアドレスに基づいて判定することを特徴とする。
請求項の発明は、請求項1ないしのいずれかに記載された画像形成装置において、画像形成装置に入力されたプロトコルの優先度を設定する優先度設定手段と、設定された優先度を記憶する記憶手段と、前記セッションを確立するときに使用されるプロトコルの優先度と前記検知手段で検知した印刷データ送信用プロトコルの優先度の高低を判定する優先度判定手段と、前記優先度判定手段が、前記検知手段で検知した印刷データ送信用プロトコルの優先度が前記セッションを確立するときに使用されるプロトコルの優先度よりも高いと判定したとき、前記制御手段は前記セッションを切断又は無効にするように前記通信手段を制御することを特徴とする
請求項の発明は、印刷データを受信し、受信した印刷データの画像形成を行う画像形成方法であって、ホスト装置とセッションを確立する工程と、画像形成装置に送信された印刷データを検知する検知工程と、前記ホスト装置とセッション確立中に前記検知工程で印刷データを検知したときに、前記ホスト装置とのセッションを切断又は無効にする工程と、前記ホスト装置とセッション確立中に前記検知工程で検知した印刷データのプロトコルと前記セッションを確立するときに使用されるプロトコルとの一致、不一致を判定するプロトコル判定工程と、前記不一致と判定したとき、前記ホスト装置とのセッションを切断又は無効にする工程と、を備えることを特徴とする
求項の発明は、請求項に記載された画像形成方法において、前記プロトコル判定工程にて一致と判定したとき、前記検知工程にて検知した印刷データが前記ホスト装置からのものか他のホスト装置からのものかを判定するホスト判定工程と、前記ホスト判定工程にて他のホスト装置からの印刷データであると判定したとき、前記ホスト装置とのセッションを切断又は無効にする工程と、を備えることを特徴とする。
請求項の発明は、請求項5又は6に記載された画像形成方法において、画像形成装置に入力されるプロトコルの優先度を設定する優先度設定工程と、設定されたプロトコルの優先度をメモリに記憶させる工程と、前記セッションを確立するときに使用されるプロトコルの優先度と前記検知工程にて検知した印刷データに使用されているプロトコルとの優先度の高低を判定する優先度判定工程と、前記優先度判定工程にて前記検知工程で検知した印刷データに使用されているプロトコルの優先度が前記セッションを確立するときに使用されるプロトコルの優先度よりも高いと判定したとき前記ホスト装置とのセッションを切断又は無効にする工程と、備えることを特徴とする。
請求項の発明は、請求項ないしのいずれかに記載された画像形成方法において、前記ホスト装置とのセッションを切断したとき、前記画像形成装置に送信された印刷データの画像形成が終了後、前記セッションを再確立する工程を備えることを特徴とする。
According to the first aspect of the present invention, there is provided an image forming apparatus including a communication unit that establishes and communicates with a host apparatus and a control unit that controls the communication unit, and print data transmitted to the image forming apparatus is received. Detecting whether or not the detection means to detect and the protocol for transmitting the print data detected by the detection means during the session establishment between the host device and the communication means and the protocol used to establish the session are inconsistent A protocol determination unit, and when the detection unit detects print data during the establishment of a session between the host device and the communication unit, the control unit disconnects or invalidates the session with the host device. means controls so as to receive the print data, when said protocol determining means determines a mismatch, the control unit of the host device And controls so as to disconnect or disable the cushion.
Invention Motomeko 2, in the image forming apparatus according to claim 1, comprising a host determining means, said host determining means, when said protocol determining means determines a match, detected by said detecting means When it is determined whether the print data is from the host device or from another host device, and it is determined that the print data is from the other host device, the control means disconnects the session with the host device. Alternatively, the control is performed so as to be invalidated.
According to a third aspect of the present invention, in the image forming apparatus according to the second aspect , the host determination unit determines whether the print data detected by the detection unit is from the host device or another host device. The determination is made based on the IP address or the MAC address.
According to a fourth aspect of the present invention, in the image forming apparatus according to any one of the first to third aspects, priority setting means for setting the priority of the protocol input to the image forming apparatus, and the set priority Storage means for storing; priority determination means for determining the priority of a protocol used when establishing the session; and priority of a protocol for transmitting print data detected by the detection means; and the priority determination When the means determines that the priority of the print data transmission protocol detected by the detection means is higher than the priority of the protocol used when establishing the session, the control means disconnects or invalidates the session and controlling the communication means so as to.
According to a fifth aspect of the present invention, there is provided an image forming method for receiving print data and forming an image of the received print data, the step of establishing a session with a host device, and detecting print data transmitted to the image forming device A detection step for disconnecting or invalidating a session with the host device when print data is detected in the detection step during session establishment with the host device, and the detection during session establishment with the host device. A protocol determination step for determining whether or not the protocol of the print data detected in the process matches the protocol used when establishing the session, and disconnecting or invalidating the session with the host device when the mismatch is determined And a step of making it .
Invention Motomeko 6, in the image forming method according to claim 5, when it is determined that coincides with the protocol determining step, the other or printing data detected by said detection step is from a said host device A host determination step of determining whether the data is from a host device, and a step of disconnecting or invalidating a session with the host device when it is determined in the host determination step that the print data is from another host device; , comprising: a.
According to a seventh aspect of the present invention, in the image forming method according to the fifth or sixth aspect , a priority setting step for setting a priority of a protocol input to the image forming apparatus, and a memory for storing the priority of the set protocol And a priority determination step for determining the level of priority between the protocol used when establishing the session and the protocol used in the print data detected in the detection step; When the priority determination step determines that the priority of the protocol used for the print data detected in the detection step is higher than the priority of the protocol used when establishing the session characterized in that it comprises the the steps of the cutting or disable session with.
According to an eighth aspect of the present invention, in the image forming method according to any one of the fifth to seventh aspects, when the session with the host device is disconnected, the image formation of the print data transmitted to the image forming device is completed. after, further comprising a step of re-establishing the session.

本発明によれば、セッションを張り続ける必要があるPDLを使用しているときでも他のホスト装置からのPDLデータの印刷ができるため、ユーザが印刷処理を待つ時間を減らし、ひいては印刷効率を向上させることができる。   According to the present invention, it is possible to print PDL data from another host device even when using PDL that needs to continue a session, thereby reducing the time for the user to wait for print processing and thus improving printing efficiency. Can be made.

以下に、本発明に係る一実施形態における画像形成装置を、添付図面を用いて説明する。
図1は本実施形態に係る画像形成装置の要部のブロック図である。
画像形成装置はCPU1、RAM2、ROM3、画像メモリ4、I/F(インターフェース)部5、操作パネル制御部6、操作パネル7を備えている。CPU1はメモリに格納されている、例えば後述するプロトコル判定プログラムや優先度判定プログラムを読み込んで、印刷制御を実行する制御手段である。
RAM2はCPU1がプログラムを実行するときの一時的なプログラムの記憶場所であり、画像形成装置の各種設定データなどを格納する場所である。ROM3は、CPU1が実行する各種プログラムを格納している。画像メモリ4はホスト装置などから受信した画像データを一時保存しておく領域である。I/F部5は画像形成装置がホスト装置と通信するための通信手段である。
操作パネル7は、外部表示機能としてメッセージ等を表示したり、ユーザが情報等を入力する表示手段及び入力手段であり、操作パネル制御部6は操作パネル7から入力された情報を処理するCPU1の機能であり、操作パネル7に入力された情報などを画像形成装置に設定する設定手段である。
Hereinafter, an image forming apparatus according to an embodiment of the present invention will be described with reference to the accompanying drawings.
FIG. 1 is a block diagram of a main part of the image forming apparatus according to the present embodiment.
The image forming apparatus includes a CPU 1, a RAM 2, a ROM 3, an image memory 4, an I / F (interface) unit 5, an operation panel control unit 6, and an operation panel 7. The CPU 1 is a control unit that reads a protocol determination program or a priority determination program, which will be described later, stored in a memory, for example, and executes print control.
The RAM 2 is a temporary program storage location when the CPU 1 executes the program, and stores various setting data of the image forming apparatus. The ROM 3 stores various programs executed by the CPU 1. The image memory 4 is an area for temporarily storing image data received from a host device or the like. The I / F unit 5 is a communication unit for the image forming apparatus to communicate with the host device.
The operation panel 7 is a display unit and an input unit for displaying a message or the like as an external display function, or for inputting information or the like by a user. The operation panel control unit 6 is a CPU 1 that processes information input from the operation panel 7. This is a setting means for setting information input to the operation panel 7 in the image forming apparatus.

図2は本実施形態に係る画像形成装置と複数台のPCが接続されている状態を説明する図である。
画像形成装置10は3台のPC11〜13とネットワーク14を介して接続しており、各PC11〜13と画像形成装置10間でセッションを確立して、通信を行うことができる。
FIG. 2 is a diagram illustrating a state in which the image forming apparatus according to the present embodiment and a plurality of PCs are connected.
The image forming apparatus 10 is connected to three PCs 11 to 13 via a network 14, and can establish communication between each of the PCs 11 to 13 and the image forming apparatus 10 to perform communication.

本実施形態において、画像形成装置10はセッションを張り続ける必要があるPDLを使用して一台又は複数台のPCと通信しているときに、セッションを張って通信しているPCとは別のPC(以下、別のPCという)からPDLデータが送信されたときは、確立しているセッションを切断するか、または切断せずにセッションを張って通信しているPCとの送受信のみを無効にして、別のPCからPDLデータを受信し、印刷することができる。
なお、本実施形態では確立しているセッションを切断するか、切断せずに受信のみをできない状態にするかを操作パネル7から設定でき、操作パネル制御部6により、操作パネル7に入力された設定情報をRAM2に保存する。
In this embodiment, when the image forming apparatus 10 communicates with one or a plurality of PCs using a PDL that needs to continue a session, the image forming apparatus 10 is different from the PC that communicates with the session. When PDL data is transmitted from a PC (hereinafter referred to as another PC), the established session is disconnected or only transmission / reception with a PC communicating with the session without disconnecting is disabled. Thus, PDL data can be received from another PC and printed.
In this embodiment, it is possible to set from the operation panel 7 whether the established session is disconnected or in a state where only reception is possible without disconnecting, and the operation panel control unit 6 inputs the operation session 7. Setting information is stored in the RAM 2.

図3は画像形成装置10において、PCとセッションを確立しているときに別のPCから画像形成装置10へのPDLデータの送信があったとき、確立しているセッションを切断するように設定している場合における画像形成装置10の処理を説明するための模式図である。
なお、この処理は図2に示したネットワーク14上で行われており、以下説明する処理に関しても同様である。
図3Aは、PC11と画像形成装置10とがセッションを張り続ける必要があるPDLを使用して通信を行っている際に、PC12からPDLデータが送信された状態を示している。
PC12から画像形成装置10へPDLデータが送信されると、画像形成装置10へ送信されたPDLデータを検知するCPU1内の検知手段がPDLデータを検知して、画像形成装置10は確立しているセッションを切断する処理を実行し、PC12からPDLデータを受信する。なお、図中はさみのマークはセッションを切断する処理を模式的に示している。
FIG. 3 shows that the image forming apparatus 10 is set to disconnect the established session when PDL data is transmitted from another PC to the image forming apparatus 10 while establishing a session with the PC. FIG. 6 is a schematic diagram for explaining processing of the image forming apparatus 10 in the case of
This process is performed on the network 14 shown in FIG. 2, and the same applies to the processes described below.
FIG. 3A shows a state in which PDL data is transmitted from the PC 12 when the PC 11 and the image forming apparatus 10 perform communication using PDL that needs to continue a session.
When the PDL data is transmitted from the PC 12 to the image forming apparatus 10, the detecting unit in the CPU 1 that detects the PDL data transmitted to the image forming apparatus 10 detects the PDL data, and the image forming apparatus 10 is established. A process for disconnecting the session is executed, and PDL data is received from the PC 12. In the figure, the scissors mark schematically shows the process of cutting the session.

図3Bは、確立しているセッションを切断する設定において、PC12から送信されたPDLデータの印刷処理が終了した状態を示している。
PC12から送信されたPDLデータの印刷処理が終了すると、画像形成装置10は切断したPC11とのセッションを再度確立し直す処理を実行する。なお、図中バンドエイドのマークは切断されたセッションを確立し直す処理を模式的に示している。
FIG. 3B shows a state where the print processing of the PDL data transmitted from the PC 12 is completed in the setting for disconnecting the established session.
When the printing process of the PDL data transmitted from the PC 12 is completed, the image forming apparatus 10 executes a process for reestablishing a session with the disconnected PC 11. In the figure, the band aid mark schematically shows processing for reestablishing a disconnected session.

図4は画像形成装置10において、PCとセッションを確立しているときに別のPCから画像形成装置10へのPDLデータの送信があったとき、確立しているセッションを切断せずに無効にして、セッションを確立しているPCとの送受信のみを行えないようにする設定における画像形成装置10の処理を説明するための模式図である。
図4は、図3Aと同様にPC11と画像形成装置10とがセッションを張り続ける必要があるPDLを使用して通信を行っている際に、PC12からPDLデータが送信された状態を示している。
PC12から画像形成装置10へPDLデータが送信されると、前述した検知手段がPDLデータを検知して、画像形成装置10は確立しているセッションは切断せずに、PC11との送受信を無効にし、PC12からのPDLデータを受信する。
なお、PC11との送受信を無効にしたときに、PC11から画像形成装置10へPDLデータが送信されたときは、画像形成装置10はそのPDLデータは受信せず、エラーメッセージ等をPC11へ返す。
FIG. 4 shows that when an image forming apparatus 10 establishes a session with a PC and PDL data is transmitted from another PC to the image forming apparatus 10, the established session is invalidated without being disconnected. FIG. 6 is a schematic diagram for explaining processing of the image forming apparatus 10 in a setting in which only transmission / reception with a PC that has established a session cannot be performed.
FIG. 4 shows a state in which PDL data is transmitted from the PC 12 when the PC 11 and the image forming apparatus 10 perform communication using the PDL that needs to continue the session as in FIG. 3A. .
When the PDL data is transmitted from the PC 12 to the image forming apparatus 10, the detection unit described above detects the PDL data, and the image forming apparatus 10 invalidates transmission / reception with the PC 11 without disconnecting the established session. The PDL data from the PC 12 is received.
When transmission / reception with the PC 11 is invalidated and PDL data is transmitted from the PC 11 to the image forming apparatus 10, the image forming apparatus 10 does not receive the PDL data and returns an error message or the like to the PC 11.

ここで、図3に示した画像形成装置10の処理においては、画像形成装置10に別のPCからPDLデータが送信されたとき、PCと確立しているセッションを切断する設定にして、PC12からPDLデータが画像形成装置10に送信されたとき、PC12から送信されたPDLデータの印刷が終了した際には、画像形成装置10はPC11と再度セッションを確立しないとPC11からのPDLデータの印刷処理を再開することはできない。
Here, in the processing of the image forming apparatus 10 shown in FIG. 3, when the PDL data is transmit from another PC to the image forming apparatus 10, in the set to disconnect the session established with the PC, PC12 When the PDL data is transmitted from the PC 12 to the image forming apparatus 10, when the printing of the PDL data transmitted from the PC 12 is completed, the image forming apparatus 10 prints the PDL data from the PC 11 without establishing a session with the PC 11 again. Processing cannot be resumed.

図4に示した画像形成装置10の処理においては、画像形成装置10に別のPCからPDLデータが送信されたとき、PCと確立しているセッションは切断せずにPCとの送受信のみを無効にする設定にして、PC12から送信されたPDLデータの印刷が終了した際には、セッションを切断していないので、PC12からのPDLデータの印刷が終了すれば、すぐにPC11との通信を再開することができる。
つまり、セッションを切断しない方が、新たにセッションを繋ぎ直す必要が無いため、通信再開までのスピードは速いが、セッションの切断を行う方がセッションの接続中にデータの盗聴などが行われることがないため、セキュリティの面では優れている。従って、セッションを切断する設定にするか、セッションを切断せずにPCとの送受信のみを無効にする設定にするかはユーザの判断による。
In the processing of the image forming apparatus 10 shown in FIG. 4, when the PDL data is transmit from another PC to the image forming apparatus 10, the session that is established with PC only transmission and reception with the PC without cutting Since the session is not disconnected when printing of PDL data transmitted from the PC 12 has been set to invalid, communication with the PC 11 is immediately performed when printing of PDL data from the PC 12 is completed. You can resume.
In other words, if you do not disconnect the session, there is no need to reconnect the session, so the speed to resume communication is faster, but if you disconnect the session, data can be wiretapped while the session is connected. There is no security in terms of security. Therefore, whether to set to disconnect the session or to set to disable only transmission / reception with the PC without disconnecting the session depends on the user's judgment.

図5は画像形成装置がPCとセッションを確立して通信をしているときに、他のPCからPDLデータが送信されたときの画像形成装置及び各PCの処理を示すシーケンス図である。
本シーケンス図は、図2に示したPC11が画像形成装置10とセッションを確立し、そこでPC12がPDLデータを送信するときの処理を示している。なお、このときの画像形成装置10は、他のPC(セッションを確立していないPC)からPDLデータを受信したときは、セッションを切断する設定になっている。
FIG. 5 is a sequence diagram illustrating processing of the image forming apparatus and each PC when PDL data is transmitted from another PC while the image forming apparatus establishes a session with the PC and performs communication.
This sequence diagram shows processing when the PC 11 shown in FIG. 2 establishes a session with the image forming apparatus 10 and the PC 12 transmits PDL data there. Note that the image forming apparatus 10 at this time is set to disconnect the session when receiving PDL data from another PC (a PC for which no session has been established).

まず、PC11は画像形成装置10にセッションの接続要求を出す(S101)。画像形成装置10はセッションの接続要求に対して応答し(S102)、セッションを確立する。
セッションが確立すると、PC11は画像形成装置10に対してPDLデータを送信する(S103)。なお、このPDLデータは、セッションを張り続ける必要があるPDLデータとする。
画像形成装置10はPC11から受信したPDLデータの印刷処理を行う(S104)。なお、画像形成装置10が印刷処理を行っている間は、他のPCからのPDLデータは受信しない。
First, the PC 11 issues a session connection request to the image forming apparatus 10 (S101). The image forming apparatus 10 responds to the session connection request (S102) and establishes the session.
When the session is established, the PC 11 transmits PDL data to the image forming apparatus 10 (S103). Note that this PDL data is PDL data that needs to be kept in session.
The image forming apparatus 10 prints the PDL data received from the PC 11 (S104). Note that PDL data from other PCs is not received while the image forming apparatus 10 is performing printing processing.

印刷処理が終了すると、PC12がPDLデータを画像形成装置10に送信する。検知手段がPDLデータを検知すると、画像形成装置10は印刷処理を行っていないため、セッションの切断処理を行い(S106)、PC12から受信したPDLデータの印刷処理を行う(S107)。
なお、印刷処理が終了した後、図示していないが、画像形成装置10はPC11とのセッションの再確立を行う。
以上の処理で、セッション確立中に他のPCからPDLデータが送信されたとき、他のPCからのPDLデータの印刷処理を行う。
When the printing process is completed, the PC 12 transmits the PDL data to the image forming apparatus 10. When the detection unit detects the PDL data, the image forming apparatus 10 does not perform the printing process, so the session is disconnected (S106), and the PDL data received from the PC 12 is printed (S107).
Although not shown in the figure, the image forming apparatus 10 reestablishes a session with the PC 11 after the printing process is completed.
With the above processing, when PDL data is transmitted from another PC during session establishment, printing processing of PDL data from the other PC is performed.

また、本実施形態では、PCが画像形成装置とセッションを確立している際に、画像形成装置にPDLデータが送信されたとき、そのPDLとセッションを確立しているPCが使用しているPDLとが同一か否かを判定して、異なるPDLのときにセッションの切断または送受信の無効処理(以下、セッションの切断などという)を実行し、送信されたPDLデータの印刷処理を行うことができる。
画像形成装置は、PCとの通信にPDL毎に異なる特定のプロトコル(通信手順)を使用しているため、プロトコルが同じであれば使用しているPDLも同じであり、プロトコルが異なれば使用しているPDLも異なる。
従って、PDLが同一か否かを判定するためには、そのPDLデータを送信するために用いているプロトコルが同一か否かによって判定し、プロトコルが同一か否かは、CPU1内のプロトコル判定手段が、プロトコルの識別情報(例えばLPR:Line PRinter daemon protocol)を読み取って、どのプロトコルを用いているかを判別して、判定する。
In this embodiment, when the PC establishes a session with the image forming apparatus and PDL data is transmitted to the image forming apparatus, the PDL used by the PC establishing the session with the PDL. Can be determined by determining whether or not the same and different PDL, session disconnection or transmission / reception invalidation processing (hereinafter referred to as session disconnection) can be executed, and print processing of the transmitted PDL data can be performed. .
Since the image forming apparatus uses a specific protocol (communication procedure) different for each PDL for communication with the PC, the same PDL is used if the protocol is the same, and is used if the protocol is different. PDL is different.
Therefore, in order to determine whether or not the PDL is the same, it is determined based on whether or not the protocol used for transmitting the PDL data is the same, and whether or not the protocol is the same is determined by the protocol determination means in the CPU 1. However, the protocol identification information (for example, LPR: Line PRinter daemon protocol) is read to determine which protocol is used.

また、画像形成装置とセッションを確立したPCは、複数のプロトコルを使用してPDLデータを送信することはできない。そのため、前述した判定においてPDLが異なると判定したとき、即ち画像形成装置とセッションを確立して通信しているPCが使用しているプロトコルと、送信されたPDLデータに使用されているプロトコルが異なるときは、画像形成装置とセッションを確立しているPCとは異なるPCから送信されたPDLデータであると判別される。
一方、前述した判定においてPDLが同一と判定したとき、即ち画像形成装置とセッションを確立して通信しているPCが使用しているプロトコルと、送信されたPDLデータに使用されているプロトコルが同一であるときは、PDLデータの送信元は画像形成装置とセッションを確立しているPCであることも考えられる。このときは、セッションの切断等の処理を行う必要がなく、そのまま印刷処理を実行できるため、そのPDLデータの送信元が画像形成装置とセッションを確立しているPCと同一か否かを判定する必要がある。
Also, a PC that has established a session with an image forming apparatus cannot transmit PDL data using a plurality of protocols. Therefore, when it is determined in the above-described determination that the PDL is different, that is, the protocol used by the PC communicating with the image forming apparatus by establishing a session is different from the protocol used for the transmitted PDL data. Is determined to be PDL data transmitted from a PC different from the PC that has established a session with the image forming apparatus.
On the other hand, when it is determined that the PDL is the same in the above-described determination, that is, the protocol used by the PC that establishes a session with the image forming apparatus and communicates with the protocol used for the transmitted PDL data is the same. In such a case, the source of the PDL data may be a PC that has established a session with the image forming apparatus. In this case, it is not necessary to perform processing such as session disconnection, and printing processing can be executed as it is. Therefore, it is determined whether or not the transmission source of the PDL data is the same as the PC that has established a session with the image forming apparatus. There is a need.

PDLデータの送信元がセッションを確立しているPCと同一か否かは、CPU1内のホスト判定手段が、そのPDLデータに含まれているIP(Internet Protocol)アドレスやMAC(Media Access Control)アドレスなどの情報を読み取って判定する。即ち、セッションを確立しているPCのPDLデータに含まれているIPアドレス又はMACアドレスが、送信されたPDLデータに含まれているIPアドレス又はMACアドレスと同一か否かによって、PCが同一か否かを判定する。   Whether the transmission source of the PDL data is the same as the PC that has established the session is determined by the host determination means in the CPU 1 by an IP (Internet Protocol) address or a MAC (Media Access Control) address included in the PDL data. Such information is read and judged. That is, whether the PC is the same depending on whether the IP address or MAC address included in the PDL data of the PC establishing the session is the same as the IP address or MAC address included in the transmitted PDL data Determine whether or not.

図6はセッションを確立している画像形成装置にPDLデータが送信されたときのPDL及び送信元の判定処理を説明するための模式図である。
図6Aは、PC11と画像形成装置10とがセッションを張り続ける必要があるPDL(図の例ではA−PDLとする)を使用して通信を行っている際に、画像形成装置10にPDLデータが送信された状態を示している。
画像形成装置10はセッションを確立しているPC11との通信において例えばプロトコルAを使用しており、PDLはA−PDLを使用している。このプロトコルの種類は、画像形成装置10とPC11がセッションを確立するときに使用されるプロトコルの識別情報からプロトコル判定手段にて判定される。
図示のように、PC11と画像形成装置10がセッションを確立して通信をしているときに、PDLデータが画像形成装置10に送信されると、前述した検知手段がPDLデータを検知して、既に説明したプロトコル判定手段が画像形成装置10に送信されたPDLデータに使用されているプロトコルが、プロトコルAと同一か否かを判定する。
図6Bは、画像形成装置に送信されたPDLデータが使用しているプロトコルがプロトコルAと同一であると判定された状態を示している。
このとき、画像形成装置に送信されたPDLデータに含まれているIPアドレスなどの情報から、前述したホスト判定手段がPC11と、画像形成装置に送信されたPDLデータの送信元が同一か否かを判定する。
FIG. 6 is a schematic diagram for explaining PDL and transmission source determination processing when PDL data is transmitted to an image forming apparatus that has established a session.
FIG. 6A illustrates that the PDL data is transmitted to the image forming apparatus 10 when the PC 11 and the image forming apparatus 10 perform communication using PDL (A-PDL in the illustrated example) that needs to continue a session. Indicates a transmitted state.
The image forming apparatus 10 uses, for example, protocol A in communication with the PC 11 that has established a session, and PDL uses A-PDL. The type of protocol is determined by the protocol determination unit from the identification information of the protocol used when the image forming apparatus 10 and the PC 11 establish a session.
As shown in the figure, when the PDL data is transmitted to the image forming apparatus 10 while the PC 11 and the image forming apparatus 10 establish a session and communicate with each other, the detection unit described above detects the PDL data, The protocol determination unit described above determines whether the protocol used for the PDL data transmitted to the image forming apparatus 10 is the same as the protocol A.
FIG. 6B shows a state in which it is determined that the protocol used by the PDL data transmitted to the image forming apparatus is the same as the protocol A.
At this time, based on information such as an IP address included in the PDL data transmitted to the image forming apparatus, whether the host determination unit described above is the same as the PC 11 and the transmission source of the PDL data transmitted to the image forming apparatus. Determine.

図7はセッション確立中の画像形成装置にPDLデータが送信されたときの画像形成装置の処理のフロー図である。
なお、CPU1がROM3に記憶されているプロトコル判定プログラムを読み込んで、以下説明するプロトコルの判定処理を実行する。
まず、画像形成装置はPDLデータを前述した検知手段が検知したかどうかを判定し(S201)、検知していないと判定したときは(S201、NO)、ステップS201の処理を繰り返す。即ちステップS201はPDLデータの検知を待機する処理を示している。
PDLデータを検知すると(S201、YES)、画像形成装置が印刷処理中か否かを判定する(S202)。即ち、セッションを確立しているホスト装置から送信されたPDLデータを印刷している最中か否かを判定する。画像形成装置が印刷処理中であれば(S202、YES)、印刷処理を行わずに終了する。
FIG. 7 is a flowchart of processing performed by the image forming apparatus when PDL data is transmitted to the image forming apparatus during session establishment.
The CPU 1 reads a protocol determination program stored in the ROM 3 and executes a protocol determination process described below.
First, the image forming apparatus determines whether or not the above-described detection unit has detected PDL data (S201). If it is determined that the PDL data has not been detected (S201, NO), the process of step S201 is repeated. That is, step S201 indicates processing for waiting for detection of PDL data.
When PDL data is detected (S201, YES), it is determined whether or not the image forming apparatus is printing (S202). That is, it is determined whether the PDL data transmitted from the host apparatus that has established the session is being printed. If the image forming apparatus is in the printing process (S202, YES), the printing process is terminated without performing the printing process.

画像形成装置が印刷処理中でなければ(S202、NO)、PDLデータを送信するために使用しているプロトコルが、セッションを確立しているPCとの通信に使用しているプロトコルと同一か否かを、前述したプロトコル判定手段にて判定する(S203)。プロトコルが異なると判定したときは(S203、NO)、確立しているセッションの切断などの処理を行い(S206)、PDLデータの印刷処理を行う(S205)。   If the image forming apparatus is not in the printing process (S202, NO), whether the protocol used for transmitting the PDL data is the same as the protocol used for communication with the PC that has established the session. Is determined by the protocol determination means described above (S203). When it is determined that the protocols are different (S203, NO), processing such as disconnection of the established session is performed (S206), and PDL data print processing is performed (S205).

プロトコルが同一であると判定したときは(S203、YES)、次にPDLデータの送信元のホスト装置がセッションを確立しているホスト装置と同一か否かを、前述したホスト判定手段にて判定する(S204)。ホスト装置が異なると判定したときは(S204、NO)、確立しているセッションの切断などの処理を行い(S206)、受信したPDLデータの印刷処理を行う(S205)。
ホスト装置が同一と判定したときは(S204、YES)、確立しているセッションの切断などの処理は行わずに、PDLデータを受信し、印刷処理を行う(S205)。
When it is determined that the protocols are the same (S203, YES), the above-described host determination means determines whether or not the host device that is the source of PDL data is the same as the host device that has established the session. (S204). If it is determined that the host devices are different (S204, NO), the established session is disconnected (S206), and the received PDL data is printed (S205).
When it is determined that the host devices are the same (S204, YES), PDL data is received and printing processing is performed without performing processing such as disconnection of the established session (S205).

また、本実施形態では、画像形成装置はPDLデータの通信に使用するプロトコルに優先度を設定することで、CPU1内の優先度判定手段がセッションを確立したPCとの通信で使用しているプロトコルの優先度とセッション確立中に送信されるPDLデータの通信で使用しているプロトコルの優先度を比較して、PDLデータの通信で使用しているプロトコルの優先順位の方が高いときは印刷処理を行い、低いときは印刷処理を行わないように制御することができる。   In this embodiment, the image forming apparatus sets a priority for a protocol used for communication of PDL data, so that a priority determination unit in the CPU 1 uses a protocol used for communication with a PC that has established a session. If the priority of the protocol used in the communication of PDL data is higher than the priority of the protocol used in the communication of PDL data transmitted during the session establishment, and the protocol used in the communication of PDL data is higher It is possible to perform control so that the printing process is not performed when it is low.

図8Aは画像形成装置のプロトコルの優先度の設定画面の例を示している。
図示のように、操作パネル6に表示された優先度の設定例として、一番高い優先度である「1」にプロトコルC、優先度「2」にプロトコルA、優先度「3」にプロトコルBが設定されている。即ち、優先度が高い順に、プロトコルC、プロトコルA、プロトコルBと設定されている。
各優先度に設定されている各プロトコルは、この設定画面において、ユーザが設定することができる。
なお、ここで設定された優先度は図1に示した操作パネル制御部6(優先度設定手段)によって制御され、RAM2に記憶される。
FIG. 8A shows an example of a protocol priority setting screen of the image forming apparatus.
As shown in the figure, as an example of setting the priority displayed on the operation panel 6, the highest priority “1” is protocol C, the priority “2” is protocol A, and the priority “3” is protocol B. Is set. That is, protocol C, protocol A, and protocol B are set in descending order of priority.
Each protocol set for each priority can be set by the user on this setting screen.
The priority set here is controlled by the operation panel control section 6 (priority setting means) shown in FIG.

図8Bは、図8Aに示したプロトコルの優先度が画像形成装置に設定された状態においてセッションを確立している画像形成装置にPDLデータが送信されたときの印刷処理を説明するための模式図である。
図示のように、PC11は画像形成装置10とセッションを確立してプロトコルAを使用してA−PDLデータの通信をしており、PC12はプロトコルBを使用してB−PDLデータを、PC13はプロトコルCを使用してC−PDLデータを画像形成装置10に送信している。
このとき、プロトコルBはプロトコルAよりも優先度が低いため、B−PDLは仮に画像形成装置が印刷処理中でなくても印刷できない(図中×印)。一方、プロトコルCはプロトコルAよりも優先度が高いため、C−PDLは画像形成装置が印刷処理中でなければ印刷される(図中○印)。
FIG. 8B is a schematic diagram for explaining a printing process when PDL data is transmitted to an image forming apparatus that has established a session in a state where the priority of the protocol illustrated in FIG. 8A is set in the image forming apparatus. It is.
As shown in the figure, the PC 11 establishes a session with the image forming apparatus 10 to communicate A-PDL data using the protocol A, the PC 12 uses the protocol B to transmit the B-PDL data, and the PC 13 The C-PDL data is transmitted to the image forming apparatus 10 using the protocol C.
At this time, since protocol B has a lower priority than protocol A, B-PDL cannot be printed even if the image forming apparatus is not in the printing process (marked with x in the figure). On the other hand, since the priority of protocol C is higher than that of protocol A, C-PDL is printed unless the image forming apparatus is in the printing process (marked with a circle in the figure).

図9はプロトコルに優先度が設定された状態においてセッション確立中の画像形成装置にPDLデータが送信されたときの画像形成装置の処理のフロー図である。
なお、CPU1がROM3に記憶されている優先度判定プログラムを読み込んで、以下説明する優先度の判定処理を実行する。
ステップS301とステップS302の処理は図7において既に説明したステップS201とステップS202の処理と同一であるため説明を省略する。
ステップS302において画像形成装置が印刷処理中ではないと判定したときは(S302、NO)、前述したプロトコル判定手段が送信されたPDLデータのプロトコルの優先度とセッションの通信において使用しているプロトコルの優先度が同一か否かを判定する(S303)。
FIG. 9 is a flowchart of processing of the image forming apparatus when PDL data is transmitted to the image forming apparatus that is establishing a session in a state where priority is set in the protocol.
The CPU 1 reads a priority determination program stored in the ROM 3 and executes a priority determination process described below.
The processing in step S301 and step S302 is the same as the processing in step S201 and step S202 already described in FIG.
If it is determined in step S302 that the image forming apparatus is not printing (S302, NO), the protocol determination unit described above determines the priority of the protocol of the transmitted PDL data and the protocol used in session communication. It is determined whether the priorities are the same (S303).

プロトコル判定手段がプロトコルの優先度が同一と判定したときは(S303、YES)、次にPDLデータの送信元(ホスト装置)がセッションを接続しているホスト装置と同一か否かを判定する(S304)。
なお、ホスト装置が同一か否かは既に説明したように、ホスト判定手段がPDLデータに含まれているIPアドレスなどを読み取って判別する。
ホスト装置が異なると判定したときは(S304、NO)、印刷処理を行わずに終了する。
ホスト装置が同一と判定したときは、セッションの切断などの処理は行わずに、送信されたPDLデータの印刷処理を実行する(S305)。
If the protocol determination means determines that the protocol priorities are the same (S303, YES), then it is determined whether the PDL data transmission source (host device) is the same as the host device connected to the session ( S304).
Whether or not the host devices are the same is determined by reading the IP address or the like included in the PDL data by the host determination unit as described above.
If it is determined that the host devices are different (S304, NO), the process ends without performing the printing process.
When it is determined that the host devices are the same, the process of disconnecting the session or the like is not performed, and the printing process of the transmitted PDL data is executed (S305).

一方、ステップS303の処理において、プロトコルの優先度が異なると判定したときは(S303、NO)、送信されたPDLデータのプロトコルの優先度がセッションの通信において使用しているプロトコルの優先度より高いか否かを判定する(S304)。
送信されたPDLデータのプロトコルの優先度の方が低いと判定したときは(S306、NO)、印刷処理を行わずに終了する。
送信されたPDLデータのプロトコルの優先度の方が高いときは(S306、YES)、確立されているセッションの切断などを行い(S307)、送信されたPDLデータの印刷処理を行う(S305)。
On the other hand, if it is determined in step S303 that the protocol priority is different (NO in S303), the protocol priority of the transmitted PDL data is higher than the protocol priority used in the session communication. It is determined whether or not (S304).
When it is determined that the priority of the protocol of the transmitted PDL data is lower (S306, NO), the process ends without performing the printing process.
When the protocol priority of the transmitted PDL data is higher (S306, YES), the established session is disconnected (S307), and the transmitted PDL data is printed (S305).

以上で説明した処理によって、ホスト装置と画像形成装置がセッションを確立して通信しているときでも、印刷処理中でないときは、セッションの切断などを行うことで他のホスト装置から送信したPDLデータの印刷を行うことができる。
また、送信されたPDLデータのIPアドレスなどからホスト装置を判別することで、セッションをすでに確立しているホスト装置からのPDLデータの送信、即ち、追加の印刷要求で余計なセッションの切断などを行わないようにすることができる。
さらに、プロトコルに優先順位を設定できることで、ユーザが優先したいPDLデータを優先して印刷することができ、画像形成装置の使い勝手を向上させることができる。
Even when the host apparatus and the image forming apparatus are communicating with each other by the process described above, if the printing process is not being performed, the PDL data transmitted from the other host apparatus by disconnecting the session is performed. Can be printed.
Also, by determining the host device from the IP address of the transmitted PDL data, etc., transmission of PDL data from the host device that has already established a session, that is, additional session disconnection, etc. It can be avoided.
Furthermore, since the priority order can be set in the protocol, PDL data that the user wants to prioritize can be printed with priority, and the usability of the image forming apparatus can be improved.

本実施形態に係る画像形成装置の要部のブロック図である。1 is a block diagram of a main part of an image forming apparatus according to an embodiment. 画像形成装置と複数台のPCが接続されている状態を説明する図である。FIG. 3 is a diagram illustrating a state where an image forming apparatus and a plurality of PCs are connected. 確立しているセッションを切断する設定における画像形成装置の処理を説明するための模式図である。FIG. 10 is a schematic diagram for explaining processing of the image forming apparatus in a setting for cutting an established session. 確立しているセッションを切断せずにPCとの送受信のみを行えないようにする設定における画像形成装置の処理を説明するための模式図である。FIG. 10 is a schematic diagram for explaining processing of the image forming apparatus in a setting in which only transmission / reception with a PC can be performed without disconnecting an established session. 他のPCからPDLデータが送信されたときの画像形成装置及び各PCの処理を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating processing of the image forming apparatus and each PC when PDL data is transmitted from another PC. 画像形成装置にPDLデータが送信されたときのPDL及び送信元の判定処理を説明するための模式図である。FIG. 4 is a schematic diagram for explaining PDL and transmission source determination processing when PDL data is transmitted to an image forming apparatus. 画像形成装置にPDLデータが送信されたときの画像形成装置の処理のフロー図である。FIG. 10 is a flowchart of processing performed by the image forming apparatus when PDL data is transmitted to the image forming apparatus. 図8Aはプロトコルの優先度の設定画面の例を示した図である。図8Bは優先度設定してセッションを確立している画像形成装置にPDLデータが送信されたときの印刷処理を説明するための模式図である。FIG. 8A is a diagram showing an example of a protocol priority setting screen. FIG. 8B is a schematic diagram for explaining a printing process when PDL data is transmitted to an image forming apparatus in which a priority is set and a session is established. プロトコルに優先度が設定された状態において画像形成装置にPDLデータが送信されたときの画像形成装置の処理のフロー図である。FIG. 10 is a flowchart of processing of the image forming apparatus when PDL data is transmitted to the image forming apparatus in a state where priority is set in the protocol. セッションを張り続ける必要があるPDLを説明するための図である。It is a figure for demonstrating PDL which needs to keep extending a session. 複数のホスト装置とセッションを確立した画像形成装置を説明する図である。2 is a diagram illustrating an image forming apparatus that has established sessions with a plurality of host devices. FIG.

符号の説明Explanation of symbols

1・・・CPU、2・・・RAM、3・・・ROM、4・・・画像メモリ、5・・・I/F部、6・・・操作パネル制御部、7・・・操作パネル、10、101・・・画像形成装置、11〜13、102、103、106〜111・・・PC、14・・・ネットワーク、112・・・PDLデータ。 DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... RAM, 3 ... ROM, 4 ... Image memory, 5 ... I / F part, 6 ... Operation panel control part, 7 ... Operation panel, DESCRIPTION OF SYMBOLS 10, 101 ... Image forming apparatus, 11-13, 102, 103, 106-111 ... PC, 14 ... Network, 112 ... PDL data.

Claims (8)

ホスト装置とセッションを確立して通信する通信手段と、該通信手段の制御を行う制御手段を備えた画像形成装置であって、
画像形成装置に送信された印刷データを検知する検知手段と、前記ホスト装置と前記通信手段とのセッション確立中に前記検知手段で検知した印刷データ送信用プロトコルと前記セッションを確立するときに使用されるプロトコルとの一致、不一致を判定するプロトコル判定手段とを有し、
前記ホスト装置と前記通信手段とのセッション確立中に前記検知手段が印刷データを検知したとき、前記制御手段は、ホスト装置とのセッションを切断又は無効にして前記通信手段が前記印刷データを受信するように制御し、前記プロトコル判定手段が不一致と判定したとき、前記制御手段はホスト装置とのセッションを切断又は無効にするように制御することを特徴とする画像形成装置。
An image forming apparatus comprising a communication unit that establishes and communicates with a host device and a control unit that controls the communication unit,
Used to establish a session for detecting print data transmitted to the image forming apparatus, a protocol for transmitting print data detected by the detection means during a session establishment between the host device and the communication means, and the session. Protocol determination means for determining whether or not the protocol matches,
When the detection unit detects print data during session establishment between the host device and the communication unit, the control unit disconnects or invalidates the session with the host device and the communication unit receives the print data. When the protocol determination unit determines that there is a mismatch, the control unit controls the session with the host device to be disconnected or invalidated .
請求項1に記載された画像形成装置において、
ホスト判定手段を有し、該ホスト判定手段は、前記プロトコル判定手段が一致と判定したとき、前記検知手段で検知した印刷データが前記ホスト装置からのものか他のホスト装置からのものかを判定し、前記他のホスト装置からの印刷データであると判定したとき、前記制御手段は前記ホスト装置とのセッションを切断又は無効にするように制御することを特徴とする画像形成装置。
The image forming apparatus according to claim 1,
A host determination unit that determines whether the print data detected by the detection unit is from the host device or another host device when the protocol determination unit determines that they match. When determining that the print data is from the other host device , the control unit controls the session with the host device to be disconnected or invalidated.
請求項2に記載された画像形成装置において、
前記ホスト判定手段は、前記検知手段で検知した印刷データが前記ホスト装置からのものか他のホスト装置からのものかをIPアドレス又はMACアドレスに基づいて判定することを特徴とする画像形成装置。
The image forming apparatus according to claim 2,
The image forming apparatus , wherein the host determination unit determines whether the print data detected by the detection unit is from the host device or another host device based on an IP address or a MAC address .
請求項1ないしのいずれかに記載された画像形成装置において、
画像形成装置に入力されたプロトコルの優先度を設定する優先度設定手段と、設定された優先度を記憶する記憶手段と、前記セッションを確立するときに使用されるプロトコルの優先度と前記検知手段で検知した印刷データ送信用プロトコルの優先度の高低を判定する優先度判定手段と、前記優先度判定手段が、前記検知手段で検知した印刷データ送信用プロトコルの優先度が前記セッションを確立するときに使用されるプロトコルの優先度よりも高いと判定したとき、前記制御手段は前記セッションを切断又は無効にするように前記通信手段を制御することを特徴とする画像形成装置。
The image forming apparatus according to any one of claims 1 to 3,
Priority setting means for setting the priority of the protocol input to the image forming apparatus, storage means for storing the set priority, priority of the protocol used when establishing the session, and the detection means A priority determination unit that determines the priority level of the print data transmission protocol detected in step S3, and the priority determination unit establishes the session with the priority of the print data transmission protocol detected by the detection unit. When it is determined that the priority is higher than the protocol used for the protocol, the control unit controls the communication unit to disconnect or invalidate the session .
印刷データを受信し、受信した印刷データの画像形成を行う画像形成方法であって、
ホスト装置とセッションを確立する工程と、画像形成装置に送信された印刷データを検知する検知工程と、
前記ホスト装置とセッション確立中に前記検知工程で印刷データを検知したときに、前記ホスト装置とのセッションを切断又は無効にする工程と、
前記ホスト装置とセッション確立中に前記検知工程で検知した印刷データのプロトコルと前記セッションを確立するときに使用されるプロトコルとの一致、不一致を判定するプロトコル判定工程と、
前記不一致と判定したとき、前記ホスト装置とのセッションを切断又は無効にする工程と、を備えることを特徴とする画像形成方法
An image forming method for receiving print data and forming an image of the received print data,
A step of establishing a session with the host device, a detection step of detecting print data transmitted to the image forming device,
Disconnecting or invalidating a session with the host device when print data is detected in the detection step during session establishment with the host device;
A protocol determination step for determining whether the protocol of the print data detected in the detection step during session establishment with the host device matches the protocol used when establishing the session;
When it is determined that the mismatch, the image forming method characterized by and a step of the cutting or disable a session with the host device.
請求項5に記載された画像形成方法において、
前記プロトコル判定工程にて一致と判定したとき、前記検知工程にて検知した印刷データが前記ホスト装置からのものか他のホスト装置からのものかを判定するホスト判定工程と、前記ホスト判定工程にて他のホスト装置からの印刷データであると判定したとき、前記ホスト装置とのセッションを切断又は無効にする工程と、を備えることを特徴とする画像形成方法。
The image forming method according to claim 5, wherein
A host determination step for determining whether the print data detected in the detection step is from the host device or another host device when the protocol determination step determines that they match, the host determination step; And a step of disconnecting or invalidating a session with the host device when it is determined that the print data is from another host device .
請求項5又は6に記載された画像形成方法において、
画像形成装置に入力されるプロトコルの優先度を設定する優先度設定工程と、設定されたプロトコルの優先度をメモリに記憶させる工程と、前記セッションを確立するときに使用されるプロトコルの優先度と前記検知工程にて検知した印刷データに使用されているプロトコルとの優先度の高低を判定する優先度判定工程と、前記優先度判定工程にて前記検知工程で検知した印刷データに使用されているプロトコルの優先度が前記セッションを確立するときに使用されるプロトコルの優先度よりも高いと判定したとき前記ホスト装置とのセッションを切断又は無効にする工程と、を備えることを特徴とする画像形成方法。
In the image forming method according to claim 5 or 6,
A priority setting step for setting the priority of a protocol input to the image forming apparatus; a step of storing the set protocol priority in a memory; and a priority of a protocol used when establishing the session; Used in the priority determination step for determining the level of priority with the protocol used in the print data detected in the detection step, and for the print data detected in the detection step in the priority determination step And a step of disconnecting or invalidating the session with the host device when it is determined that the priority of the protocol is higher than the priority of the protocol used when establishing the session. Method.
請求項5ないしのいずれかに記載された画像形成方法において、
前記ホスト装置とのセッションを切断したとき、前記画像形成装置に送信された印刷データの画像形成が終了後、前記セッションを再確立する工程を備えることを特徴とする画像形成方法。
The image forming method according to any one of claims 5 to 7,
An image forming method comprising: reestablishing the session after image formation of print data transmitted to the image forming apparatus is completed when the session with the host device is disconnected .
JP2006352959A 2006-12-27 2006-12-27 Image forming apparatus and image forming method Expired - Fee Related JP4836193B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006352959A JP4836193B2 (en) 2006-12-27 2006-12-27 Image forming apparatus and image forming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006352959A JP4836193B2 (en) 2006-12-27 2006-12-27 Image forming apparatus and image forming method

Publications (2)

Publication Number Publication Date
JP2008165413A JP2008165413A (en) 2008-07-17
JP4836193B2 true JP4836193B2 (en) 2011-12-14

Family

ID=39694848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006352959A Expired - Fee Related JP4836193B2 (en) 2006-12-27 2006-12-27 Image forming apparatus and image forming method

Country Status (1)

Country Link
JP (1) JP4836193B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8507674B2 (en) 2007-11-13 2013-08-13 The University Of Tokyo Quorum sensing inhibitor

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5464862B2 (en) * 2009-02-09 2014-04-09 キヤノン株式会社 Image forming apparatus, control method thereof, and program
US8922812B2 (en) 2010-07-13 2014-12-30 Murata Machinery, Ltd. Network printer
JP5978991B2 (en) * 2012-12-28 2016-08-24 ブラザー工業株式会社 Printing device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11232060A (en) * 1998-02-17 1999-08-27 Nec Software Hokuriku Ltd Print job managing system
JP4320816B2 (en) * 1999-01-14 2009-08-26 セイコーエプソン株式会社 Printer
JP2005349768A (en) * 2004-06-11 2005-12-22 Canon Inc Printing device and printing method
JP2006133858A (en) * 2004-11-02 2006-05-25 Canon Inc Image input/output device, its control method, and recording medium
JP4549843B2 (en) * 2004-12-27 2010-09-22 シャープ株式会社 OUTPUT DEVICE, DATA OUTPUT CONTROL METHOD, DATA OUTPUT CONTROL PROGRAM, AND RECORDING MEDIUM

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8507674B2 (en) 2007-11-13 2013-08-13 The University Of Tokyo Quorum sensing inhibitor

Also Published As

Publication number Publication date
JP2008165413A (en) 2008-07-17

Similar Documents

Publication Publication Date Title
JP4165517B2 (en) Network printing instruction method and program
US8619290B2 (en) Image forming apparatus, image forming system, and image forming method
JP4949980B2 (en) Image forming apparatus, image forming method, image forming program, and image forming system
JP2006023830A (en) Output completion notification system, output controller, control program and storage medium
JP6700894B2 (en) Image processing device, control method, and program
JP2007193407A (en) Printing system and printer
AU2011200638B2 (en) Printer, program, and method
JP5082463B2 (en) Information processing device
JP5031539B2 (en) Printing system, printing apparatus and printing method
JP4836193B2 (en) Image forming apparatus and image forming method
JP3821138B2 (en) Port setting changing device, port setting changing control program, and port setting changing method
JP2005218036A (en) Network server
JP2011008386A (en) Information processing system, peripheral device and program
JP2007272832A (en) Print system, host device, printer, print control method, print method, program for allowing computer to execute these methods, and recording medium
JP2006347110A (en) Image forming device and alternate printing control program
JP2005107837A (en) Printing job completion notification system
JP2010228198A (en) Image forming apparatus, alternative image forming apparatus, printing system, and printing method
JP2003140867A (en) Network print system and information processing device
JP4601030B2 (en) Network printer
JP2018176598A (en) Printing equipment and program
US20060256374A1 (en) Confidential document printing apparatus and associated print control method
JPH10283130A (en) Device, method for controlling printer and record medium
JP2011116047A (en) Wireless communication device, method for controlling the same, and program
JP5071744B2 (en) Printing apparatus, printing system, and printer driver
JP2000330784A (en) Printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090723

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110526

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110725

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

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

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

Free format text: PAYMENT UNTIL: 20141007

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4836193

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees