JPH0863302A - Printing apparatus and control method thereof - Google Patents
Printing apparatus and control method thereofInfo
- Publication number
- JPH0863302A JPH0863302A JP7136821A JP13682195A JPH0863302A JP H0863302 A JPH0863302 A JP H0863302A JP 7136821 A JP7136821 A JP 7136821A JP 13682195 A JP13682195 A JP 13682195A JP H0863302 A JPH0863302 A JP H0863302A
- Authority
- JP
- Japan
- Prior art keywords
- command
- emulation
- emulation program
- print data
- printing 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.)
- Granted
Links
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
(57)【要約】
【目的】 エミュレーションの判定を迅速に行え、エミ
ュレーションの変更にも対応しやすい印刷装置を提供す
る。
【構成】 印刷装置に印刷データが入力されると、動作
可能なエミュレーションのコマンド解析テーブルを取得
し、入力データと前記データとを比較する(S10)。
コマンドが優先コマンドテーブルにあれば、当該テーブ
ルに対応するエミュレーションと判定する(S12)。
なければ、他のエミュレーションのコマンド解析テーブ
ルについても同様に照合する。なければ、つぎに、コマ
ンドテーブルと印刷データのコマンドとを照合し、一致
したコマンド数に応じてエミュレーションを決定する。
(57) [Abstract] [Purpose] To provide a printing device that can quickly determine emulation and can easily respond to changes in emulation. When print data is input to a printing device, an operable emulation command analysis table is acquired, and the input data is compared with the data (S10).
If the command is in the priority command table, it is determined that the emulation corresponds to the table (S12).
If not, the command analysis tables of other emulations are also checked in the same manner. If not, next, the command table and the command of the print data are collated, and the emulation is determined according to the number of coincident commands.
Description
【0001】[0001]
【産業上の利用分野】本発明は、複数のエミュレーショ
ンプログラムを有し、入力されるデータに適合したエミ
ュレーションプログラムを用いて出力を行う印刷装置及
びその制御方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus having a plurality of emulation programs and performing output using an emulation program suitable for input data, and a control method thereof.
【0002】[0002]
【従来の技術】従来、複数のエミュレーションプログラ
ムを有する印刷装置においては、エミュレーションプロ
グラムを切り替える方法として次のような方法がある。2. Description of the Related Art Conventionally, in a printing apparatus having a plurality of emulation programs, there are the following methods for switching the emulation programs.
【0003】1.印刷データに先だってエミュレーショ
ン識別コマンドを入力し、それにしたがって、エミュレ
ーションプログラムを切り替える。1. The emulation identification command is input prior to the print data, and the emulation program is switched accordingly.
【0004】2.受信した印刷データの内の所定量のデ
ータを、各エミュレーションプログラムのコマンドコー
ドと比較してその使用頻度等を計算し、その値に応じて
エミュレーションプログラムを切り替える。2. A predetermined amount of data in the received print data is compared with the command code of each emulation program to calculate the usage frequency and the like, and the emulation program is switched according to the value.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、上記従
来例の第1の方法では、あらかじめどのエミュレーショ
ンプログラムを用いるかあらかじめ知らなければならな
いし、第2の方法ではエミュレーションプログラムの判
別に多大の時間がかかってしまう。[SUMMARY OF THE INVENTION However, in the first method of the above prior art, do not have to know in advance whether to use the advance which emulation program, takes much time to determine the emulation program in the second method Will end up.
【0006】また、第2の方法では、受信データに含ま
れる各エミュレーションプログラムが解釈するコマンド
を解析するが、解析に用いるコマンドを登録したコマン
ド解析テーブルを、印刷装置を制御する制御プログラム
内に格納してしまうと、あらかじめサポートが決まって
いるエミュレーションプログラムのみの自動エミュレー
ション切替機能になってしまい、新たにサポートされる
エミュレーションプログラムには対応できない、という
欠点があった。In the second method, the command interpreted by each emulation program included in the received data is analyzed, but the command analysis table in which the command used for the analysis is registered is stored in the control program for controlling the printing apparatus. If this happens, the automatic emulation switching function of only the emulation programs that have been decided in advance will be used, and there is the drawback that it will not be possible to support newly supported emulation programs.
【0007】また、エミュレーションによっては、同一
な意味を持つコマンドが複数存在することがあり、それ
らを個々にコマンドテーブルに登録したり、個々に検索
することは、エミュレーションプログラムの判別に多大
な時間がかかってしまうという欠点があった。Further, depending on the emulation, there may be a plurality of commands having the same meaning, and registering them individually in the command table or searching them individually takes a lot of time to determine the emulation program. There was a drawback that it would take.
【0008】本発明は上記従来例に鑑みてなされたもの
で、エミュレーションプログラムを入力された印刷デー
タから短時間で判別することができ、さらに、新たなエ
ミュレーションプログラムの追加や、既存のエミュレー
ションプログラムへのコマンドの追加などに対応できる
印刷装置及びその制御方法を提供することを目的とす
る。The present invention has been made in view of the above-mentioned conventional example, and an emulation program can be discriminated from input print data in a short time, and a new emulation program can be added or an existing emulation program can be added. It is an object of the present invention to provide a printing apparatus and a control method thereof that can cope with the addition of such commands.
【0009】[0009]
【課題を解決するための手段】上記目的を達成するため
に、本発明の印刷装置は次のような構成から成る。すな
わち、複数のエミュレーションプログラムを有する印刷
装置であって、前記各エミュレーションプログラムの特
徴情報を前記エミュレーションプログラムに対応して登
録する登録手段と、入力された印刷データと、前記登録
手段により登録された特徴情報とを照合し、入力された
印刷データに適合するエミュレーションプログラムを判
定する判定手段と、前記判定手段による判定に応じて、
印刷データに適合するエミュレーションプログラムを実
行して印刷出力する印刷制御手段とを備える。In order to achieve the above object, the printing apparatus of the present invention has the following construction. That is, in a printing apparatus having a plurality of emulation programs, registration means for registering the characteristic information of each emulation program in correspondence with the emulation program, input print data, and the characteristics registered by the registration means. According to the judgment by the judgment means for comparing the information with the judgment means for judging the emulation program suitable for the input print data,
And a print control unit for executing printout by executing an emulation program suitable for print data.
【0010】また、本発明の印刷制御方法は次のような
構成から成る。すなわち、複数のエミュレーションプロ
グラムを有する印刷装置の制御方法であって、前記各エ
ミュレーションプログラムごとに対応した特徴情報と、
入力された印刷データとを照合し、入力された印刷デー
タに適合するエミュレーションプログラムを判定する判
定工程と、前記判定工程による判定に応じて、印刷デー
タに適合するエミュレーションプログラムを実行して印
刷出力する印刷制御工程とを備える。The print control method of the present invention has the following configuration. That is, a method of controlling a printing apparatus having a plurality of emulation programs, wherein characteristic information corresponding to each of the emulation programs,
A judgment step of checking the input print data and judging an emulation program suitable for the input print data, and an emulation program suitable for the print data is executed and printed out in accordance with the judgment by the judgment step. A print control step.
【0011】[0011]
【作用】上記構成により、印刷データを、エミュレーシ
ョンプログラムと対応した特徴情報と照合し、エミュレ
ーションプログラムを判定する。With the above structure, the print data is collated with the characteristic information corresponding to the emulation program to determine the emulation program.
【0012】[0012]
(第1実施例)以下、本発明の実施例である印刷装置
を、図面を参照して詳細に説明する。(First Embodiment) Hereinafter, a printing apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings.
【0013】図1は実施例の印刷装置の構成を説明する
ブロック図である。図において、印刷装置本体1は、デ
ータ供給源となるホストコンピュータ2より印刷データ
を受信する。CPU3は印刷装置本体1内のすべてを制
御する。入力インターフェース4は、ホストコンピュー
タ2より送られてくる印刷データを入力する。プログラ
ムROM5は、後述する図3、図5のフローチャートに
示す制御プログラムが格納されている。フォントROM
6は、入力した印刷データ中の文字コードに対応するス
ケーラブルフォント(文字をドット信号ではなく、スト
ローク情報で表して記憶した文字)を格納したROMで
ある。内蔵RAM7はCPU3のメモリ媒体となり、入
力インタフェース4を介して入力した印刷データ(文字
コードや制御コードからなる例えばページ記述言語)を
一時的に格納する受信バッファやCPU3によって生成
されたビットイメージデータを格納するビットマップメ
モリやワークエリアに割り当てられる。このワークエリ
アには複数のエミュレーションプログラムやテーブルが
格納される。出力部8は印刷を行うプリンタエンジンで
ある。FIG. 1 is a block diagram for explaining the arrangement of the printing apparatus according to the embodiment. In the figure, the printing apparatus main body 1 receives print data from a host computer 2 which is a data supply source. The CPU 3 controls everything inside the printer body 1. The input interface 4 inputs print data sent from the host computer 2. The program ROM 5 stores a control program shown in the flowcharts of FIGS. 3 and 5 described later. Font ROM
Reference numeral 6 denotes a ROM that stores a scalable font (a character in which a character is represented by stroke information rather than a dot signal and stored) corresponding to a character code in input print data. The built-in RAM 7 serves as a memory medium of the CPU 3, and stores a receive buffer for temporarily storing print data (for example, a page description language including a character code and a control code) input via the input interface 4 and bit image data generated by the CPU 3. It is assigned to the bitmap memory and work area to store. A plurality of emulation programs and tables are stored in this work area. The output unit 8 is a printer engine that performs printing.
【0014】<コマンド解析テーブルの構造>図2は各
エミュレーションプログラム毎に用意するコマンド解析
テーブルの構造であり、当該テーブルはRAM7のワー
クエリアに格納されている。<Structure of Command Analysis Table> FIG. 2 shows the structure of the command analysis table prepared for each emulation program, and the table is stored in the work area of the RAM 7.
【0015】(a)はその構成を説明する図であり、
「テーブル識別フラグ」はこのコマンド解析テーブル9
が有効であるか否かを識別するフラグ、「テーブルサイ
ズ」はコマンド解析テーブルの先頭からのコマンド解析
テーブルサイズ、「テーブル情報」はそれに続くコマン
ドテーブル内のコマンドが制御コード型か文字列コード
型か等のコマンド情報を備えるフラグ、「優先コマンド
テーブルへの相対ポインタ」は優先コマンドテーブル1
3までのテーブル識別フラグからの相対ポインタ、「コ
マンドテーブルへの相対ポインタ」はコマンドテーブル
10までのテーブル識別フラグからの相対ポインタ、
「優先コマンドテーブル」はそのコマンドが印刷データ
中に1つでも存在したらそのコマンドを含むエミュレー
ションプログラムに決定してしまうような優先コマンド
を登録したコマンドテーブル、「コマンドテーブル」1
0はそのエミュレーションプログラム独自のコマンドを
登録しているテーブルを示す。(A) is a diagram for explaining the configuration,
The “table identification flag” is the command analysis table 9
Flag that identifies whether or not is valid, "Table size" is the command analysis table size from the beginning of the command analysis table, and "Table information" is the command in the command table that follows it is a control code type or character string code type A flag having command information such as "priority command table 1" is "relative pointer to priority command table".
Relative pointers from the table identification flags up to 3, "Relative pointers to the command table" are relative pointers from the table identification flags up to the command table 10,
The "priority command table" is a command table in which a priority command is registered such that if any one of the commands exists in the print data, the emulation program including the command is determined, "command table" 1
0 indicates a table in which commands unique to the emulation program are registered.
【0016】また、相対ポインタで場所を示しているの
で、優先コマンドテーブルとコマンドテーブルとは、コ
マンド解析テーブル本体と連続していなくてもよい。Since the location is indicated by the relative pointer, the priority command table and the command table do not have to be continuous with the command analysis table body.
【0017】図2(b)はコマンドテーブル10及び優
先コマンドテーブル13の構成を説明する図である。
「コマンド形式」は登録されたコマンドの先頭コードが
何バイトで構成されているかとか、制御コードで構成さ
れているとか、文字列のみのコマンドであるかなどとい
った情報を示すフラグで、次の「コマンド形式」フィー
ルドの前までが1つのコマンドのエントリとなる。「先
頭コード」はそのエミュレーションプログラム独自のコ
マンドの先頭部分を登録する。「サイズ」はそのコマン
ドがテーブルにおいて占める大きさで、「コマンド形
式」フィールドから次の「コマンド形式」フィールドま
でのサイズである。「終端子の数」はそのコマンドの先
頭コードに続く終端子の数、「終端子」はそのコマンド
の先頭コードに続くコード列を示す。FIG. 2B is a diagram for explaining the structures of the command table 10 and the priority command table 13.
The “command format” is a flag that indicates information such as how many bytes the head code of the registered command is composed of, the control code, and whether the command is a character string only. The entry up to the front of the "command format" field is one command entry. The "head code" registers the head part of the command unique to the emulation program. “Size” is the size occupied by the command in the table, and is the size from the “command format” field to the next “command format” field. The "number of terminators" indicates the number of terminators following the start code of the command, and the "terminator" indicates the code string following the start code of the command.
【0018】<エミュレーションプログラムの切替処理
>図3はエミュレーションプログラムを読み込むために
必要なエミュレーション情報部11の構成図である。図
3はコマンド解析テーブルを設けた時のエミュレーショ
ン情報部の構成を示す。「エミュレーション識別フラ
グ」はエミュレーション読み込み時に有効なエミュレー
ションプログラムかを識別するフラグ、「エミュレーシ
ョンサイズ」はベースアドレスからエミュレーションプ
ログラムの終了アドレスまでのサイズ、「コマンド解析
テーブルへの相対ポインタ」はベースアドレスからコマ
ンド解析テーブルまでの相対アドレスを示す。このエミ
ュレーション情報部11の情報にしたがって、コマンド
解析テーブル9を参照し、エミュレーションプログラム
を決定してそれにしたがってプログラム本体12をCP
U3が実行する。<Emulation Program Switching Process> FIG. 3 is a block diagram of the emulation information section 11 required to read the emulation program. FIG. 3 shows the configuration of the emulation information section when the command analysis table is provided. "Emulation identification flag" is a flag for identifying whether it is a valid emulation program when emulation is read, "Emulation size" is the size from the base address to the end address of the emulation program, and "Relative pointer to command analysis table" is the command from the base address. The relative address to the analysis table is shown. According to the information of the emulation information section 11, the command analysis table 9 is referred to, the emulation program is determined, and the program body 12 is CP-processed accordingly.
U3 executes.
【0019】このようにコマンド解析テーブルを各エミ
ュレーションプログラムごとにもたせ、エミュレーショ
ンを実現するためのエミュレーションプログラムと共に
エミュレーション情報及びコマンド解析情報を印刷装置
1内のRAM7のワークエリアに供給することにより、
新たにサポートされるエミュレーションプログラムに対
しても自動エミュレーション切り換えを行うことが可能
となる。As described above, the command analysis table is provided for each emulation program, and the emulation information and the command analysis information together with the emulation program for realizing the emulation are supplied to the work area of the RAM 7 in the printer 1.
It is possible to automatically switch emulation even for newly supported emulation programs.
【0020】図4は自動エミュレーション切替の処理手
順を説明するフローチャートである。以下、このフロー
チャートに従って説明していく。なお、このフローチャ
ートに示す制御プログラムはプログラムROM5に格納
されCPU3により実行される。FIG. 4 is a flow chart for explaining the processing procedure for automatic emulation switching. Hereinafter, description will be made according to this flowchart. The control program shown in this flowchart is stored in the program ROM 5 and executed by the CPU 3.
【0021】先ずステップS1でRAM7内の受信バッ
ファに印刷データがあるか否かをチェックする。受信デ
ータがない間は印刷データ待ち状態となる。受信バッフ
ァに印刷データがたまったなら、ステップS2でRAM
7内の受信バッファより一定量の印刷データを獲得す
る。First, in step S1, it is checked whether or not there is print data in the reception buffer in the RAM 7. The printer waits for print data while there is no received data. If print data is accumulated in the receive buffer, RAM is stored in step S2.
A certain amount of print data is acquired from the reception buffer in 7.
【0022】次にステップS3でコマンドの解析処理を
行って、受信した印刷データに適合するエミュレーショ
ンプログラムを判別する。コマンド解析処理の説明は図
4のフローチャートで行う。例えば受信したページ記述
言語Aに適合するエミュレーションプログラムAを判別
する。Next, in step S3, a command analysis process is performed to determine an emulation program suitable for the received print data. The command analysis process will be described with reference to the flowchart of FIG. For example, the emulation program A suitable for the received page description language A is determined.
【0023】次にステップS4で判別結果を参照し、判
別できていればステップS5でエミュレーションプログ
ラムの動作モードを獲得し、ステップS6でそのエミュ
レーションプログラムを実行して印刷処理を行う。Next, the discrimination result is referred to in step S4. If the discrimination result can be obtained, the operation mode of the emulation program is acquired in step S5, and the emulation program is executed in step S6 to perform the printing process.
【0024】判別ができなかった場合は、ステップS7
で予め決められているエミュレーションプログラムを実
行して印刷処理を行う。If the determination cannot be made, step S7
The printing process is performed by executing an emulation program that is determined in advance.
【0025】印刷処理が終了した後に、ステップS8で
コマンド解析処理準備状態へ移行した後、RAM7内の
受信バッファへの印刷データ待ち状態になり、ステップ
S1から繰り返し処理される。After the printing process is completed, a transition is made to the command analysis process preparation state in step S8, and then a waiting state for print data to the receiving buffer in the RAM 7 is entered, and the process is repeated from step S1.
【0026】図5は図4のステップS3のコマンド解析
処理手順を具体的に説明するフローチャートである。以
下、このフローチャートに従って説明していく。なお、
このフローチャートに示す制御プログラムはプログラム
ROM5に格納され、CPU3により実行される。FIG. 5 is a flow chart for concretely explaining the command analysis processing procedure of step S3 of FIG. Hereinafter, description will be made according to this flowchart. In addition,
The control program shown in this flowchart is stored in the program ROM 5 and executed by the CPU 3.
【0027】まずステップS9で印刷装置1において現
在動作可能であるエミュレーションプログラムのコマン
ド解析テーブルをRAM7内のワークエリアから1つ取
得する。次にステップS10で一定量受信バッファから
獲得した受信データ(ステップS2で獲得)とコマンド
解析テーブルの優先コマンドテーブル13内のコマンド
とを比較する。ステップS11で、優先コマンドテーブ
ル13に一致するコマンドが受信データ中に存在するか
否かを判定し、1つでも存在すれば、その時点で比較処
理を終了し、ステップS12でその一致したテーブルの
エミュレーションプログラムのIDをエミュレーション
識別フラグから取得して、判別できたものとしてリター
ンする。First, in step S9, one command analysis table of the emulation program that is currently operable in the printer 1 is acquired from the work area in the RAM 7. Next, in step S10, the received data (obtained in step S2) acquired from the fixed amount reception buffer is compared with the command in the priority command table 13 of the command analysis table. In step S11, it is determined whether or not a command matching the priority command table 13 is present in the received data. If even one command is present, the comparison process is terminated at that point, and in step S12 the matching table The ID of the emulation program is acquired from the emulation identification flag, and it is returned as if it was determined.
【0028】もし、優先コマンドテーブル13に1つも
一致するコマンドが存在しなければ、ステップS13で
他のエミュレーションプログラムのコマンド解析テーブ
ルがあるか否かを判断し、あればステップS14でその
コマンド解析テーブルを獲得して、再び獲得した受信デ
ータと優先コマンドテーブル13内のコマンドとを前述
した様に比較する。他のコマンド解析テーブルがなかっ
た場合は、ステップS15で今度はコマンドテーブル1
0内のコマンドとの比較を行う。If there is no matching command in the priority command table 13, it is determined in step S13 whether or not there is a command analysis table of another emulation program, and if there is, a command analysis table in step S14. Is obtained, and the received data obtained again is compared with the command in the priority command table 13 as described above. If there is no other command analysis table, in step S15 this time the command table 1
Compare with the command in 0.
【0029】次にステップS16でいくつかのコマンド
と一致したかを取得し、ステップS17で他のエミュレ
ーションプログラムのコマンド解析テーブルがあるか否
かを判断する。他のコマンド解析テーブルが存在してい
る場合は、ステップS18で次のコマンド解析テーブル
を獲得して再び獲得したデータとコマンドテーブル10
内のコマンドとを前述した様に比較する。もし、他のコ
マンド解析テーブルが存在しなかった場合は、比較した
コマンドテーブル10の中で一番多くのコマンドと一致
したテーブルのエミュレーションプログラムのIDをス
テップS19で獲得し、リターンする。Next, in step S16, it is acquired whether or not there is a match with some commands, and in step S17, it is determined whether or not there is a command analysis table of another emulation program. If another command analysis table exists, the next command analysis table is acquired in step S18 and the acquired data and the command table 10 are acquired again.
Compare with the command in the above. If no other command analysis table exists, the ID of the emulation program of the table that matches the largest number of commands in the compared command table 10 is acquired in step S19, and the process returns.
【0030】この場合、一致したコマンドの数が同じ場
合や1つも一致しなかった場合は、予め決められたエミ
ュレーションプログラムのIDを返すことになる。In this case, if the number of matching commands is the same or if none of them match, the ID of a predetermined emulation program is returned.
【0031】このようにして、各エミュレーションプロ
グラムごとに、エミュレーションプログラムを判定する
ためのコマンド解析テーブルをエミュレーションを実現
するためのエミュレーションプログラムと対応付けてお
くことで、例えば新たにエミュレーションプログラムを
追加する場合に、エミュレーションプログラムとともに
コマンド解析テーブルを印刷装置のRAM7に追加する
ことで、制御プログラムを変更せずに、印刷データから
エミュレーションプログラムを自動的に判別させること
ができる。In this way, for example, when a new emulation program is added by associating the command analysis table for determining the emulation program with the emulation program for realizing the emulation for each emulation program. In addition, by adding the command analysis table together with the emulation program to the RAM 7 of the printing apparatus, the emulation program can be automatically determined from the print data without changing the control program.
【0032】また、各エミュレーションプログラムにつ
いて、固有のコマンドコードを優先コマンドとして優先
コマンドテーブル13に登録しておくことでエミュレー
ションプログラムの判定を迅速に行うことができる。Further, for each emulation program, a unique command code is registered in the priority command table 13 as a priority command, so that the emulation program can be quickly determined.
【0033】また、優先コマンドテーブル13やコマン
ドテーブル10は拡張可能な構成となっているため、あ
るエミュレーションプログラムに特徴的なコマンドコー
ドが追加された場合には、そのコマンドをテーブルに追
加登録することができ、よりエミュレーションの判定を
迅速にし、また、判定が成功する率を向上させることが
できる。なお、前述した各エミュレーションプログラム
や各テーブルをフラッシュメモリに格納しても良い。Further, since the priority command table 13 and the command table 10 are expandable, if a characteristic command code is added to a certain emulation program, the command should be additionally registered in the table. Therefore, the determination of emulation can be performed more quickly, and the rate of successful determination can be improved. The emulation programs and tables described above may be stored in the flash memory.
【0034】なお、印刷装置1の出力部8には、いろい
ろな印刷機構を採用することができるが、その例として
レーザービーム方式の機構とインクジェット方式の機構
とを説明する。Various printing mechanisms can be used for the output unit 8 of the printing apparatus 1, and a laser beam type mechanism and an ink jet type mechanism will be described as examples.
【0035】<LBPの構成>図6は、レーザビームプ
リンタ(以下、LBPと略す)の内部構造を示す断面図
で、このLBPは、文字コードや制御コードからなる例
えばページ記述言語を入力して解析し記録紙に印刷する
ことができる。<Structure of LBP> FIG. 6 is a cross-sectional view showing the internal structure of a laser beam printer (hereinafter abbreviated as LBP). This LBP has a page description language consisting of character codes and control codes, for example. It can be analyzed and printed on recording paper.
【0036】図において、740はLBP本体であり、
供給されるページ記述言語等を基に、記録媒体である記
録紙上に像を形成する。700は操作のためのスイッチ
及びLED表示器などが配されている操作パネル、70
1はLBP740全体の制御及びページ記述言語等を解
析するプリンタ制御ユニットである。このプリンタ制御
ユニット701は主にパターン情報をビデオ信号に変換
してレーザドライバ702に出力する。In the figure, 740 is the LBP body,
An image is formed on a recording sheet, which is a recording medium, based on the supplied page description language and the like. Reference numeral 700 denotes an operation panel on which switches for operation and an LED display are arranged,
Reference numeral 1 is a printer control unit that analyzes the overall control of the LBP 740 and the page description language. The printer control unit 701 mainly converts the pattern information into a video signal and outputs it to the laser driver 702.
【0037】レーザドライバ702は半導体レーザ70
3を駆動するための回路であり、入力されたビデオ信号
に応じて半導体レーザ703から発射されるレーザ光7
04をオン・オフ切替えする。レーザ光704は回転多
面鏡705で左右方向に振られて静電ドラム706上を
走査する。これにより、静電ドラム706上には文字パ
ターンの静電潜像が形成される。この潜像は静電ドラム
706周囲の現像ユニット707により現像された後、
記録紙に転写される。この記録紙にはカットシートを用
い、カットシート記録紙はLBP740に装着した用紙
カセット708に収納され、給紙ローラ709及び搬送
ローラ710と711とにより装置内に取り込まれて、
静電ドラム706に供給される。The laser driver 702 is a semiconductor laser 70.
Laser light 7 emitted from the semiconductor laser 703 according to the input video signal.
Switch 04 on / off. The laser beam 704 is swung in the left-right direction by the rotary polygon mirror 705 and scans the electrostatic drum 706. As a result, an electrostatic latent image having a character pattern is formed on the electrostatic drum 706. After the latent image is developed by the developing unit 707 around the electrostatic drum 706,
Transferred to recording paper. A cut sheet is used for this recording paper, and the cut sheet recording paper is stored in a paper cassette 708 mounted on the LBP 740 and is taken into the apparatus by a paper feed roller 709 and conveyance rollers 710 and 711.
It is supplied to the electrostatic drum 706.
【0038】<インクジェットの構成>図7は、インク
ジェット記録装置IJRAの概観図である。同図におい
て、駆動モータ5013の正逆回転に連動して駆動力伝
達ギア5011、5009を介して回転するリードスク
リュー5005の螺旋溝5004に対して係合するキャ
リッジHCはピン(不図示)を有し、矢印a,b方向に
往復移動される。このキャリッジHCには、インクジェ
ットカートリッジIJCが搭載されている。5002は
紙押え板であり、キャリッジの移動方向に亙って紙をプ
ラテン5000に対して押圧する。5007,5008
はフォトカプラで、キャリッジのレバー5006のこの
域での存在を確認して、モータ5013の回転方向切り
換え等を行うためのホームポジション検知手段である。
5016は記録ヘッドの前面をキャップするキャップ部
材5022を支持する部材で、5015はこのキャップ
内を吸引する吸引手段で、キャップ内開口5023を介
して記録ヘッドの吸引回復を行う。5017はクリーニ
ングブレードで、5019はこのブレードを前後方向に
移動可能にする部材であり、本体支持板5018にこれ
らが支持されている。ブレードは、この形態でなく周知
のクリーニングブレードが本例に適用できることは言う
までもない。又、5021は、吸引回復の吸引を開始す
るためのレバーで、キャリッジと係合するカム5020
の移動に伴って移動し、駆動モータからの駆動力がクラ
ッチ切り換え等の公知の伝達手段で移動制御される。<Structure of Inkjet> FIG. 7 is a schematic view of the inkjet recording apparatus IJRA. In the figure, the carriage HC that engages with the spiral groove 5004 of the lead screw 5005 that rotates via the driving force transmission gears 5011 and 5009 in conjunction with the forward / reverse rotation of the drive motor 5013 has pins (not shown). Then, it is reciprocated in the directions of arrows a and b. An inkjet cartridge IJC is mounted on the carriage HC. A paper pressing plate 5002 presses the paper against the platen 5000 in the moving direction of the carriage. 5007,5008
Is a photo coupler, and is a home position detecting means for confirming the existence of the lever 5006 of the carriage in this area and switching the rotation direction of the motor 5013.
Reference numeral 5016 is a member that supports a cap member 5022 that caps the front surface of the recording head. Reference numeral 5015 is a suction unit that sucks the inside of the cap, and performs suction recovery of the recording head through the in-cap opening 5023. Reference numeral 5017 is a cleaning blade, and 5019 is a member that allows this blade to move in the front-rear direction, and these are supported by a main body support plate 5018. Needless to say, a well-known cleaning blade can be applied to this example instead of this form. Reference numeral 5021 denotes a lever for starting suction for suction recovery, and a cam 5020 that engages with the carriage.
And the driving force from the drive motor is controlled by a known transmission means such as clutch switching.
【0039】これらのキャッピング、クリーニング、吸
引回復は、キャリッジがホームポジション側の領域に来
た時にリードスクリュー5005の作用によってそれら
の対応位置で所望の処理が行えるように構成されている
が、周知のタイミングで所望の作動を行うようにすれ
ば、本例にはいずれも適用できる。The capping, cleaning, and suction recovery are configured so that the desired processing can be performed at their corresponding positions by the action of the lead screw 5005 when the carriage comes to the area on the home position side. As long as the desired operation is performed at the timing, any of the above can be applied to this example.
【0040】(第2実施例)第1の実施例では優先コマ
ンドテーブル13を使用しているが、優先コマンドテー
ブルテーブル13を備えていなくともエミュレーション
プログラムの判定を行うことはできる。図8は、第2実
施例のコマンド解析テーブルの構成を示す図である。(Second Embodiment) Although the priority command table 13 is used in the first embodiment, the emulation program can be determined without the priority command table table 13. FIG. 8 is a diagram showing the structure of the command analysis table of the second embodiment.
【0041】図において、「テーブル識別フラグ」はこ
のコマンド解析テーブル9が有効であるか否かを識別す
るフラグ、「テーブルサイズ」はコマンド解析テーブル
の先頭からのコマンド解析テーブルサイズ、「テーブル
情報」はそれに続くコマンドテーブル内のコマンドが制
御コード型か文字列コード型か等のコマンド情報を備え
るフラグ、「コマンドテーブルへの相対ポインタ」はコ
マンドテーブル10までのテーブル識別フラグからの相
対ポインタ、「コマンドテーブル」10はそのエミュレ
ーション独自のコマンドを登録しているテーブルを示
す。In the figure, "table identification flag" is a flag for identifying whether or not this command analysis table 9 is valid, "table size" is the command analysis table size from the beginning of the command analysis table, and "table information". Is a flag having command information such as whether the command in the subsequent command table is a control code type or a character string code type, "relative pointer to the command table" is a relative pointer from the table identification flag up to the command table 10, "command The "table" 10 indicates a table in which commands specific to the emulation are registered.
【0042】相対ポインタで場所を示しているので、コ
マンドテーブルとは、コマンド解析テーブル本体と連続
していなくてもよい。Since the location is indicated by the relative pointer, the command table does not have to be continuous with the command analysis table body.
【0043】図8のテーブルを用いて印刷を行う処理は
図4に示した通りであるが、コマンド解析処理が若干異
なる。図9は第2実施例におけるステップS3のコマン
ド解析処理手順を説明するフローチャートである。以
下、このフローチャートに従って説明していく。なお、
このフローチャートに示す制御プログラムはプログラム
ROM5に格納されており、CPU3により実行され
る。The process for printing using the table of FIG. 8 is as shown in FIG. 4, but the command analysis process is slightly different. FIG. 9 is a flow chart for explaining the command analysis processing procedure of step S3 in the second embodiment. Hereinafter, description will be made according to this flowchart. In addition,
The control program shown in this flowchart is stored in the program ROM 5 and is executed by the CPU 3.
【0044】まずステップS91で印刷装置1において
現在動作可能であるエミュレーションプログラムのコマ
ンド解析テーブルをRAM7のワークエリアから1つ取
得する。次にステップS92において、一定量受信バッ
ファから獲得した印刷データ(ステップS2で獲得)と
コマンド解析テーブルのコマンドテーブル10内のコマ
ンドとを比較する。First, in step S91, one command analysis table of the emulation program that is currently operable in the printer 1 is acquired from the work area of the RAM 7. Next, in step S92, the print data (obtained in step S2) acquired from the fixed amount reception buffer is compared with the command in the command table 10 of the command analysis table.
【0045】つぎに、ステップS93で、コマンドテー
ブル10に一致するコマンドが存在するか否かを判定
し、1つでも存在すれば、その時点で比較処理を終了
し、ステップS94でその一致したテーブルのエミュレ
ーションプログラムのIDをエミュレーション識別フラ
グから取得して、判別できたものとしてリターンする。Next, in step S93, it is determined whether or not there is a matching command in the command table 10. If even one command exists, the comparison process is terminated at that point, and in step S94 the matching table is found. The ID of the emulation program is acquired from the emulation identification flag, and the process returns as if it was determined.
【0046】もし、コマンドテーブル10に1つも一致
するコマンドが存在しなければ、ステップS95で他の
エミュレーションプログラムのコマンド解析テーブルが
あるか否かを判断し、あればステップS96でそのコマ
ンド解析テーブルをRAM7のワークエリアから獲得し
て、再び獲得したデータとコマンドテーブル10内のコ
マンドとを比較する。他のコマンド解析テーブルがなか
った場合は、判別不能としてリターンする。If there is no matching command in the command table 10, it is determined in step S95 whether or not there is a command analysis table of another emulation program. If there is, the command analysis table is searched in step S96. The data acquired from the work area of the RAM 7 and acquired again are compared with the command in the command table 10. If there is no other command analysis table, it is determined that the command cannot be determined and the process returns.
【0047】このように処理することで、判定結果をす
ばやく得ることができる。By performing the processing as described above, the determination result can be obtained quickly.
【0048】また、コマンドテーブルも、制御プログラ
ムも第1実施例に比べて小さくできるため、メモリ容量
の小さな印刷装置にたいしても適用できる。Further, since the command table and the control program can be made smaller than those in the first embodiment, it can be applied to a printing apparatus having a small memory capacity.
【0049】さらに、支援する複数のエミュレーション
プログラムが互いに特徴的なコマンドコードを含む場合
には、それをコマンドテーブル10に登録することで処
理が速いのみならず判定の率を向上させることができ
る。Further, when a plurality of supporting emulation programs include mutually characteristic command codes, registering them in the command table 10 not only speeds up the processing but also improves the determination rate.
【0050】(第3実施例)第1実施例におけるコマン
ド解析テーブルは図2に示し、第2実施例におけるコマ
ンド解析テーブルは図8に示したが、第3実施例のコマ
ンド解析テーブルを図10に示す。(Third Embodiment) Although the command analysis table in the first embodiment is shown in FIG. 2 and the command analysis table in the second embodiment is shown in FIG. 8, the command analysis table in the third embodiment is shown in FIG. Shown in.
【0051】<コマンド解析テーブルの構造>図10は
第3実施例における各エミュレーションプログラム毎に
用意するコマンド解析テーブルの構造であり、当該テー
ブルはRAM7のワークエリアに格納されている。<Structure of Command Analysis Table> FIG. 10 shows the structure of the command analysis table prepared for each emulation program in the third embodiment, and the table is stored in the work area of the RAM 7.
【0052】(a)はその構成を説明する図であり、
「テーブル識別フラグ」はこのコマンド解析テーブル9
が有効であるかを識別するフラグ、「テーブルサイズ」
はコマンド解析テーブルの先頭からのコマンド解析テー
ブルサイズ、「テーブル情報」はそれに続くコマンドテ
ーブル内のコマンドが制御コード型か文字列コード型か
などのコマンド情報を備えるフラグ、「優先コマンドテ
ーブルへの相対ポインタ」は優先コマンドテーブル13
までのテーブル識別フラグからの相対ポインタ、「コマ
ンドテーブルへの相対ポインタ」はコマンドテーブル1
0までのテーブル識別フラグからの相対ポインタ、「コ
マンド置き換えテーブルへの相対ポインタ」はコマンド
置き換えテーブル14までのテーブル識別フラグからの
相対ポインタ、「優先コマンドテーブル」はそのコマン
ドが印刷データ中に1つでも存在したらそのコマンドを
含むエミュレーションプログラムに決定してしまうよう
な優先コマンドを登録したコマンドテーブル、「コマン
ドテーブル」はそのエミュレーションプログラム独自の
コマンドを登録しているテーブル、「コマンド置き換え
テーブル」は同一な意味を持つ複数のコマンドを有して
いた場合に、同一な意味を持つコマンドに置き換えるた
めのテーブルを示す。(A) is a diagram for explaining the configuration,
The “table identification flag” is the command analysis table 9
"Table size", a flag that identifies whether is valid
Is the command analysis table size from the beginning of the command analysis table, "table information" is a flag that contains command information such as whether the command in the command table that follows is a control code type or a character string code type, "relative to the priority command table""Pointer" is the priority command table 13
Up to the table identification flag, "relative pointer to the command table" is the command table 1
A relative pointer from the table identification flag up to 0, a “relative pointer to the command replacement table” is a relative pointer from the table identification flag up to the command replacement table 14, and a “priority command table” has one command in the print data. However, if it exists, a command table that registers priority commands that will determine the emulation program that contains the command, the "command table" is a table that registers commands unique to that emulation program, and the "command replacement table" is the same. When a plurality of commands having the meaning are included, a table for replacing with a command having the same meaning is shown.
【0053】また、相対ポインタで場所を示しているの
で、優先コマンドテーブルとコマンドテーブルとコマン
ド置き換えテーブルとは、コマンド解析テーブル本体と
連続していなくてもよい。Since the location is indicated by the relative pointer, the priority command table, the command table and the command replacement table do not have to be continuous with the command analysis table body.
【0054】図10(b)はコマンドテーブル10及び
優先コマンドテーブル13の構成を説明する図である。
「コマンド形式」は登録されたコマンドの先頭コードが
何バイトで構成されているかとか、制御コードで構成さ
れているとか、文字列のみのコマンドであるかとかを示
すフラグで、次の「コマンド形式」フィールドの前まで
が1つのコマンドのエントリとなる。「先頭コード」は
そのエミュレーション独自のコマンドの先頭部分を登録
する。「サイズ」はそのコマンドがテーブルにおいて占
める大きさで、「コマンド形式」フィールドから次の
「コマンド形式」フィールドまでのサイズである。「終
端子の数」はそのコマンドの先頭コードに続く終端子の
数、「終端子」はそのコマンドの先頭コードに続くコー
ド列を示す。FIG. 10B is a diagram for explaining the structures of the command table 10 and the priority command table 13.
The "command format" is a flag that indicates how many bytes the head code of the registered command is composed of, whether it is composed of a control code, or whether it is a command of only a character string. The area up to the front of the field is an entry for one command. The "head code" registers the head part of the command unique to the emulation. “Size” is the size occupied by the command in the table, and is the size from the “command format” field to the next “command format” field. The "number of terminators" indicates the number of terminators following the start code of the command, and the "terminator" indicates the code string following the start code of the command.
【0055】図10(c)はコマンド置き換えテーブル
14の構成を説明する図である。「サイズ」は1つ置き
換えの組のサイズである。「置き換え前のコマンド数」
は置き換えたいコマンドの数、「置き換え前のコマンド
列」は置き換えたいコマンド列が記述される。「置き換
え後のコマンド数」は置き換わった後のコマンドの数で
あり、「置き換え後のコマンド列」は置き換わった後の
コマンド列が記述される。FIG. 10C is a diagram for explaining the structure of the command replacement table 14. “Size” is the size of one replacement set. "Number of commands before replacement"
Is the number of commands to be replaced, and "command string before replacement" is the command string to be replaced. The "number of commands after replacement" is the number of commands after replacement, and the "command string after replacement" describes the command string after replacement.
【0056】図11は、第3実施例におけるコマンド解
析処理手順を説明するフローチャートである。以下、こ
のフローチャートに従って説明していく。なお、このフ
ローチャートに示す制御プログラムはプログラムROM
5に格納され、CPU3により実行される。FIG. 11 is a flow chart for explaining the command analysis processing procedure in the third embodiment. Hereinafter, description will be made according to this flowchart. The control program shown in this flowchart is a program ROM.
5 and is executed by the CPU 3.
【0057】まずステップS30で印刷装置1において
現在動作可能であるエミュレーションプログラムのコマ
ンド解析テーブルをRAM7のワークエリアから1つ取
得する。First, in step S30, one command analysis table of the emulation program that is currently operable in the printer 1 is acquired from the work area of the RAM 7.
【0058】この時ステップS31でコマンド解析テー
ブル中にコマンド置き換えテーブル14が存在するか否
かを判別する。コマンド置き換えが必要ない場合は、コ
マンド置き換えテーブル14への相対ポイントにはNU
LLが記述されている。At this time, in step S31, it is determined whether or not the command replacement table 14 exists in the command analysis table. When command replacement is not necessary, NU is set as the relative point to the command replacement table 14.
LL is described.
【0059】もし、コマンド置き換えテーブル14が存
在していた場合、ステップS32で置き換えテーブル1
4に従って、データの置き換えを行う。存在しない場合
は、置き換え処理を行わない。If the command replacement table 14 exists, the replacement table 1 is found in step S32.
According to 4, the data is replaced. If it does not exist, the replacement process is not performed.
【0060】次にステップS33で一定量獲得した受信
データとコマンド解析テーブルの優先コマンドテーブル
13内のコマンドと比較する。ステップS34で優先コ
マンドテーブル13に一致するコマンドが存在するか否
かを判定し、一つでも一致するコマンドが存在すれば、
その時点で比較処理を終了し、ステップS35でその一
致したテーブルのエミュレーションプログラムのIDを
取得して判別OKとしてリターンする。Next, in step S33, the received data acquired by a certain amount is compared with the command in the priority command table 13 of the command analysis table. In step S34, it is determined whether or not there is a matching command in the priority command table 13, and if there is even one matching command,
At that point, the comparison process ends, and in step S35, the ID of the emulation program of the matched table is acquired and the process returns as a determination OK.
【0061】もし、優先コマンドテーブル13に一つも
一致するコマンドが存在しなければ、ステップS36で
他のエミュレーションプログラムのコマンド解析テーブ
ルがあるか否かを判断し、あればステップS37でコマ
ンド解析テーブルを獲得し、再び獲得したデータと優先
コマンドテーブル13内のコマンドとを比較する。他の
コマンド解析テーブルがなかった場合は、ステップS3
8で今度はコマンドテーブル10内のコマンドとの比較
を行う。If there is no matching command in the priority command table 13, it is determined in step S36 whether or not there is a command analysis table of another emulation program. If there is, a command analysis table is created in step S37. The acquired data and the acquired data again are compared with the commands in the priority command table 13. If there is no other command analysis table, step S3
In step 8, the command in the command table 10 is compared with this command.
【0062】次にステップS39でいくつのコマンドと
一致したかを取得し、ステップS40で他のエミュレー
ションプログラムのコマンド解析テーブルがあるかを判
断する。他のコマンド解析テーブルが存在している場合
は、ステップS41で次のコマンド解析テーブルを獲得
し、ステップS42でコマンド置き換えテーブル14が
存在するか否かを判断し、もし存在すればステップS4
3でデータを置き換える。コマンド置き換えテーブル1
4が存在しなければ、そのまま再び獲得したデータとコ
マンドテーブル10内のコマンドとを比較する。Next, in step S39, how many commands are matched is acquired, and in step S40, it is determined whether or not there is a command analysis table of another emulation program. If another command analysis table exists, the next command analysis table is acquired in step S41, it is determined in step S42 whether the command replacement table 14 exists, and if it exists, step S4.
Replace the data with 3. Command replacement table 1
If 4 does not exist, the data acquired again is compared with the command in the command table 10.
【0063】他のコマンド解析テーブルが存在しなかっ
た場合は、比較コマンドテーブル10の中で一番多くコ
マンドと一致したテーブルのエミュレーションプログラ
ムのIDをステップS44で獲得し、リターンする。If no other command analysis table exists, the ID of the emulation program of the table that most matches the command in the comparison command table 10 is acquired in step S44, and the process returns.
【0064】この時一致したコマンドの数が同じ場合や
一つも一致しなかった場合は予め決められているエミュ
レーションプログラムのIDを返すことになる。At this time, if the number of matching commands is the same or if none of them match, the ID of a predetermined emulation program is returned.
【0065】以上説明したように、各エミュレーション
プログラムに対して、同一の意味を持つ複数のコマンド
が存在した時に、コマンド置き換えテーブル14を付加
し、コマンド検索前にコマンド置き換え処理を施すこと
により、検索処理速度が向上する。As described above, when a plurality of commands having the same meaning exist for each emulation program, the command replacement table 14 is added, and the command replacement processing is performed before the command search, thereby performing the search. The processing speed is improved.
【0066】尚、本発明は、複数の機器から構成される
システムに適用しても1つの機器から成る装置に適用し
ても良い。また、本発明は、システム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることはいうまでもない。The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.
【0067】[0067]
【発明の効果】以上説明したように、本発明に係る印刷
装置及びその制御方法は、エミュレーションプログラム
を入力された印刷データから短時間で判別することがで
き、さらに、新たなエミュレーションプログラムの追加
や、既存のエミュレーションプログラムへのコマンドの
追加などに容易に対応できる。As described above, the printing apparatus and the control method therefor according to the present invention can discriminate the emulation program from the input print data in a short time, and further add a new emulation program. , It is possible to easily add commands to existing emulation programs.
【0068】また、各エミュレーションプログラムにつ
いて、固有のコマンドコードを優先コマンドとして優先
コマンドテーブル13に登録しておくことで、エミュレ
ーションプログラムの判定を迅速に行うことができる。By registering a unique command code for each emulation program as a priority command in the priority command table 13, the emulation program can be quickly determined.
【0069】また、優先コマンドテーブル13やコマン
ドテーブル10は拡張可能な構成となっているため、あ
るエミュレーションプログラムに特徴的なコマンドコー
ドが追加された場合には、そのコマンドをテーブルに追
加登録することができ、よりエミュレーションプログラ
ムの判定を迅速にし、また、判定が成功する率を向上さ
せることができる。Further, since the priority command table 13 and the command table 10 are expandable, if a characteristic command code is added to a certain emulation program, the command should be additionally registered in the table. Therefore, the determination of the emulation program can be made faster, and the rate of successful determination can be improved.
【0070】また、コマンドテーブルも、制御プログラ
ムも第1実施例に比べて小さくできるため、メモリ容量
の小さな印刷装置にたいしても適用できるという効果を
奏する。Further, since the command table and the control program can be made smaller than in the first embodiment, the present invention can be applied to a printing apparatus having a small memory capacity.
【図1】本発明の一実施例を示す印刷装置の全体構成図
である。FIG. 1 is an overall configuration diagram of a printing apparatus according to an embodiment of the present invention.
【図2】コマンド解析テーブルの構成図である。FIG. 2 is a configuration diagram of a command analysis table.
【図3】各エミュレーションにコマンド解析テーブルを
持たせた時のエミュレーション情報部の構成図である。FIG. 3 is a configuration diagram of an emulation information section when each emulation has a command analysis table.
【図4】自動エミュレーション切り替え処理手順を説明
するフローチャートである。FIG. 4 is a flowchart illustrating an automatic emulation switching processing procedure.
【図5】コマンド解析処理手順を説明するフローチャー
トである。FIG. 5 is a flowchart illustrating a command analysis processing procedure.
【図6】レーザービームプリンタの構造を示す図であ
る。FIG. 6 is a diagram showing a structure of a laser beam printer.
【図7】インクジェットプリンタの構造を示す図であ
る。FIG. 7 is a diagram showing a structure of an inkjet printer.
【図8】第2実施例のコマンド解析テーブルの構成図で
ある。FIG. 8 is a configuration diagram of a command analysis table according to the second embodiment.
【図9】第2実施例のコマンド解析処理手順を説明する
フローチャートである。FIG. 9 is a flowchart illustrating a command analysis processing procedure of the second embodiment.
【図10】第3実施例のコマンド解析テーブルの構成図
である。FIG. 10 is a configuration diagram of a command analysis table according to the third embodiment.
【図11】第3実施例のコマンド解析処理手順を説明す
るフローチャートである。FIG. 11 is a flowchart illustrating a command analysis processing procedure according to the third embodiment.
1 印刷装置本体 2 ホストコンピュータ 3 CPU 4 入力インターフェイス 5 プログラムROM 6 フォントROM 7 内蔵RAM 8 出力部 1 Printer Main Unit 2 Host Computer 3 CPU 4 Input Interface 5 Program ROM 6 Font ROM 7 Built-in RAM 8 Output Section
Claims (8)
する印刷装置であって、 前記各エミュレーションプログラムの特徴情報を前記各
エミュレーションプログラムに対応して登録する登録手
段と、 入力された印刷データと、前記登録手段により登録され
た特徴情報とを照合し、入力された印刷データに適合す
るエミュレーションプログラムを判定する判定手段と、 前記判定手段による判定に応じて、印刷データに適合す
るエミュレーションプログラムを実行して印刷出力する
印刷制御手段と、を備えることを特徴とする印刷装置。1. A printing apparatus having a plurality of emulation programs, wherein: registration means for registering characteristic information of each emulation program corresponding to each emulation program; input print data; Judgment means for collating the registered characteristic information and judging an emulation program suitable for the inputted print data, and executing the emulation program suitable for the print data in accordance with the judgment by the judging means for printing out. A printing apparatus, comprising: a printing control unit.
ログラムごとの特徴的なコマンドコードを含むコマンド
テーブルを登録していることを特徴とする請求項1記載
の印刷装置。2. The printing apparatus according to claim 1, wherein the registration unit registers a command table including a characteristic command code for each emulation program.
が、印刷データに含まれるコマンドが少なくとも1つ一
致すれば、当該コマンドテーブルに対応するエミュレー
ションプログラムに適合すると判定する優先コマンドテ
ーブルを含むことを特徴とする請求項2記載の印刷装
置。3. The command table includes a priority command table in which the determining unit determines that the emulation program corresponding to the command table is suitable if at least one command included in the print data matches. The printing apparatus according to claim 2.
持つコマンドが複数存在した時に、同一の意味を持つコ
マンドに置き換えるためのコマンド置き換えテーブルを
含むことを特徴とする請求項2記載の印刷装置。4. The printing apparatus according to claim 2, wherein the command table includes a command replacement table for replacing a command having the same meaning with a command having the same meaning.
する印刷装置の制御方法であって、 前記各エミュレーションプログラムごとに対応した特徴
情報と、入力された印刷データとを照合し、入力された
印刷データに適合するエミュレーションプログラムを判
定する判定工程と、 前記判定工程による判定に応じて、印刷データに適合す
るエミュレーションプログラムを実行して印刷出力する
印刷制御工程と、を備えることを特徴とする印刷制御方
法。5. A method of controlling a printing apparatus having a plurality of emulation programs, wherein feature information corresponding to each emulation program is collated with input print data, and the print data is matched with the input print data. A print control method comprising: a determination step of determining an emulation program; and a print control step of executing an emulation program suitable for print data to print out according to the determination in the determination step.
る各エミュレーションプログラムごとの特徴的なコマン
ドコードを含むコマンドテーブルを照合することを特徴
とする請求項5記載の印刷制御方法。6. The print control method according to claim 5, wherein in the determination step, a command table including a characteristic command code for each emulation program included in the characteristic information is collated.
が、印刷データに含まれるコマンドが少なくとも1つ一
致すれば、当該コマンドテーブルに対応するエミュレー
ションプログラムに適合すると判定する優先コマンドテ
ーブルを含むことを特徴とする請求項6記載の印刷制御
方法。7. The command table includes a priority command table which is determined in the determination step to be compatible with an emulation program corresponding to the command table if at least one command included in the print data matches. The print control method according to claim 6.
持つコマンドが複数存在した時に、同一の意味を持つコ
マンドに置き換えるためのコマンド置き換えテーブルを
含むことを特徴とする請求項6記載の印刷制御方法。8. The print control method according to claim 6, wherein the command table includes a command replacement table for replacing a command having the same meaning with a command having the same meaning. .
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13682195A JP3581432B2 (en) | 1994-06-15 | 1995-06-02 | Printing apparatus and control method thereof |
| US08/888,293 US6002843A (en) | 1994-06-15 | 1997-07-03 | Printing apparatus and its control method |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13289394 | 1994-06-15 | ||
| JP6-132893 | 1994-06-15 | ||
| JP13682195A JP3581432B2 (en) | 1994-06-15 | 1995-06-02 | Printing apparatus and control method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0863302A true JPH0863302A (en) | 1996-03-08 |
| JP3581432B2 JP3581432B2 (en) | 2004-10-27 |
Family
ID=26467353
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13682195A Expired - Fee Related JP3581432B2 (en) | 1994-06-15 | 1995-06-02 | Printing apparatus and control method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3581432B2 (en) |
-
1995
- 1995-06-02 JP JP13682195A patent/JP3581432B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP3581432B2 (en) | 2004-10-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3706694B2 (en) | Information processing apparatus, printer control method, and storage medium | |
| US6760120B2 (en) | Printing device control apparatus and method | |
| JPH08267827A (en) | Character processing method, its apparatus, and printing apparatus | |
| JP2000001029A (en) | PRINTING APPARATUS, PRINT CONTROL METHOD, AND RECORDING MEDIUM | |
| JPH0640124A (en) | Printing method and device | |
| JP3049158B2 (en) | Character processing device and character processing method of character processing device | |
| EP0545648B1 (en) | Automatic language determination control for printer | |
| JPH11212745A (en) | Print control device, print control method, print system, and storage medium | |
| JP3581432B2 (en) | Printing apparatus and control method thereof | |
| US6927867B2 (en) | Output control method and apparatus therefor | |
| US6002843A (en) | Printing apparatus and its control method | |
| JP2000187579A (en) | Printing system and printing apparatus, printing control method, recording medium | |
| JPH10149268A (en) | Print control apparatus, print control method, and storage medium storing computer-readable program | |
| JP3382299B2 (en) | Character processing method and apparatus | |
| JPH06210907A (en) | Printer control method and apparatus | |
| EP0634731B1 (en) | Output apparatus and method using plural data processing units | |
| JPH0713722A (en) | Printing system | |
| JP3103229B2 (en) | Document processing apparatus and document processing method | |
| JPH06242895A (en) | Printing device and method | |
| JP2871981B2 (en) | Printing apparatus and control method thereof | |
| JP2891857B2 (en) | Printing apparatus and printing method | |
| JPH09218843A (en) | Output control device, output control method, and storage medium including computer-callable process | |
| JPH064241A (en) | Method and device for printing | |
| JPH08185277A (en) | Output system, device and control method thereof | |
| JPH0713721A (en) | Printer device and printing method using the printer device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040106 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040308 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040720 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040723 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |