JP2004106255A - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP2004106255A
JP2004106255A JP2002269582A JP2002269582A JP2004106255A JP 2004106255 A JP2004106255 A JP 2004106255A JP 2002269582 A JP2002269582 A JP 2002269582A JP 2002269582 A JP2002269582 A JP 2002269582A JP 2004106255 A JP2004106255 A JP 2004106255A
Authority
JP
Japan
Prior art keywords
code system
code
keyword
image forming
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.)
Pending
Application number
JP2002269582A
Other languages
Japanese (ja)
Inventor
Kiyoko Kazume
蚊爪 聖子
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 JP2002269582A priority Critical patent/JP2004106255A/en
Publication of JP2004106255A publication Critical patent/JP2004106255A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image forming apparatus in which a code system can be judged easily on the premise that an emulation capable of processing a plurality of code systems is provided. <P>SOLUTION: The image forming apparatus connected with a host unit 1 and having a printer function and an emulation capable of processing a plurality of code systems is provided with a means 4 for inputting the keyword of each code system, a means 13 for registering the inputted keyword, and a control means 11 for judging the code system by comparing a registered keyword with the keyword of data from the host unit 1 and then starting that code system. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、上位装置であるホスト装置と接続され、プリンタ機能を有するとともに、複数のコード体系を処理可能なエミュレーションを有する画像形成装置に関するものである。
【0002】
【従来の技術】
ホスト装置が送信するデータには複数のコード体系がある。例えば、JISコードやシフトJISコードやEBCDICコード等がある。通常一つのエミュレーションが処理することが可能なコード体系は単一である。そのため、複数のホスト装置が接続され、複数のコード体系を処理する必要がある環境の場合、それぞれのコード体系を処理可能なエミュレーションが複数必要になる。また、一つで複数のコード体系を処理可能なエミュレーションもあるが、コード体系を切りかえる場合、印刷条件で設定を行なったり、コマンドにより切り換える必要がある。
【0003】
【発明が解決しようとする課題】
上述したように通常、一つのエミュレーションが処理可能なコード体系は単一である。例えば、JISコード体系のホスト装置(ホスト装置1)から送信されるJISコードは、JISコード体系のコードを処理可能なエミュレーション(エミュレーションA)で処理され、EBCDICコード体系のホスト装置(ホスト装置2)から送信されるEBCDICコードは、EBCDICコード体系のコードを処理可能なエミュレーション(エミュレーションB)で処理される。つまり、ホスト装置1はエミュレーションA、ホスト装置2はエミュレーションBで処理される。
【0004】
しかし、これも上述したように、エミュレーションの中には、複数のコード体系のコードを処理可能なものが存在する。例えば、JISコード体系とEBCDICコード体系の両方を処理可能なエミュレーション(エミュレーションC)は、ホスト装置1とホスト装置2の両方のコード体系を処理することが可能である。
【0005】
エミュレーションCで処理するコード体系を切り換える場合、印刷条件で設定を行なったり、コマンドで切り換えを行なうなど、ユーザーが意識的にコード体系を切り換える必要がある。
【0006】
複数のエミュレーションが起動可能な画像形成装置では、特許文献1や特許文献2に示されている技術で、データに応じて自動的に起動するエミュレーションを決定することが可能である。それにより、エミュレーションAやエミュレーションB、エミュレーションC等が自動的に起動可能になる。
【0007】
しかし、エミュレーションCの場合、JISコード体系とEBCDICコード体系の両方を処理可能なエミュレーションのため、エミュレーションが起動するだけでは充分ではない。さらに、データのコード体系に応じて、JISコード体系かEBCDICコード体系か、どちらかのコード体系が起動される必要がある。
【0008】
本発明は、複数のコード体系を処理可能なエミュレーションを有することを前提とし、コード体系の判別を容易に行うことが可能な画像形成装置を提供することを目的とする。
【0009】
【特許文献1】
特開平5−53739号公報
【特許文献2】
特開平7−271536号公報
【0010】
【課題を解決するための手段】
上記目的を達成するために、請求項1記載の発明は、上位装置であるホスト装置と接続され、プリンタ機能を有するとともに、複数のコード体系を処理可能なエミュレーションを有する画像形成装置において、それぞれのコード体系のキーワードを入力する入力手段と、入力されたキーワードを登録する登録手段と、登録されたキーワードとホスト装置からのデータのキーワードを比較してコード体系を判別し、このコード体系を起動する制御手段とを備えた画像形成装置を最も主要な特徴とする。
【0011】
請求項2記載の発明は、請求項1記載の画像形成装置において、コード体系の判別を行なう際、登録されているどのキーワードから優先的に判別を行なうか設定する機能を有する画像形成装置を主要な特徴とする。
【0012】
請求項3記載の発明は、請求項2記載の画像形成装置において、キーワードの判別によりコード体系が特定されなかった場合、優先的に起動するコード体系を登録する機能を有する画像形成装置を主要な特徴とする。
【0013】
【発明の実施の形態】
以下、図面により本発明の実施の形態を詳細に説明する。図1は本発明の実施の形態に係るプリンタのコントローラを中心としたブロック図である。本プリンタは、その上位装置であるホスト装置1(1−1、1−2)と接続されたコントローラ2と、エンジン3と、パネル装置4とを備えている。
【0014】
コントローラ2において、CPU11は、プログラムROM14のプログラム、パネル装置4からのモード指示、ホスト装置1からのコマンドによってコントローラ全体を制御する。ICカード12は、フォントデータやプログラムを外部から供給する。
【0015】
NVRAM13は、パネル装置4からのモード指示の内容などを記憶しておく不揮発性記憶装置である。プログラムROM14は、コントローラ2の制御プログラムが格納されている。フォントROM15は、フォントのパターンデータなどを記憶する。
【0016】
RAM16は、CPU11のワークメモリ、入力データのインプットバッファー、プリントデータのページバッファ、ダウンロードフォント用のメモリ等に使用する。エンジンインターフェース17は、エンジン3とコマンド及びステータスや、印字データの通信を行なう。
【0017】
パネルインターフェース18は、パネル装置4とコマンド及びステータスの通信を行なう。ホストインターフェース19(19−1、19−2)は、ホスト装置1と通信を行なうものであり、通常はセントロI/FやRS232Cである。ディスクインターフェース20は、ディスク装置21と通信を行なう。
【0018】
コントローラ2と接続されるエンジン3は、実際に印字を行なうユニットである。パネル装置4は、使用者に現在のプリンタの状態を知らせたり、モード指示を行なったりするユニットである。ディスク装置21は、フォントデータや、プログラムや、印字データなどの様々のデータを記憶しておくユニットで、フロッピディスク装置やハードディスク装置などで構成される。
【0019】
図2はキーワードの登録図で、それぞれのコード体系のキーワードを登録する。図3は優先キーワード図で、優先的に判別を行なうコード体系を登録する。図4は優先起動図で、コード体系が特定されなかった場合、優先的に起動するコード体系を登録する。
【0020】
図5は本実施の形態のプリンタにおける制御動作を示すフローチャートである。 NVRAM13にそれぞれのコード体系のキーワードを登録する(図2参照)。コード体系1(JISコード)のキーワードは”1B 7E 0E”と”1B7E 41”、コード体系2(EBCDICコード)のキーワードは”27 AE 01”と”2E AE C1”である。図2では、キーワードとして2つ登録しているが、1つでもかまわないし、3つ以上登録してもかまわない。
【0021】
ホストインターフェース19−1を通して、ホスト装置1−1からデータ(キーワード付き)を受信し、RAM16のインプットバッファーに一時記憶する(図5のステップ1)。記憶されたデータがどのコード体系と一致するか判断する。その際、図2に登録されている複数のコード体系のうちどのコード体系から優先的に判断するか、NVRAM13に登録する(図3参照)。
【0022】
図3では、コード体系1(JISコード)が登録されているので、コード体系1(JISコード)から判断する(図5のステップ2)。図2に登録されているコード体系1(JISコード)のキーワードとホスト装置1−1からのデータのキーワードが一致した場合(図5のステップ2:Y)、コード体系1を起動する(図5のステップ5)。
【0023】
コード体系1(JISコード)のキーワードと一致しなかった場合(図5のステップ2:N)、コード体系2(EBCDICコード)を判断する(図5のステップ3)。図2に登録されているコード体系2(EBCDICコード)のキーワードと一致した場合(図5のステップ3:Y)、コード体系2を起動する(図5のステップ6)。
【0024】
コード体系2(EBCDICコード)のキーワードと一致しなかった場合(図5のステップ3:N)、図4に登録されているコード体系1(JISコード)を起動する(図5のステップ4)。即ちデータがコード体系1(JISコード)とコード体系2(EBCDICコード)のどちらであるか判断できなかった場合、優先的に起動するコード体系をNVRAM13に登録する。
【0025】
【発明の効果】
本発明によれば、上位装置であるホスト装置と接続され、プリンタ機能を有するとともに、複数のコード体系を処理可能なエミュレーションを有する画像形成装置において、それぞれのコード体系のキーワードを入力する入力手段と、入力されたキーワードを登録する登録手段と、登録されたキーワードとホスト装置からのデータのキーワードを比較してコード体系を判別し、このコード体系を起動する制御手段とを備えたので、ホスト装置からのデータのコード体系を容易に判別してこのコード体系を起動することができる。
【0026】
またコード体系の判別を行なう際、登録されているどのキーワードから優先的に判別を行なうか設定する機能を有することにより、判別時間が短縮される。
【0027】
また上記でコード体系が特定されなかった場合、優先的に起動するコード体系を登録する機能を有することで、任意のコード体系を自動起動することが可能になる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るプリンタのコントローラを中心としたブロック図である。
【図2】キーワードの登録図である。
【図3】優先キーワード図である。
【図4】優先起動図である。
【図5】本実施の形態のプリンタにおける制御動作を示すフローチャートである。
【符号の説明】
1 ホスト装置
2 コントローラ
3 エンジン
4 パネル装置(入力手段)
11 CPU(制御手段)
13 NVRAM(登録手段)
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image forming apparatus which is connected to a host apparatus as a host apparatus, has a printer function, and has an emulation capable of processing a plurality of code systems.
[0002]
[Prior art]
The data transmitted by the host device has a plurality of code systems. For example, there are JIS codes, shift JIS codes, EBCDIC codes, and the like. Usually, a single code system can be processed by one emulation. Therefore, in an environment where a plurality of host devices are connected and a plurality of code systems need to be processed, a plurality of emulations capable of processing each of the code systems are required. In addition, there is an emulation that can process a plurality of code systems by itself, but when switching the code systems, it is necessary to make settings based on printing conditions or to switch by a command.
[0003]
[Problems to be solved by the invention]
As described above, normally, one emulation can process only a single coding system. For example, a JIS code transmitted from a host device of the JIS code system (host device 1) is processed by emulation (emulation A) capable of processing a code of the JIS code system, and a host device of the EBCDIC code system (host device 2). Is processed by emulation (emulation B) capable of processing EBCDIC code system codes. That is, the host device 1 is processed by emulation A, and the host device 2 is processed by emulation B.
[0004]
However, as described above, some emulations can process codes of a plurality of code systems. For example, an emulation (emulation C) capable of processing both the JIS code system and the EBCDIC code system can process both the code systems of the host device 1 and the host device 2.
[0005]
When the code system to be processed by the emulation C is switched, it is necessary for the user to consciously switch the code system, for example, by setting according to printing conditions or by switching using a command.
[0006]
In an image forming apparatus in which a plurality of emulations can be activated, it is possible to determine an emulation to be automatically activated in accordance with data by using the technology disclosed in Patent Document 1 or Patent Document 2. Thereby, emulation A, emulation B, emulation C, and the like can be automatically started.
[0007]
However, in the case of the emulation C, since the emulation is capable of processing both the JIS code system and the EBCDIC code system, it is not enough to activate the emulation. Furthermore, it is necessary to activate either the JIS code system or the EBCDIC code system, depending on the data code system.
[0008]
SUMMARY OF THE INVENTION An object of the present invention is to provide an image forming apparatus capable of easily discriminating a code system on the premise of having an emulation capable of processing a plurality of code systems.
[0009]
[Patent Document 1]
Japanese Patent Application Laid-Open No. H5-53739 [Patent Document 2]
JP-A-7-271536
[Means for Solving the Problems]
In order to achieve the above object, the invention according to claim 1 is an image forming apparatus which is connected to a host device as a host device, has a printer function, and has an emulation capable of processing a plurality of code systems. Input means for inputting the keyword of the code system, registration means for registering the input keyword, comparing the registered keyword with the keyword of the data from the host device, determining the code system, and activating the code system An image forming apparatus provided with a control unit is the most main feature.
[0011]
According to a second aspect of the present invention, there is provided the image forming apparatus according to the first aspect, wherein the image forming apparatus has a function of setting which registered keyword is to be preferentially determined when determining the code system. Characteristics.
[0012]
According to a third aspect of the invention, in the image forming apparatus according to the second aspect, an image forming apparatus having a function of registering a code system to be activated preferentially when a code system is not specified by the determination of a keyword. Features.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram mainly showing a controller of a printer according to an embodiment of the present invention. This printer includes a controller 2 connected to a host device 1 (1-1, 1-2), which is a host device thereof, an engine 3, and a panel device 4.
[0014]
In the controller 2, the CPU 11 controls the entire controller according to a program in the program ROM 14, a mode instruction from the panel device 4, and a command from the host device 1. The IC card 12 supplies font data and programs from outside.
[0015]
The NVRAM 13 is a non-volatile storage device that stores the content of a mode instruction from the panel device 4 and the like. The program ROM 14 stores a control program for the controller 2. The font ROM 15 stores font pattern data and the like.
[0016]
The RAM 16 is used as a work memory of the CPU 11, an input buffer for input data, a page buffer for print data, a memory for download fonts, and the like. The engine interface 17 communicates commands, statuses, and print data with the engine 3.
[0017]
The panel interface 18 communicates commands and status with the panel device 4. The host interface 19 (19-1, 19-2) communicates with the host device 1, and is usually a Centro I / F or RS232C. The disk interface 20 communicates with the disk device 21.
[0018]
The engine 3 connected to the controller 2 is a unit that actually performs printing. The panel device 4 is a unit for notifying a user of a current printer state and giving a mode instruction. The disk device 21 is a unit that stores various data such as font data, programs, and print data, and includes a floppy disk device and a hard disk device.
[0019]
FIG. 2 is a keyword registration diagram in which keywords of respective code systems are registered. FIG. 3 is a priority keyword diagram in which a code system for preferentially discriminating is registered. FIG. 4 is a priority activation diagram, in which, when a code system is not specified, a code system to be activated with priority is registered.
[0020]
FIG. 5 is a flowchart showing a control operation in the printer of the present embodiment. The keywords of the respective code systems are registered in the NVRAM 13 (see FIG. 2). The keywords of the code system 1 (JIS code) are “1B 7E 0E” and “1B7E 41”, and the keywords of the code system 2 (EBCDIC code) are “27 AE 01” and “2E AE C1”. In FIG. 2, two keywords are registered, but one or three or more keywords may be registered.
[0021]
The data (with a keyword) is received from the host device 1-1 through the host interface 19-1, and is temporarily stored in the input buffer of the RAM 16 (Step 1 in FIG. 5). It is determined which code system the stored data matches. At this time, which code system is to be preferentially determined among the plurality of code systems registered in FIG. 2 is registered in the NVRAM 13 (see FIG. 3).
[0022]
In FIG. 3, since the code system 1 (JIS code) is registered, it is determined from the code system 1 (JIS code) (step 2 in FIG. 5). When the keyword of the code system 1 (JIS code) registered in FIG. 2 matches the keyword of the data from the host device 1-1 (step 2: Y in FIG. 5), the code system 1 is activated (FIG. 5). Step 5).
[0023]
If the keyword does not match the keyword of the code system 1 (JIS code) (step 2: N in FIG. 5), the code system 2 (EBCDIC code) is determined (step 3 in FIG. 5). When the keyword matches the keyword of the code system 2 (EBCDIC code) registered in FIG. 2 (Step 3: Y in FIG. 5), the code system 2 is activated (Step 6 in FIG. 5).
[0024]
If the keyword does not match the keyword of the code system 2 (the EBCDIC code) (step 3: N in FIG. 5), the code system 1 (JIS code) registered in FIG. 4 is started (step 4 in FIG. 5). That is, if it is not possible to determine whether the data is the code system 1 (JIS code) or the code system 2 (EBCDIC code), the code system to be activated with priority is registered in the NVRAM 13.
[0025]
【The invention's effect】
According to the present invention, in an image forming apparatus which is connected to a host apparatus which is a host apparatus, has a printer function, and has an emulation capable of processing a plurality of code systems, an input unit for inputting a keyword of each code system; A registration unit for registering the input keyword; and a control unit for comparing the registered keyword with the keyword of the data from the host device to determine a code system and activating the code system. The data coding system can be easily identified and activated.
[0026]
In addition, when a code system is determined, a function of setting which registered keyword is to be preferentially determined is set, thereby shortening the determination time.
[0027]
If the code system is not specified in the above, a function of registering a code system to be activated preferentially is provided, so that an arbitrary code system can be automatically activated.
[Brief description of the drawings]
FIG. 1 is a block diagram focusing on a controller of a printer according to an embodiment of the present invention.
FIG. 2 is a registration diagram of a keyword.
FIG. 3 is a priority keyword diagram.
FIG. 4 is a priority activation diagram.
FIG. 5 is a flowchart showing a control operation in the printer of the embodiment.
[Explanation of symbols]
1 host device 2 controller 3 engine 4 panel device (input means)
11 CPU (control means)
13 NVRAM (registration means)

Claims (3)

上位装置であるホスト装置と接続され、プリンタ機能を有するとともに、複数のコード体系を処理可能なエミュレーションを有する画像形成装置において、それぞれのコード体系のキーワードを入力する入力手段と、入力されたキーワードを登録する登録手段と、登録されたキーワードとホスト装置からのデータのキーワードを比較してコード体系を判別し、このコード体系を起動する制御手段とを備えたことを特徴とする画像形成装置。In an image forming apparatus which is connected to a host apparatus which is a host apparatus, has a printer function, and has an emulation capable of processing a plurality of code systems, input means for inputting a keyword of each code system, and An image forming apparatus comprising: registration means for registering; and control means for comparing a registered keyword and a keyword of data from a host device to determine a code system and to activate the code system. 請求項1記載の画像形成装置において、コード体系の判別を行なう際、登録されているどのキーワードから優先的に判別を行なうか設定する機能を有することを特徴とする画像形成装置。2. The image forming apparatus according to claim 1, further comprising a function of setting which registered keyword is to be preferentially determined when determining the code system. 請求項2記載の画像形成装置において、キーワードの判別によりコード体系が特定されなかった場合、優先的に起動するコード体系を登録する機能を有することを特徴とする画像形成装置。3. The image forming apparatus according to claim 2, further comprising a function of registering a code system to be activated preferentially when the code system is not identified by the determination of the keyword.
JP2002269582A 2002-09-17 2002-09-17 Image forming apparatus Pending JP2004106255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002269582A JP2004106255A (en) 2002-09-17 2002-09-17 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002269582A JP2004106255A (en) 2002-09-17 2002-09-17 Image forming apparatus

Publications (1)

Publication Number Publication Date
JP2004106255A true JP2004106255A (en) 2004-04-08

Family

ID=32267477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002269582A Pending JP2004106255A (en) 2002-09-17 2002-09-17 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP2004106255A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7274314B2 (en) 2004-07-15 2007-09-25 Sony Corporation Character-information conversion apparatus and method for converting character information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7274314B2 (en) 2004-07-15 2007-09-25 Sony Corporation Character-information conversion apparatus and method for converting character information

Similar Documents

Publication Publication Date Title
CN110321086B (en) Non-transitory computer-readable recording medium and method of controlling information processing apparatus
JP2007245673A (en) Image formation device
JPH06139031A (en) Printer controller
JP2004106255A (en) Image forming apparatus
JP2003330650A (en) Image processor
JP2001306281A (en) Printing device, method for updating its control information and computer readable storage medium
JP2006256075A (en) Printer and printing control method
JP2007069580A (en) Image forming device
JP2006240029A (en) Printing system
JP2004223946A (en) Image forming apparatus
JP3327710B2 (en) Image processing apparatus and control method thereof
JP2005125646A (en) Image forming apparatus
JP2002248840A (en) Printing controller, method for processing data and storage medium
JP2005007823A (en) Image forming device
JPH09188010A (en) Image processing apparatus
JP2016165851A (en) Memory controller, image formation apparatus and resource management method of memory controller
JP2005182101A (en) Automatic printing control method
JP2006021484A (en) Control system of printer
JP2006150835A (en) Image forming apparatus, method of processing job, and job processing program
JP2008227929A (en) Data processor, data processing method and data processing program
JP2001341384A (en) Printer
JP2008052466A (en) Printer
JP2005088376A (en) Image forming apparatus
JP2000203106A (en) Printer system
JP2002086812A (en) Imaging apparatus