JP2860201B2 - Output device and method - Google Patents
Output device and methodInfo
- Publication number
- JP2860201B2 JP2860201B2 JP2848592A JP2848592A JP2860201B2 JP 2860201 B2 JP2860201 B2 JP 2860201B2 JP 2848592 A JP2848592 A JP 2848592A JP 2848592 A JP2848592 A JP 2848592A JP 2860201 B2 JP2860201 B2 JP 2860201B2
- Authority
- JP
- Japan
- Prior art keywords
- unit
- output
- interpreting
- input information
- information
- 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
Links
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
- Image Generation (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は出力装置及び方法、詳し
くは入力された情報を解釈し出力情報を生成して出力す
る出力装置及び方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an output apparatus and method, and more particularly to an output apparatus and method for interpreting input information to generate and output output information.
【0002】[0002]
【従来の技術】従来、各種外部装置(ホストコンピュー
タ)に対応させるため、或いは、そのホストコンピュー
タ上で動作するアプリケーションソフトに対応させるた
め、複数種類の印刷制御コードに対応している印刷装置
がある。2. Description of the Related Art Conventionally, there is a printing apparatus that supports a plurality of types of print control codes in order to correspond to various external apparatuses (host computers) or to correspond to application software operating on the host computer. .
【0003】どの印刷制御コード体系に対して処理を行
なわせるのかは、操作パネルを介して指示するのが一般
的であるが、外部装置からの制御コマンドによって切り
換えるものもあった。[0003] In general, which printing control code system is to be instructed through an operation panel is used, but in some cases, it is switched by a control command from an external device.
【0004】[0004]
【発明が解決しようとする課題】しかしながら上記従来
例においては、実際に印刷する度に、印刷装置が間違っ
た制御コード体系を選択していないかを把握していなけ
ればならない。そうでないと、予期しない印刷結果とな
ってしまう等の問題が発生した。However, in the above-mentioned conventional example, it is necessary to know whether or not the printing apparatus has selected the wrong control code system every time printing is actually performed. Otherwise, problems such as unexpected print results may occur.
【0005】[0005]
【課題を解決するための手段】本発明はかかる従来技術
に鑑み成されたものであり、格別な指示を与えなくても
入力情報に対して適切な解釈部を効率良く決定し、意図
した出力結果を得ることを可能ならしめる出力装置及び
方法を提供しようとするものである。SUMMARY OF THE INVENTION The present invention has been made in view of the above prior art, and efficiently determines an appropriate interpreting section for input information without giving a special instruction and outputs an intended output. The aim is to provide an output device and a method that make it possible to obtain a result.
【0006】この課題を解決するため、例えば本発明の
出力装置は以下に示す構成を備える。すなわち、入力情
報を解釈し出力情報を生成させるための複数の解釈部の
中から、第1の判断基準に従って入力情報を解析するこ
とにより、該当する解釈部を選択する第1の選択手段
と、該第1の選択手段でもって前記入力情報を解釈させ
る解釈部がなく、選択できなかった場合、前記第1の判
断基準よりも低い第2の判断基準に従って入力情報を解
析し、該当する解釈部を選択する第2の選択手段と、前
記第1、第2の選択手段によって選択された解釈部で前
記入力情報を解釈させ、出力情報を情報を生成し、出力
する出力手段とを備える。In order to solve this problem, for example, the output device of the present invention has the following configuration. That is, a first selection unit that selects a corresponding interpretation unit by analyzing the input information according to a first determination criterion from among a plurality of interpretation units for interpreting input information and generating output information, If there is no interpreting unit for interpreting the input information by the first selecting means, and the selection is not possible, the input information is analyzed according to a second criterion lower than the first criterion, and the corresponding interpreting unit is analyzed. And output means for causing the interpretation unit selected by the first and second selection means to interpret the input information, generate output information, and output the information.
【0007】[0007]
【作用】かかる本発明の構成において、第1の選択手段
が、第1の判断基準に従って入力情報を解析することに
より、該当する解釈部を選択する。ここで第1の判断基
準で該当する解釈部がなく、選択できなかった場合に
は、第2の選択手段が、第1の判断基準より低い第2の
判断基準に従って入力情報を解析し、該当する解釈部を
選択する。こうして、選択された解釈部で入力情報を解
釈させ、出力情報を情報を生成し、出力手段によって出
力する。In the configuration of the present invention, the first selecting means analyzes the input information in accordance with the first criterion to select a corresponding interpreting section. Here, when there is no interpreting unit corresponding to the first criterion and the selection cannot be made, the second selecting means analyzes the input information according to the second criterion lower than the first criterion, and Select the interpreter to perform. In this way, the input information is interpreted by the selected interpreter, output information is generated, and the output means outputs the information.
【0008】[0008]
【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
【0009】[レーザビームプリンタ説明(図4)]本
実施例の構成を説明する前に、本実施例を適用するレー
ザビームプリンタの構成を図4を参照して説明する。[Description of Laser Beam Printer (FIG. 4)] Before describing the configuration of this embodiment, the configuration of a laser beam printer to which this embodiment is applied will be described with reference to FIG.
【0010】図において、100はLBP本体であり、
外部に接続されているホストコンピュータから供給され
る印刷情報(文字コード等)やフォーム情報或いはマク
ロ命令などを入力して記憶するとともに、それらの情報
に従って対応する文字パターンやフォームパターンなど
を作成し、記録媒体である記録紙上に像を形成する。1
01は操作のためのスイッチ及びLED表示器などが配
されている操作パネル、1はLBP100全体の制御及
びホストコンピュータから供給される文字情報などを解
析するプリンタ制御ユニットである。このプリンタ制御
ユニット1は主に文字情報を対応する文字パターンのビ
デオ信号に変換してレーザドライバ102に出力する。In the figure, 100 is the LBP main body,
While inputting and storing print information (character codes, etc.), form information, macro instructions, etc., supplied from an externally connected host computer, create a corresponding character pattern, form pattern, etc. according to the information, An image is formed on a recording paper as a recording medium. 1
Reference numeral 01 denotes an operation panel on which switches for operation and an LED display are arranged, and 1 denotes a printer control unit that controls the entire LBP 100 and analyzes character information supplied from a host computer. The printer control unit 1 mainly converts character information into a video signal of a corresponding character pattern and outputs the video signal to the laser driver 102.
【0011】レーザドライバ102は半導体レーザ10
3を駆動するための回路であり、入力されたビデオ信号
に応じて半導体レーザ103から発射されるレーザ光1
04をオン・オフ切り換えする。レーザ光104は回転
多面鏡105で左右方向に振らされて静電ドラム106
上を走査露光する。これにより、静電ドラム106上に
は文字パターンの静電潜像が形成されることになる。こ
の潜像は静電ドラム106周囲に配設された現像ユニッ
ト107により現像された後、記録紙に転写される。こ
の記録紙にはカットシートを用い、カットシート記録紙
はLBP100に装着した用紙カセット108に収納さ
れ、給紙ローラ109及び搬送ローラ110と111と
により、装置内に取り込まれて、静電ドラム106に供
給される。The laser driver 102 is a semiconductor laser 10
3 for driving the laser light 1 emitted from the semiconductor laser 103 in accordance with the input video signal.
04 is turned on / off. The laser beam 104 is swung right and left by a rotating polygon mirror 105 to form an electrostatic drum 106.
The upper side is exposed by scanning. As a result, an electrostatic latent image of a character pattern is formed on the electrostatic drum 106. This latent image is developed by a developing unit 107 provided around the electrostatic drum 106 and then transferred to a recording sheet. A cut sheet is used as the recording paper, and the cut sheet recording paper is stored in a paper cassette 108 mounted on the LBP 100, taken into the apparatus by a paper feed roller 109 and transport rollers 110 and 111, and Supplied to
【0012】[プリンタ制御系の説明(図1)]図1は
プリンタ制御ユニット1の処理の流れを説明する図であ
る。同図において、2は印刷データ発生源である外部装
置、3は入力部、4は制御コード判別部、5・6・7は
制御コード解析部、8は展開部、9はフレームメモリ、
10は出力部、11は出力機構、12は記録媒体であ
る。[Explanation of Printer Control System (FIG. 1)] FIG. 1 is a diagram for explaining the processing flow of the printer control unit 1. In the figure, reference numeral 2 denotes an external device serving as a print data generation source, 3 denotes an input unit, 4 denotes a control code discriminating unit, 5.6.7 denotes a control code analyzing unit, 8 denotes a developing unit, 9 denotes a frame memory,
Reference numeral 10 denotes an output unit, 11 denotes an output mechanism, and 12 denotes a recording medium.
【0013】外部装置2から転送されたデータは、一旦
入力部3に格納される。入力部3に格納されたデータ量
が予め決められた基準値に達するか、又は基準値に達し
なくても最後のデータを格納してから一定時間以上経過
すると、入力部3に格納されたデータは、制御コード判
別部4に送られ、判別処理を行う。The data transferred from the external device 2 is temporarily stored in the input unit 3. If the amount of data stored in the input unit 3 reaches a predetermined reference value, or if a certain period of time has elapsed after storing the last data even if the data amount does not reach the reference value, the data stored in the input unit 3 Is sent to the control code discriminating unit 4 to perform a discriminating process.
【0014】ここで、ある程度の印刷データが格納され
てから判別処理を行うのには理由がある。すなわち、一
個の制御コードからだけでは、それ以降のデータのコー
ド体系を決定するには危険であるからであり、ある程度
の数の制御コードを判断の対象として処理した方がその
判断結果の信頼性が高くすることができるからである。
理想的には、外部記憶装置2から送られてくる一回の印
刷ジョブの印刷データを全て受信してから、その内容を
判断するのが望ましいが、このようにすると印刷が完了
するまでに時間がかかり問題となる。そこで、実施例で
は、数百バイト分のデータを受信したとき、あるいは印
刷データそのものが少ない場合を想定して、最後のデー
タを受信してから所定の時間が経過したときとした。Here, there is a reason why the discrimination processing is performed after a certain amount of print data is stored. In other words, using only one control code is dangerous to determine the code system of the data after that, and it is more reliable to process a certain number of control codes as judgment targets. Because it can be higher.
Ideally, it is desirable to determine the contents after receiving all the print data of a single print job sent from the external storage device 2. However, in this case, it takes time until printing is completed. Is a problem. Therefore, in the embodiment, when a few hundred bytes of data are received, or when the print data itself is small, a predetermined time has elapsed since the last data was received.
【0015】さて、こうして判断するだけのデータが入
力部3に格納されると、制御コード判別部4では、デー
タ中の制御コードがどの制御コード解析部のものに相当
するかの判断を行い、その結果、該当する制御コード解
析部5〜7のうちの1つを選んで受信した印刷データを
送出する。制御コード解析部5〜7のうちの1つによっ
て処理された情報は、展開部8に送られ、例えば1ペー
ジ分のビットマツプメモリの形式でフレームメモリ9上
に出力イメージが生成される。出力部10は、前記フレ
ームメモリに従って、出力機構11に対しレーザビーム
のON/OFF制御を行うことで、用紙等の記録媒体1
2に印刷結果を記録している。[0015] When the data for this determination is stored in the input unit 3, the control code determination unit 4 determines which control code analysis unit corresponds to the control code in the data. As a result, one of the corresponding control code analysis units 5 to 7 is selected and the received print data is transmitted. The information processed by one of the control code analysis units 5 to 7 is sent to the expansion unit 8, and an output image is generated on the frame memory 9 in the form of, for example, a bit map memory for one page. The output unit 10 performs on / off control of the laser beam for the output mechanism 11 in accordance with the frame memory to thereby control the output of the recording medium 1 such as paper.
2 records the print result.
【0016】ここで、実施例の制御コード判別部4につ
いて更に詳しく説明する。制御コード判別部4における
制御コードの判別基準は、以下の3段階に分れている。
ここでは、第1段階が最も厳密な判断基準となってお
り、段階が進むにつれて判断基準が緩くなるという特徴
がある。Here, the control code discriminating section 4 of the embodiment will be described in more detail. The control code discrimination criterion in the control code discrimination unit 4 is divided into the following three stages.
Here, the first stage is the strictest criterion, and the feature is that the criterion becomes looser as the stage progresses.
【0017】第1段階:その解析部の制御コードである
と判断できる特有の特徴がある。または、その解析部で
はないと判断できる明白な特徴がある。First stage: There is a unique feature that can be determined to be a control code of the analysis unit. Or, there is an obvious feature that can be determined not to be the analysis unit.
【0018】第2段階:その解析部に特有ではないが、
ほぼその解析部の制御コードであると判断できる特徴が
ある。又は、ほぼその解析部ではないと判断できる特徴
がある。Second stage: Although not specific to the analysis unit,
There is a feature that the control code can be almost determined as the control code of the analysis unit. Alternatively, there is a feature that it can be determined that it is not almost the analysis unit.
【0019】第3段階:その解析部で印字しても問題な
いと判断できる。Third stage: It can be determined that there is no problem even if printing is performed by the analysis unit.
【0020】上記判断を実現するため、制御コード判別
部4には、各制御コード解析部5〜7で使用される全制
御コード体系(あるいはその一部)を記憶するメモリを
備えている。このうち、各解析部自身に特有な制御コー
ド(あるいは、他の解析部では解析できない制御コー
ド)は、それと判別できるようにしておく(例えばフラ
グ等をセットする)。In order to realize the above judgment, the control code discriminating section 4 is provided with a memory for storing the entire control code system (or a part thereof) used in each of the control code analyzing sections 5-7. Among them, a control code unique to each analysis unit itself (or a control code that cannot be analyzed by another analysis unit) is determined so as to be distinguished therefrom (for example, a flag is set).
【0021】そして、実際には、第1段階では、入力部
3に格納されたデータ中、各解析部特有の制御コードが
存在するかを判断する。そして、第1段階の判断処理に
よって特定の解析部に絞り込めなかった場合には、判断
レベルを下げて第2段階の判断処理を行う。ここで言
う、第2段階の判断処理は先に示した通りであるが、具
体的を示せば以下の通りである。すなわち、一連の制御
コードの連結関係を調べていく。つまり、制御コードA
と制御コードBとはそれぞれの各解析部に共通にある
が、制御コードAの後に制御コードBが連続する、或い
は制御コードAの後には制御コードBは連続しない等、
特定の接続関係を有したりする場合を調べるのである。
従って、制御コード判別部4には、上述した情報の他
に、各制御コード解析部ごとにそれらで使用される制御
コードどうしの関係情報も記憶しておく。さた、この第
2段階の判断によっても、絞り込めなかった場合には、
判断レベルを更に下げて(第3段階で)、判断する。こ
こでは、各制御コード解析部がそれら入力した制御コー
ドを解析できるかどうかだけ判断する。万が一、どれに
よっても解析できないデータが送られてきたと判断した
ら、予め設定された解析部にその印刷データを渡す。Actually, in the first stage, it is determined whether there is a control code unique to each analysis unit in the data stored in the input unit 3. If it is not possible to narrow down to a specific analysis unit by the first-stage determination process, the determination level is lowered and the second-stage determination process is performed. Here, the determination process in the second stage is as described above, but the specifics are as follows. That is, the connection relation of a series of control codes is examined. That is, the control code A
And the control code B are common to the respective analysis units, but the control code B is continuous after the control code A, or the control code B is not continuous after the control code A.
Investigate the case of having a specific connection relationship.
Therefore, in addition to the above-mentioned information, the control code discriminating section 4 also stores, for each control code analyzing section, information on the relationship between control codes used by the control code analyzing sections. By the way, if you were not able to narrow down by the judgment of this second stage,
The judgment level is further lowered (at the third stage), and the judgment is made. Here, it is determined only whether each control code analysis unit can analyze the input control codes. If it is determined that data that cannot be analyzed by any of them has been sent, the print data is passed to a preset analysis unit.
【0022】上述した処理を実現するため、本実施例に
おける制御コード判別部4の動作処理のアルゴリズムを
示すと、図2のフローチヤートのごとくになる。以下、
順を追って説明する。FIG. 2 is a flowchart showing the algorithm of the operation process of the control code discriminating unit 4 in this embodiment to realize the above-described process. Less than,
It will be described step by step.
【0023】制御コード判別部4においては、先ず、ス
テツプS1で判別基準を最も厳しい第1段階に設定す
る。次のステツプS2では、初期状態として、全ての制
御コード解析部5〜7のいずれでも解析有効であること
にする。尚、説明が前後するが、、実施例における制御
コード解析部5〜7は予め設定された解析優先順位(こ
こでは制御コード解析部5、6、7の順番で優先順位が
高い)がある。従って、例えば、制御コード解析部6で
解析処理を行わせることに決定した場合には、制御コー
ド解析部7に対する判断処理は省く。The control code discriminating section 4 first sets the discriminating criterion to the strictest first step in step S1. In the next step S2, as an initial state, it is assumed that all of the control code analysis units 5 to 7 are valid for analysis. As will be described before and after, the control code analyzers 5 to 7 in the embodiment have a preset analysis priority (here, the control code analyzers 5, 6, and 7 have higher priorities). Therefore, for example, when it is determined that the control code analysis unit 6 performs the analysis process, the determination process for the control code analysis unit 7 is omitted.
【0024】さて、ステップS3では、制御コード解析
部5は現在、有効であるか否かを判断する。ステップS
2から処理が移行した場合、すべての解析部は有効にな
っているので、ここではステップS4に進むことにな
る。処理がステップS4に進と、こんどは入力部3に格
納されたデータを調べて、それが制御コード解析部5の
ものであるかどうかを判断する。ここで、制御コード解
析部5用のデータであると判断できれば、ステップS5
に進んで、受信した印刷データの解析処理を制御コード
解析部5に決定する。In step S3, the control code analyzer 5 determines whether or not it is currently valid. Step S
When the process shifts from 2, all the analysis units are valid, and the process proceeds to step S4 here. When the process proceeds to step S4, the data stored in the input unit 3 is examined to determine whether the data is for the control code analysis unit 5. Here, if it can be determined that the data is for the control code analysis unit 5, step S5
Then, the control code analyzing unit 5 determines the analysis processing of the received print data.
【0025】また、現在の判断レベルでは、受信した印
刷データを制御コード解析部5で処理させると決定でき
ないと判断したら、ステップS6に進み、今度はそのデ
ータが制御コード解析部5でないと判断できるかを調べ
る。制御コード解析部5では解析でないデータであると
判断したら、ステップS7に進んで、制御コード解析部
5を無効状態にする。If it is determined at the current determination level that the received print data cannot be processed by the control code analysis unit 5, the process proceeds to step S6, where it can be determined that the data is not the control code analysis unit 5. Find out what. If the control code analysis unit 5 determines that the data is not analyzed, the process proceeds to step S7, where the control code analysis unit 5 is set to the invalid state.
【0026】次に、処理ステップS8に進み、上述した
ステップS3〜ステップS7と同等の処理を、制御コー
ド解析部6に対して行う。そして、制御コード解析部6
に決定できない場合には、制御コード解析部7に対して
同様の処理を行う(ステップS13〜ステップS1
7)。Next, the process proceeds to a processing step S8, where the same processing as the above-described steps S3 to S7 is performed on the control code analyzing unit 6. Then, the control code analysis unit 6
If it cannot be determined to be the same, the same processing is performed on the control code analysis unit 7 (steps S13 to S1).
7).
【0027】そして、制御コード解析部7に決定できな
い場合には、ステップS18に進み、現在の判断レベル
は第3段階であるかどうかを判断する。第3段階、すな
わち、これ以上レベルを下げることができないと判断し
たら、ステップS15に進んで、予め設定された解析部
を選択し、処理を継続させる。また、現在のレベルが第
1或いは第2段階であれば、ステップS20に進んで、
レベルを下げ、そしてステップS3に戻って上述した処
理を実行する。尚、以前の段階において、その解析部で
はないと既に判断されてた(無効にされた)制御コード
解析部に対しては、判断処理は行わない(ステツプS
3、S8、S13)。これにより、無駄な判断処理を行
わなくても済むので、判別処理時間の短縮を図ることが
できる。If the control code analysis unit 7 cannot determine, the process proceeds to step S18 to determine whether the current determination level is the third level. In the third stage, that is, when it is determined that the level cannot be lowered any more, the process proceeds to step S15, where a preset analysis unit is selected, and the process is continued. If the current level is the first or second stage, the process proceeds to step S20,
The level is lowered, and the process returns to step S3 to execute the above-described processing. It should be noted that the determination process is not performed on the control code analyzer that has already been determined (invalidated) not to be the analyzer in the previous stage (step S).
3, S8, S13). This eliminates the need for performing unnecessary determination processing, thereby shortening the determination processing time.
【0028】ここで、実施例のプリンタ制御ユニット1
の具体的構成を図3に示す。図中、1が実施例のプリン
タ制御部ユニットであり、2が印刷情報を出力してくる
外部装置である。21は外部装置2より印刷情報を入力
する入力インタフエースで、22は制御部1全体に制御
を司るCPUである。23はCPU22の動作処理手順
(図2のフローチヤートに係るプログラム等)を記憶し
ていると共に、文字フォントパターン等を記憶している
ROM、24はCPU22のワークエリア、外部装置2
より受信した印刷データを格納するための受信バツフ
ア、受信した印刷情報から1ページ分の出力イメージを
構築するためのページデータ等の格納に用いられるRA
Mである。25は出力イメージを展開するフレームメモ
リであり、これもRAMで構成される。26は出力イメ
ージを、実際に印刷を行う出力部10に出力するための
出力インタフエースである。これら各構成要素はシステ
ムバス31に接続されている。Here, the printer control unit 1 of the embodiment
3 is shown in FIG. In the figure, reference numeral 1 denotes a printer control unit of the embodiment, and 2 denotes an external device for outputting print information. Reference numeral 21 denotes an input interface for inputting print information from the external device 2, and reference numeral 22 denotes a CPU that controls the entire control unit 1. A ROM 23 stores an operation processing procedure of the CPU 22 (a program related to the flowchart in FIG. 2) and also stores a character font pattern and the like, 24 a work area of the CPU 22, an external device 2
RA used to store a reception buffer for storing received print data and page data for constructing an output image for one page from the received print information.
M. Reference numeral 25 denotes a frame memory for developing an output image, which is also constituted by a RAM. Reference numeral 26 denotes an output interface for outputting an output image to the output unit 10 that actually performs printing. These components are connected to the system bus 31.
【0029】以上説明したように本実施例によれば、複
数の制御コード解析部を持つ印刷装置において、外部装
置からの制御コード解析し自動的に使用する制御コード
解析部を選択することができるので、利用者が使用する
制御コード解析部を予め操作パネルを用いて設定した
り、外部装置からの専用コマンドによって設定しておく
必要がなくなるので、外部装置との接続操作が容易とな
る。As described above, according to the present embodiment, in a printing apparatus having a plurality of control code analysis units, it is possible to analyze a control code from an external device and select a control code analysis unit to be automatically used. Therefore, there is no need to set the control code analysis unit used by the user using the operation panel in advance or to set the control code analysis unit using a dedicated command from the external device. This facilitates the connection operation with the external device.
【0030】又、制御コード判別の基準を複数段階持
ち、基準の厳しい順番に判別処理を行い、前段階におい
てその解析部の制御コードでないと判断されていた場合
は、以降の判別処理を禁止することにより、非常に確率
の高い制御コード判別処理を容易に実現することがで
き、また判別処理時間の短縮も図ることができる。The control code has a plurality of criteria for discriminating the control code, and the discriminating process is performed in the order of the stricter criteria. This makes it possible to easily realize a control code discrimination process with a very high probability, and to shorten the discrimination processing time.
【0031】尚、上記実施例において、制御コード判別
部4における判別基準は3段階に限定されるものではな
く何段階でも構わない。また、制御コード解析部5・6
・7も3種類に限定されるものではなく、2種類或いは
4種類以上でも構わない。更に、制御コード解析部とそ
れに対応する制御コード判別部を一つのプログラム単位
として扱い、これを自由に組み合せることで、拡張性に
すぐれた印刷装置とすることも可能である。In the above embodiment, the criterion for the control code discriminating section 4 is not limited to three steps but may be any number. Also, the control code analysis units 5 and 6
7 is not limited to three types, but may be two types or four or more types. Further, by treating the control code analysis unit and the corresponding control code discrimination unit as one program unit and freely combining them, a printing apparatus with excellent expandability can be obtained.
【0032】また、実施例では印刷装置そのものに適応
した例を説明したが、本発明の装置をホストコンピュー
タと印刷装置の間に位置する独立した装置としても全く
構わない。この場合、後続のプリンタには図3で言うフ
レームメモリ25に展開されたイメージデータを出力す
ればよい。また、場合によっては、後続するプリンタ用
に受信データを変換して出力するようにしても良い。従
って、本発明は上述したプリンタの印刷方式によって限
定されるものでもない。Although the embodiment has been described with respect to an example in which the present invention is applied to the printing apparatus itself, the apparatus of the present invention may be an independent apparatus located between the host computer and the printing apparatus. In this case, the image data developed in the frame memory 25 shown in FIG. 3 may be output to the subsequent printer. In some cases, the received data may be converted and output for a subsequent printer. Therefore, the present invention is not limited by the printing method of the printer described above.
【0033】[0033]
【発明の効果】以上説明したように本発明によれば、格
別な指示を与えなくても入力情報に対して適切な解釈部
を効率良く決定し、意図した出力結果を得ることが可能
になる。As described above, according to the present invention, it is possible to efficiently determine an appropriate interpreting section for input information without giving a special instruction, and obtain an intended output result. .
【0034】[0034]
【0035】[0035]
【図1】実施例における印刷装置の処理の流れを示す図
である。FIG. 1 is a diagram illustrating a processing flow of a printing apparatus according to an embodiment.
【図2】制御コード判別部における処理を示すフローチ
ヤートである。FIG. 2 is a flowchart showing a process in a control code determining unit.
【図3】実施例の印刷装置の具体的構成図である。FIG. 3 is a specific configuration diagram of the printing apparatus according to the embodiment.
【図4】レーザビームプリンタの内部構造を示す断面図
である。FIG. 4 is a sectional view showing an internal structure of the laser beam printer.
1 プリンタ制御ユニット 2 外部装置 3 入力部 4 制御コード判別部 5〜7 制御コード解析部 8 展開部 9 フレームメモリ 10 出力部 11 出力機構 12 記録媒体 DESCRIPTION OF SYMBOLS 1 Printer control unit 2 External device 3 Input part 4 Control code discrimination part 5-7 Control code analysis part 8 Development part 9 Frame memory 10 Output part 11 Output mechanism 12 Recording medium
フロントページの続き (56)参考文献 特開 平2−178725(JP,A) 特開 昭59−167745(JP,A) 特開 平5−11943(JP,A) 特開 平5−104826(JP,A) 特開 平2−156325(JP,A) 特開 平3−142271(JP,A) 特開 平5−138995(JP,A) 特開 平5−75762(JP,A) 特開 平5−177885(JP,A) (58)調査した分野(Int.Cl.6,DB名) B41J 29/38 B41J 5/30 G06T 11/00 G06F 3/12Continuation of the front page (56) References JP-A-2-178725 (JP, A) JP-A-59-167745 (JP, A) JP-A-5-11943 (JP, A) JP-A-5-104826 (JP) JP-A-2-156325 (JP, A) JP-A-3-142271 (JP, A) JP-A-5-138995 (JP, A) JP-A-5-75762 (JP, A) 5-177885 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) B41J 29/38 B41J 5/30 G06T 11/00 G06F 3/12
Claims (10)
ための複数の解釈部の中から、第1の判断基準に従って
入力情報を解析することにより、該当する解釈部を選択
する第1の選択手段と、 該第1の選択手段でもって前記入力情報を解釈させる解
釈部がなく、選択できなかった場合、前記第1の判断基
準よりも低い第2の判断基準に従って入力情報を解析
し、該当する解釈部を選択する第2の選択手段と、 前記第1、第2の選択手段によって選択された解釈部で
前記入力情報を解釈させ、出力情報を情報を生成し、出
力する出力手段とを備えることを特徴とする出力装置。1. A first selection unit that selects a corresponding interpretation unit by analyzing input information according to a first determination criterion from among a plurality of interpretation units for interpreting input information and generating output information. Means, there is no interpreting unit for interpreting the input information by the first selecting means, and if the input information cannot be selected, the input information is analyzed in accordance with a second criterion lower than the first criterion, and Second selecting means for selecting an interpreting section to be executed; and output means for causing the interpreting section selected by the first and second selecting means to interpret the input information, generate output information, and output the information. An output device, comprising:
基準で、前記入力情報が個々の解釈部が解釈できるかを
順に判断し、解釈できる解釈部が存在すると判断した場
合には該当する解釈部を選択することを特徴とする請求
項第1項に記載の出力装置。2. The method according to claim 1, wherein the first selection unit sequentially determines whether the input information can be interpreted by each of the interpretation units based on the first determination criterion. The output device according to claim 1, wherein a corresponding interpretation unit is selected.
手段によって該当する解釈部を特定できなかった場合
に、前記第2の判断基準に従い個々の解釈部が前記入力
情報を解釈できるかを順に判断し、解釈できる解釈部が
存在すると判断した場合には該当する解釈部を選択する
ことを特徴とする請求項第1項又は第2項のいずれかに
記載の出力装置。3. The second selecting unit, when the corresponding interpreting unit cannot be specified by the first selecting unit, allows each interpreting unit to interpret the input information according to the second determination criterion. 3. The output device according to claim 1, wherein the output device is determined in order, and when it is determined that there is an interpreter that can be interpreted, the corresponding interpreter is selected. 4.
印刷部に出力することを特徴とする請求項第1項に記載
の出力装置。4. The output device according to claim 1, wherein the output unit outputs the output information to a predetermined printing unit.
有することを特徴とする請求項第4項に記載の出力装
置。5. The output device according to claim 4, further comprising a printing unit for outputting by said output unit.
1つの解釈部特有の印刷制御情報が含まれるか否かであ
り、 前記第2の判断基準は、制御情報の並び順が1つの解釈
部に特有なものであるか否かであることを特徴とする請
求項第1項に記載の出力装置。6. The method according to claim 1, wherein the first criterion is:
Whether or not print control information unique to one interpreting unit is included, and the second criterion is whether or not the arrangement order of the control information is specific to one interpreting unit. The output device according to claim 1, wherein
ための複数の解釈部の中から、第1の判断基準に従って
入力情報を解析することにより、該当する解釈部を選択
する第1の選択工程と、 該第1の選択工程でもって前記入力情報を解釈させる解
釈部がなく、選択できなかった場合、前記第1の判断基
準より低い第2の判断基準に従って入力情報を解析し、
該当する解釈部を選択する第2の選択工程と、 前記第1、第2の選択工程によって選択された解釈部で
前記入力情報を解釈させ、出力情報を情報を生成し、出
力する出力工程とを備えることを特徴とする出力方法。7. A first selection for selecting a corresponding interpretation unit from a plurality of interpretation units for interpreting input information and generating output information by analyzing the input information according to a first determination criterion. And if there is no interpreting unit for interpreting the input information in the first selecting step, and the input information cannot be selected, the input information is analyzed according to a second criterion lower than the first criterion,
A second selecting step of selecting a corresponding interpreting section, an output step of causing the interpreting section selected by the first and second selecting steps to interpret the input information, generate output information, and output the information. An output method, comprising:
基準で、前記入力情報が個々の解釈部が解釈できるかを
順に判断し、解釈できる解釈部が存在すると判断した場
合には該当する解釈部を選択することを特徴とする請求
項第7項に記載の出力方法。8. The first selecting step sequentially determines whether or not the input information can be interpreted by an individual interpreting unit based on the first criterion, and when it is determined that there is an interpreting unit that can be interpreted, 8. The output method according to claim 7, wherein a corresponding interpreter is selected.
工程によって該当する解釈部を特定できなかった場合
に、前記第2の判断基準に従い個々の解釈部が前記入力
情報を解釈できるかを順に判断し、解釈できる解釈部が
存在すると判断した場合には該当する解釈部を選択する
ことを特徴とする請求項第7項又は第8項のいずれかに
記載の出力方法。9. In the second selecting step, when the corresponding interpreting section cannot be specified by the first selecting step, each interpreting section can interpret the input information according to the second criterion. The output method according to claim 7, wherein the output method is determined in order, and when it is determined that there is an interpreter that can be interpreted, the corresponding interpreter is selected.
の印刷部に出力することを特徴とする請求項第7項に記
載の出力方法。10. The output method according to claim 7, wherein the output step outputs the output information to a predetermined printing unit.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2848592A JP2860201B2 (en) | 1992-02-14 | 1992-02-14 | Output device and method |
| US08/016,461 US5469373A (en) | 1992-02-14 | 1993-02-11 | Printing apparatus and method that discriminates which analyzer should analyze information |
| DE69321006T DE69321006T2 (en) | 1992-02-14 | 1993-02-12 | Dispensing method and device |
| EP93301021A EP0556059B1 (en) | 1992-02-14 | 1993-02-12 | Output method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2848592A JP2860201B2 (en) | 1992-02-14 | 1992-02-14 | Output device and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05221090A JPH05221090A (en) | 1993-08-31 |
| JP2860201B2 true JP2860201B2 (en) | 1999-02-24 |
Family
ID=12249970
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2848592A Expired - Fee Related JP2860201B2 (en) | 1992-02-14 | 1992-02-14 | Output device and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2860201B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101059754B (en) | 1996-05-14 | 2010-08-18 | 株式会社理光 | Java printer |
-
1992
- 1992-02-14 JP JP2848592A patent/JP2860201B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05221090A (en) | 1993-08-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3165268B2 (en) | Print information processing method and apparatus | |
| US5469373A (en) | Printing apparatus and method that discriminates which analyzer should analyze information | |
| JP2860201B2 (en) | Output device and method | |
| JP3029136B2 (en) | Output method and device | |
| JPH08179974A (en) | Data processing method and apparatus | |
| JP2595855B2 (en) | Printer control device | |
| JP3049158B2 (en) | Character processing device and character processing method of character processing device | |
| JPH05324930A (en) | Image forming device and control method for the device | |
| JP3167775B2 (en) | Image forming method and apparatus | |
| JP2968161B2 (en) | Printing control device | |
| JPH0926860A (en) | Printing device and data communication method of printing device | |
| JP3121103B2 (en) | Character processing apparatus and method | |
| JP2915673B2 (en) | Print control device and print data identification method | |
| JP2981400B2 (en) | Printing apparatus and data processing method for printing apparatus | |
| JPH09146521A (en) | Output control device and method | |
| JP3167070B2 (en) | Print control method and print control device | |
| JP2958226B2 (en) | Print control device and print control method | |
| JP3199544B2 (en) | Printing apparatus and printing control method | |
| JP3187262B2 (en) | Character data processing method, character data processing apparatus, and image forming apparatus | |
| JP2891857B2 (en) | Printing apparatus and printing method | |
| JP3359318B2 (en) | Printing apparatus, print control method, and print control apparatus | |
| JPH07256974A (en) | Image forming apparatus and control method thereof | |
| JPH07195760A (en) | Printer controller | |
| JPH05338280A (en) | Printing method and apparatus | |
| JPH0784738A (en) | Printing controller and printing control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19981030 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081204 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091204 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091204 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101204 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111204 Year of fee payment: 13 |
|
| LAPS | Cancellation because of no payment of annual fees |