JP2010274428A - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP2010274428A
JP2010274428A JP2009126016A JP2009126016A JP2010274428A JP 2010274428 A JP2010274428 A JP 2010274428A JP 2009126016 A JP2009126016 A JP 2009126016A JP 2009126016 A JP2009126016 A JP 2009126016A JP 2010274428 A JP2010274428 A JP 2010274428A
Authority
JP
Japan
Prior art keywords
emulation
image data
unit
host
language
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.)
Pending
Application number
JP2009126016A
Other languages
Japanese (ja)
Inventor
Tomio Tanaka
富男 田中
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.)
Oki Electric Industry Co Ltd
Oki Data Systems Co Ltd
Original Assignee
Oki Data Corp
Oki Data Systems 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 Oki Data Corp, Oki Data Systems Co Ltd filed Critical Oki Data Corp
Priority to JP2009126016A priority Critical patent/JP2010274428A/en
Publication of JP2010274428A publication Critical patent/JP2010274428A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem wherein designated printing cannot be carried out as designated, for example, printing is carried out by a description partly different from printing contents designated by a user of a transmission origin because an emulation not completely conforming to image data from the transmission origin is used if an emulation conforming to the image data is not found in a prepared location in an image forming apparatus and thereby cannot be predetermined. <P>SOLUTION: The printer 1 equipped with a plurality of different emulations for receiving image data from a plurality of transmission origins to form images, includes: a language determination part 13 which extracts at least one or more emulations for interpreting the image data from the plurality of emulations; a selecting part 14 which enables the user of the transmission origin to select the emulation by displaying the emulation candidates; and a transmission origin identification information acquiring part 15 which obtains information for identifying the transmission origin. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、複数のコンピュータ等からの画像データを受信可能とする画像形成装置に関する。   The present invention relates to an image forming apparatus capable of receiving image data from a plurality of computers or the like.

上記のような画像形成装置(以下、プリンタという)は、ホストコンピュータ(以下、単にホストという)と接続して使用する場合、夫々のホストが備えているプリンタドライバ(PDL:ページ記述言語、HBP:ホストベースプリンタ等)毎に適合するエミュレーションプログラム(以下、単にエミュレーションという)を複数備えている。
これにより、製造元や機種の異なる複数のホストを使用した場合においても、夫々のホストから画像データを受信した時にどの機種からでも同じように、画像データに応じたプリントが出来る。
例えば、従来この種のエミュレーションを備えたプリンタには、下記特許文献1の技術が考えられていた。
このプリンタは、その上位装置である複数のホストからの画像データを受信して、入力した画像データ中に含まれる画像様式や印字様式等からなる制御コードを検出及び解析して、その画像データが複数のエミュレーションの内の何れのものに合うか判断するためのエミュレーション判断手段と、このエミュレーション判断手段により過去に判断して使用した結果を順次記憶更新するエミュレーション履歴情報記憶手段とを備えたものである。
When such an image forming apparatus (hereinafter referred to as a printer) is used by being connected to a host computer (hereinafter simply referred to as a host), a printer driver (PDL: page description language, HBP: provided in each host). A plurality of emulation programs (hereinafter simply referred to as emulation) suitable for each host-based printer or the like are provided.
Thus, even when a plurality of hosts of different manufacturers and models are used, printing according to the image data can be performed in the same manner from any model when image data is received from each host.
For example, the technology disclosed in Patent Document 1 below has been considered for a printer having this type of emulation.
This printer receives image data from a plurality of hosts as its host device, detects and analyzes a control code including an image format and a print format included in the input image data, and the image data is Emulation determination means for determining which one of a plurality of emulations is suitable, and emulation history information storage means for sequentially storing and updating the results determined and used in the past by this emulation determination means is there.

特開平6−64249号公報JP-A-6-64249

ところで、従来の前記プリンタは、各ホストからの画像データを受信した際に、プリンタ内に保有しているエミュレーションの履歴情報記憶手段の中から各ホストの画像データをプリントするのに合うエミュレーションを順次見付け出して、これを適応してプリントしていた。
しかし、従来のプリンタでは、エミュレーション履歴情報記憶手段の中で最適なエミュレーションを特定できないときには、たとえ各ホストのプリンタドライバと適合するエミュレーションが別に存在する場合でも、エミュレーション履歴情報記憶手段の中から最適なものに近いエミュレーションを見つけ出して適用させていた。その結果、ホスト利用者が想定した印刷内容と異なる解釈の印刷が行われ、所望の画像形成ができない問題があった。
(発明の目的)
そこで本発明は、上記の如き問題に鑑みなされたもので、各利用者のホストに適合したエミュレーションを選択できる手段を設けることにより、各ホストに最適なエミュレーション処理が可能な画像形成装置を提供することを目的とする。
By the way, when the conventional printer receives image data from each host, it sequentially performs emulation suitable for printing the image data of each host from the emulation history information storage means stored in the printer. I found it and adapted it to print.
However, in the conventional printer, when the optimum emulation cannot be specified in the emulation history information storage means, even if there is another emulation compatible with the printer driver of each host, the optimum history is stored in the emulation history information storage means. I found an emulation close to that and applied it. As a result, there is a problem that printing with an interpretation different from the printing content assumed by the host user is performed, and a desired image cannot be formed.
(Object of invention)
Accordingly, the present invention has been made in view of the above problems, and provides an image forming apparatus capable of performing optimum emulation processing for each host by providing means capable of selecting an emulation suitable for each user's host. For the purpose.

本発明は上記目的を達成するため、複数の送信元から画像データを受信して画像を形成するための異なる複数のエミュレーションを備えた画像形成装置において、前記装置本体には前記複数のエミュレーションの中から前記画像データを解釈可能な少なくとも一つ以上のエミュレーション候補を抽出する言語判定部と、前記エミュレーション候補を表示して送信元にエミュレーションを選択可能とする選択部と、前記送信元を識別する情報を取得する送信元(ホスト)識別情報取得部とを含むことを特徴としている。   In order to achieve the above object, the present invention provides an image forming apparatus including a plurality of different emulations for receiving image data from a plurality of transmission sources to form an image, and the apparatus main body includes a plurality of emulations. A language determination unit that extracts at least one emulation candidate capable of interpreting the image data from the image, a selection unit that displays the emulation candidate and enables selection of emulation as a transmission source, and information for identifying the transmission source And a transmission source (host) identification information acquisition unit.

上記のように構成することにより、本発明は各ホストからの画像データに適合するエミュレーションが画像形成装置内の用意された場所に見当らず、特定できない場合が生じても各利用者からの画像データとエミュレーションが適応できるように、エミュレーション候補を抽出する言語判定手段とエミュレーションの選択手段を設けることにより各利用者のホストに対して最適なエミュレーション処理が可能となる。そのため、利用者の指定通りの画像形成ができる利点を有する。   By configuring as described above, the present invention is not able to find an emulation suitable for image data from each host at a prepared location in the image forming apparatus, and even if it cannot be specified, image data from each user is generated. By providing language determination means for extracting emulation candidates and emulation selection means, it is possible to perform optimum emulation processing for each user's host. Therefore, there is an advantage that an image can be formed as specified by the user.

本発明の実施例1の画像形成装置のブロック図である。1 is a block diagram of an image forming apparatus according to Embodiment 1 of the present invention. 同実施例1のエミュレーションの動作プロセス構成図である。FIG. 3 is a configuration diagram of an operation process of emulation according to the first embodiment. 同実施例1の操作パネルを示す。The operation panel of Example 1 is shown. 同実施例1の操作パネルの表示例を示す。The example of a display of the operation panel of the Example 1 is shown. 同実施例1の言語選択テーブルの一例を示す。An example of the language selection table of Example 1 is shown. 同実施例1の印刷処理のフローチャートである。3 is a flowchart of print processing according to the first embodiment. 同実施例1のエミュレーションのフローチャートである。3 is a flowchart of emulation of the first embodiment. 同実施例1の操作パネルの表示例を示す。The example of a display of the operation panel of the Example 1 is shown. 本発明の実施例2の画像形成装置のブロック図である。It is a block diagram of the image forming apparatus of Example 2 of the present invention. 同実施例2のエミュレーションの動作プロセス構成図である。It is the operation process block diagram of the emulation of the same Example 2. 同実施例2の言語選択テーブルの一例を示す。An example of the language selection table of Example 2 is shown. 同実施例2の操作パネルを示す。The operation panel of the same Example 2 is shown. 同実施例2の印刷処理のフローチャートである。10 is a flowchart of print processing according to the second embodiment. 同実施例2の操作パネルの表示例を示す。The example of a display of the operation panel of the Example 2 is shown. 同実施例2の操作パネルの表示例を示す。The example of a display of the operation panel of the Example 2 is shown. 同実施例2のエミュレーションのフローチャートである。It is a flowchart of emulation of the second embodiment.

以下、本発明の画像形成装置をプリンタに適用した実施例を説明する。   Hereinafter, an embodiment in which the image forming apparatus of the present invention is applied to a printer will be described.

図1は、実施例1におけるプリンタ1の基本構成を示すブロック図である。
このプリンタ1は、装置全体を制御するCPU2と、ROM、EPROM等の不揮発性メモリ(以下ROMという)3と、揮発性メモリ(RAM)4と、印刷エンジン(プリンタ駆動部)5と、操作パネル6及び複数のホスト7に接続される各受信インタフェース(以下、受信I/Fという)8とから構成されている。
FIG. 1 is a block diagram illustrating a basic configuration of the printer 1 according to the first embodiment.
The printer 1 includes a CPU 2 that controls the entire apparatus, a non-volatile memory (hereinafter referred to as ROM) 3 such as ROM and EPROM, a volatile memory (RAM) 4, a print engine (printer drive unit) 5, and an operation panel. 6 and each reception interface (hereinafter referred to as reception I / F) 8 connected to a plurality of hosts 7.

CPU2は、制御部9、ALU、カウンタ等から構成され、ROM3内に格納されているプログラムに従って、送信元である各ホスト(ここではA,B,C,3台とする)7からの画像データをRAM4内の受信バッファ10に一時的に格納し、その画像データにしたがって、ページバッファ11を介して画像形成するプリント出力制御及び送信元識別情報処理、更には操作パネル6の入出力制御等を行う。   The CPU 2 includes a control unit 9, an ALU, a counter, and the like, and image data from each host (A, B, C, 3 in this case) 7 as a transmission source according to a program stored in the ROM 3. Are temporarily stored in the reception buffer 10 in the RAM 4, and print output control and transmission source identification information processing for forming an image via the page buffer 11 according to the image data, and input / output control of the operation panel 6 are performed. Do.

ROM3には、受信I/F8が各ホスト7から受信した画像データを、CPU2によってビットマップイメージに変換して、印刷エンジン5にその画像データを伝達するまで行う全てのプロセスのプログラムが格納されている。
ここでのビットマップイメージとは、画像データ信号を画像化する際、画像の濃淡や色彩に応じドット状に羅列して表現するためのデータである。
このROM3には、図2のブロック図に示すように、複数の全エミュレーションが格納されている。
The ROM 3 stores a program for all processes performed until the image data received by the reception I / F 8 from each host 7 is converted into a bitmap image by the CPU 2 and the image data is transmitted to the print engine 5. Yes.
Here, the bitmap image is data for arranging and expressing the image data signal in a dot shape according to the density and color of the image.
The ROM 3 stores a plurality of all emulations as shown in the block diagram of FIG.

制御部9は、図2に示すように、エミュレーション動作の全体を制御する機能を有している。この制御部9は、CPU2の機能の一つであり、受信部12と、言語判定部13と、表示選択部14及びホスト識別情報取得部15と接続され、ROM3内に格納されるエミュレーションに基づいてエミュレータとして機能する。   As shown in FIG. 2, the control unit 9 has a function of controlling the entire emulation operation. The control unit 9 is one of the functions of the CPU 2 and is connected to the reception unit 12, the language determination unit 13, the display selection unit 14, and the host identification information acquisition unit 15, and is based on emulation stored in the ROM 3. Function as an emulator.

受信部12は、各ホスト7と接続される受信I/F8等からなる。この受信部12の機能は、ホスト7毎に受信した画像データを受信I/F8毎に管理する受信バッファ10に画像データを格納する他、受信バッファ10内の画像データを破棄することなく読み出すデータリード処理、受信バッファ10内の画像データを読み出すと共に破棄するデータ取得処理、前記処理で読み出している画像データがどのI/Fポートから受信したものであるかの情報を取得する受信I/F情報取得処理などを有する。   The receiving unit 12 includes a receiving I / F 8 connected to each host 7. The function of the receiving unit 12 is to store the image data in the reception buffer 10 that manages the image data received for each host 7 for each reception I / F 8 and to read out the image data in the reception buffer 10 without discarding it. Read processing, data acquisition processing for reading and discarding image data in the reception buffer 10, and reception I / F information for acquiring information on which I / F port the image data read in the processing is received from It has an acquisition process.

ホスト識別情報取得部15は、現在読み出している画像データがどのホストの受信I/F8から受信したものであるかを受信部12から検知し、言語判定部13が受信I/F8から各利用者のホストとどのエミュレーションが対応するかを判断できるように設定されている。   The host identification information acquisition unit 15 detects from which reception I / F 8 of which host the image data currently being read is received, and the language determination unit 13 receives each user from the reception I / F 8. It is set to be able to determine which emulation corresponds to the host.

言語判定部13は、受信部12の受信I/F8が各ホストから受信した画像データに含まれる制御コードに基づいて、複数のエミュレーションの中から画像データを解釈可能な一つのエミュレーションを特定する特定部16と、この特定部16が解釈可能な一つのエミュレーションに特定できなかったとき、制御コードの一部が解釈できるエミュレーション候補を複数抽出する抽出部17を持つ。特定部16によるエミュレーションの特定は、画像データの先頭から所定サイズに含まれる画像様式、印字様式等からなる制御コードを解析して行う。   The language determination unit 13 specifies a single emulation that can interpret the image data from a plurality of emulations based on the control code included in the image data received by the reception I / F 8 of the reception unit 12 from each host. And an extraction unit 17 that extracts a plurality of emulation candidates that can partly interpret a part of the control code when the specification unit 16 cannot identify one emulation that can be interpreted. The specification of the emulation by the specifying unit 16 is performed by analyzing a control code including an image format and a print format included in a predetermined size from the top of the image data.

表示選択部14は、抽出部17がRAM4内の言語選択テーブル18から抽出した複数のエミュレーション候補を操作パネル6の表示パネル20に表示したり、或いは、受信部12からの画像データを解釈するエミュレーションが言語選択テーブル18に見当たらない時には、ROM3内からのエミュレーションを表示パネル20に表示して利用者に選択させる。   The display selection unit 14 displays a plurality of emulation candidates extracted from the language selection table 18 in the RAM 4 by the extraction unit 17 on the display panel 20 of the operation panel 6 or emulates interpretation of image data from the reception unit 12. Is not found in the language selection table 18, the emulation from the ROM 3 is displayed on the display panel 20 to allow the user to select it.

各エミュレーションは、プログラム作成時に予めホストの機種毎のプリンタドライバに対応するように作成されており、図示しない対応表に、ホストの製造元や機種名に適応したエミュレーション名を列記してROM3内に登録しておき、利用者は表示選択部14から各自が使用しているホストに対応するエミュレーションを把握することができる。
EmulationA、EmulationB及びEmulationC等は、当初ROM3に格納されているエミュレーションである。このROM3内にはこれ以外のエミュレーションも格納され、各エミュレーションは、制御部9によって、各ホスト7からの画像データがどのプリンタドライバ(PDL、HBL)に基づいて生成されたものかを解析して、中間コードを生成する。
ここでの中間コードとは、エミュレーションによって画像データを解析した結果として生成するビットマップイメージになる前段階のイメージデータで制御コードの一種であり、
先行データのエミュレーション対応中において、他のホストから画像データを受信したとき、後続データのエミュレーションを一部並行して対応し中間コードバッファ19内に格納される。
Each emulation is created in advance so that it corresponds to the printer driver for each host model at the time of program creation. In the correspondence table (not shown), the emulation name corresponding to the host manufacturer and model name is listed in the ROM 3 and registered. In addition, the user can grasp the emulation corresponding to the host used by the user from the display selection unit 14.
Emulation A, Emulation B, and Emulation C are emulations initially stored in the ROM 3. Other emulations are also stored in the ROM 3, and each emulation is analyzed by the control unit 9 based on which printer driver (PDL, HBL) the image data from each host 7 is generated. Generate intermediate code.
The intermediate code here is a kind of control code in the image data of the previous stage that becomes a bitmap image generated as a result of analyzing the image data by emulation,
When image data is received from another host while the preceding data is being emulated, the emulation of the subsequent data is partially supported in parallel and stored in the intermediate code buffer 19.

RAM4は、図1に示すように、受信バッファ10、言語選択テーブル18、中間コードバッファ19及びページバッファ11などの記憶領域を有している。受信バッファ10は各ホスト7から受信した画像データや印刷データを一時的に格納する。   As shown in FIG. 1, the RAM 4 includes storage areas such as a reception buffer 10, a language selection table 18, an intermediate code buffer 19, and a page buffer 11. The reception buffer 10 temporarily stores image data and print data received from each host 7.

言語選択テーブル18は、RAM4内の記憶媒体中の区分けされた領域の一つで、ROM3内の複数のエミュレーションの中から受信I/F8ごとに利用者がプリンタ1を使用することによって、利用されたエミュレーションを履歴情報として順次格納し、常時利用し易いように保持する。
常時使用されないエミュレーションについては、ROM3内に格納されており、履歴情報として言語選択テーブル18に順次格納された元のエミュレーションについてもROM3内にそのまま残る。図5は言語選択テーブル18のイメージ構成例を示している。
この言語選択テーブル18は、図5に示すように、表記内容名として「受信I/F」と「エミュレーション候補」と「ユーザ選択エミュレーション」を要素に持つ登録形式のテーブルであり、プリンタ1を起動した直後は空の状態であるが、ホストとの接続や使用に応じた表示内容にできる。この図5の例では、「受信I/F」欄にParallelとUSBが登録されている状態を示しており、ホストAとホストCから出力された画像データのエミュレーションの特定が行われ、ROM3内の複数のエミュレーションの中から画像データを解釈するエミュレーションが夫々利用者によって選択されていることを示している。
The language selection table 18 is one of the divided areas in the storage medium in the RAM 4, and is used when the user uses the printer 1 for each reception I / F 8 from a plurality of emulations in the ROM 3. The emulation is sequentially stored as history information, and is kept so that it can be easily used at all times.
The emulation that is not always used is stored in the ROM 3, and the original emulation sequentially stored in the language selection table 18 as history information remains in the ROM 3 as it is. FIG. 5 shows an image configuration example of the language selection table 18.
As shown in FIG. 5, the language selection table 18 is a registration format table having “reception I / F”, “emulation candidate”, and “user selection emulation” as notation content names, and activates the printer 1. Although it is empty immediately after the display, it can be displayed according to the connection and use with the host. The example of FIG. 5 shows a state in which Parallel and USB are registered in the “Reception I / F” column, and the emulation of the image data output from the host A and the host C is specified. It is shown that the emulation for interpreting the image data is selected by the user from the plurality of emulations.

中間コードバッファ19は、何れかのエミュレーションによって画像データ又は印刷データを解析した結果として生成する中間的形式(ビットマップイメージになる前の段階の形式)のイメージデータが一時的に格納される領域である。   The intermediate code buffer 19 is an area for temporarily storing image data of an intermediate format (a format before a bitmap image) generated as a result of analyzing image data or print data by any emulation. is there.

ページバッファ11は、中間コードから変換されたページ単位の最終的なビットマップイメージ(ページイメージという)が一時的に格納される領域である。   The page buffer 11 is an area in which a final bitmap image (referred to as a page image) in page units converted from the intermediate code is temporarily stored.

印刷エンジン5は、図示しない印字ヘッドや用紙搬送機構などから構成され、ページバッハ11からのページイメージを読み込み、CPU2の制御に従って所定の用紙に印刷する。   The print engine 5 includes a print head (not shown), a paper transport mechanism, and the like. The print engine 5 reads a page image from the page buffer 11 and prints it on predetermined paper according to the control of the CPU 2.

操作パネル6は、プリンタ1の本体に設けられており、図3に示すように、各種設定メニューや装置の状態を表示するための表示パネル20と、各種設定メニューに移行するための移動キー21と、移動中の項目を選択するための選択キー22と、メニュー移動や実行中の動作を中止するための中止キー23と、ホストを特定するためのホスト選択キー24が備えられている。利用者は表示パネル20の表示に従って、移動キー21等を操作することにより、最適なエミュレーションを選択することができる。
なお、エミュレーションの選択にあっては、プリンタ1の操作パネル6以外に各ホストのディスプレーにエミュレーション候補を表示して、利用者が手許でエミュレーション候補を見ながらホストの図示しないキーボードを操作してエミュレーションを選択できるようにしてもよく、各利用者がプリンタ1まで出向かなくてもエミュレーションの特定ができる。
The operation panel 6 is provided in the main body of the printer 1, and as shown in FIG. 3, a display panel 20 for displaying various setting menus and the state of the apparatus, and a movement key 21 for shifting to the various setting menus. A selection key 22 for selecting an item being moved, a stop key 23 for stopping menu movement or an operation being executed, and a host selection key 24 for specifying a host. The user can select the optimum emulation by operating the movement key 21 or the like according to the display on the display panel 20.
When selecting an emulation, the emulation candidates are displayed on the display of each host other than the operation panel 6 of the printer 1, and the user operates the keyboard (not shown) of the host while viewing the emulation candidates at hand. Can be selected, and emulation can be specified without each user going to the printer 1.

次に、実施例1のプリンタ1の動作を説明する。
図6は実施例1でプリンタ1の印刷処理動作を示すフローチャートであり、図7は、エミュレーションのフローチャートである。
図2に示すプリンタ1の受信部12が、例えば図1に示すホストA,B又はCの何れかのホスト7から画像データを受信すると、CPU2は、言語判定部13に対して以下の処理を実行する。
Next, the operation of the printer 1 according to the first embodiment will be described.
FIG. 6 is a flowchart showing the printing processing operation of the printer 1 in the first embodiment, and FIG. 7 is an emulation flowchart.
When the receiving unit 12 of the printer 1 illustrated in FIG. 2 receives image data from any of the hosts A, B, or C illustrated in FIG. 1, for example, the CPU 2 performs the following processing on the language determination unit 13. Execute.

(S601)
先ず、言語判定部13は、受信した画像データに含まれる制御コードを基にエミュレーションを絞り込む処理を行う。この処理については、図7に示すフローチャートに従ってなされるため、ここで先にその説明をする。
(S601)
First, the language determination unit 13 performs a process of narrowing down the emulation based on the control code included in the received image data. Since this process is performed according to the flowchart shown in FIG. 7, it will be described first.

(S701)
CPU2は、プリンタ1内のRAM4に既に格納されているエミュレーション(EmulationA、EmulationB及びEmulationC等)をエミュレーション候補とし、データリードカウンタ(画像データ中の制御コード数)を0に初期化する。
(S701)
The CPU 2 initializes the data read counter (the number of control codes in the image data) to 0 using the emulation (Emulation A, Emulation B, Emulation C, etc.) already stored in the RAM 4 in the printer 1 as an emulation candidate.

(S702)
次に、CPU2は、受信部12のデータリード処理(コード化)された受信バッファ10からの画像データを読み出し、かつ、言語判定部13を介しその画像データ中に含まれるデータリードカウンタのカウントアップを行う。
(S702)
Next, the CPU 2 reads the image data from the reception buffer 10 that has been subjected to the data read process (encoded) by the reception unit 12 and counts up the data read counter included in the image data via the language determination unit 13. I do.

(S703)
言語判定部13は、画像データの中から制御コードの検出を順次行い、制御コードが検出されなかったり、或いは制御コード以外が検出された場合にはS711へ進む。一方、制御コードが検出された場合には、次の処理がなされる。
(S703)
The language determination unit 13 sequentially detects the control code from the image data, and if the control code is not detected or other than the control code is detected, the process proceeds to S711. On the other hand, when a control code is detected, the following processing is performed.

(S704)
言語判定部13の特定部16は、検出された制御コードがEmulationAで対応しているかの判断を行う。
(S704)
The specifying unit 16 of the language determining unit 13 determines whether or not the detected control code corresponds to Emulation A.

(S705)
対応していない場合には、言語判定部13の特定部16はエミュレーション候補からEmulationAを削除する。
(S705)
If not, the specifying unit 16 of the language determining unit 13 deletes Emulation A from the emulation candidates.

(S706)
続いて言語判定部13の特定部16は、検出された制御コードがEmulationBで対応しているかの判断を行う。
(S706)
Subsequently, the specifying unit 16 of the language determining unit 13 determines whether or not the detected control code corresponds to the Emulation B.

(S707)
対応していない場合には、言語判定部13の特定部16はエミュレーション候補からEmulationBを削除する。
(S707)
If not, the specifying unit 16 of the language determining unit 13 deletes the emulation B from the emulation candidates.

(S708)
更に言語判定部13の特定部16は、検出された制御コードがEmulationCで対応しているかの判断を行う。
(S708)
Further, the specifying unit 16 of the language determining unit 13 determines whether or not the detected control code corresponds to EmulationC.

(S709)
対応していない場合には、言語判定部13の特定部16はエミュレーション候補からEmulationCを削除する。
(S709)
If not, the specifying unit 16 of the language determining unit 13 deletes EmulationC from the emulation candidates.

(S710)
次に、言語判定部13の特定部16は、S703にて検出した制御コードを、RAM4内の全てのエミュレーションで対応させた後で、エミュレーション候補が一つに絞られたかの判断を行う。
(S710)
Next, the identification unit 16 of the language determination unit 13 determines whether the emulation candidates are narrowed down to one after the control code detected in S703 is associated with all the emulations in the RAM 4.

(S711)
S710にて特定部16は、エミュレーション候補が一つ以外であると判断した場合には、言語判定部13の抽出部17は、S702にてデータリーダカウンタが読み出したデータ数の合計が所定バイト数(制御コードのバイト数)を超えたかの判断を行う。
データの読み出しが所定のバイト数以下である場合(制御コードが一つも見つからない)にはCPU2はS702に戻る判定をし、言語判定部13の特定部16は、続くデータに対して同様の処理を行う。
一方、S710にて特定部16は、エミュレーション候補が一つであると判断した場合又はS711にてデータの読み出しが所定バイト数を超えていると判断した場合には、エミュレーションが見付かったとして図7のエミュレーションの絞込みを終了し、図6のS602に戻り処理を行う。
(S711)
If the specifying unit 16 determines in S710 that there is only one emulation candidate, the extracting unit 17 of the language determining unit 13 determines that the total number of data read by the data reader counter in S702 is the predetermined number of bytes. Judge whether the number of control code bytes has been exceeded.
When the data reading is less than or equal to the predetermined number of bytes (no control code is found), the CPU 2 determines to return to S702, and the specifying unit 16 of the language determining unit 13 performs the same process for the subsequent data. I do.
On the other hand, if the specifying unit 16 determines that there is one emulation candidate in S710 or if it is determined in S711 that the data read exceeds the predetermined number of bytes, it is assumed that the emulation has been found. The emulation narrowing is finished, and the process returns to S602 in FIG.

(S602)
CPU2は、言語判定部13によって絞り込まれたエミュレーション候補が一つであるかの判断を行う。ここでエミュレーション候補が一つである場合には、その特定されたエミュレーションに移行する(S615)。この時利用者は、プリンタ操作の必要は無い。
(S602)
The CPU 2 determines whether there is one emulation candidate narrowed down by the language determination unit 13. Here, if there is one emulation candidate, the process proceeds to the specified emulation (S615). At this time, the user does not need to operate the printer.

(S603)
一方、エミュレーション候補が一つ以外の場合には、言語判定部13の抽出部17は、続いて現在読み出しているデータがどの受信I/F8から受信したものであるかを検知し、受信部12からの受信I/F情報取得処理(コード化)によって取得を行う。
(S603)
On the other hand, when the number of emulation candidates is other than one, the extraction unit 17 of the language determination unit 13 subsequently detects from which reception I / F 8 the currently read data is received, and receives the reception unit 12. Acquisition is performed by the reception I / F information acquisition process (encoding).

(S604)
CPU2は、その受信I/F8が言語判定テーブル18に登録されているかの判定を行う。
言語判定テーブル18に登録されていない場合、例えば、図5に示すように、ホストAが言語判定テーブル18中に未登録とした場合、CPU2は以下の処理を行う。
先ず、S602で言語判定テーブル18に登録されているエミュレーションの中から絞り込まれたエミュレーション候補を操作パネル6の表示パネル20に表示する(S610)が、この時、エミュレーション候補が一つもないため、ROM3に有する全てのエミュレーション(EmulationA、EmulationB、EmulationC他)を候補とする(EmulationAは、今、言語判定テーブル18に未登録としている)。
また、表示パネル20の表示は、図4の401に示すように、先ず受信中の利用者が誰か特定できるようにホスト名入力の指定表示がなされる。
次に、指定通り利用者が自分のホスト名をホスト選択キー24から入力すると、表示パネル20の表示は、「画像データを処理するエミュレーションを以下の候補の中から選択してください」というメッセージを付し、利用者に画像データを解釈させるエミュレーション言語を選択させる(402)。
これに従って、利用者は操作パネル6中の移動キー21でEmulationAを選択し、選択キー22を押下する。
これに伴い、ホスト識別情報取得部15からエミュレーションが選択され、図4中の404に示すように、表示パネル20にはEmulationAを言語判定テーブル18に登録する処理が表示される。
その結果、図5に示すように、言語選択テーブル18には、受信I/F8にホストAとエミュレーション候補とユーザ選択されたエミュレーションとしてEmulationAが登録される(S612)。
その後、ユーザ選択されたエミュレーションのEmulationAは、RAM4中のエミュレーションに移行する(S613)。
(S604)
The CPU 2 determines whether or not the reception I / F 8 is registered in the language determination table 18.
When not registered in the language determination table 18, for example, as shown in FIG. 5, when the host A is not registered in the language determination table 18, the CPU 2 performs the following processing.
First, emulation candidates narrowed down from the emulations registered in the language determination table 18 in S602 are displayed on the display panel 20 of the operation panel 6 (S610). At this time, since there is no emulation candidate, the ROM 3 (Emulation A, Emulation B, Emulation C, etc.) are candidates (Emulation A is currently unregistered in the language determination table 18).
In addition, as indicated by 401 in FIG. 4, the display on the display panel 20 is first displayed for specifying the host name input so that the receiving user can be identified.
Next, when the user inputs his / her host name from the host selection key 24 as specified, the display on the display panel 20 displays a message “Please select an emulation for processing image data from the following candidates”. Then, the user selects an emulation language for interpreting the image data (402).
In accordance with this, the user selects Emulation A with the movement key 21 in the operation panel 6 and presses the selection key 22.
Along with this, emulation is selected from the host identification information acquisition unit 15 and processing for registering Emulation A in the language determination table 18 is displayed on the display panel 20 as indicated by 404 in FIG.
As a result, as shown in FIG. 5, emulation A is registered in the language selection table 18 as the host A, emulation candidate, and user-selected emulation in the reception I / F 8 (S612).
After that, the emulation A selected by the user shifts to the emulation in the RAM 4 (S613).

(S605)
一方、S604にて言語判定テーブル18にEmulationA、EmulationB及びEmulationCが登録されていて、例えば、ホストCの機種変更等があった場合には、以下の処理を行う。
CPU2は、S602で絞り込まれたエミュレーション候補と言語判定テーブル18に登録されている受信I/F8のエミュレーション候補の差異があるかの判断を行う。差異がないと判断した場合には、S609へ進み、一方、S605にてCPU2が差異があると判断した場合にはS606へ進む処理を行う。
(S605)
On the other hand, when the A, B, and C are registered in the language determination table 18 at S604, and the model of the host C is changed, for example, the following processing is performed.
The CPU 2 determines whether there is a difference between the emulation candidates narrowed down in S602 and the emulation candidates of the reception I / F 8 registered in the language determination table 18. If it is determined that there is no difference, the process proceeds to S609. On the other hand, if the CPU 2 determines that there is a difference in S605, the process proceeds to S606.

(S606)
例えば、ホストCからホストC’への機種変更に伴い、プリントドライバが変ると、言語判定テーブル18には、EmulationC’が登録されていないため、この時、表示パネル20には、ROM3に有する全てのエミュレーションが候補として示される。この時、図3の表示パネル20中には図8に示す402の表示のように「画像データを処理するエミュレーションを以下の候補の中から選択してください」というメッセージが表記されて、画像データを解釈させるエミュレーションを利用者に選択させる。
(S606)
For example, when the print driver is changed due to the model change from the host C to the host C ′, the emulation determination C ′ is not registered in the language determination table 18. Are shown as candidates. At this time, a message “Please select an emulation for processing image data from the following candidates” is displayed on the display panel 20 of FIG. Allows the user to select an emulation that interprets

(S607)
利用者は、表示パネル20に該当するエミュレーションを、移動キー21、選択キー22を操作してエミュレーションEmulationC’を選択し表示パネル20に該当するエミュレーションを表示する(404)。
(S607)
The user operates the movement key 21 and the selection key 22 to select the emulation EmulationC ′ by displaying the emulation corresponding to the display panel 20, and displays the corresponding emulation on the display panel 20 (404).

(S608)
これに伴い、言語選択テーブル18は、受信I/F8とホストC’、エミュレーション候補と、ユーザ選択されたエミュレーションとしてEmulationC’が登録される。同時に、EmulationC’は、パネル表示してS607でユーザ選択されたEmulationCからEmulationC’に更新される。
(S608)
Accordingly, in the language selection table 18, the reception I / F 8, the host C ′, the emulation candidate, and the emulation C ′ are registered as the user-selected emulation. At the same time, Emulation C ′ is updated from Emulation C displayed on the panel and selected by the user in S607 to Emulation C ′.

(S609)
その後、言語判定テーブル18は、登録されているEmulationC’でエミュレーションに移行する。
(S609)
Thereafter, the language determination table 18 shifts to emulation with the registered emulation C ′.

(S614)
以上の動作によって、プリンタ1は各ホストから画像データが送信された場合、エミュレーションの変更(S609)、エミュレーションが登録されていない(S613)及びエミュレーションが既に登録されている(S615)何れかの状況においても特定のエミュレーションへ移行する。
そして、これ等のエミュレーションは、受信部12が受信してデータ取得処理(図示せず)された画像データに応じ言語判定部13が読み出して解析を行い、印刷が実行され、エミュレーションの処理が終了すると、次の画像データを処理するためにS601に戻る。
(S614)
Through the above operation, when image data is transmitted from each host, the printer 1 is in any of the following situations: emulation change (S609), emulation not registered (S613), and emulation already registered (S615) Also move to a specific emulation.
These emulations are read and analyzed by the language determination unit 13 in accordance with image data received by the receiving unit 12 and subjected to data acquisition processing (not shown), printing is executed, and the emulation processing is completed. Then, the process returns to S601 to process the next image data.

図9は実施例2に係るプリンタ100の基本構成を示すブロック図である。
このプリンタ100は、装置全体を制御するCPU101と、ROM、EPROM等の不揮発性メモリ(以下ROMという)102と、揮発性メモリ(RAM)103と、印刷エンジン(プリンタ駆動部)104と、操作パネル300及び複数のホスト111に接続される各受信インタフェース(I/F)112、113とから構成されている。
FIG. 9 is a block diagram illustrating a basic configuration of the printer 100 according to the second embodiment.
The printer 100 includes a CPU 101 that controls the entire apparatus, a nonvolatile memory (hereinafter referred to as a ROM) 102 such as a ROM and an EPROM, a volatile memory (RAM) 103, a print engine (printer drive unit) 104, and an operation panel. Each receiving interface (I / F) 112 and 113 is connected to 300 and a plurality of hosts 111.

CPU101は、制御部201、ALU、カウンタ等から構成され、ROM102内に格納されているプログラムに従って、ホスト(ここではA,D,E,Fの4台とする)111からの画像データをRAM103内の受信バッファ106に一時的に格納し、その画像データにしたがって、ページバッファ109を介して画像形成するプリント出力制御及び送信元識別情報処理、更には操作パネル300の入出力制御等を行う。
ホストAはParallelI/F112によって、又、ホストD、ホストE及びホストFはLANを介してネットワークI/F113によってプリンタ100と接続されている。
The CPU 101 includes a control unit 201, an ALU, a counter, and the like, and image data from a host (here, four units A, D, E, and F) 111 is stored in the RAM 103 in accordance with a program stored in the ROM 102. In accordance with the image data, print output control for forming an image via the page buffer 109, transmission source identification information processing, input / output control of the operation panel 300, and the like are performed.
The host A is connected to the printer 100 by a parallel I / F 112, and the hosts D, E, and F are connected to the printer 100 by a network I / F 113 via a LAN.

ROM102には、CPU101がホストから画像データを受信してビットマップイメージに変換し、印刷エンジン104に伝達するまでに行う全てのプロセスのプログラムが格納されている。
ここでのビットマップイメージとは、画像データ信号を画像化する際に、画像の濃淡や色彩に応じドットを羅列として表現するデータである。
ROM102には、ParallelI/F112、ネットワーク113が各ホストから受信した画像データをCPU101によってビットマップイメージに変換し、印刷エンジンに伝達するまで行う全てのプロセスのプログラムが格納されている。
このROM102には、図10のブロック図に示すエミュレーション動作プログラム208が格納されている。
The ROM 102 stores programs for all processes that are performed until the CPU 101 receives image data from the host, converts it into a bitmap image, and transmits it to the print engine 104.
Here, the bitmap image is data that represents dots as a series according to the density and color of an image when an image data signal is imaged.
The ROM 102 stores a program for all processes performed by the Parallel I / F 112 and the network 113 until the CPU 101 converts image data received from each host into a bitmap image and transmits the bitmap image to the print engine.
The ROM 102 stores an emulation operation program 208 shown in the block diagram of FIG.

制御部201は、図10に示すように、エミュレーション動作の全体を制御する機能を有している。この制御部201には、受信部202、言語判定部203、表示選択部206、ホスト識別情報取得部207及びプリンタ100が保有するエミュレーション208の全体を統括している。   As shown in FIG. 10, the control unit 201 has a function of controlling the entire emulation operation. The control unit 201 controls all of the reception unit 202, the language determination unit 203, the display selection unit 206, the host identification information acquisition unit 207, and the emulation 208 held by the printer 100.

受信部202は、各ホスト111と接続されるParallelI/F112等からなる。この受信部202の機能は、ホスト毎に受信した画像データをParallelI/F112、ネットワークI/F113毎に管理する受信バッファ106に画像データを格納する他、受信バッファ106内のデータを破棄することなく読み出すデータリード処理、受信バッファ106内のデータを読み出すと共に破棄するデータ取得処理、前記処理で読み出している画像データがどのI/Fポートから受信したものであるかの情報を取得する受信I/F情報取得処理、ネットワークI/F受信でのコネクション確立時に認識した接続ホストのIPアドレスを取得するホストIPアドレス情報取得処理などを有する。   The receiving unit 202 includes a Parallel I / F 112 connected to each host 111 and the like. The function of the receiving unit 202 is to store the image data in the reception buffer 106 that manages the image data received for each host in the Parallel I / F 112 and the network I / F 113 without discarding the data in the reception buffer 106. Data read process for reading, data acquisition process for reading and discarding data in the reception buffer 106, and reception I / F for acquiring information on which I / F port the image data read in the process is received An information acquisition process, a host IP address information acquisition process for acquiring an IP address of a connected host recognized when establishing a connection in network I / F reception, and the like.

ホスト識別情報取得部207は、現在読み出している画像データがどのParallelI/F112等から受信したものであるかを受信部202から検知し、言語判定部203がParallelI/F112等から各利用者のホストがどのエミュレーションと関連するかを判断できるように設定されている。   The host identification information acquisition unit 207 detects from which receiving I / F 112 the image data currently being read is received from the receiving unit 202, and the language determination unit 203 receives each user's host from the I / F 112, etc. Is set to determine which emulation is associated with.

言語判定部203は、各ホスト111から受信した画像データに含まれる制御コードに基づいて、複数のエミュレーションの中から画像データを解釈可能な一つのエミュレーションを特定する特定部204と、この特定部204が解釈可能な一つのエミュレーションに特定できなかったとき、制御コードの一部が解釈できるエミュレーション候補を複数抽出する抽出部205を持つ。特定部204によるエミュレーションの特定は、画像データの先頭から所定サイズに含まれる制御コードを解析して行う。   The language determination unit 203 specifies a single emulation that can interpret image data from a plurality of emulations based on a control code included in the image data received from each host 111, and the specification unit 204. When a single emulation that can be interpreted cannot be specified, an extraction unit 205 that extracts a plurality of emulation candidates that can interpret a part of the control code is provided. The specification of the emulation by the specifying unit 204 is performed by analyzing a control code included in a predetermined size from the top of the image data.

表示選択部206は、抽出部205がRAM103内の言語判定テーブル500から抽出した複数のエミュレーション候補を操作パネル300の表示パネル301に表示したり、或いは、受信部202からの画像データを解釈するエミュレーションが言語判定テーブル500に見当たらない時、ROM102からのエミュレーションを利用者に選択させる。   The display selection unit 206 displays a plurality of emulation candidates extracted from the language determination table 500 in the RAM 103 by the extraction unit 205 on the display panel 301 of the operation panel 300 or emulates interpretation of image data from the reception unit 202. Is not found in the language determination table 500, the user is made to select the emulation from the ROM 102.

各エミュレーションは、プログラム作成時に予めホスト111およびその端末の機種毎のプリンタドライバに対応するように作成されており、図示しない対応表に、ホストの製造元や機種名に対応したエミュレーション名を列記してROM102内に登録しておき、利用者は表示選択部206から各自が使用しているホスト111または端末に対応するエミュレーションを把握することができる。
EmulationA、EmulationB及びEmulationCは、ROM102に格納されているエミュレーションである。なお、ROM102内にはこれ以外のエミュレーションも格納され、各エミュレーションは、制御部201によって、各ホスト111からの画像データがどのプリンタドライバ(PDL、HBL)に基づいて生成されたものかを解析して、中間コードが生成される。
ここでの中間コードとは、実施例1同様、画像データを解析した結果として生成するビットマップイメージになる前段階のイメージデータである。
Each emulation is created in advance so as to correspond to the printer driver for each model of the host 111 and its terminal when the program is created, and the emulation name corresponding to the manufacturer and model name of the host is listed in a correspondence table (not shown). By registering in the ROM 102, the user can grasp the emulation corresponding to the host 111 or terminal used by the user from the display selection unit 206.
Emulation A, Emulation B, and Emulation C are emulations stored in the ROM 102. Other emulations are also stored in the ROM 102. Each emulation is analyzed by the control unit 201 based on which printer driver (PDL, HBL) the image data from each host 111 is generated. Intermediate code is generated.
As in the first embodiment, the intermediate code is image data at the previous stage that becomes a bitmap image generated as a result of analyzing the image data.

RAM103は、受信バッファ106、言語選択テーブル500、中間コードバッファ108及びページバッファ109などかの記憶領域を有している。受信バッファ106は各ホスト111からの受信した画像データや印刷データを一時的に格納する。   The RAM 103 has storage areas such as a reception buffer 106, a language selection table 500, an intermediate code buffer 108, and a page buffer 109. The reception buffer 106 temporarily stores image data and print data received from each host 111.

言語選択テーブル500は、RAM103内の記憶媒体中の区分けされた領域の一つで、ROM102内の複数のエミュレーションの中からParallelI/F112,NetworkI/F113ごとに利用者がプリンタ100を使用することによって、利用されたエミュレーションを履歴情報として順次格納し、保持する。
常時使用されないエミュレーションについては、ROM102内に格納されており、履歴情報として言語選択テーブル18に順次格納された元のエミュレーションについてもROM102内にそのまま残る。図11は、言語選択テーブル500のイメージ構成例を示している。
この言語選択テーブル500は、図11に示すように、表記内容名として「受信I/F」と「ホストIPアドレス」と「エミュレーション候補」及び「ユーザ選択エミュレーション」を要素に持つ登録形式のテーブルであり、プリンタ100を起動した直後は空の状態であるが、各ホスト111との接続や使用に応じた表示内容となる。この図11の例では、「受信I/F」欄にParallelとNetworkが登録されており、更に、NetworkについてはホストIPアドレスに“10,20,30,42”と“10,20,30,43”が登録されている状態を示している。ホストAとホストEとホストFから出力された画像データのエミュレーションの特定が行われ、ROM102内の複数のエミュレーション候補の中から画像データを解釈するエミュレーションが利用者によって選択されていることを示している。
The language selection table 500 is one of the divided areas in the storage medium in the RAM 103. When the user uses the printer 100 for each of the Parallel I / F 112 and the Network I / F 113 from a plurality of emulations in the ROM 102, the language selection table 500 is used. The used emulation is sequentially stored and retained as history information.
The emulation that is not always used is stored in the ROM 102, and the original emulation sequentially stored in the language selection table 18 as history information remains in the ROM 102 as it is. FIG. 11 shows an image configuration example of the language selection table 500.
As shown in FIG. 11, the language selection table 500 is a registration format table having “reception I / F”, “host IP address”, “emulation candidate”, and “user selection emulation” as elements. Yes, it is empty immediately after the printer 100 is activated, but the display contents correspond to the connection and use with each host 111. In the example of FIG. 11, “Parallel” and “Network” are registered in the “Reception I / F” column, and “10, 20, 30, 42” and “10, 20, 30,” 43 ″ indicates a registered state. The emulation of the image data output from the host A, the host E, and the host F is specified, and the user selects the emulation for interpreting the image data from among a plurality of emulation candidates in the ROM 102. Yes.

中間コードバッファ108は、何れかのエミュレーションによって画像データ又は印刷データを解析した結果として生成する中間的形式(ビットマップイメージになる前の段階の形式)のイメージデータが一時的に格納される領域である。
ページバッファ109は、中間コードから変換されたページ単位の最終的なビットマップイメージが一時的に格納される領域である。
The intermediate code buffer 108 is an area in which image data in an intermediate format (a format before the bitmap image) generated as a result of analyzing image data or print data by any emulation is temporarily stored. is there.
The page buffer 109 is an area in which a final bitmap image for each page converted from the intermediate code is temporarily stored.

印刷エンジン104は、印字ヘッドや用紙搬送機構などから構成され、ページバッファ109からのページイメージを読み込みCPU101の制御に従って所定の用紙に印刷する。   The print engine 104 includes a print head, a paper transport mechanism, and the like. The print engine 104 reads a page image from the page buffer 109 and prints it on a predetermined paper according to the control of the CPU 101.

操作パネル300は、プリンタ100の本体に設けられ、図12に示すように、各種設定メニューや装置の状態の表示を行うための表示パネル301と、各種設定メニューに移行するための移動キー302と、移動中の項目を選択するための選択キー303と、メニュー移動や実行中の動作を中止するための中止キー304とホスト選択キー305を備えている。   An operation panel 300 is provided in the main body of the printer 100, and as shown in FIG. 12, a display panel 301 for displaying various setting menus and device states, and a move key 302 for shifting to various setting menus. , A selection key 303 for selecting an item being moved, a cancel key 304 for stopping a menu movement or an operation being executed, and a host selection key 305 are provided.

次に、実施例2のプリンタの動作を説明する。
図13は実施例2でプリンタ100のプリントの動作を示すフローチャートであり、図16は、エミュレーションを示すフローチャートである。
プリンタ100の受信部202がホストA、D、E又はFの何れかのホストから画像データを受信するとCPU101は、言語判定部203に対し以下の処理を実行する。
先ず、言語判定部203は、受信した画像データに含まれる制御コードを基にエミュレーションを絞り込む処理を行うが、この処理については、図16に示すフローチャートに従っている。
Next, the operation of the printer of Example 2 will be described.
FIG. 13 is a flowchart illustrating the printing operation of the printer 100 according to the second embodiment, and FIG. 16 is a flowchart illustrating emulation.
When the receiving unit 202 of the printer 100 receives image data from any of the hosts A, D, E, or F, the CPU 101 executes the following processing for the language determination unit 203.
First, the language determination unit 203 performs a process of narrowing down the emulation based on the control code included in the received image data. This process follows the flowchart shown in FIG.

(S701)
CPU101は、プリンタRAM103に既に格納されているエミュレーション(EmulationA、EmulationD、EmulationE及びEmulationF等)をエミュレーション候補とし、データリードカウンタを0に初期化する。
(S701)
The CPU 101 uses emulations already stored in the printer RAM 103 (Emulation A, Emulation D, Emulation E, Emulation F, etc.) as emulation candidates, and initializes the data read counter to zero.

(S702)
次に、CPU2は、受信部202のデータリード処理(図示せず)された受信バッファ106からの画像データを読み出し、かつ、その画像データ中に含まれるデータリードカウンタのカウントアップを行う。
(S702)
Next, the CPU 2 reads the image data from the reception buffer 106 subjected to the data read process (not shown) of the reception unit 202 and counts up the data read counter included in the image data.

(S703)
言語判定部203は、制御コードの検出を行い、制御コードが検出されなかったり、制御コード以外が検出された場合にはS711へ進む。一方、制御コードが検出された場合には、次の処理がなされる。
(S703)
The language determination unit 203 detects a control code. If no control code is detected or a code other than the control code is detected, the process proceeds to S711. On the other hand, when a control code is detected, the following processing is performed.

(S704)
言語判定部203の特定部204は、検出された制御コードがEmulationAで対応しているかの判断を行う。
(S704)
The specifying unit 204 of the language determining unit 203 determines whether the detected control code is supported by Emulation A.

(S705)
対応していない場合には、言語判定部203の特定部204はエミュレーション候補からEmulationAを削除する。
(S705)
If not, the specifying unit 204 of the language determining unit 203 deletes Emulation A from the emulation candidates.

(S706)
続いて、言語判定部203の特定部204は、検出された制御コードがEmulationDで対応しているかの判断を行う。
(S706)
Subsequently, the specifying unit 204 of the language determining unit 203 determines whether or not the detected control code corresponds to EmulationD.

(S707)
対応していない場合には、言語判定部203の特定部204はエミュレーション候補からEmulationDを削除する。
(S707)
If not, the specifying unit 204 of the language determining unit 203 deletes EmulationD from the emulation candidates.

(S708)
更に言語判定部203の特定部204は、検出された制御コードがEmulationEで対応しているかの判断を行う。
(S708)
Further, the specifying unit 204 of the language determining unit 203 determines whether the detected control code corresponds to EmulationE.

(S709)
対応していない場合には、言語判定部203の特定部204はエミュレーション候補からEmulationEを削除する。
(S709)
If not supported, the specifying unit 204 of the language determining unit 203 deletes EmulationE from the emulation candidates.

(S710)
言語判定部203の特定部204は、このようにS703以下順次検出した制御コードを全てのエミュレーションで対応させた後、エミュレーション候補が一つに絞られたかの判断を行う。
(S710)
The identification unit 204 of the language determination unit 203 determines whether the emulation candidates are narrowed down to one after making the control codes sequentially detected in S703 and subsequent steps correspond to all emulations.

(S711)
S710にてエミュレーション候補が一つ以外である場合には、言語判定部203の抽出部205は、S702にて読み出したデータ数の合計が所定バイト数(制御コードのバイト数)を超えたかの判断を行う。
データの読み出しが所定のバイト数以下である場合(制御コードが一つも見つからない)には、S702に戻り、言語判定部203の特定部204は続くデータについて同様の処理を行う。
一方、S710にてエミュレーション候補が一つである場合又はS711にてデータの読み出しが所定バイト数を超えている場合には、図16のエミュレーションの絞込みを終了し、図13に示すS602に進む。
(S711)
If the number of emulation candidates is other than one in S710, the extraction unit 205 of the language determination unit 203 determines whether the total number of data read in S702 exceeds a predetermined number of bytes (the number of control code bytes). Do.
If the data reading is less than or equal to the predetermined number of bytes (no control code is found), the process returns to S702, and the specifying unit 204 of the language determination unit 203 performs the same processing on the subsequent data.
On the other hand, if there is only one emulation candidate in S710, or if data reading exceeds a predetermined number of bytes in S711, the emulation narrowing down in FIG. 16 is terminated, and the process proceeds to S602 shown in FIG.

(S602)
CPU101は、言語判定部203によって、図13に示すS601にて絞り込まれたエミュレーション候補が一つであるかの判断を行う。ここでエミュレーション候補が一つである場合には、その特定されたエミュレーションのエミュレーションに移行する(S615)。この時利用者は、プリンタ操作の必要は無い。
(S602)
The CPU 101 determines whether the language determination unit 203 has one emulation candidate narrowed down in step S601 illustrated in FIG. If there is one emulation candidate here, the process proceeds to the emulation of the specified emulation (S615). At this time, the user does not need to operate the printer.

(S603)
一方、エミュレーション候補が一つ以外の場合には、言語判定部203の抽出部205は、読み出しているデータがどのI/Fから受信したものであるかを、更にネットワークI/Fではネットワーク上のどのホストから受信したものであるかを検知し、受信部202からの受信I/F情報取得処理、ホストIPアドレス情報取得処理(各端末へのコード番号化処理)によって取得を行う。
(S603)
On the other hand, when the number of emulation candidates is other than one, the extraction unit 205 of the language determination unit 203 determines from which I / F the read data is received, and further on the network in the network I / F. It is detected from which host it is received, and acquisition is performed by reception I / F information acquisition processing from the reception unit 202 and host IP address information acquisition processing (code numbering processing to each terminal).

(S604)
CPU101は、その受信I/F、ホストIPアドレスが特定できる言語判定テーブル500中に登録されているかの判断を行う。
言語判定テーブル500に登録されていない場合、例えば、図11に示すように、ホストAが言語判定テーブル500中に未登録の場合、CPU101は、以下の処理を行う。
(S604)
The CPU 101 determines whether the reception I / F and the host IP address are registered in the language determination table 500 that can be specified.
When not registered in the language determination table 500, for example, as shown in FIG. 11, when the host A is not registered in the language determination table 500, the CPU 101 performs the following processing.

(S610)
先ず、図13中のS602で言語判定テーブル500に登録されているエミュレーションの中から絞り込まれたエミュレーション候補を操作パネル300に表示するが、この時、エミュレーション候補が一つもないため、ROM102に有する全てのエミュレーション(EmulationA、EmulationD及びEmulationE等)を候補とする(EmulationAは言語判定テーブル500内に未登録としている)。
また、表示パネル301の表示は、図14の401に示すように、先ず受信中の利用者が誰か特定できるように、ホスト名入力の指定表示を利用者が行う。
次に、指定通り利用者が、自分のホスト名をホスト選択キー305から入力すると、表示パネル301の表示は、「画像データを処理するエミュレーションを以下の候補の中から選択してください」というメッセージを付し、利用者に対して画像データを解釈させるエミュレーションを選択をさせる。
(S610)
First, emulation candidates narrowed down from the emulations registered in the language determination table 500 in S602 in FIG. 13 are displayed on the operation panel 300. At this time, since there is no emulation candidate, all the ROM 102 has. (Emulation A is not registered in the language determination table 500) (Emulation A, Emulation D, Emulation E, etc.).
In addition, as shown in 401 of FIG. 14, the display on the display panel 301 is first performed by the user specifying the host name input so that the user currently receiving can be identified.
Next, when the user inputs his / her host name from the host selection key 305 as specified, the display on the display panel 301 is a message “Please select an emulation for processing image data from the following candidates”. And let the user select an emulation that interprets the image data.

(S611)
これに従って利用者は、図12に示す操作パネル300の移動キー302および選択キー303を操作してエミュレーションの中からEmulationAを選択し表示パネル301に表示する(404)。
る。
(S611)
Accordingly, the user operates the movement key 302 and the selection key 303 of the operation panel 300 shown in FIG. 12 to select Emulation A from the emulation and displays it on the display panel 301 (404).
The

(S612)
CPU101は、言語選択テーブル500に送信元の受信I/Fとエミュレーション候補とユーザ選択されたエミュレーションにEmulationAを登録する。
(S612)
The CPU 101 registers the emulation A in the language selection table 500 as the reception I / F of the transmission source, the emulation candidate, and the emulation selected by the user.

(S613)
その後、ユーザ選択されたエミュレーションのエミュレーションに移行する。
(S613)
Thereafter, the process shifts to the emulation of the emulation selected by the user.

(S605)
一方、S604にて言語判定テーブルに登録されていてネットワークを介して接続される、例えば、ホストEの機種変更等があった場合には、以下の処理を行う。
CPU101は、S602で絞り込まれたエミュレーション候補と言語判定テーブルに登録されている受信I/Fのエミュレーション候補の差異があるかの判断を行う。
差異がない場合には、S609へ進み、一方、S605にてCPU101が差異がある場合にはS606へ進む。
(S605)
On the other hand, if there is a change in the model of the host E registered in the language determination table in S604 and connected via the network, for example, the following processing is performed.
The CPU 101 determines whether there is a difference between the emulation candidates narrowed down in S602 and the reception I / F emulation candidates registered in the language determination table.
If there is no difference, the process proceeds to S609. On the other hand, if the CPU 101 has a difference in S605, the process proceeds to S606.

(S606)
例えば、ホストEからホストE’への機種変更に伴い、プリントドライバが変ると、言語判定テーブル500には、EmulationE’が登録されていないため、この時、表示パネル301には、ROM3に有する全てのエミュレーションが候補として示される。この時、図12の表示パネル301中には図15に示す402に示すように「印刷データを処理するエミュレーションを以下の候補の中から選択してください」というメッセージが表記され、画像データを解釈させるエミュレーションを利用者に選択させる。
(S606)
For example, if the print driver is changed due to the model change from the host E to the host E ′, the emulation determination E ′ is not registered in the language determination table 500. Are shown as candidates. At this time, in the display panel 301 of FIG. 12, a message “Please select an emulation to process the print data from the following candidates” is displayed as shown in 402 of FIG. 15, and the image data is interpreted. Let the user select the emulation to be performed.

(S607)
利用者は操作パネル300を該当するエミュレーションを、移動キー302選択キー303を操作して自己のホストEに対応するエミュレーションを表示パネル301中から選択し、入力する。
(S607)
The user selects and inputs the corresponding emulation on the operation panel 300 from the display panel 301 by operating the movement key 302 selection key 303 to select the emulation corresponding to the host E of the user.

(S608)
CPU101は、言語選択テーブル500の受信I/Fのエミュレーション候補とユーザ選択エミュレーションを、S606でパネル表示してS607でユーザ選択されたものに更新する。
(S608)
The CPU 101 updates the reception I / F emulation candidates and user selection emulation in the language selection table 500 to those displayed on the panel in S606 and selected by the user in S607.

(S609)
その後、言語判定テーブル500に登録されている受信I/Fのユーザ選択エミュレーションにあるエミュレーションは移行する。
一方、S604にて言語判定テーブル500にEmulationA、EmulationB及びEmulationCが登録されていて、例えば、ホストEのNetwork中の何れかの機種に変更等があった場合には、以下の処理を行う。
CPU101は、S602で絞り込まれたエミュレーション候補と言語判定テーブル500に登録されている受信I/Fのエミュレーション候補に差異があるかの判断を行う。
差異がないとCPU101が判断した場合には、S609へ進み、一方、差異があると判断した場合には、CPU101はS606へ処理が進む。
(S609)
Thereafter, the emulation in the user-selected emulation of the reception I / F registered in the language determination table 500 shifts.
On the other hand, when Emulation A, Emulation B, and Emulation C are registered in the language determination table 500 in S604, for example, when any model in the network of the host E is changed, the following processing is performed.
The CPU 101 determines whether there is a difference between the emulation candidates narrowed down in step S602 and the reception I / F emulation candidates registered in the language determination table 500.
If the CPU 101 determines that there is no difference, the process proceeds to S609. On the other hand, if the CPU 101 determines that there is a difference, the CPU 101 proceeds to S606.

(S606)
例えば、ホストFの端末(IPアドレス10、20、30、43)の中の何れかの端末に機種変更があった場合は、その変更された端末のプリントドライバに対応するエミュレーション言語が候補としてRAM103中に一つも見当たらないことになる。その時は、図12中の表示パネル301にはROM102中に有する全てのエミュレーションを候補としてEmulationA、EmulationD、EmulationE及びEmulationF等が示され、図15に示す402の表示のように「画像データを処理するエミュレーションを以下の候補の中から選択してください」というメッセージが表記されて、画像データを解釈させるエミュレーションを利用者に選択させる。
(S606)
For example, if any of the terminals of the host F terminals (IP addresses 10, 20, 30, 43) is changed, the emulation language corresponding to the print driver of the changed terminal is selected as a candidate in the RAM 103. You wo n’t find anything inside. At that time, Emulation A, Emulation D, Emulation E, Emulation F, and the like are displayed on the display panel 301 in FIG. 12 with all the emulations in the ROM 102 as candidates, and “display image data” is displayed as indicated by 402 in FIG. The message “Please select an emulation from the following candidates” is displayed, and the user is made to select an emulation for interpreting the image data.

(S607)
利用者は、表示パネル301に該当するエミュレーションを見付け出し、ホスト操作キー305を操作してエミュレーションを選択する(404)。
(S607)
The user finds the corresponding emulation on the display panel 301 and operates the host operation key 305 to select the emulation (404).

(S608)
これに伴い、言語選択テーブル500は、受信I/FとホストE、エミュレーション候補と、ユーザ選択されたエミュレーションとしてEmulationFの端末10、20、30、43の内の変更された端末が登録される。
(S608)
Accordingly, in the language selection table 500, the reception I / F, the host E, the emulation candidates, and the changed terminals among the EmulationF terminals 10, 20, 30, and 43 are registered as the user-selected emulation.

(S609)
その後、言語判定テーブル500は、登録されているEmulationFで変更されたIPアドレスのエミュレーションに移行する。
(S609)
Thereafter, the language determination table 500 shifts to emulation of the IP address changed by the registered EmulationF.

(S614)
以上の動作によって、プリンタ100は各ホストから画像データが送信された場合、エミュレーションの変更(S609)、エミュレーションが登録されていない(S613)及びエミュレーションが既に登録されている(S615)何れかの状況においても特定のエミュレーションへ移行する。
そして、これ等のエミュレーションは、受信部202が受信してデータ取得処理(図示せず)された画像データに応じ言語判定部203が読み出して解析を行い、印刷が実行され、エミュレーションの処理が終了すると、次の画像データを処理するためにS601に戻る。
(S614)
With the above operation, when image data is transmitted from each host, the printer 100 changes any one of the emulation changes (S609), the emulation is not registered (S613), and the emulation is already registered (S615). Also move to a specific emulation.
These emulations are read and analyzed by the language determination unit 203 in accordance with image data received by the receiving unit 202 and subjected to data acquisition processing (not shown), printing is executed, and the emulation processing ends. Then, the process returns to S601 to process the next image data.

本発明は、上記実施例においてプリンタについて説明したが、これに限らず、複写機やMFPにも適用することができる。   Although the present invention has been described with reference to the printer in the above-described embodiments, the present invention is not limited to this, and can also be applied to a copying machine or an MFP.

1 プリンタ
2 CPU
3 ROM
4 RAM
5 印刷エンジン
6 操作パネル
7 ホスト
8 インタフェース(I/F)
9 制御部
10 受信バッファ
11 ページバッファ
12 受信部
13 言語判定部
14 表示選択部
15 ホスト識別情報取得部
16 特定部
17 抽出部
18 言語選択テーブル
19 中間コードバッファ
20 表示パネル
1 Printer 2 CPU
3 ROM
4 RAM
5 Print Engine 6 Operation Panel 7 Host 8 Interface (I / F)
DESCRIPTION OF SYMBOLS 9 Control part 10 Reception buffer 11 Page buffer 12 Reception part 13 Language determination part 14 Display selection part 15 Host identification information acquisition part 16 Identification part 17 Extraction part 18 Language selection table 19 Intermediate code buffer 20 Display panel

Claims (5)

複数の送信元から画像データを受信して画像を形成するための異なる複数のエミュレーションを備えた画像形成装置において、
前記装置内には前記複数のエミュレーションの中から前記画像データを解釈可能な少なくとも一つ以上のエミュレーション候補を抽出する言語判定部と、
前記エミュレーション候補を表示して送信元の利用者にエミュレーションを選択可能とする選択部と、
前記送信元を識別する情報を取得する送信元識別情報取得部と、
を含むことを特徴とする画像形成装置。
In an image forming apparatus having a plurality of different emulations for receiving image data from a plurality of transmission sources and forming an image,
A language determination unit for extracting at least one emulation candidate capable of interpreting the image data from the plurality of emulations in the device;
A selection unit that displays the emulation candidates and allows the user of the transmission source to select emulation;
A transmission source identification information acquisition unit for acquiring information for identifying the transmission source;
An image forming apparatus comprising:
前記言語判定部は、複数のエミュレーションの中から前記画像データを解釈可能な一つのエミュレーションに特定する特定部と、
前記エミュレーションを特定できなかったとき少なくとも画像データの一部が解釈可能なエミュレーション候補を複数抽出する抽出部と、
を有することを特徴とする請求項1記載の画像形成装置。
The language determination unit is a specification unit that specifies one emulation that can interpret the image data from a plurality of emulations,
An extraction unit for extracting a plurality of emulation candidates capable of interpreting at least a part of the image data when the emulation cannot be specified;
The image forming apparatus according to claim 1, further comprising:
前記複数のエミュレーション候補と前記選択されたエミュレーションと送信元識別する情報とは記憶部に関連付けられて記憶されていることを特徴とする請求項1又は請求項2に記載の画像形成装置   The image forming apparatus according to claim 1, wherein the plurality of emulation candidates, the selected emulation, and information for identifying a transmission source are stored in association with a storage unit. 前記特定部は前記抽出部で抽出した少なくとも一部が解釈できるエミュレーション候補と前記送信元識別情報取得部で取得した送信元識別情報に関連付けられて記憶された前記選択されたエミュレーションが存在する場合は前記選択されたエミュレーションを解釈可能な一つのエミュレーションと特定することを特徴とする請求項1〜請求項3に記載の画像形成装置。   In the case where there is an emulation candidate that can be interpreted by at least a part extracted by the extraction unit and the selected emulation stored in association with the transmission source identification information acquired by the transmission source identification information acquisition unit. 4. The image forming apparatus according to claim 1, wherein the selected emulation is identified as one emulation that can be interpreted. 前記特定部は前記送信元から受信した画像データの先頭から所定サイズに含まれる制御コードを解析してエミュレーションを特定することを特徴とする請求項1〜請求項4に記載の画像形成装置。   5. The image forming apparatus according to claim 1, wherein the specifying unit analyzes the control code included in a predetermined size from the top of the image data received from the transmission source and specifies the emulation.
JP2009126016A 2009-05-26 2009-05-26 Image forming apparatus Pending JP2010274428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009126016A JP2010274428A (en) 2009-05-26 2009-05-26 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009126016A JP2010274428A (en) 2009-05-26 2009-05-26 Image forming apparatus

Publications (1)

Publication Number Publication Date
JP2010274428A true JP2010274428A (en) 2010-12-09

Family

ID=43421852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009126016A Pending JP2010274428A (en) 2009-05-26 2009-05-26 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP2010274428A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015194354A1 (en) * 2014-06-17 2015-12-23 サトーホールディングス株式会社 Printer and printing method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015194354A1 (en) * 2014-06-17 2015-12-23 サトーホールディングス株式会社 Printer and printing method therefor

Similar Documents

Publication Publication Date Title
CN103631543B (en) Information processor and its control method
JP5955041B2 (en) Printing system and method
KR100661173B1 (en) Print having a direct printing function and printing method thereof
US10003703B2 (en) Data processing apparatus and print system
US20080285074A1 (en) Systems, devices, and methods for variable data printing
JP6202081B2 (en) Information processing apparatus, program, and image processing system
JP2010274428A (en) Image forming apparatus
US11579826B2 (en) Non-transitory computer-readable recording medium, control system, and method of controlling information processing apparatus
JP6659099B2 (en) PRINTING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
JP2019072894A (en) Image formation device and control method
US20140368876A1 (en) Data generating apparatus, data generating method, and non-transitory storage medium
US9430446B2 (en) Information processing apparatus, method and storage medium including a function for establishing exceptions applied to print settings when specified conditions are met
JP4670627B2 (en) Printer control apparatus, system, method, program, and recording medium
US20100060932A1 (en) Image processing apparatus, information processing method, and computer program product
JP2006252406A (en) Extension function controller
CN105808174B (en) Print command equipment, print system and print instruction method
JP2020087253A (en) Program and information processing apparatus
US8988719B2 (en) Printing apparatus and log recording method
JP2008269260A (en) Data processor, data processing method and program
JP6139310B2 (en) Image processing apparatus and image processing system
JP6390580B2 (en) Image forming apparatus and program
JP6432237B2 (en) Image processing apparatus and image processing program
JP2019089296A (en) Information processing device, print setting method for information processing device, and program
JP2007173948A (en) Image processor, image processing method, and program for carrying out image processing method
JP2009277006A (en) Information processor, document management system, information processing system, and program

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Effective date: 20110131

Free format text: JAPANESE INTERMEDIATE CODE: A712